From: Dan Carley Date: Sat, 2 Mar 2013 17:44:34 +0000 (+0000) Subject: Typo in #persist_iptables OS normalisation X-Git-Tag: 0.2.0~4 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6ae5794a5efcf1c026d6d021c1a93518b1dd67b7;p=puppet-modules%2Fpuppetlabs-firewall.git Typo in #persist_iptables OS normalisation Debian is upstream of Ubuntu. Not the other way around. Would have affected users of Facter <1.6.2 which doesn't have osfamily. Discovered while writing tests, yey tests. --- diff --git a/lib/puppet/util/firewall.rb b/lib/puppet/util/firewall.rb index b388bca..47ef27e 100644 --- a/lib/puppet/util/firewall.rb +++ b/lib/puppet/util/firewall.rb @@ -139,7 +139,7 @@ module Puppet::Util::Firewall when 'RedHat', 'CentOS', 'Fedora' 'RedHat' when 'Debian', 'Ubuntu' - 'Ubuntu' + 'Debian' else Facter.value(:operatingsystem) end