From 6ae5794a5efcf1c026d6d021c1a93518b1dd67b7 Mon Sep 17 00:00:00 2001 From: Dan Carley Date: Sat, 2 Mar 2013 17:44:34 +0000 Subject: [PATCH] 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. --- lib/puppet/util/firewall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2