diff --git a/fixtures/scenario-aio.pp b/fixtures/scenario-aio.pp index 4d3c6c111..c2243e146 100644 --- a/fixtures/scenario-aio.pp +++ b/fixtures/scenario-aio.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { include ::apache::params class { '::apache': mod_packages => merge($::apache::params::mod_packages, { diff --git a/fixtures/scenario-py3.pp b/fixtures/scenario-py3.pp index 77a257226..054128287 100644 --- a/fixtures/scenario-py3.pp +++ b/fixtures/scenario-py3.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { $wsgi_mod_package = 'libapache2-mod-wsgi-py3' $wsgi_mod_lib = undef } diff --git a/fixtures/scenario001.pp b/fixtures/scenario001.pp index 5b08c4256..bc7a99d97 100644 --- a/fixtures/scenario001.pp +++ b/fixtures/scenario001.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { $wsgi_mod_package = 'libapache2-mod-wsgi-py3' $wsgi_mod_lib = 'mod_wsgi.so' } diff --git a/fixtures/scenario002.pp b/fixtures/scenario002.pp index ed4cd052a..dc0cbda8f 100644 --- a/fixtures/scenario002.pp +++ b/fixtures/scenario002.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { $wsgi_mod_package = 'libapache2-mod-wsgi-py3' $wsgi_mod_lib = 'mod_wsgi.so' } diff --git a/fixtures/scenario003.pp b/fixtures/scenario003.pp index 52a26ff59..f167eaa20 100644 --- a/fixtures/scenario003.pp +++ b/fixtures/scenario003.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { $wsgi_mod_package = 'libapache2-mod-wsgi-py3' $wsgi_mod_lib = 'mod_wsgi.so' } diff --git a/fixtures/scenario004.pp b/fixtures/scenario004.pp index 20c3ac4d4..9dd811d48 100644 --- a/fixtures/scenario004.pp +++ b/fixtures/scenario004.pp @@ -14,7 +14,7 @@ # limitations under the License. # -if ($::os_package_type == 'debian') { +if ($::os['family'] == 'Debian') { $wsgi_mod_package = 'libapache2-mod-wsgi-py3' $wsgi_mod_lib = 'mod_wsgi.so' }