Issue #2269 has been reported by John Motson.

----------------------------------------
Feature #2269: Node list feature
http://projects.reductivelabs.com/issues/2269

Author: John Motson
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Medium
Affected version: 0.24.8
Keywords: 


Hi,

I would like to see a feature to define a list of nodes in Puppet.
As far as I understand, we can currently define multiple nodes like this:

node server1, server2, server3 {
include someresource
}

This wouldn't scale very well with puppetrun, because I would have to use 
something like:
sudo puppetrun --host server1 --host server2 --host server3
where the number of nodes could be 100.

Instead, I would like to have a node list like this:
nodelist servergroup1 {
server1,
server2,
server3
include resources
}

and I can puppetrun this with
puppetrun --nodelist servergroup1

A feature to group nodes together adds a layer of abstraction in node 
management.  It's very common to want to group similar nodes (i.e. servers 
under a single load-balancer) and be able to apply the same configuration in 
one shot, without having to go through each node definition and update 
appropriate resources.

If there is already a way to do this, my apologies for not knowing puppet 
enough. As far as I have asked around on IRC #puppet, people only pointed me to 
listing multiple hosts in one line like I described here.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to