]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
Typo in #persist_iptables OS normalisation
authorDan Carley <dan.carley@gmail.com>
Sat, 2 Mar 2013 17:44:34 +0000 (17:44 +0000)
committerDan Carley <dan.carley@gmail.com>
Sat, 2 Mar 2013 17:44:34 +0000 (17:44 +0000)
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

index b388bcae9dfb5098b2518b5dc3d1866fc5e9cfa9..47ef27ef3de57844d4f3f9570e8d06321c1da75a 100644 (file)
@@ -139,7 +139,7 @@ module Puppet::Util::Firewall
     when 'RedHat', 'CentOS', 'Fedora'
       'RedHat'
     when 'Debian', 'Ubuntu'
-      'Ubuntu'
+      'Debian'
     else
       Facter.value(:operatingsystem)
     end