We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd27a5a commit e0f70d6Copy full SHA for e0f70d6
manifests/agent.pp
@@ -76,6 +76,8 @@
76
$agent_noop = undef,
77
$usecacheonfailure = undef,
78
$certname = undef,
79
+ $http_proxy_host = undef,
80
+ $http_proxy_port = undef,
81
) inherits puppet::params {
82
83
if ! defined(User[$::puppet::params::puppet_user]) {
@@ -375,4 +377,18 @@
375
377
section => 'main',
376
378
}
379
380
+ if $http_proxy_host != undef {
381
+ ini_setting {'puppetagenthttpproxyhost':
382
+ ensure => present,
383
+ setting => 'http_proxy_host',
384
+ value => $http_proxy_host,
385
+ }
386
387
+ if $http_proxy_port != undef {
388
+ ini_setting {'puppetagenthttpproxyport':
389
390
+ setting => 'http_proxy_port',
391
+ value => $http_proxy_port,
392
393
394
0 commit comments