Skip to content

Commit

Permalink
Add no_proxy configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
feathr1 committed May 21, 2015
1 parent 2343dc1 commit 4b01681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,12 @@

if (empty(grep([ $::jenkins_plugins ], $search))) {
if ($jenkins::proxy_host) {
$no_proxy = join($jenkins::no_proxy_list, ',')
Exec {
environment => [
"http_proxy=${jenkins::proxy_host}:${jenkins::proxy_port}",
"https_proxy=${jenkins::proxy_host}:${jenkins::proxy_port}"
"https_proxy=${jenkins::proxy_host}:${jenkins::proxy_port}",
"no_proxy=${no_proxy}"
]
}
}
Expand Down

0 comments on commit 4b01681

Please sign in to comment.