Re: [Puppet Users] custom facts setup questions

2010-09-09 Thread Sandor Szuecs
On Sep 8, 2010, at 9:45 PM, James Cammarata wrote: > Definitely ruby's fault on this one, apparently. The original system I was > testing on is RHEL4, with ruby 1.8.1-7. I just tested the exact same > configs on a RHEL5 box with ruby 1.8.5-5 and it worked flawlessly: I guess ruby 1.8.1 is the

Re: [Puppet Users] Installing puppet 0.25.5 on SLES 9 64bit

2010-09-30 Thread Sandor Szuecs
On Sep 29, 2010, at 3:45 PM, Christian wrote: > /usr/sbin/puppetd:159:in `require': No such file to load -- puppet/ > application/puppetd (LoadError) >from /usr/sbin/puppetd:159 > > What went wrong here? Is there a bug in the rpm? Or do i have to set a > path somewhere? It seems you hav

Re: [Puppet Users] Re: Installing puppet 0.25.5 on SLES 9 64bit

2010-10-01 Thread Sandor Szuecs
On Oct 1, 2010, at 10:29 AM, Christian wrote: > Some idea how to solve that problem and how i can make the ./ > openssl.so loadable? You can try the following: $ ruby -e 'require "openssl"; puts OpenSSL::Digest::MD5.digest "foo"' Is you ruby installation linked against openssl.so? I am not su

Re: [Puppet Users] Re: Installing puppet 0.25.5 on SLES 9 64bit

2010-10-01 Thread Sandor Szuecs
On Oct 1, 2010, at 1:27 PM, Christian wrote: > > Your solution suggestion i don't understand completely ... > $ ruby -e 'require "openssl"; puts OpenSSL::Digest::MD5.digest "foo"' > > Which term i should use to replace "foo"? Sorry i'm not (yet) a ruby > expert. Sorry it was not a solution sugg

Re: [Puppet Users] hostname not match with the server certificate

2010-10-10 Thread Sandor Szuecs
On Oct 7, 2010, at 5:36 AM, bluethundr wrote: > On the server I run as per the wiki: > > [r...@virtcent13:/etc/yum.repos.d]#puppetca --list > virtcent02.summitnjhome.com > [r...@virtcent13:/etc/yum.repos.d]#puppetca --sign > virtcent02.summitnjhome.com > virtcent02.summitnjhome.com > notice: Sig

Re: [Puppet Users] how to set Ruby path?

2010-10-20 Thread Sandor Szuecs
On Oct 20, 2010, at 2:13 AM, bobics wrote: > How do I set the Ruby path that Puppet uses? I have Ruby Enterprise > Edition installed for my *application*, installed from source and > symlinked (/usr/local/bin/ruby) so it's in the path, overriding the > default .deb installed standard Ruby (/usr/

Re: [Puppet Users] Puppet on Windows

2010-10-28 Thread Sandor Szuecs
On Oct 26, 2010, at 8:51 PM, Kikanny wrote: > Hi. I know that puppet for windows is in its basic stages but I've > been screwing around with it. I can get facter working. However one > error that it spits out is that: "Could not retrieve puppetversion: > Cannot determine basic system flavour." >

[Puppet Users] Exec multiple conditions fail

2010-12-13 Thread Sandor Szuecs
Hi, I need to run an exec ressource if one of the conditions fail. It seems not to work from puppet versions 0.25.4 to 2.6.4. # 1. try onlyif: % puppet -e ' Exec { path => "/usr/bin:/bin:/usr/sbin:/sbin" } exec { "run_rsn": command => "touch /bar", onlyif => [ "test -f /does_not_exist

Re: [Puppet Users] Exec multiple conditions fail

2010-12-13 Thread Sandor Szuecs
Felix, On Dec 13, 2010, at 5:52 PM, Felix Frank wrote: > > Am I right to assume that > test -f /does_not_exist *always* returns 1 and > test -d / *always* returns 0? Yes. I should be more clear, because I need an \not\exists operator. If one or more conditions fail I want to run the command. B

Re: [Puppet Users] Puppet Parse Trees (for a lint checker)

2011-03-01 Thread Sandor Szuecs
On Mar 1, 2011, at 12:14 PM, Nick Moffitt wrote: > Or is there already some > easily-modifiable lint checker elsewhere? You probably want: puppet --parseonly All the best, Sandor Szücs -- -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.