[Puppet Users] Puppet own function

2012-10-18 Thread Brent Clark
Good day. Im trying to make my own function. I keep getting this message. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Function 'brent_k' does not return a value at /etc/puppet/modules/munin/manifests/init.pp:17 on node XYZ.com Here is my simple code

[Puppet Users] Different return codes on exec during puppet agent run vs command line Windows

2012-10-18 Thread Beeny
Trying to run this exec in one of our manifests. When the resource is run during a puppet run, it returns a error code 87. But when I execute the same command on command prompt, it returns 3010. Is there any way to dig and and find out why the return codes are different. FYI, I am using the

[Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-18 Thread Fabrice Bacchella
My puppet setup break just a few hours with this message. I didn't upgrade anything, didn't really changed my module and it just broke. The node what where working suddenly stop working. I'm using the official Puppet 3.0 on Scientific Linux (aka Redhat) 6.3 Can some one explain me this magic ?

[Puppet Users] Re: Different return codes on exec during puppet agent run vs command line Windows

2012-10-18 Thread jcbollinger
On Wednesday, October 17, 2012 9:59:54 PM UTC-5, Beeny wrote: Trying to run this exec in one of our manifests. When the resource is run during a puppet run, it returns a error code 87. But when I execute the same command on command prompt, it returns 3010. Is there any way to dig and and

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-18 Thread Jeff McCune
Could you check the server logs and run the master with --verbose --debug --trace? The information I'm looking for is a backtrace to the file and ljne number that raised that exception. Thanks, -Jeff On Oct 18, 2012, at 5:26 AM, Fabrice Bacchella fbacche...@spamcop.net wrote: My puppet setup

Re: [Puppet Users] Using collections

2012-10-18 Thread Ryan Coleman
On Wed, Oct 17, 2012 at 11:47 AM, Maarten Thibaut mthib...@cisco.comwrote: http://forge.puppetlabs.com/mthibaut/mutual_trust Awesome! Thank you for sharing your work on the Forge! -- Ryan Coleman | @ryanycoleman Modules Forge | Puppet Labs -- You received this message because you are

Re: [Puppet Users] Different return codes on exec during puppet agent run vs command line Windows

2012-10-18 Thread Josh Cooper
Hi Ben, On Wed, Oct 17, 2012 at 7:59 PM, Beeny beenybe...@gmail.com wrote: Trying to run this exec in one of our manifests. When the resource is run during a puppet run, it returns a error code 87. But when I execute the same command on command prompt, it returns 3010. Is there any way to dig

[Puppet Users] Re: PuppetDB Connection Failures

2012-10-18 Thread Chris Price
Hello Bee, This message is often the result of one of the following: 1) Firewall blocking the puppetdb port 2) DNS issue with the hostname specified in your puppetdb.conf 3) DNS issue with the ssl-host specified in your jetty.ini on the puppetdb server Are you able to connect (e.g. via telnet)

[Puppet Users] Re: Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''

2012-10-18 Thread Eric Sorenson
Hi andrew, that error is one that comes from the puppet master process itself when you connect to it with a regular HTTP client. So it looks like your apache virtualhost setup is pointing connections to that port/host at the puppetmaster config.ru, not dashboard. Does that help track down the

Re: [Puppet Users] Re: PuppetDB Connection Failures

2012-10-18 Thread Jacqueline Atkins
Thanks so much! I actually got to the bottom of the issue late last night. It was an issue with how I had configured postgres. Thanks everyone! On Thu, Oct 18, 2012 at 12:33 PM, Chris Price ch...@puppetlabs.com wrote: Hello Bee, This message is often the result of one of the following:

[Puppet Users] Foreman failing for db::migrate for puppet 3.0 with the following error :rake aborted! uninitialized constant HostObserver

2012-10-18 Thread Nishant Jain
Hello Everybody, I am trying to configure foreman for puppet 3.0. on centos 6.3 I have followed the instructions provided over here to install foreman:-

[Puppet Users] Re: Foreman failing for db::migrate for puppet 3.0 with the following error :rake aborted! uninitialized constant HostObserver

2012-10-18 Thread Nishant Jain
I am using the following version of Ruby :ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] On Thursday, October 18, 2012 2:20:24 PM UTC-4, Nishant Jain wrote: Hello Everybody, I am trying to configure foreman for puppet 3.0. on centos 6.3

Re: [Puppet Users] dynamic data in hiera

2012-10-18 Thread Peter De Cleyn
For further reference: I found the problem with the CPU burning. It seems hiera lookups can end up in an endless loop when specifying meaningful regex characters (like $,+,?) in your lookup variables. So specifying key:%{$var} will cause an endless loop. I created a ticket

