puppet-firewalld
puppet-firewalld copied to clipboard
Does not detect properly if firewalld is running in a chroot environment
When running from a chrooted-environment, such as from the post section of a Kickstart installation, the following commands do not work as advertised:
/bin/systemctl is-active firewalld
/bin/systemctl is-enabled firewalld
/bin/systemctl unmask firewalld
/bin/systemctl start firewalld
/bin/systemctl is-enabled firewalld
I placed those commands directly in my Kickstart file before invoking Puppet, and got the following ouput:
Running in chroot, ignoring request.
enabled
Running in chroot, ignoring request.
enabled
The module should (1) properly detect if firewalld is actually running and (2) not reload if firewalld is not running.