[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-09 Thread Abhijit Shingate
Hi All, We have a specific requirement to collect custom metrics from nodes in the cluster. Is there a way that Puppet Agent will collect those metrics and send to puppet master. Can i add custom UI elements to puppet dashboard to show those metrics? Thanks & Regards, Abhijit -- You rec

[Puppet Users] Puppet Dashboard - Directory Index Forbidden

2012-03-09 Thread theirpuppet
Hello all Puppet, puppetmaster, ruby, etc installed from standard Ubuntu 11.10 x86_64 APT repos Dashboard 1.26 from .deb pulled from http://apt.puppetlabs.com/pool/oneiric/main/p/puppet-dashboard/ Apache config pulled from /usr/share/puppet-dashboard/ext/passenger/dashboard-vhost.conf My sim

[Puppet Users] Puppet Dashboard - Directory Index Forbidden

2012-03-09 Thread theirpuppet
Hello all Puppet, puppetmaster, ruby, etc installed from standard Ubuntu 11.10 x86_64 APT repos Dashboard 1.26 from .deb pulled from http://apt.puppetlabs.com/pool/oneiric/main/p/puppet-dashboard/ Apache config pulled from /usr/share/puppet-dashboard/ext/passenger/dashboard-vhost.conf My sim

[Puppet Users] Re: Do I need a fact for this?

2012-03-09 Thread Bob Rontomskin
On Thursday, 8 March 2012 15:38:57 UTC+1, jcbollinger wrote: > > > > On Mar 7, 10:24 am, Bob Rontomskin wrote: > > Hello group, > > > > I have a Tomcat class which takes a java package name as a parameter. > > The parameter looks like openjdk-1.2.3 or sunjava-2.3.4. The purpose of > the > >

[Puppet Users] Re: Puppet and the security on nodes, configurations, etc.

2012-03-09 Thread jcbollinger
On Mar 8, 1:12 pm, Christophe L wrote: > Hello, > > Thank you very much for your answer ! > > We will look into your approach. > > I understand what you explained but I'm a bit surprised by this > approach. If you think I recommended for or against any particular approach then you should re-re

[Puppet Users] Re: apt-get update running before installing packages - dependency not working

2012-03-09 Thread jcbollinger
On Mar 8, 9:34 am, Mr Pink wrote: > Hi, > > I'm having some issues with it doing an apt-get update before > installing packages. In my Apt modules I have > >  Exec["apt-update"] -> Package <| |> > > and in the run itself I see > > debug: /Stage[main]/Apt/Exec[apt-update]/before: requires > Packa

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-09 Thread Mohamed Lrhazi
Hi Christian, I am running into this same issue... Did you resolve it? Thanks a lot, Mohamed. On Wed, Feb 15, 2012 at 3:36 PM, Christian McHugh wrote: > I've got slightly more info. In trying to figure this out I ran across > http://projects.puppetlabs.com/issues/10665 where it was suggested >

[Puppet Users] Re: Check package version in order to proceed with installation (err: Could not update: is already installed)

2012-03-09 Thread jcbollinger
On Mar 8, 3:54 pm, Mike wrote: > Why does puppet return an error when a package is already installed? It doesn't. > I use ensure => installed to make sure that a package is installed, and > then have a file that is dependent on that package. When the manifest is > applied and the package is

[Puppet Users] Re: Puppet returns an error if a package is already installed

2012-03-09 Thread Mike
Thank you so much. That solved my problem. On Thursday, March 8, 2012 4:05:05 PM UTC-6, Mike wrote: > > I'm very new to Puppet, and new to this group, so I apologize if this has > already been covered. I did a quick search but didn't quickly find an > answer. > > I have a manifest that among oth

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-09 Thread Mohamed Lrhazi
I just tried something which seems to workaround the cyclic dependency issue: - put the exec definition in the class that runs in the post stage. - in site.pp put the default: Firewall { notify => Exec["persist-firewall"], } Thanks, Mohamed. On Fri, Mar 9, 2012 at 9:47 AM, Mohamed Lrhazi wr

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

2012-03-09 Thread jcbollinger
On Mar 8, 3:37 pm, Peter Berghold wrote: > Check this out: > > ]# yum -y list available | grep nrpe > nagios-plugins-nrpe.x86_64                2.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

Re: [Puppet Users] Re: Check package version in order to proceed with installation (err: Could not update: is already installed)

2012-03-09 Thread Dan White
What does the command: puppet resource package tell you about what packages are/are-not installed ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - jcbollinger wrote: >

[Puppet Users] Puppet-dash 1.2.6 not importing reports

