]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Move htpasswd to caldance home
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 14:28:35 +0000 (16:28 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Tue, 9 Apr 2019 14:28:35 +0000 (16:28 +0200)
modules/role/manifests/caldance.pp

index 8d37df0f1b5eb44d9ef463932575461952c343ba..6bac0bcb924114a02d85389a403a7378a44082b0 100644 (file)
@@ -14,7 +14,6 @@ class role::caldance (
   Optional[String] $caldance_sha256  = undef,
 ) {
   $password_seed = lookup("base_installation::puppet_pass_seed")
-  $web_home = "/home/simon_descarpentries"
   include "base_installation"
 
   include "profile::tools"
@@ -187,7 +186,7 @@ class role::caldance (
         require        => "valid-user",
         auth_type      => "Basic",
         auth_name      => "Authentification requise",
-        auth_user_file => "$web_home/caldev/.htpasswd",
+        auth_user_file => "$home/htpasswd",
       },
     ],
     aliases             => [