From f03bc7079bdc9282d831db55dd8da244c4468e72 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 5 Jan 2022 22:02:40 +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: I294be10a1c8a77dfa2195ba9bf3e3aff524212c9 --- manifests/wsgi/uwsgi.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/wsgi/uwsgi.pp b/manifests/wsgi/uwsgi.pp index 6aea059b..21060276 100644 --- a/manifests/wsgi/uwsgi.pp +++ b/manifests/wsgi/uwsgi.pp @@ -29,7 +29,7 @@ class glance::wsgi::uwsgi ( include glance::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.') }