[Puppet Users] Announce: Puppet 3.0.1 Available

2012-10-18 Thread Moses Mendoza
Puppet 3.0.1 is a bugfix release for the 3.x series of Puppet. To see a list of the issues addressed by this release, check out the 3.0.1 version in our issue tracter at: https://projects.puppetlabs.com/versions/328. This release contains contributions from the following people: Andrew Parker,

[Puppet Users] Using Puppet to push Windows Updates?

2012-10-18 Thread David Groce
Hi, I'm very new to puppet but am looking to implement it in our environment. One thing I'm struggling with is that I would like Puppet to be the only tool that makes changes to our servers, but as we run Windows for most of our systems, we need to run the continuous onslaught of Windows updates

[Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Forrie
I'm running into a similar problem; however, even the changes to config.ru don't seem to make a difference. First, here are the GEMs I have installed: daemon_controller (1.0.0) facter (1.6.13) fastthread (1.0.7) ffi (1.1.5) hiera (1.1.0, 1.0.0) json (1.7.5) libvirt-ruby (1.0.2) passenger

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Jeff McCune
On Thu, Oct 18, 2012 at 2:37 PM, Forrie for...@gmail.com wrote: Here is my config.ru (hash comments removed for brevity): $0 = master ARGV --rack ARGV --confdir /etc/puppet require 'puppet/util/command_line' run Puppet::Util::CommandLine.new.execute I overlooked a setting for 3.0.0

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Ellison Marks
Is it the case that the application doesn't technically exist until an agent tries to hit the port? On Thursday, October 18, 2012 2:52:16 PM UTC-7, Forrie wrote: I added that and restarted httpd (stop, then start) and still no luck. Here is what passenger-status says: --- General

Re: [Puppet Users] Using Puppet to push Windows Updates?

2012-10-18 Thread Josh Cooper
Hi David, On Thu, Oct 18, 2012 at 1:02 PM, David Groce dgr...@tableausoftware.com wrote: Hi, I'm very new to puppet but am looking to implement it in our environment. One thing I'm struggling with is that I would like Puppet to be the only tool that makes changes to our servers, but as we

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Forrie
Interesting question - I tested this out and it does indeed seem to be the case. Unexpected behavior, however. On Thursday, October 18, 2012 6:02:22 PM UTC-4, Ellison Marks wrote: Is it the case that the application doesn't technically exist until an agent tries to hit the port? --

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Ramin K
On 10/18/2012 3:36 PM, Forrie wrote: Interesting question - I tested this out and it does indeed seem to be the case. Unexpected behavior, however. Standard behavior under Passenger. If you want Puppet to start immediately when the webserver starts do the following. 1. Make sure you're

[Puppet Users] Re: Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2012-10-18 Thread Forrie
I've just built a staging system, to work out the issues I've been having with Puppet 3.x. We now have 3.0.1 installed there. I am again running into this fileserver issue and the same errors. I read through some complaints here and I see mention that auth.conf is only able to use allow_ip.

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Forrie
Thanks for that pointer... I put that in my config. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/oHhOu4PZsb0J. To post to this group, send email to

[Puppet Users] How catch a notify inside a define

2012-10-18 Thread Caio Cezar Zapater de Souza
Hi, I have created a define with packages services and a mount inside, but when I notify the define all of them receive the notify but I want only refresh the mount. It is possible? Here is my define: define xmount ( $device= undef, $device_base = undef, $device_qa

Re: [Puppet Users] dynamic data in hiera

2012-10-18 Thread Nick Fagerlund
On Thursday, October 18, 2012 11:39:05 AM UTC-7, pdcleyn wrote: ... endless loop when specifying meaningful regex characters (like $,+,?) in your lookup variables. Oh! That's probably exactly what happened when I was experimenting w/ interpolating members of hash and array vars received

[Puppet Users] Setting directory permission on when copying directory contents using recurse = remote...

2012-10-18 Thread Robert Nickel
I am trying to copy out the contents of home directories via puppet while controlling the home directory permissions at the same time and I am stuck. I don't see a good way to copy contents of a directory using the remote directive while still managing the directory permissions directly. e.g.

[Puppet Users] pocco - a puppet manifest documentation experiment

2012-10-18 Thread Nan Liu
Hi! The existing puppet manifests documentation generated via rdoc isn't very dry. I quite like docco generated documentation so I borrowed from rocco to create a puppet manifests documentation tool called pocco. Here's a module that will install the tool: https://github.com/nanliu/puppet-pocco