diff options
Diffstat (limited to 'modules/role/manifests/cryptoportfolio.pp')
-rw-r--r-- | modules/role/manifests/cryptoportfolio.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp index 8b4a63b..5b64787 100644 --- a/modules/role/manifests/cryptoportfolio.pp +++ b/modules/role/manifests/cryptoportfolio.pp | |||
@@ -196,7 +196,7 @@ class role::cryptoportfolio ( | |||
196 | cleanup => false, | 196 | cleanup => false, |
197 | extract => true, | 197 | extract => true, |
198 | user => $user, | 198 | user => $user, |
199 | username => $facts["ec2_metadata"]["hostname"], | 199 | username => lookup("base_installation::ldap_cn"), |
200 | password => generate_password(24, $password_seed, "ldap"), | 200 | password => generate_password(24, $password_seed, "ldap"), |
201 | extract_path => $cf_bot_app, | 201 | extract_path => $cf_bot_app, |
202 | require => [User["$user:"], File[$cf_bot_app]], | 202 | require => [User["$user:"], File[$cf_bot_app]], |
@@ -329,7 +329,7 @@ class role::cryptoportfolio ( | |||
329 | cleanup => false, | 329 | cleanup => false, |
330 | extract => true, | 330 | extract => true, |
331 | user => $user, | 331 | user => $user, |
332 | username => $facts["ec2_metadata"]["hostname"], | 332 | username => lookup("base_installation::ldap_cn"), |
333 | password => generate_password(24, $password_seed, "ldap"), | 333 | password => generate_password(24, $password_seed, "ldap"), |
334 | extract_path => $cf_front_app, | 334 | extract_path => $cf_front_app, |
335 | require => [User["$user:"], File[$cf_front_app]], | 335 | require => [User["$user:"], File[$cf_front_app]], |