From: Ismaƫl Bouya Date: Mon, 13 May 2019 14:44:43 +0000 (+0200) Subject: Revert symlink creation for caldance X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c4d8476be02b98c00f74f14839656bcf15df2454;p=perso%2FImmae%2FProjets%2FPuppet.git Revert symlink creation for caldance --- 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 ( require => [User["$user:"], File["$caldance_app/manage.py"]], refreshonly => true, } ~> - exec { "py-symlink-file": - cwd => $caldance_app, - user => $user, - environment => concat(["HOME=${home}"], $shell_env), - command => "/usr/bin/ln -sf ${home}/media www/media", - require => [User["$user:"], File["$caldance_app/manage.py"]], - refreshonly => true, - } ~> exec { "reload httpd": command => "/usr/bin/systemctl reload httpd", require => [User["$user:"], File["$caldance_app/manage.py"]],