diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-13 16:44:43 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-13 16:47:02 +0200 |
commit | 83694da6825dfc14c7003a4074c668ca6d9eddfd (patch) | |
tree | 6a35b8ff6a0ec4a7c17b095936b7a9530d91599b /modules | |
parent | 3f485c9ecf9c39bda1699675f5bb94d2ed2e0071 (diff) | |
download | Puppet-83694da6825dfc14c7003a4074c668ca6d9eddfd.tar.gz Puppet-83694da6825dfc14c7003a4074c668ca6d9eddfd.tar.zst Puppet-83694da6825dfc14c7003a4074c668ca6d9eddfd.zip |
Revert symlink creation for caldance
Diffstat (limited to 'modules')
-rw-r--r-- | modules/role/manifests/caldance.pp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/role/manifests/caldance.pp b/modules/role/manifests/caldance.pp index 7f17c10..5bc3912 100644 --- a/modules/role/manifests/caldance.pp +++ b/modules/role/manifests/caldance.pp | |||
@@ -114,14 +114,6 @@ class role::caldance ( | |||
114 | require => [User["$user:"], File["$caldance_app/manage.py"]], | 114 | require => [User["$user:"], File["$caldance_app/manage.py"]], |
115 | refreshonly => true, | 115 | refreshonly => true, |
116 | } ~> | 116 | } ~> |
117 | exec { "py-symlink-file": | ||
118 | cwd => $caldance_app, | ||
119 | user => $user, | ||
120 | environment => concat(["HOME=${home}"], $shell_env), | ||
121 | command => "/usr/bin/ln -sf ${home}/media www/media", | ||
122 | require => [User["$user:"], File["$caldance_app/manage.py"]], | ||
123 | refreshonly => true, | ||
124 | } ~> | ||
125 | exec { "reload httpd": | 117 | exec { "reload httpd": |
126 | command => "/usr/bin/systemctl reload httpd", | 118 | command => "/usr/bin/systemctl reload httpd", |
127 | require => [User["$user:"], File["$caldance_app/manage.py"]], | 119 | require => [User["$user:"], File["$caldance_app/manage.py"]], |