diff --git a/manifests/wsgi/uwsgi_account.pp b/manifests/wsgi/uwsgi_account.pp index 9a385954..419df502 100644 --- a/manifests/wsgi/uwsgi_account.pp +++ b/manifests/wsgi/uwsgi_account.pp @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_account ( include swift::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_container.pp b/manifests/wsgi/uwsgi_container.pp index 31ad17de..23c4b4f4 100644 --- a/manifests/wsgi/uwsgi_container.pp +++ b/manifests/wsgi/uwsgi_container.pp @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_container ( include swift::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_proxy.pp b/manifests/wsgi/uwsgi_proxy.pp index e1b91ced..61306679 100644 --- a/manifests/wsgi/uwsgi_proxy.pp +++ b/manifests/wsgi/uwsgi_proxy.pp @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_proxy ( include swift::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.') }