Re: [Puppet Users] Re: postrun command in windows

2014-07-03 Thread Rakesh Kathpal
Dear Josh, Thanks a lot for the update. I understand this seems to be a bug.. have seen the ticket open on this.. Wanted to know if there any workaround? Thanks & Regards, Rakesh K. On Fri, Jul 4, 2014 at 12:46 AM, Josh Cooper wrote: > > > > On Wed, Jul 2, 2014 at 11:26 AM, Rakesh Kathpal

Re: [Puppet Users] report all nodes that do NOT have a certain class assigned to them

2014-07-03 Thread Pete Brown
Hi Jay, Have you had a look at puppetdbquery? https://forge.puppetlabs.com/dalen/puppetdbquery On 25 June 2014 04:01, Jay Benner wrote: > Seems like this should be easy, but I am having a tough time sorting it out. > I am using PE 3.1 and I want to know which of my nodes are missing a certain

[Puppet Users] Re:

2014-07-03 Thread Zheng Bin
Hi, Frank May I ask you if your problem has been solved, as I'm now coming across the same issue with you. Thanks, Bin On Sunday, March 17, 2013 2:03:08 AM UTC+8, ureal frank wrote: > > Hi, > > I'm trying to setup a Puppet 3.1.1 (master) under NetBSD 6.0.1 > > I've installed Ruby 1.9.3 through

Re: [Puppet Users] "Each" loop issue

2014-07-03 Thread Henrik Lindberg
On 2014-03-07 23:00, martin.li...@gmail.com wrote: Hi Ellison, That's right. That seems to be the case. I've been googling around, and seems that the new parser has a different scope from where it can grab the variables. Sadly, I can't find the way to make it work. Should I include something spe

[Puppet Users] Re: Windows warning about source permissions

2014-07-03 Thread Michael Legleux
The directory already exists. Puppet master and agent are both 3.6.2 This is in the debug from the run on the agent. Debug: Using settings: adding file resource 'pluginfactdest': 'File[C:/ProgramData/PuppetLabs/puppet/var/facts.d]{:path=>"C:/ProgramData/PuppetLabs/puppet/var/facts.d", :ensure=>

Re: [Puppet Users] "Each" loop issue

2014-07-03 Thread martin . listz
Hi Ellison, That's right. That seems to be the case. I've been googling around, and seems that the new parser has a different scope from where it can grab the variables. Sadly, I can't find the way to make it work. Should I include something special in order to make the hiera variable availabl

Re: [Puppet Users] Puppet on Openelec

2014-07-03 Thread Thomas Bendler
That would be a hard task because a lot of prerequisites are not in the default build. So getting this up and running mean to recompile the base image which break the automatic upgrade feature. Better would be preparing the configuration per media box locally and use something like pssh to distribu

Re: [Puppet Users] Re: postrun command in windows

2014-07-03 Thread Josh Cooper
On Wed, Jul 2, 2014 at 11:26 AM, Rakesh Kathpal wrote: > Yes.. it works perfectly from commandline.. > On 2 Jul 2014 19:33, "Brahim Dagher" wrote: > >> Do you have success running 'puppet facts upload' from the command line? >> >> On Tuesday, July 1, 2014 7:38:40 AM UTC-4, Rakesh K wrote: >>> >>

Re: [Puppet Users] Query puppetdb from puppet manifest

2014-07-03 Thread Nan Liu
On Thu, Jul 3, 2014 at 12:00 PM, Schofield wrote: > What are most people using to query the puppetdb for data from within > puppet manifest files these days? Is there any thing official from > PuppetLabs to do this? > Best tool at the moment: https://github.com/dalen/puppet-puppetdbquery Nan

[Puppet Users] Query puppetdb from puppet manifest

2014-07-03 Thread Schofield
What are most people using to query the puppetdb for data from within puppet manifest files these days? Is there any thing official from PuppetLabs to do this? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and

Re: [Puppet Users] "Each" loop issue

2014-07-03 Thread Ellison Marks
That error means that the @server_roles variable is holding nil, as nil does not have an each method to call. Perhaps the new parser is evaluating things differently and not setting that variable. On Tuesday, July 1, 2014 5:25:15 PM UTC-7, martin...@gmail.com wrote: > > Henrik, Tristan, thanks f

[Puppet Users] Re: Service start and stop

2014-07-03 Thread jcbollinger
On Wednesday, July 2, 2014 8:33:08 AM UTC-5, Satish Katuru wrote: > > > Hi, > > Please see my init.pp file. > > First I am stopping the Jboss server and then deleting few folders,copying > files and then trying to start the service. > > When I place file copy statements it is not working. With o

[Puppet Users] Re: rpm exits 0 on scriptlet failure

