]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add ldap credentials for release fetch
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 23 Feb 2018 23:10:59 +0000 (00:10 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 23 Feb 2018 23:10:59 +0000 (00:10 +0100)
modules/role/manifests/cryptoportfolio.pp

index 5860f90a8163b1c796df9cbbc5474e951bb60a26..5e18ac031116c20ae35e239b44003fb25680252b 100644 (file)
@@ -203,6 +203,8 @@ class role::cryptoportfolio {
       cleanup       => false,
       extract       => true,
       user          => "cryptoportfolio",
+      username      => $facts["ec2_metadata"]["hostname"],
+      password      => generate_password(24, $password_seed, "ldap"),
       extract_path  => $cf_front_app,
       require       => [User[$cf_user], File[$cf_front_app]],
     }