[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-05 Thread Ohad Levy
I need to double check this, but from vague memory I remember that if you had one rpm that required a package, and if it didn't specify that it requires both archs, than it would end up installing the package + 64bit lib only and not the 32bit libs. Ohad On Wed, Aug 5, 2009 at 2:56 PM, Duncan Hill

[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-05 Thread Avi Miller
Ohad Levy wrote: > I need to double check this, but from vague memory I remember that if > you had one rpm that required a package, and if it didn't specify that > it requires both archs, than it would end up installing the package + > 64bit lib only and not the 32bit libs. Correct -- but that's

[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-05 Thread Ohad Levy
yeah, so I guess that's what I had in mind all along (i don't know how common it is today, but in the past it was fairly common) On Wed, Aug 5, 2009 at 3:17 PM, Avi Miller wrote: > > Ohad Levy wrote: > > I need to double check this, but from vague memory I remember that if > > you had one rpm th

[Puppet Users] puppet not reloading server config

2009-08-05 Thread Dan Bode
Hi, I have a use case where the puppet server changes entries in the puppet agent's puppet.conf to redirect agents to a new server. It changes server=NEW_SERVER, environment_NEW_ENV, and reportserver=NEW_SERVER in the puppet.conf file on the next puppetrun call (with --listen option), the agen

[Puppet Users] puppet & munin : little things added

2009-08-05 Thread Nicolas Szalay
Hi list, On the advice of DavidS I send mail to the list to advertise about some modifications/enhancements I've made to his munin classes. The stuff is here : http://www.rottenbytes.info/?p=200 It is also available through planetpuppet.org, but everyone already reads it right ? ;) Regards, N

[Puppet Users] Re: puppet & munin : little things added

2009-08-05 Thread David Schmitt
Nicolas Szalay wrote: > Hi list, > > On the advice of DavidS I send mail to the list to advertise about some > modifications/enhancements I've made to his munin classes. > > The stuff is here : http://www.rottenbytes.info/?p=200 Cool, thanks for publishing! Some notes and questions: * In

[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-05 Thread Calimero
On 5 août, 09:11, Ohad Levy wrote: > I need to double check this, but from vague memory I remember that if you > had one rpm that required a package, and if it didn't specify that it > requires both archs, than it would end up installing the package + 64bit lib > only and not the 32bit libs. I

[Puppet Users] Re: 32bit and 64bit versions of packages

2009-08-05 Thread Ohad Levy
thanks, that good to know, but I still maintain RHE3 and RHE4... :( On Wed, Aug 5, 2009 at 5:02 PM, Calimero wrote: > > > > On 5 août, 09:11, Ohad Levy wrote: > > I need to double check this, but from vague memory I remember that if you > > had one rpm that required a package, and if it didn't

[Puppet Users] Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread Ben Lavender
I'm trying to manage my userbase in puppet and having some trouble. My setup: users exist in LDAP. Public keys exist in LDAP (I really recommend this patch, see http://code.google.com/p/openssh-lpk/wiki/Main). Some machines use NFS to mount an exported set of home directories; others do not. T

[Puppet Users] Re: Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread David Schmitt
Ben Lavender wrote: > I'm trying to manage my userbase in puppet and having some trouble. > This means that very few user resources actually exist on most > servers, but PAM will still return a list of users from LDAP. So I > would like to make sure that if you are logging in, you are actually >

[Puppet Users] Re: Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread Ben Lavender
> If that's really what you want -- purging /etc/passwd -- using a File > would be much easier and directly capture your intent: > >         file { >                 "/etc/passwd": >                         ensure => absent; >         } > > I'd recommend to provide at least a few system users in

[Puppet Users] Re: Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread Nicolas Szalay
Le mercredi 05 août 2009 à 04:01 -0700, Ben Lavender a écrit : > For the reasons you just explained, this won't do. Users like daemon, > cron, and various system accounts are all still around and need to > be. I'm also not sure what pam would do with itself without passwd, > to be honest, and wou

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Larry Ludwig
> > > Can someone tell me what I'm doing wrong here? According to the link > referenced above, puppet should be picking up functions in these > directories. Even better, is there an accepted way I can tell > puppetmasterd to look for functions in a particular place? Hi I assumed your issue is r

[Puppet Users] Re: ssh_authorized_key completely ignoring "require"

2009-08-05 Thread seph
It's supposed to be fixed in 0.25, which is now rc1. I haven't tried 0.25 yet seph Mike Harding writes: > I am just starting with puppet, and the intended use was to manage ssh > keys. Is there an intended release to fix this, or some other way to > get it working? > > On Jul 17, 1:14 pm, sep

[Puppet Users] Re: check if package installed

2009-08-05 Thread Pete Emerson
You can also use unless or onlyif. Here's an example where I manipulate /foo/bar if package baz is not installed via rpm: file { "/foo/bar": source => unless => "rpm -q baz" } Same thing with 'onlyif'. Pete On Tue, Aug 4, 2009 at 11:37 PM, Eric Heydrick wrote: > > Facter plugin is

[Puppet Users] 0.25.0-rc1 on ubuntu hardy (activerecord versions?)

2009-08-05 Thread seph
I've been looking forward to using 0.25, and now that there's an RC I figured I'd try it. My servers are mostly ubuntu LTS, which means hardy. When I try to launch puppetmaster, it complains: * Starting puppet configuration management tool master server Could not parse configuration file: St

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Ben Lavender
Perhaps this is the same issue, but the workaround does not seem to work. Starting puppetmasterd with --libdir=/var/lib/puppet/lib does not fix the problem. On Aug 5, 9:13 pm, Larry Ludwig wrote: > > Can someone tell me what I'm doing wrong here?  According to the link > > referenced above, pup

[Puppet Users] Re: Purging non-LDAP users, but ignore the LDAP users?

2009-08-05 Thread Ben Lavender
Thanks. This is a good idea to try and fix this. On Aug 5, 8:34 pm, Nicolas Szalay wrote: > Le mercredi 05 août 2009 à 04:01 -0700, Ben Lavender a écrit : > > > For the reasons you just explained, this won't do.  Users like daemon, > > cron, and various system accounts are all still around and

[Puppet Users] grouping or classifying servers

2009-08-05 Thread Jan Werner
hi list, first of all, i'm new to puppet, and i'm evaluating it right now since a few days in my company ( internet, books, etc as sources ). i've been using cfengine for a few years now, and trying to get into puppet. i'd install puppet 0.25, because i feel a need to use regular expressions to i

[Puppet Users] Re: ANNOUNCE: 0.25.0 Release Candidate 1 is out!

2009-08-05 Thread Eric Sorenson
On Aug 3, 2009, at 8:29 PM, Nigel Kersten wrote: > And there's a Mac pkg up here: > > https://sites.google.com/a/explanatorygap.net/puppet/Home/puppet_0.25.0-rc1.pkg.tar.bz2 You could probably do this as easily as I did, but FWIW here's a diff for macports. Index: dports/sysutils/puppet/Por

[Puppet Users] Hiring for a Puppet-oriented Systems Administrator/Tools Developer in Palo Alto

2009-08-05 Thread Michael Halligan
Greetings, The subject says it all, but I'm hiring for someone to focus on an in- house Puppet implementation at a startup I'm working with here in Palo Alto. Here's the req: COMPANY PROFILE: Twofish (www.twofish.com) is the world's premier provider of economic solutions for the online

[Puppet Users] Re: ANNOUNCE: 0.25.0 Release Candidate 1 is out!

2009-08-05 Thread Nigel Kersten
On Wed, Aug 5, 2009 at 10:56 AM, Eric Sorenson wrote: > > On Aug 3, 2009, at 8:29 PM, Nigel Kersten wrote: > >> And there's a Mac pkg up here: >> >> >> https://sites.google.com/a/explanatorygap.net/puppet/Home/puppet_0.25.0-rc1.pkg.tar.bz2 > > You could probably do this as easily as I did, but FWI

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread S H
On Wed, Aug 5, 2009 at 12:47 PM, Ben Lavender wrote: > > Perhaps this is the same issue, but the workaround does not seem to > work. Starting puppetmasterd with --libdir=/var/lib/puppet/lib does > not fix the problem. Silly question, but this bit me: are you running both puppetmaster and clien

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread S H
On Wed, Aug 5, 2009 at 5:26 PM, S H wrote: > On Wed, Aug 5, 2009 at 12:47 PM, Ben Lavender wrote: > >> >> Perhaps this is the same issue, but the workaround does not seem to >> work. Starting puppetmasterd with --libdir=/var/lib/puppet/lib does >> not fix the problem. > > > Silly question, but

[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)

2009-08-05 Thread silviu
This looks similar to this problem: http://projects.reductivelabs.com/issues/2102 Although the error message is different. Skipping the error message the error pops up because ruby fails to find the activerecord library, I'm guessing it's the same for you. Check the patch from the above ticket (

[Puppet Users] more 0.25.0 rc1 problems -- PGconn:Class

2009-08-05 Thread seph
I manually installed a newer ActiveRecord and ActiveSupport on my puppetmaster, and things start okay. But when I try to run puppet on a client (eother 0.24.8 or 0.25) I get this error: debug: Calling puppetmaster.getconfig err: Could not retrieve catalog: undefined method `quote_ident' for

[Puppet Users] Re: workarounds for bug #2141

2009-08-05 Thread David Lutterkort
On Tue, 2009-08-04 at 19:56 -0400, Chad Huneycutt wrote: > On Tue, Aug 4, 2009 at 7:12 PM, David Lutterkort wrote: > > > > On Mon, 2009-08-03 at 16:03 -0400, Chad Huneycutt wrote: > >> augeas { "/etc/exports-$vmname": > >> context => "/files/etc/exports", > >> chang

[Puppet Users] Re: 0.25.0-rc1 on ubuntu hardy (activerecord versions?)

2009-08-05 Thread seph
I'm not sure it's related. That bug looks to be about detecting whether or not rails is installed. I'm running into a very clear requirement on a new version of ActiveRecord. It's a problem only on older operating systems, like ubuntu LTS. Though interestingly, lib/puppet/feature/rails.rb require

[Puppet Users] Re: Puppet cannot find custom functions

2009-08-05 Thread Ben Lavender
Actually, I take that back--it would not appear to be the same issue as #2494 at all. I also have the functions file in this directory: /etc/puppet/modules/puppet/plugins/puppet/parser/functions/ That should have been loaded as well, according to http://reductivelabs.com/trac/puppet/wiki/Writing

[Puppet Users] Re: grouping or classifying servers

2009-08-05 Thread Ohad Levy
You might want to consider using external nodes instead, that wont require starting pre-release copy of puppet and should give you all the functionality you require (e.g. adding classes or variables per node) Ohad On Thu, Aug 6, 2009 at 1:40 AM, Jan Werner wrote: > > hi list, > > first of all, i

[Puppet Users] How to add header to all files/templates?

2009-08-05 Thread robbyt
Hello All! I would like to automatically add a header to all files/templates that puppet manages on my servers. Something like "#if you break, my puppet will fix it!!" Is this possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to