From ad5ea118a11c5ec0e68044cd7e0f4f56ccc0ddd2 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 5 Jan 2022 21:54:36 +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: I55c3504b8d0eafc0848e6f74e3bf0ec2a097098b --- 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 fbb16ea..a2fd82c 100644 --- a/manifests/wsgi/uwsgi.pp +++ b/manifests/wsgi/uwsgi.pp @@ -29,7 +29,7 @@ class cloudkitty::wsgi::uwsgi ( include cloudkitty::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.') }