[Puppet Users] Puppet Agent Configure Error in EC2

2013-03-04 Thread Jithin Xavier
Hi All, While I am trying to install/configure Puppet agent from puppet master in ec2 getting this error "root@PuppetMaster:/home/ubuntu# puppet node install --install-script=puppet-enterprise --installer-answers=/home/ubuntu/puppet-agent-answers --installer-payload=/opt/puppet-enterprise-2.7

Re: [Puppet Users] Re: expect like behavior function?

2013-03-04 Thread Felix Frank
On 03/01/2013 08:10 PM, Corey Osman wrote: > 5. Use /bin/true or /bin/yes Again, please don't even bother with /bin/true. Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fr

[Puppet Users] Struggling to get Hiera to work

2013-03-04 Thread Jonathan Gazeley
I'm setting up Hiera in my multi-environment puppetmaster for the first time. I've written /etc/puppet/hiera.yaml, defined the hierarchies and created a couple of data files with sample data in them. When queried from the commandline, it works: [jg4461@puppet ~]$ hiera -d -c /etc/puppet/hier

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-04 Thread Felix Frank
On 03/01/2013 09:32 PM, Josh Cooper wrote: > > Those are the most repeated patterns. > I don't know much about Windows' core... I hope this help you identify > the problem No, sorry, I'm pretty much a novice with Windows as well. HeapAlloc sounds like memory allocation issues. Which can be a pe

