From 213b30a43f57e60b0e95c358d85467af8457e2db Mon Sep 17 00:00:00 2001 From: Takashi Kajinami <tkajinam@redhat.com> Date: Wed, 5 Jan 2022 22:05:30 +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: I11bac6405b94e6616e45dd511b842a4ad358148a --- manifests/wsgi/uwsgi_api.pp | 2 +- manifests/wsgi/uwsgi_api_cfn.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/wsgi/uwsgi_api.pp b/manifests/wsgi/uwsgi_api.pp index ede44ab8..9e8ad3c9 100644 --- a/manifests/wsgi/uwsgi_api.pp +++ b/manifests/wsgi/uwsgi_api.pp @@ -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.') } diff --git a/manifests/wsgi/uwsgi_api_cfn.pp b/manifests/wsgi/uwsgi_api_cfn.pp index 10ac2822..4da471fa 100644 --- a/manifests/wsgi/uwsgi_api_cfn.pp +++ b/manifests/wsgi/uwsgi_api_cfn.pp @@ -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.') }