Tuesday, 2009-04-07

[2009/04/07 00:00:03] @ Log started by gepetto
[2009/04/07 00:00:03] <jamesturnbull> Djelibeybi: redmine site has a Repository tab
[2009/04/07 00:00:46] <jamesturnbull> Djelibeybi: look for lib/puppet/type/augeas.rb and lib/puppet/provider/ whatever the provider is called
[2009/04/07 00:01:07] <Djelibeybi> jamesturnbull: ta
[2009/04/07 00:02:00] <ohadlevy> jamesturnbull: thailand is so bad? ;)
[2009/04/07 00:02:53] <jamesturnbull> eythian: any of those facts or the file concept you're welcome to log a ticket for - happy to see new stuff in - that file concept is something we've talling for .6/2.0 - if you rolled it into the core library it'd be most useful
[2009/04/07 00:03:11] <jamesturnbull> ohadlevy: bad how? I love Thailand - the Thais are wonderful people
[2009/04/07 00:03:27] <jamesturnbull> ohadlevy: bandwidth in northern Thialnd not so good :P
[2009/04/07 00:03:41] @ trombik joined channel #puppet
[2009/04/07 00:03:48] <ohadlevy> jamesturnbull: I meant that the weather is bad or something that you miss the pool side :)
[2009/04/07 00:04:09] <Djelibeybi> jamesturnbull: Hmm.. my Ruby is way not good enough to work out where this bug is
[2009/04/07 00:04:41] @ kambiz is now known as kambiz_away
[2009/04/07 00:05:14] @ herlo left channel #puppet ()
[2009/04/07 00:05:41] <jamesturnbull> ohadlevy: no working on a new book and need to do some things
[2009/04/07 00:05:56] <jamesturnbull> ohadlevy: very soon I will b going to have beer
[2009/04/07 00:06:09] <ohadlevy> jamesturnbull: a new puppet book?
[2009/04/07 00:06:34] @ Quit: d3vilb0x:
[2009/04/07 00:06:42] <jamesturnbull> ohadlevy: http://www.amazon.com/gp/product/1430219122/
[2009/04/07 00:06:47] <jamesturnbull> ohadlevy: that's the next project
[2009/04/07 00:06:58] <jamesturnbull> after I sleep a lot they'll be a new puppet book
[2009/04/07 00:07:47] @ Quit: ijcd_: Read error: 110 (Connection timed out)
[2009/04/07 00:08:02] <ohadlevy> good luck :)
[2009/04/07 00:11:04] <Djelibeybi> jamesturnbull: wow, you guys are on Amazon already. Now you *really* have to finish it. :)
[2009/04/07 00:11:48] <gepetto> ::trac:: Documentation Start edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DocumentationStart (by james@lovedthanlost.net)
[2009/04/07 00:11:54] <eythian> jamesturnbull: I'll have a look into integrating that stuff when (if) I ever get free time again :)
[2009/04/07 00:12:18] <jamesturnbull> Djelibeybi: it's almost done
[2009/04/07 00:12:24] <Djelibeybi> jamesturnbull: huzzah!
[2009/04/07 00:12:26] <jamesturnbull> Djelibeybi: in the CE/review cycle
[2009/04/07 00:12:34] <Djelibeybi> jamesturnbull: CE?
[2009/04/07 00:12:57] <jamesturnbull> eythian: thanks - also talk to nasrat - he is doing a lot of work in this area (nasrat == Paul Nasrat) and see the threads on facter on the -dev list
[2009/04/07 00:13:01] <jamesturnbull> Djelibeybi: copyedit
[2009/04/07 00:13:07] <Djelibeybi> jamesturnbull: ah, right.
[2009/04/07 00:13:18] * Djelibeybi should join the Puppet Dev lists, I think
[2009/04/07 00:13:19] * jamesturnbull is off
[2009/04/07 00:25:13] <eythian> Is there a way to indicate an error from 'unless'. AIUI, it seems like it can only signal 'yes' or 'no', not 'yes', 'no', and 'omg we're all going to die!'
[2009/04/07 00:29:08] @ Quit: rdaugherty: Read error: 113 (No route to host)
[2009/04/07 00:30:54] @ tuf8_ joined channel #puppet
[2009/04/07 00:44:13] @ lak joined channel #puppet
[2009/04/07 00:46:03] @ Quit: sfeehan: Remote closed the connection
[2009/04/07 00:46:27] @ Quit: lak: Client Quit
[2009/04/07 00:58:03] @ bobbyz joined channel #puppet
[2009/04/07 01:05:54] @ lak joined channel #puppet
[2009/04/07 01:16:29] @ Quit: claymation:
[2009/04/07 01:23:09] @ fujin joined channel #puppet
[2009/04/07 01:23:10] @ sfeehan joined channel #puppet
[2009/04/07 01:34:22] @ madrescher joined channel #puppet
[2009/04/07 01:38:55] @ Quit: alfism: "Connection reset by beer"
[2009/04/07 01:54:34] @ Quit: nigelk:
[2009/04/07 01:57:07] @ pleemans joined channel #puppet
[2009/04/07 01:58:07] @ Quit: tuf8_: Read error: 113 (No route to host)
[2009/04/07 01:58:19] @ Quit: cwebber:
[2009/04/07 02:00:13] @ cwebber joined channel #puppet
[2009/04/07 02:07:52] @ Quit: voixd: "leaving"
[2009/04/07 02:08:56] @ Quit: ethan_rowe: "Lack of interest wins out."
[2009/04/07 02:25:35] @ Quit: PhabX: "Leaving..."
[2009/04/07 02:28:09] @ Quit: omry: Read error: 113 (No route to host)
[2009/04/07 02:33:36] @ Quit: lak:
[2009/04/07 02:34:59] @ PsychoSid joined channel #puppet
[2009/04/07 02:36:18] @ gaveen joined channel #puppet
[2009/04/07 02:49:51] @ verwilst joined channel #puppet
[2009/04/07 02:50:24] @ kibahop joined channel #puppet
[2009/04/07 02:50:29] @ kibahop left channel #puppet ()
[2009/04/07 02:51:07] @ Quit: alban2: Read error: 113 (No route to host)
[2009/04/07 02:58:01] @ MattyM joined channel #puppet
[2009/04/07 02:59:26] @ Quit: Djelibeybi: "Leaving"
[2009/04/07 03:02:27] @ stijnbe joined channel #puppet
[2009/04/07 03:08:50] @ Quit: fujin:
[2009/04/07 03:11:03] @ MarlondB joined channel #puppet
[2009/04/07 03:28:35] @ DerekW joined channel #puppet
[2009/04/07 03:29:33] @ Innocenti joined channel #puppet
[2009/04/07 03:30:35] <phantez> Hey, I'm using fileserver with options %d and %H it works perfectly using puppetd, but with puppet ./site.pp the following message appears : "Failed to retrieve current state of resource: Fileserver module 'cluster' not mounted""
[2009/04/07 03:31:24] @ Quit: fbe: Read error: 104 (Connection reset by peer)
[2009/04/07 03:31:50] @ Quit: M-: "Leaving"
[2009/04/07 03:31:55] @ fbe joined channel #puppet
[2009/04/07 03:34:35] @ fujin joined channel #puppet
[2009/04/07 03:41:54] @ mvn071 joined channel #puppet
[2009/04/07 03:46:02] @ Quit: Mandus: Remote closed the connection
[2009/04/07 03:49:15] <eythian> is there a way to provide environment variables that are present during a package install?
[2009/04/07 03:49:54] <Volcane> not unless u use exec
[2009/04/07 03:50:05] <eythian> :(
[2009/04/07 03:50:12] <eythian> guess I have to
[2009/04/07 03:50:36] <Volcane> what package requires a env var?
[2009/04/07 03:51:13] <eythian> Java. it requires me to accept the license. Even if I pre-seed that I've accepted, it doesn't seem to work in a headless environment, so I need to pretend that it's not one I think.
[2009/04/07 03:51:24] <eythian> which I can do with an env var
[2009/04/07 03:59:03] <Volcane> ah
[2009/04/07 04:05:22] @ Mandus joined channel #puppet
[2009/04/07 04:07:01] @ ka83753 joined channel #puppet
[2009/04/07 04:08:00] <phantez> It seems to be that fileserver doesn't work when I use puppet instead of puppetd, is that normal ?
[2009/04/07 04:09:30] @ Quit: gaveen: "Enough lurking for now"
[2009/04/07 04:09:41] <phantez> is it because fileserver is started only by puppetmasterd ?
[2009/04/07 04:13:56] <Volcane> the fileserver is part of puppetmasterd
[2009/04/07 04:14:17] @ keithlard joined channel #puppet
[2009/04/07 04:15:26] <Volcane> look at the documentation for file{} it describes how puppet and puppetd differs in finding files
[2009/04/07 04:15:44] <phantez> oki, thanks ;)
[2009/04/07 04:16:05] <Volcane> but basically you need to copy all the files to the host for it to work with puppet
[2009/04/07 04:16:18] <Volcane> and it looks them up based on the locally configured modulepath
[2009/04/07 04:16:40] @ Quit: ka83753: "leaving"
[2009/04/07 04:17:00] @ ka83753 joined channel #puppet
[2009/04/07 04:19:37] <phantez> yes, but how does it works with %d and %h ?
[2009/04/07 04:24:32] <Volcane> oh
[2009/04/07 04:24:33] <Volcane> oops
[2009/04/07 04:24:49] <Volcane> i dont know how it works with %d and %h :)
[2009/04/07 04:27:34] @ mathdesc joined channel #puppet
[2009/04/07 04:28:06] @ Quit: trombik: "leaving"
[2009/04/07 04:28:44] @ Quit: eythian: Remote closed the connection
[2009/04/07 04:28:50] @ eythian joined channel #puppet
[2009/04/07 04:29:50] <phantez> I think %d, %h and %H are not available, because it is handle on the server side by fileserver
[2009/04/07 04:30:23] <Volcane> what does %d and %h expand to?
[2009/04/07 04:30:32] <phantez> %d domain name
[2009/04/07 04:30:37] <phantez> and %h hostname
[2009/04/07 04:30:50] <Volcane> and how do you use them ?
[2009/04/07 04:31:03] <phantez> in the fileserver.conf
[2009/04/07 04:31:08] <mathdesc> hello puppet chan', is pinocchio still living... can't see it anymore ?
[2009/04/07 04:31:18] <phantez> [private] path /data/private/%h allow *
[2009/04/07 04:31:21] <Volcane> yeah, but then you said about site.pp?
[2009/04/07 04:32:07] <phantez> I just want to have the same behaviour if it is executed by puppet and/or puppetd
[2009/04/07 04:32:57] <phantez> but I did my conf with %d in the fileserver.conf and it is not available with puppet so I have to modify the hierarchy of my files to make it work
[2009/04/07 04:34:03] <Volcane> ah
[2009/04/07 04:36:38] @ fujin_ joined channel #puppet
[2009/04/07 04:43:04] @ tim|mb joined channel #puppet
[2009/04/07 04:48:27] @ lepole joined channel #puppet
[2009/04/07 04:48:53] @ Quit: fujin: Read error: 113 (No route to host)
[2009/04/07 04:52:51] @ Quit: ka83753: "leaving"
[2009/04/07 04:54:43] @ ka83753 joined channel #puppet
[2009/04/07 05:02:16] @ glaw joined channel #puppet
[2009/04/07 05:12:27] @ kolla joined channel #puppet
[2009/04/07 05:13:33] @ fujin_ is now known as fujin
[2009/04/07 05:16:02] @ bajan joined channel #puppet
[2009/04/07 05:16:44] @ Quit: keithlard:
[2009/04/07 05:28:47] @ ohadlevy left channel #puppet ()
[2009/04/07 05:41:54] @ Quit: madrescher: "Leaving."
[2009/04/07 05:53:06] @ keithlard joined channel #puppet
[2009/04/07 06:03:33] @ Quit: cwebber:
[2009/04/07 06:14:06] @ Quit: realist: Read error: 110 (Connection timed out)
[2009/04/07 06:16:49] @ PsychoSid left channel #puppet ()
[2009/04/07 06:19:00] @ realist joined channel #puppet
[2009/04/07 06:24:30] @ Quit: _lunix_: "BitchX-1.1-final -- just do it."
[2009/04/07 07:13:54] @ d3vilb0x joined channel #puppet
[2009/04/07 07:19:53] @ ethan_rowe joined channel #puppet
[2009/04/07 07:30:52] @ mikepea joined channel #puppet
[2009/04/07 07:32:11] @ Quit: lludwig:
[2009/04/07 07:37:10] @ Quit: mvn071: Remote closed the connection
[2009/04/07 07:46:20] @ rmiller4pi81 joined channel #puppet
[2009/04/07 07:51:15] @ alban2 joined channel #puppet
[2009/04/07 07:57:34] @ Quit: d3vilb0x:
[2009/04/07 08:01:56] @ martha joined channel #puppet
[2009/04/07 08:02:05] @ martha left channel #puppet ()
[2009/04/07 08:04:29] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out)
[2009/04/07 08:10:55] @ mccune joined channel #puppet
[2009/04/07 08:16:34] @ madrescher joined channel #puppet
[2009/04/07 08:19:32] @ Quit: phips: Read error: 60 (Operation timed out)
[2009/04/07 08:20:25] @ phips joined channel #puppet
[2009/04/07 08:26:00] @ nakano_ is now known as nakano
[2009/04/07 08:28:22] @ lepole left channel #puppet ()
[2009/04/07 08:37:40] @ Quit: rmiller4pi81: Read error: 54 (Connection reset by peer)
[2009/04/07 08:38:12] @ rmiller4pi8 joined channel #puppet
[2009/04/07 08:42:09] @ iwannabeaguru joined channel #puppet
[2009/04/07 08:45:01] <iwannabeaguru> Hi there, I checked google but was not able to find the answer for the question I am looking for. I am looking for a solution that extends the typical configuration problem. We try to find a system that does not only help with with configuration but also with migration vom one virtual server to another (sometimes on different machines). Are there any known best practices how this can be supported by puppet?
[2009/04/07 08:47:09] <Disconnect> we don't do anything for migration.. what are you looking for? something to move your vms around automatically?
[2009/04/07 08:48:05] <Disconnect> (at my @work we don't i mean. vms detect their location through a quick hack - vm hosts write a bunch of facts to /var/vmhost and hte guests mount it ro and add it to their facts list. so i can check vhost_fqdn or whatever I like from puppet or iclassify)
[2009/04/07 08:49:23] @ mathdesc left channel #puppet ("bbye")
[2009/04/07 08:51:34] @ Bass10 joined channel #puppet
[2009/04/07 08:51:38] <iwannabeaguru> I am looking for a solution that basically helps me to set up a new host with the "equivalent configuration" of an existing host. and for some tasks I would like to write some code that allows me f.e. to dump a db and copy it to the new site... I is a bit like distributing config files, but obviously the files have to come from the server that we want to migrate
[2009/04/07 08:53:00] <Disconnect> i use puppet + iclassify (for host definition) + ubuntu-vm-builder (pulled it from jaunty, python-vm-builder is --so-- much faster than the one in hardy and it drops right in, no new deps)
[2009/04/07 08:53:24] <Disconnect> ok so in exactly the opposite order tho :) ubuntu-vm-builder .. boot it.. iclassify to define it.. then sign the cert w/ puppet and off it goes
[2009/04/07 08:53:57] <bajan> The problem with a tool that looks at an existing machine and determines the configuration is how does it know what to look at?
[2009/04/07 08:54:04] * tim|mb doesn't think moving vm's around is actually something he'd want puppet to handle
[2009/04/07 08:54:36] * Dyresen nods
[2009/04/07 08:55:04] <Disconnect> i should wrap some scripting around ubuntu-vm-builder so we can trigger it from virt-manager tho (we're using mostly kvm these days)
[2009/04/07 08:55:20] <tim|mb> virt-manager is cool
[2009/04/07 08:55:44] <iwannabeaguru> thanks .. I will have a look at it
[2009/04/07 08:56:30] @ kambiz_away is now known as kambiz
[2009/04/07 08:56:41] @ suchu joined channel #puppet
[2009/04/07 09:05:29] @ rmiller4pi81 joined channel #puppet
[2009/04/07 09:05:29] @ Quit: rmiller4pi8: Read error: 54 (Connection reset by peer)
[2009/04/07 09:12:53] @ Quit: iwannabeaguru: "http://www.mibbit.com ajax IRC Client"
[2009/04/07 09:13:05] @ nigelk joined channel #puppet
[2009/04/07 09:16:27] @ joe-mac joined channel #puppet
[2009/04/07 09:20:24] @ d3vilb0x joined channel #puppet
[2009/04/07 09:25:14] @ erm_ joined channel #puppet
[2009/04/07 09:26:11] @ Quit: stevenjenkins: Read error: 110 (Connection timed out)
[2009/04/07 09:26:55] @ stevenjenkins joined channel #puppet
[2009/04/07 09:31:26] @ rdaugherty joined channel #puppet
[2009/04/07 09:32:09] @ Quit: rdaugherty: Client Quit
[2009/04/07 09:32:19] @ rdaugherty joined channel #puppet
[2009/04/07 09:41:27] @ lak joined channel #puppet
[2009/04/07 09:41:41] @ Quit: MrHeavy_: "Leaving"
[2009/04/07 09:43:06] @ Quit: rmiller4pi81: Read error: 110 (Connection timed out)
[2009/04/07 09:43:07] @ unxfrek joined channel #puppet
[2009/04/07 09:44:30] <duritong> lak: hei
[2009/04/07 09:44:35] <duritong> you have a minute or two?
[2009/04/07 09:45:01] <lak> sure
[2009/04/07 09:45:26] <duritong> it's about a facter bug I sent a month ago
[2009/04/07 09:45:33] <duritong> [PATCH] correctly compare values - fixes #2021
[2009/04/07 09:45:34] <gepetto> duritong: #2021 is http://projects.reductivelabs.com/issues/show/2021 "Facter - Bug #2021: Returning boolean not always possible - ReductiveLabs.com"
[2009/04/07 09:45:36] @ gaveen joined channel #puppet
[2009/04/07 09:45:50] <duritong> this patch introduced a incompatibility I realized now
[2009/04/07 09:46:52] <duritong> as we don't tree symbols anymore the same way as strings, all the confines in the style of 'confine :kernel => :linux' will not be satifisfied
[2009/04/07 09:47:47] @ claymation joined channel #puppet
[2009/04/07 09:47:54] <duritong> hence the output of some facts changed, as the confined aren't anymore satisfied
[2009/04/07 09:48:14] @ Quit: nigelk:
[2009/04/07 09:48:59] <duritong> so either we support the special old style and treat symbols as strings, or we change all the confines
[2009/04/07 09:50:06] <duritong> the latter would be better as there is a lot of incosistency how confines should be written. Once it is confine :kernel => :linux an once :kernel => %w{Linux} etc.
[2009/04/07 09:50:57] <duritong> however the latter would mean that custom facts of people wouldn't work anymore as expected as the behaviour of facter changed
[2009/04/07 09:51:26] <duritong> so I'm not sure which kind of patch I should write (unify confines or support old style)
[2009/04/07 09:51:36] <duritong> what do you think?
[2009/04/07 09:52:13] @ Quit: hacim: Read error: 104 (Connection reset by peer)
[2009/04/07 09:56:46] @ Quit: d3vilb0x:
[2009/04/07 09:59:27] <lak> confines should treat strings and symbols equivalently
[2009/04/07 09:59:53] <lak> and should be case-insensitive
[2009/04/07 10:01:07] <duritong> ok so we need to change my old patch
[2009/04/07 10:02:06] <duritong> case insensitiv is already the case
[2009/04/07 10:02:18] <duritong> but i'll write a test for that as well if there isn't already one
[2009/04/07 10:05:04] @ Quit: andrewcshafer:
[2009/04/07 10:05:04] <duritong> ah the problem is the downcasing
[2009/04/07 10:05:20] <duritong> strings and symbols are still treated the same with my patch
[2009/04/07 10:05:32] <duritong> should I send a follow up, or squash the patch?
[2009/04/07 10:07:04] @ lepole joined channel #puppet
[2009/04/07 10:07:39] <duritong> my other patch haven't yet been merged
[2009/04/07 10:08:45] @ egerlach joined channel #puppet
[2009/04/07 10:10:06] @ jtimberman joined channel #puppet
[2009/04/07 10:13:15] @ Quit: ka83753: Read error: 110 (Connection timed out)
[2009/04/07 10:13:16] @ Quit: mfoster: "Leaving."
[2009/04/07 10:13:21] @ mfoster joined channel #puppet
[2009/04/07 10:13:48] @ Tuba_ joined channel #puppet
[2009/04/07 10:19:11] @ mfoster1 joined channel #puppet
[2009/04/07 10:23:05] @ alfism joined channel #puppet
[2009/04/07 10:23:12] @ Quit: mfoster1: Client Quit
[2009/04/07 10:25:38] @ hacim joined channel #puppet
[2009/04/07 10:26:22] <z00dax> humm
[2009/04/07 10:26:57] <z00dax> updating to puppet-0.24.4 means I can no longer run it under %post in anaconda
[2009/04/07 10:27:14] <Volcane> why?
[2009/04/07 10:27:41] <lak> duritong: squash the patch, please
[2009/04/07 10:27:50] <lak> and once a patch is approved on the list, change your ticket to 'ready for checkin'
[2009/04/07 10:27:51] <z00dax> keeps killing itself with :
[2009/04/07 10:28:27] <z00dax> err: Could not apply complete catalog : Puppet::Util::FileType::FileTypeCronttag could not write blahde: Broken Pipe
[2009/04/07 10:28:37] <z00dax> and other stuff, never seen before, by me
[2009/04/07 10:28:53] <z00dax> s/ttag/tab/
[2009/04/07 10:29:16] <Volcane> hard to say without seeing trace output but yeah that sounds pretty odd
[2009/04/07 10:29:39] <Volcane> could be that its tryeing selinux stuff cos i think 0.24.4 just checked if some files existed
[2009/04/07 10:29:55] <Volcane> and if your kernel - which no doubt the installer kernel doesnt - didnt support selinux things were very f'd
[2009/04/07 10:30:03] <z00dax> installer does not run with selinux enforcing
[2009/04/07 10:30:08] <Volcane> afaik more recent versions are more clever about
[2009/04/07 10:30:22] <Volcane> yes, but puppet will try to do selinux stuff even if the kernel doesnt support it
[2009/04/07 10:30:25] @ bajan left channel #puppet ()
[2009/04/07 10:30:46] <z00dax> Volcane: there is no centos-5 kernel that does not support selinux
[2009/04/07 10:30:54] <z00dax> not 4 for that matter
[2009/04/07 10:30:57] <z00dax> s/not/nor/
[2009/04/07 10:31:39] <Volcane> k, then best i can suggest is to try running it with --trace
[2009/04/07 10:31:41] @ d3vilb0x joined channel #puppet
[2009/04/07 10:31:49] <Volcane> i dont run it in post, so cant say
[2009/04/07 10:31:58] <Volcane> but not seen ppl here moan about it so i assume it still works
[2009/04/07 10:33:31] @ Quit: fujin:
[2009/04/07 10:34:05] <z00dax> I've got it running with --debug at the mo
[2009/04/07 10:34:12] <z00dax> lets see what it comes up with
[2009/04/07 10:41:23] @ fujin joined channel #puppet
[2009/04/07 10:42:01] <z00dax> part of the problem seems to be some cron jobs that are run as a user, but dont require that user, which seems to be causing puppet some grief
[2009/04/07 10:42:31] @ Quit: mfoster: Read error: 110 (Connection timed out)
[2009/04/07 10:42:56] <Volcane> well they should only really fail that specific resources, not the whole run?
[2009/04/07 10:44:45] <z00dax> .. is what I see normally
[2009/04/07 10:45:05] <Volcane> ofcourse if those users gets made by a rpm that gets installed during that pupet run, no amount of requiring will fix it, need 2 runs
[2009/04/07 10:45:36] <joe-mac> yea, i run into little scenarios where i have to do two runs
[2009/04/07 10:45:36] <tim|mb> require on the package resource?
[2009/04/07 10:45:39] <z00dax> in this case, it goes along the lines of : err: Could not apply complete catalog: Puppet::Util::FileTypeCrontab could not write blahde: Broken pipe
[2009/04/07 10:45:43] <nico> jamesturnbull: re-opened #2078, if you need some feedback
[2009/04/07 10:45:44] <gepetto> nico: jamesturnbull: #2078 is http://projects.reductivelabs.com/issues/show/2078 "Facter - Bug #2078: ip.rb errors command not found - ReductiveLabs.com"
[2009/04/07 10:46:35] @ ka83753 joined channel #puppet
[2009/04/07 10:46:54] <z00dax> that comes from it trying to apply a cron{'foo': user=> 'blahde' }
[2009/04/07 10:47:19] @ thegcat joined channel #puppet
[2009/04/07 10:50:11] <Volcane> would help to know line numbers etc
[2009/04/07 10:50:18] <Volcane> fro the trace
[2009/04/07 10:50:32] @ andrewcshafer joined channel #puppet
[2009/04/07 10:51:21] <z00dax> waiting on the machine to reboot post install so i can get to the log files.
[2009/04/07 10:52:08] @ Quit: kolla: Remote closed the connection
[2009/04/07 10:52:23] <z00dax> http://pastebin.centos.org/25451
[2009/04/07 10:54:11] <z00dax> does that help ?
[2009/04/07 10:54:12] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/04/07 10:54:39] @ nigelk joined channel #puppet
[2009/04/07 10:55:20] @ ashp joined channel #puppet
[2009/04/07 10:55:29] <ashp> Hmm, I have a problem and I thought I'd see if anyone has any ideas
[2009/04/07 10:55:34] <Volcane> hmm
[2009/04/07 10:55:42] <Volcane> that's suggesting that its trying to remove a crontab entry
[2009/04/07 10:55:43] <ashp> I have a bunch of files for splunk that I do with file { "/opt/splunk/etc/system/local/":
[2009/04/07 10:55:43] <Volcane> and failing
[2009/04/07 10:55:50] <ashp> (and recurse => true)
[2009/04/07 10:56:11] <ashp> I have ensure => "present" but for one file only, prefs.conf, I want to exclude from this recursive distribution and then do it seperately
[2009/04/07 10:56:20] <ashp> can I just put in an ignore for it, then add a file{} for it seperately
[2009/04/07 10:56:29] <ashp> (as i only want it to distribute if the file doesn't exist unlike the rest)
[2009/04/07 10:56:53] <Volcane> z00dax: are you doing something that would remove a crontab?
[2009/04/07 10:56:58] <z00dax> nope
[2009/04/07 10:57:01] <z00dax> its trying to add one
[2009/04/07 10:57:05] <z00dax> for a user that does not exist
[2009/04/07 10:57:42] <Volcane> and you cant add a constraint?
[2009/04/07 10:58:19] <z00dax> I Am just surprised that a missing user would kill puppet's run completely
[2009/04/07 10:58:53] <Volcane> yeah that is pretty odd, but it seems the crotnab executable is doing something unexpected thats not caught
[2009/04/07 11:02:57] <joe-mac> Volcane: crontab -e -u nonexistantuser will fail
[2009/04/07 11:03:07] <joe-mac> but, i don't see why it would cause epic fail lol
[2009/04/07 11:03:31] <Volcane> yeah :)
[2009/04/07 11:04:29] <Volcane> though it wouldnt surprise me if this has been fixed yonks ago
[2009/04/07 11:04:34] <Volcane> 0.24.4 is pretty ancient
[2009/04/07 11:04:38] <joe-mac> yea that's what i use
[2009/04/07 11:04:41] <joe-mac> :-)
[2009/04/07 11:04:48] <joe-mac> i still push out my ssh keys via files in defines lol
[2009/04/07 11:05:14] @ briandquinn joined channel #puppet
[2009/04/07 11:05:57] <Volcane> ditto :P
[2009/04/07 11:06:35] <joe-mac> how come you don't use the new type?
[2009/04/07 11:06:56] <Volcane> I've like 3 users that goes on machines :P
[2009/04/07 11:07:12] <Volcane> maybe a bit more, but anyway, not enough to go on a refactoring spree
[2009/04/07 11:07:15] <joe-mac> yea me too, i just figured you'd have switched over
[2009/04/07 11:07:18] <joe-mac> yea true
[2009/04/07 11:07:30] <joe-mac> there are only three people on my team too, though i have some devs i sometimes give accounts
[2009/04/07 11:08:45] @ Quit: lepole: "leaving"
[2009/04/07 11:09:50] @ ka83753_ joined channel #puppet
[2009/04/07 11:15:22] @ Quit: tim|mb:
[2009/04/07 11:15:32] @ Quit: ka83753: Read error: 110 (Connection timed out)
[2009/04/07 11:19:28] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/04/07 11:20:09] @ gaveen joined channel #puppet
[2009/04/07 11:25:05] @ Quit: ka83753_: Remote closed the connection
[2009/04/07 11:25:22] @ ka83753 joined channel #puppet
[2009/04/07 11:25:28] <nigelk> lak: are you coming over to the Bay Area early before the Velocity conference?
[2009/04/07 11:25:36] <lak> dunno
[2009/04/07 11:25:38] <lak> it's so far away...
[2009/04/07 11:25:41] <nigelk> heh
[2009/04/07 11:25:54] <nigelk> interested in doing a practice run at Google? :)
[2009/04/07 11:26:05] <lak> yeah, that would be cool
[2009/04/07 11:26:10] <keithlard> does anyone have a nice way of getting a random number in puppet?
[2009/04/07 11:26:14] <lak> altho i'm supposed to do a workshop at velocity this year
[2009/04/07 11:26:16] <nigelk> we're seeing if we can get some velocity tickets as we're a sponsor apparently
[2009/04/07 11:26:26] <lak> keithlard: write a rand function that calls ruby's rand?
[2009/04/07 11:26:27] <nigelk> but there seem to be a lot of people asking....
[2009/04/07 11:26:44] <Volcane> keithlard: random, ie, different each run?
[2009/04/07 11:27:13] <lak> nigelk: specifically interested in the workshop, or in a talk, or what?
[2009/04/07 11:27:30] <keithlard> that's right... and fqdn_rand is not sufficient on its own, because we need several different random numbers per machine
[2009/04/07 11:27:45] <keithlard> specifically, i want to randomise the times of cron jobs for each user so that they don't all run at once
[2009/04/07 11:28:00] <Volcane> but then each time puppet runs it will change the cronjob?
[2009/04/07 11:28:08] <nigelk> as far as attending, we thought it could be good just to touch base, but if you wanted to do a talk here you could do whatever you wanted
[2009/04/07 11:28:20] <keithlard> this was my idea: fqdn_rand(24, generate("/bin/date +%s"))
[2009/04/07 11:28:22] <kjetilho> keithlard: use an md5sum with modulo? different seed for each job.
[2009/04/07 11:28:33] <Volcane> anyway, $r = inline_template("<%= rand(10) %>")
[2009/04/07 11:29:05] @ tim|mb joined channel #puppet
[2009/04/07 11:29:15] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/04/07 11:29:16] <keithlard> Volcane: great idea - i'll try that but see if i can make it a hash of the username, so it doesn't keep changing
[2009/04/07 11:29:17] <Volcane> works in 0.24.8
[2009/04/07 11:29:26] <Volcane> yup
[2009/04/07 11:29:56] <keithlard> i missed inline_template... to think i should live to see such a world!
[2009/04/07 11:30:09] <Volcane> heh, upgrade churn :P
[2009/04/07 11:30:24] <nigelk> whoa
[2009/04/07 11:30:28] <nigelk> how did I miss inline_template ?
[2009/04/07 11:30:30] <nigelk> wow
[2009/04/07 11:30:36] <Volcane> how kewl is it? :)
[2009/04/07 11:30:41] <nigelk> that's awesomeness
[2009/04/07 11:30:45] <keithlard> i'm glad i wasn't the only one - especially as generate() is so hamstrung
[2009/04/07 11:31:08] <Volcane> inline_template(file("/path/to/foo.${fqdn}.erb", "/path/to/foo.erb"))
[2009/04/07 11:31:11] <Volcane> think about it :)
[2009/04/07 11:31:14] <Volcane> how kewl..
[2009/04/07 11:31:34] <nigelk> heh
[2009/04/07 11:32:01] <Volcane> though sadly file() doesnt understand about module paths and such
[2009/04/07 11:32:02] <Volcane> pity
[2009/04/07 11:32:34] @ Quit: Innocenti: Client Quit
[2009/04/07 11:32:41] <Volcane> lak: did my class runner thingy i spoke of last night make any kind of sense?
[2009/04/07 11:32:53] @ Quit: ka83753: Read error: 60 (Operation timed out)
[2009/04/07 11:33:01] <Volcane> lak: to just ran a class, any class, once on a node preserving node variables etc as set by the master?
[2009/04/07 11:33:16] <lak> yeah, i understand
[2009/04/07 11:34:04] <Volcane> obviously as the manifest gets copiled on master we need some addition where the client can ask the master to do that, so i doubt its trivial exactly
[2009/04/07 11:34:07] <Volcane> but it would help a lot
[2009/04/07 11:34:38] <Volcane> $developer wants to update his package in prod, he does all the crap needed to take a box out of the cluster (lot of crap in my case) then just run the runner that will update his rpm
[2009/04/07 11:34:46] @ ka83753 joined channel #puppet
[2009/04/07 11:34:46] <Volcane> so i can sudo that, rather than give them sudo access to yum
[2009/04/07 11:34:54] <Volcane> simple thing, but oh so kewl to be able to do with puppet
[2009/04/07 11:35:14] <Volcane> and not the kind of thing you'd typically do with puppet, but this would let it
[2009/04/07 11:35:18] @ Quit: glaw:
[2009/04/07 11:40:51] @ Quit: ka83753: Remote closed the connection
[2009/04/07 11:40:56] <Volcane> i could actually hack this up with environments and tags, but a nice tool would do better
[2009/04/07 11:41:01] @ ka83753 joined channel #puppet
[2009/04/07 11:41:19] <Volcane> and avoid accidents
[2009/04/07 11:41:38] @ m1n3s6 joined channel #puppet
[2009/04/07 11:41:56] @ Quit: m1n3s6: Read error: 104 (Connection reset by peer)
[2009/04/07 11:48:05] @ Quit: ka83753: Remote closed the connection
[2009/04/07 11:51:00] @ Quit: thegcat:
[2009/04/07 11:54:09] <keithlard> Volcane: here's my working solution: 'hour => inline_template("<%= name.hash % 24 %>")'
[2009/04/07 11:54:15] <keithlard> i think that's pretty neat. thanks!
[2009/04/07 11:54:22] <Volcane> nice
[2009/04/07 11:54:26] <Volcane> :)
[2009/04/07 11:55:27] <Volcane> yeah inline templates pretty sweet, saves a lot of parser function hacking
[2009/04/07 11:55:57] <Volcane> donno whose idea it was but major kudos
[2009/04/07 11:58:48] @ m1n3s6 joined channel #puppet
[2009/04/07 11:58:54] @ Quit: ghenry: Read error: 110 (Connection timed out)
[2009/04/07 11:59:39] @ ghenry joined channel #puppet
[2009/04/07 11:59:59] @ Quit: suchu: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"
[2009/04/07 12:01:50] @ Quit: stijnbe: "Leaving..."
[2009/04/07 12:01:51] @ jonmills joined channel #puppet
[2009/04/07 12:02:42] <jonmills> So, I'm trying to run the latest puppet on rhel3. I want to run a more recent version of ruby that what shipped with rhel3. anyone know how to get ruby 1.8.x on rhel3?
[2009/04/07 12:04:43] @ giles_ joined channel #puppet
[2009/04/07 12:04:50] <giles_> elo puppetiers
[2009/04/07 12:05:02] <giles_> has anyone looked at doing a grub module?
[2009/04/07 12:05:18] <giles_> i'm hoping to use the line define to ensure some kopts for our vmware hosts
[2009/04/07 12:05:33] <giles_> and for that to trigger a grub-update
[2009/04/07 12:05:57] <jenza> hmm would be pretty simple to write
[2009/04/07 12:06:06] @ Quit: axisys: Read error: 110 (Connection timed out)
[2009/04/07 12:06:16] <giles_> yea i'm wondering how to not get the exec to trigger on every run
[2009/04/07 12:06:22] <jenza> you trying to push out the ticker issues?
[2009/04/07 12:06:34] <Volcane> set the exec to refreshonly
[2009/04/07 12:06:38] <Volcane> subscribe to the line thing
[2009/04/07 12:06:38] <jenza> ^
[2009/04/07 12:06:39] <giles_> i know how i'd do it if i'd templated the file
[2009/04/07 12:06:43] <giles_> ah cool
[2009/04/07 12:06:47] <giles_> to Volc
[2009/04/07 12:06:49] <giles_> ta rather
[2009/04/07 12:08:17] @ spidaman joined channel #puppet
[2009/04/07 12:12:06] @ glaw joined channel #puppet
[2009/04/07 12:13:30] <keithlard> jonmills: rhel3 is extremely old. i think you'd be unlikely to find ruby packages for it - unless you build one yourself of course
[2009/04/07 12:17:45] <giles_> i built some packages for rhel3
[2009/04/07 12:18:28] @ Quit: Bass10: "Leaving"
[2009/04/07 12:19:01] @ Quit: alban2: Read error: 60 (Operation timed out)
[2009/04/07 12:19:11] @ stijnbe joined channel #puppet
[2009/04/07 12:19:15] <giles_> hrm my grub plans look to be foiled..
[2009/04/07 12:19:37] <giles_> unless I do a different version of the standard line define
[2009/04/07 12:19:46] @ Quit: m1n3s6: Read error: 54 (Connection reset by peer)
[2009/04/07 12:20:06] <giles_> out of interest do any of you actually force a specific kernel version and template the menu.lst file?
[2009/04/07 12:20:23] @ m1n3s6 joined channel #puppet
[2009/04/07 12:20:31] @ Quit: WALoeIII: Read error: 110 (Connection timed out)
[2009/04/07 12:21:35] <z00dax> there are some ruby pkgs in c3-testing as well, 1.8.6 with the el5 patchlevel; works fine for puppet. but some of the other bits are not in the same state as what puppet expects
[2009/04/07 12:23:07] <gwar9999> the file resource 'recurse' feature doesn't seem to work with ensure => directory. That is, if I want to create the dir /tmp/foo/bar I believe I have to first create /tmp/foo then create /tmp/foo/bar. Is this true or am I doing something wrong?
[2009/04/07 12:23:31] @ Quit: sigmonsays: Read error: 104 (Connection reset by peer)
[2009/04/07 12:24:59] <Volcane> yes, recurse is to recursively copy files from the master to the server
[2009/04/07 12:25:07] <Volcane> not to create parent dirs (its not mkdir -p)
[2009/04/07 12:25:28] <gwar9999> Volcane: ok thanks for the clarification. Bummer, I was hoping for mkdir -p goodness.
[2009/04/07 12:25:39] <Volcane> nope :(
[2009/04/07 12:25:55] <Volcane> file{["/path", "/path/to", "/path/to/foo"]: ensure => directory}
[2009/04/07 12:26:08] <jtimberman> jonmills: i'd look at deploying Ruby Enterprise Edition to get a newer version on RHEL 3.
[2009/04/07 12:26:44] @ Quit: DerekW: Remote closed the connection
[2009/04/07 12:26:47] <gwar9999> Volcane: cool, that syntax is much cleaner than having multiple file blocks, thanks for the shorthand suggestion.
[2009/04/07 12:27:50] <giles_> oh well i think i might just make a new define called replace rather than changing a whole line
[2009/04/07 12:29:23] @ WALoeIII joined channel #puppet
[2009/04/07 12:36:34] @ Quit: tim|mb: Read error: 110 (Connection timed out)
[2009/04/07 12:40:26] @ Quit: fdz: "Leaving."
[2009/04/07 12:41:50] <Telmo> qwar9999 taking Volcane's suggestion a step further: $directories = ["/path/", "/path/to", "/path/to/directory/"] \n file { $directories: ensure => directory }
[2009/04/07 12:42:26] <Telmo> this was his suggestion to me the other day :) it keeps things cleaner
[2009/04/07 12:43:32] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/04/07 12:45:19] @ Telmo left channel #puppet ()
[2009/04/07 12:45:38] @ Telmo joined channel #puppet
[2009/04/07 12:45:45] <Telmo> oops, wrong command
[2009/04/07 12:50:24] @ mfoster joined channel #puppet
[2009/04/07 12:51:00] <Volcane> lak: isnt the whole memcache thing on the dev-list about storing things like exported resources or just about transcient data interesting only to the masters its attached too?
[2009/04/07 12:51:28] <giles_> can puppet enforce the install of specific version of a package?
[2009/04/07 12:51:33] <giles_> or is it just present and latest
[2009/04/07 12:51:39] @ gaveen_ joined channel #puppet
[2009/04/07 12:52:03] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/07 12:52:06] <Volcane> giles_: ensure => 1.2.3
[2009/04/07 12:52:15] <giles_> quality
[2009/04/07 12:52:22] @ Bass10 joined channel #puppet
[2009/04/07 12:52:37] <giles_> i think i might use it to specify kernel versions then
[2009/04/07 12:53:21] @ threetee joined channel #puppet
[2009/04/07 12:53:28] @ Quit: Bass10: SendQ exceeded
[2009/04/07 12:53:34] @ threetee left channel #puppet ()
[2009/04/07 12:53:56] @ Bass10 joined channel #puppet
[2009/04/07 13:02:28] @ Quit: glaw: Remote closed the connection
[2009/04/07 13:06:48] @ pleemans joined channel #puppet
[2009/04/07 13:07:05] @ Quit: alfism: "Connection reset by beer"
[2009/04/07 13:07:05] @ GregCSI joined channel #puppet
[2009/04/07 13:07:36] <GregCSI> I just upgraded from 0.24.5 to 0.24.7 and now when I do a puppetrun I get "err: Could not retrieve catalog: invalid address"
[2009/04/07 13:07:38] <GregCSI> any ideas?
[2009/04/07 13:13:20] <Volcane> run puppetd --test --verbose and show us the output on pastie.org
[2009/04/07 13:22:01] <GregCSI> http://pastie.org/439739
[2009/04/07 13:23:06] <Volcane> do you have server specified in your configuration or do you default to 'puppet'?
[2009/04/07 13:23:32] <lak> Volcane: the discussion started because of nodes and facts
[2009/04/07 13:23:42] <lak> not storeconfig-style resources
[2009/04/07 13:24:04] <Volcane> lak: ah, so those really dont *need* to be shared if you have say masters in many DCs to serve local clients, then memcache would be sweet
[2009/04/07 13:24:09] @ cwebber joined channel #puppet
[2009/04/07 13:25:12] <ashp> argh the nagios module is breaking my mind
[2009/04/07 13:26:04] @ ezmob joined channel #puppet
[2009/04/07 13:27:21] <GregCSI> i have it in main
[2009/04/07 13:27:34] <Volcane> and can you ping that?
[2009/04/07 13:27:36] <Telmo> lak I read somewhere that puppet is moving away from rails (ActiveRecord) for stored config, is this still the plan? and if so what is it moving to?
[2009/04/07 13:27:38] <Volcane> or connect to its port?
[2009/04/07 13:28:06] <GregCSI> yes, i can
[2009/04/07 13:28:24] <Volcane> ok, hmm, run it with --trace too and show us
[2009/04/07 13:28:45] <ashp> duritong: hey, you around?
[2009/04/07 13:29:18] <lak> Telmo: well, i'm hoping to have some progress on datamapper support, but the main thing is that it will become pluggable
[2009/04/07 13:29:39] <duritong> ashp: yes
[2009/04/07 13:30:23] <GregCSI> http://pastie.org/439752
[2009/04/07 13:30:31] <Telmo> lak: ok, just wondering how much effort I should put into puppet+rails at this moment
[2009/04/07 13:30:45] <lak> what kind of effort were you thinking of spending?
[2009/04/07 13:30:51] <ashp> duritong: I have a question about the nagios module, if you have time
[2009/04/07 13:31:09] <ashp> What on earth should I pass to nagios::host{} to get contact_groups set in that host statement
[2009/04/07 13:31:11] <duritong> go ahead
[2009/04/07 13:31:12] <Telmo> I am in the process of writing a visualization tool for the nodes managed by puppet
[2009/04/07 13:31:17] <ashp> it has all this crazy nagios_contact_group_in
[2009/04/07 13:31:26] <Telmo> which reads the DB created by stored conf
[2009/04/07 13:31:28] <ashp> and I can't work out what to do in nagios::extra_host, specifically, to get a contact_group set
[2009/04/07 13:31:47] <ashp> I figure I need to set nagios_contact_groups, in extra_host and then use that in the nagios::host below, but I'm unsure
[2009/04/07 13:31:48] <Volcane> GregCSI: I'd say you have a botched upgrade with weird leftovers
[2009/04/07 13:32:03] <GregCSI> it was from a gem install if that helps
[2009/04/07 13:32:28] <Volcane> gems str8 from the devil
[2009/04/07 13:32:29] <ashp> I'm not sure what the original concept behind the check is, so I don't know if I'm changing it right :)
[2009/04/07 13:32:43] <duritong> ashp: I didn't yet use the contact groups so maybe it's simply not yet implemented
[2009/04/07 13:32:57] <Volcane> you have /opt/csi/production/package/ruby-1.8.7-p22/lib/ruby/1.8/ipaddr.rb i dont know where that comes from
[2009/04/07 13:33:05] <Volcane> oh actually thats prolly std ruby stuff
[2009/04/07 13:33:06] <ashp> duritong: Ahhh, ok, I might just strip that out and leave it with a hard-coded default to be overwritten if required
[2009/04/07 13:33:28] <Volcane> yeah thats from ruby
[2009/04/07 13:33:44] @ Quit: londo_: Remote closed the connection
[2009/04/07 13:34:13] <duritong> ashp: yeah makes sense
[2009/04/07 13:34:28] <Volcane> GregCSI: well i dont know the code that well, but I'd say you have a facter problem, not finding something it wants, see if just running facter on its own works?
[2009/04/07 13:35:31] @ Quit: MattyM: "ta ta"
[2009/04/07 13:35:49] <Volcane> GregCSI: specifically look out for the ipaddress facts etc
[2009/04/07 13:35:59] <GregCSI> http://pastie.org/439755
[2009/04/07 13:36:25] <GregCSI> i installed facter using the gem install too
[2009/04/07 13:37:25] <Volcane> what OS you on?
[2009/04/07 13:38:15] <GregCSI> this is on fedora 32bit but I also have it running on a 64bit sles10
[2009/04/07 13:38:20] <GregCSI> with the same result
[2009/04/07 13:38:41] <Volcane> did you upgrade facter or just a fresh install?
[2009/04/07 13:39:14] <Telmo> I'd probably remove the facter/puppet gems and do a fresh install
[2009/04/07 13:39:21] <Volcane> nods, worth a try
[2009/04/07 13:40:10] @ Quit: andrewcshafer:
[2009/04/07 13:41:05] @ Quit: maxagaz: Read error: 113 (No route to host)
[2009/04/07 13:42:19] <GregCSI> it was an upgrade
[2009/04/07 13:43:09] <Telmo> Is it possible to do a zpool { disks => "any" } or do you have to specify the disks once by one?
[2009/04/07 13:44:25] * Volcane 's not used the zpool stuff with puppet
[2009/04/07 13:44:41] <Volcane> GregCSI: worth removing and redoing them, plenty of people here complaining about broken results of gem upgrades
[2009/04/07 13:44:46] @ voixd joined channel #puppet
[2009/04/07 13:45:08] <GregCSI> ok, thanks for the help
[2009/04/07 13:45:20] <ashp> lak: About that licensing thread, rather than clog the list: I actually do think you should require copyright assignment
[2009/04/07 13:45:21] <GregCSI> i probably just shouldn't have gone the gem route
[2009/04/07 13:45:36] <ashp> i don't think it's a big deal and it makes it a hell of a lot easier for you to do commerical work with under those circumstances
[2009/04/07 13:48:08] <jonmills> anyone know where I can find ruby 1.8.x rpms for rhel3?
[2009/04/07 13:49:20] <Volcane> GregCSI: yeah, the distro packages are fine generally
[2009/04/07 13:49:31] @ shake-n-bake joined channel #puppet
[2009/04/07 13:49:46] <ashp> when it comes to licences i feel whatever allows reductivelabs to survive is what to go for, if all support for puppet dies then I don't give a damn what license it's under :)
[2009/04/07 13:54:35] <lak> ashp: true dat
[2009/04/07 13:54:36] @ Quit: shake-n-bake:
[2009/04/07 13:55:12] <lak> most people seem ok with the project switching, but it sounds like some key people might not be able to sign a contributor agreement
[2009/04/07 13:55:30] <lak> i've already learned something important in this thread: i can't type 'contributor' correctly the first time
[2009/04/07 13:55:31] <ashp> yeah I think that is probably the only sticking point, companies that won't allow them to sign off
[2009/04/07 13:58:34] @ shake-n-bake joined channel #puppet
[2009/04/07 14:02:50] @ Quit: ijcd:
[2009/04/07 14:05:04] <gwar9999> if I have 2 file resources-- one is a directory the other a file that belongs in that dir. Sometimes puppet tries to add the file before the dir is created. How can I tell it to do the dir first, then the file always? depends doesn't apply to files.
[2009/04/07 14:07:03] <lak> gwar9999: puppet should always automatically have the file require the dir
[2009/04/07 14:07:17] <lak> so it *shouldn't* require any configuration
[2009/04/07 14:07:29] <lak> and dependencies apply to files just as well as any other resource
[2009/04/07 14:09:20] <gwar9999> Thanks lak: I just tried the "require" parameter... got this error: Parameter require failed: Relationships must be resource references
[2009/04/07 14:09:37] <lak> gwar9999: require => File[/path/to/file]
[2009/04/07 14:09:45] <lak> you have to do the normal reference, not just the file name
[2009/04/07 14:10:04] <gwar9999> lak: ahhh. thanks.
[2009/04/07 14:11:59] @ alfism joined channel #puppet
[2009/04/07 14:15:20] @ Quit: lak:
[2009/04/07 14:25:50] @ Quit: keithlard:
[2009/04/07 14:26:28] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/04/07 14:27:21] <jmslagle> Oh lak ran away
[2009/04/07 14:29:34] @ andrewcshafer joined channel #puppet
[2009/04/07 14:29:57] @ lak joined channel #puppet
[2009/04/07 14:30:50] @ Quit: giles_: Read error: 110 (Connection timed out)
[2009/04/07 14:31:24] @ Quit: unxfrek: "Leaving"
[2009/04/07 14:32:18] @ Quit: madrescher: Remote closed the connection
[2009/04/07 14:33:34] @ spidaman left channel #puppet ()
[2009/04/07 14:33:39] @ Quit: Bass10: Connection timed out
[2009/04/07 14:38:26] @ Bass10 joined channel #puppet
[2009/04/07 14:47:10] @ Quit: lak:
[2009/04/07 14:48:52] @ unxfrek joined channel #puppet
[2009/04/07 14:49:05] <pietro> puppet git repo is on reductivelabs or on github?
[2009/04/07 14:50:10] @ kambiz is now known as kambiz_away
[2009/04/07 14:57:42] @ Quit: briandquinn: Read error: 110 (Connection timed out)
[2009/04/07 15:01:41] @ nakano is now known as nakano_
[2009/04/07 15:02:16] @ mconigliaro joined channel #puppet
[2009/04/07 15:04:29] @ gaveen_ is now known as gaveen
[2009/04/07 15:06:52] <mconigliaro> does anyone know what causes "saving failed" in augtool?
[2009/04/07 15:07:11] <mconigliaro> it doesnt tell me why it failed
[2009/04/07 15:09:07] @ lak joined channel #puppet
[2009/04/07 15:09:59] <stick> so I'm trying to debug why this new puppetmaster of mine can't find any of it's modules/classes, --debug --trace (--no-daemonize) doesn't point to anything obvious
[2009/04/07 15:10:07] @ Quit: Superfly_: Read error: 104 (Connection reset by peer)
[2009/04/07 15:10:08] <stick> any suggestions on where to look next?
[2009/04/07 15:12:59] <lak> strace?
[2009/04/07 15:13:20] <lak> that should tell you what files it's looking at, although not why
[2009/04/07 15:16:09] @ unxfrek_ joined channel #puppet
[2009/04/07 15:17:21] @ Quit: unxfrek_: Client Quit
[2009/04/07 15:19:36] @ Superfly_ joined channel #puppet
[2009/04/07 15:22:15] @ GregCSI left channel #puppet ("Time makes no sense")
[2009/04/07 15:26:08] @ Quit: unxfrek: Read error: 110 (Connection timed out)
[2009/04/07 15:27:38] @ bgupta left channel #puppet ()
[2009/04/07 15:30:54] @ Quit: Telmo: Read error: 60 (Operation timed out)
[2009/04/07 15:32:16] @ Quit: Superfly_: Read error: 60 (Operation timed out)
[2009/04/07 15:35:25] <hacim> pietro: i think its on github now, but i think its supposed to be mirrored on reductive labs, but it isn't
[2009/04/07 15:35:55] <hacim> lak: I asked that (^^) the other day, didn't get an answer, was the push to reductive labs missed somehow?
[2009/04/07 15:35:55] @ ezmob is now known as ezmob|away
[2009/04/07 15:36:14] <lak> what push?
[2009/04/07 15:36:28] <hacim> the reductivelabs git repository
[2009/04/07 15:36:36] <lak> what's missing from it, though?
[2009/04/07 15:36:53] <hacim> well, when I was looking a couple days ago it was missing the 0.24.8 tag
[2009/04/07 15:36:57] <lak> ah, ok
[2009/04/07 15:37:01] <hacim> but let me look again, maybe that was resolved
[2009/04/07 15:37:46] <hacim> lak: yeah, there is no 0.24.8 tag
[2009/04/07 15:37:47] <lak> looks like it's there
[2009/04/07 15:37:50] <hacim> hm
[2009/04/07 15:38:02] <hacim> ah, so it is now
[2009/04/07 15:38:09] <lak> ok
[2009/04/07 15:38:10] <hacim> sorry to bother
[2009/04/07 15:38:14] <lak> email me if there are further problems, gotta run
[2009/04/07 15:38:18] <lak> no bother
[2009/04/07 15:38:27] @ Quit: lak:
[2009/04/07 15:44:19] <hacim> duritong: did you update your shorewall module for shorewall 4?
[2009/04/07 15:47:54] <hacim> kind of looks like you did
[2009/04/07 15:48:13] <duritong> hacim: yeah more or less, it just seems to work :P
[2009/04/07 15:50:31] <hacim> hehe
[2009/04/07 15:50:39] <hacim> duritong: did you finish your switch to git?
[2009/04/07 15:50:52] <duritong> unfortunately not yet
[2009/04/07 15:51:01] <hacim> ah too bad
[2009/04/07 15:51:08] <duritong> yay
[2009/04/07 15:52:41] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2009/04/07 15:54:09] @ andrewcshafer joined channel #puppet
[2009/04/07 15:54:47] <duritong> hacim: unfortunetely too many things are on the todo list
[2009/04/07 16:00:59] <hacim> duritong: wow, thats surprising. i'm always bored with nothing on my todo list, some day something will come along that I must do.
[2009/04/07 16:01:16] <hacim> perhaps I'll put on my todo list: end sarcasm
[2009/04/07 16:01:23] @ keithlard joined channel #puppet
[2009/04/07 16:01:37] <duritong> nah or at least at the very end
[2009/04/07 16:02:43] @ Superfly_ joined channel #puppet
[2009/04/07 16:03:20] <Volcane> phew, using snippets and concats and stuff heavily sure makes puppet grind along quite slowly
[2009/04/07 16:03:58] @ dsd_ joined channel #puppet
[2009/04/07 16:04:24] <Volcane> Finished catalog run in 213.13 seconds :(
[2009/04/07 16:05:47] @ lak joined channel #puppet
[2009/04/07 16:06:33] @ Quit: d3vilb0x:
[2009/04/07 16:09:14] <dsd_> hi, first time puppet user here.. i've read InstallationGuide and SimplestPuppetInstallRecipe but i can't get the client to accept the server cert
[2009/04/07 16:09:25] <dsd_> Apr 7 15:56:53 schoolserver puppetd[3649]: Certificate validation failed; consider using the certname configuration option
[2009/04/07 16:09:29] <dsd_> Apr 7 15:56:53 schoolserver puppetd[3649]: Could not retrieve catalog: Certificates were not trusted: hostname was not match with the server certificate
[2009/04/07 16:09:47] @ ezmob|away is now known as ezmob
[2009/04/07 16:10:02] <dsd_> any pointers for this? am i supposed to specify the hostname on the server side anywhere?
[2009/04/07 16:10:17] <dsd_> i found some metnion of puppetd --genconfig but i'm not sure what it's useful for or if i'm supposed to run it
[2009/04/07 16:10:17] <Volcane> dsd: save your sanity and just add a CNAME to 'puppet' in your dns
[2009/04/07 16:10:28] <Volcane> and make sure your machines can ping puppet
[2009/04/07 16:10:29] <dsd_> Volcane: on the clients?
[2009/04/07 16:10:49] <Volcane> then shut down your master, shut down all the clients, delete /var/lib/puppet/ssl/* and start fresh
[2009/04/07 16:12:52] <Volcane> and dont put any certname or servername directives in any file anywhere
[2009/04/07 16:13:55] <dsd_> and if losing my sanity is easier than changing DNS...?
[2009/04/07 16:13:58] <dsd_> :)
[2009/04/07 16:14:12] <dsd_> i guess i'll look into those directives
[2009/04/07 16:14:35] <Volcane> many people come here, then piss about with ssl for days on end
[2009/04/07 16:14:48] <Volcane> then they add the cname and start doing work in about 5 minutes
[2009/04/07 16:17:19] <Volcane> like i could explain how to fix it for you, then 2 moths down the line you want to move puppet to a new server
[2009/04/07 16:17:24] <Volcane> then all the ssl needs to be redone anyway
[2009/04/07 16:17:46] <Volcane> instead of just starting sane and using a cname to 'puppet.your.com' and fixing your resolver search
[2009/04/07 16:17:47] @ Quit: lak:
[2009/04/07 16:21:05] @ Quit: Bass10: "Leaving"
[2009/04/07 16:21:18] @ Quit: jonmills: Remote closed the connection
[2009/04/07 16:21:23] <teratoma> it is weird that the certs is such a common problem ( i cried about it myself for several hours )
[2009/04/07 16:21:31] @ jonmills joined channel #puppet
[2009/04/07 16:21:40] <Volcane> it works by default
[2009/04/07 16:21:55] <Volcane> its only when people change settings they dont understand that it goes titsup :)
[2009/04/07 16:22:08] <dsd_> can i suggest adding info about this to SimplestPuppetInstallRecipe?
[2009/04/07 16:22:23] <dsd_> currently does not describe how to run a client somewhere other than the server.. but i guess this is something that a lot of people face?
[2009/04/07 16:22:38] <Volcane> dsd_: here's a guide i wrote http://www.devco.net/pubwiki/Puppet/GettingStarted
[2009/04/07 16:22:46] @ Bass10 joined channel #puppet
[2009/04/07 16:23:05] <Volcane> whic will make it to the wiki one day when it doesnt involve touching trac
[2009/04/07 16:23:18] <Volcane> its for rhel/centos with 2 nodes
[2009/04/07 16:23:46] @ Quit: Bass10: SendQ exceeded
[2009/04/07 16:24:28] @ Bass10 joined channel #puppet
[2009/04/07 16:24:40] @ madrescher joined channel #puppet
[2009/04/07 16:28:28] @ jonmills left channel #puppet ()
[2009/04/07 16:31:07] <dsd_> thanks for the pointers Volcane.. i figured it out
[2009/04/07 16:31:51] <dsd_> seems like my problem would be fixed if the 'certname' option was generated correctly on the server. it says that it defaults to the FQDN, but at least here it is not doing that
[2009/04/07 16:36:20] @ alban2 joined channel #puppet
[2009/04/07 16:38:36] * bda punches his puppetmaster in the head.
[2009/04/07 16:39:39] @ Quit: stijnbe: "Leaving..."
[2009/04/07 16:40:10] <bda> iirc there's something with webrick that causes it to hang randomly?
[2009/04/07 16:45:47] @ Quit: Bass10: "Leaving"
[2009/04/07 16:46:01] @ Bass10 joined channel #puppet
[2009/04/07 16:46:58] @ Quit: Bass10: SendQ exceeded
[2009/04/07 16:47:33] @ Bass10 joined channel #puppet
[2009/04/07 16:55:37] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/04/07 16:58:10] @ unxfrek joined channel #puppet
[2009/04/07 16:58:33] <Volcane> dsd_: its specifically designed to default to puppet
[2009/04/07 16:58:52] @ nakano_ is now known as nakano
[2009/04/07 17:03:23] @ jbk joined channel #puppet
[2009/04/07 17:05:12] @ madrescher joined channel #puppet
[2009/04/07 17:06:14] @ fujin joined channel #puppet
[2009/04/07 17:13:45] <dsd_> Volcane: for me, it defaults to something similar to the FQDN of the system, but not quite
[2009/04/07 17:14:17] @ mib_3868ue joined channel #puppet
[2009/04/07 17:24:47] @ fujin_ joined channel #puppet
[2009/04/07 17:25:31] @ Quit: fujin: Nick collision from services.
[2009/04/07 17:25:32] @ fujin_ is now known as fujin
[2009/04/07 17:29:48] @ Quit: keithlard:
[2009/04/07 17:31:09] @ Quit: cwebber:
[2009/04/07 17:32:27] @ keithlard_ joined channel #puppet
[2009/04/07 17:41:32] @ Quit: mib_3868ue: "http://www.mibbit.com ajax IRC Client"
[2009/04/07 17:42:00] @ nakano is now known as nakano_
[2009/04/07 17:42:31] @ nakano_ is now known as nakano
[2009/04/07 17:43:24] @ dsd_ left channel #puppet ()
[2009/04/07 17:46:53] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/04/07 17:47:44] <gwar9999> what would be the syntax is class B depends on class A. I tried require => Class['A'] in class B but that doesn't seem to work. Basically, I want to ensure that everything in A happens before B.
[2009/04/07 17:51:23] @ Quit: madrescher: Read error: 113 (No route to host)
[2009/04/07 17:58:32] <bevans5446> anyone know why "lsbmajdistrelease" and "lsbdistid" would be missing from my CentOS 5 box? (facter-1.5.4-1.el5)
[2009/04/07 17:58:56] @ Quit: mccune: "Leaving."
[2009/04/07 18:07:20] @ Quit: unxfrek: "Leaving"
[2009/04/07 18:10:07] @ nakano is now known as nakano_
[2009/04/07 18:13:00] @ egerlach_ joined channel #puppet
[2009/04/07 18:13:32] @ Quit: egerlach: Read error: 54 (Connection reset by peer)
[2009/04/07 18:13:51] @ Quit: Mandus: Read error: 60 (Operation timed out)
[2009/04/07 18:14:21] @ Mandus joined channel #puppet
[2009/04/07 18:15:25] @ Quit: claymation:
[2009/04/07 18:19:04] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/04/07 18:19:09] @ d3vilb0x joined channel #puppet
[2009/04/07 18:19:13] @ voixd_ joined channel #puppet
[2009/04/07 18:19:41] @ gaveen joined channel #puppet
[2009/04/07 18:20:26] @ Quit: voixd: Read error: 60 (Operation timed out)
[2009/04/07 18:24:18] @ rdaugherty left channel #puppet ()
[2009/04/07 18:26:30] <z00dax> bevans5446: yum install redhat-lsb
[2009/04/07 18:27:35] <bevans5446> nice, thanks
[2009/04/07 18:33:09] @ Quit: keithlard_:
[2009/04/07 18:37:41] @ voixd joined channel #puppet
[2009/04/07 18:41:05] <gwar9999> so does each resource in a class need to require the other class -or- can the class itself require another class?
[2009/04/07 18:48:15] @ Quit: mcbride: Read error: 60 (Operation timed out)
[2009/04/07 18:48:20] @ Djelibeybi joined channel #puppet
[2009/04/07 18:50:03] @ Quit: voixd_: Read error: 110 (Connection timed out)
[2009/04/07 18:52:46] @ Quit: mfoster: "Leaving."
[2009/04/07 18:57:10] <bda> Hm. Trying to work on the daemontools provider, but I can't fork lab/puppet from github?
[2009/04/07 18:58:42] <bda> Nevermind. I already have a repo called puppet.
[2009/04/07 18:58:50] <bda> And gh apparently doesn't handle that eventuality.
[2009/04/07 19:01:56] @ msf_ joined channel #puppet
[2009/04/07 19:01:57] @ mcbride joined channel #puppet
[2009/04/07 19:02:41] @ Quit: msf: Read error: 110 (Connection timed out)
[2009/04/07 19:11:16] @ Quit: Djelibeybi: "Leaving"
[2009/04/07 19:14:17] @ Quit: andrewcshafer:
[2009/04/07 19:14:43] @ andrewcshafer joined channel #puppet
[2009/04/07 19:15:45] @ schuhe joined channel #puppet
[2009/04/07 19:16:59] @ Quit: markl__: "Lost terminal"
[2009/04/07 19:22:21] @ lak joined channel #puppet
[2009/04/07 19:24:15] @ Quit: schuhe: "leaving"
[2009/04/07 19:31:08] @ kambiz_away is now known as kambiz
[2009/04/07 19:34:24] @ unxfrek joined channel #puppet
[2009/04/07 19:34:26] <gwar9999> what would be the syntax is class B depends on class A. I tried require => Class['A'] in class B but that doesn't seem to work. Basically, I want to ensure that everything in A happens before B.
[2009/04/07 19:42:57] @ erm_ joined channel #puppet
[2009/04/07 19:49:44] @ egerlach_ is now known as egerlach
[2009/04/07 19:49:49] <eythian> I have a type defined in a .rb file, with matching names, but when I attempt to use it in the class puppet says "Could not find resource type gf_jdbc_connection_pool" ... do I need to do something special?
[2009/04/07 19:50:07] <eythian> I know that the .rb is being distributed to the client
[2009/04/07 19:50:11] @ Quit: unxfrek: "Leaving"
[2009/04/07 19:53:08] @ Quit: erm_: Read error: 60 (Operation timed out)
[2009/04/07 19:56:36] @ Quit: minoru_test: Remote closed the connection
[2009/04/07 20:06:29] @ tuf8_ joined channel #puppet
[2009/04/07 20:13:14] <eythian> If I want to interpolate a fact into a string, how can I signal the start and end of the fact name? "abc${fact}def"?
[2009/04/07 20:13:49] <eythian> oh, just found that in the docs.
[2009/04/07 20:17:36] @ Quit: egerlach: Read error: 110 (Connection timed out)
[2009/04/07 20:21:34] @ thegcat joined channel #puppet
[2009/04/07 20:21:53] @ kolla joined channel #puppet
[2009/04/07 20:29:57] @ Quit: tuf8_:
[2009/04/07 20:32:09] @ Quit: wakko666: Remote closed the connection
[2009/04/07 20:32:10] @ Quit: gaveen: No route to host
[2009/04/07 20:32:50] @ gaveen joined channel #puppet
[2009/04/07 20:35:05] @ wakko666 joined channel #puppet
[2009/04/07 20:35:40] <eythian> if I do 'require => Service['xyz']', does that require that the service is running?
[2009/04/07 20:37:29] <lak> no
[2009/04/07 20:37:32] <lak> it's just an ordering thing
[2009/04/07 20:37:41] @ Quit: wakko666: Remote closed the connection
[2009/04/07 20:42:58] @ Quit: lak:
[2009/04/07 20:43:39] <eythian> Is there a way to say "only run this if the service is running"?
[2009/04/07 20:44:48] @ Quit: andrewcshafer:
[2009/04/07 20:47:30] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/07 20:51:20] @ Quit: bevans5446:
[2009/04/07 20:55:18] @ Quit: alfism: "Connection reset by beer"
[2009/04/07 20:56:50] @ andrewcshafer joined channel #puppet
[2009/04/07 20:58:44] @ Quit: nigelk:
[2009/04/07 20:59:30] @ Quit: ezmob: "Bye!"
[2009/04/07 21:01:37] @ voixd joined channel #puppet
[2009/04/07 21:09:30] @ maxagaz joined channel #puppet
[2009/04/07 21:17:54] @ Quit: voixd: Read error: 60 (Operation timed out)
[2009/04/07 21:22:44] @ WALoeIII_ joined channel #puppet
[2009/04/07 21:23:21] @ Quit: WALoeIII_: Client Quit
[2009/04/07 21:32:56] @ _lunix_ joined channel #puppet
[2009/04/07 21:33:49] <hacim> what pathing would the development environment use for searching for classes?
[2009/04/07 21:34:08] <hacim> I'm having trouble getting my development environment to recognize an available class
[2009/04/07 21:35:16] @ rdaugherty joined channel #puppet
[2009/04/07 21:35:26] @ rdaugherty left channel #puppet ()
[2009/04/07 21:39:45] @ Quit: WALoeIII: Read error: 113 (No route to host)
[2009/04/07 21:41:45] @ Quit: cd: Read error: 113 (No route to host)
[2009/04/07 21:43:30] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/04/07 21:43:36] @ gaveen_ joined channel #puppet
[2009/04/07 21:46:19] @ bgupta joined channel #puppet
[2009/04/07 21:47:14] @ Quit: thegcat:
[2009/04/07 21:51:07] @ WALoeIII joined channel #puppet
[2009/04/07 22:00:55] @ lak joined channel #puppet
[2009/04/07 22:12:30] @ claymation joined channel #puppet
[2009/04/07 22:18:00] @ nigelk joined channel #puppet
[2009/04/07 22:19:47] @ nigelk_ joined channel #puppet
[2009/04/07 22:19:52] @ Quit: nigelk_: Client Quit
[2009/04/07 22:36:07] @ Quit: andrewcshafer:
[2009/04/07 22:37:38] @ Quit: nigelk: Read error: 110 (Connection timed out)
[2009/04/07 22:38:53] @ andrewcshafer joined channel #puppet
[2009/04/07 22:40:29] @ PhabX joined channel #puppet
[2009/04/07 22:48:38] @ claymation_ joined channel #puppet
[2009/04/07 22:48:38] @ Quit: claymation: Read error: 104 (Connection reset by peer)
[2009/04/07 22:57:41] @ keithlard joined channel #puppet
[2009/04/07 23:09:09] @ markl__ joined channel #puppet
[2009/04/07 23:38:11] @ Quit: andrewcshafer:
[2009/04/07 23:38:42] @ Djelibeybi joined channel #puppet
[2009/04/07 23:42:08] @ Quit: gaveen_: Read error: 110 (Connection timed out)
[2009/04/07 23:42:48] @ gaveen_ joined channel #puppet
[2009/04/07 23:45:13] @ thatch_ joined channel #puppet
[2009/04/07 23:45:22] @ Quit: d3vilb0x:
[2009/04/07 23:46:35] @ andrewcshafer joined channel #puppet
[2009/04/07 23:46:48] @ Quit: Djelibeybi: "Leaving"
[2009/04/07 23:46:56] @ Djelibeybi joined channel #puppet
[2009/04/07 23:50:17] @ Quit: lak:
[2009/04/07 23:57:58] @ Quit: ethan_rowe: "Lack of interest wins out."

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!