move wget code to be before node blocks
just to organize things.
This commit is contained in:
@@ -58,6 +58,19 @@ file { '/etc/puppet/hiera.yaml':
|
||||
:datadir: /etc/puppet/hiera_data'
|
||||
}
|
||||
|
||||
|
||||
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'],
|
||||
}
|
||||
|
||||
# not sure if this is the best place for my puppetmaster config
|
||||
node /puppetmaster/ {
|
||||
Ini_setting {
|
||||
path => '/etc/puppet/puppet.conf',
|
||||
@@ -79,16 +92,4 @@ node /puppetmaster/ {
|
||||
}
|
||||
}
|
||||
|
||||
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'],
|
||||
}
|
||||
|
||||
|
||||
node default { }
|
||||
|
||||
Reference in New Issue
Block a user