Merge bc482a5151
into ac9785273a
This commit is contained in:
commit
80591e8980
@ -2,9 +2,11 @@ forge "http://forge.puppetlabs.com"
|
|||||||
|
|
||||||
# Modules from the Puppet Forge
|
# Modules from the Puppet Forge
|
||||||
# Versions should be updated to be the latest at the time you start
|
# Versions should be updated to be the latest at the time you start
|
||||||
#mod "puppetlabs/inifile", '1.5.0'
|
mod "puppetlabs/inifile", '1.5.0'
|
||||||
#mod "puppetlabs/stdlib", '4.11.0'
|
mod "puppetlabs/stdlib", '4.11.0'
|
||||||
#mod "puppetlabs/concat", '2.1.0'
|
mod "puppetlabs/concat", '2.1.0'
|
||||||
|
mod "puppetlabs/ntp", :latest
|
||||||
|
mod "example42/network", :latest
|
||||||
|
|
||||||
# Modules from Git
|
# Modules from Git
|
||||||
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
|
# Examples: https://github.com/puppetlabs/r10k/blob/master/doc/puppetfile.mkd#examples
|
||||||
|
@ -2,4 +2,19 @@ class profile::base {
|
|||||||
|
|
||||||
#the base profile should include component modules that will be on all nodes
|
#the base profile should include component modules that will be on all nodes
|
||||||
|
|
||||||
|
class { '::ntp':
|
||||||
|
servers => [ 'ntp1.corp.com', 'ntp2.corp.com' ],
|
||||||
|
}
|
||||||
|
|
||||||
|
class { 'network':
|
||||||
|
config_file_notify => '',
|
||||||
|
}
|
||||||
|
|
||||||
|
network::mroute { 'eth0':
|
||||||
|
routes => {
|
||||||
|
'192.168.2.0/24' => '192.168.1.1',
|
||||||
|
'80.81.82.0/16' => 'eth0',
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user