2012-03-09 Thread SandBox
Hi all, I just did a puppet-dashboard 1.2.6 install with passenger installed and listening on 80 & 443. I am also running puppet 2.6.7 on 8140. My issue is when it comes to reporting. My clients are connecting and uploading reports and I can see them in /var/lib/puppet/reports but the only thing

[Puppet Users] Puppet dns requests

2012-03-09 Thread Hugo Deprez
Dear community, I just saw that when I execute puppetd -vt I can have up to 80 DNS request for the puppet server records. I specified in the puppet.conf : server=puppetserver.example.fr in the [main] section of the client. It seems to work for my Debian Squeeze client, but not for Debian Lenny.

Re: [Puppet Users] Puppet dns requests

2012-03-09 Thread Mohamed Lrhazi
http://docs.puppetlabs.com/references/stable/configuration.html On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez wrote: > Dear community, > > I just saw that when I execute puppetd -vt I can have up to 80 DNS request > for the puppet server records. > I specified in the puppet.conf : > > server=pupp

Re: [Puppet Users] Puppet dns requests

2012-03-09 Thread Jeff McCune
On Fri, Mar 9, 2012 at 8:22 AM, Hugo Deprez wrote: > Dear community, > > I just saw that when I execute puppetd -vt I can have up to 80 DNS request > for the puppet server records. > I'm not entirely surprised we make so many requests, but this is slightly worrisome to me. Is this number of req

Re: [Puppet Users] Puppet dns requests

2012-03-09 Thread Hugo Deprez
Thank you for the link. But I am not able to know if the server parameter is available for 0.25 clients. Any idea ? Regards, On 9 March 2012 17:32, Mohamed Lrhazi wrote: > http://docs.puppetlabs.com/references/stable/configuration.html > > > On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez > wrot

Re: [Puppet Users] Puppet dns requests

2012-03-09 Thread Nan Liu
The commands are puppetd instead of puppet agent and puppetmasterd instead of puppet master. This will give the options in 0.25: puppetmasterd --configprint all However rather than dealing with 0.25 and multiple puppet versions, I would recommend using our latest packages in apt.puppetlabs.com.

Re: [Puppet Users] Re: Check package version in order to proceed with installation (err: Could not update: is already installed)

2012-03-09 Thread Jeremy Baron
On Fri, Mar 9, 2012 at 10:11, Dan White wrote: > What does the command: > > puppet resource package > > tell you about what packages are/are-not installed ? See other thread. (was resolved) https://groups.google.com/d/topic/puppet-users/CE4iP7FtOiY/discussion -Jeremy -- You received this mess

Re: [Puppet Users] How to fully remove a node from Puppet Dashboard (v1.2.4)

2012-03-09 Thread Jeff McCune
On Wed, Mar 7, 2012 at 8:22 PM, Romeo Theriault wrote: > I can delete a node in dashboard fine, but when I do a search with the > Inventory Search the node shows up again and also then shows up under > "Unreported". Any way to get rid of all references to the node? > Hi Romeo, I think this is a

[Puppet Users] X509v3 Subject Alternative Name in puppet generated certs...

2012-03-09 Thread Jonathan Proulx
I'm trying to split out my certificate authority and have one CA and multiple masters, currently using round robin DNS, possibly using HAproxy later. Got most of the way there but tangled up in names and certificates. When the Puppet CA generated it's certificate the PTR record for it's IP pointed

Re: [Puppet Users] How to fully remove a node from Puppet Dashboard (v1.2.4)

2012-03-09 Thread Romeo Theriault
On Fri, Mar 9, 2012 at 12:05, Jeff McCune wrote: > On Wed, Mar 7, 2012 at 8:22 PM, Romeo Theriault > wrote: >> >> I can delete a node in dashboard fine, but when I do a search with the >> Inventory Search the node shows up again and also then shows up under >> "Unreported". Any way to get rid of

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-09 Thread Christian McHugh
> > Thus far I've only been able to get puppet to run without making the > firewall persistent. > In the case of running the exec save-rules in the post: it's no good if your hosts are at all dynamic since it only runs after the main stage. So if you have an existing host, add another normal f

[Puppet Users] Intermittent logic error

2012-03-09 Thread Len Rugen
We seem to be getting intermittent errors production this message. err: Failed to apply catalog: Could not find dependency Package[zabbix-agent] for Service[undef] at /etc/puppet/modules/zabbix-agent/manifests/init.pp:76 It will usually work OK on the next rerun. The class is addressing a servic

Re: [Puppet Users] Re: puppetlabs-firewall stages and persistence

2012-03-09 Thread tujwww
Looks like you are applying the rules in Pre, Main and Post stage using firewall, i wonder what could be the requirement to apply the rules in different stages instead of creating a File resource, Service notify trigger using Exec iptables-restore, if you don't mind giving a little elaboration.