Re: [Puppet Users] Filebucket

2014-10-30 Thread Garrett Honeycutt
On 10/30/14 12:01 AM, Tom Tucker wrote: Hello. I have a file bucket question. I believe I have file bucket configured correctly. I am able to backup a change file and restore it My question is how do get a list of files for a particular host or revisions for a particular file. Thanks

[Puppet Users] Set Home environment at runtime

2014-10-30 Thread shashank
Hi, Require to execute some puppet commands on puppet server i.e master node eg: puppet resource user or puppet cert clean pclient. While trying to execute these commands through generate() I am continuously getting error i.e Error: Could not initialize global default settings: couldn't find

[Puppet Users] Re: beaker test fails to resolve agent roles, works if role is master/database

2014-10-30 Thread Manish Sapariya
Josh, Thanks for the clarification. Now that I look closely at the Beaker wiki I see call as on agents do something For some reason I missed and assume that on agent should work. I think confusion was from this sample from wiki = manifest = file {

[Puppet Users] Re: beaker test fails to resolve agent roles, works if role is master/database

2014-10-30 Thread Manish Sapariya
Yes kevin, I am using acceptance tests using beaker-rspec. beaker (1.19.1) beaker-rspec (3.0.0) By the way, now that Josh clarified I understand why agent did not work. Thanks for sparing time though to look at the problem. :-) Regards, Manish On Tuesday, October 28, 2014 11:57:07 PM

[Puppet Users] Upgrading ruby to 2.1.x - paranoid question

2014-10-30 Thread JonY
Would like to upgrade Ruby to the latest. To make everything on my puppet server happy I need to remove the Ruby 1.8.7 that YUM installed. When I run 'yum erase ruby' it looks like it will also remove puppet, puppetdb, and so on. If I follow through with this: - will a reinstall of puppet and

[Puppet Users] Re: Custom / nested resource types - crackpot ideas

2014-10-30 Thread jcbollinger
On Wednesday, October 29, 2014 8:48:56 AM UTC-5, JonY wrote: Is it (reasonably) feasible to add new resource types? I don't want to disassemble the whole code base but if there is a known path to this I'd like to read about it. Yes. 1. Defined types

Re: [Puppet Users] Puppet, inventory, and single sources of truth.

2014-10-30 Thread Ohad Levy
On Thu, Oct 30, 2014 at 2:28 AM, Robin Lee Powell rlpow...@digitalkingdom.org wrote: On Wed, Oct 29, 2014 at 02:09:25AM -0700, Gavin Williams wrote: Sounds like The Foreman [1] might be a good option if you want to manage 'should', not 'is'... [1] http://theforeman.org/ *nod* Thanks,

Re: [Puppet Users] Does Puppet restart a failed service by default?

