From af0cabefef3d7264050ca75392bfc14156f4c32d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Wed, 23 May 2012 15:21:01 +0000 Subject: [PATCH] Disable bugzilla cron jobs --- manifests/services/bugzilla.pp | 2 +- modules/fas/manifests/init.pp | 1 + modules/fedora-packagedb/manifests/init.pp | 1 + modules/gather-easyfix/manifests/init.pp | 1 + modules/review-stats/manifests/init.pp | 1 + 5 files changed, 5 insertions(+), 1 deletions(-) diff --git a/manifests/services/bugzilla.pp b/manifests/services/bugzilla.pp index 21b086e..f55a123 100644 --- a/manifests/services/bugzilla.pp +++ b/manifests/services/bugzilla.pp @@ -12,7 +12,7 @@ class bugzilla-no-balance { command => "/usr/local/bin/bz-make-components.py 'http://git.fedorahosted.org/git/?p=l10n/owners.git;a=blob_plain;f=owners.list;hb=master' 'http://git.fedorahosted.org/git/?p=docs/owners.git;a=blob_plain;f=owners.list;hb=master' &> /dev/null", user => "apache", minute => 20, - ensure => present, + ensure => absent, require => Package['fedora-packagedb'] } } diff --git a/modules/fas/manifests/init.pp b/modules/fas/manifests/init.pp index f06ef8b..e20ca1f 100644 --- a/modules/fas/manifests/init.pp +++ b/modules/fas/manifests/init.pp @@ -372,6 +372,7 @@ class fas::app::nobalance inherits fas::app { minute => 10, require => Package["fas"], environment => "MAILTO=root", + ensure => "absent", } } diff --git a/modules/fedora-packagedb/manifests/init.pp b/modules/fedora-packagedb/manifests/init.pp index 724080c..1244f1f 100644 --- a/modules/fedora-packagedb/manifests/init.pp +++ b/modules/fedora-packagedb/manifests/init.pp @@ -87,6 +87,7 @@ class fedora-packagedb::app::nobalance inherits fedora-packagedb::app { command => "/usr/bin/pkgdb-sync-bugzilla > /dev/null 2> /dev/null", user => "root", minute => 10, + ensure => "absent", } } diff --git a/modules/gather-easyfix/manifests/init.pp b/modules/gather-easyfix/manifests/init.pp index aae2b9e..b0be432 100644 --- a/modules/gather-easyfix/manifests/init.pp +++ b/modules/gather-easyfix/manifests/init.pp @@ -85,6 +85,7 @@ class gather-easyfix::build inherits gather-easyfix { command => "cd /srv/web/gather-easyfix && /usr/bin/python /usr/local/bin/gather_easyfix.py", user => "apache", minute => [ 0, 30 ], + ensure => "absent", } } diff --git a/modules/review-stats/manifests/init.pp b/modules/review-stats/manifests/init.pp index 01c51a3..9a016a5 100644 --- a/modules/review-stats/manifests/init.pp +++ b/modules/review-stats/manifests/init.pp @@ -57,6 +57,7 @@ class review-stats::build inherits review-stats { command => "/usr/bin/python /usr/local/bin/pyGetReviewByFlags.py -t /usr/local/share/review-stats -d /srv/web/review-stats/", user => "apache", minute => [ 0, 30 ], + ensure => "absent", } } -- 1.7.2.1