diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-17 12:46:37 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-19 16:19:17 +0100 |
commit | cfa8eb925ff0115d5d4b2298f7d9a054b869fa75 (patch) | |
tree | 7ec29ae80af561a848a9c9da7f01731345afe587 /modules/base_installation/manifests/puppet.pp | |
parent | 82caf31189f11a9bca4836260e8ee8ba954690f2 (diff) | |
download | Puppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.tar.gz Puppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.tar.zst Puppet-cfa8eb925ff0115d5d4b2298f7d9a054b869fa75.zip |
Add puppet_apply script with lockfile
Diffstat (limited to 'modules/base_installation/manifests/puppet.pp')
-rw-r--r-- | modules/base_installation/manifests/puppet.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/base_installation/manifests/puppet.pp b/modules/base_installation/manifests/puppet.pp index 6f7732d..0cb43bc 100644 --- a/modules/base_installation/manifests/puppet.pp +++ b/modules/base_installation/manifests/puppet.pp | |||
@@ -39,6 +39,12 @@ class base_installation::puppet ( | |||
39 | source => "puppet:///modules/base_installation/scripts/report_print.rb" | 39 | source => "puppet:///modules/base_installation/scripts/report_print.rb" |
40 | } | 40 | } |
41 | 41 | ||
42 | file { '/usr/local/sbin/puppet_apply': | ||
43 | mode => "0755", | ||
44 | ensure => present, | ||
45 | source => "puppet:///modules/base_installation/scripts/puppet_apply", | ||
46 | } | ||
47 | |||
42 | unless empty(find_file($password_seed)) { | 48 | unless empty(find_file($password_seed)) { |
43 | $ldap_password = generate_password(24, $password_seed, "ldap") | 49 | $ldap_password = generate_password(24, $password_seed, "ldap") |
44 | $ssha_ldap_seed = generate_password(5, $password_seed, "ldap_seed") | 50 | $ssha_ldap_seed = generate_password(5, $password_seed, "ldap_seed") |