31 lines
422 B
ObjectPascal
31 lines
422 B
ObjectPascal
|
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"],
|
||
|
}
|