14 lines
360 B
Puppet
14 lines
360 B
Puppet
class openvswitch {
|
|
package { ["openvswitch-switch", "openvswitch-datapath-dkms"]:
|
|
ensure => present
|
|
}
|
|
|
|
service { "openvswitch-switch":
|
|
ensure => true,
|
|
enable => true,
|
|
hasstatus => true,
|
|
status => "/etc/init.d/openvswitch-switch",
|
|
require => Package["openvswitch-switch"]
|
|
}
|
|
}
|