Browse code

Make sure iptables-services is installed

The iptables service files are no longer included by default on
Fedora. This causes the systemctl calls in fixup_stuff.sh to fail
when disabling firewalld in favor of iptables.

Change-Id: If37691d03e3d07ca8b53c541717081beeb184c16
Closes-Bug: #1462347

Ben Nemec authored on 2015/06/06 02:22:36
Showing 2 changed files
... ...
@@ -28,3 +28,4 @@ net-tools
28 28
 java-1.7.0-openjdk-headless  # NOPRIME rhel7,f20
29 29
 java-1.8.0-openjdk-headless  # NOPRIME f21,f22
30 30
 pyOpenSSL # version in pip uses too much memory
31
+iptables-services  # NOPRIME f21,f22
... ...
@@ -126,6 +126,9 @@ if is_fedora; then
126 126
         # [4] http://docs.openstack.org/developer/devstack/guides/neutron.html
127 127
         if is_package_installed firewalld; then
128 128
             sudo systemctl disable firewalld
129
+            # The iptables service files are no longer included by default,
130
+            # at least on a baremetal Fedora 21 Server install.
131
+            install_package iptables-services
129 132
             sudo systemctl enable iptables
130 133
             sudo systemctl stop firewalld
131 134
             sudo systemctl start iptables