Skip to content

Commit

Permalink
Remove command opt which caused an infinite loop
Browse files Browse the repository at this point in the history
The command option -r removes uuid when uploading the job file.
This causes an infinite diff loop with the original file.
  • Loading branch information
Joris29 committed Mar 8, 2024
1 parent 4fdc111 commit 942da66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/config/project.pp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
}

exec { "Create/update rundeck job: ${_name}":
command => "rd jobs load -r -d update -p '${name}' -f '${_attr['path']}' -F ${_attr['format']}",
command => "rd jobs load -d update -p '${name}' -f '${_attr['path']}' -F ${_attr['format']}",
path => ['/bin', '/usr/bin', '/usr/local/bin'],
environment => $rundeck::cli::environment,
unless => "rd_job_diff.sh '${name}' '${_name}' '${_attr['path']}' ${_attr['format']}",
Expand Down

0 comments on commit 942da66

Please sign in to comment.