--- manifests/services/cvs.pp | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/manifests/services/cvs.pp b/manifests/services/cvs.pp index d9ed5f6..17dfb9c 100644 --- a/manifests/services/cvs.pp +++ b/manifests/services/cvs.pp @@ -79,12 +79,13 @@ class cvs-pkgs { script { '/usr/local/bin/genacls.sh': source => 'system/genacls.cron' } - cron { genacls: - command => "/usr/local/bin/genacls.sh &>/dev/null", - user => "toshio", - minute => [ 0, 10, 20, 30, 40, 50 ], - ensure => present, - } + # Disable this during mass branch + #cron { genacls: + #command => "/usr/local/bin/genacls.sh &>/dev/null", + #user => "toshio", + #minute => [ 0, 10, 20, 30, 40, 50 ], + #ensure => present, + #}
script { '/usr/local/bin/updatecrl.sh': source => 'system/updatecrl.sh'
On 2010-02-17 12:09:57 AM, Jesse Keating wrote:
manifests/services/cvs.pp | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/manifests/services/cvs.pp b/manifests/services/cvs.pp index d9ed5f6..17dfb9c 100644 --- a/manifests/services/cvs.pp +++ b/manifests/services/cvs.pp @@ -79,12 +79,13 @@ class cvs-pkgs { script { '/usr/local/bin/genacls.sh': source => 'system/genacls.cron' }
- cron { genacls:
command => "/usr/local/bin/genacls.sh &>/dev/null",
user => "toshio",
minute => [ 0, 10, 20, 30, 40, 50 ],
ensure => present,
- }
# Disable this during mass branch
#cron { genacls:
#command => "/usr/local/bin/genacls.sh &>/dev/null",
#user => "toshio",
#minute => [ 0, 10, 20, 30, 40, 50 ],
#ensure => present,
#}
script { '/usr/local/bin/updatecrl.sh': source => 'system/updatecrl.sh'
--
+1, although I'd suggest using ensure => absent instead so that puppet removes it for you.
Thanks, Ricky
Ricky Zhou wrote:
+1, although I'd suggest using ensure => absent instead so that puppet removes it for you.
And, as a caution, be sure to leave the command parameter there, as there's a long-standing puppet bug¹ that causes complaints for cron resources lacking it, even if they're ensure => absent.
¹ http://projects.reductivelabs.com/issues/775
On Wed, 2010-02-17 at 00:09 +0000, Jesse Keating wrote:
manifests/services/cvs.pp | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/manifests/services/cvs.pp b/manifests/services/cvs.pp index d9ed5f6..17dfb9c 100644 --- a/manifests/services/cvs.pp +++ b/manifests/services/cvs.pp @@ -79,12 +79,13 @@ class cvs-pkgs { script { '/usr/local/bin/genacls.sh': source => 'system/genacls.cron' }
- cron { genacls:
command => "/usr/local/bin/genacls.sh &>/dev/null",
user => "toshio",
minute => [ 0, 10, 20, 30, 40, 50 ],
ensure => present,
- }
# Disable this during mass branch
#cron { genacls:
#command => "/usr/local/bin/genacls.sh &>/dev/null",
#user => "toshio",
#minute => [ 0, 10, 20, 30, 40, 50 ],
#ensure => present,
#}
script { '/usr/local/bin/updatecrl.sh': source => 'system/updatecrl.sh'
Disregard this, I just made use of puppetd --disable instead.
Jesse Keating wrote:
Disregard this, I just made use of puppetd --disable instead.
And disabled the cron job manually too, I presume? ;)
On Tue, 2010-02-16 at 21:02 -0500, Todd Zullinger wrote:
Jesse Keating wrote:
Disregard this, I just made use of puppetd --disable instead.
And disabled the cron job manually too, I presume? ;)
Yes (:
infrastructure@lists.fedoraproject.org