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

2010-08-04 Thread Nicolas Brisac
That fixes it for me! Merci :) Current setup: Puppet 2.6.0 (.deb from Sid) Passenger 2.2.15 and Rack 1.2.1 (gems) Cheers, Nico On Wed, 2010-08-04 at 23:34 +1000, Nicolas Brisac wrote: > I'm getting the same error with a new custom fact in /lib. > The puppetmaster is running o

[Puppet Users] Facts for Testing

2010-08-04 Thread Druwerd
I'm trying to setup a test environment where I can do a dry run of each puppet module. Ex: "puppet --noop module/tests/init.pp" However some modules rely on facts and I want to mimic the production environment as close as possible. Is there a way to load facts from a file for the test environment?

Re: [Puppet Users] puppet dashboard takes a long time to display

2010-08-04 Thread Igal Koshevoy
On 08/04/2010 01:50 PM, Steven L. Seed wrote: > I've been noticing my puppet dashboard is taking longer and longer to > load up in my we browser the longer I've used it. I have roughly 1300 > nodes being managed by puppet. It's almost as if there is too much > data for it to process. I have about 1

[Puppet Users] puppet dashboard takes a long time to display

2010-08-04 Thread Steven L. Seed
I've been noticing my puppet dashboard is taking longer and longer to load up in my we browser the longer I've used it. I have roughly 1300 nodes being managed by puppet. It's almost as if there is too much data for it to process. I have about 1 month worth of data in my mysql database now. I'v

Re: [Puppet Users] a basic(?) mount resource

2010-08-04 Thread Tony G.
On Wed, Aug 4, 2010 at 12:32 PM, Rob McBroom wrote: > I'm trying to use the native `mount` type for the first time and I seem to > have encountered a bug. Here's a simple test I put together: > >mount { "/unixteam": > device => "some_server:/vol/UnixTeam", > fstype => "nfs", > o

[Puppet Users] Re: puppet 2.6.0 vs apache/mod_passenger

2010-08-04 Thread Eugene Ray
Looks like it is working for me. puppet 2.6.1rc1 ruby 1.8.7-299 passenger 2.2.15 rack 1.2.1 Thanks! On Aug 4, 10:09 am, Brice Figureau wrote: > On 02/08/10 19:17, Russell Jackson wrote: > > > > > > > I'm having a hell of a time with mod_passenger. Where would I even begin > > to investigate whe

Re: [Puppet Users] generating catalog files

2010-08-04 Thread Ohad Levy
a while ago I wrote manitest - http://github.com/ohadlevy/manitest another option is to use Brice puppet-load tool (didnt try it myself). Ohad On Tue, Aug 3, 2010 at 8:50 AM, Jon Wilson wrote: > Hiya, > > Is there a way I can easily generate the catalog for a particular > puppet client, withou

[Puppet Users] a basic(?) mount resource

2010-08-04 Thread Rob McBroom
I'm trying to use the native `mount` type for the first time and I seem to have encountered a bug. Here's a simple test I put together: mount { "/unixteam": device => "some_server:/vol/UnixTeam", fstype => "nfs", options => "_netdev,vers=3,tcp,rsize=8192,wsize=8192,noauto",

Re: [Puppet Users] puppet 2.6.0 vs apache/mod_passenger

2010-08-04 Thread Brice Figureau
On 02/08/10 19:17, Russell Jackson wrote: > I'm having a hell of a time with mod_passenger. Where would I even begin > to investigate where this exception is coming from? My configuration > works fine with the 2.6.0 webrick server. > >> [Thu Jul 29 18:03:00 2010] [error] [client 136.168.1.4] Prema

Re: [Puppet Users] Newbie Question configfile or file

2010-08-04 Thread James Turnbull
ScubaDude wrote: > Hi, > > What's the difference between declaring a configfile and a file > element in a class declaration. > > I also haven't been able to find any documentation on configfile > apart from a brief reference on > http://people.redhat.com/dlutter/puppet-app.html > which says

[Puppet Users] Using Tags in Foreman

2010-08-04 Thread CraftyTech
Hello, does anyone know how do I tag systems via foreman? do I just enter a tags value via "add parameter"? and if that's the case, is it "tag" or "tags" essentially I want to be a able to tag the systems via foreman, and then be able to use those tags in my puppetrun... :) Thanks, -- You r

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

2010-08-04 Thread Brice Figureau
On Wed, 2010-08-04 at 23:34 +1000, Nicolas Brisac wrote: > I'm getting the same error with a new custom fact in /lib. > The puppetmaster is running on Apache2 + Passenger (setup works fine > in production with 0.24.8). > > With Puppet 2.6.0 (Debian package) the file is created empty. > With Puppet

Re: [Puppet Users] templates in puppet 2.6.0

2010-08-04 Thread mfharis
> 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 > /e

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

2010-08-04 Thread Nicolas Brisac
I'm getting the same error with a new custom fact in /lib. The puppetmaster is running on Apache2 + Passenger (setup works fine in production with 0.24.8). With Puppet 2.6.0 (Debian package) the file is created empty. With Puppet 2.6.0 + patch from Brice, I get a 'Could not set file on ensure:

[Puppet Users] Weird SSL problem

2010-08-04 Thread kit
I'm suddenly getting this weird error message. I don't recall changing any settings. Any help? # puppetca -l err: Could not create resources for managing Puppet's files and directories in sections [:main, :ssl, :ca]: Could not find a default provider for file err: Could not create resources for ma

[Puppet Users] Re: Test if stored config is enabled?

2010-08-04 Thread dom
anyone? anyone? (bueller? bueller?) are there internal puppet variables or some such that show puppet state/config that can be interrogated in a manifest? any other way of telling if storedconfig is enabled? the two ways i can think of: - assume puppetmaster config is /etc/puppet/puppet.con

[Puppet Users] Newbie Question configfile or file

2010-08-04 Thread ScubaDude
Hi, What's the difference between declaring a configfile and a file element in a class declaration. I also haven't been able to find any documentation on configfile apart from a brief reference on http://people.redhat.com/dlutter/puppet-app.html which says it's simply a convience declared in