Strictly test nova::params::novajoin_package_name
This is a follow-up of 0aac4291bd
, and
make sure we test whether nova::params::nova_join_package_name is
undef, to avoid unexpected matching with false for example.
Change-Id: Ic3cebbaf73adbfb30b88a93c0bc4dbc516ba3664
This commit is contained in:
parent
0aac4291bd
commit
5a01b0b4dc
|
@ -139,7 +139,7 @@ class nova::metadata::novajoin::api (
|
|||
fail('service_password is missing')
|
||||
}
|
||||
|
||||
if ! $nova::params::novajoin_package_name {
|
||||
if $nova::params::novajoin_package_name == undef {
|
||||
fail("Unsupported osfamily: ${::osfamily} operatingsystem")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue