]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Revert symlink creation for caldance
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 13 May 2019 14:44:43 +0000 (16:44 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 13 May 2019 14:44:43 +0000 (16:44 +0200)
modules/role/manifests/caldance.pp

index 7f17c10e2ff2692df3ef1fba7d70822990470c01..5bc39120841621630e5bd2ee78b975a773eb3983 100644 (file)
@@ -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"]],