[Puppet Users] Two questions about custom facts

2015-02-17 Thread Peter Berghold
First: I notice in the documentation you can have facts in ${module_path}/lib and in ${module_path}/facts.d. What is the difference between the two? Second: A module that I am writing as I type this is going to have some custom facts to keep a system auditor I work with happy. It detects the

Re: [Puppet Users] Re: Two questions about custom facts

2015-02-17 Thread Peter Berghold
On Tue, Feb 17, 2015 at 11:31 AM, Raphink raph...@gmail.com wrote: Facts are computed before each Puppet run. If Puppet installs a package and your fact returns the version of that package, then the fact value will be available after the second Puppet run. OK that's what I suspected. So

[Puppet Users] use of CNAMES and Puppet/Foreman

2015-02-12 Thread Peter Berghold
Hi folks, When I put my Foreman/Puppet architecture into production the requirement I am working against is to allow the use of service names instead of the fqdn of the host to access Puppet and Foreman. In my testing in my lab I have generated a cert against (I'm sanitizing here) the service

Re: [Puppet Users] Re: Virtual Resource Visibility

2015-02-12 Thread Peter Berghold
On Tue, Feb 10, 2015 at 9:21 AM, jcbollinger john.bollin...@stjude.org 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 true. My thinking was using that type of declaration made the fact the file

[Puppet Users] Virtual Resource Visibility

2015-02-09 Thread Peter Berghold
OK.. so I'm having a major brain fart here... I have a class thusly: class scripts::myscript { @file{'my neat script': path=/path/to/the/script, source=puppet:///modules/scripts/myscript.pl } realize File['my neat

[Puppet Users] Facts as arrays?

2014-08-25 Thread Peter Berghold
Hi, I'm studying the custom facts examples and I noticed that facts tend to be scalars. (Perl speak) Are they ever arrays? For instance I want to write a custom fact that parses the /etc/fstab and returns the mounted file systems as a fact to allow amanda to be automagically configured to back

Re: [Puppet Users] Facts as arrays?

2014-08-25 Thread Peter Berghold
Wood christopher_w...@pobox.com wrote: On Mon, Aug 25, 2014 at 12:01:03PM -0400, Peter Berghold wrote: Hi, I'm studying the custom facts examples and I noticed that facts tend to be scalars. (Perl speak) Are they ever arrays? For instance I want to write a custom fact

Re: [Puppet Users] GPS data facter

2014-07-16 Thread Peter Berghold
Sounds like a job for a custom fact to me. On Wed, Jul 16, 2014 at 11:11 AM, Ciro Iriarte ciro.iria...@gmail.com wrote: Hi!, anybody used GPS data or custom information to populate SNMP Syslocation attribute for example?. Regards, CI.- -- You received this message because you are

[Puppet Users] puppetlabs-apache prefork vs. worker

2014-07-10 Thread Peter Berghold
Have a bit of frustration here: I have a class I've written to install a vhost based Wordpress site on a server. There will be serveral there. Since mod_php is needed I also need to install mod_prefork. I invoke the apache class thusly: class {'apache':

Re: [Puppet Users] Re: Upgraded a legacy system's agent -- getting funky errors

2014-06-23 Thread Peter Berghold
On Mon, Jun 23, 2014 at 9:24 AM, jcbollinger john.bollin...@stjude.org wrote: On Friday, June 20, 2014 9:44:59 AM UTC-5, Salty Old Cowdawg wrote: You'll have to judge for yourself whether the work (probably not too much) is worth it for this system. Considering my timeframe for

[Puppet Users] Upgraded a legacy system's agent -- getting funky errors

2014-06-20 Thread Peter Berghold
Just after upgrading one of my legacy systems with a new puppet agent I noticed the agent wasn't running any more. Running the agent in test mode I see: Error: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `exists?' for

[Puppet Users] installing puppetdb on Debian 6 [wheezy]

2014-05-20 Thread Peter Berghold
Hi folks, Attempting to install puppetdb on Debian 6 and have run into a bit of a roadblock. It's complaining that java7 is not on the system and yet: :/usr/lib/jvm# java -version java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build

Re: [Puppet Users] installing puppetdb on Debian 6 [wheezy]

2014-05-20 Thread Peter Berghold
, Christopher Wood christopher_w...@pobox.com wrote: What's the error message? On Tue, May 20, 2014 at 03:22:24PM -0400, Peter Berghold wrote: Hi folks, Attempting to install puppetdb on Debian 6 and have run into a bit of a roadblock. It's complaining that java7

[Puppet Users] Scaling of Puppet masters

2014-05-19 Thread Peter Berghold
Folks, I am in the midst of creating a deployment guide for a client that I am working with for the use of Puppet in their environment. The company is big enough that even though the company as a whole uses Puppet already (it's even on the Puppet web site) the local teams I am working with have

[Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Peter Berghold
What does Could not prefetch package provider 'apt': invalid byte sequence in US-ASCII mean exactly? This started showing up in the logs of some of my servers... -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this message because

Re: [Puppet Users] Odd (fatal) error noted in logs

2013-10-01 Thread Peter Berghold
[mailto:puppet- us...@googlegroups.com] On Behalf Of Peter Berghold What does Could not prefetch package provider 'apt': invalid byte sequence in US-ASCII mean exactly? This started showing up in the logs of some of my servers... If a file is being interpreted as US-ASCII

[Puppet Users] deleting a node causes dashboard to off into the weeds

2013-07-30 Thread Peter Berghold
Just noticed a problem. When I try to remove a node from dashboard the browser never gets data back and all the agent nodes start complaining: Warning: Unable to fetch my node definition, but the agent run will continue: 1. what's the cause of this? 2. is there a workaround? -- Peter

[Puppet Users] Matthias Saou -- about thias/nagios

2013-07-28 Thread Peter Berghold
Can you contact me privately? Thanks. -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from

[Puppet Users] execution expired

2013-07-23 Thread Peter Berghold
Just added a bunch of forge modules to my mix. If I run from my puppet master things go OK. Running from another server this is what things look like: # time puppet agent --test --debug Debug: Failed to load library 'selinux' for feature 'selinux' Debug: Using settings: adding file resource

Re: [Puppet Users] execution expired

2013-07-23 Thread Peter Berghold
On Tue, Jul 23, 2013 at 4:58 PM, Steven Nemetz snem...@hotmail.com wrote: configtimeout = 900 The number is in seconds. Set it to whatever you're comfortable with Thank you! That fixed it. Now I can go on to fix all the mistakes in the module I got from the forge. -- Peter L.

[Puppet Users] wyrie/puppet-nagiosql -- anyone have experience with this module?

2013-07-21 Thread Peter Berghold
I made two decisions this afternoon that are now related to each other. 1. Use more of the modules that exist in the Forge 2. Rebuild my monitoring server As I perused the various modules that help with managing monitoring packages my eyes fell upon a module that reported to be able to

Re: [Puppet Users] dashboard groups

2013-07-12 Thread Peter Berghold
On Fri, Jul 12, 2013 at 2:22 AM, David Schmitt da...@dasz.at wrote: Usually that is handled by adding a class or variable to the group and checking on that. I actually tried that and ran into an issue. Here's the setup: global --- all hosts belong to this | +

[Puppet Users] dashboard groups

2013-07-10 Thread Peter Berghold
Is there a global variable (or variables) that get set when a group gets defined in dashboard? What I'm trying to do is in a template have a conditional such that if a host is in one group do this and if not in that group do that. -- Peter L. Berghold

Re: [Puppet Users] Wierd error... puppet agent that *used* to work but now doesn't

2013-07-09 Thread Peter Berghold
On Tue, Jul 9, 2013 at 2:21 AM, Josh Cooper j...@puppetlabs.com wrote: You have multiple versions of facter installed. This typically happens when facter gets installed both as a gem and via your package manager. Josh, Thanks for the reply. I suspected as much and went through the

[Puppet Users] Wierd error... puppet agent that *used* to work but now doesn't

2013-07-06 Thread Peter Berghold
What does this error mean? Could not retrieve macaddress: undefined method `exec_ifconfig' for Facter::Util::IP:Module I've done a complete uninstallation puppet and facter a few times and reinstalled them to no avail. Any thoughts would be appreciated. Could not retrieve macaddress:

[Puppet Users] Seeing an error that is totally confusing the heck out of me

2012-10-09 Thread Peter Berghold
Got the following: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload package: Could not autoload /usr/local/lib/site_ruby/1.8/puppet/provider/package/windows.rb: no such file to load -- windows/error at /etc/puppet/modules/php/manifests/init.pp:28 on node

[Puppet Users] Wierd errors RESOLVED

2012-10-09 Thread Peter Berghold
Found the issue with respect to the error I posted earlier. Seems I had to backdate facter as well as puppet to make the issue disappear. -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this message because you are subscribed to

Re: [Puppet Users] Seeing an error that is totally confusing the heck out of me

2012-10-09 Thread Peter Berghold
On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke stah...@puppetlabs.comwrote: The contents of that php/manifests/init.pp file might be helpful here. It actually turned out to be totally unrelated to the PHP module. When I backdated to 2.7.11 I needed to do two things as it turns out. 1.

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 12:35 PM, Josh Cooper j...@puppetlabs.com wrote: More details here: http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#puppet-master-web-server-changes Got past stage and thank you for that. Now I'm seeing: # puppet agent --test err: Could not retrieve

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 2:01 PM, Throwe, Jesse je...@throwe.com wrote: That your missing activerecord (or at least the right version of it). Try `gem list` to see if activerecord is present. That's what bugs me. Here is active record: activerecord (3.2.8, 2.3.5) Does the fact that I have two

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
OK... now I'm a bit frightened. I don't know what I did to make the problem go away (I didn't edit anything..) but the problem is now fixed... Computers are so naughty -- Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net -- You received this

Re: [Puppet Users] Puppet 3.0 and dashboard (again)

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 3:11 PM, Josh Cooper j...@puppetlabs.com wrote: Are you using storedconfigs: http://projects.puppetlabs.com/issues/16698 Yep... out of necessity. Am I reading into this right? Enable stored configs and you break ENC? -- Peter L. Berghold

Re: [Puppet Users] puppet 3.0 and passenger

2012-10-08 Thread Peter Berghold
On Mon, Oct 8, 2012 at 3:08 PM, Josh Cooper j...@puppetlabs.com wrote: http://projects.puppetlabs.com/issues/16770 Maybe I need to backdate to something before 3.0? Seems stored configs is interfering with dashboard as an ENC... -- Peter L. Berghold

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Peter Berghold
%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16 On Wed, Jul 11, 2012 at 10:46 AM, Matthias Saou matth...@saou.eu wrote: On Wed, 11 Jul 2012 10:39:44 -0400 Peter Berghold salty.cowd...@gmail.com wrote: Yet another reason for me to rebuild that machine with Debian

Re: [Puppet Users] puppet-lint crashes and burns

2012-07-11 Thread Peter Berghold
%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16 On Wed, Jul 11, 2012 at 11:03 AM, Matthias Saou matth...@saou.eu wrote: On Wed, 11 Jul 2012 10:55:07 -0400 Peter Berghold salty.cowd...@gmail.com wrote: [peter@chits1 manifests]$ ruby -v

Re: [Puppet Users] puppetmasterd continuously consuming high CPU, with many interrupts

2012-07-02 Thread Peter Berghold
On Mon, Jul 2, 2012 at 3:01 PM, Ashley Penney apen...@gmail.com wrote: It might be totally unrelated but check for ksoftirqd and see if it's running with high CPU. The leap second the other day caused all my puppetmasters to spike up to 100% CPU and other people had similar problems. Glad

Re: [Puppet Users] OT: Monitoring solutions

2012-06-27 Thread Peter Berghold
I've considered changing up my monitoring solution but I've stayed with Nagios and Munin for a while. Nagios gives me monitoring and Munin gives me metrics. Since I have quite a bit invested in home grown plugins for Nagios I lack incentive to change at this point. Peter L. Berghold

Re: [Puppet Users] system users class hogging whole cpu

2012-06-11 Thread Peter Berghold
On Mon, Jun 11, 2012 at 11:46 AM, Azfar Hashmi azfarhas...@gmail.comwrote: Any idea why it always hanging at this class? Without some code to look at it would be hard for anybody to take a guess... Peter L. Berghold salty.cowd...@gmail.com http://blog.berghold.net “If A

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-13 Thread Peter Berghold
what's in your resolv.conf? On Fri, Apr 13, 2012 at 6:59 AM, Kaya Saman kayasa...@gmail.com wrote: On Wed, Apr 11, 2012 at 1:20 PM, Peter Berghold salty.cowd...@gmail.com wrote: Kaya, Did you clean out: /var/lib/puppet /etc/puppet/ssl before you re-ran? The error you

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-11 Thread Peter Berghold
® wireless device From: Peter Berghold salty.cowd...@gmail.com Sender: puppet-users@googlegroups.com Date: Tue, 10 Apr 2012 13:40:29 -0400 To: puppet-users@googlegroups.com ReplyTo: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Puppet not creating

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
Kaya, The manifest file(s) are something you create to tell puppet what you want done. Starting with a file in (normally) /etc/puppet/manifests/site.pp HTH On Tue, Apr 10, 2012 at 7:18 AM, Kaya Saman kayasa...@gmail.com wrote: Hi, I am totally new to Puppet and for the last few weeks

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
On Tue, Apr 10, 2012 at 9:17 AM, Kaya Saman kayasa...@gmail.com wrote: T [root@ps ~]# /opt/puppet/bin/puppet agent --test info: Retrieving plugin err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using 'eval_generate: getaddrinfo: Name or service not known err:

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
On Tue, Apr 10, 2012 at 10:19 AM, Kaya Saman kayasa...@gmail.com wrote: err: Could not send report: hostname was not match with the server certificate on the client run the command facter fqdn what does the host think its name is? -- Peter L. Berghold Owner, Shark River Technical

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
-a Linux pc.jabber.com 3.3.0-4.fc16.x86_64 #1 SMP Tue Mar 20 18:05:40 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux [root@pc ~]# hostname -a pc [root@pc ~]# facter fqdn pc.jabber.com Regards, Kaya On Tue, Apr 10, 2012 at 4:01 PM, Peter Berghold salty.cowd...@gmail.com wrote

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
--waitforcert=1 [root@pc puppet]# Is this correct? On Tue, Apr 10, 2012 at 4:15 PM, Peter Berghold salty.cowd...@gmail.com wrote: Try the following: On the puppet master host: cd /etc/puppet/ssl/ca/signed and remove the signed cert you generated before. On the client host

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
, Kaya On Tue, Apr 10, 2012 at 4:34 PM, Peter Berghold salty.cowd...@gmail.com wrote: Eh? What platform are you running on and why /etc/puppetlabs? On Tue, Apr 10, 2012 at 11:31 AM, Kaya Saman kayasa...@gmail.com wrote: Ok quick update... turns out the signed dir

Re: [Puppet Users] Puppet not creating manifest file?

2012-04-10 Thread Peter Berghold
April 2012 10:51:00 PM IST, Peter Berghold wrote: OK This is why I took you down the path I did. Essentially what you want to have happen is the client should generate its own cert and during its first interaction with the master get it signed by the master. On Tue, Apr 10, 2012 at 12:17 PM

Re: [Puppet Users] Why latest stable Debian Squeeze package is 2.6.2-5+squeeze4 please ?

2012-04-05 Thread Peter Berghold
Latest stable means two different things between the maintainers of Debian and puppet. On Apr 5, 2012 7:19 AM, Christophe L cl.subscript...@gmail.com wrote: Hello, I have installed puppet on debian-squeeze using aptitude / apt-get but I got the version 2.6.2 of Puppet. After some research, I

Re: [Puppet Users] spaceship operator with a regex!?

2012-03-20 Thread Peter Berghold
OK... this is similar to something that I've been scratching my head over... Given something like @@file { blah: ${hostname}: } and @@file {foo: ${hostname}: ...} I'm going to have a bunch of exported resources On one system I want to instantiate all the blah: and on another foo: what

Re: [Puppet Users] Re: Mind boggling yum provider issue...

2012-03-16 Thread Peter Berghold
Figured this one out finally. Some background first: The system in question is running the ISPManager control panel is and is my shared hosting platform. I mention that because apparently during the installation of ISPManager there are repos added to the repo list by the ISPManager installer and

Re: [Puppet Users] Can i collect custom metrics using agent and show those metrics on puppet dashboard by adding some custom UI elements to dashboard

2012-03-16 Thread Peter Berghold
I should imagine that if you wrote custom facts you'd get what you're after. If my understanding is correct facts get shipped to the puppet master as part of the inventory service. Having said that puppet-dashboard will already show you what is in your inventory for each node if you have the

Re: [Puppet Users] permission denied errors on /var/lib/puppet stuff during puppetd -t

2012-03-14 Thread Peter Berghold
I saw that when the userid puppet did not exist on a system. On Wed, Mar 14, 2012 at 3:00 PM, Justin Lloyd jstn...@gmail.com wrote: I'm suddenly getting the below errors from Rack during puppetd -t (excerpted from the pink HTML output and cleaned for readability): Could not prepare for

[Puppet Users] Memory Leak in dashboard?

2012-03-12 Thread Peter Berghold
Has anybody seen symptoms of a memory leak within the dashboard (or in ruby itself?) A couple of times my puppet master server has gone off in the weeds with an error message to the console about being out of memory. The messages point the finger at apache and ruby. -- Peter L. Berghold

Re: [Puppet Users] Re: Need modules for cron

2012-03-08 Thread Peter Berghold
Munna, Here is a typical module tree: xinetd/ |-- manifests | `-- init.pp `-- templates I chose this module as my pattern for you to look at because it is a very simple module. In your case I'd be creating puppetcron/ `-- manifests with a single file init.pp with a single class: class

[Puppet Users] Mind boggling yum provider issue...

2012-03-08 Thread Peter Berghold
Check this out: ]# yum -y list available | grep nrpe nagios-plugins-nrpe.x86_642.12-16.el6 epel nrpe.x86_64 2.12-16.el6 epel so there's a package named nrpe there.. right? so why do I see this when I run the puppet agent? err:

[Puppet Users] @@file tricks..

2012-03-05 Thread Peter Berghold
Folks, I haven't tried this yet, but I certainly intend to. If I set up an exported file definition such that: @@file{'munin-node-file': content= template('blah'), path = /etc/munin.d/${hostname}.cfg } and then File 'munin-node-file' Do I understand correctly that I

Re: [Puppet Users] Dashboard, node classes, what do they do part 2

2012-03-02 Thread Peter Berghold
On Fri, Mar 2, 2012 at 12:55 AM, Romeo Theriault romeo.theria...@maine.eduwrote: In the Dashboard, when they say classes they really mean module. This begs a follow-on question: if classes == modules in Dashboard then maybe I need to take a second look here. The module that I am writing

[Puppet Users] puppet = puppet dashboard interoperability

2012-03-02 Thread Peter Berghold
Is there something on the puppet master or puppet agent that needs to be tweaked for class assignments to be picked up form dasbhboard when a puppet agent runs? wondering if I missed something... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message

[Puppet Users] puppet (ruby?) equivalent of defiend()

2012-03-02 Thread Peter Berghold
In Perl we have the functionality of if ( defined($somevar) ) { ... do something } Is there an equivalent you can use within a puppet manifest? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google

[Puppet Users] certificate issue...

2012-03-02 Thread Peter Berghold
My puppet master server has a fqdn of chidpmaster.some.domain.tld with a cname pointing to it of puppet.domain.tld. For the first time since I started playing around with puppet I'm now seeing an error when applying a template -- err: /Stage[main]/Sudo/File[sudoers]/content: change from

Re: [Puppet Users] Dashboard, node classes, what do they do part 2

2012-03-02 Thread Peter Berghold
I actually have figured this out (with some help from the list.) Seems I was encountering a PEBKAC error. :-) I hadn't set up puppet to use dashboard for external node classification. (so that's what it's useful for! hmmm...) -- Peter L. Berghold Owner, Shark River Technical Solutions LLC

[Puppet Users] Re: certificate issue...

2012-03-02 Thread Peter Berghold
On Fri, Mar 2, 2012 at 1:45 PM, Peter Berghold salty.cowd...@gmail.comwrote: My puppet master server has a fqdn of chidpmaster.some.domain.tld with a cname pointing to it of puppet.domain.tld. Figured this one out on my own. Seems in my site.pp file I have: filebucket { main: server

[Puppet Users] Dashboard, node classes, what do they do part 2

2012-03-01 Thread Peter Berghold
Hi folks, Went back and did some more reading and found the intriguing entry in the Dashboard documentation The classes the console knows about are a subset of the classes in your puppet master’s collection of modules. You must add classes to the console manually if you want to assign them to

[Puppet Users] puppet-forge.. do I remember correctly?

2012-02-20 Thread Peter Berghold
Do I remember correctly that puppet-forge is no longer accepting uploads? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- 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] puppet-forge.. do I remember correctly?

2012-02-20 Thread Peter Berghold
in question was a tar.gz file yet nothing I did seemed to fix the problem. I'll try again later and see if I have better luck.. On Mon, Feb 20, 2012 at 11:24 AM, Nigel Kersten ni...@puppetlabs.comwrote: On Mon, Feb 20, 2012 at 7:06 AM, Peter Berghold salty.cowd...@gmail.comwrote: Do I

[Puppet Users] puppet-module on Debian

2012-02-19 Thread Peter Berghold
The nice thing about standards is that there are so many to choose from. -- Andrew S Tannenbaum Debian does wonky things when you install a gem from gem install. Usually this isn't a problem unless there are executables to consider. I am running into that very thing with the puppet-module script

Re: [Puppet Users] Why are not the reports uploading?

2012-02-10 Thread Peter Berghold
On Thu, Feb 9, 2012 at 4:40 PM, Russell Van Tassell russel...@gmail.comwrote: The silly question... that's in the agent's puppet.conf, not just in the agent section of the puppet.conf on the puppet master? Yes. It is universally in all my agent puppet.conf files. Have you restarted the

[Puppet Users] Another dashboard question..

2012-02-10 Thread Peter Berghold
what does dashboard consider a class? what does dashboard consider a group? Is there documentation for all this that I've missed? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups Puppet Users group.

Re: [Puppet Users] Re: Error 400 on SERVER: No support for http method POST

2012-02-08 Thread Peter Berghold
I ran into an issue a while back on my puppet master where I had upgraded puppet and the result put the puppet executables in a different directory than I expected. The /etc/init.d script that I used to start puppet master was looking in the old directory and starting the wrong version. Be sure

Re: [Puppet Users] Why are not the reports uploading?

2012-02-08 Thread Peter Berghold
On Wed, Feb 8, 2012 at 1:16 PM, Peter Berghold salty.cowd...@gmail.comwrote: Hi folks, After installing dashboard after follwing the instructions here: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html I find that the reports are not uploading. In my puppet.conf

[Puppet Users] Interesting permissions issue with nagios_* providers

2012-02-03 Thread Peter Berghold
Hi folks, I noticed an interesting problem with the nagios_* providers especially in Debian. Besides writing to the wrong file (I fixed that issue) I've noticed there is a umask issue where the config files end up being owned by root with perms 0640. This causes nagios to spit milk out of its

[Puppet Users] finally have puppet/passenger/dashboard working... new problem

2012-01-27 Thread Peter Berghold
What the heck does this mean? err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `fact_merge' for nil:NilClass warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run Only seems to be happening on one host in particular...

Re: [Puppet Users] Issues with new puppet install...

2012-01-26 Thread Peter Berghold
masters and I'll dig into this a bit more if I can repeat it. Thanks, Nan On Wed, Jan 25, 2012 at 4:57 PM, Peter Berghold salty.cowd...@gmail.com wrote: Just for completeness: # type --all puppet{,d,masterd} puppet is /usr/bin/puppet puppetd is /usr/bin/puppetd puppetmasterd is /usr

Re: [Puppet Users] Issues with new puppet install...

2012-01-26 Thread Peter Berghold
do |env| server.process(env) end # Go. run app On Thu, Jan 26, 2012 at 10:19 AM, Peter Berghold salty.cowd...@gmail.comwrote: Based on what Nigel said I checked my auth.conf file lo and behold it was MIA. Don't know why but I created a new one at any rate and tried again. Still

[Puppet Users] Is there a particular order

2012-01-26 Thread Peter Berghold
... to which puppet, passenger, activerecord and dashboard should be installed in? This is my third try at getting these three to play nice together and my third epic fail. puppet is now complaining about err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not

[Puppet Users] apache/passenger/puppet/dashboard integration

2012-01-25 Thread Peter Berghold
Hi folks, Over the last week or so I've been banging my head against the wall trying to get dashboard working and trying to figure out why end of file reports are happening during some of my puppet runs. In the process of hacking around I've managed to trash my puppetmaster so I'm going to do

Re: [Puppet Users] apache/passenger/puppet/dashboard integration

2012-01-25 Thread Peter Berghold
: inline On Wed, Jan 25, 2012 at 09:48:27AM -0500, Peter Berghold wrote: Hi folks, Over the last week or so I've been banging my head against the wall trying to get dashboard working and trying to figure out why end of file reports are happening during some of my puppet

[Puppet Users] Issues with new puppet install...

2012-01-25 Thread Peter Berghold
Just got done installing apache2, passenger, puppet, dashboard over the day... Ran my first puppetd --test and got the following: # puppetd --test info: Loading facts in root_home info: Loading facts in facter_dot_d info: Loading facts in concat_basedir info: Loading facts in root_home info:

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Peter Berghold
master and agent are on the same box. they should be the same version. On Wed, Jan 25, 2012 at 3:53 PM, Nigel Kersten ni...@puppetlabs.com wrote: This looks like you've got a puppet agent that is newer than the version of your master. On Wed, Jan 25, 2012 at 12:36 PM, Peter Berghold

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Peter Berghold
} Do you get different versions returned for: $ puppet --version $ puppetd --version On newer installs you should be using puppet agent instead of puppetd (We moved to git-style subcommands a while ago) On Wed, Jan 25, 2012 at 1:03 PM, Peter Berghold salty.cowd...@gmail.com wrote: master

Re: [Puppet Users] Issues with new puppet install...

2012-01-25 Thread Peter Berghold
Just for completeness: # type --all puppet{,d,masterd} puppet is /usr/bin/puppet puppetd is /usr/bin/puppetd puppetmasterd is /usr/bin/puppetmasterd # puppet --version 2.7.9 # puppetd --version 2.7.9 # puppetmasterd --version 2.7.9 On Wed, Jan 25, 2012 at 4:37 PM, Peter Berghold salty.cowd

Re: [Puppet Users] difficulty installing dashboard.

2012-01-24 Thread Peter Berghold
On Mon, Jan 23, 2012 at 5:10 PM, Michael Stahnke stah...@puppetlabs.comwrote: OS CentOS release 5.7 (Final) ruby version ruby 1.8.5 (2006-08-25) [x86_64-linux] rubygems version 1.3.1 gem list *** LOCAL GEMS *** actionmailer (2.1.1) actionpack (2.1.1) activerecord (2.1.1)

Re: [Puppet Users] difficulty installing dashboard.

2012-01-24 Thread Peter Berghold
On Tue, Jan 24, 2012 at 11:34 AM, Michael Stahnke stah...@puppetlabs.comwrote: Dashboard isn't supported (and doesn't really work) on Ruby 1.8.5. 1.8.7 is the minimum requirement. Can you try EL6? Oh man... Here is what the installation docs say: Ruby

Re: [Puppet Users] difficulty installing dashboard.

2012-01-24 Thread Peter Berghold
I think I'm gonna give up on dashboard. Now that I have ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] installed there are new messages being spewed: rake --trace RAILS_ENV=production reports:migrate NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after

Re: [Puppet Users] difficulty installing dashboard.

2012-01-24 Thread Peter Berghold
On Tue, Jan 24, 2012 at 1:59 PM, Randall Hansen rand...@puppetlabs.comwrote: You may have other issues (aside from the mass of deprecation warnings ... ew), but this makes it look like you're missing the rdoc gem. puppet-dashboard]# gem list *** LOCAL GEMS *** actionmailer (2.1.1)

Re: [Puppet Users] Error at the end of a puppet agent run...

2012-01-24 Thread Peter Berghold
: If you didn't specifically configure Puppet to use Passenger then you're using Mongrel by default. Scalability = false. On Tue, Jan 24, 2012 at 8:24 AM, Peter Berghold salty.cowd...@gmail.com wrote: On Sun, Jan 22, 2012 at 7:54 PM, Stefan Schulte stefan.schu...@taunusstein.net wrote

[Puppet Users] difficulty installing dashboard.

2012-01-23 Thread Peter Berghold
Using the instructions I found here: http://docs.puppetlabs.com/guides/installing_dashboard.html I've run into a snag at the point where you run: rake RAILS_ENV=production db:migrate It fails with the following error: puppet-dashboard]# rake RAILS_ENV=production db:migrate (in

[Puppet Users] Error at the end of a puppet agent run...

2012-01-22 Thread Peter Berghold
err: Could not send report: end of file reached what is that? -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com.

Re: [Puppet Users] Error at the end of a puppet agent run...

2012-01-22 Thread Peter Berghold
It happens on the agent side. Both ends of the connection stayed up. On Jan 22, 2012 5:50 PM, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Sun, Jan 22, 2012 at 04:05:47PM -0500, Peter Berghold wrote: err: Could not send report: end of... Do you see this error on the agent side

Re: [Puppet Users] Error at the end of a puppet agent run...

2012-01-22 Thread Peter Berghold
It seems to consistantly happen on one host in particular and randomly on others. On Jan 22, 2012 6:16 PM, Stefan Schulte stefan.schu...@taunusstein.net wrote: On Sun, Jan 22, 2012 at 05:57:50PM -0500, Peter Berghold wrote: It happens on the agent side. Both... do get the error message

Re: [Puppet Users] more fun and games...(exported resources)

2012-01-18 Thread Peter Berghold
felix.fr...@alumni.tu-berlin.de wrote: Hi, On 01/17/2012 09:27 PM, Peter Berghold wrote: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Nagios_contact[sharkrivertech-support] cannot override local resource on node slcdmon0.slc.sharkrivertech.com

Re: [Puppet Users] more fun and games...(exported resources)

2012-01-18 Thread Peter Berghold
I guess my kludge didn't work after all. The issue is back. I'm beginning to think that perhaps there is something bad about exporting nagios_contact resources. :-/ On Wed, Jan 18, 2012 at 9:13 AM, Peter Berghold salty.cowd...@gmail.comwrote: That was my first thought Felix. I ran

Re: [Puppet Users] more fun and games...(exported resources)

2012-01-18 Thread Peter Berghold
So I should logic in to export it just one time... On Jan 18, 2012 12:07 PM, Nan Liu n...@puppetlabs.com wrote: You probably have multiple server exporting the same resource when you only intend to export this particular resource only once. Nan On Jan 18, 2012, at 7:59, Peter Berghold

[Puppet Users] Exported variable foo...(fu?)

2012-01-17 Thread Peter Berghold
Hi folks, For the first time since I started playing with puppet I started down the road of using exported resources This was inspired by my reading all of the nagios related recipes that went something along the lines of class nagios { package {nagios: ensure= latest } service

Re: [Puppet Users] Exported variable foo...(fu?)

2012-01-17 Thread Peter Berghold
Actually I am using | (pipes) and not exclamation marks in my actual recipe. Not sure why the exclamation mark showed up. :-/ On Tue, Jan 17, 2012 at 11:42 AM, Nan Liu n...@puppetlabs.com wrote: On Tue, Jan 17, 2012 at 8:38 AM, Peter Berghold salty.cowd...@gmail.com wrote: Hi folks

Re: [Puppet Users] Exported variable foo...(fu?)

2012-01-17 Thread Peter Berghold
Here are the actual class definitions: class nagios::server inherits nagios { include gd case $operatingsystem { Debian: { include nagios::server::debian} Gentoo: { include nagios::server::gentoo} default: { } } Nagios_host | |

SOLVED: [Puppet Users] Exported variable foo...(fu?)

2012-01-17 Thread Peter Berghold
I have become fully convinced that running puppetmasterd in debug mode is hot stuff. I found the following deficiencies in my setup and fixed them: - Doing some random reading I needed to add storeconfigs=true to my master section of puppet.cfg - After doing that I got complaints

[Puppet Users] more fun and games...(exported resources)

2012-01-17 Thread Peter Berghold
what does this mean? err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Nagios_contact[sharkrivertech-support] cannot override local resource on node slcdmon0.slc.sharkrivertech.com warning: Not using cache on failed catalog err: Could not retrieve catalog;

[Puppet Users] OK.. now I've done it.. err: Could not find table 'hosts'

2012-01-17 Thread Peter Berghold
The sqlite3 backend is now complaining it can't find the table hosts. How to fix? Not sure how I got here... -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

[Puppet Users] iterating hashes in puppet recipes

2012-01-12 Thread Peter Berghold
given a structure like this: $accounts={ usera={},userb={what's in here's not the point},userc={} }; $account_keys=$accounts.keys ... been reading up on Ruby. :-) -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed

<    1   2   3   >