Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-29 Thread Grant Street
I think my problem was I was trying to set the role variable under a parameters: clause in my group yaml file... e I'm also trying your method, Pete, but I'm hitting a snag. I have certname.yaml file that contains --- role: modeler and a file modeler.yaml that contains --- classes: -

Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-25 Thread Grant Street
The output of the ENC is very specific, if you can't find the information you need to get it to work I'll find out if I can share my ENC script with you off-list. On Thu, Jul 24, 2014 at 9:23 PM, Grant Street grantfstr...@gmail.com wrote: Hey Thanks for the reply I want the ENC to pass

[Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-24 Thread Grant Street
I am looking to implement puppet coming from cfe2 I am also finding it hard to make the connection between nodes and groups using hiera. I would like a solution where I can define host groups etc on the puppet master rather than relying on the client to have a file(s) put in particular

Re: [Puppet Users] Re: How to group systems using Puppet and hiera?

2014-07-24 Thread Grant Street
Hey Thanks for the reply I want the ENC to pass on variables or the like so that these can be used by hiera to apply roles/profiles etc. eg ENC returns a nodes software role eg role: desktop_software Then hiera can load the desktop_software.yaml file to apply that software role as part of

[Puppet Users] Re: Creating a config file dynamically based on the group membership of a node

2014-05-20 Thread Grant Street
On Wednesday, May 21, 2014 12:31:59 AM UTC+10, jcbollinger wrote: On Monday, May 19, 2014 2:39:47 AM UTC-5, Grant Street wrote: Hi First time poster to this forum. I'm in the process of doing a pilot to convert a cfengine v2 install to puppet. I was wondering if any one had any

[Puppet Users] Creating a config file dynamically based on the group membership of a node

2014-05-19 Thread Grant Street
Hi First time poster to this forum. I'm in the process of doing a pilot to convert a cfengine v2 install to puppet. I was wondering if any one had any ideas on the following. I have machines that can be in any combination(ie 0 or more) of 10 groups, that can change. I need to create an