[Puppet Users] Re: yum provider executes rpm -e?

2009-06-29 Thread Fletch
I also noticed this today. Is there a better yum provider? I want to ensure cups and all the crap it comes with is absent. puppet calls rpm -e cups and fails on dependencies check. thanks for any tips On Jun 22, 8:12 am, Arnau Bria wrote: > Hi all, > > I have defined in my site.pp: > > Package

[Puppet Users] Cache puppet files

2009-06-29 Thread Alexandre Nascimento
Friends, I Make the update of my files on the puppetmaster server, but servers customers run the classes that no longer exist. Someone could help me? Thank you! -- Alexandre SlackUser "Seja Livre, Use Linux!" --~--~-~--~~~---~--~~ You received this message bec

[Puppet Users] Re: Puppet reparsing puppet.conf every 24 hours - is this configurable?

2009-06-29 Thread Greg
Nigel, Actually, its happening 10 mins into backups... And its using Netbackup... Looks like I'm stuck with it, unless its possible to get that check to happen on mtime instead of ctime... (Of course then theres the question of which is more useful, etc...) Its not a major issue... The only real

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Nigel Kersten
On Mon, Jun 29, 2009 at 4:13 PM, Allan Marcus wrote: > > I think people are missing Gary's point (or maybe I am). Puppet works > by ensuring a package is installed. If the package version changes, > puppet will install the new version. > > I a lab where those pesky students might delete a file in,

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Allan Marcus
I think people are missing Gary's point (or maybe I am). Puppet works by ensuring a package is installed. If the package version changes, puppet will install the new version. I a lab where those pesky students might delete a file in, say the MS Office directory, puppet would do nothing sinc

[Puppet Users] facter problem

2009-06-29 Thread Roy Nielsen
Hello, I've created a simple fact (with http://reductivelabs.com/trac/puppet/wiki/AddingFact ) to check the version of an installed program, it was working friday, now I don't get any return values from facter. I've got my RUBYLIB set properly (export RUBYLIB=~/lib/ruby/facter) with my home-

[Puppet Users] Re: facter problem

2009-06-29 Thread Roy Nielsen
Hello, Sorry, my RUBYLIB was incorrect.. Fixed now. Regards, -Roy Roy Nielsen wrote: > Hello, > > I've created a simple fact (with > http://reductivelabs.com/trac/puppet/wiki/AddingFact ) to check the > version of an installed program, it was working friday, now I don't get > any return val

[Puppet Users] Re: Unable to get storedconfigs to work

2009-06-29 Thread Felix Schäfer
Hello Nigel, Am 29.06.2009 um 17:52 schrieb Nigel Kersten: > Do you possibly have multiple versions installed? I did, deleted all but the newest, no change. Felix --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Nigel Kersten
On Mon, Jun 29, 2009 at 9:10 AM, Jason Hueske wrote: > > The potential for a mac-repository functionality is exactly what led > me to puppet in the first place, so that is very interesting to hear. > I will be keeping my eye on the munkie! > > It seems that flat packages would not suffer from the

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Jason Hueske
The potential for a mac-repository functionality is exactly what led me to puppet in the first place, so that is very interesting to hear. I will be keeping my eye on the munkie! It seems that flat packages would not suffer from the identifier problem that you have with Tiger pkgs/dmgs beca

[Puppet Users] Re: Unable to get storedconfigs to work

2009-06-29 Thread Nigel Kersten
On Mon, Jun 29, 2009 at 8:23 AM, Felix Schäfer wrote: > > Hello, > > I can't get storedconfigs to work, puppetmaster keeps complaining > about "missing Rails". Fact is I do have rails installed, I even have > a few rails apps running fine with a mysql backend in passenger. I > have tried to locali

[Puppet Users] Re: Puppet reparsing puppet.conf every 24 hours - is this configurable?

