davetst@gmail.com
2013-Sep-19 15:46 UTC
[Puppet Users] Adding nodes to groups automatically
Is there a way I can replicate the background task that automatically adds all new nodes to the ''default'' group in puppet enterprise console? I''d like the process to add nodes based on the osfamily fact. For example, if the node is osfamily=RedHat add to group named RedHat. From some reading I know there are rake tasks but I don''t see how to have them add the node based on osfamily fact. I also looked into Heira and know that it would do a better job of classifying nodes but I''m not quite ready to port my modules over to it yet. -- 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+unsubscribe@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.
Seemingly Similar Threads
- Facter & Puppet disagree on RHEL 6?
- Puppet newbie
- Pip provider fails on RedHat osfamily when pip not installed via RPM (Could not locate the pip command)
- Still problem using Chocolatey provider on Windows
- How to get Puppet Ent Agent for Mac Mountain Lion?