Miles Monteleone
2012-May-10 17:43 UTC
[Puppet Users] Foreman and default configs for all nodes
I''m having some issues applying a default set of modules to all of my nodes managed by Foreman. I have around 20 nodes split among 4 environments. I have a node {default...} stanza in site.pp, but due to the way puppet handles ENCs, nothing from this is applied to my nodes. I have looked at host groups in Foreman, but they don''t seem to do what I want, since they are applied per-environment. Basically I just want to duplicate the behavior of node {default} in Foreman. I don''t care which environment they are in. Any ideas? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/X_QcI-6iqf0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Craig White
2012-May-10 18:11 UTC
Re: [Puppet Users] Foreman and default configs for all nodes
On May 10, 2012, at 10:43 AM, Miles Monteleone wrote:> I''m having some issues applying a default set of modules to all of my nodes managed by Foreman. I have around 20 nodes split among 4 environments. I have a node {default...} stanza in site.pp, but due to the way puppet handles ENCs, nothing from this is applied to my nodes. I have looked at host groups in Foreman, but they don''t seem to do what I want, since they are applied per-environment. Basically I just want to duplicate the behavior of node {default} in Foreman. I don''t care which environment they are in. Any ideas?---- the ''per environment'' only means that you define the same host group and note that Foreman''s host groups can be nested. Craig -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ohad Levy
2012-May-10 19:13 UTC
Re: [Puppet Users] Foreman and default configs for all nodes
On Thu, May 10, 2012 at 8:43 PM, Miles Monteleone <scratchyseal@gmail.com>wrote:> I''m having some issues applying a default set of modules to all of my > nodes managed by Foreman. I have around 20 nodes split among 4 > environments. I have a node {default...} stanza in site.pp, but due to the > way puppet handles ENCs, nothing from this is applied to my nodes. I have > looked at host groups in Foreman, but they don''t seem to do what I want, > since they are applied per-environment. Basically I just want to duplicate > the behavior of node {default} in Foreman. I don''t care which environment > they are in. Any ideas?you could always get foreman data, and merge it with your own set of defaults (via your own simple enc script). Ohad> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/X_QcI-6iqf0J. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jake - USPS
2012-May-11 13:48 UTC
Re: [Puppet Users] Foreman and default configs for all nodes
Does that mean there is currently not a way to do this straight in foreman? This is something I would like also (as of yesterday :P). I don''t really want to script my own solution based off foreman data ... cause maybe my ''defaults'' will change and I would love to have that tracked in foreman (kind of a single source of data) instead of the need to edit some script. Thanks, Jake -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/uTVHvGUSdqwJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Jake - USPS
2012-May-11 15:32 UTC
Re: [Puppet Users] Foreman and default configs for all nodes
Continuing discussion at thread in foreman users @ https://groups.google.com/forum/?fromgroups#!topic/foreman-users/uhW_EwO4LLg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/71UYI6ddTCYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.