14 lines
188 B
Puppet
14 lines
188 B
Puppet
class vswitch (
|
|
case $::osfamily {
|
|
'Debian': {
|
|
$provider = "ovs_redhat"
|
|
}
|
|
'Redhat': {
|
|
$provider = "ovs"
|
|
}
|
|
}
|
|
) {
|
|
$cls = "vswitch::$provider"
|
|
include $cls
|
|
}
|