[Puppet Users] Re: error running puppetrun

2010-12-07 Thread Himanshu Raina
Hi, Is there anyone who can help in this regard ?? On Mon, Dec 6, 2010 at 7:00 PM, Himanshu Raina wrote: > Hi, > > Any help in this regard would be appreciated. Also, when I run the > puppetmasterd > with --verbose --no-daemonize --debug mode I get the following output > > debug: Creating defau

Re: [Puppet Users] Re: error running puppetrun

2010-12-07 Thread James Louis
I'm kind of new at all this too but has something been changed recently on the server(s) or the network? It looks like there might be a problem with accessing network information. On Tue, Dec 7, 2010 at 5:35 AM, Himanshu Raina wrote: > Hi, > > Is there anyone who can help in this regard ?? > > On

Re: [Puppet Users] Converting to Ruby DSL

2010-12-07 Thread Martijn Grendelman
Hi, I'm sorry, this may not be the response you are waiting for. Unfortunately, I have only questions to add... > I'm experimenting with converting some of my live puppet content to > Ruby DSL and have found a few gaps I wouldn't mind some advice on. I'm > not sure how many of you have already ex

[Puppet Users] Re: File not found during puppet fileserving

2010-12-07 Thread jcbollinger
On Dec 6, 5:21 pm, Stefan Schulte wrote: > On Mon, Dec 06, 2010 at 01:54:40PM -0800, jcbollinger wrote: > > Try changing the URL to this: > > > puppet:///bash/bash_profile > > > That is, drop the "modules" part of the path. > > Are you sure? IIRC this is > deprecatedhttp://docs.puppetlabs.com/g

[Puppet Users] Re: Certificate verify failed

