vcl-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acob...@apache.org
Subject svn commit: r1504470 - /vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm
Date Thu, 18 Jul 2013 13:47:52 GMT
Author: acoburn
Date: Thu Jul 18 13:47:51 2013
New Revision: 1504470

URL: http://svn.apache.org/r1504470
Log:
VCL-712

Ubuntu module was checking for the iptables service when it should have been checking for
ufw.


Modified:
    vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm?rev=1504470&r1=1504469&r2=1504470&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm Thu Jul 18 13:47:51 2013
@@ -455,7 +455,7 @@ sub disable_firewall_port {
    }
 
    # Check to see if this distro has iptables
-   if (!$self->service_exists("iptables")) {
+   if (!$self->service_exists("ufw")) {
       notify($ERRORS{'WARNING'}, 0, "iptables service does not exist on this OS");
       return 1;
    }
@@ -518,7 +518,7 @@ sub get_firewall_configuration {
    my $firewall_configuration = {};
 
    # Check to see if this distro has iptables
-   if (!$self->service_exists("iptables")) {
+   if (!$self->service_exists("ufw")) {
       notify($ERRORS{'WARNING'}, 0, "iptables service does not exist on this OS");
       return {};
    }



Mime
View raw message