[Puppet Users] Invitation to the Baltimore Puppet Users Group

2015-02-13 Thread Trevor Vaughan
Hi All, I'd like to invite anyone who might be in the BWI area to join us for our next Meetup in Baltimore! Details can be found at http://www.meetup.com/Baltimore-Puppet-User-Group/. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- Th

Re: [Puppet Users] Re: representing undef in hiera?

2015-02-13 Thread Christopher Wood
On Thu, Feb 12, 2015 at 12:11:01PM -0800, ess wrote: >On Monday, February 9, 2015 at 11:37:39 AM UTC-5, Christopher Wood wrote: > > How would I represent an undef in hiera such that a class parameter will > be populated as undef? > >John's doing a better job than I would of talk

Re: [Puppet Users] Re: representing undef in hiera?

2015-02-13 Thread Christopher Wood
On Wed, Feb 11, 2015 at 06:49:57AM -0800, jcbollinger wrote: >On Tuesday, February 10, 2015 at 9:48:50 AM UTC-6, Christopher Wood wrote: > > On Tue, Feb 10, 2015 at 06:52:05AM -0800, jcbollinger wrote: > >    On Monday, February 9, 2015 at 10:37:39 AM UTC-6, Christopher Wood > w

Re: [Puppet Users] Hiera array problem

2015-02-13 Thread Alex Elman
You're passing a single array into postgresql_password() when it expects two string arguments in your first example. Try removing the right angle brackets that are fencing your two hiera calls. postgresql::server::role { [hiera(my::db::user)]: password_hash => postgresql_password(hiera(my::db

[Puppet Users] Hiera array problem

2015-02-13 Thread Begum Tuncer
Hello, I've a problem with hiera and functions. I'd like to manage a postgresql role like this: postgresql::server::role { 'marmot': password_hash => postgresql_password('marmot', 'mypasswd'),} In above, how can I use hiera in the function part? I tried: postgresql::server::role { [hiera

[Puppet Users] Re: Allowing duplicate namevars in custom types

2015-02-13 Thread jwilkicki
There's a lot of great design advice in here. Thank you for taking the time to write it up; I'll definitely do a deeper dive on this when I've solved my immediate problem and check this advice against some of the other rules I've written. I often find Puppet to be as much of a mind-bender as w

[Puppet Users] Re: Allowing duplicate namevars in custom types

2015-02-13 Thread jcbollinger
On Thursday, February 12, 2015 at 1:53:25 PM UTC-6, jwil...@gmail.com wrote: > > Well, I was thinking of doing a type similar to what xmlstarlet does, > including being able to add and remove nodes. I don't really need the > added behavior of adding and removing nodes from the file right now,

Re: [Puppet Users] Re: Virtual Resource Visibility

2015-02-13 Thread jcbollinger
On Thursday, February 12, 2015 at 10:15:19 AM UTC-6, Salty Old Cowdawg wrote: > > > > On Tue, Feb 10, 2015 at 9:21 AM, jcbollinger > wrote: > >> so I have to think that you have some wrong expectation about the effect. >> >> > Based on some reading I did yesterday I must confess that may be tru

[Puppet Users] Managing json configuration files for each node

2015-02-13 Thread Steve Harp
Hi Guys, I'm trying to figure out the best way to manage json configuration files on all of my nodes. The json files consist of from 1 to n sub-site configurations stored in a json array. If each site only had 1 site configuration, it would be a simple matter of using a template. The only op

[Puppet Users] Re: Is trusting the agents a bad thing?

2015-02-13 Thread jcbollinger
On Thursday, February 12, 2015 at 4:10:12 PM UTC-6, UK_beginner wrote: > > I'm new to puppet and have been exploring different ways of configuring > manifests, ranging from huge single manifests, through per-node and am > currently looking at the role/profile patterns. > > One thing I've been l