I'm trying to find a way to configure the firewall on centos systems using
puppet by copying the /etc/sysconfig/iptables file and restarting the
iptables service.
That part is simple to accomplish. The twist I need to add though is that I
only want to do this if a copy of that file for the node exists on the
server. If this file doesn't
exists then I want puppet to not replace the file on the client and not
restart the service.
Is there a way to accomplish this sort of conditional execution?
Regards,
Dennis
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/oAUk_tpcqooJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.