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

2014-04-17 Thread Nikola Petrov
On Tue, Apr 15, 2014 at 06:46:21AM -0700, Alexander Fortin wrote: 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

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

2014-04-17 Thread Felix Frank
On 04/17/2014 09:06 AM, Nikola Petrov wrote: Of course we want to start using beaker for those kind of tests so we don't push crap on the bear metal(although it is not metal most of the time) ...but usually just bears. ;-D (Yeah I know. Sorry. It is just such a cute typo that I couldn't

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

2014-04-17 Thread Nikola Petrov
:D. Too fast for da bears. On Thu, Apr 17, 2014 at 09:46:18AM +0200, Felix Frank wrote: On 04/17/2014 09:06 AM, Nikola Petrov wrote: Of course we want to start using beaker for those kind of tests so we don't push crap on the bear metal(although it is not metal most of the time) ...but

Re: [Puppet Users] Re: Change to issue tracking for Forge PL Module projects

2014-04-17 Thread Jason Antman
Is there any update on the timeline for Module issue migration to Jira? I opened https://github.com/puppetlabs/puppetlabs-mcollective/issues/124 at the beginning of March. This has now become more important to me, so I was going to look up my issue description and try to submit a PR (it should be

[Puppet Users] Re: Hiera arry into ERB template

2014-04-17 Thread Sans
Thanks guys for the explanation; worked just fine. Is there any other good hiera documentation apart from the one in Puppetlab doc? -San On Wednesday, April 16, 2014 6:59:27 PM UTC+1, jcbollinger wrote: On Wednesday, April 16, 2014 11:31:53 AM UTC-5, Sans wrote: Hi there, Trying to

[Puppet Users] Serious performance issues with Puppet 3.5.x when using Directory Environments

2014-04-17 Thread Antoine Cotten
Dear Puppet Users community, I would like to report an issue I experience since the first release of Puppet 3.5, and possibly get some input from people who face the same problem (if any). I run a Puppet environment in which all 48 nodes run CentOS 6.5. I have been using config file-based

[Puppet Users] Nodes in Environments can't post reports

2014-04-17 Thread Jareth Kulmark
Hi, I am employing a puppetmaster version 3.x and I have not been able to receive reports from nodes in environments other than production. All other aspects of environments function to my satisfaction. All affected clients report: Error: Could not send report: Error 400 on SERVER: Could not

[Puppet Users] Re: Different modes for directory, contents?

2014-04-17 Thread jcbollinger
On Wednesday, April 16, 2014 7:06:53 AM UTC-5, Bret Wortman wrote: Is there a simple way to enforce a different mode for a directory and its contents when the contents of the directory are highly variable? What I mean is that I've got a case where some developers want a directory

[Puppet Users] Re: file: square bracket in template

2014-04-17 Thread Laurent CREPET
Le mercredi 16 avril 2014 19:42:40 UTC+2, jcbollinger a écrit : To the best of my knowledge, square brackets appearing in ERB template text have no special meaning to ERB. They are just copied verbatim to the output. I suspect that you have written something like file {

Re: [Puppet Users] Re: Different modes for directory, contents?

2014-04-17 Thread Bret Wortman
Doesn't this also make the directory itself 644 instead of 755? Maybe I need to play around with it a bit more. *Bret Wortman* http://about.me/wortmanbret On Thu, Apr 17, 2014 at 9:17 AM, jcbollinger john.bollin...@stjude.orgwrote: On Wednesday, April 16, 2014 7:06:53 AM UTC-5, Bret

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

2014-04-17 Thread Jim Donnellan
John, Thanks so much; this worked as expected. -- 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. To view this

[Puppet Users] API

2014-04-17 Thread Marcio Ordoñez
Hello Do you know why I get 404 erro on GET? curl -u user:password -k -H 'Accept: s' https://puppet.mydomain.com.br/certificate/ca auth.config file contains path / auth any allow * Thanks -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] How to use facter variable in node definition?

2014-04-17 Thread Pawel Kilian
Hi, I want to use facter scope variable to use in my manifest files for puppet for now i have something like this: node 'web-server' { .. .. } I want to be able to use if/case definition to define nodes root@ip-10-187-40-216:~# facter -p system_role app-server root@ip-10-187-40-216:~# so

Re: [Puppet Users] How to use facter variable in node definition?

2014-04-17 Thread José Luis Ledesma
Remove the node word and you have it if $::system_role == app-server { .. ... include default; } Regards, El 17/04/2014 20:46, Pawel Kilian pawelkil...@gmail.com escribió: Hi, I want to use facter scope variable to use in my manifest files for puppet for now i have something like this:

[Puppet Users] Re: Serious performance issues with Puppet 3.5.x when using Directory Environments

2014-04-17 Thread Eric Sorenson
Hi Toni, this is an interesting report -- can you please run a client against the server with profiling enabled and post the output from the master? Instructions are here: http://docs.puppetlabs.com/pe/latest/trouble_puppet.html#improving-profiling-and-debugging-of-slow-catalog-compilations

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

2014-04-17 Thread Felix Frank
Hi, On 04/16/2014 06:10 PM, Jim Perry wrote: Thanks. I am still learning Ruby so I will look into accessors in more detail. Sure, but note that those aren't the important point. Sticking to @resource should work just as well. What I am trying to do is call the HPUX provider and use it to set

Re: [Puppet Users] Same methods in two providers - how to optimize it?

2014-04-17 Thread Felix Frank
Hi, you received an answer from Nan on the dev list, and that was pretty much spot on I think (yay Nan:) I would only add that for the types, you may want to take a look at how the ensure property and the ensurable method are implemented. If it's worthwile, you could try and duplicate that for

[Puppet Users] Announcing our new quest based Learning VM

2014-04-17 Thread Ben Ford
Hi, We just rolled out the new and improved Learning VM — now with fun quests to learn Puppet at your own pace. If you've been meaning to explore the technology in depth, now you can do so with a series of detailed, multi-step quests. The Learning VM covers topics such as: accessing the Puppet

[Puppet Users] Type 0 is not supported error running puppet resource package with 3.4.3 agent on Server 2003

2014-04-17 Thread Ron Bentley
After right at a hundred successful agent installs on a very heterogeneous mix of Server 2003 and Server 2008, I've encountered one machine that doesn't want to cooperate. The problem agent is the open source Puppet 3.4.3 MSI running on Server 2003. I run puppet resource package and I get

Re: [Puppet Users] Same methods in two providers - how to optimize it?

2014-04-17 Thread Jakov Sosic
On 04/17/2014 10:45 PM, Felix Frank wrote: Hi, you received an answer from Nan on the dev list, and that was pretty much spot on I think (yay Nan:) I would only add that for the types, you may want to take a look at how the ensure property and the ensurable method are implemented. If it's

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

2014-04-17 Thread Kylo Ginsberg
On Tue, Apr 15, 2014 at 9:20 AM, David Portabella david.portabe...@gmail.com wrote: 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) If you run 'bundle exec rake

Re: [Puppet Users] API

2014-04-17 Thread Kylo Ginsberg
On Thu, Apr 17, 2014 at 6:30 AM, Marcio Ordoñez marcio.ordo...@gmail.comwrote: Do you know why I get 404 erro on GET? curl -u user:password -k -H 'Accept: s' https://puppet.mydomain.com.br/certificate/ca By default the puppetmaster listens on port 8140. So you might try: curl -k -H