31 lines
422 B
Puppet
31 lines
422 B
Puppet
package { 'ntp':
|
|
ensure => present,
|
|
}
|
|
|
|
service { 'ntp':
|
|
ensure => running,
|
|
enable => true,
|
|
}
|
|
|
|
package { 'htop':
|
|
ensure => present,
|
|
}
|
|
|
|
package { 'ifmetric':
|
|
ensure => present,
|
|
}
|
|
|
|
class { "network::interfaces":
|
|
interfaces => {
|
|
"eth0" => {
|
|
"method" => "dhcp",
|
|
"metric" => 100,
|
|
},
|
|
"eth1" => {
|
|
"method" => "dhcp",
|
|
"metric" => 50,
|
|
}
|
|
},
|
|
auto => ["eth0", "eth1"],
|
|
}
|