2010-12-07 Thread Kikanny
I've tried all of the steps you outlined, and still nothing. I also checked the certificates the subject lines match the hostnames. I'm out of ideas. This has been frustrating me for the past two days :( On Dec 6, 6:00 pm, Stefan Schulte wrote: > On Mon, Dec 06, 2010 at 12:13:37PM -0800, Kikanny

[Puppet Users] Re: File not found during puppet fileserving

2010-12-07 Thread jcbollinger
On Dec 7, 8:11 am, jcbollinger wrote: > that makes a lot more sense then having to > put some arbitrary portion of the server's path _to the module_ into > the URL. But of course, that's not what the "modules" bit is actually intended to mean (sorry). Obviously, the file serving docs and the F

Re: [Puppet Users] Converting to Ruby DSL

2010-12-07 Thread Dan Bode
It is unfortunately only documented in the release notes. facts are accessed as follows: node 'default' do file '/tmp/one', :content => Facter[:operatingsystem].value end On Tue, Dec 7, 2010 at 6:05 AM, Martijn Grendelman wrote: > Hi, > > I'm sorry, this may not be the response you are

Re: [Puppet Users] custom functions in standalone mode

2010-12-07 Thread Felix Frank
On 11/29/2010 02:23 PM, Gergely Paljak wrote: > Hi, > > I am fairly new to puppet, and my question would be: > > - is it possible to write new function and use them in standalone mode? > According to > http://projects.puppetlabs.com/projects/1/wiki/Writing_Your_Own_Functions > functions > can on

Re: [Puppet Users] Re: quick basics to install functioning ubuntu system?

2010-12-07 Thread Justin Brehm
> > nginx is what I need help with in particular. If you're looking for some help with certain modules a good starting point is the Puppet Forge (http://forge.puppetlabs.com/). I looked to see if there's an nginx module and there was. I also saw openssh & git and there might be other modules you

Re: [Puppet Users] How to apply recursion to user, group and mode?

2010-12-07 Thread Felix Frank
On 11/30/2010 09:39 AM, Adriana wrote: > Hello, I would like to know it is possible to translate for example > the command > chmod -R 0777 /local. > As far as I know, I can write: > file { "/local": > mode => 0777, > recurse => true, > Yes. Be cautious of gratuitous md5summing that may

Re: [Puppet Users] Hashes in a definition

2010-12-07 Thread Felix Frank
On 11/30/2010 09:05 PM, Jay Almers wrote: > Hello all, > > I am a new user to Puppet (system and language) and have a question > regarding hashes and iterating through them in a definition. What I > am trying to do is specify a multi-dimensional hash on a particular > node, pass this hash to a de

[Puppet Users] Re: File not found during puppet fileserving

2010-12-07 Thread Eric Snow
Alas, I am running 0.25, and the fileserving mount is a required part of the path. -eric On Dec 7, 7:29 am, jcbollinger wrote: > On Dec 7, 8:11 am, jcbollinger wrote: > > > that makes a lot more sense then having to > > put some arbitrary portion of the server's path _to the module_ into > > th

Re: [Puppet Users] Number of procs, redux

2010-12-07 Thread Felix Frank
On 12/01/2010 06:40 PM, maillis...@gmail.com wrote: > No answers to this? Sorry if it's a stupid question, but I was hoping > it would be dead easy for someone here to answer. I've edited in case > it wasn't clear enough. > > We upgraded to 2.6.3 and we've suddenly noticed two and sometimes > thre

Re: [Puppet Users] Re: File not found during puppet fileserving

2010-12-07 Thread Stefan Schulte
On Mon, Dec 06, 2010 at 03:55:20PM -0800, Eric Snow wrote: > Thanks for the reply. The modules mount is okay: > > [modules] > allow * Although a short test with your snippet in my fileserver.conf worked for me: can you try again with an empty fileserver.conf? -Stefan pgpKEVzcJOLu4.pgp Descr

[Puppet Users] config_version

2010-12-07 Thread Christopher Johnston
So I got this working by calling an external script to run a git rev-parse and to dump the current revision, looks like it works. But I think what is of value here is to be able to see what the individual hosts current config_version is currently at since its last run. This is useful to determine

Re: [Puppet Users] config_version

2010-12-07 Thread Dan Bode
On Tue, Dec 7, 2010 at 10:41 AM, Christopher Johnston wrote: > So I got this working by calling an external script to run a git rev-parse > and to dump the current revision, looks like it works. But I think what is > of value here is to be able to see what the individual hosts current > config_ve

Re: [Puppet Users] config_version

2010-12-07 Thread Nigel Kersten
On Tue, Dec 7, 2010 at 10:48 AM, Dan Bode wrote: > > > On Tue, Dec 7, 2010 at 10:41 AM, Christopher Johnston > wrote: >> >> So I got this working by calling an external script to run a git rev-parse >> and to dump the current revision, looks like it works.  But I think what is >> of value here is

Re: [Puppet Users] config_version

2010-12-07 Thread Ohad Levy
AFAIK, its also a fact, which makes it really easy to report with Foreman. Ohad On Tue, Dec 7, 2010 at 8:41 PM, Christopher Johnston wrote: > So I got this working by calling an external script to run a git rev-parse > and to dump the current revision, looks like it works. But I think what is >

Re: [Puppet Users] config_version

2010-12-07 Thread Christopher Johnston
I am on version 0.25.4 of puppet and facter 1.5.2, I don't see the fact nor the version anywhere in the clients catalog (on the client). I know its available via reports to send to a host somewhere but I am curious if this data is available on the client itself. # facter config_version # On Tue

[Puppet Users] Directory and File Permissions

2010-12-07 Thread Douglas Garstang
If I'm pushing out a bunch of files in a directory, like this... file { "/usr/local/lg/bin/": source => "puppet://${server}/usr/local/lg/bin", mode => 755, owner => "root", group => "root", recurse => true, ignore => "

Re: [Puppet Users] Directory and File Permissions

2010-12-07 Thread Patrick
On Dec 7, 2010, at 11:52 AM, Douglas Garstang wrote: > If I'm pushing out a bunch of files in a directory, like this... > > file { > "/usr/local/lg/bin/": > source => "puppet://${server}/usr/local/lg/bin", > mode => 755, > owner => "root", >

[Puppet Users] dependency loops ???

2010-12-07 Thread russell.fulton
I have a dependency loop reported but I can not see how this can be: class monitor { class pulledpork ( $master) { exec { "/home/snort/bin/pulledpork -nc conf/$master/pp.conf": cwd => "/home/snort", subscribe => [File["/home/snort/conf/$master/pp"], File[

Re: [Puppet Users] dependency loops ???

2010-12-07 Thread Stefan Schulte
On Tue, Dec 07, 2010 at 12:56:47PM -0800, russell.fulton wrote: >class pulledpork ( $master) { >exec { > "/home/snort/bin/pulledpork -nc conf/$master/pp.conf": > cwd => "/home/snort", > subscribe => [File["/home/snort/conf/$master/pp"], File[ "/ > home/snor

[Puppet Users] service - explicit stats command

2010-12-07 Thread russell.fulton
what should the service{...: ., status=> , .. } return ? 0 => not running ?? be a good idea to add this to http://docs.puppetlabs.com/guides/types/service.html Russell -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this g

Re: [Puppet Users] Re: error running puppetrun

2010-12-07 Thread Iain Sutton
We experience this problem too. Our puppetmaster is overloaded (was fine until we enabled storeconfigs against a mysql server on the same host, now it's CPU bound, but we're okay with this for the short term). Do you have something chewing CPU on your systems? On 8 December 2010 00:07, James Loui

Re: [Puppet Users] service - explicit stats command

2010-12-07 Thread Daniel Pittman
On Wed, Dec 8, 2010 at 09:03, russell.fulton wrote: > what should the service{...: ., status=> , .. } > return ? > 0 => not running ?? The LSB result codes, ideally: http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html (but 0 => running, !0 => no

[Puppet Users] facter

2010-12-07 Thread Baker, Luke
I see 'setcode' quite a bit in facter definitions - what does this do / mean? --Luke Baker -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Re: error running puppetrun

2010-12-07 Thread Himanshu Raina
Hi, The cpu is hardly busy. I'm not clear on the network part though cause DNS resolutions and n/w connectivity everything's fine. It's just that out of the blue had this problem. regards, On Wed, Dec 8, 2010 at 6:58 AM, Iain Sutton wrote: > We experience this problem too. Our puppetmaster is o

[Puppet Users] Re: Number of procs, redux

2010-12-07 Thread donavan
On Dec 1, 9:40 am, maillis...@gmail.com wrote: > We upgraded to 2.6.3 and we've suddenly noticed two and sometimes > three puppet processes frequently running on the clients. Is this > normal? Is it new to this version or are we > just noticing it for the first time? Any input is appreciated. This

[Puppet Users] Re: storeconfig / mysql

2010-12-07 Thread donavan
On Dec 5, 10:17 pm, walexey wrote: > hello! > > centos 5.5, puppet 2.6.4, storeconfig, mysql, about150 clients. > time to time i recive following error: > > Puppet (err): Could not retrieve catalog from remote server: Error 400 > on SERVER: Mysql::Error: MySQL server has gone away > > how can i fi