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:
parent
f6b9dc7ea8
commit
e164471e36
@ -14,7 +14,7 @@ class iptables::params {
|
||||
$service_status_cmd = undef
|
||||
$service_has_restart = false
|
||||
}
|
||||
'Debian', 'Ubuntu': {
|
||||
'Debian': {
|
||||
$package_name = 'iptables-persistent'
|
||||
$service_name = 'iptables-persistent'
|
||||
$rules_dir = '/etc/iptables'
|
||||
@ -32,7 +32,7 @@ class iptables::params {
|
||||
$service_has_restart = false
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'iptables' module only supports osfamily Ubuntu or Redhat(slaves only).")
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'iptables' module only supports osfamily Debian or RedHat (slaves only).")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user