summaryrefslogtreecommitdiff
path: root/manifests/cron
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-27 17:50:23 +0000
committermh <mh@immerda.ch>2008-12-27 17:50:23 +0000
commitffeac0d11981c3828fa76c323b36ee4aad72e061 (patch)
tree4c19739ecda9bb6d16ab94af1d02ef3a4e8d8572 /manifests/cron
parent7e441bf983263011763fccdcc6307e2805ccf1f0 (diff)
complete path
Diffstat (limited to 'manifests/cron')
-rw-r--r--manifests/cron/linux.pp2
-rw-r--r--manifests/cron/openbsd.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp
index fac7d4e..de831c7 100644
--- a/manifests/cron/linux.pp
+++ b/manifests/cron/linux.pp
@@ -7,6 +7,6 @@ class puppet::cron::linux inherits puppet::linux {
File['/etc/cron.d/puppetd.cron']{
source => undef,
content => "# run puppet
-0,30 * * * * root puppetd --onetime --no-daemonize --splay true --config=$puppet_config\n",
+0,30 * * * * root /usr/sbin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config\n",
}
}
diff --git a/manifests/cron/openbsd.pp b/manifests/cron/openbsd.pp
index 38b2a4a..ea91593 100644
--- a/manifests/cron/openbsd.pp
+++ b/manifests/cron/openbsd.pp
@@ -14,7 +14,7 @@ class puppet::cron::openbsd inherits puppet::openbsd {
}
cron { 'puppetd_restart':
- command => "puppetd --onetime --no-daemonize --splay true --config=$puppet_config",
+ command => "/usr/local/bin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config",
user => 'root',
minute => [0,30],
}