[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 have this problem too. Do defaults work for anyone? On Apr 2, 7:03 am, Pablo Fernandez pablo.fernan...@cscs.ch 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

[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 jason.robert.ko...@gmail.com wrote: I have this problem too.  Do defaults work for anyone? On Apr 2, 7:03 am, Pablo Fernandez pablo.fernan...@cscs.ch wrote: Hi, There is probably

[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 stefan.schu...@taunusstein.net wrote: Can you provide your resource definition where you use the logical_volume type? -Stefan On Sat, Feb 11, 2012 at 09:31:36AM -0600, Jason Koppe

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://pastie.org/private

[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 gser...@gmail.com 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

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

2011-12-06 Thread Jason Koppe
, Jason Koppe jason.robert.ko...@gmail.com wrote: restarting the puppet master didn't help me. On Nov 15, 12:10 am, Gonzalo Servat gser...@gmail.com wrote: ... and I just found this (http://docs.puppetlabs.com/guides/troubleshooting.html): err: Could not retrieve catalog: Invalid

[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

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

2011-10-24 Thread Jason Koppe
:04 pm, Jason Koppe jason.robert.ko...@gmail.com 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.rb.  I've tested 2.6.7 agent and 2.7.5 agent against the 2.6.7

[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 r...@devco.net wrote: - Original Message - I'm trying to upgrade from 2.6.7 to to

[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 eokole...@gmail.com wrote: perhaps you should enclose the variables in quotes to something like this:

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 jason.robert.ko...@gmail.comwrote: 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 t...@pobox.com wrote: Jean-Baptiste Quenot

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 dudei...@gmail.com wrote: - Original Message - From: Jason Koppe jason.robert.ko...@gmail.com To: puppet-users@googlegroups.com Sent: Friday, September 3, 2010 7:12:34 AM Subject: Re: [Puppet Users] Puppet 2.6.1rc2 does

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

2010-09-02 Thread Jason Koppe
...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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] Puppet 2.6.1rc2 does not honor agent's --tags option

2010-09-01 Thread Jason Koppe
~~ 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...@gmail.com Cell (210) 445-8242 -- You received this message because you are subscribed to the Google

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

2010-08-19 Thread Jason Koppe
to puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Jason Koppe jason.robert.ko...@gmail.com Cell (210) 445-8242 -- You received this message because you

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 peter.me...@immerda.ch 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: 4 $id, 5

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

2010-08-10 Thread Jason Koppe
? 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 jason.robert.ko...@gmail.com wrote: Thanks

[Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread Jason Koppe
| ++-+---+--+-+-+-+-++-+ 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 Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com

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 ja...@puppetlabs.com 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 http

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

2010-08-06 Thread Jason Koppe
...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Jason Koppe jason.robert.ko...@gmail.com Cell (210) 445-8242 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send

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

2010-08-06 Thread Jason Koppe
'; 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 jason.robert.ko...@gmail.comwrote: I'm having similar problems, should it be: class inittab { define conf ( $id

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

2010-08-06 Thread Jason Koppe
set $id/action $action, 17 set $id/process $process, 18 ], 19 } 20 } 21 22 } On Fri, Aug 6, 2010 at 6:21 PM, Jason Koppe jason.robert.ko...@gmail.comwrote: If you just mean this: 1

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-22 Thread Jason Koppe
server. On Thu, Jun 10, 2010 at 1:39 PM, Jason Koppe jason.robert.ko...@gmail.com 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 there aren't responses here. On Thu, Jun 10, 2010 at 9

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

2010-06-18 Thread Jason Koppe
email to puppet-users+unsubscr...@googlegroups.compuppet-users%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Jason Koppe jason.robert.ko...@gmail.com Cell (210) 445-8242 -- You received this message because you

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-10 Thread Jason Koppe
puppetqd uses sqlite for caching? On Wed, Jun 9, 2010 at 4:11 PM, Jason Koppe jason.robert.ko...@gmail.comwrote: 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 puppetqd's memory and let

Re: [Puppet Users] Storeconfigs connection pool problem

2010-06-09 Thread Jason Koppe
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 dan.car...@gmail.com wrote: On 9 June 2010 06:09, Jason Koppe

Re: [Puppet Users] Storeconfigs connection pool problem

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