[Puppet Users] puppetd --listen fails

2008-11-25 Thread Benoit Decherf
Hi, I'm new to puppet and I just try it to see if we could use it in the company. So I write a manifest to install a software. I can test the manifest using "puppetd -t" in the client side. But if i try to start puppetd to listen for server notification I got an error: err: Could not run Pupp

[Puppet Users] Re: Could not write crontab for root: Invalid user: root

2008-11-25 Thread Bruno B
After restarting this zone it finally works. It's a bit scary... On 19 nov, 08:27, Bruno B <[EMAIL PROTECTED]> wrote: > Those files are exactly the same before and after puppet. Same time, > same checksum. > > I tried to run puppet just with cron instruction, same problem. > > On 18 nov, 17:43,

[Puppet Users] Re: puppetd --listen fails

2008-11-25 Thread Peter Meier
Hi > Is it just a problem of compatibility between this 2 versions ? I assume and would bet that this is the problem. > Are > there any restriction with compatibility of puppet versions ? yeah. Always use the latest, update the master first and better don't try to mix versions. Especially as

[Puppet Users] Re: puppetd --listen fails

2008-11-25 Thread Nigel Kersten
On Tue, Nov 25, 2008 at 2:46 AM, Benoit Decherf <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm new to puppet and I just try it to see if we could use it in the > company. > > So I write a manifest to install a software. I can test the manifest > using "puppetd -t" in the client side. > But if i try to

[Puppet Users] Re: Could not write crontab for root: Invalid user: root

2008-11-25 Thread Marcin Owsiany
On Tue, Nov 25, 2008 at 02:51:51AM -0800, Bruno B wrote: > > After restarting this zone it finally works. Maybe nscd got hosed? -- Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every progra

[Puppet Users] Re: Could not write crontab for root: Invalid user: root

2008-11-25 Thread Nigel Kersten
On Tue, Nov 25, 2008 at 7:22 AM, Marcin Owsiany <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 25, 2008 at 02:51:51AM -0800, Bruno B wrote: >> >> After restarting this zone it finally works. > > Maybe nscd got hosed? say it's not true! That never happens :) -- Nigel Kersten Systems Administrator Te

[Puppet Users] notify and reload

2008-11-25 Thread Casey Deccio
If a have a file that has "notify" set for a particular service, will the service always be "restarted" when the file changes, or is there a way to specify that it should instead "reload"? I know I can use exec with "subscribe" and "refreshonly", but it seems like extra work if it could be include

[Puppet Users] Re: notify and reload

2008-11-25 Thread Peter Meier
Hi > If a have a file that has "notify" set for a particular service, will the > service always be "restarted" when the file changes, or is there a way to > specify that it should instead "reload"? I know I can use exec with > "subscribe" and "refreshonly", but it seems like extra work if it cou

[Puppet Users] usage of '+>' ?

2008-11-25 Thread udo waechter
According to: http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial one can use the '+>' operator to add additional values to a parameter. In which cases does this actually work? When i try to add the user www-data to the ssl-cert group: user{"www-data": groups +> "ssl-cert", }

[Puppet Users] Re: usage of '+>' ?

2008-11-25 Thread Paul Lathrop
Udo, What version of Puppet are you running? --Paul On Tue, Nov 25, 2008 at 12:57 PM, udo waechter <[EMAIL PROTECTED]> wrote: > According to: > http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial > one can use the '+>' operator to add additional values to a parameter. > > In which case

[Puppet Users] Re: condition to test if fact contains ..

2008-11-25 Thread Ross McKerchar
> Hello, > > I'm trying to build a module to install Dell OpenManage. I see there's > a fact that productname: > > productname => PowerEdge R200 > > I think there's no way to have a condtion that says if productname > starts with PowerEdge? Would I need a custom fact? Anyone write one > yet? :) V

[Puppet Users] Some cert problem

2008-11-25 Thread David Dyer-Bennet
Bunch of weird stuff after a power failure here this morning. One of my virtual servers, managed through puppet, seems to not be talking to the master any more. And I can't get it to reconnect. I did puppetca --clean on the master, cleaned off certs on the client, started puppetd manually on th

[Puppet Users] puppetrun

