[Puppet Users] Re: puppet, facter and using non-scalar values

2008-10-16 Thread Simon J Mudd
Hi Luke, Sorry for not replying earlier. I missed your reply. On Oct 13, 2008, at 5:05 pm Luke Kanies wrote: > What are you going to be doing with the facts? Wouldn't you want to > just declaratively manage the whole set of groups and volumes and such? In this particular case I want to cre

[Puppet Users] Re: how to update solaris packages without keeping local copies

2008-10-16 Thread martin
Richard, On Oct 16, 1:47 am, Richard Doty <[EMAIL PROTECTED]> wrote: > I have a solaris package stored on a puppet server.  I'd like > to be able to maintain the package on a client system without > having to also keep a copy of the package file on the client > system.  (think lots and lots of pa

[Puppet Users] Re: how to update solaris packages without keeping local copies

2008-10-16 Thread Peter Meier
Hi > it is not very well known, but pkgadd can take an URL as dtastream, > i.e. > pkgadd -d http://yourserver.com/pkgs/SUNWxyz.pkg > > I haven't checked if puppet supports this, but it is worth > investigating :) for all other package providers I use, you can use the source param to install pa

[Puppet Users] Re: puppet, facter and using non-scalar values

2008-10-16 Thread Simon J Mudd
[EMAIL PROTECTED] (Simon J Mudd) writes: > The only thing that surprises me is that I don't see recipes or archives > which mention the use of LVM for configuring servers with puppet yet > this seems to be such a basic task of building a server. And at least > 2 platforms I know use LVM: Linux an

[Puppet Users] virutal resources and ssh_authorized_key

2008-10-16 Thread Grzegorz Marszałek
Hello! I've got question - how to use ssh_autorized_key as a virtual resource? I've got bunch of users and ssh_authorized_key virtual resources, but only users gets to the target system - ssh keys not... I write something like: class admins { @user { "username": ... } @ssh_authorized_key {

[Puppet Users] puppet not creating users?

2008-10-16 Thread Grzegorz Marszałek
Hello! My problem is - puppet is not creating users... I've got class: class admins { @user { "graf0": ensure => present, uid => 1500, comment => "Full name", home => "/home/graf0", managehome=> true, shell => "/bin/bash", password => 'SO

[Puppet Users] Error in Puppetmaster/Mongrel init script.

2008-10-16 Thread Kenneth Holter
Hello. I'm running RHEL 4, and have just installed Mongrel and Nginx. I found and have tried this init script: http://github.com/duritong/puppet-puppet/tree/master/files/cluster/init.d/puppetmaster.CentOS Starting puppetmaster works fine, but when I try stopping it I get a "pidof: invalid optio

[Puppet Users] language trouble with metaparameters

2008-10-16 Thread zoniguana
I'm probably being dense here, but Is if possible to include a class, onlyif a given file exists? If not, can I put an onlyif in all the file/cron/service/etc statements, so that they are only executed once that file is put in place (I.e. only run phase 2 of the configging once a file is in p

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Marcin Owsiany
On Thu, Oct 16, 2008 at 07:16:39AM -0700, zoniguana wrote: > Is if possible to include a class, onlyif a given file exists? Currently not, this is bug http://projects.reductivelabs.com/issues/show/651 on which I'm going to start work Really Soon Now (tm). -- Marcin Owsiany <[EMAIL PROTECTED]>

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Teyo Tyree
Hey Zoniguana, zoniguana wrote: > I'm probably being dense here, but > > Is if possible to include a class, onlyif a given file exists? > If not, can I put an onlyif in all the file/cron/service/etc > statements, so that they are only executed once that file is put in > place (I.e. only run ph

[Puppet Users] Re: puppet not creating users?

2008-10-16 Thread Grzegorz Marszałek
Ok, silly me... Users are there - defined in ldap... Sorry for nosie :) > --- Grzegorz Marszałek [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Justin Williams
That is perfect! Thank you! So, if I have: Class A for basic stuff Class B for system specific stuff and Class C for other stuff that has to happen after classes A & B, then, if I have, say, file { "/foo/bar/snarfblatt": require => Class[" B"], etc; } in class C And then require File["/foo/bar/sn

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Teyo Tyree
Justin Williams wrote: > That is perfect! Thank you! > > So, if I have: > Class A for basic stuff > Class B for system specific stuff > and Class C for other stuff that has to happen after classes A & B, > then, if I have, say, file { "/foo/bar/snarfblatt": require => Class[" > B"], etc; } in cla

[Puppet Users] Re: Puppet Augeas Plugin

2008-10-16 Thread Marc Fournier
>>> hmmm. looks like a patch from Marc Fournier attempts to address the same >>> thing and I'm not sure both are necessary (and they conflict in some >>> cases). I suppose it depends on what behavior is appropriate. >>> >>> Marc's patch will not perform the onlyif get/match if the node doesn't >>

[Puppet Users] Re: language trouble with metaparameters

2008-10-16 Thread Justin Williams
This is exactly the kind of info that I was once hunting for a month or two ago. The ability to have one class depend upon another, or to have one class depend upon an another type, is huge, and simplifies so much for me! Thank you!!! On Thu, Oct 16, 2008 at 11:36 AM, Teyo Tyree <[EMAIL PROTECTED

[Puppet Users] Re: Templates if/else

2008-10-16 Thread Gary Richardson
Thanks, that got it going for me. I don't know if there was a typo in my block of code, but it didn't work for the first time around. On Wed, Oct 15, 2008 at 6:05 PM, Andrew Shafer <[EMAIL PROTECTED]>wrote: > > Gary, > > The templates are using standard ERB, which essentially gives you the > abil

[Puppet Users] Re: Templates if/else

2008-10-16 Thread Andrew Shafer
I think your original snippet doesn't work because the first if is inside an <%= %> block. So the rest of the code probably doesn't parse right. On Thu, Oct 16, 2008 at 2:20 PM, Gary Richardson <[EMAIL PROTECTED]>wrote: > Thanks, that got it going for me. I don't know if there was a typo in my >

[Puppet Users] Re: Noob with probs

2008-10-16 Thread Deimos
Yes. Thanks a lot for the update, working nicely now. I've created my own pkg's with createpackage.sh from the 0.24.6rc1 tarball and am testing that. On Oct 16, 1:11 am, "Nigel Kersten" <[EMAIL PROTECTED]> wrote: > I should also add this has been committed upstream. > > http://projects.reductivel

[Puppet Users] Re: Puppet Augeas Plugin

2008-10-16 Thread Bryan Kearney
Marc Fournier wrote: hmmm. looks like a patch from Marc Fournier attempts to address the same thing and I'm not sure both are necessary (and they conflict in some cases). I suppose it depends on what behavior is appropriate. Marc's patch will not perform the onlyif get/ma

[Puppet Users] Re: Puppet Augeas Plugin

2008-10-16 Thread Marc Fournier
>> The patch I sent indeed focused on the need for this workaround. The >> behaviour of Joel's patch is definitely better. > > > So.. to verify... you are good? Sorry, I wasn't very clear. Yes Joel's patch works fine for me. Marc --~--~-~--~~~---~--~~ You receiv