Added puppet-clean-storeconfigs script
This commit is contained in:
parent
e1ba92e9ef
commit
a1fdae9293
2 changed files with 53 additions and 0 deletions
|
@ -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",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue