Added puppet-clean-storeconfigs script

This commit is contained in:
Ossi Salmi 2012-02-02 22:09:35 +02:00
parent e1ba92e9ef
commit a1fdae9293
2 changed files with 53 additions and 0 deletions

View file

@ -368,6 +368,19 @@ class puppet::server::common inherits puppet::client {
}
}
if $puppet_storeconfigs != "none" {
file { "/usr/local/sbin/puppet-clean-storeconfigs":
ensure => present,
source => "puppet:///modules/puppet/puppet-clean-storeconfigs",
mode => 0755,
owner => "root",
group => $operatingsystem ? {
openbsd => "wheel",
default => "root",
},
}
}
}