2014-10-30 Thread jcbollinger
On Wednesday, October 29, 2014 3:31:35 PM UTC-5, Josh Holland wrote: On Wed, 29 Oct 2014, at 08:24 PM, shaunington wrote: My question is: If sshd dies will the puppet agent (v2.7.x) restart sshd the next time it runs on the client? Yes. More verbosely, this bit service { 'sshd':

[Puppet Users] Re: puppet is the best tool for the following operations?

2014-10-30 Thread jcbollinger
On Wednesday, October 29, 2014 9:50:30 AM UTC-5, Diego Lagos wrote: Hello everyone, I ask you a hand to better understand if puppet is the right tool to use in my company. I had the task of carrying out an exploratory survey of puppet and this is a short summary of the various tasks

[Puppet Users] Re: Filesystem mounting in sequence with puppet

2014-10-30 Thread jcbollinger
On Wednesday, October 29, 2014 11:15:45 AM UTC-5, amogh patel wrote: Hi Puppet Users, I've a requirement to create filesystem and mount 10 disks. For that, I've created this define and calling that define with hash. I need to mount these disks in sequence like below: Why does the

[Puppet Users] How to get package version to use it in template ?

2014-10-30 Thread Alexandre Barth
Hello ! I have a problem generating different configuration in a template depending on package version installed. For example, in my httpd module, i'd like to generate configuration using Order, Allow from and Deny from if httpd 2.4 and Require ip if httpd 2.4. I know i can create custom

[Puppet Users] Re: Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true

2014-10-30 Thread Daniel Obi
Even if the puppetmaster webserver is shutdown, i still get the same error Am Donnerstag, 30. Oktober 2014 15:21:48 UTC+1 schrieb Daniel Obi: Greetings, we just installed puppetmaster 3.7.1 and trying to join a new agent 3.7.1 with the following error: puppet agent -t --trace --debug

[Puppet Users] Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true

2014-10-30 Thread Daniel Obi
Greetings, we just installed puppetmaster 3.7.1 and trying to join a new agent 3.7.1 with the following error: puppet agent -t --trace --debug Error: Could not request certificate: Find /devops/certificate/ca?fail_on_404=true resulted in 404 with the message: Not Found: Could not find

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

2014-10-30 Thread Georgi Todorov
Hi group, We have a VM with 24 E7-8857 v2 @ 3.00GHz cores and 32G of ram (on big ESX hosts and fast backend) that is our foreman/puppetmaster with the following tuning params: Passanger: PassengerMaxRequests 1 PassengerStatThrottleRate 180 PassengerMaxRequestQueueSize 300

[Puppet Users] Exported resources from multiple sources?

2014-10-30 Thread Atom Powers
Is it possible, and how, to collect exported resources from multiple puppetdb sources? I have a network which, for policy reasons, can not connect back into the main network but the main network can connect into the partitioned network. I have a stand-alone puppet master in the partitioned

Re: [Puppet Users] Exported resources from multiple sources?

2014-10-30 Thread Nick Cammorato
I don't see why you couldn't write a hiera backend to do exactly this. The current puppetdb hiera backend wouldn't be too hard to modify to do it I don't think. --Nick On Thu, Oct 30, 2014 at 12:36 PM, Atom Powers atom.pow...@gmail.com wrote: Is it possible, and how, to collect exported

Re: [Puppet Users] Upgrading ruby to 2.1.x - paranoid question

2014-10-30 Thread Ramin K
On 10/30/14 4:43 AM, JonY wrote: Would like to upgrade Ruby to the latest. To make everything on my puppet server happy I need to remove the Ruby 1.8.7 that YUM installed. When I run 'yum erase ruby' it looks like it will also remove puppet, puppetdb, and so on. If I follow through with this:

Re: [Puppet Users] Upgrading ruby to 2.1.x - paranoid question

2014-10-30 Thread Riley Shott
Hey Jon, The Puppet package you install from yum will be tied to the system's version of Ruby, and I wouldn't recommend uninstall that (i.e. Ruby). If you're interested in running Puppet on a newer version of Ruby check out my puppet_stack module:

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

2014-10-30 Thread Ramin K
On 10/30/14 7:45 AM, Georgi Todorov wrote: Hi group, We have a VM with 24 E7-8857 v2 @ 3.00GHz cores and 32G of ram (on big ESX hosts and fast backend) that is our foreman/puppetmaster with the following tuning params: Passanger: PassengerMaxRequests 1 PassengerStatThrottleRate 180

Re: [Puppet Users] Re: Filesystem mounting in sequence with puppet

2014-10-30 Thread amogh patel
Thanks, John. It did help. I was wondering if we can somehow use an array of these hashes so that we don't have to use require. On Thu, Oct 30, 2014 at 9:05 AM, jcbollinger john.bollin...@stjude.org wrote: On Wednesday, October 29, 2014 11:15:45 AM UTC-5, amogh patel wrote: Hi Puppet Users,

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

2014-10-30 Thread Christopher Wood
On Thu, Oct 30, 2014 at 10:39:22AM -0700, Ramin K wrote: On 10/30/14 7:45 AM, Georgi Todorov wrote: Hi group, We have a VM with 24 E7-8857 v2 @ 3.00GHz cores and 32G of ram (on big ESX hosts and fast backend) that is our foreman/puppetmaster with the following tuning params: Passanger:

[Puppet Users] 3.4 client w/ 3.7 master

2014-10-30 Thread Bernard Clark
Will I have any trouble upgrading a puppetmaster to the latest 3.7 but keeping some of the puppet agents at 3.4.3? 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

[Puppet Users] Using Augeas in puppet to modify JBoss Config

2014-10-30 Thread Jackie McIntyre
Hello Everyone, I'm new to both puppet and Augeas and I'm having trouble. I have a puppet module that installs JBoss EAP 6.3 (in standalone mode), but I need to upgrade the scripts to allow users to configure their JBoss deployment with SSL. This leads me to try and use puppet to insert some

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

2014-10-30 Thread Garrett Honeycutt
On 10/30/14 10:45 AM, Georgi Todorov wrote: Hi group, We have a VM with 24 E7-8857 v2 @ 3.00GHz cores and 32G of ram (on big ESX hosts and fast backend) that is our foreman/puppetmaster with the following tuning params: Passanger: PassengerMaxRequests 1 PassengerStatThrottleRate

Re: [Puppet Users] 3.4 client w/ 3.7 master

2014-10-30 Thread Matthaus Owens
Bernard, I'm not aware of any issues with 3.x agents talking to a 3.7 master. It should just work. On Thu, Oct 30, 2014 at 11:32 AM, Bernard Clark berniecla...@gmail.com wrote: Will I have any trouble upgrading a puppetmaster to the latest 3.7 but keeping some of the puppet agents at 3.4.3?

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

2014-10-30 Thread Georgi Todorov
Chris, I sleep very well :). Our master is hourly backed up (the entire vm) and all configs go though git. Redeploying/restoring the master should be fairly quick (I have not tried though). Also, the way we use puppet, if it is down, it is no harm really. Only needed to push changes, which we

