Re: [Puppet Users] Re: exec onlyif not working properly

2011-07-23 Thread vagn scott
On 07/24/2011 01:40 AM, John Martin wrote: You must add a second grep to ignore it. the idiom is to use a trivial character class: unless => "/bin/ps -aux | /usr/bin/grep '/[d]ata/service'", -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

[Puppet Users] Re: exec onlyif not working properly

2011-07-23 Thread John Martin
I believe your issue is that your grep command will ALWAYS return 0 since it will see it's one process in the process list. You must add a second grep to ignore it. Try the following: unless => "/bin/ps -aux |/usr/bin/grep '/data/service' | grep -v grep" -John -- You received

Re: [Puppet Users] Puppet/facter and update reporting

2011-07-23 Thread Jacob Helwig
On Fri, 22 Jul 2011 19:28:37 -0700, Khoury wrote: > > Hi All, > > Does anyone have any experience with debian/ubuntu and or OS X with > regard to reporting on updates? I'm interested in getting update > (specifically security) states for compliance (SOX, PCI, etc) > purposes. I know there's space

Re: [Puppet Users] Dashboard not retrieving inventory

2011-07-23 Thread Khoury Brazil
On Fri, Jul 22, 2011 at 10:44 PM, Nick Lewis wrote: > On Fri, Jul 22, 2011 at 10:27 PM, Khoury Brazil > wrote: >> Hi All, >> >> Puppet-dashboard appears to be having some trouble. Under inventory, it says: >> "Could not retrieve facts from inventory service: Permission denied - >> certs/dashboar

[Puppet Users] Re: Node or site.pp for global variables without dynamic lookup

2011-07-23 Thread rvlinden
Thanks vagn, Will have a look at your suggestion On Jul 24, 1:14 am, vagn scott wrote: > Node scope is not global scope.  But, more interesting: > > On 07/23/2011 04:18 PM, rvlinden wrote: > > > I really love the way I can inherit from nodes and define new or > > overrule existing variables. > >

Re: [Puppet Users] Node or site.pp for global variables without dynamic lookup

2011-07-23 Thread vagn scott
Node scope is not global scope. But, more interesting: On 07/23/2011 04:18 PM, rvlinden wrote: I really love the way I can inherit from nodes and define new or overrule existing variables. I have been experimenting with puppet 2.7.1. It turns out that parameterized classes can inherit fro

[Puppet Users] Node or site.pp for global variables without dynamic lookup

2011-07-23 Thread rvlinden
Hi all, I am working on rewriting my entire puppet environment and try to 'fix' 'Dynamic lookup' as it will be deprecated in some time, but even after reading quite some docs and on the forum, it's not really clear to me. What I have read so far, is that each variable must be fully-qualified or p

Re: [Puppet Users] Error 400 on SERVER:

2011-07-23 Thread KarthiKeyan. Kesavan
Hi Alex, Thanks a lot. version differrent is the issue. Thanks a lot. Regards chebrian On Sat, Jul 23, 2011 at 5:46 PM, Alexander Bien wrote: > Could not retrieve catalog from remote server: Error 400 on SERVER: No >> support for http method POST >> err: Could not retrieve catalog; skipping

Re: [Puppet Users] Error 400 on SERVER:

2011-07-23 Thread Alexander Bien
Could not retrieve catalog from remote server: Error 400 on SERVER: No support for http method POST err: Could not retrieve catalog; skipping run Wild guess: Please check if your client is running a later version of puppet than the server. This error happened to me when my clients where upgrad

[Puppet Users] Error 400 on SERVER:

2011-07-23 Thread KarthiKeyan. Kesavan
Hi , I am getting the following error while running the puppetd --test command . [upto key signing there is no problem] Could not retrieve catalog from remote server: Error 400 on SERVER: No support for http method POST err: Could not retrieve catalog; skipping run Please let me know if you nee