puppet: Added directory for external facts
This commit is contained in:
parent
8846d074c2
commit
b017e0255a
1 changed files with 10 additions and 0 deletions
|
@ -139,6 +139,16 @@ class puppet::client {
|
|||
require => File["/usr/local/sbin/puppet-check"],
|
||||
}
|
||||
|
||||
file { [ "/etc/facter", "/etc/facter/facts.d" ]:
|
||||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => $::operatingsystem ? {
|
||||
"openbsd" => "wheel",
|
||||
default => "root",
|
||||
},
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue