[Puppet Users] Using exported resources as data containers?

2014-09-09 Thread mpounsett
I have a difficult-to-manage application which does not implement a conf.d or include syntax in its configuration, but requires a bunch of config snippets that contain information only on groups of other servers. I've been dealing with this by generating the config snippets from templates on

[Puppet Users] 2->3 unlisted incompatible change to array slices?

2014-06-25 Thread mpounsett
While migrating our local modules from puppet 2 to puppet 3 I think I've found a backwards-incompatible change that's not listed in the release notes. I'd like to verify that what I'm seeing is expected, and make sure I'm not missing any other side-effects of the change. In puppet 2 templates

Re: [Puppet Users] Re: Node collecting its own exported resource

2013-06-27 Thread mpounsett
On Thursday, June 27, 2013 11:40:41 AM UTC-4, Nan Liu wrote: > > > Might be the usage of dash in the tag. Puppet had a series of bugs related > to dash. I would look at the generated catalog and see what are the tags > associated with the resource. For example: > The problem is the resource is

Re: [Puppet Users] Re: Node collecting its own exported resource

2013-06-27 Thread mpounsett
On Thursday, June 27, 2013 7:26:34 AM UTC-4, Ken Barber wrote: > > Perhaps if you can provide a code snippet like the simplified case > above we can take a look at what is going wrong. Also - what version > of Puppet are you running? > > facter puppetversion 2.7.21 (Puppet Enterprise 2.8.2)

[Puppet Users] Re: Node collecting its own exported resource

2013-06-26 Thread mpounsett
On Monday, September 17, 2012 10:32:07 AM UTC-4, jcbollinger wrote: > > > > On Friday, September 14, 2012 11:51:34 AM UTC-5, Jon McKenzie wrote: >> >> It seems that nodes are not able to collect their own resource, but they >> can collect every other resource, with a given tag. I've validated th

[Puppet Users] hiera and tags, resource collectors and lists

2013-06-19 Thread mpounsett
Forgive me for combining questions, but I'm looking at two options for solving a problem and I'm not sure which one is best, or the exact syntax for either one. First, I'm wondering if it's possible to set tags for resources create with hiera and create_resources. The first stab I took at synt

[Puppet Users] less drastic alternative to fail()?

2013-06-11 Thread mpounsett
I have a few cases of error checking to make sure parameters supplied to my classes and defined types where the no-success option is to run the fail() function with a meaningful error. This seems to cause the entire agent run to fail as if the manifest couldn't be generated. Does anyone know o