[Puppet Users] Resources on Windows

2010-09-08 Thread Patrick
I was going to try puppet on Windows and was wondering if anyone has advice before I start. I found http://projects.reductivelabs.com/projects/puppet/wiki/Puppet_Windows I mostly wondering if these work/exist: *) file *) exec *) package (msi) *) The registry provider that people were talking ab

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

2010-09-08 Thread Chad Huneycutt
The --no-client flag to puppetd didn't work for you? My understanding of the bug is just that the client=false option isn't respected, but if you specify it on the command line, it works fine. Right? - Chad On Tue, Sep 7, 2010 at 4:54 PM, CraftyTech wrote: > Has anyone found a workaround for t

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

2010-09-08 Thread Patrick
Have you tried to set the interval to something very long and set the --noop flag? (or what ever it's called) That should do something lose enough to what you want that it won't matter. On Sep 7, 2010, at 1:54 PM, CraftyTech wrote: > Has anyone found a workaround for this? It appears that the

Re: [Puppet Users] Re: Puppet use with OLPC's XS

2010-09-08 Thread Patrick
On Sep 8, 2010, at 11:00 AM, Martin Langhoff wrote: >>> 3 - Can I hook up a trigger so when a new conffile for a service is >>> installed the service is restarted? IE: I provide a new >>> /etc/named.conf, I want to add a trigger that says that everytime it >>> changes, "services named restart" sh

Re: [Puppet Users] Puppet use with OLPC's XS

2010-09-08 Thread Patrick
On Sep 8, 2010, at 7:20 AM, Martin Langhoff wrote: > Hi Puppet Users, Hi Luke, > > Happy to find myself here. I am an old ISConf user -- Luke might > remember my random questions back in the infrastructures / isconf list > -- and have been developing the School Server ("XS") for OLPC for a > whi

Re: [Puppet Users] Setup 2.6 + apache, passenger

2010-09-08 Thread Mathias Gug
Hi, Excerpts from Stefan Schlesinger's message of Wed Sep 08 13:51:05 -0400 2010: > > I just tried to install puppet/puppetmaster/passenger on squeeze, and it > worked perfectly. > Since squeeze is already frozen, I consider using it as okey. :-) > > > After everything is in place, restart

Re: [Puppet Users] puppet dashboard and 64-bit mysql

2010-09-08 Thread Julian Simpson
Hi, On 8 September 2010 21:24, Tim wrote: > I was looking forward to trying this out, given the puported Solaris > support. However, in attempting to install the prereqs for dashboard, > I hit a major snag. My main server uses the blastwave MySQL install, > which is a 64-bit version of MySQL 5.

[Puppet Users] Puppet 0.25: FIlebucket (doesn't work)

2010-09-08 Thread Eduardo S. Scarpellini
Hackers, I work on one of the biggest ISP's in Brazil where we've started to use puppet about 10 months. We have a puppet-0.25 running on CentOS 5.5 both on server and client side. All works perfectly, but the filebucket (server) doesn't work anyway :( The files are always bucketed only on clients.

[Puppet Users] puppet dashboard and 64-bit mysql

2010-09-08 Thread Tim
I was looking forward to trying this out, given the puported Solaris support. However, in attempting to install the prereqs for dashboard, I hit a major snag. My main server uses the blastwave MySQL install, which is a 64-bit version of MySQL 5. mysql Ver 14.12 Distrib 5.0.90, for pc-solaris2.10

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread Rob McBroom
On Sep 8, 2010, at 10:39 AM, hai wu wrote: > This one is different from examples on that page, in that file /etc/securetty > is not name value pair, it just has values in it I don't know what you mean. Most of the discussion on that page (and certainly the stuff in the "numbered items" section

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
On Wed, 8 Sep 2010 12:13:04 -0700, Nigel Kersten wrote: > On Wed, Sep 8, 2010 at 12:05 PM, James Cammarata wrote: >> >> On Wed, 8 Sep 2010 12:02:09 -0700, Nigel Kersten >> wrote: >>> On Wed, Sep 8, 2010 at 11:39 AM, James Cammarata wrote: > Just for the record, I have many tens of tho

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread Nigel Kersten
On Wed, Sep 8, 2010 at 12:05 PM, James Cammarata wrote: > > On Wed, 8 Sep 2010 12:02:09 -0700, Nigel Kersten wrote: >> On Wed, Sep 8, 2010 at 11:39 AM, James Cammarata wrote: >>> Just for the record, I have many tens of thousands of 0.25.4-1 clients, and I've never ever seen this probl

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
On Wed, 8 Sep 2010 12:02:09 -0700, Nigel Kersten wrote: > On Wed, Sep 8, 2010 at 11:39 AM, James Cammarata wrote: >> >>> Just for the record, I have many tens of thousands of 0.25.4-1 >>> clients, and I've never ever seen this problem with pluginsync. >> >> Yep, just upgraded to 0.25.5-1 from EP

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread Nigel Kersten
On Wed, Sep 8, 2010 at 11:39 AM, James Cammarata wrote: > >> Just for the record, I have many tens of thousands of 0.25.4-1 >> clients, and I've never ever seen this problem with pluginsync. > > Yep, just upgraded to 0.25.5-1 from EPEL and the issue/URL is the same: > > [2010-09-08 14:34:51] myser

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
On Wed, 08 Sep 2010 13:39:34 -0500, James Cammarata wrote: >> Just for the record, I have many tens of thousands of 0.25.4-1 >> clients, and I've never ever seen this problem with pluginsync. > > Yep, just upgraded to 0.25.5-1 from EPEL and the issue/URL is the same: > > [2010-09-08 14:34:51] m

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
> Just for the record, I have many tens of thousands of 0.25.4-1 > clients, and I've never ever seen this problem with pluginsync. Yep, just upgraded to 0.25.5-1 from EPEL and the issue/URL is the same: [2010-09-08 14:34:51] myserver - - [08/Sep/2010:14:34:51 EDT] "GET /production/file_metadatas

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread Nan Liu
On Wed, Sep 8, 2010 at 7:39 AM, hai wu wrote: > This one is different from examples on that page, in that file > /etc/securetty is not name value pair, it just has values in it. I used the > following as the workaround: > > augeas { "securetty": > context =

Re: [Puppet Users] Re: Puppet use with OLPC's XS

2010-09-08 Thread Martin Langhoff
On Wed, Sep 8, 2010 at 11:45 AM, alcy wrote: >> 2a - Is there an ISConf-like facility that says "run it until it >> succeeds once"? [ Happy to use Makefiles, but if there's a >> Puppet-supported elegant way of doing it... ] > > If the code of the shell script can be minimized to use as much as of

Re: [Puppet Users] Setup 2.6 + apache, passenger

2010-09-08 Thread Stefan Schlesinger
Hey, I just tried to install puppet/puppetmaster/passenger on squeeze, and it worked perfectly. Since squeeze is already frozen, I consider using it as okey. :-) Packages to install: * puppetmaster * libapache2-mod-passenger Apache modules to enable: a2enmod headers a2enmod ssl I had to ch

Re: [Puppet Users] Setup 2.6 + apache, passenger

2010-09-08 Thread Mathias Gug
Hi, Excerpts from Martin Willemsma's message of Wed Sep 08 04:43:21 -0400 2010: > 2010/9/8 FreddieB > > > I'm testing Puppet 2.6 and got all the basic stuff working with the > > default webricks. I read that it doesn't scale very well and is not > > suited for production environments and the r

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread Nigel Kersten
On Wed, Sep 8, 2010 at 9:53 AM, James Cammarata wrote: > > On Wed, 8 Sep 2010 09:46:15 -0700, Nigel Kersten > wrote: >> On Wed, Sep 8, 2010 at 9:25 AM, James Cammarata wrote: >>> > The only way to get rid of this error is to set the libdir variable, > which > I don't think is right.

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
On Wed, 8 Sep 2010 09:46:15 -0700, Nigel Kersten wrote: > On Wed, Sep 8, 2010 at 9:25 AM, James Cammarata wrote: >> The only way to get rid of this error is to set the libdir variable, which I don't think is right.  Can anyone point out what I'm doing wrong >> here? The docum

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread Nigel Kersten
On Wed, Sep 8, 2010 at 9:25 AM, James Cammarata wrote: > >>> The only way to get rid of this error is to set the libdir variable, >>> which >>> I don't think is right.  Can anyone point out what I'm doing wrong > here? >>> The documentation on custom facts is pretty horrible, and is too much a >>>

[Puppet Users] Puppet jobs - Jr. SysAdmin in San Francisco

2010-09-08 Thread dmangot
I guess if this list is good for job posting, might as well throw ours into the mix. We just posted this for an opening at Tagged. We have a good sized Puppet deployment already and it's only getting bigger. Entry Level System Administrator Requirements: * Strong knowledge of Linu

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
On Wed, 08 Sep 2010 11:25:39 -0500, James Cammarata wrote: >>> The only way to get rid of this error is to set the libdir variable, >>> which >>> I don't think is right.  Can anyone point out what I'm doing wrong > here? >>> The documentation on custom facts is pretty horrible, and is too much a

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread James Cammarata
>> The only way to get rid of this error is to set the libdir variable, >> which >> I don't think is right.  Can anyone point out what I'm doing wrong here? >> The documentation on custom facts is pretty horrible, and is too much a >> mish-mash of old vs new methods. >> > > So setting the factpat

Re: [Puppet Users] custom facts setup questions

2010-09-08 Thread Nigel Kersten
On Tue, Sep 7, 2010 at 1:59 PM, James Cammarata wrote: > > I'm trying to setup a module to deploy custom facts, and I'm running into > some issues. > > I've created a directory called "custom" in my modules directory, and > created sub-directories there so I have custom/lib/facter (as is described

[Puppet Users] Re: Puppet use with OLPC's XS

2010-09-08 Thread alcy
> 2 - Can I say "install this shellscript and run it once"? How? > > 2a - Is there an ISConf-like facility that says "run it until it > succeeds once"? [ Happy to use Makefiles, but if there's a > Puppet-supported elegant way of doing it... ] If the code of the shell script can be minimized to use

[Puppet Users] Puppet use with OLPC's XS

2010-09-08 Thread Martin Langhoff
Hi Puppet Users, Hi Luke, Happy to find myself here. I am an old ISConf user -- Luke might remember my random questions back in the infrastructures / isconf list -- and have been developing the School Server ("XS") for OLPC for a while (and lately doing a dozen more things at OLPC which has shrunk

[Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread FreddieB
I'm on a Debian 5.04 and I'm not using Passenger for anything else (later on I will install PuppetDashboard). Silviu: I will try you solution later tonight. I'll let you know how it went. Br, Freddie On Sep 8, 3:01 pm, Patrick wrote: > What Distro are you using and wht version is the distro? >

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread hai wu
This one is different from examples on that page, in that file /etc/securetty is not name value pair, it just has values in it. I used the following as the workaround: augeas { "securetty": context => "/files/etc/securetty", changes =

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

2010-09-08 Thread CraftyTech
.. On Sep 7, 4:54 pm, CraftyTech wrote: > Has anyone found a workaround for this?  It appears that the bug > hasn't been fixed.  I basically just need the daemon to run, > listening, without ever calling the puppetmaster on its own.  My > clients are configured as follow: > >

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread Rob McBroom
On Sep 6, 2010, at 3:41 AM, hai wu wrote: > Hi, I need to add one line to /etc/securetty, say it needs to be ttyS1. Do > not add it if ttyS1 already exists in file /etc/securetty. > > How to achieve this using puppet module in puppet 2.5? This file is different > than the other examples using a

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread Patrick
What Distro are you using and wht version is the distro? I'm assuming you aren't using passenger for a different web application. Is that true? On Sep 8, 2010, at 5:10 AM, FreddieB wrote: > Hi again, > > Maybe it's just me, but it look like the directory-structure is not > the same at all: >

Re: [Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread Silviu Paragina
For 0.25.4 on Debian the puppetmaster package has /usr/share/doc/puppetmaster/examples/apache2.conf and /usr/share/puppet/rack/puppetmasterd included. /usr/share/puppet/rack/puppetmasterd should be the root in this case. In case you don't have these the rhel instructions for creating the str

[Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread FreddieB
Hi again, Maybe it's just me, but it look like the directory-structure is not the same at all: Where do I point DocumentRoot and Directory in the apache config-file? The suggested directories does not exist on my system. If I was to guess I'd say "/usr/lib/ruby/1.8/puppet/" but I'm not sure. I d

[Puppet Users] Re: Setup 2.6 + apache, passenger

2010-09-08 Thread FreddieB
Hi, Thanks for you quick reply. So that guide is applicable to version 2.6 as well? I figured a lot of things have change between 0.25 and 2.6, so I wanted to doublecheck. Rgds, Freddie On Sep 8, 10:43 am, Martin Willemsma wrote: > Hi Freddy > > There is detailed information regarding puppetma

Re: [Puppet Users] Redefine package type

2010-09-08 Thread mohit chawla
You can probably start by looking at the code for the various types/providers under puppet's code directory. On Debian, for eg., the code for rpm package provider is under /usr/lib/ruby/1.8/puppet/provider/package/rpm.rb . On Wed, Sep 8, 2010 at 1:40 PM, SiD wrote: > Hello, > > I would like to

Re: [Puppet Users] Setup 2.6 + apache, passenger

2010-09-08 Thread Martin Willemsma
Hi Freddy There is detailed information regarding puppetmaster using passenger/apache on centos and ubuntu http://projects.reductivelabs.com/projects/puppet/wiki/Using_Passenger I changed my setup with this information Regards, Martin 2010/9/8 FreddieB > Hi! > I'm testing Puppet 2.6 and got

[Puppet Users] Redefine package type

2010-09-08 Thread SiD
Hello, I would like to go in depth with Puppet, but I haven't found any good documentation about my issue (I've just ordered the official Puppet book, hope it helps). I need to install RPM packages with specified install-options, like -- prefix. But the package type does not support this kind of o

[Puppet Users] Setup 2.6 + apache, passenger

2010-09-08 Thread FreddieB
Hi! I'm testing Puppet 2.6 and got all the basic stuff working with the default webricks. I read that it doesn't scale very well and is not suited for production environments and the recommended setup is Apache/ Passenger. Is there a step-by-step-guide on how to set it up? Any help is very apprec

[Puppet Users] puppetrun with noop or similar functionality

2010-09-08 Thread alcy
Hi, I wanted to have my puppet client daemons running in the noop=true mode, and changes could be triggered centrally through puppetrun -- noop false. Also it would be nice in an inverse situation, when client daemons are running in the default (noop = false) mode and before testing out a new(smal

Re: [Puppet Users] re-colorise puppet logs

2010-09-08 Thread Ohad Levy
Hi, Might be useful to add it to the ext dir Ohad On Wed, Sep 8, 2010 at 8:34 AM, Amos Shapira wrote: > Hi, > > We find the "color-coded" puppet logs very useful, but they are not > coloured when logged to a file. > > Here is a small Perl script to add the color back when reading that > file. I