2014-07-03 Thread jcbollinger
On Wednesday, July 2, 2014 9:51:10 AM UTC-5, Raul Macian wrote: > > I have a problem that starts to make me think that puppet is not usable to > install packages. I will explain: > > That's a whopper of a claim. Don't let any of the thousands of people who do use Puppet to install packages he

Re: [Puppet Users] Get puppet agents

2014-07-03 Thread Christopher Wood
Check the list of signed certs and read your puppetmaster logs (or check reports in /var/lib/puppet/reports, or check reports in puppetdb) to see when they last checked in. puppet cert list -a http://docs.puppetlabs.com/guides/reporting.html On Thu, Jul 03, 2014 at 06:29:19AM -0700, Yugank Pan

[Puppet Users] Get puppet agents

2014-07-03 Thread Yugank Pandey
Is there any way that all the puppet agents that are connected to a puppet master (or any server that they are getting their configuration from) be determined from the puppet master ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscr

Re: [Puppet Users] Regarding Service elements in init.pp

2014-07-03 Thread Christopher Wood
In your place I would merge those two into a single init script with the usual lsb-ish start+stop+restart+status that puppet's service type/provider expects. They both control the same service and thus should be defined in a single resource. On Thu, Jul 03, 2014 at 05:53:01AM -0700, Satish Katu

[Puppet Users] Re: how to force an error

2014-07-03 Thread jcbollinger
On Thursday, July 3, 2014 5:21:33 AM UTC-5, Jose Luis Ledesma wrote: > > Hi, > >Does exist some way to force a error while applying the catalog? We > need to check some facts vs configuration and force an error if doesnt' > match, so we could have a report from the node in the puppetdb wit

[Puppet Users] schedule module according to certain server

2014-07-03 Thread Andreas Dvorak
Dear all, I have a modul to install the apache webserver and I have server with different maintainance time frames. So I can not create a schedule in the apache modul to install it a a certain time. Is it possible to combine the include apache with a schedule. For example the profile of server a

[Puppet Users] Regarding Service elements in init.pp

2014-07-03 Thread Satish Katuru
Hi , My init.pp has two service elements like below: class httpd { service{ "startjavaservice.sh": ensure => "running", } service{ "stopjavaservice.sh": ensure =>"stopped", } } First one is for starting Java service and the second one is for stopping the same service. *Problem:* When it ha

Re: [Puppet Users] how to force an error

2014-07-03 Thread Ken Barber
>Does exist some way to force a error while applying the catalog? We need > to check some facts vs configuration and force an error if doesnt' match, so > we could have a report from the node in the puppetdb with the failed state. > (we cannot use a compilation/evaluation error because it does

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-07-03 Thread Thomas Bendler
​Also from my side, congratulations, I bought the ebook and start reading it, so far, excellent, even for people with strong puppet knowledge. Regards Thomas​ 2014-07-03 11:23 GMT+02:00 Alessandro Franceschi : > Thank you Johan and thank you all for the encouraging words. > This is the first "l

[Puppet Users] where to configure proxy settings

2014-07-03 Thread robert api
hi there, i'm currently trying to setup a automated update deliverysystem for a little program we develop. in order to do that efficiently i was tasked to evaluate possible solutions and landed at puppets doorstep. i wrote a small manifest that should do the trick (and it mostly does) and know

[Puppet Users] how to force an error

2014-07-03 Thread Jose Luis Ledesma
Hi, Does exist some way to force a error while applying the catalog? We need to check some facts vs configuration and force an error if doesnt' match, so we could have a report from the node in the puppetdb with the failed state. (we cannot use a compilation/evaluation error because it doe

Re: [Puppet Users] New Puppet book: Extending Puppet

2014-07-03 Thread Alessandro Franceschi
Thank you Johan and thank you all for the encouraging words. This is the first "live" feedback I receive and it's promising. I just would like to notify that the publisher Packt Publishing has promoted a small contest about it: whoever tweets something funny or interesting about the book, or why

Re: [Puppet Users] Re: Forge doesn't work reliably for me

2014-07-03 Thread Jonathan Gazeley
Thanks Jesse, much appreciated. I'm now following the bug in Jira. Cheers, Jonathan On 02/07/14 21:23, Jesse Scott wrote: This appears to be a bug with how we report that you already have the latest available version for modules that only have a single release. I've opened a ticket in our bug

[Puppet Users] Re: Hiera variables working only with explicit mode

2014-07-03 Thread Louis Coilliot
Hello, it's working now on a new test, it must have been a human error on the previous test because I didn't change anything in the configuration. Dont acte. Louis Coilliot 2014-07-02 18:20 GMT+02:00 Louis Coilliot : > Hello, > > with a puppet master version 3.5, I only get hiera override if I