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: I48690315f5986317cf3bc346454f2811ec84f07b
This commit is contained in:
		| @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_account ( | |||||||
|  |  | ||||||
|   include swift::deps |   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.') |     warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.') | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_container ( | |||||||
|  |  | ||||||
|   include swift::deps |   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.') |     warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.') | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ class swift::wsgi::uwsgi_proxy ( | |||||||
|  |  | ||||||
|   include swift::deps |   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.') |     warning('This class is only valid for Debian, as other operating systems are not using uwsgi by default.') | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Takashi Kajinami
					Takashi Kajinami