[Puppet Users] many agents connecting at same time and 100+ nodes failed.

2014-11-05 Thread Suresh P
12:51 (34 minutes ago) Hi, In my puppet setup, i'm managing around 1700+ nodes via foreman. I have 3 puppet master ( one of the server is CA) under load-balancing and one foreman as ENC and report viewer. Around 900+ nodes connecting at same time, due to that 150 out of 900 getti

Re: [Puppet Users] puppet agent upgrade with puppet module

2014-11-05 Thread Felix Frank
Hi, yes, I did witness background agents crashing when they tried to upgrade the puppet packages. The postinst script would try to restart the service, and kill the agent in the process (leaving the package half configured. What fun). This might work better with newer versions, but with the 2.7.x

Re: [Puppet Users] puppet 3.6.2, parse time error about storeconfigs

2014-11-05 Thread Henrik Lindberg
On 2014-06-11 1:30, Tristan Smith wrote: So, I'm trying to be a good citizen and use more forge code. I run puppet parser validate across all manifests as part of this - which results in much hilarity and tears. The latest one was when I pulled in puppetlabs/apache. .../modules/apache/manifests

Re: [Puppet Users] file_line - Remove a piece of string

2014-11-05 Thread Felix Frank
On 10/21/2014 07:21 AM, Lobo Junior wrote: > I want remove a piece of string of a file on using file_line? > > Example > > file_line { 'try-replace': > path => '/tmp/eureka.txt', > line => 'com.PersistenceSchemeRedis(not_used,localhost:1982:false)', > match => "com.hp.clasp.internal.Persist

Re: [Puppet Users] Re: install directory for package, and other basic questions

2014-11-05 Thread Felix Frank
On 10/21/2014 02:07 AM, Matyas A. Sustik wrote: > I follow up to my own post in case someone else encounters the same > questions. > > On Friday, October 10, 2014 8:50:34 PM UTC-7, Matyas A. Sustik wrote: > > I am new to Puppet. I hoped someone in this group could get me on > the right trac

[Puppet Users] puppet 3.6.2, parse time error about storeconfigs

2014-11-05 Thread Tristan Smith
So, I'm trying to be a good citizen and use more forge code. I run puppet parser validate across all manifests as part of this - which results in much hilarity and tears. The latest one was when I pulled in puppetlabs/apache. .../modules/apache/manifests$ puppet parser validate balancer.pp --p

[Puppet Users] Re: In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors:

2014-11-05 Thread Jerry Higgs
Module has been updated to use use -q flag instead of array slices. This has been solved. On Wednesday, November 5, 2014 3:40:34 PM UTC-8, Jerry Higgs wrote: > > It appears that there is an error in: > > puppetlabs-rabbitmq / > lib

[Puppet Users] Re: In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors:

2014-11-05 Thread Jerry Higgs
It appears that there is an error in: puppetlabs-rabbitmq / lib / puppet / provider

Re: [Puppet Users] Module Directory Layout

2014-11-05 Thread Felix Frank
Hi, so you'd like to sub-namespace modules? I don't think this would work. Say you forced the contents of puppetlabs-apache into the business_group_a subtree. You would then need to rename classes and defines, e.g. apache -> business_group_a::apache and so forth. What you are describing should a

Re: [Puppet Users] Re: Custom fact that requires inifile

2014-11-05 Thread Felix Frank
Hi, this makes me cringe a little :-) You're both not completely off track, but then there's much better option. As custom facts always run from a Puppet context, you have access to Puppet's own API. Say a fact needs to incorporate the value of the 'server' setting in some way: setcode do ser

[Puppet Users] In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors:

2014-11-05 Thread Jerry Higgs
In lastest version of rabbitmqctl the "...done" line has been removed, which is causing errors: In the rabbitmq provider they currently use: rabbitmqctl('list_vhosts').split(/\n/)[1..-2] *Before:* # rabbitmqctl list_vhosts Listing vhosts ... / /mcollective ...done. The provider needs to be

Re: [Puppet Users] Getting the last of site specific data out of manifest

2014-11-05 Thread Felix Frank
On 10/16/2014 09:33 PM, Kenton Brede wrote: > I'm using OS Puppet 3.7.1. I'm using Hiera and *mostly* have our site > specific data out of our modules. > > I could use some advice on how to handle the following two cases. > > Case #1 > > node basenode { > include files # files common to all no

Re: [Puppet Users] PuppetDB curl and puppetdbquery tentative to filter nodes on an array type parameter including a value

2014-11-05 Thread Felix Frank
Hi, I didn't read all of your message, but this first section had me wondering: Are you aware that Puppet resources support actual tags? @@check_mk::host { 'title': host_tags = [ ... ], tag => 'nat' } You can then easily collect all tagged resources. Check_mk::Host<<| tag == 'nat' |>> The inte

Re: [Puppet Users] is this a bug at puppet/lib/puppet/reports/store.rb file?

2014-11-05 Thread Felix Frank
I guess it could be regarded a bug. At the very least, making this format optional would possibly be a sensible feature request. I'm not certain about the future of the store handler for reports, though. Improvements on such facilities should likely be targeted at puppetserver only. It would make

