Remove usage of custom os_package_type fact

Currently we support usage of distro packages only, and this custom
fact can be simply replaced by the default fact.

Change-Id: Ibc8f8bd63ad65d12ea790ec842e47f09f396bc08
This commit is contained in:
Takashi Kajinami 2022-01-05 22:10:41 +09:00
parent 5c819fbe34
commit 86b218072f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class nova::wsgi::uwsgi_api (
include nova::deps
if $::os_package_type != 'debian'{
if $::operatingsystem != 'Debian'{
warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
}

View File

@ -29,7 +29,7 @@ class nova::wsgi::uwsgi_api_metadata (
include nova::deps
if $::os_package_type != 'debian'{
if $::operatingsystem != 'Debian'{
warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
}