Re: [Puppet Users] templates in puppet 2.6.0

2010-08-03 Thread James Turnbull
Matthew Delves wrote: > Hey Folks, > Has the way that templates are handled in files changed with 2.6.0? They > don't seem to be creating the required file. > > In my modules manifest I have the following line within a file declaration > What's the error? What output are you getting? Regards

[Puppet Users] templates in puppet 2.6.0

2010-08-03 Thread Matthew Delves
Hey Folks, Has the way that templates are handled in files changed with 2.6.0? They don't seem to be creating the required file. In my modules manifest I have the following line within a file declaration content => template("samba/access.conf.erb"); The erb file is located at /etc/puppet/module

Re: [Puppet Users] External Nodes using Curly Braces

2010-08-03 Thread Douglas Garstang
That did it. Thanks Nigel. On Tue, Aug 3, 2010 at 12:06 PM, Nigel Kersten wrote: > On Tue, Aug 3, 2010 at 12:03 PM, Douglas Garstang > wrote: >> The yaml specification says that yaml can either be formatted with >> indentation, AND/OR with curly braces. >> Does puppet handle the output from an e

Re: [Puppet Users] Re: generating catalog files

2010-08-03 Thread Nigel Kersten
On Tue, Aug 3, 2010 at 7:38 PM, Jon Wilson wrote: > OK, some success. I get some unformatted output, PSON I think. I'm > pretty sure it just takes the node definition as input (cached if > available) and merely compiles my classes. I don't think facts get > involved, because that's part of the ins

[Puppet Users] Re: generating catalog files

2010-08-03 Thread Jon Wilson
OK, some success. I get some unformatted output, PSON I think. I'm pretty sure it just takes the node definition as input (cached if available) and merely compiles my classes. I don't think facts get involved, because that's part of the instantiation phase (see http://projects.puppetlabs.com/projec

[Puppet Users] Re: Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)

2010-08-03 Thread bobics
See my post, probably the same issue. I had to downgrade to 0.25.5. http://groups.google.com/group/puppet-users/browse_thread/thread/626e7334b437f4fc -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-u

[Puppet Users] Re: Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)

2010-08-03 Thread mindreframer
You're right Dan, sorry for the late feedback, my virtualbox with vagrant went down the hills due to some misconfiguration, had to clean up all configs and reinstall it a couple of times to get it working again. It works fine with puppet 0.25.x, but with the latest (and greatest, one could think) v

Re: [Puppet Users] External Nodes using Curly Braces

2010-08-03 Thread Nigel Kersten
On Tue, Aug 3, 2010 at 12:03 PM, Douglas Garstang wrote: > The yaml specification says that yaml can either be formatted with > indentation, AND/OR with curly braces. > Does puppet handle the output from an external node script dumping > yaml output with curly braces? > > The python yaml library's

[Puppet Users] External Nodes using Curly Braces

2010-08-03 Thread Douglas Garstang
The yaml specification says that yaml can either be formatted with indentation, AND/OR with curly braces. Does puppet handle the output from an external node script dumping yaml output with curly braces? The python yaml library's yaml.dump() function seems to mix and match both types. Doug -- Y

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On 03/08/10 20:24, Richard Crowley wrote: >> Passenger is still the preferred way to scale a puppetmaster (until I >> progress on the JRuby front). > > I've had great success running Puppet 0.25.4, 0.25.5, and 2.6.0 under > Nginx and Unicorn. Alas, http://projects.puppetlabs.com/issues/4319 > is

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
On Aug 3, 2010, at 2:30 PM, Rein Henrichs wrote: > Rob, looks like you've already resolved the issue. Yes. Thanks everyone for the responses. -- Rob McBroom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rein Henrichs
Excerpts from Rein Henrichs's message of Tue Aug 03 10:15:05 -0700 2010: > Once we get some more information, we should be able to figure out > what's going on. > > Thanks! Rob, looks like you've already resolved the issue. I guess I was late to the party. Glad you got it sorted. -- Rein Henrich

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Richard Crowley
> Passenger is still the preferred way to scale a puppetmaster (until I > progress on the JRuby front). I've had great success running Puppet 0.25.4, 0.25.5, and 2.6.0 under Nginx and Unicorn. Alas, http://projects.puppetlabs.com/issues/4319 is still in play. I use the highly suspect "give up an

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Igal Koshevoy
On 08/03/2010 10:19 AM, Rob McBroom wrote: > On Aug 3, 2010, at 10:40 AM, Igal Koshevoy wrote: > > >> The application was failing at startup because it couldn't write its own >> log files, and now it's failing because it can't write its caches. >> >> Please give ownership of the "puppet-dashboar

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On 03/08/10 18:56, asq wrote: > On 3 Sie, 18:00, Brice Figureau wrote: > >> Which means it now tries to send the file. You just hit another issue >> which is discussed in this >> thread:http://groups.google.com/group/puppet-users/browse_thread/thread/5435... > > i've tried 2.2.11/1.2.1 combo an

