From 1f6bdc217a016939ed338370d0f678e659ab6276 Mon Sep 17 00:00:00 2001 From: Tobias Ravenstein Date: Fri, 29 Sep 2023 17:01:40 +0200 Subject: [PATCH] Fix issue 144. --- manifests/director/job.pp | 9 +++++++++ manifests/director/jobdefs.pp | 9 +++++++++ spec/defines/director/director_job_spec.rb | 1 + spec/defines/director/director_jobdefs_spec.rb | 1 + 4 files changed, 20 insertions(+) diff --git a/manifests/director/job.pp b/manifests/director/job.pp index 3242ffc..bef1fe9 100644 --- a/manifests/director/job.pp +++ b/manifests/director/job.pp @@ -480,6 +480,13 @@ # Bareos Default: Not set # Required: false # +# [*run_on_incoming_connect_interval*] +# Run On Incoming Connect Interval +# +# Bareos Datatype: time +# Bareos Default: 0 +# Required: false +# # [*run_script*] # Run Script # @@ -663,6 +670,7 @@ $run_after_failed_job = undef, $run_after_job = undef, $run_before_job = undef, + $run_on_incoming_connect_interval = undef, $run_script = undef, $save_file_history = undef, $schedule_res = undef, @@ -793,6 +801,7 @@ [$run_after_failed_job, 'Run After Failed Job', 'runscript_short', false], [$run_after_job, 'Run After Job', 'runscript_short', false], [$run_before_job, 'Run Before Job', 'runscript_short', false], + [$run_on_incoming_connect_interval, 'Run On Incoming Connect Interval', 'time', false], [$run_script, 'Run Script', 'runscript', false], [$save_file_history, 'Save File History', 'boolean', false], [$schedule_res, 'Schedule', 'res', false], diff --git a/manifests/director/jobdefs.pp b/manifests/director/jobdefs.pp index 7e9d48d..3db0e6c 100644 --- a/manifests/director/jobdefs.pp +++ b/manifests/director/jobdefs.pp @@ -479,6 +479,13 @@ # Bareos Default: Not set # Required: false # +# [*run_on_incoming_connect_interval*] +# Run On Incoming Connect Interval +# +# Bareos Datatype: time +# Bareos Default: 0 +# Required: false +# # [*run_script*] # Run Script # @@ -662,6 +669,7 @@ $run_after_failed_job = undef, $run_after_job = undef, $run_before_job = undef, + $run_on_incoming_connect_interval = undef, $run_script = undef, $save_file_history = undef, $schedule_res = undef, @@ -784,6 +792,7 @@ [$run_after_failed_job, 'Run After Failed Job', 'runscript_short', false], [$run_after_job, 'Run After Job', 'runscript_short', false], [$run_before_job, 'Run Before Job', 'runscript_short', false], + [$run_on_incoming_connect_interval, 'Run On Incoming Connect Interval', 'time', false], [$run_script, 'Run Script', 'runscript', false], [$save_file_history, 'Save File History', 'boolean', false], [$schedule_res, 'Schedule', 'res', false], diff --git a/spec/defines/director/director_job_spec.rb b/spec/defines/director/director_job_spec.rb index 003901a..84489d4 100644 --- a/spec/defines/director/director_job_spec.rb +++ b/spec/defines/director/director_job_spec.rb @@ -112,6 +112,7 @@ param('run_after_failed_job', 'Run After Failed Job', 'runscript_short'). param('run_after_job', 'Run After Job', 'runscript_short'). param('run_before_job', 'Run Before Job', 'runscript_short'). + param('run_on_incoming_connect_interval', 'Run On Incoming Connect Interval', 'time'). param('run_script', 'Run Script', 'runscript'). param('save_file_history', 'Save File History', 'boolean'). param('schedule_res', 'Schedule', 'res'). diff --git a/spec/defines/director/director_jobdefs_spec.rb b/spec/defines/director/director_jobdefs_spec.rb index 9cbb069..1b8dbf6 100644 --- a/spec/defines/director/director_jobdefs_spec.rb +++ b/spec/defines/director/director_jobdefs_spec.rb @@ -91,6 +91,7 @@ param('run_after_failed_job', 'Run After Failed Job', 'runscript_short'). param('run_after_job', 'Run After Job', 'runscript_short'). param('run_before_job', 'Run Before Job', 'runscript_short'). + param('run_on_incoming_connect_interval', 'Run On Incoming Connect Interval', 'time'). param('run_script', 'Run Script', 'runscript'). param('save_file_history', 'Save File History', 'boolean'). param('schedule_res', 'Schedule', 'res').