install wget to all hosts and configure it to use proxy
This commit is contained in:
@@ -69,3 +69,16 @@ node /puppetmaster/ {
|
|||||||
value => '/var/run/puppet/',
|
value => '/var/run/puppet/',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package { 'wget':
|
||||||
|
ensure => present,
|
||||||
|
}
|
||||||
|
|
||||||
|
file_line { 'wgetrc_proxy':
|
||||||
|
ensure => present,
|
||||||
|
line => "https_proxy = http://172.16.0.1:3128/",
|
||||||
|
path => '/etc/wgetrc',
|
||||||
|
require => Package['wget'],
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user