[Puppet Users] Re: Problem installing Solaris Datastream Package

2009-09-29 Thread martin
Hi Andy! On Sep 29, 7:59 am, Andy Kocher wrote: > I'm having problem with the way Puppet is processing Solaris > datastream packages. The following error occurs: > > err: //Node[basenode]/openssl/Package[openssl-0.9.8k-sol10-x86-local]/ > ensure: change from absent to present failed: Execution

[Puppet Users] Re: Problem installing Solaris Datastream Package

2009-09-29 Thread Andy Kocher
Hi Martin, my definition looks like this package { "$platform": ensure => installed, provider => sun, source => "/var/tmp/staging/openssl/ $platform", adminfile => "/etc/puppet/

[Puppet Users] Re: Problem installing Solaris Datastream Package

2009-09-29 Thread Andy Kocher
forgot to paste the definition of $platform $platform = $hardwareisa ? { sparc => "openssl-0.9.8k-sol10-sparc- local", default => "openssl-0.9.8k-sol10-x86- local" } On Sep 29, 10:11 

[Puppet Users] Re: Passing input to script within an exec statement fails

2009-09-29 Thread paul matthews
Allan, superb! That's what the problem was which turned out to be embarrassingly basic. I'd missed the /bin in my path statement Thanks Paul 2009/9/28 Allan Marcus > > You could try to add > > path=> "/bin:/usr/bin", > > for the echo command. > > --- > Thanks, > > Allan Marcus > 505-667-566

[Puppet Users] Misssing package with yum provider

2009-09-29 Thread Arnau Bria
Hi all, I'm on SL5 (something like RH5) and I have something as simple as: package {"libX11-devel.x86_64": } package {"libX11-devel.i386": } Cause I want both versions installed in my system. But on one node: # rpm -qa|grep libX11-devel libX11-devel-1.0.3-9.el5 # yum list libX11

[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-29 Thread Trevor Vaughan
Nico, I've seen this behavior in the past and it generally has to do with a typo or misconfiguration on my part. Whenever I run across this, I restart the puppetmaster and then try again. At that point, you should never have it work until you fix the problem. Generally, after any major change,

[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-29 Thread Peter Meier
nasty side effect from running multiple nodes against the same thread. If you would run only the wrong manifest against a certain puppetmasterd thread it would always fail (like trevor suggested the restart). If puppet would unload all already loaded classes everytime a new compile request

[Puppet Users] Re: Using variables in virtual resources

2009-09-29 Thread Bjørn Dyre Dyresen
Hi, there Im looking into the same thing. Did you come up with a decent solution? Regards Bjørn Dyresen 2009/9/28 Eric Gerlach > > On Fri, Sep 18, 2009 at 09:08:37AM +0200, Kenneth Holter wrote: > > Hi. > > > > > > I've defined a virtual user "kenneth", and depending on a variable in the > > n

[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-29 Thread Allan Marcus
I'm noticed a similar odd behavior with 0.25.1 as well. I have a module that works fine under 0.24.8 (both webrick and passenger), works fine under 0.25.1 (webrick), but will not load for the first few runs under 0.25.1 (passenger). I only have one node, so I'm pretty sure it's not a cachi

[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-29 Thread Trevor Vaughan
Peter, Thanks for the explanation. I hadn't realized that I was abusing the crap out of the autoloader but, now that you explain it, I am! Trevor On Tue, Sep 29, 2009 at 08:28, Peter Meier wrote: > > nasty side effect from running multiple nodes against the same thread. > If you would run onl

[Puppet Users] Re: puppet / works & does not work: the quantum effect

2009-09-29 Thread Nigel Kersten
On Tue, Sep 29, 2009 at 5:28 AM, Peter Meier wrote: > Or design by convention and never put more than one class/define into > a file and extensively use puppet's autoloading feature right. ;) That's the approach I've always taken, and I haven't run into any of these class of problems so far.

[Puppet Users] Re: Wednesday night drinks?

2009-09-29 Thread Paul Nasrat
2009/9/28 Michael Halligan : > > Is anybody interested in getting together at my place downtown to > drink scotch, talk Puppet, and chill out before the big day? > I'm sure there will be some plan - a hangout/scotch (what do you have, I can probably pick up a bottle of something in the UK before

[Puppet Users] 0.25.x upgrade gives "Parameter notify failed"

2009-09-29 Thread Darrell Fuhriman
In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), I'm now getting the following error, seemingly everywhere that notify/ require is used: For example: err: Could not run Puppet configuration client: Parameter notify failed: No title provided and title '{"title"=>"smb", "t

[Puppet Users] Re: Problem installing Solaris Datastream Package

2009-09-29 Thread Moty
I wonder Did http worked for you as a source datastream protocol for pkg files ? Moty On Sep 29, 10:02 am, martin wrote: > Hi Andy! > > On Sep 29, 7:59 am, Andy Kocher wrote: > > > I'm having problem with the way Puppet is processing Solaris > > datastream packages. The following error o

[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"

2009-09-29 Thread Darrell Fuhriman
On Sep 29, 2009, at 10:25, Darrell Fuhriman wrote: > In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), > I'm now getting the following error, seemingly everywhere that > notify/require is used: As an additional piece of info, 0.24.8 client continue to function as normal,

[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"

2009-09-29 Thread Nigel Kersten
On Tue, Sep 29, 2009 at 11:39 AM, Darrell Fuhriman wrote: > > > On Sep 29, 2009, at 10:25, Darrell Fuhriman wrote: > >> In testing the move to 0.25 (tried with both 0.25.0 and 0.25.1rc1), >> I'm now getting the following error, seemingly everywhere that >> notify/require is used: > > As an additi

[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"

2009-09-29 Thread Darrell Fuhriman
> Is it that you're using Service[smb] rather than Service['smb'] ? I thought of that, but that doesn't seem to matter - the other example I give uses single quotes everywhere, and other failures are similar. d. --~--~-~--~~~---~--~~ You received this message

[Puppet Users] Re: Wednesday night drinks?

2009-09-29 Thread dmangot
Sorry I'm so late to chime in. I've been meaning to post this for a while, even though I might not be able to make it to any events. My version of: The SysAdmin/Tech Nerds tour of SF bars (yes, I'm local) 1. The Zeitgeist (Duboce and V

[Puppet Users] http://reductivelabs.com/trac/puppet/wiki/TypeReference

2009-09-29 Thread Allan Marcus
The http://reductivelabs.com/trac/puppet/wiki/TypeReference page used to have a very handy TOC. Anyway to get it back? --- Thanks, Allan Marcus 505-667-5666 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Re: migating from 0.24.8 to 0.25.0rc1

2009-09-29 Thread Chris Westin
I'm getting similar messages about cacrl, even though I haven't set it. Did switching to passenger fix the problem? Or did you find another way to fix it? I'm using webrick and don't want to complicate things further for now if I don't have to. Chris --~--~-~--~~~-

[Puppet Users] The file resource is going away?

2009-09-29 Thread Chris Westin
In the type reference (http://reductivelabs.com/trac/puppet/wiki/ TypeReference), under the file resource, it says "As Puppet matures, it expected that the file resource will be used less and less to manage content, and instead native resources will be used to do so. If you find that you are often

[Puppet Users] Re: Mac Domainname and facter

2009-09-29 Thread engle
OK, seems that there are two places where a resolv.conf file is located. This is on Max OS X 10.5.8. /private/etc/resolv.conf /private/var/run/resolv.conf The only one of these that gets updated via DHCP is the /private/var/ run/resolv.conf file. Facter does not seem to look at this file althoug

[Puppet Users] Re: 0.25.x upgrade gives "Parameter notify failed"

2009-09-29 Thread Darrell Fuhriman
Well, I've tracked it down a bit further. I updated activerecord to 2.3.4 before installing puppet, since I'm using storedconfigs. If I remove this gem and leave 2.2.2 installed, everything seems to work as expected. So, tracking it down a bit further, it seems that everything works with A

[Puppet Users] Re: Mac Domainname and facter

2009-09-29 Thread Nigel Kersten
On Tue, Sep 29, 2009 at 1:30 PM, engle wrote: > > OK, seems that there are two places where a resolv.conf file is > located. This is on Max OS X 10.5.8. > > /private/etc/resolv.conf > /private/var/run/resolv.conf > > The only one of these that gets updated via DHCP is the /private/var/ > run/reso

[Puppet Users] Re: PuppetCamp is almost here

2009-09-29 Thread Aaron Lippold
Hi, Is there still room in PuppetCamp for interested folks? Thanks, Aaron On Tue, Sep 29, 2009 at 2:07 AM, Andrew Shafer wrote: > > PuppetCamp is only a few days away. > > I know some people are already in San Francisco. > > Luke will be around tomorrow night and I'm coming in Wednesday morni

Type and Metaparameter Reference (was Re: [Puppet Users] http://reductivelabs.com/trac/puppet/wiki/TypeReference)

2009-09-29 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all One thing I clearly forgot to mention here was that we've moved the metaparameter documentation from the Type Reference into its own page which is located at: http://reductivelabs.com/trac/puppet/wiki/MetaparameterReference Allan - I'll also

[Puppet Users] Re: Wednesday night drinks?

2009-09-29 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dmangot wrote: > Sorry I'm so late to chime in. I've been meaning to post this for a > while, even though I might not be able to make it to any events. My > version of: Thanks! > 1. The Zeitgeist (Duboce and Valencia). Happens to be the best bar

[Puppet Users] Re: lunch at Google on Wednesday for Puppet Campers?

2009-09-29 Thread Nigel Kersten
ok, so anyone who wishes to come to Google for a quick squiz around and lunch, I suggest you come to my office around 11:30 to 12:00 and we'll work it out from there. http://explanatorygap.net/crap/cell is my cell. I'll pull it down from there after puppet camp. My office is at: 1500 Plymouth

[Puppet Users] Re: Announcement: Foreman 0.1-1 is out

2009-09-29 Thread Kennon
Hi Ohad, I'm having an installation issue on an CentOS 5 machine... I haven't seen this issue mentioned before - am I missing something? Thanks! -kennon $ RAILS_ENV=production rake db:migrate --trace (in /var/home/l_kkwok/foreman) ** Invoke db:migrate (first_time) ** Invoke environment (first_

[Puppet Users] Ruby 1.9.1 compatibility?

2009-09-29 Thread Craig Miskell
Hi, Should I be expecting puppet/puppetmaster to work on Ruby 1.9.1p243? I've got some definite errors relating to syntax in puppetmaster, and having fixed those, there's other more obscure looking errors e.g: Could not autoload file: constant Puppet::Type::File not defined Could not

Re: Type and Metaparameter Reference (was Re: [Puppet Users] http://reductivelabs.com/trac/puppet/wiki/TypeReference)

2009-09-29 Thread Allan Marcus
Thanks for the update. Both pages are so important to each other, they really should be linked to each other. --- Thanks, Allan Marcus 505-667-5666 On Sep 29, 2009, at 3:16 PM, James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all > > One thing I clearly forg

[Puppet Users] Re: PuppetCamp is almost here

2009-09-29 Thread Alex Laslavic
I will look for you at the seranno in the late afternoon on wednesday. Thanks. On Tue, Sep 29, 2009 at 2:07 AM, Andrew Shafer wrote: > > PuppetCamp is only a few days away. > > I know some people are already in San Francisco. > > Luke will be around tomorrow night and I'm coming in Wednesday mo

[Puppet Users] Re: puppetd daemon dies for no apparent reason

2009-09-29 Thread Chris Westin
More information: In my efforts to get past some other messages regarding "could not intern from JSON," I had installed (yum install) the ruby-json package. With that installed, puppetd refused to run at all. I dug around and found some blags that said this message was ignorable. So I (yum) un

[Puppet Users] Running puppet as non-root => getting rid of all those ownership warnings

2009-09-29 Thread Brian Ferris
I'm using puppet to manage configs on machines where I don't have root access. Whenever I use a File resource where the source is a puppet:// resource, I get tons of warnings when I run puppet that look like: Cannot manage ownership unless running as root True enough, I'm not running as root, b

[Puppet Users] Re: PuppetCamp is almost here

2009-09-29 Thread Andrew Shafer
There are technically 8 slots left until we go over our 'final' count for the caterer. If you there are others who are still able to make it, please sign up ASAP so we can work it out. On Tue, Sep 29, 2009 at 3:05 PM, Aaron Lippold wrote: > > Hi, > > Is there still room in PuppetCamp for inte

[Puppet Users] Re: Problem installing Solaris Datastream Package

2009-09-29 Thread Andy Kocher
Hi, the same story with http. This looks good, /usr/sbin/pkgadd -d http://ezsrva004/openssl-0.9.8k-sol10-x86-local ## Downloading... ...20%...40%...60%...80%... 100% ## Download Complete The following packages are available: 1 SMCossl openssl

[Puppet Users] creating custom types

2009-09-29 Thread Matt Delves
Hey Folks, I'm after some documentation about creating a custom puppet type. Particularly creating test cases for the type as well. Thanks, Matt Delves --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users

[Puppet Users] Re: creating custom types

2009-09-29 Thread Carl Caum
This is always a good starting place: http://reductivelabs.com/trac/puppet/wiki/Development/CreatingCustomTypes On Wed, Sep 30, 2009 at 12:35 AM, Matt Delves wrote: > > Hey Folks, > I'm after some documentation about creating a custom puppet type. > Particularly creating test cases for the type

[Puppet Users] Re: Announcement: Foreman 0.1-1 is out

2009-09-29 Thread Ohad Levy
Hi Kennon, Are you sharing storeconfig database? The error complains about an environment table already in the database? the error actually comes from puppet migrations (regardless to foreman), so its quite strange that you get this error. Maybe you can try out first without storeconfigs (if you