[Puppet Users] More complicated user management?

2012-03-20 Thread Robin Lee Powell
I feel like this should be way easier than it seems to be. -_- Let's say I have users alice, bob, carol, ... Different users get added on different servers. On all servers, any users *not* selected should be removed. So far, it seems like virtual resources handle this, and I've experimented w

Re: [Puppet Users] More complicated user management?

2012-03-20 Thread Robin Lee Powell
On Tue, Mar 20, 2012 at 01:27:45AM -0700, Robin Lee Powell wrote: > > I feel like this should be way easier than it seems to be. -_- > > Let's say I have users alice, bob, carol, ... > > Different users get added on different servers. > > On all servers, any u

[Puppet Users] puppetmasterd continuously consuming high CPU, with many interrupts

2012-07-02 Thread Robin Lee Powell
So, I have a server at home that has four VMs running inside it. All are managed via puppet. The physical host runs puppetmasterd. I don't recall noticing this before, but puppetmasterd has decided to be kind of crazy. Here's the physical host with no puppetmasterd running: top - 11:36:15 up 27

Re: [Puppet Users] Re: puppetmasterd continuously consuming high CPU, with many interrupts

2012-07-02 Thread Robin Lee Powell
On Mon, Jul 02, 2012 at 12:06:19PM -0700, llow...@oreillyauto.com wrote: > > > On Monday, July 2, 2012 1:42:37 PM UTC-5, Robin Powell wrote: > > > > So, I have a server at home that has four VMs running inside it. > > All are managed via puppet. The physical host runs > > puppetmasterd. > > > >

Re: [Puppet Users] Re: exported resources and templating

2011-09-21 Thread Robin Lee Powell
On Tue, Aug 23, 2011 at 06:21:48AM -0700, jcbollinger wrote: > > > On Aug 22, 8:11 am, puppetlurker wrote: > > Greetings, > > > > I'm having an issue with my implementation of exported resources.  I > > have a memcache server pool, and want to update the /etc/php.d/ > > memcache.ini with the ips

Re: [Puppet Users] Re: exported resources and templating

2011-09-22 Thread Robin Lee Powell
Thanks for the detailed reply! On Thu, Sep 22, 2011 at 07:18:13AM -0700, jcbollinger wrote: > > It sounds like your problem is that you don't in fact want to > collect *resources* at all -- rather, you want to collect *data*. > That is not what exported resources are for. That's entirely correct

Re: [Puppet Users] Export variables into other classes

2011-09-22 Thread Robin Lee Powell
On Thu, Sep 22, 2011 at 06:05:33AM -0700, Chris wrote: > Hi all > > I have been pondering this for a while, but not yet seen a clean way > to do it > > I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc) > > I would like to generate part of my bacula and nagios configs for each > ho

Re: [Puppet Users] Passing additional dependencies into a class

2011-09-22 Thread Robin Lee Powell
On Thu, Sep 22, 2011 at 09:53:46AM -0400, John Morrissey wrote: > I'm using an Apache 2 base class based on > http://projects.puppetlabs.com/projects/1/wiki/Debian_Apache2_Recipe_Patterns. > > I'd like to pass additional dependencies to the class and/or the definitions > it contains. For example,

Re: [Puppet Users] Re: exported resources and templating

2011-09-22 Thread Robin Lee Powell
On Thu, Sep 22, 2011 at 02:24:45PM -0700, jcbollinger wrote: > > You are missing the obvious: I had a feeling I might be. > anything in your manifests themselves is at least potentially > available to all nodes. Taking your e-mail address example, you > can do this: > > class email { > $add

[Puppet Users] Puppet's direction in theory?

2011-01-10 Thread Robin Lee Powell
So, I started with puppet about two years ago (December 2008). At the time, I was under the impression that the list of Types would grow a lot (i.e. http://docs.puppetlabs.com/references/stable/type.html ). In fact, the file type says: If you find that you are often copying files in from a ce

[Puppet Users] Best Practices/Style: add stuff to a file for each host?

2011-01-10 Thread Robin Lee Powell
(I'm going a bit more for philosophical discussion than practicality here, maybe. Do at least feel free to think in terms of what Puppet *should* do rather than tha fastest way to solve this problem.) There's a pattern I've run into a lot recently mhere a config file needs to be built based on in

Re: [Puppet Users] Puppet's direction in theory?

2011-01-10 Thread Robin Lee Powell
On Mon, Jan 10, 2011 at 08:33:06PM -0800, Jesse Wolfe wrote: > It's my understanding that we'd like to have more of both! So what should people who have developed new types do to get them included? > People do write native (ruby) Types and Providers, and people do > write them in Puppet language.

Re: [Puppet Users] Puppet's direction in theory?

2011-01-10 Thread Robin Lee Powell
On Mon, Jan 10, 2011 at 11:00:24PM -0800, Jesse A Wolfe wrote: > > Huh? You can write a Type in Puppet? How? I'm only aware of > > classes and defines, neither of which are that. > > A "define" is a "defined type" - it really fills the same role as > both a type and a provider. Well, except for

Re: [Puppet Users] Re: Puppet's direction in theory?

2011-01-11 Thread Robin Lee Powell
On Tue, Jan 11, 2011 at 07:07:58AM -0800, jcbollinger wrote: > > > On Jan 10, 10:53 pm, Robin Lee Powell > wrote: > > Huh?  You can write a Type in Puppet?  How?  I'm only aware of > > classes and defines, neither of which are that. > > Yes, you can, and you

Re: [Puppet Users] Puppet's direction in theory?

2011-01-11 Thread Robin Lee Powell
On Tue, Jan 11, 2011 at 10:41:13AM -0800, Daniel Pittman wrote: > The other thing I keep in mind is that using a 'define' that wraps > some file and exec operations *is* keeping with the spirit of that > statement, if not the letter: sure, it defines the type in the > DSL, but it means that your no

Re: [Puppet Users] Re: Best Practices/Style: add stuff to a file for each host?

2011-01-11 Thread Robin Lee Powell
On Tue, Jan 11, 2011 at 05:20:38AM -0800, Al @ Lab42 wrote: > > You can build a file based on different "fragments" at least in 2 > ways: > > - When you specify an array of templates , when using the content > => argument, these templates are actually appended in the defined > order. Can you use

Re: [Puppet Users] Re: Best Practices/Style: add stuff to a file for each host?

2011-01-12 Thread Robin Lee Powell
On Tue, Jan 11, 2011 at 12:07:30PM -0800, Robin Lee Powell wrote: > On Tue, Jan 11, 2011 at 05:20:38AM -0800, Al @ Lab42 wrote: > > > > You can build a file based on different "fragments" at least in > > 2 ways: > > > > - When you specify an arra

[Puppet Users] Distributing user configs from a central host?

2011-02-17 Thread Robin Lee Powell
I have a central server, that happens to be the puppetmaster, that has various users on it. I would like to copy out their information (name, uid, password, .bashrc, etc) to all my other hosts, but I want to let the users change their stuff on that host, so I don't want to just stick it in puppet

Re: [Puppet Users] Distributing user configs from a central host?

2011-02-17 Thread Robin Lee Powell
On Thu, Feb 17, 2011 at 09:30:33AM -0800, Daniel Pittman wrote: > You could use the resource description tool, in a generate call in the > appropriate resource, to have puppet ruun the process of rebuilding the > appropriate manifest content on demand. (Probably needs a little scripting > wrapped

Re: [Puppet Users] Distributing user configs from a central host?

2011-02-19 Thread Robin Lee Powell
On Fri, Feb 18, 2011 at 11:29:12AM -0800, Daniel Pittman wrote: > On Thu, Feb 17, 2011 at 15:18, Robin Lee Powell > wrote: > > On Thu, Feb 17, 2011 at 09:30:33AM -0800, Daniel Pittman wrote: > > > >> You could use the resource description tool, in a generate call in th

[Puppet Users] Ways to support Puppet Labs?

2011-02-19 Thread Robin Lee Powell
So I use puppet at home a lot, but I'm not going to be paying for enterprise support for that cuz $$$ouch :). My company isn't likely to do that any time soon either. I'd love to support you guys, though; is there a book or t-shirt or something I could buy such that money would get back to you?

[Puppet Users] gems, ruby installs, and paths

2011-04-01 Thread Robin Lee Powell
I'm working on a system (not created by me, I swear) that has something like 5 different versions of ruby installed, including a couple of versions of jruby. I need to install a gem, but I need to use /opt/jruby/bin/gem (or jgem) to do it. Unfortunately, I can't see any way to modify puppet's pa

[Puppet Users] Optional requires?

2011-04-01 Thread Robin Lee Powell
A discussion on IRC about having classes that depend on each other sometimes (i.e. a munin class that needs to do mysql-specific things on those hosts where mysql is installed) reminded me of a feature I've wanted for some time in puppet, that I don't think I ever actually shared/asked about: I'v

Re: [Puppet Users] gems, ruby installs, and paths

2011-04-02 Thread Robin Lee Powell
No-one has hit this issue? I'm really surprised. -Robin On Fri, Apr 01, 2011 at 02:39:35AM -0700, Robin Lee Powell wrote: > > I'm working on a system (not created by me, I swear) that has > something like 5 different versions of ruby installed, including a > couple of ver

Re: [Puppet Users] gems, ruby installs, and paths

2011-04-03 Thread Robin Lee Powell
On Sat, Apr 02, 2011 at 05:05:18PM -0700, Nigel Kersten wrote: > On Sat, Apr 2, 2011 at 4:29 PM, Bill Weiss > wrote: > > > In a similar situation (ruby-1.8.x and REE installed on a > > server), I found that mangling the PATH to point at the > > appropriate ruby did it.  That only works if your en

[Puppet Users] So, clientconfigs.sqlite3 is pretty big

2011-05-13 Thread Robin Lee Powell
I only have like 15 hosts, and the only stuff I'm aware that I'm saving via <<| |>>/@@ is ssh keys. It's > 600 MiB. That seems really large? Should I just delete it every once in a while? -Robin -- http://singinst.org/ : Our last, best hope for a fantastic future. Lojban (http://www.lojban.

[Puppet Users] Extra field in generated cron?

2011-05-13 Thread Robin Lee Powell
So on one of my hosts but not at least one other, I'm getting this: [root@beta01 /]# sudo puppetd -tv info: Caching catalog for beta01.c44031.blueboxgrid.com info: /Stage[main]/Ruby/Tidy[/etc/profile.d/rvm.sh]: File does not exist info: Applying configuration version '1305353595' notice: /Stage[m

Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big

2011-05-14 Thread Robin Lee Powell
On Sat, May 14, 2011 at 01:13:19PM +0300, Ohad Levy wrote: > On Sat, May 14, 2011 at 7:04 AM, Robin Lee Powell < > rlpow...@digitalkingdom.org> wrote: > > > > > I only have like 15 hosts, and the only stuff I'm aware that I'm > > saving via <

Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big

2011-05-14 Thread Robin Lee Powell
On Sat, May 14, 2011 at 01:35:51PM +0200, Stefan Schulte wrote: > On Fri, May 13, 2011 at 09:04:35PM -0700, Robin Lee Powell wrote: > > > > I only have like 15 hosts, and the only stuff I'm aware that I'm > > saving via <<| |>>/@@ is ssh keys. > >

530 million backslashes (was Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big)

2011-05-14 Thread Robin Lee Powell
On Sat, May 14, 2011 at 01:35:51PM +0200, Stefan Schulte wrote: > On Fri, May 13, 2011 at 09:04:35PM -0700, Robin Lee Powell wrote: > > > > I only have like 15 hosts, and the only stuff I'm aware that I'm > > saving via <<| |>>/@@ is ssh keys. > >

Re: [Puppet Users] Extra field in generated cron?

2011-05-14 Thread Robin Lee Powell
If no-one knows how to fix this, any debugging hints at least? Adding -d to the puppetd run reveals nothing interesting that I can see. -Robin On Fri, May 13, 2011 at 11:18:26PM -0700, Robin Lee Powell wrote: > > So on one of my hosts but not at least one other, I'm getting this:

Re: 530 million backslashes (was Re: [Puppet Users] So, clientconfigs.sqlite3 is pretty big)

2011-05-15 Thread Robin Lee Powell
On Sun, May 15, 2011 at 09:57:29AM -0700, Jacob Helwig wrote: > On Sun, 15 May 2011 15:33:56 +, Nigel Kersten wrote: > > > > This looks to be the issue that you're hitting: > > http://projects.puppetlabs.com/issues/4487 > > > > It definitely looks like you're hitting 4487, as Nigel said. >

[Puppet Users] Uninstalling the puppet source?

2011-05-16 Thread Robin Lee Powell
I'm installing puppet from git per instructions in another thread. The instructions given at http://docs.puppetlabs.com/guides/installation.html for installing puppet from source lead to it dumping things all over my Ruby, which I really wasn't expecting and doesn't work well with our environment

Re: [Puppet Users] Uninstalling the puppet source?

2011-05-16 Thread Robin Lee Powell
On Mon, May 16, 2011 at 12:35:10PM -0700, Robin Lee Powell wrote: > > I'm installing puppet from git per instructions in another thread. > > The instructions given at > http://docs.puppetlabs.com/guides/installation.html for installing > puppet from source lead to it dum

Re: [Puppet Users] Uninstalling the puppet source?

2011-05-16 Thread Robin Lee Powell
On Mon, May 16, 2011 at 12:54:02PM -0700, Daniel Pittman wrote: > On Mon, May 16, 2011 at 12:50, Robin Lee Powell > wrote: > > On Mon, May 16, 2011 at 12:35:10PM -0700, Robin Lee Powell wrote: > > >> (2) How do I turn the git source into a gem? > > > > Figure

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread Robin Lee Powell
(zombie thread rar!) Where this comes up for me is when I have packages set to "latest". There's not really any way, I don't think, to integrate samhain into this process (that is, to say "I just installed this package with apt, so update those files"). which is pretty unfortunate, really; th

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread Robin Lee Powell
; > > > On 06/08/2011 01:44 AM, Robin Lee Powell wrote: > >(zombie thread rar!) > > > >Where this comes up for me is when I have packages set to "latest". > >There's not really any way, I don't think, to integrate samhain into >

[Puppet Users] Key signing problem.

2009-08-12 Thread Robin Lee Powell
This is me trying to get my puppetmaster to work also as a client. I used to work, then I cleaned out all the certs by accident. -_- I can't find anything in the list about exactly this issue. Help, please? $ puppetd -tv warning: peer certificate won't be verified in this SSL session err: Coul

[Puppet Users] Re: Key signing problem.

2009-08-12 Thread Robin Lee Powell
ow I recreate the certificate nothing happens. > > > > Silviu > > On Wed, 12 Aug 2009 01:03:02 -0700, Robin Lee Powell > wrote: > > This is me trying to get my puppetmaster to work also as a client. > > I used to work, then I cleaned out all the certs by acci

[Puppet Users] Re: Key signing problem.

2009-08-12 Thread Robin Lee Powell
, Robin Lee Powell wrote: > > Everything I pasted was being run as root; I was logged in as root > at the time. > > Oh, and: it gets better. I stopped the puppetmaster, and now can't > start it: > > $ puppetca --clean chain.digitalkingdom.org > Removi

[Puppet Users] Puppet can't make puppet run.

2009-08-19 Thread Robin Lee Powell
I don't know that I can think of a solution to this, but: debug: Service[puppet](provider=debian): Executing 'ps -ef' debug: Service[puppet](provider=debian): PID is 30078 PID 30078, AFAICT, was the "puppetd -tv" I was actually running at the time. :) oh-www1% puppetd --version 0.24.8 -Robin

[Puppet Users] List problems?

2009-08-19 Thread Robin Lee Powell
2009 09:04:37 -0700 Date: Wed, 19 Aug 2009 09:04:37 -0700 From: Robin Lee Powell To: Puppet Users Subject: Tidy not working Message-ID: <20090819160436.ge7...@digitalkingdom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20

The actual problem (was Re: [Puppet Users] List problems?)

2009-08-20 Thread Robin Lee Powell
I tried resending it and the same thing happened. I do need some help with this, though, so here it is quoted below. -Robin On Wed, Aug 19, 2009 at 10:14:30AM -0700, Robin Lee Powell wrote: > Subject: Tidy not working > > debug: //Node[oh-www1.lojban.org]/jbovlaste/Tidy[/var/backups/

[Puppet Users] Help with Tidy, please.

2009-08-21 Thread Robin Lee Powell
I'm getting: debug: //Node[oh-www1.lojban.org]/jbovlaste/Tidy[/var/backups/jbovlaste]: Skipping automatic relationship to Tidy[/var/backups/jbovlaste/dump.2009Mar30.gz] on many/most of my Tidy commands. What does that mean? I don't see anything in the mailing list about it. It's definitely

[Puppet Users] a compliment: the plugin system

2009-09-04 Thread Robin Lee Powell
Just had my first occassion to make a custom fact with http://reductivelabs.com/trac/puppet/wiki/PluginsInModules That is some excellent stuff there! Custom facts used to be much harder. Thanks, whoever did that. -Robin -- They say: "The first AIs will be built by the military as weapons."

[Puppet Users] I give up: why does the Augeas type hate me?

2008-12-21 Thread Robin Lee Powell
I've installed augeas-0.3.4, facter-1.5.2, and puppet-0.24.7 from their respective tarballs. I've installed ruby-augeas-0.2.0.gem. All of these things seem to work, but no matter what I do: err: Could not retrieve catalog: Could not find resource type augeas at /etc/puppet/manifests/site.pp:38

[Puppet Users] Re: puppetd

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 08:18:25AM +0200, Paul Johnson wrote: > Hi All, > > I have a strange problem with running puppet as a daemon. I set it up in > config to wake up every 15 min and looks like it every time spawns httpd > process that becomes zombie, so after some time I see a long list of >

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 10:06:56AM +0100, Peter Meier wrote: > > Hi > > > I've installed augeas-0.3.4, facter-1.5.2, and puppet-0.24.7 > > from their respective tarballs. I've installed > > ruby-augeas-0.2.0.gem. All of these things seem to work, but no > > matter what I do: > > > > err: Could

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 10:40:05AM +0100, Peter Meier wrote: > > Hi > > > Debug output of the client run follows. No, I didn't update the > > master; why would I do that? This is about functionality on the > > client, not the master. Is it actually necessary that the > > *master* have Augeas

[Puppet Users] Re: Understanding the "default" node.

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 03:08:44PM +0100, Peter Meier wrote: > > Pay attention to the fact that inheritance in nodes is slightly > different than in classes. The Best thing imho is to build such > inheritance in the classes itself and leave any inheritance out of > the node definitions. Can you e

[Puppet Users] Re: I give up: why does the Augeas type hate me?

2008-12-22 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 01:21:23PM -0600, Evan Hisey wrote: > > On Mon, Dec 22, 2008 at 1:02 PM, Robin Lee Powell > wrote: > > > > On Mon, Dec 22, 2008 at 10:40:05AM +0100, Peter Meier wrote: > >> > >> Hi > >> > >> > Debug output of th

[Puppet Users] Re: class from module not evaluated any more

2008-12-23 Thread Robin Lee Powell
On Mon, Dec 22, 2008 at 10:05:08PM +0100, udo waechter wrote: > Hello puppet-users. > I have a really strange problem since some days. > puppetmasterd is 0.24.5-2 (Debian etch) > puppetd are 0.24.4 (Ubuntu hardy desktop/server), 0.24.5-2 (Debian > etch), 0.24.5 (Darwin, 10.5.[56], Darwin 10.4 Se

[Puppet Users] Re: class from module not evaluated any more

2008-12-28 Thread Robin Lee Powell
Now, it seems to me that this is a bug. > Classes that have a "similar" name do not have the "same" name, thus it > should still work, right? > Bug filed. > Thanks for the help. > udo. > On 23.12.2008, at 22:18, Robin Lee Powell wrote: > >> >> O

[Puppet Users] Re: Using an Exec inside a define

2008-12-29 Thread Robin Lee Powell
On Mon, Dec 29, 2008 at 09:45:07AM -0600, Ben Beuchler wrote: > > > Ah, nope. No resource title can be duplicated, exec isn't an > > exception. Is there somewhere you read that or saw it in an > > example? > > Perhaps I misunderstood what I read here: > > http://reductivelabs.com/trac/puppe

[Puppet Users] Facter and loops.

2009-01-03 Thread Robin Lee Powell
I'm trying to create a bunch of Facter facts in a loop. The code inside is evaluated at some weird time, *out of order*, and I don't know enough Ruby to fix it. The goal is to get access to user homedirs, because I can't figure out any other way to do that in Puppet. Here's a few tries:

[Puppet Users] Re: Facter and loops.

2009-01-03 Thread Robin Lee Powell
On Sat, Jan 03, 2009 at 05:12:24PM -0800, Jos Backus wrote: > Untested: > > On Sat, Jan 03, 2009 at 04:55:41PM -0800, Robin Lee Powell wrote: > > > > > > I'm trying to create a bunch of Facter facts in a loop. The code > > inside is evaluated at some w

[Puppet Users] Re: Facter and loops.

2009-01-03 Thread Robin Lee Powell
On Sat, Jan 03, 2009 at 10:52:19PM -0800, Jos Backus wrote: > Btw, rather than parsing /etc/passwd yourself, why not let the Etc > module do the work for you? > > Etc.passwd do |pwent| >Facter.add("home_#{pwent.name}") do >setcode do > pwent.dir >end >

[Puppet Users] Re: Noob - What means "Cannot access mount[plugins]" ?

2009-01-06 Thread Robin Lee Powell
On Tue, Jan 06, 2009 at 11:23:56AM +0100, Olivier wrote: > Hi, > > I'm new to Puppet. > I installed Puppet on Debian Lenny (version is 0.24.5). > > When I'm trying to use puppet locally (on the machine I installed > puppetmaster on), I keep getting messages such as : > err: /File[/var/lib/puppet

[Puppet Users] Re: replacing a line in a file

2009-01-14 Thread Robin Lee Powell
On Wed, Jan 14, 2009 at 09:38:42PM -0800, chakkerz wrote: > > which deals with the subject of replacing lines in a file, You might want to look at Augeas. It's pretty neat, and the latest puppet version has it built in. -Robin -- They say: "The first AIs will be built by the military as w

How to experiment with Augeas, because the docs suck (was Re: [Puppet Users] Re: augeas error)

2009-01-15 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 04:27:20PM -0500, Bryan Kearney wrote: > > windowsrefund wrote: > > augeas { "$name": > > context => "/files", > > changes => "set /etc/exports/foo bar", > > require => File["/etc/exports"], > > } > > > > > > Augeas will

[Puppet Users] Re: augeas error

2009-01-15 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 02:10:57PM -0800, windowsrefund wrote: > > Bryan, > > Thanks so much for the pointer. I think I'm on the right track now but > could use a hand understanding why I'm getting this error when > attempting to write out to disk > > augtool> print /files/etc/exports/ > /files

[Puppet Users] Re: augeas error

2009-01-15 Thread Robin Lee Powell
d doing things like /files/etc/exports/dir[100] ? > > Best, > Adam > > > On Jan 15, 5:22 pm, Robin Lee Powell > wrote: > > On Thu, Jan 15, 2009 at 02:10:57PM -0800, windowsrefund wrote: > > > > > Bryan, > > > > > Thanks so much for the point

Re: How to experiment with Augeas, because the docs suck (was Re: [Puppet Users] Re: augeas error)

2009-01-15 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 11:43:50PM +0100, Peter Meier wrote: > > > Doing this in Puppet is left as an exercise for the reader. > > I'll go see about getting better docs in Augeas for this thing. > > would be nice if somebody could document her/his experiences with > puppet and augeas on the wiki

[Puppet Users] Puppet can't find Augeas

2009-01-15 Thread Robin Lee Powell
I've set up this machine, I think, like my two others. I've compiled and installed: facter-1.5.2 puppet-0.24.7 augeas-0.3.5 Also, done gem install ruby-augeas-0.2.0.gem All of it seemed to work, but: $ /usr/bin/puppetd -t --noop err: Could not create no usecacheonfailure: Could not find a

[Puppet Users] Re: Puppet can't find Augeas

2009-01-15 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 05:17:37PM -0800, Robin Lee Powell wrote: > > > I've set up this machine, I think, like my two others. I've > compiled and installed: > > facter-1.5.2 > > puppet-0.24.7 > > augeas-0.3.5 > > Also, done gem install ruby-

[Puppet Users] Puppet playing badly with Debian etch rubygems

2009-01-16 Thread Robin Lee Powell
To install the ruby-augeas gem, I installed rubygems on Debian etch, which lead to: Setting up libgems-ruby1.8 (0.9.0-5) ... Setting up ruby1.8-dev (1.8.5-4etch4) ... Setting up rubygems (0.9.0-5) ... Before this (I mean *immediately* before this) puppet worked fine exceept for not being able to

[Puppet Users] Re: Pattern matching in case statement

2009-01-16 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 04:37:53PM -, sven.tho...@bt.com wrote: > Hi all, > > > > I need my servers to decide which network they are in (i.e. dmz), and > the only clue is the servers IP-address. I was trying to accomplish it > like this, but it doesn't work: > > > > case $ipaddress { >

Re: How to experiment with Augeas, because the docs suck (was Re: [Puppet Users] Re: augeas error)

2009-01-17 Thread Robin Lee Powell
On Thu, Jan 15, 2009 at 11:38:39PM +, David Lutterkort wrote: > > On Thu, 2009-01-15 at 14:21 -0800, Robin Lee Powell wrote: > > It took several tries to get this; it turns out the augeas lens for > > this file is a bit pickier than it should be: it won't ac

[Puppet Users] Need onlyifnot (or something) for Augeas

2009-01-17 Thread Robin Lee Powell
There is, as far as I can tell, no way to make Augeas *not* do anything if a node exists. What I want is for the Augeas block to be skipped if the augtool command match /files/etc/exports/dir /foo would return true. Since I don't know which dir number it'll be, I can't use get, and

Re: How to experiment with Augeas, because the docs suck (was Re: [Puppet Users] Re: augeas error)

2009-01-17 Thread Robin Lee Powell
On Fri, Jan 16, 2009 at 09:55:42AM +1100, James Turnbull wrote: > Robin Lee Powell wrote: > > On Thu, Jan 15, 2009 at 11:43:50PM +0100, Peter Meier wrote: > >>> Doing this in Puppet is left as an exercise for the reader. > >>> I'll go see about getting bett

[Puppet Users] Bug in Augeas type's handling of ins

2009-01-17 Thread Robin Lee Powell
The command is: augeas{ "export foo" : context => "/files/etc/exports", changes => [ "ins dir after dir[last()]", "set dir[last()] /foo", "set dir[last()]/client weeble", "set dir[last()]/client/option[1] ro", "set d

[Puppet Users] Augeas type proposal; long.

2009-01-18 Thread Robin Lee Powell
Just to be clear: I am offering to write what I describe below if it seems acceptable to others (and if I get the time). I love the idea of Augeas, and I love that Puppet has built-in support for it. However, I'm finding that I'm routinely unable to do things with the Puppet Augeas type that I

[Puppet Users] Re: Augeas type proposal; long.

2009-01-19 Thread Robin Lee Powell
On Mon, Jan 19, 2009 at 09:12:25AM -0500, Bryan Kearney wrote: > > Example 2 > > - > > > > Again, working with the aliases file. I want to add an alias from > > "foo" to "b...@baz.com", but obviously I only want to add it once. > > onlyif won't work, but I really don't like the syntax of

[Puppet Users] Re: Puppet playing badly with Debian etch rubygems

2009-01-19 Thread Robin Lee Powell
On Mon, Jan 19, 2009 at 02:08:30PM -0600, Luke Kanies wrote: > > On Jan 16, 2009, at 1:39 PM, Robin Lee Powell wrote: > > > > > To install the ruby-augeas gem, I installed rubygems on Debian etch, > > which lead to: > > > > Setting up libgems-ruby1.8 (

[Puppet Users] Re: Puppet playing badly with Debian etch rubygems

2009-01-20 Thread Robin Lee Powell
On Tue, Jan 20, 2009 at 06:39:53PM +1100, James Turnbull wrote: > > -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > Nicolas Szalay wrote: > > Le lundi 19 janvier 2009 à 15:33 -0800, Robin Lee Powell a écrit > > : > >> OK, so how do I fix it? > > > &

[Puppet Users] Re: Augeas type proposal; long.

2009-01-25 Thread Robin Lee Powell
On Mon, Jan 19, 2009 at 01:28:53PM -0800, David Lutterkort wrote: > > On Sun, 2009-01-18 at 18:37 -0800, Robin Lee Powell wrote: > > Let's pretend that there was no alias type in Puppet (just > > because it's a file everyone's familiar with). Let's say t

[Puppet Users] Re: executing one liner with puppet

2009-01-26 Thread Robin Lee Powell
On Mon, Jan 26, 2009 at 09:59:18AM -0800, kevin wrote: > > Hi, I need to bulk enable a series of apache modules on > debian/ubuntu. > > on the server itself I would just use this invocation: ( works, > not sure about the style points ) > > perl -e 'print join " ", map { /^(.*?)\.load/ } <*

[Puppet Users] Re: Quote, dollar and pipe

2009-01-27 Thread Robin Lee Powell
On Mon, Jan 26, 2009 at 06:40:54PM -0600, Luke Kanies wrote: > > PS. May be my first message in this list, so : "mille mercis > > pour cet outil fantastique !" :-) > > > /me fails to dredge up rusty Français from college For me, it's rusty Français from all of before-college (I was raised in Ca

[Puppet Users] Re: A Survey about Puppet and Reductive Labs

2009-01-27 Thread Robin Lee Powell
On Mon, Jan 26, 2009 at 04:54:53PM -0600, Luke Kanies wrote: > > Hi all, > > I'd appreciate your help improving our understanding of what the > community is most looking for from Puppet, how Reductive Labs > manages it, and how best to provide services around the project. > > Toward this end,

[Puppet Users] Re: Stoking a Religious War: Why Did You Go With Puppet Over Other Options?

2009-01-27 Thread Robin Lee Powell
On Tue, Jan 27, 2009 at 05:39:05AM -0800, tomcat wrote: > > Hi, Gang.. > > The Subject: line says it all. My organisation is looking at > selecting a configuration management system. Any comments about > why you chose Puppet over other options would be very helpful to > us. Because after helpin

[Puppet Users] Re: mailalias ... not doing anything???

2009-02-03 Thread Robin Lee Powell
On Tue, Feb 03, 2009 at 08:14:57PM -0800, chakkerz wrote: > > G'day > > my module's init.pp: > > class mailaliases > { > if ($skip_mailaliases != "true") > { > mailalias > { "root": > #ensure => absent, >

[Puppet Users] Re: Are version 0.24.1 and 0.24.4 good enough?

2009-02-07 Thread Robin Lee Powell
On Sat, Feb 07, 2009 at 12:15:12PM -0600, Kyle Cordes wrote: > > I'm looking to install Puppet on a pile of Ubuntu 7.10 and 8.04 > machines; apt-get in the box will get me versions 0.24.1 and > 0.24.4 I'm not sure which version includes Augeas support, but I'm pretty hooked on that myself. -Rob

[Puppet Users] Re: Are version 0.24.1 and 0.24.4 good enough?

2009-02-08 Thread Robin Lee Powell
On Sat, Feb 07, 2009 at 06:19:06PM -0500, Jon Stanley wrote: > > On Sat, Feb 7, 2009 at 4:24 PM, Robin Lee Powell > wrote: > > > I'm not sure which version includes Augeas support, but I'm > > pretty hooked on that myself. > > Augeas support was intro

[Puppet Users] Re: Am I the only one with lots of problems with puppet?

2009-02-11 Thread Robin Lee Powell
On Wed, Feb 11, 2009 at 07:25:54PM +0100, Arnau Bria wrote: > I started with a simple scenario, a couple of nodes with a server, and > few classes, all worked fine... But one day I faced first problem: > > err: Could not retrieve catalog: Could not parse for environment > production > > after re

[Puppet Users] "Rails is missing"... What?

2009-03-01 Thread Robin Lee Powell
On all 3 of my servers, after a routine aptitude upgrade, I'm now getting: ec2-www1# puppetd -tv info: Retrieving plugins info: Retrieving facts err: Could not retrieve catalog: Rails is missing; cannot store configurations warning: Not using cache on failed catalog When I

[Puppet Users] Re: "Rails is missing"... What?

2009-03-01 Thread Robin Lee Powell
On Sun, Mar 01, 2009 at 03:36:35PM -0800, Robin Lee Powell wrote: > > > On all 3 of my servers, after a routine aptitude upgrade, I'm now > getting: > > ec2-www1# puppetd -tv > info: Retrieving plugins > info: Retrieving facts > err: Could not re

[Puppet Users] Re: "Rails is missing"... What?

2009-03-01 Thread Robin Lee Powell
On Mon, Mar 02, 2009 at 04:49:55PM +1100, James Turnbull wrote: > > Platform? Debian. All 3 seem to be lenny at this point, but at least on pulls testing as well. > Rails version - old and upgraded to? Did Rails upgrade > during your aptitude upgrade? I wasn't paying attention to exactly

[Puppet Users] Re: "Rails is missing"... What?

2009-03-01 Thread Robin Lee Powell
e a newer version of rails that puppet can > handle, I'm *guessing* that you can remove your current rails version and > install using gem rails-2.0.2 or similar... > > Cheers, > Ohad > > On Mon, Mar 2, 2009 at 1:11 PM, Robin Lee Powell < > rlpow...@digitalkingdom.org>

[Puppet Users] Re: "Rails is missing"... What?

2009-03-01 Thread Robin Lee Powell
On Mon, Mar 02, 2009 at 05:41:03PM +1100, James Turnbull wrote: > Robin Lee Powell wrote: > > Yeah, changing to "storeconfigs = false" in puppet.conf doesn't seem > > to change the behaviour. > > > > Oh, wait, scratch that. > > > > It s

[Puppet Users] Re: high cpu usage and slow puppet performance..

2009-03-12 Thread Robin Lee Powell
On Thu, Mar 12, 2009 at 06:51:59PM +1100, Lindsay Holmwood wrote: > > On 12/03/2009, at 18:41, barrowkwan wrote: > > > > > looks like the following could cause high cpu usage and take > > puppet longer time to finish a catalog run > > > > > >file { "/some/path": > >owner => "user1",

[Puppet Users] Re: adding lines to a config file

2009-03-13 Thread Robin Lee Powell
On Fri, Mar 13, 2009 at 10:57:07AM -0700, jb wrote: > > howdy, > > I assign specific applications to machines via a class. Each > application has its own log files that need to be managed by our > logging system (splunk, for those who are familiar with it). > This basically entails adding a li

[Puppet Users] Can anyone else suggest things to do WRT bug 2041?

2009-03-23 Thread Robin Lee Powell
I've been unable to use storeconfigs for A While Now, and it's not just me anymore; see http://projects.reductivelabs.com/issues/2041 Does anyone have any suggestions of what to try next? -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does i

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 07:52:56PM +1100, James Turnbull wrote: > > Robin Lee Powell wrote: > > > > I've been unable to use storeconfigs for A While Now, and it's > > not just me anymore; see > > http://projects.reductivelabs.com/issues/2041 > > &

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 10:18:12AM -0700, Robin Lee Powell wrote: > > On Tue, Mar 24, 2009 at 07:52:56PM +1100, James Turnbull wrote: > > > > Robin Lee Powell wrote: > > > > > > I've been unable to use storeconfigs for A While Now, and it&#x

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 09:57:31AM +0100, Brice Figureau wrote: > > On Mon, 2009-03-23 at 14:54 -0700, Robin Lee Powell wrote: > > > > I've been unable to use storeconfigs for A While Now, and it's > > not just me anymore; see > > http://projects.red

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Mon, Mar 23, 2009 at 02:54:10PM -0700, Robin Lee Powell wrote: > > > I've been unable to use storeconfigs for A While Now, and it's not > just me anymore; see http://projects.reductivelabs.com/issues/2041 > > Does anyone have any suggestions of what to try next

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 10:28:28AM -0700, Robin Lee Powell wrote: > > On Mon, Mar 23, 2009 at 02:54:10PM -0700, Robin Lee Powell wrote: > > > > > > I've been unable to use storeconfigs for A While Now, and it's not > > just me anymore; see http:

[Puppet Users] Re: Can anyone else suggest things to do WRT bug 2041?

2009-03-24 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 07:33:50PM +0100, Brice Figureau wrote: > I'll tend to suggest you to rm -rf /usr/lib/ruby/1.8/active_* just > to see if that helps (take a backup before of course). Warning: > I'm not responsible of any damage to your server or any other > application running on this serve

[Puppet Users] Re: updating user passwords with puppet

2009-04-02 Thread Robin Lee Powell
On Fri, Apr 03, 2009 at 03:49:18PM +1300, Sebastian Krueger wrote: > now the problem is, that the foofoo password is expected to be in > encrypted form. Is there anyway to get "foofoo" password in > encrypted form? > > Cleartext: foofoo > Cypertext: ??? > > I've found references to mkpasswd, but

[Puppet Users] Re: Licensing and Copyright

2009-04-06 Thread Robin Lee Powell
On Mon, Apr 06, 2009 at 02:15:44PM -0500, Luke Kanies wrote: > I think there are essentially two decisions to make, with some > details around them: > > 1) Should we use a completely open Apache-style license, or a > reciprocal/viral GPL-style license? I'm not a big fan of viral-style in most c

  1   2   >