Re: [Puppet Users] how to force tomcat restart using puppet kick and service type ?

2014-11-05 Thread Felix Frank
Hi, good question. The module's documentation does not readily offer a way to cleanly restart a service. However, looking at the source, it quickly becomes clear that tomcat::service does in fact wrap a service resource. https://github.com/puppetlabs/puppetlabs-tomcat/blob/master/manifests/servi

[Puppet Users] Re: schedule metaparameter

2014-11-05 Thread Mark Rosedale
One other question. Can you apply schedules to classes? It seems that you cannot, but I just wanted to confirm that. On Friday, October 24, 2014 1:51:27 PM UTC-4, Mark Rosedale wrote: > > Hello, > > I'm looking to start to implement scheduling for certain resources within > puppet. My one quest

Re: [Puppet Users] Re: Puppetmaster can't keep up with our 1400 nodes.

2014-11-05 Thread Georgi Todorov
On Wednesday, November 5, 2014 9:47:02 AM UTC-5, jcbollinger wrote: > > On Tuesday, November 4, 2014 9:32:32 AM UTC-6, Georgi Todorov wrote: >> >> On Tuesday, November 4, 2014 9:50:15 AM UTC-5, jcbollinger wrote: >>> >>> By far the biggest difference is is File retrieval time. This will be >>> fo

[Puppet Users] Re: Variable interpolation failing with structured facts

2014-11-05 Thread jcbollinger
On Tuesday, November 4, 2014 9:16:55 AM UTC-6, duke wrote: > > Hi, > > While implementing custom facts in our environment I did some > experimenting with structured > facts in our Puppet manifests. Puppet is 3.7.2, Facter is 2.3.0, Master > and Agent run on the > same VM, future parser is on

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-05 Thread Mark Rosedale
Sorry I guess I was confused I thought Hiera is an ENC...am I wrong about that? On Wednesday, November 5, 2014 9:28:42 AM UTC-5, jcbollinger wrote: > > > > On Tuesday, November 4, 2014 9:33:06 AM UTC-6, Mark Rosedale wrote: >> >> So I'm setting up puppet environments. This is what I have in my

Re: [Puppet Users] Re: Puppetmaster can't keep up with our 1400 nodes.

2014-11-05 Thread jcbollinger
On Tuesday, November 4, 2014 9:32:32 AM UTC-6, Georgi Todorov wrote: > > On Tuesday, November 4, 2014 9:50:15 AM UTC-5, jcbollinger wrote: >> >> By far the biggest difference is is File retrieval time. This will be >> for File resources where you specify content via a 'source' parameter >> rat

[Puppet Users] Re: Puppet Environments with Hiera

2014-11-05 Thread jcbollinger
On Tuesday, November 4, 2014 9:33:06 AM UTC-6, Mark Rosedale wrote: > > So I'm setting up puppet environments. This is what I have in my > puppet.conf under the [master] section > environmentpath = $confdir/environments > > > > Now if I set environment inside the puppet.conf it will grab the >

[Puppet Users] Re: error master(amazon)-agent(local)

2014-11-05 Thread jcbollinger
On Tuesday, November 4, 2014 2:45:07 PM UTC-6, ghtp wrote: > > Hello friends. I'm having a hard time recovering a catalog for the first time > in a local agent with a master on amazon. Only the master is on Amazon. When > I use "puppet agent --test" he says "err: Could not retrieve catalog from

[Puppet Users] puppet 3.7.2 and using cloudstack_resources = need ruby 1.9.3 ... any help?

2014-11-05 Thread Luca Gioppo
I started by installing puppet (puppet master + puppetdb etc) from RPM (yum.puppet) on a CentOS 6.5. Since I want to test the "cloudstack_resource" module I saw that it needs fog and it needs ruby 1.9.3. So tried to install ruby 1.9.3 from repos (getting it from scl) and installed correctly

[Puppet Users] Could not connect to ActiveMQ Server - activemq for mcollective failing

2014-11-05 Thread Jeff Sparrow
I am trying to get mcollective running. Having issues with activemq. Here is it restarting, seems fine: [root@puppet activemq]# service activemq restart INFO: Loading '/etc/sysconfig/activemq' INFO: Using java 'java' INFO: Loading '/etc/sysconfig/activemq' INFO: Using java 'java' INFO: changing

Re: [Puppet Users] Starting with puppet

2014-11-05 Thread Thomas Hager
On 2014-11-05 07:43, elhay efrat wrote: Can someone please share PPT or Youtube link how to start with puppet ? Puppetlabs offers an excellent tutorial for Puppet beginners: https://docs.puppetlabs.com/learning/ https://docs.puppetlabs.com/learning/introduction.html I'd start there. Hth, Tom.

[Puppet Users] Starting with puppet

2014-11-05 Thread elhay efrat
Can someone please share PPT or Youtube link how to start with puppet ? -- 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 to puppet-users+unsubscr...@googlegroups.com