aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-13 16:44:43 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-13 16:44:43 +0200
commitc4d8476be02b98c00f74f14839656bcf15df2454 (patch)
tree6a35b8ff6a0ec4a7c17b095936b7a9530d91599b
parentdec797274c122c6c234508766ab469dad8c419a8 (diff)
downloadPuppet-c4d8476be02b98c00f74f14839656bcf15df2454.tar.gz
Puppet-c4d8476be02b98c00f74f14839656bcf15df2454.tar.zst
Puppet-c4d8476be02b98c00f74f14839656bcf15df2454.zip
Revert symlink creation for caldance
-rw-r--r--modules/role/manifests/caldance.pp8
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"]],