puppet-firewalld icon indicating copy to clipboard operation
puppet-firewalld copied to clipboard

Does not detect properly if firewalld is running in a chroot environment

Open bitburnerz opened this issue 6 years ago • 0 comments

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.

bitburnerz avatar Dec 10 '18 19:12 bitburnerz