X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fbase_installation%2Fmanifests%2Fpuppet.pp;h=6f7732dfed2b83c63cdbd62cd13233c5af2d87ff;hb=0a21fb6c2c52ca5cc2dfdfc41ca0a51c0d81296c;hp=6ad4b22691c42e5f950b27757f07df06933cb499;hpb=22e79acd8038fe134d217cff09b88b51a65bf12d;p=perso%2FImmae%2FProjets%2FPuppet.git diff --git a/modules/base_installation/manifests/puppet.pp b/modules/base_installation/manifests/puppet.pp index 6ad4b22..6f7732d 100644 --- a/modules/base_installation/manifests/puppet.pp +++ b/modules/base_installation/manifests/puppet.pp @@ -27,6 +27,18 @@ class base_installation::puppet ( } ### + file { '/usr/local/sbin/i_puppet_reset_and_apply': + mode => "0755", + ensure => present, + source => "puppet:///modules/base_installation/scripts/puppet_reset_and_apply" + } + + file { '/usr/local/sbin/i_puppet_report_print': + mode => "0755", + ensure => present, + source => "puppet:///modules/base_installation/scripts/report_print.rb" + } + unless empty(find_file($password_seed)) { $ldap_password = generate_password(24, $password_seed, "ldap") $ssha_ldap_seed = generate_password(5, $password_seed, "ldap_seed") @@ -55,6 +67,7 @@ class base_installation::puppet ( require => File[$base_installation::puppet_conf_path], } + $ips = lookup("ips", { 'default_value' => undef }) file { "$base_installation::puppet_conf_path/host_ldap.info": content => template("base_installation/puppet/host_ldap.info.erb"), require => File[$base_installation::puppet_conf_path],