Re: [Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-04 Thread jcbollinger
On Sunday, March 3, 2013 3:53:29 AM UTC-6, Brice Figureau wrote: > > On 01/03/13 22:24, r.yeo wrote: > > Passenger settings are currently - > > > > PassengerHighPerformance on > > PassengerUseGlobalQueue on > > > > PassengerMaxPoolSize 3 > > This parameter means you're allowing only 3 pupp

[Puppet Users] Re: troubleshooting missing facts when run as service?

2013-03-04 Thread jcbollinger
On Friday, March 1, 2013 10:18:46 AM UTC-6, Trammael wrote: > > > RHEL6 x86_64, Puppet master 2.7.18, clients 2.7.19. > > One of my nodes reports: > > Could not retrieve catalog from remote server: Error 400 on SERVER: > Duplicate declaration: Package[undef] is already declared in file > /etc

[Puppet Users] AWS OpsWorks Puppet support

2013-03-04 Thread James Turnbull
Hi all If you are interested in Puppet support for AWS OpsWorks it'd really help us if you let Amazon know here: https://forums.aws.amazon.com/forum.jspa?ref_=tsm_1_tw_s_aws_mihccc&forumID=153 That you're interested in this support. Thanks James -- James Turnbull 1-503-734-8571 To schedule a

[Puppet Users] Re: Package and unless

2013-03-04 Thread jcbollinger
On Friday, March 1, 2013 2:00:24 PM UTC-6, Tiago Cruz wrote: > > Hello all! > > I would like to install one package, but only with some condition was ok, > like: > > package { "nagios-plugins-basic": > ensure => "1.4.15-personal1", > unless => "test `ls -ld /opt/nrpe* 2>/dev/null | wc -

[Puppet Users] Re: Parameters using other parameters

2013-03-04 Thread jcbollinger
On Sunday, March 3, 2013 8:00:35 AM UTC-6, Andrei Burd wrote: > > Hi, i'm writing a define to custom apache configuration, with nagios > check, using Geppeto. > > I want to define a parameter to check specific web page for ssl, because > not all the site are available trough SSL, just couple of

[Puppet Users] CFP: UCMS '13 (San Jose - June 24)

2013-03-04 Thread Ashley Penney
Hi all, I made the mistake of agreeing to help organize a conference and so now I'm circling the user groups of all the majorconfiguration management tools with my cap in hand begging for talks. It's going to be in San Jose as part of a week of USENIX conferences and we're looking for interesting

[Puppet Users] Beta release of puppetdbquery module 1.0

2013-03-04 Thread Erik Dalén
I've released version 1.0.0-pre1 of the dalen-puppetdbquery module, it includes the old functions against the PuppetDB api version 1.0. But also some entirely new functions that will query the PuppetDB api v2.0 (in puppetdb 1.1 and up). These new functions borrow the syntax from Dan Bode's rub

Re: [Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-04 Thread Brice Figureau
On Mon, 2013-03-04 at 06:09 -0800, jcbollinger wrote: > > > On Sunday, March 3, 2013 3:53:29 AM UTC-6, Brice Figureau wrote: > On 01/03/13 22:24, r.yeo wrote: > > Passenger settings are currently - > > > > PassengerHighPerformance on > > PassengerUseGlo

[Puppet Users] Windows MSIs and detecting version changes.

2013-03-04 Thread Nathan Shirlberg
Puppet Package for windows MSI correctly detects whether the Package is installed or not, but will not detect that the new MSI file is newer and thus the Package needs to be updated. My seems almost identical to http://projects.puppetlabs.com/issues/13104. Which was closed a year ago... I am

[Puppet Users] Auto remove certificate from puppet master host

2013-03-04 Thread Roman Alekseev
Hi, Does anybody know how to perform auto removing certificate of host which is unreachable some period? Thanks. -- 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 it, send an email

[Puppet Users] Error while remotely installing agents on puppet clients

2013-03-04 Thread guptasachin1112mrt
I had installed puppet master and client on two different machines. machine A has puppet master and machine B has client. both are centos6 64 bit machines. Machine B (client) is successfully connected to master (machine A). My aim is to install New Relic agent (server monitorinig tool) on diff

[Puppet Users] Problem while Installing software (agent) from puppetmaster to clients

2013-03-04 Thread guptasachin1112mrt
I had installed puppet master and client on two different machines. machine A has puppet master and machine B has client. both are centos6 64 bit machines. Machine B (client) is successfully connected to master (machine A). My aim is to install New Relic agent (server monitorinig tool) on diff

Re: [Puppet Users] Re: Can puppet report the console output from service foo status?

2013-03-04 Thread Felix Frank
Oh, I will :-) Have you made sure the package is installed prior to the attempt of starting the service (i.e., does the service require the package?) The easiest way to go about the problem would be to replace the service resource with an exec for the sake of debugging (under all other circumstan

Re: [Puppet Users] Pattern for managing software versions?

2013-03-04 Thread Schofield
On Friday, March 1, 2013 7:46:33 PM UTC-5, Brendan O'Bra wrote: > > I use hiera to externalize the versions, like this: > package{'jdk': > ensure => hiera('jdk_version','present'), > require => [ YumRepo['someyumrepo'] ], > } > > And then just deliver yaml based on environment/versio

[Puppet Users] Using Puppet with Windows MSIs

2013-03-04 Thread Nathan Shirlberg
I want to use Puppet to manage deployment of internal .Net software. The CI build can generate a versioned MSI file and push that out to Puppet. I am creating an MSI with the same name, but different versions for each release. Puppet detects the missing Package and properly installs the new

[Puppet Users] Re: Windows MSIs and detecting version changes.

2013-03-04 Thread Nathan Shirlberg
I am sorry to spam the board here, but I did not realize that the post was held for moderation and then tried a similar post again. Please disregard this post and reply to this one. https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/NRYgzNW7ihc On Monday, March 4, 2013 10:11:01

Re: [Puppet Users] Re: defaultto in hash property not obeyed

2013-03-04 Thread Jakov Sosic
On 02/25/2013 03:55 PM, jcbollinger wrote: > > It looks like you are stumbling over a Ruby syntax ambiguity. The > fragment "{}" can be either an empty hash or an empty block. Because > the 'defaultto' method can accept a block, Ruby resolves the ambiguity > in favor of that interpretation. I t

Re: [Puppet Users] Beta release of puppetdbquery module 1.0

2013-03-04 Thread Dan Bode
On Mon, Mar 4, 2013 at 7:59 AM, Erik Dalén wrote: > I've released version 1.0.0-pre1 of the dalen-puppetdbquery module, it > includes the old functions against the PuppetDB api version 1.0. But also > some entirely new functions that will query the PuppetDB api v2.0 (in > puppetdb 1.1 and up). > >

[Puppet Users] Re: Struggling to get Hiera to work

2013-03-04 Thread Ellison Marks
Where are you setting your environment? On Monday, March 4, 2013 3:49:14 AM UTC-8, Jonathan Gazeley wrote: > > I'm setting up Hiera in my multi-environment puppetmaster for the first > time. > > I've written /etc/puppet/hiera.yaml, defined the hierarchies and created > a couple of data files wi

[Puppet Users] puppet-master --compile, output as pson?

2013-03-04 Thread Elad Shmitanka
is there a way to use the command: > > puppet master --compile <*nodename*> and have the output in PSON and not JSON? -- 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 it, send an ema

[Puppet Users] Community Badges

2013-03-04 Thread Miguel Di Ciurcio Filho
Hi there, What happened with the community logos and badges that were available at this URL: https://puppetlabs.com/community/badges/ The link is still on the top menu item Community on PuppetLabs' website. Regards, Miguel -- You received this message because you are subscribed to the Google

[Puppet Users] Re: Community Badges

2013-03-04 Thread Dawn Foster
On Mon, Mar 4, 2013 at 11:08 AM, Miguel Di Ciurcio Filho wrote: > Hi there, > > What happened with the community logos and badges that were available > at this URL: > > https://puppetlabs.com/community/badges/ > > The link is still on the top menu item Community on PuppetLabs' website. Hi Miguel,

[Puppet Users] I moved my modules and manifest directory in puppet master.

2013-03-04 Thread JGonza1
I also made the changes below in the puppet.conf file to tell puppet where to look for the the modules and manifests. I then restart the puppet master then ran puppet command to apply changes to a puppet client it did not find anything to change just got these three lines "info: Caching catalog

[Puppet Users] Configure One Host to Not Get Client Configuration, but Instead the Server Config Best Practices

2013-03-04 Thread phundisk
I have been doing something with puppet that is working for me 100% but I am not sure this is the best way to be doing things and wanted to see what the community feels about it and if anyone has any suggestions. This problems relates to me having a common 'base' class which I put common serve

Re: [Puppet Users] I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
Perhaps Puppet is not using the puppet.conf file you think it is. Try running: # puppet agent --configprint confdir - Keith On 4 Mar 2013 20:49, "JGonza1" wrote: > I also made the changes below in the puppet.conf file to tell puppet where > to look for the the modules and manifests. I then r

[Puppet Users] Register or submit a talk for PuppetConf 2013

2013-03-04 Thread Dawn Foster
Here are a few details about PuppetConf 2013 * Where: Historic Fairmont Hotel in San Francisco * When: August 22-23, 2013 * Registration: The first 150 tickets sold will be available at a 35% discount: http://puppetconf2013.eventbrite.com/ * Details: http://puppetconf.com/ We are also looking for

[Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread JGonza1
I ran the command puppet agent --configprint confdir on both the master and the agetn and got the below for both. On the puppet master that is where the puppet.conf file is in /etc/puppet directory. [root@ct-eng-pup puppet]# puppet agent --configprint confdir /etc/puppet [root@ct-eng-pup puppet

[Puppet Users] Re: Configure One Host to Not Get Client Configuration, but Instead the Server Config Best Practices

2013-03-04 Thread Ellison Marks
In general, the pattern to use here would be to use hiera. It allows separation of manifest and data. In your case, instead of having conditional logic in the class itself, at compilation time the master would look up the value for a variable, say ntp::server, in a hierarchy of data. For the ma

Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
Ok so Puppet is reading /etc/puppet/puppet.conf. The timestamp on this file shows is hasn't been changed for a few days though. Is the output of: # puppet agent --configprint moduledir # puppet agent --configprint manifestdir on the master what you expect? Perhaps you have a permissions / owner

[Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread JGonza1
I ran the commands and I see that puppt is still pointing to /etc/puppet not /etc/puppet2 for both modules and manifests, see below. [root@ct-eng-pup etc]# puppet agent --configprint manifestdir /etc/puppet/manifests [root@ct-eng-pup etc]# puppet agent --configprint modulepath /etc/puppet/module

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-04 Thread Ken Barber
Any progress today? On Fri, Mar 1, 2013 at 9:00 AM, ak0ska wrote: > Yes, maybe not. The next step will be to recreate it from scratch. > > > On Friday, March 1, 2013 5:47:06 PM UTC+1, Ken Barber wrote: >> >> >> Well, I don't think a vacuum will help you - I imagine something is >> wrong with the

Re: [Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread Keith Burdis
What section of /etc/puppet/puppet.conf is your moduledir etc set in? This should be in [main] or [master] - see the 'Config Blocks' section in the docs. Alternatively perhaps the master has not actually been restarted somehow and is still using the old config. - Keith On 4 Mar 2013 21:54, "JGo

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-04 Thread Olivier Trempe
Ok, I just tried on Windows 7 and I don't observe the performance issue. Thanks to all of you. I will not push this investigation further as I hope to have my linux master soon! On Monday, March 4, 2013 7:32:11 AM UTC-5, Felix.Frank wrote: > > On 03/01/2013 09:32 PM, Josh Cooper wrote: > > >

Re: [Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-04 Thread jcbollinger
On Monday, March 4, 2013 10:25:54 AM UTC-6, Brice Figureau wrote: > > On Mon, 2013-03-04 at 06:09 -0800, jcbollinger wrote: > > > If the problem arose from congestion at the master then the delays > > would be less consistent from file to file and from run to run, and > > they would sometimes

Re: [Puppet Users] Pattern for managing software versions?

2013-03-04 Thread jcbollinger
On Monday, March 4, 2013 10:42:32 AM UTC-6, Schofield wrote: > > > > On Friday, March 1, 2013 7:46:33 PM UTC-5, Brendan O'Bra wrote: >> >> I use hiera to externalize the versions, like this: >> package{'jdk': >> ensure => hiera('jdk_version','present'), >> require => [ YumRepo['someyumre

[Puppet Users] Re: Configure One Host to Not Get Client Configuration, but Instead the Server Config Best Practices

2013-03-04 Thread jcbollinger
On Monday, March 4, 2013 2:57:23 PM UTC-6, phundisk wrote: > > I have been doing something with puppet that is working for me 100% but I > am not sure this is the best way to be doing things and wanted to see what > the community feels about it and if anyone has any suggestions. This > proble

[Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread JGonza1
The paths below are in the main part of the puppet.conf file and I just restart the puppet master process again and still nothing. I am thinking of creating a production directory in /etc/puppet like so /etc/puppet/prod and makeing the change in /etc/puppet/puppet.conf file to see if that works.

[Puppet Users] Re: Community Badges

2013-03-04 Thread Miguel Di Ciurcio Filho
On Mon, Mar 4, 2013 at 4:37 PM, Dawn Foster wrote: > > Hi Miguel, > > We recently removed this page, since most of those badges are very old > and out of date. It looks like the navigation link was never removed. > I'm hoping to get some new ones designed, but we just haven't had a > chance to do

[Puppet Users] Re: Community Badges

2013-03-04 Thread Dawn Foster
On Mon, Mar 4, 2013 at 3:01 PM, Miguel Di Ciurcio Filho wrote: > On Mon, Mar 4, 2013 at 4:37 PM, Dawn Foster wrote: >> >> Hi Miguel, >> >> We recently removed this page, since most of those badges are very old >> and out of date. It looks like the navigation link was never removed. >> I'm hoping

[Puppet Users] Re: I moved my modules and manifest directory in puppet master.

2013-03-04 Thread JGonza1
Moved the modules and manifests into /etc/puppet/prod and changed /etc/puppet/puppet.conf. Then I restart the puppet master but does not work. The entries in /etc/puppet/puppet.conf looks like this now. # Where puppet master looks for its manifests. # The default value is '$confdir/manif

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-04 Thread Mike Tedesco
Is puppetdb and postgres on the same server? How many node does your environment have? I had a similar issue and it was linked to I/O. Can you look at that? Mike { Thanks => always } On Mar 4, 2013, at 4:55 PM, Ken Barber wrote: > Any progress today? > > On Fri, Mar 1, 2013 at 9:00 AM, ak

[Puppet Users] load puppet report from file

2013-03-04 Thread cblum...@gmail.com
This is more of a ruby programming question I think but here goes. I would like to load a report from a file for some processing that does not happen on the puppet master: #!/usr/bin/env ruby require 'yaml' require 'puppet' report = YAML::load(File.open('/var/lib/puppet/state/last_run_report.ya

Re: [Puppet Users] Struggling to get Hiera to work

2013-03-04 Thread Denmat
Hi, You can run the master in debug mode and it will show you where puppet is looking for the hiera files. Give it a whirl, Den On 04/03/2013, at 22:49, Jonathan Gazeley wrote: > I'm setting up Hiera in my multi-environment puppetmaster for the first time. > > I've written /etc/puppet/hier

Re: [Puppet Users] Re: Puppet agent intermittently stops without doing any thing

2013-03-04 Thread sanjiv singh
Today, we faced issue again.i checked apache log at puppet master , nothing is there. Please find attack YAML at agent and master side and also attached master's /var/log/message. Nothing specific i can get in /var/log/message. But what i can see is there is difference in client and master

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-04 Thread ak0ska
A little update on our story. Vacuum full was running for the whole weekend, so we didn't yet have time to rebuild indexes, because that would require more downtime, and we're not sure how long it would take. The size of the database didn't drop that much, it's now ~370Gb. We already see some