Re: [Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-03 Thread Matt Robinson
If downgrading to 0.25 fixed this, then the problem probably isn't with facter, and as you say, older versions of facter wouldn't have the bug I mentioned. The patch I suggested would only have fixed things if you were running facter from source. So yes, please file a bug report with the info nec

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread James Turnbull
Rob McBroom wrote: > Now, some questions: > 3. If it is necessary, should it be mentioned in the installation > instructions? This one is my fault - I dropped the ball here - I tested the install but thought the permissions problem was my fault rather than an issue. Regards James Turnbull --

Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-03 Thread Eric Sorenson
On Aug 3, 2010, at 6:30 AM, Kenneth Holter wrote: > On other words, my clients area would look something like this: > • "c_projectA", in which the classes "c_projectA::prod::webserver", > "c_projectA::qass::webserver" and so forth would be implemented (and added to > the node definition fo

[Puppet Users] Re: puppet.conf => client = false; Puppet 0.25.5

2010-08-03 Thread CraftyTech
Gotcha.. thanks, On Aug 3, 1:27 pm, Chad Huneycutt wrote: > There is a bug (http://projects.puppetlabs.com/issues/3313) about this. > > > > > > On Tue, Aug 3, 2010 at 1:06 PM, CraftyTech wrote: > > Hello, > > >     I have my clients' puppet.conf file setup as: > > > [puppetd] > > report = true

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Igal Koshevoy
On 08/03/2010 06:01 AM, Rob McBroom wrote: > On Aug 2, 2010, at 5:39 PM, James Turnbull wrote: > > >> Is there anything in /var/log/apache/error.log? >> > What the…? Yes. Why isn’t it going to the ErrorLog for that virtual host? > > Anyway, there were a number of these: > > Rails Error:

Re: [Puppet Users] puppet.conf => client = false; Puppet 0.25.5

2010-08-03 Thread Chad Huneycutt
There is a bug (http://projects.puppetlabs.com/issues/3313) about this. On Tue, Aug 3, 2010 at 1:06 PM, CraftyTech wrote: > Hello, > >     I have my clients' puppet.conf file setup as: > > [puppetd] > report = true > listen = true > client = false > > But the client keeps on checking in every 30

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
On Aug 3, 2010, at 10:40 AM, Igal Koshevoy wrote: > The application was failing at startup because it couldn't write its own > log files, and now it's failing because it can't write its caches. > > Please give ownership of the "puppet-dashboard" directory and everything > in it to the same user,

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rein Henrichs
Excerpts from Rob McBroom's message of Mon Aug 02 12:40:21 -0700 2010: > I updated to 1.0.3 and now all I get from the web interface is the > “something went wrong” message. All I really need to know is where to > look for clues. There’s nothing in > `puppet-dashboard/log/production.log` and nothin

[Puppet Users] puppet.conf => client = false; Puppet 0.25.5

2010-08-03 Thread CraftyTech
Hello, I have my clients' puppet.conf file setup as: [puppetd] report = true listen = true client = false But the client keeps on checking in every 30 mins. I understand from other posts that puppetd works fine with the --no-client flag, but is there a work around for this? or is it addres

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 18:00, Brice Figureau wrote: > Which means it now tries to send the file. You just hit another issue > which is discussed in this > thread:http://groups.google.com/group/puppet-users/browse_thread/thread/5435... i've tried 2.2.11/1.2.1 combo and unfortunately results are pretty much t

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On Tue, 2010-08-03 at 07:34 -0700, asq wrote: > On 3 Sie, 13:01, Brice Figureau wrote: > > > I think you're seeing bug #4319:http://projects.puppetlabs.com/issues/4319 > > > > Can you try the latest 2.6.1rc1 and confirm that it solves your issue? > > Or alternatively try what Thorsten Biel sugges

[Puppet Users] Fun with Custom Providers

2010-08-03 Thread Matt Wallace
Hi all, I'm having an issue with custom providers (the pear/pecl ones mentioned in an earlier post today) and I'm hoping you can all help. I have a "base" class that includes other modules and installs other packages including the distribution of the custom providers. I have a second class "st

Re: [Puppet Users] Re: generating catalog files

2010-08-03 Thread Richard Crowley
>> > Is there a way I can easily generate the catalog for a particular >> > puppet client, without actually running Puppet on that client? `puppet agent --noop` might be just the ticket. You'll run that command on the client, so this may be non-starter, but it won't actually do anything. -- You

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 13:01, Brice Figureau wrote: > I think you're seeing bug #4319:http://projects.puppetlabs.com/issues/4319 > > Can you try the latest 2.6.1rc1 and confirm that it solves your issue? > Or alternatively try what Thorsten Biel suggested in another e-mail in > this thread (ie getting rid of

Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-03 Thread Kenneth Holter
Thanks. So does your environment folder structure only contain modules, or have you put the clients and services module areas into the environment folder structure too? What does your clients and services areas look like? For now I've created different environment areas only for modules, and have

Re: [Puppet Users] 30 min

2010-08-03 Thread Felix Schäfer
Am 03.08.2010 um 15:11 schrieb parag(PK): > I dont want the daemon to run after every 30 mins ... > how can i change it to ...say 10 mins ...…. You could …say … read the docs? Or maybe …the manpage? http://docs.puppetlabs.com/references/latest/configuration.html#runinterval Felix -- You r

[Puppet Users] 30 min

2010-08-03 Thread parag(PK)
I dont want the daemon to run after every 30 mins ... how can i change it to ...say 10 mins ... -- 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

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-03 Thread Rob McBroom
On Aug 2, 2010, at 5:39 PM, James Turnbull wrote: > Is there anything in /var/log/apache/error.log? What the…? Yes. Why isn’t it going to the ErrorLog for that virtual host? Anyway, there were a number of these: Rails Error: Unable to access log file. Please ensure that /opt/puppet-dashboa

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Matt Wallace
On Tuesday 03 Aug 2010 12:56:45 Trevor Hemsley wrote: > No, it's not a clean solution but if the PECL maintainers are silly > enough to hard code a memory limit in the shell script that is used to > invoke it then there is not a huge amount that you can do about it. > There are lots of hits on goo

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Trevor Hemsley
No, it's not a clean solution but if the PECL maintainers are silly enough to hard code a memory limit in the shell script that is used to invoke it then there is not a huge amount that you can do about it. There are lots of hits on google complaining about the hard coded memory limit but not much

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread lists
Quoting Trevor Hemsley : When I look in my /usr/bin/pecl file I see that it is a 4 line shell script and one of the parameters there sets the memory_limit. Did you try hacking that? I can see where in that file I could put the options, however the whole point of us using puppet is that we don'

Re: [Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread Trevor Hemsley
When I look in my /usr/bin/pecl file I see that it is a 4 line shell script and one of the parameters there sets the memory_limit. Did you try hacking that? On 03/08/2010 12:16, li...@truthisfreedom.org.uk wrote: > Hi all, > > I'm using the pear/pecl package providers from > http://www.mit.edu/~m

[Puppet Users] Re: generating catalog files

2010-08-03 Thread Jon Wilson
Thanks Patrick, I'll give that a try. I'm not too worried about breaking existing configuration, or cached facts. Everything will be running in a sandbox, which will be clean prior to every test run. On Aug 3, 12:22 pm, Patrick Mohr wrote: > On Aug 2, 2010, at 5:50 PM, Jon Wilson wrote: > > > Hi

[Puppet Users] Managing Pear and Pecl packages in Puppet

2010-08-03 Thread lists
Hi all, I'm using the pear/pecl package providers from http://www.mit.edu/~marthag/puppet/ and I've run into a memory limit problem. I've tried hacking the script so that it passes additional options to pecl/pear, however these just error out about not being valid options (even though t

Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-03 Thread Ohad Levy
maybe this thread can help: http://groups.google.com/group/puppet-users/browse_thread/thread/838480ef7394bc79/72b48b4b1ea6a0e5?lnk=gst&q=Ideas/Best+Practices+for+module+versionin#72b48b4b1ea6a0e5

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On Tue, 2010-08-03 at 03:22 -0700, asq wrote: > On 3 Sie, 12:09, asq wrote: > > On 3 Sie, 09:19, Brice Figureau wrote: > > > > > Since 2.6, puppet now streams the file content through rack. It is well > > > possible you're hitting a bug with this new feature. > > > > > Can you let us know what ve

Re: [Puppet Users] Re: Best practices on organizing modules

2010-08-03 Thread Kenneth Holter
We're a subversion shop, so we're using subversion for this type of thing (although I'd like to try out Git). We've created a few simple scripts for tagging modules and such, so I belive we have a neat solution to version control of our code. But structuring the code itself (as was the original to

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 12:19, Brice Figureau wrote: > Ruby version shouldn't matter, I more think this is a puppet rack > versioning issue. > > Would it be possible to test rack 1.1.0 (which is what I tried when > adding this feature)? same thing with rack 1.1.0 (i did gem cleanup) > Do you have any interes

[Puppet Users] Re: Mulitple Configuration Files and Permissions

2010-08-03 Thread ScubaDude
Hi Jeff, Thanks for you input and clearing up the directory permissions query. I'll scurry off and investigate the links you've provided. Thanks, Brett On Aug 3, 6:28 am, Jeff McCune wrote: > On Mon, Aug 2, 2010 at 4:53 AM, ScubaDude wrote: > > Hi, > > >  I'm a puppet newbie so I don't kno

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 12:09, asq wrote: > On 3 Sie, 09:19, Brice Figureau wrote: > > > Since 2.6, puppet now streams the file content through rack. It is well > > possible you're hitting a bug with this new feature. > > > Can you let us know what version of passenger and rack you are using. It > > would also

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Thorsten Biel
Hi, On 3 Aug 2010, at 12:09, asq wrote: > On 3 Sie, 09:19, Brice Figureau wrote: > >> Since 2.6, puppet now streams the file content through rack. It is well >> possible you're hitting a bug with this new feature. >> >> Can you let us know what version of passenger and rack you are using. I

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On Tue, 2010-08-03 at 03:09 -0700, asq wrote: > On 3 Sie, 09:19, Brice Figureau wrote: > > > Since 2.6, puppet now streams the file content through rack. It is well > > possible you're hitting a bug with this new feature. > > > > Can you let us know what version of passenger and rack you are usin

[Puppet Users] Re: standalone puppet file source error "Could not evaluate: getaddrinfo: ..."

2010-08-03 Thread bobics
Matt, thanks for the tip. I'm using the lastest facter 1.5.7 gem, I glanced at the code and it doesn't look like that patch applies. Should I not be using the stable version of facter? Looks like 1.5.7 was last updated in 9/2009? :/ On Aug 2, 6:04 pm, Matt Robinson wrote: > I was seeing simila

[Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread asq
On 3 Sie, 09:19, Brice Figureau wrote: > Since 2.6, puppet now streams the file content through rack. It is well > possible you're hitting a bug with this new feature. > > Can you let us know what version of passenger and rack you are using. It > would also be worth upgrading those versions to se

Re: [Puppet Users] getting empty files from fileserver

2010-08-03 Thread Brice Figureau
On Mon, 2010-08-02 at 12:15 -0700, asq wrote: > this is really weird. i've upgraded test machine to 2.6 and started > getting those. virtually any file pulled from puppetmaster has zero > size. it's even true for internal objects like custom functions and > facts. whenever puppet decides that file