Skip to content

Commit

Permalink
Merge pull request #278 from jhoblitt/maint/remove-unnecessary-whites…
Browse files Browse the repository at this point in the history
…pace

remove unnecessary whitespace from $::jenkins::cli_helper::helper_cmd
  • Loading branch information
R. Tyler Croy committed May 2, 2015
2 parents 576a63c + 283055a commit 7133ab3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions manifests/cli_helper.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@
if $ssh_keyfile {
$auth_arg = "-i ${ssh_keyfile}"
} else {
$auth_arg = ''
$auth_arg = undef
}
$helper_cmd = join([
'/usr/bin/java',
"-jar ${::jenkins::cli::jar}",
"-s http://127.0.0.1:${port}",
$auth_arg,
"groovy ${helper_groovy}",
], ' ')
$helper_cmd = join(
delete_undef_values([
'/usr/bin/java',
"-jar ${::jenkins::cli::jar}",
"-s http://127.0.0.1:${port}",
$auth_arg,
"groovy ${helper_groovy}",
]),
' '
)
}

0 comments on commit 7133ab3

Please # to comment.