Fix errors in puppet-syntax-future
puppet-syntax-future job is failing because of a syntax error in the manifests. This patch aims to fix it. Change-Id: Ib471e862bb7a9f735c5c6f045f4c627723dd6c3a (cherry picked from commit5e07f511b4
) (cherry picked from commit736587a878
)
This commit is contained in:

committed by
Cédric LECOMTE

parent
5f6fa04b1d
commit
dad82f5577
@@ -417,7 +417,7 @@ class cloud::database::sql::mysql (
|
||||
}
|
||||
} # Debian
|
||||
default: {
|
||||
err "${::osfamily} not supported yet"
|
||||
fail("${::osfamily} not supported yet")
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -89,7 +89,7 @@ class cloud::network(
|
||||
$core_plugin = 'neutron.plugins.cisco.network_plugin.PluginV2'
|
||||
}
|
||||
default: {
|
||||
err "${plugin} plugin is not supported."
|
||||
fail("${plugin} plugin is not supported.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -254,7 +254,7 @@ class cloud::network::controller(
|
||||
}
|
||||
|
||||
default: {
|
||||
err "${plugin} plugin is not supported."
|
||||
fail("${plugin} plugin is not supported.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -215,7 +215,7 @@ class cloud::network::vswitch(
|
||||
}
|
||||
|
||||
default: {
|
||||
err "${driver} driver is not supported."
|
||||
fail("${driver} driver is not supported.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -133,7 +133,7 @@ describe 'cloud::network::vswitch' do
|
||||
before :each do
|
||||
params.merge!(:driver => 'Something')
|
||||
end
|
||||
it { should compile.and_raise_error(/Something plugin is not supported./) }
|
||||
it_raises 'a Puppet::Error', /Something driver is not supported./
|
||||
end
|
||||
|
||||
context 'with default firewall enabled' do
|
||||
|
Reference in New Issue
Block a user