Do you have MCollective running? You could use this to generate a list based on specified facts (mco find --wf <fact>) to use in those rake tasks. Or create them by hand from the Inventory Search in the Dashboard, maybe even a custom rake task. Stefan
Op dinsdag 28 januari 2014 11:24:08 UTC+1 schreef kaustubh chaudhari: > Thanks for the Reply Stefan! > > I did looked into these options, but i dint find a way to add only windows > systems to windows group and linux system to linux group. > > -Kaustubh > > On Tuesday, January 28, 2014 4:15:39 AM UTC-5, Stefan Heijmans wrote: >> >> >>I was looking for a way to group the servers dynamically >> Don't know about this but how about making use of the provided rake >> tasks, like; >> rake nodegroup:add # Add a new node group >> rake nodegroup:add_all_nodes # Automatically adds all >> nodes to a group >> rake node:addgroup # Add group(s) to a node >> >> Stefan >> >> Op maandag 27 januari 2014 15:16:09 UTC+1 schreef kaustubh chaudhari: >> >>> Hi, >>> >>> I was looking for a way to group the servers dynamically. Eg: create a >>> "Windows" Group and all the existing nodes and new nodes should be part of >>> "Windows" group. >>> I edit a group and then add each server, but practically its not >>> possible with 2k servers in all!! >>> >>> Is there a way to do that? >>> >>> -Kaustubh >>> >> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6d1b71cb-77c4-4884-ac7f-ff06ce70f069%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
