Hi Tim, For managing server specific parameters i will suggest you to use hiera, please refer link http://docs.puppetlabs.com/hiera/1/puppet.html So for 1st example: you can either use heira or use parametrized class so that you can pass server specific parameters ( admin list) from site.pp. i.e. different value of admin list for different node.
For 2nd example: Create fact to find your special case machines. and you can use condition if $<fact_name> == "special case" { <then condition> here use different port number for iptables rule. } Thanks and Regards, Sneha More, NTT DATA GTS, OSS Center, India, (Pune) On Friday, September 27, 2013 2:30:25 AM UTC+5:30, TimV wrote: > > I've got a basic puppet deployment up and running with some basic modules > in place for configuration management. Running 3.3.0 on server and clients. > > My next stumbling block is how to I manage hosts that have host or > application specific needs? > > Example: > I have basic sudo file that I am managing via puppet, in it I've got our > standard admins listed under root. I can deploy this to most machines, but > what about one off machines that have a slightly different grouping of > admins? > > Another example: > I've got a baseline Iptables module setup (using the puppetlabs module) > that covers a set of baseline iptable rules. What if I have a machine that > needs slightly different ports open? I don't want to include that in the > baseline, it's pointless. How do I do a "if machine/node = specialcase > then do blah" type rule? > > Thanks. > > Tim > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.