[Puppet Users] Re: hiera_array() default value not taken

2012-10-30 Thread Jason Koppe
we end up doing this a lot: $var = hiera_hash('key','SOMESTRING') if is_hash($var) { } not the most elegant On Friday, April 6, 2012 11:52:58 AM UTC-5, psychobyte wrote: > > I don't think hiera likes defaults as array/hashes explicitly > > I usually do a > > $empty_hsh = {} > $empty_arr =

[Puppet Users] Re: hiera_array() default value not taken

2012-04-06 Thread Jason Koppe
I'm using the YAML backend. Not sure if that's going to matter. On Apr 6, 11:07 am, Jason Koppe wrote: > I have this problem too.  Do defaults work for anyone? > > On Apr 2, 7:03 am, Pablo Fernandez wrote: > > > > > > > > > Hi, > > > Ther

[Puppet Users] Re: hiera_array() default value not taken

2012-04-06 Thread Jason Koppe
I have this problem too. Do defaults work for anyone? On Apr 2, 7:03 am, Pablo Fernandez wrote: > Hi, > > There is probably something stupid I am missing, but I just can't see > it. I do: > > $iptables_open_ports_public = hiera_array ('iptables_open_ports_public', []) > > And I have not defined

[Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2012-02-12 Thread Jason Koppe
Added to the pastie: http://pastie.org/private/em9dve6walcxyfjyssvya On Feb 11, 10:21 am, Stefan Schulte wrote: > Can you provide your resource definition where you use the > logical_volume type? > > -Stefan > > > > > > > > On Sat, Feb 11, 2012 at 09:31:36A

Re: [Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2012-02-11 Thread Jason Koppe
I do have /var/lib/puppet/lib/puppet/type/logical_volume.rb on my puppet master and I still get the same error. On Wed, Dec 7, 2011 at 6:01 AM, Stefan Schulte < stefan.schu...@taunusstein.net> wrote: > On Tue, Dec 06, 2011 at 10:34:47AM -0800, Jason Koppe wrote: > > http://pas

[Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2011-12-06 Thread Jason Koppe
22 pm, Jason Koppe wrote: > restarting the puppet master didn't help me. > > On Nov 15, 12:10 am, Gonzalo Servat wrote: > > > > > > > > > ... and I just found this > > (http://docs.puppetlabs.com/guides/troubleshooting.html): > > err: Could n

[Puppet Users] Re: Adding a parameter to a custom Puppet type/provider

2011-12-06 Thread Jason Koppe
restarting the puppet master didn't help me. On Nov 15, 12:10 am, Gonzalo Servat wrote: > ... and I just found this > (http://docs.puppetlabs.com/guides/troubleshooting.html): > err: Could not retrieve catalog: Invalid parameter ‘foo’ for type ‘bar’ > > When you are developing new custom types,

[Puppet Users] Re: extlookup not working correctly in 2.7.6

2011-10-24 Thread Jason Koppe
looks like that's it. i'll use the workaround nigel recommended in that issue (same as my diff above) until that issue is resolved. thanks for the quick response, R.I.! On Oct 24, 6:10 pm, "R.I.Pienaar" wrote: > - Original Message - > > I'm trying to upgrade from 2.6.7 to to 2.7.6 and I

[Puppet Users] Re: extlookup not working correctly in 2.7.6

2011-10-24 Thread Jason Koppe
lookupvar($1) } } datafiles = Array.new On Oct 24, 6:04 pm, Jason Koppe wrote: > I'm trying to upgrade from 2.6.7 to to 2.7.6 and I'm running into an > issue in my extlookup() calls.  A lot of the variables which should be > defined aren't defined within extlookup

[Puppet Users] extlookup not working correctly in 2.7.6

2011-10-24 Thread Jason Koppe
I'm trying to upgrade from 2.6.7 to to 2.7.6 and I'm running into an issue in my extlookup() calls. A lot of the variables which should be defined aren't defined within extlookup.rb. I've tested 2.6.7 agent and 2.7.5 agent against the 2.6.7 master and 2.7.6 master. I adjusted extlookup.rb slight

[Puppet Users] Re: Puppet 2.7 allows dash in variable names: bug or feature?

2011-10-21 Thread Jason Koppe
We have interpolations like "$name-tomcat" all over our manifests. It's possible to adjust them all to "${name}-tomcat" but it's not going to be fun :) On Oct 6, 1:19 am, Evgeny wrote: > perhaps you should enclose the variables in quotes to something like > this: > > "http://${yumserver}/repos/vm

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-03 Thread Jason Koppe
Thanks! On Fri, Sep 3, 2010 at 9:50 AM, Ryan Y. Coleman wrote: > > > - Original Message - > > From: "Jason Koppe" > > To: puppet-users@googlegroups.com > > Sent: Friday, September 3, 2010 7:12:34 AM > > Subject: Re: [Puppet Users] Puppet 2.6.

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-03 Thread Jason Koppe
Are automatic tags working for others in 2.6? On Wed, Sep 1, 2010 at 6:54 AM, Jason Koppe wrote: > Automatic tags don't work for me but explicit tags do since moving to 2.6. > > > On Mon, Aug 30, 2010 at 1:47 PM, Todd Zullinger wrote: > >> Jean-Baptiste Quenot wrote: &

