Skip to content

Commit

Permalink
Use jenkins::cli::exec in security.pp
Browse files Browse the repository at this point in the history
Commit 6bc33de changed a whole bunch of `exec`s to `jenkins::cli::exec`
but missed this one out.

Without this change `exec` gets grumpy about the `command` argument
being an array.
  • Loading branch information
jonyesno committed May 8, 2015
1 parent ad774dc commit 6edb118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/security.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
include ::jenkins::cli_helper

# XXX not idempotent
exec { "jenkins-security-${security_model}":
jenkins::cli::exec { "jenkins-security-${security_model}":
command => [
'set_security',
$security_model,
Expand Down

0 comments on commit 6edb118

Please sign in to comment.