Currently we don't start ip6tables service on centos-7. This fixes
that.
Change-Id: I64e62074b41e49cc2dc9b6bafcfbeeded2029487
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Starting from Ubuntu Vivid, there is no service called iptables-persistent
anymore, the service netfilter-persistent now includes calling the tasks
from iptables-persistent.
Change-Id: Ie8bf4eafb9d9d2e02e2ed21fb4e4e899399450de
The systemd version of iptables requires the 'iptables-services' package
for having the `regular` iptables rule restore on service startup.
The service also needs to be enabled explicitly.
Another iptables related issue with multinode_setup.sh,
tries to executes the iptables command without login shell.
The non-login shell does not contains /usr/sbin in PATH,
so multinode_setup.sh changed to use login shell defaults.
Warning: This change enables the iptables service on all
distribution.
Change-Id: I3174e43b3b19e28073a4364dd0f66fc39b0fa815
Clean up facter osfamily matches to just use Debian, not Ubuntu.
This is manually tested and confirmed to at least be the case on
Oneiric, Precise and Quantal.
Change-Id: I27b184ac419910f9c3271c3b4e57886333282a5f
Reviewed-on: https://review.openstack.org/27399
Reviewed-by: Spencer Krum <krum.spencer@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
The install scripts now look for CentOS in release files. Also some
instances of facter's operatingsystem are switched to osfamily and
capitalization of RedHat is normalized to match what facter uses.
Change-Id: I3bbca5481d0d5e6de9e62bfd6e2b0a85264ed6ed
Reviewed-on: https://review.openstack.org/27398
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Updates the iptables module so that it uses parameters
to define the package, service, and files used to setup and
configure persistent iptables rules.
With these updates the module should now support both
RHEL and Ubuntu.
Change-Id: I45af4e72065c9baaf1d9a03f18b47f6effdce322
Reviewed-on: https://review.openstack.org/23278
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins