Re: [Puppet Users] Resource default values from site.pp not applied

2022-10-31 Thread Robin Lee Powell
I don't think we're going to be able to help further without a fully-working minimal example. On Mon, Oct 31, 2022 at 02:32:21PM +, 'Dirk Heinrichs' via Puppet Users wrote: > Am Montag, dem 31.10.2022 um 15:29 +0100 schrieb Martin Alfke: > > How do you declare some_resource type? > Are you

Re: [Puppet Users] Puppet, inventory, and single sources of truth.

2014-10-29 Thread Robin Lee Powell
On Wed, Oct 29, 2014 at 02:09:25AM -0700, Gavin Williams wrote: Sounds like The Foreman [1] might be a good option if you want to manage 'should', not 'is'... [1] http://theforeman.org/ *nod* Thanks, I should look at that again; it's been a while. Unfortunately our internal abstraction

Re: [Puppet Users] Puppet, inventory, and single sources of truth.

2014-10-28 Thread Robin Lee Powell
On Sun, Oct 26, 2014 at 06:09:08PM -0700, Garrett Honeycutt wrote: On 10/26/14 4:46 PM, Robin Lee Powell wrote: So I've been using puppet for a long time, and the one thing I've never solved to my satisfaction is a way to have a single source of truth that acts as both instructions

Re: [Puppet Users] Re: Puppet, inventory, and single sources of truth.

2014-10-28 Thread Robin Lee Powell
(Copying my response to the other branch of this thread). I want to store data about what's *supposed* to be true about our systems, not what is *actually* true. i.e. host X is supposed to be up and in subnet Y, even if it's never actually been turned on. On Mon, Oct 27, 2014 at 08:47:14AM

[Puppet Users] Puppet, inventory, and single sources of truth.

2014-10-26 Thread Robin Lee Powell
So I've been using puppet for a long time, and the one thing I've never solved to my satisfaction is a way to have a single source of truth that acts as both instructions to puppet *and* as a system inventory that I can use for general opertaions (i.e. how many tomcat hosts do we have?). When

[Puppet Users] How to make puppet *fail* on Unable to fetch my node definition, but the agent run will continue ?

2014-09-23 Thread Robin Lee Powell
So right now, puppet is doing this because of DNS issues: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: getaddrinfo: Name or service not known Info: Retrieving pluginfacts Error: /File[/var/lib/puppet/facts.d]: Failed to generate

Re: [Puppet Users] How to make puppet *fail* on Unable to fetch my node definition, but the agent run will continue ?

2014-09-23 Thread Robin Lee Powell
at 08:26:22AM -0700, Robin Lee Powell wrote: So right now, puppet is doing this because of DNS issues: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: getaddrinfo: Name or service not known Info: Retrieving pluginfacts Error

Re: [Puppet Users] firewallchain issues w/ 1.0.0 release

2013-10-01 Thread Robin Lee Powell
It turns out that it has to be :filter:, not :FILTER: as the docs state. -Robin On Wed, Nov 14, 2012 at 01:23:36PM -0500, oogs wrote: Hi, Yes, I did! I can create rules at will, the problem is that I can't create chains using firewallchain. Here's another snippet from my class:

Re: [Puppet Users] PuppetDB + PuppetMaster with Passanger

2013-09-24 Thread Robin Lee Powell
On Wed, Oct 24, 2012 at 05:16:51PM +0300, Nikola Petrov wrote: Hi everyone, I am trying to configure a puppet master with a puppetdb for storeconfigs backend. I am using Ubuntu 12.10 and the packages from puppetlabs repository. The option I chose for the master is to use passanger as I am

Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-21 Thread Robin Lee Powell
17, 2013 at 3:42 PM, Robin Lee Powell rlpow...@digitalkingdom.org wrote: As of upgrading master and clients to 3.3.0, some of my servers are saying: Error: Could not prefetch package provider 'yum': invalid byte sequence in UTF-8 Error: Could not prefetch package provider 'rpm

Re: [Puppet Users] Fail/stop after a step fails?

2013-09-17 Thread Robin Lee Powell
On Tue, Sep 17, 2013 at 12:35:15PM -0700, Robin Lee Powell wrote: Is it possible to get puppet to just *give up* if a particular step fails? Thousands upon thousands of Skipping because of failed dependencies gets really old. Or, indeed, have it stop after a particular step *succeeds* would

[Puppet Users] Fail/stop after a step fails?

2013-09-17 Thread Robin Lee Powell
Is it possible to get puppet to just *give up* if a particular step fails? Thousands upon thousands of Skipping because of failed dependencies gets really old. -Robin -- http://intelligence.org/ : Our last, best hope for a fantastic future. .i ko na cpedu lo nu stidi vau loi jbopre .i danfu

[Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-17 Thread Robin Lee Powell
As of upgrading master and clients to 3.3.0, some of my servers are saying: Error: Could not prefetch package provider 'yum': invalid byte sequence in UTF-8 Error: Could not prefetch package provider 'rpm': invalid byte sequence in UTF-8 I can't tell whether this actually stops them from

[Puppet Users] Puppet3's Facter on ipv6 only system gets ipaddress catastrophically wrong

2013-08-03 Thread Robin Lee Powell
I think this speaks for itself pretty well: [rlpowell@harvard01 ~]$ /usr/local/rvm/wrappers/ruby-1.8.7-p371\@puppet3/ruby /usr/local/rvm/gems/ruby-1.8.7-p371\@puppet3/bin/facter -v 1.7.2 [rlpowell@harvard01 ~]$ /usr/local/rvm/wrappers/ruby-1.8.7-p371\@puppet3/ruby

Re: [Puppet Users] Re: Control directory mode only on creation?

2013-06-21 Thread Robin Lee Powell
Yeah, that's what I thought; I just hate execs. :) Thanks! On Thu, Jun 20, 2013 at 06:03:54PM -0700, Michael Dodwell wrote: exec { command = mkdir /somedir; chown newuser /somedir, unless = test -d /somedir } On Friday, June 21, 2013 8:24:59 AM UTC+10, Robin Powell wrote: Is

[Puppet Users] Control directory mode only on creation?

2013-06-20 Thread Robin Lee Powell
Is there a way to make a directory and set its owner and mode and so on only if it didn't exist? That is: I don't want to *reset* the owner and mode if it's already there. -Robin -- http://intelligence.org/ : Our last, best hope for a fantastic future. .i ko na cpedu lo nu stidi vau loi

Re: [Puppet Users] Re: Accessing other parts of the Hiera tree

2013-06-18 Thread Robin Lee Powell
You might find it convenient and logical to structure it as one large, complex, nested value, from which the individual components would select the pieces they need. For example, a hash with VM hostnames as keys, and hashes of VM names to VM parameter hashes as values (i.e. a

Re: [Puppet Users] Re: Accessing other parts of the Hiera tree

2013-06-17 Thread Robin Lee Powell
[snipped heavily, hopefully nothing important] On Mon, Jun 17, 2013 at 09:48:48AM -0700, jcbollinger wrote: On Monday, June 17, 2013 12:28:18 AM UTC-5, Robin Powell wrote: Doing this via storeconfigs rather defeats the purpose of my Hiera tree, which is to be the single source of truth.

[Puppet Users] Accessing other parts of the Hiera tree

2013-06-16 Thread Robin Lee Powell
This seems to come up for me a lot. As an example, my Hiera data includes both hypervisors and the VMs that they contain. It would be very useful to have the VMs say I'm a VM on host X and, in templates in host X, be able to say What are all my VMs?. Doing this via storeconfigs rather defeats

Re: [Puppet Users] how to customize hiera lookups per node?

2013-03-24 Thread Robin Lee Powell
On Wed, Mar 20, 2013 at 02:39:38AM +, Darryl Wisneski wrote: On Thu, Mar 07, 2013 at 12:11:09PM -0800, James Ralston wrote: At this point, all of the modules we have written use parameterized classes. That way, when we call the module from the host's node.pp file, we can override

Re: [Puppet Users] Re: What's your hiera tree look like?

2013-03-24 Thread Robin Lee Powell
On Fri, Mar 22, 2013 at 04:22:19PM -0700, Aaron Mills wrote: The biggest pain point for us is that having hiera + puppet in the same repo feels like extra work. If they're going to live together, why even use hiera? Why not just set variables at the node level? For me, here are some reasons

[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

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. I don't

[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

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 users *not* selected should be removed

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 host based

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, I'd

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 { $addresses

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 under.my.cont...@gmail.com 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/

Re: [Puppet Users] Dealing with samhain

2011-06-08 Thread Robin Lee Powell
Sure, but I don't see any way to tell samhain these files right here have changed; trust the new values. I only see accept everything. -Robin On Wed, Jun 08, 2011 at 02:11:34AM -0400, vagn scott wrote: |Does this help? dpkg -L PACKAGENAME | On 06/08/2011 01:44 AM, Robin Lee Powell

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; that

[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

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 dumping things all over my Ruby

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 rlpow...@digitalkingdom.org 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? Figured (2) out; still

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. Right now

[Puppet Users] Extra field in generated cron?

2011-05-14 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:

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 | |/@@ is ssh keys. It's 600 MiB. That seems really large

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. It's 600 MiB. That seems really large? Should I

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: [root@beta01

[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

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 bwe...@backstopsolutions.com 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

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 versions of jruby. I need

[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

[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:

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 rlpow...@digitalkingdom.org 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

[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] 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

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] 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 array of templates , when using the content = argument

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 rlpow...@digitalkingdom.org 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 can distribute

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 nodes

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 exported

[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

[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

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 the part

[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] 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

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/jbovlaste

[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
rlpow...@digitalkingdom.org) id 1MdneP-0002ku-32 for puppet-users@googlegroups.com; Wed, 19 Aug 2009 09:04:37 -0700 Date: Wed, 19 Aug 2009 09:04:37 -0700 From: Robin Lee Powell rlpow...@digitalkingdom.org To: Puppet Users puppet-users@googlegroups.com Subject: Tidy not working Message

[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:

[Puppet Users] Re: Key signing problem.

2009-08-12 Thread Robin Lee Powell
2009 01:03:02 -0700, Robin Lee Powell rlpow...@digitalkingdom.org 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 accident. -_- I can't find anything in the list about exactly this issue. Help, please

[Puppet Users] Re: purging and recurse

2009-05-16 Thread Robin Lee Powell
On Sat, May 16, 2009 at 09:45:10PM +0200, jean wrote: hi, I have a problem with purging. I tried to create directory that are: file { $basedir: ensure = directory, owner =

[Puppet Users] How to put files in a user's home dir without knowing it?

2009-05-12 Thread Robin Lee Powell
What I want to do is: file { ~$user/.zshenv: ...} but that doesn't work. I made custom facts for home dirs, so that home_root should work, but his: file { ${home_$user}/.zshenv: ...} doesn't work either. Help? -Robin -- They say: The first AIs will be built by the

[Puppet Users] Re: How to put files in a user's home dir without knowing it?

2009-05-12 Thread Robin Lee Powell
/.zshenv: ...} Does that work for you? On May 12, 2:15 pm, Robin Lee Powell rlpow...@digitalkingdom.org wrote: What I want to do is:     file { ~$user/.zshenv:     ...} but that doesn't work.  I made custom facts for home dirs, so that home_root should work, but his:     file

[Puppet Users] Re: How to put files in a user's home dir without knowing it?

2009-05-12 Thread Robin Lee Powell
is your define attempting to do? Define the users for which a certain file gets placed in their home dir or define the file that gets put into all users' home dirs? On May 12, 3:06 pm, Robin Lee Powell rlpow...@digitalkingdom.org wrote: No, because I'm making a define so I can put a bunch

[Puppet Users] Re: How to put files in a user's home dir without knowing it?

2009-05-12 Thread Robin Lee Powell
, LDAP, whatever). There's probably a better way to do it, but that will at least be accurate. Trevor On Tue, May 12, 2009 at 14:15, Robin Lee Powell rlpow...@digitalkingdom.org wrote: What I want to do is:    file { ~$user/.zshenv:    ...} but that doesn't work.  I made

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-21 Thread Robin Lee Powell
On Tue, Apr 21, 2009 at 05:30:54PM +0200, Jean-Baptiste Quenot wrote: Are you hitting the OOM killer?  It sounds like you might be. I don't think so because there is nothing in syslog. The last message from puppetd is Starting catalog run. And then it dies. The OOM killer isn't a

[Puppet Users] libactiverecord-ruby1.8 on Debian makes fail.

2009-04-14 Thread Robin Lee Powell
On Tue, Mar 24, 2009 at 07:50:10PM +0100, Brice Figureau wrote: On 24/03/09 19:40, Robin Lee Powell wrote: 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

[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

[Puppet Users] Re: Licensing and Copyright

2009-04-06 Thread Robin Lee Powell
On Mon, Apr 06, 2009 at 09:14:07PM -0500, Luke Kanies wrote: I agree that #2 seems best. I'm really shocked by the Chef project; it seems really offensive to me, and I'd like to see you guys go in a direction that stops someone from just rebundling Puppet and calling it theirs. To be

[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 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: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's not just me anymore; see http://projects.reductivelabs.com

[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.reductivelabs.com/issues/2041 Does anyone have any

[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? Shortly after I sent

[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://projects.reductivelabs.com/issues/2041 Does anyone

[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 server.

[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 it

[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 line to

[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 barrowk...@gmail.com 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] 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 retrieve catalog: Rails is missing; cannot

[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
*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 wrote: On Sun, Mar 01, 2009 at 03:36:35PM -0800, Robin Lee Powell wrote: On all

[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 reading

[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 rlpow...@digitalkingdom.org wrote: I'm not sure which version includes Augeas support, but I'm pretty hooked on that myself. Augeas support was introduced in 0.24.7 - but I'm

[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. -Robin

[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, ensure =

[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 Canada),

[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, we've

[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 helping my

[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/ } *.load' |

[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 that I wanted to set the postmaster alias to f

[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? I think that debgem will be helpfull in a near future

[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 onlyif

[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 (0.9.0-5) ... Setting up ruby1.8-dev (1.8.5-4etch4

[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

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 accept: /pub(ro

  1   2   >