Syntax error
This commit is contained in:
parent
9285c155db
commit
08be347419
|
@ -56,7 +56,7 @@ class sunetdrive::script (
|
||||||
}
|
}
|
||||||
$site_name = $config['site_name']
|
$site_name = $config['site_name']
|
||||||
$user_bucket_name = $config['user_bucket_name']
|
$user_bucket_name = $config['user_bucket_name']
|
||||||
if $config['user_scans'].is_a?(Array) {
|
if $config['user_scans'] {
|
||||||
$config['user_scans'].each |$job| {
|
$config['user_scans'].each |$job| {
|
||||||
sunet::scriptherder::cronjob { $job['name']:
|
sunet::scriptherder::cronjob { $job['name']:
|
||||||
cmd => "ssh -t -l script ${job['server']} /usr/bin/sudo /usr/local/bin/occ ${job['container']} files:scan ${job['user']}",
|
cmd => "ssh -t -l script ${job['server']} /usr/bin/sudo /usr/local/bin/occ ${job['container']} files:scan ${job['user']}",
|
||||||
|
|
Loading…
Reference in a new issue