Re: [Puppet Users] help adding line to /etc/inittab

2010-09-02 Thread Jason Koppe
t;wait"] > debug: Augeas[inittab](provider=augeas): sending command 'set' with params > ["/files/etc/inittab/~/process", "/sbin/sulogin"] > debug: Augeas[inittab](provider=augeas): Closed the augeas connection > err: //ia/Augeas[inittab]/returns: change

Re: [Puppet Users] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-01 Thread Jason Koppe
obox.com/~tmz/pgp<http://www.pobox.com/%7Etmz/pgp> > ~~ > Years ago fairy tales all began with "Once upon a time...", now we > know they all begin with, "If I am elected..." >-- Carolyn Warner > > -- Jason Koppe jason.robert.ko.

Re: [Puppet Users] Re: custom functions from a module in a different environment

2010-08-19 Thread Jason Koppe
com. > > > To unsubscribe from this group, send email to > > > puppet-users+unsubscr...@googlegroups.com > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/puppet-users?hl=en. > > -- > You received this messag

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-10 Thread Jason Koppe
t? > > http://docs.puppetlabs.com/guides/language_tutorial.html#definitions > > We had a chat about that on the list a while ago and realized that was > horribly out of date, I'll try to get a patch in to fix it. > > > > On Tue, Aug 10, 2010 at 12:31 AM, Jason Koppe &

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-10 Thread Jason Koppe
Thanks, that works as expected. On Sun, Aug 8, 2010 at 4:58 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/07/2010 01:31 AM, Jason Koppe wrote: > > I ended up getting this syntax to work: > > just minor note: > > > &

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
rce => "true", 13 require => $require, 14 changes => [ 15 "set $id/runlevels $runlevels", 16 "set $id/action $action", 17 &q

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
require => $require, 14 changes => [ 15 "set $id/runlevels $runlevels", 16 "set $id/action $action", 17 "set $id/

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
ver: Error 400 on SERVER: Could not parse for environment jkoppe: Syntax error at 'augeas'; expected '}' at /home/jkoppe/svn/production/puppet/modules/inittab/manifests/init.pp:11 on node indtst5 On Fri, Aug 6, 2010 at 6:13 PM, Jason Koppe wrote: > I&#x

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
ropagate to the "file" resource insuide the definition > > automatically. > > > > --apb (Alan Barrett) > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to

Re: [Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread Jason Koppe
http://projects.puppetlabs.com/issues/4487 On Fri, Aug 6, 2010 at 3:44 AM, James Turnbull wrote: > Jason Koppe wrote: > > I installed puppet 2.6 on my master and increased dbconnections in hopes > > that it would get me past some 0.25.5 hurdles (one described in > > >

[Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread Jason Koppe
| 2010-08-06 03:32:50 | NULL | 2010-06-08 19:47:22 | ++-+---+--+-+-+-+-+----+-----+ 1 row in set (0.00 sec) -- Jason Koppe jason.robert.ko...@gmail.com Cell (210) 445-8242 -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-22 Thread Jason Koppe
s data to a central mysql server. > > > > On Thu, Jun 10, 2010 at 1:39 PM, Jason Koppe > wrote: > >> I'm not sure, I can't seem to find README.queuing or much documentation >> about how it's supposed to work. I'll checkout the code this weekend if >

Re: [Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-06-18 Thread Jason Koppe
to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Jason Koppe jason.

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-10 Thread Jason Koppe
, seems puppetqd uses sqlite for caching? > > > On Wed, Jun 9, 2010 at 4:11 PM, Jason Koppe > wrote: > >> Queuing support from ActiveMQ doesn't even make a difference for me -- I >> thought the purpose of adding the queuing support was to queue the data in >>

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-09 Thread Jason Koppe
d). err: could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it. Am I misunderstanding how puppetmasterd+puppetqd is supposed to function? On Wed, Jun 9, 2010 at 3:51 AM, Dan Carley wrote: > On 9 June 2010 06:09, Jason Koppe wrote:

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-08 Thread Jason Koppe
KN7/ > yYUAn1/KdvVfD8DURsk+lzc+/VAxb1fG > =lPum > -END PGP SIGNATURE- > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To u