FAQ
Hi,
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 puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 6 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedApr 22, '12 at 1:15a
activeApr 23, '12 at 4:28p
posts6
users2
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase