[Puppet Users] Re: puppet-lint questions

2014-04-15 Thread Alexander Fortin
On Monday, April 14, 2014 7:16:39 PM UTC+2, Daniele Sluijters wrote: Sometimes things don't become more legible if you're forced to break it off somehow at 80 chars. We still try very hard to respect the 80 chars but sometimes, we go over it. Just a note on the 80 chars limitation: in the

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Sven Sporer
Hey Alexander, you could also check out serverspec[1] for acceptance tests. It provides simple RSpec tests for your server with a lot of puppet-like matchers, but it's not tied to Puppet (heresy! :). We use it to validate our modules and are very happy with it. Sven [1]

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Nikola Petrov
On Mon, Apr 14, 2014 at 07:05:49AM -0700, Alexander Fortin wrote: On Sunday, April 13, 2014 11:57:19 AM UTC+2, Johan De Wit wrote: I still am so surprised when asking who is doing some kind of 'testing', almost nobody raises is hand . Most people just don't' see the sense of doing

[Puppet Users] puppet agent on customer nodes

2014-04-15 Thread Martin Willemsma
I was wondering if any of you had experience with running a puppet agent on a machine owned by a customer. The customer in this case has root access on his own machine and the puppet agent is managed by me because I like to manage resources on his node. These resources can be - an account for

Re: [Puppet Users] puppet agent on customer nodes

2014-04-15 Thread Craig Dunn
I wouldn't even try to run two agent packages on the same node. But there may be ways to configure one agent to do both tasks. As far as I see it, your customer could run in masterless puppet apply mode right out of the box, but would risk managing resources that you are also managing therefore

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Felix Frank
On 04/15/2014 09:25 AM, Nikola Petrov wrote: I haven't used catalog-diff but I am suspecting that it might be a substitute for the rspec tests. Tell me No. rspec allows you to implement unit tests to catch certain regression bugs. catalog-diff is rather concerned with integration testing

Re: [Puppet Users] puppet agent on customer nodes

2014-04-15 Thread Felix Frank
Hi, technically it's quite possible to have two or more disjoint sets of $confdir,$vardir,... each for a separate agent process. Their respective Puppet version depends on the respective ruby search path. That being said, I agree with Craig that this is likely more trouble than it's worth,

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-15 Thread Felix Frank
On 04/14/2014 06:37 PM, Jim Perry wrote: Not yet. I don't have it working and I was asking how to get our data for troubleshooting it first. I see, well, this is unfortunate - debugging this (or even comparing it to working code) will be nigh impossible without looking at your concrete status.

Re: [Puppet Users] Re: Announce: Puppet Enterprise 3.2.1 is available

2014-04-15 Thread Lars Wilke
Hi, * Thomas Willert wrote: Your download server seem to be missing the pe-puppet* SRPM files for though: http://downloads.puppetlabs.com/enterprise/sources/3.2.1/sles/11/ This is also the case for 3.2.0 it seems? :( For the 3.1.x release the pe-puppet* srpms were there. Is this on

[Puppet Users] Re: Referencing a value from one level to another.

2014-04-15 Thread jcbollinger
On Monday, April 14, 2014 1:41:42 PM UTC-5, Jim Donnellan wrote: Puppeteers, I'm trying to get something done in puppet/hiera, and I'm curious if it's possible. A bit of background: We're using puppet and hiera to build out and maintain Apache Solr, and we're using Solr in a cloud

[Puppet Users] Failed running the puppet tests: bundle exec rake spec

2014-04-15 Thread David Portabella
Hi, I need to build and run the specs on puppet, before I can send a pull request: https://github.com/puppetlabs/puppet/pull/2489 here it explains how to set up a machine with the dependencies for building puppet: https://github.com/nespresso/puppet/blob/master/docs/quickstart.md I've used a

Re: [Puppet Users] Slides TDD with puppet - puppetcamp paris yesterday