2008-11-25 Thread dd-b
When I do: sudo puppetrun vl21.pinerivercapital.local I see no signs of any reaction at vl21. Puppetrun output locally is: Failed to load ruby LDAP library. LDAP functionality will not be available Finished I take that first bit to be a warning (there isn't an obvious way for me t

[Puppet Users] Re: Some cert problem

2008-11-25 Thread dd-b
Sorry to follow up to myself, but I found the problem. I need to use the FQDN for the server on the command line, not just the host name. The error messages don't suggest that as the problem at all. And the fact that the certificate showed up in the signing queue on the server made me rule that

[Puppet Users] Yum update

2008-11-25 Thread dd-b
So I seem to remember an old discussion here where people here were reasonably consistent in thinking they didn't want to have puppet update packages automatically, either through a total "yum update" or through individual services being set that way. What *do* you do? Say I've got 6 systems I w

[Puppet Users] Re: Yum update

2008-11-25 Thread Eric Eisenhart
Right now, that's still one of the few things we do "by hand" on our systems. Upgrade/patch the test system sometime during the day; then upgrade/patch half the production one night, then upgrade/patch the other half of production another night. I've considered having puppet do it, but I n

[Puppet Users] Re: Yum update

2008-11-25 Thread jrojas
I have always been on the fence with this issue. There are certain things you are able to mange with puppet with the use of "ensure => latest" (at least it has always worked for me) Some people say, puppet is meant to maintain a stable build of your system not update it. And some people say, puppe

[Puppet Users] Re: puppetrun

2008-11-25 Thread jrojas
You need to configure your "puppetd" to listen. If it is not listening then it wont let puppetrun happen. Look at this page: http://reductivelabs.com/trac/puppet/wiki/NameSpaceAuth puppetd must be started with --listen, and namespaceauth.conf needs to know who the puppetmaster is. -Jason --~

[Puppet Users] Re: notify and reload

2008-11-25 Thread jrojas
in your case you may want to define the service like so: service { "your_service": ensure => running, enable => true, restart => "your restart command here, subscribe => File["config file"]; } --~--~-~--~~~---~--~~ You received

[Puppet Users] Re: cron type with UID conflicts

2008-11-25 Thread jrojas
That is a tough one, try creating your own custom type as a monkey patch. What happens if you add a user => "root" to your manifest for the cron entry? -Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: cron type with UID conflicts

2008-11-25 Thread Andrew Shafer
I'm not trying to be snarky and I'm no sysadmin, but why do you do this instead of using sudo? On Tue, Nov 25, 2008 at 7:42 PM, jrojas <[EMAIL PROTECTED]> wrote: > > That is a tough one, try creating your own custom type as a monkey > patch. > > What happens if you add a user => "root" to your m

[Puppet Users] Re: Two files with no change trying to be modified

2008-11-25 Thread jrojas
The first part I am not sure on, the second part is interesting. Net-SNMP always does weird things. Can you get a diff of the two files? notice: checksum changed '{md5}2bae7729229cff023cb03b0377cd7088' to '{md5}0e86c2e3ca02312e61f477528bcfaf64' --~--~-~--~~~---~--~---

[Puppet Users] Re: puppetrun

2008-11-25 Thread RijilV
Also man page has a good section under "USAGE NOTES" that more or less constitutes a quick walk through. .r' 2008/11/25 jrojas <[EMAIL PROTECTED]> > > You need to configure your "puppetd" to listen. > If it is not listening then it wont let puppetrun happen. > > Look at this page: > > http://re

[Puppet Users] Re: cron type with UID conflicts

2008-11-25 Thread RijilV
that and running root logins over NIS... 2008/11/25 Andrew Shafer <[EMAIL PROTECTED]> > > I'm not trying to be snarky and I'm no sysadmin, but why do you do this > instead of using sudo? > > > > On Tue, Nov 25, 2008 at 7:42 PM, jrojas <[EMAIL PROTECTED]>wrote: > >> >> That is a tough one, try cre

[Puppet Users] Community Modules Resource

2008-11-25 Thread MarkV
Hi Group, I'm new to Puppet, and really like what I see - thanks for all the effort put into this project. I am not a sysadmin, but would like to use puppet as a configuration component in another OSS project I'm toying with starting. Consequently I'd like to leverage off pre-existing module effo

[Puppet Users] Package manager specs: Best of breed?

2008-11-25 Thread Mark V
Hi Group, In order to come to grips with puppet I thought to start by using it to manage my laptop. openSUSE 11.0. This distribution now uses zypper as its package manager. It seems that the patch, http://projects.reductivelabs.com/issues/show/1223 is awaiting some tests so that seems a