Convert all class usage to relative names
Change-Id: Iaad7694d527659713906ea9df89fd03e9fff790d
This commit is contained in:
parent
ff7a32cd0e
commit
b90b698aa8
|
@ -58,7 +58,7 @@ class vswitch::dpdk (
|
|||
$driver_type = 'vfio-pci',
|
||||
) {
|
||||
|
||||
include ::vswitch::params
|
||||
include vswitch::params
|
||||
kmod::load { 'vfio-pci': }
|
||||
|
||||
if $::osfamily != 'Redhat' {
|
||||
|
|
|
@ -35,7 +35,7 @@ class vswitch::ovs(
|
|||
$disable_emc = false,
|
||||
) {
|
||||
|
||||
include ::vswitch::params
|
||||
include vswitch::params
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vswitch params
|
||||
#
|
||||
class vswitch::params {
|
||||
include ::openstacklib::defaults
|
||||
include openstacklib::defaults
|
||||
|
||||
if versioncmp($::puppetversion, '4.0.0') < 0 and versioncmp($::puppetversion, '3.6.1') >= 0 {
|
||||
Package<| tag == 'openvswitch' |> {
|
||||
|
|
|
@ -6,10 +6,10 @@ describe 'basic vswitch' do
|
|||
|
||||
it 'should work with no errors' do
|
||||
pp= <<-EOS
|
||||
include ::openstack_integration
|
||||
include ::openstack_integration::repos
|
||||
include openstack_integration
|
||||
include openstack_integration::repos
|
||||
|
||||
include ::vswitch::ovs
|
||||
include vswitch::ovs
|
||||
|
||||
vs_bridge { 'br-beaker':
|
||||
ensure => present,
|
||||
|
|
Loading…
Reference in New Issue