Set PATH for puppet-check cronjob on OpenBSD
This commit is contained in:
parent
3df7bf7cd5
commit
749e5013b8
1 changed files with 10 additions and 6 deletions
|
@ -95,6 +95,10 @@ class puppet::client {
|
|||
}
|
||||
cron { "puppet-check":
|
||||
ensure => present,
|
||||
environment => $operatingsystem ? {
|
||||
openbsd => "PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
|
||||
default => undef,
|
||||
},
|
||||
command => "/usr/local/sbin/puppet-check",
|
||||
user => root,
|
||||
hour => 5,
|
||||
|
|
Loading…
Add table
Reference in a new issue