This commit is contained in:
yalvar 2017-06-02 22:53:17 +00:00 committed by GitHub
commit 80591e8980
2 changed files with 20 additions and 3 deletions

View File

@ -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

View File

@ -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',
}
}
} }