hi list, first of all, i'm new to puppet, and i'm evaluating it right now since a few days in my company ( internet, books, etc as sources ). i've been using cfengine for a few years now, and trying to get into puppet. i'd install puppet 0.25, because i feel a need to use regular expressions to identify nodes
scenario: lets say we do have a few servers to get puppetized ;) at different sites lets call those sites: office, cloud and datacenter we now do have 10 webserver on each location, forming 2 clusters this would lead to following dns names: web[01-05].clusterA.cloud.mydomain.com web[01-05].clusterB.cloud.mydomain.com web[01-05].clusterA.office.mydomain.com web[01-05].clusterB.office.mydomain.com web[01-05].clusterA.datacenter.mydomain.com web[01-05].clusterB.datacenter.mydomain.com 1. let's say i want to apply a certain config just to clusterB at all sites (like munin plugins) i'd guess i would take node definitions for that, loading those classes like this one node /^web(.*)\\.clusterB\\.(cloud|office|datacenter)\\.mydomain\\.com $/ { include "site::clusterB::web-nodes" } 2. now lets say, i also want all servers to have a base set of munin plugins no matter where they are located, using the next node definition node /^web(.*)\\.cluster(A|B)\\.(cloud|office|datacenter)\\.mydomain\ \.com$/ { inclde "site::web-nodes" } 3. i want just one server to have a config afterwards node "web01.clusterA.cloud.mydomain.com" { include "site::cloud::clusterA::web01.clusterA.cloud.mydomain.com" } thought that my syntax could be wrong but i hope i got the point. i did not try that out yet thought but would like to hear your opinions, if this is the preffered way to solve my "problem"????? i thought since there are no much chances besides $hostname and $fqdn to identify or even classify certain nodes, to apply configs to, thats the only way greetings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---