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: I48690315f5986317cf3bc346454f2811ec84f07b
This commit is contained in:
Takashi Kajinami 2022-01-05 22:22:51 +09:00
parent 5f25f95b1d
commit b5eb197c41
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_account (
include swift::deps include swift::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.') warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
} }

View File

@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_container (
include swift::deps include swift::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.') warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
} }

View File

@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_proxy (
include swift::deps include swift::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.') warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.')
} }