Redactore userbucket creation and opt out
This commit is contained in:
parent
0a09f73f12
commit
8752500f4d
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue