install wget to all hosts and configure it to use proxy

This commit is contained in:
Dan Bode
2013-01-11 11:05:28 -08:00
parent e11d277a7f
commit c9afa65249

View File

@@ -69,3 +69,16 @@ node /puppetmaster/ {
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'],
}