The facter osfamily of Ubuntu is Debian.

Clean up facter osfamily matches to just use Debian, not Ubuntu.
This is manually tested and confirmed to at least be the case on
Oneiric, Precise and Quantal.

Change-Id: I27b184ac419910f9c3271c3b4e57886333282a5f
Reviewed-on: https://review.openstack.org/27399
Reviewed-by: Spencer Krum <krum.spencer@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2013-04-24 02:42:55 +00:00 committed by Jenkins
parent 94496f8434
commit c63516f503
1 changed files with 2 additions and 2 deletions

View File

@ -8,12 +8,12 @@ class pip::params {
$python_devel_package = 'python-devel'
$python_pip_package = 'python-pip'
}
'Debian', 'Ubuntu': {
'Debian': {
$python_devel_package = 'python-all-dev'
$python_pip_package = 'python-pip'
}
default: {
fail("Unsupported osfamily: ${::osfamily} The 'pip' module only supports osfamily Fedora, Redhat, Debian, or Ubuntu.")
fail("Unsupported osfamily: ${::osfamily} The 'pip' module only supports osfamily Debian or RedHat.")
}
}
}