From 76a1f98cef7c8a23ea61efc1b397ef952a7be16a Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 11 Apr 2018 08:28:49 +0200 Subject: [PATCH] Allow to test Debian package on top of Ubuntu The manifests/repos.pp uses ::operatingsystem. Let's make it use $::os_package_type instead. Change-Id: Iaa7987c86bf72810b0299335627478ba38839f4e --- manifests/repos.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/repos.pp b/manifests/repos.pp index 88ce78c66..7a2da94c6 100644 --- a/manifests/repos.pp +++ b/manifests/repos.pp @@ -2,7 +2,7 @@ class openstack_integration::repos { case $::osfamily { 'Debian': { - case $::operatingsystem { + case $::os_package_type { 'ubuntu': { include ::apt class { '::openstack_extras::repo::debian::ubuntu': @@ -19,7 +19,7 @@ class openstack_integration::repos { } } default: { - fail("Unsupported operatingsystem (${::operatingsystem})") + fail("Unsupported package type (${::os_package_type})") } } # Ceph is both packaged on UCA & ceph.com