2009-06-29 Thread Nigel Kersten
On Sun, Jun 28, 2009 at 4:42 PM, Greg wrote: > > Hi all, > > I've noticed roughly every 24 hours my puppetmasters will reread the > puppet.conf even if there is no change to > the file. Logs look something like this: > > Jun 27 18:15:10 puppet-prod puppetmasterd[15161]: [ID 702911 > daemon.notice]

[Puppet Users] Re: Problems running on Mac OS X

2009-06-29 Thread Nigel Kersten
On Sat, Jun 27, 2009 at 5:15 PM, Allan B. Marcus wrote: > > I don't think a flat package works on 10.4, that's why packages still need > to be wrapped in a dmg. Yep. Unless you case 10.4 and post 10.4 separately, or drop 10.4 support, you need to wrap the pkgs in a dmg. > > -Allan > > > On Fri

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Nigel Kersten
So along these lines, there are two things I've been thinking about to improve package distribution with Puppet. a) Add a parameter called something like "creates" that would be an array of files and/or directories that a given package is expected to create. If any of these are missing, Puppet re

[Puppet Users] External Node Classifiers

2009-06-29 Thread Gary Larizza
Hi everyone, I've defined an external node classifier (the script is http://pastie.org/528040 ) in my puppet.conf ( http://pastie.org/528046 ) , and have moved the regular nodes.pp files. I've also commented out the import statement for the nodes.pp file in my site.pp file. When I connect from

[Puppet Users] Unable to get storedconfigs to work

2009-06-29 Thread Felix Schäfer
Hello, I can't get storedconfigs to work, puppetmaster keeps complaining about "missing Rails". Fact is I do have rails installed, I even have a few rails apps running fine with a mysql backend in passenger. I have tried to localise a possible error by starting puppetmasterd with debug, b

[Puppet Users] Re: pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Udo Waechter
Hi Gary, On 29.06.2009, at 14:12, Gary Larizza wrote: Hi All, I'm successfully using pkg_deploy to deploy DMG-encapsulated packages on Mac Clients. My question would be - since Puppet is essentially used to define a "state" that the computer is in, what would be the best way to maintain a "s

[Puppet Users] pkg_deploy on Macs - how to maintain "State"

2009-06-29 Thread Gary Larizza
Hi All, I'm successfully using pkg_deploy to deploy DMG-encapsulated packages on Mac Clients. My question would be - since Puppet is essentially used to define a "state" that the computer is in, what would be the best way to maintain a "state" after deploying a package? For example, if you depl

[Puppet Users] Re: Debugging external node scripts

2009-06-29 Thread Curt Micol
2009/6/29 Nicolas Szalay : > Le lundi 29 juin 2009 à 01:09 -0700, Curt Micol a écrit : > Did you try running it as the "puppet" user ? permissions on NODEFILE & > LOGFILE could be source of errors. Yes, sorry, I get the same results with running as the puppet user. Just tested once more to verify

[Puppet Users] Re: Debugging external node scripts

2009-06-29 Thread Nicolas Szalay
Le lundi 29 juin 2009 à 01:09 -0700, Curt Micol a écrit : > When I run the script directly: > [r...@vpsadmins ~]# python /etc/puppet/tools/external_nodes.py dc2- > vps1-400b.example.com > --- > classes: > - custom > - monitoring::base > - ntpd > - puppetd > - rpms > - sshd > - yum > - crontab > -

[Puppet Users] Debugging external node scripts

2009-06-29 Thread Curt Micol
Hello, Alright, my puppetmaster configuration works without external nodes, but I really need my external node script to work. In my /etc/puppet/puppet.conf I have the following: [main] ... node_terminus = exec external_nodes = /etc/puppet/tools/external_nodes.py When running puppetm

[Puppet Users] Re: how to exec a directory creation before downloading a file to that directory?

2009-06-29 Thread Samuli Seppanen
Hi, I was wondering this too last week. I haven't tested this yet, but I assume using "require" and "before" would do the trick: http://reductivelabs.com/trac/puppet/wiki/TypeReference Samuli > > I want to create a directory and THEN get files into that directory on > a client. > Puppet it