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: I11bac6405b94e6616e45dd511b842a4ad358148a
This commit is contained in:
Takashi Kajinami 2022-01-05 22:05:30 +09:00
parent 5c6dbfd634
commit 213b30a43f
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class heat::wsgi::uwsgi_api (
include heat::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 heat::wsgi::uwsgi_api_cfn (
include heat::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.')
}