2014-04-15 Thread Alexander Fortin
On Tuesday, April 15, 2014 1:10:05 PM UTC+2, Felix.Frank wrote: On 04/15/2014 09:25 AM, Nikola Petrov wrote: I haven't used catalog-diff but I am suspecting that it might be a substitute for the rspec tests. Tell me No. rspec allows you to implement unit tests to catch certain

[Puppet Users] Re: Need help optimizing our Puppet module

2014-04-15 Thread Harrison Ripps
For those who are interested, here is the PR that I am planning to merge based on your feedback. I teamed up with a Puppet superstar at my office to pull this together. Any other comments that you have before I merge this are certainly welcome!

[Puppet Users] Custom fact working, but not on the puppetmaster

2014-04-15 Thread Bob Hoekstra
This has me confused - please advise. Using open source puppet on AWS instances. Info is dumped into user-data at creation of the instances, and a custom fact reads this so that puppet can configure the instance depending on the content. So far so good. The fact: # cat

Re: [Puppet Users] puppet class require fails depending on declaration order

2014-04-15 Thread Felix Frank
On 04/15/2014 04:21 PM, David Portabella wrote: for a java/scala software developer like me, this does not look a good, because it makes it more difficult to unit test. maybe with puppet it is easy to build and pass different hiera data for unit testing? Sure, that shouldn't be (much) worse

Re: [Puppet Users] Failed running the puppet tests: bundle exec rake spec

2014-04-15 Thread David Portabella
ok,thanks. I've added more memory to the virtual machine, and now it works. 19753 examples, 0 failures, 86 pending (although I still get one Cannot allocate memory error) I've created a gist, in case anyone is interested https://gist.github.com/dportabella/10744999 Regards, David On

Re: [Puppet Users] puppet class require fails depending on declaration order

2014-04-15 Thread jcbollinger
On Tuesday, April 15, 2014 9:21:38 AM UTC-5, David Portabella wrote: Ok, I see. Thanks for all this discussion! No, you *never* need to use parameterized classes. If you are determined to avoid resource-like class declarations, then you can replace each parameterized class in your

[Puppet Users] Announce: Puppet Enterprise 3.2.2 is now available

2014-04-15 Thread Melissa Stone
Dear Puppet Enterprise Users, Puppet Enterprise 3.2.2 is now available. This is a security and bugfix release of Puppet Enterprise. All users of Puppet Enterprise 3.x are encouraged to upgrade when possible to Puppet Enterprise 3.2.2 Puppet Enterprise 3.2.2 includes fixes to address

[Puppet Users] Announce: Puppet Enterprise 2.8.6 is now available

2014-04-15 Thread Ryan McKern
Dear Puppet Enterprise Users, Puppet Enterprise 2.8.6 is now available. This is a security and bugfix release of Puppet Enterprise. All users of Puppet Enterprise 2.x are encouraged to upgrade when possible to Puppet Enterprise 2.8.6 Puppet Enterprise 2.8.6 includes fixes to address

[Puppet Users] Re: Delivery Status Notification (Failure)

2014-04-15 Thread Ryan McKern
Apologies. In the process of preparing the 2.8.6 announcement, I mistakenly left out the link for Remediation for Recovering from the Heartbleed Bug. That link is available here: http://docs.puppetlabs.com/trouble_remediate_heartbleed_overview.html On Tue, Apr 15, 2014 at 10:40 AM, Mail

[Puppet Users] Could not find terminus console for indirection node

2014-04-15 Thread triceras
Hi All, I was running puppet agent manually on a node when suddenly all the puppet node executions started to fail with the following error message displayed: *Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node bat02-shr.pexa: Could

Re: [Puppet Users] Setting validproperties fields in provider modules

2014-04-15 Thread James Perry
The HPUX code I am trying to modify is already in the existing Puppet code base at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/user/hpux.rb. The functionality I am trying to use is to set the value of a specific property so that I can specify the commands to run