From 86b218072f6288aafd54f367d27f060b4a3d2d6c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 5 Jan 2022 22:10:41 +0900 Subject: [PATCH] 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 --- manifests/wsgi/uwsgi_api.pp | 2 +- manifests/wsgi/uwsgi_api_metadata.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/wsgi/uwsgi_api.pp b/manifests/wsgi/uwsgi_api.pp index d169882f3..7ebc68ca9 100644 --- a/manifests/wsgi/uwsgi_api.pp +++ b/manifests/wsgi/uwsgi_api.pp @@ -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.') } diff --git a/manifests/wsgi/uwsgi_api_metadata.pp b/manifests/wsgi/uwsgi_api_metadata.pp index fbd8d38cb..c5e437d98 100644 --- a/manifests/wsgi/uwsgi_api_metadata.pp +++ b/manifests/wsgi/uwsgi_api_metadata.pp @@ -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.') }