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:
Takashi Kajinami 2020-04-03 09:17:00 +09:00
parent 0aac4291bd
commit 5a01b0b4dc
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}