You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ac...@apache.org on 2013/07/18 15:47:52 UTC

svn commit: r1504470 - /vcl/trunk/managementnode/lib/VCL/Module/OS/Linux/Ubuntu.pm

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 {};
    }