From b7595d6e2f17129b27de28fc8d6faad7e703b2ba Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 5 Jan 2022 22:08:05 +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: I42bb243834414945c64aee41b1ea7e29e4fd73c5 --- 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 6a4d333..6327ca2 100644 --- a/manifests/wsgi/uwsgi.pp +++ b/manifests/wsgi/uwsgi.pp @@ -29,7 +29,7 @@ class magnum::wsgi::uwsgi ( include magnum::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.') }