Re: [Puppet Users] 3.4 client w/ 3.7 master

2014-10-30 Thread Johan De Wit
On 30/10/14 21:00, Matthaus Owens wrote: Bernard, I'm not aware of any issues with 3.x agents talking to a 3.7 master. It should just work. On Thu, Oct 30, 2014 at 11:32 AM, Bernard Clark berniecla...@gmail.com wrote: Will I have any trouble upgrading a puppetmaster to the latest 3.7 but

Re: [Puppet Users] Custom / nested resource types - crackpot ideas

2014-10-30 Thread Felix Frank
Hi, +1 to John, you're thinking of some wheels to reinvent. On 10/29/2014 02:48 PM, JonY wrote: Is it (reasonably) feasible to add new resource types? I don't want to disassemble the whole code base but if there is a known path to this I'd like to read about it. Some thoughts:It strikes me

Re: [Puppet Users] Puppet Explorer 1.2.0 released

2014-10-30 Thread Walid
Hi Erik, What was the largest practical number of nodes tested against it, or configured. Best regards, Walid On 26 August 2014 16:04, Erik Dalén da...@spotify.com wrote: A new release of Puppet Explorer is out. It includes a new look which you can check out at the new public demo site:

[Puppet Users] Announce: Facter 2.3.0

2014-10-30 Thread Will Hopper
Facter 2.3.0 is a backward-compatible features-and-fixes release in the Facter 2 series. Included in this release are new or improved fact resolutions for several operating systems and expanded support for some existing facts. In addition, several facts now return a more appropriate data type,

[Puppet Users] puppetlabs/activemq module

2014-10-30 Thread John Anderson
I'm fairly sure that puppetlabs uses their activemq module internally to manage the activemq component of mcollective. I'm interested in contributing an ActiveMQ module myself, one that is for more general use. I'm not sure if I should contribute and expand the functionality of PuppetLabs

[Puppet Users] ENC - what does 'error 1' mean?

2014-10-30 Thread JonY
Im recoding an ENC in ruby (from Perl). The new version gives me the error: Oct 30 18:03:25 serv puppet-master[29051]: Failed when searching for node nodexx: Failed to find nodexx via exec: Execution of 'path-to-enc nodexx' returned 1: What I've checked: - both can be run under the 'puppet'

Re: [Puppet Users] puppetlabs/activemq module

2014-10-30 Thread Ryan Coleman
On Thu, Oct 30, 2014 at 5:51 PM, John Anderson ja391...@gmail.com wrote: I'm fairly sure that puppetlabs uses their activemq module internally to manage the activemq component of mcollective. I'm interested in contributing an ActiveMQ module myself, one that is for more general use. I'm not

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

2014-10-30 Thread Garrett Honeycutt
On 10/30/14 4:32 PM, Georgi Todorov wrote: Chris, I sleep very well :). Our master is hourly backed up (the entire vm) and all configs go though git. Redeploying/restoring the master should be fairly quick (I have not tried though). Also, the way we use puppet, if it is down, it is no harm