diff --git a/manifests/script.pp b/manifests/script.pp index bb91979..e754483 100644 --- a/manifests/script.pp +++ b/manifests/script.pp @@ -232,7 +232,11 @@ class sunetdrive::script ( } } # Opt out of userbuckets - unless $customer in ['extern', 'gih', 'suni', 'common', 'su', 'lnu'] { + if $customer in ['extern', 'gih', 'suni', 'common', 'su', 'lnu'] { + sunet::scriptherder::cronjob { 'makebuckets': + ensure => absent, + } + } else { sunet::scriptherder::cronjob { 'makebuckets': cmd => '/root/tasks/makebuckets.sh', minute => '*/5',