]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commit
(MODULES-1984) Perform daemon-reload on systemd
authorJohn Duarte <john.duarte@puppetlabs.com>
Tue, 28 Apr 2015 20:07:31 +0000 (13:07 -0700)
committerJohn Duarte <john.duarte@puppetlabs.com>
Tue, 28 Apr 2015 20:07:31 +0000 (13:07 -0700)
commitb7182ea74cd4dd630d907d54d052a71639594246
treedc97b6024431f953aef74c537b845cf748b9ee5c
parente7121fe12f7582695ef774b51742b65a37d462db
(MODULES-1984) Perform daemon-reload on systemd

This commit patches the `manifests/linux/redhat.pp` manifest to
perform a `systemctl daemon-reload` exec on platforms that also
contain firewalld.

Prior to this commit, Specifically on Centos 7, if the systemd
deamon is not reloaded then the iptables service fails to start
because it cannot see the systemd Unit for that service.

This patch refreshes the daemon's list of Units and allows the
service to start as expected.
manifests/linux/redhat.pp