Friday, 2008-05-23

[2008/05/23 00:18:03] @ lak joined channel #puppet
[2008/05/23 00:20:18] @ jsgotangco joined channel #puppet
[2008/05/23 00:30:12] @ stevenjenkins joined channel #puppet
[2008/05/23 00:38:33] @ dysinger joined channel #puppet
[2008/05/23 00:40:25] <Demosthenes> i just noticed that if you don't specify a minute in a cron job, that it doesn't default....
[2008/05/23 00:40:42] <Demosthenes> i had a cron job i thought i setup for every other hour, and because minute was omitted, it was every other minute ;]
[2008/05/23 00:42:58] @ keithlard joined channel #puppet
[2008/05/23 00:48:02] <jamesturnbull> Llama: very easy to extend the provider though I guess I'd wonder why yum erase ... wasn't used? lutter might know...?
[2008/05/23 00:48:36] <jamesturnbull> lak: ping - want to schedule another conf call to discuss dev process at some point?
[2008/05/23 00:48:44] <lak> yes, definitely
[2008/05/23 00:48:56] <lak> but it will have to be this weekend or next week
[2008/05/23 00:49:03] <lak> i'm still in san antonio
[2008/05/23 00:49:06] <jamesturnbull> lak: next week is better for me
[2008/05/23 00:49:10] <lak> which is why i haven't dealt with all of those test failures
[2008/05/23 00:49:20] <lak> which i'll do as soon as i can, but won't be right away
[2008/05/23 00:49:25] <jamesturnbull> lak: yeah - we need a consistent approach to that
[2008/05/23 00:49:37] <jamesturnbull> currently messy
[2008/05/23 00:50:00] <jamesturnbull> I like ec2 as an option but I keep thinking "why pay..."
[2008/05/23 00:50:25] @ tim|macbook joined channel #puppet
[2008/05/23 00:52:21] <jamesturnbull> hmmm how does one merge and maintain git log entries
[2008/05/23 00:54:12] <jamesturnbull> ah I see
[2008/05/23 00:58:09] @ martha joined channel #puppet
[2008/05/23 00:59:54] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/23 01:00:20] @ Quit: tim|mb: Read error: 110 (Connection timed out)
[2008/05/23 01:01:26] <jamesturnbull> lak: "Could not find default provider for user" - that seems to represent the error for about oh 100% of my test failures in 0.24.x
[2008/05/23 01:01:34] <lak> awesome
[2008/05/23 01:01:35] <ashp> Hmm later on I must find a good way to force a certain exec{} to always run before everything else on the machine
[2008/05/23 01:01:54] <ashp> I need to say before => Package[*], really.
[2008/05/23 01:03:32] <jamesturnbull> lak: all patches including that last catalog.rb commit are pushed too
[2008/05/23 01:06:04] <jamesturnbull> lak: though for some reason I can't see your commit message and just get a merge msg
[2008/05/23 01:06:13] <lak> huh
[2008/05/23 01:06:51] <jamesturnbull> lak: oh wait me stupid
[2008/05/23 01:07:08] <jamesturnbull> lak: the log is this little thing called "chronological"
[2008/05/23 01:07:19] <jamesturnbull> lak: and my patches on top of your patches
[2008/05/23 01:08:05] * jamesturnbull hits head on keyboard
[2008/05/23 01:08:27] <Volcane> ashp: yeah it would be way kewl to ensure some class runs first on the machine before anything else
[2008/05/23 01:08:37] <ashp> I take it that there's no way to call require or before or anything with *
[2008/05/23 01:08:45] <ashp> if before even exists
[2008/05/23 01:09:04] <ashp> volcane: It's supposed to do the rhn_reg in kickstart, but it never seems to work right
[2008/05/23 01:09:12] <jamesturnbull> ashp: hmmm just pondering a way to do that now
[2008/05/23 01:09:20] <ashp> Volcane: I just need to be able to set a dependency where I say 'before any package is installed, ensure this exec ran'
[2008/05/23 01:09:27] <ashp> Or at least, before any package install check this file exists
[2008/05/23 01:09:45] <ashp> jamesturnbull: I've been campaigning for unless/onlyif to become metaparams for a while
[2008/05/23 01:10:06] <ashp> jamesturnbull: then you could do Package{ onlyif=> "ls /etc/sysconfig/whateverrhnputshere" }
[2008/05/23 01:10:08] <Volcane> ashp: define mypackage and use that to instlal all packages, making a require in there. then at least its once, or set a default with Package{ require => .... } or something
[2008/05/23 01:10:09] <ashp> it's ugly but functional :)
[2008/05/23 01:10:24] <Volcane> but would be nice to have the option to say run this before anything else
[2008/05/23 01:10:25] <jamesturnbull> ashp: Package { require => "blah" }
[2008/05/23 01:10:45] <ashp> jamesturnbull: I'm just not sure a/ if that'll work and b/ where I'd put it
[2008/05/23 01:10:58] <ashp> the exec that does rhn_reg does a onlyif to check if the file is missing
[2008/05/23 01:11:09] <ashp> so on each run if it's already registered it won't run the exec and the require will fail (I think)
[2008/05/23 01:11:19] <ashp> I'm not actually sure if that happens or if the dep is still met even if the exec doesn't trigger
[2008/05/23 01:11:57] <jamesturnbull> ashp: hmm maybe refacter the check to approach that differently - if blah then continue if not then action
[2008/05/23 01:12:51] <ashp> The trouble is logically I only ever want to run the register command once, and there's not a way to structure that so that the exec runs every time to meet the needs of the test
[2008/05/23 01:13:04] <ashp> however, this assumes that the exec{} has to run, not just be evaluated
[2008/05/23 01:13:05] <jamesturnbull> ashp: I haven't tried it but one figures in the top level scope that this would affect all classes below but I guess a test is your friend
[2008/05/23 01:13:22] <ashp> It may be that doing a require => is enough, even if the exec decides not to trigger
[2008/05/23 01:13:27] <ashp> because the one time you actually need it, it'll run first
[2008/05/23 01:13:39] <ashp> I guess logically I just need to test it and find out the hard way
[2008/05/23 01:13:41] <jamesturnbull> ashp: yeah that's my thought
[2008/05/23 01:15:46] * Volcane requires stuff with creates in exec's and they satisfy always even when it doesnt run cos whatever has previously been created
[2008/05/23 01:15:49] @ shenson is now known as shenson_not_here
[2008/05/23 01:17:00] <ashp> ahhh, fantastic
[2008/05/23 01:18:11] <Volcane> though i cant find my example now *thinks*
[2008/05/23 01:18:28] @ shenson_not_here is now known as shenson
[2008/05/23 01:18:31] <jamesturnbull> Volcane: nice - yeah that's the right approach
[2008/05/23 01:19:08] @ Llama left channel #puppet ("ÏÐÁÎØËÉ...")
[2008/05/23 01:19:16] <jamesturnbull> Volcane: I had totally forgotten about the "creates" option
[2008/05/23 01:19:32] @ shake-n-bake joined channel #puppet
[2008/05/23 01:19:37] <Volcane> oh yes
[2008/05/23 01:19:59] <Volcane> exec{"/usr/sbin/update-rc.d iptables defaults": creates => "/etc/rc3.d/S20iptables", require => [ File["/etc/init.d/iptables"], File["/etc/default/iptables"] ] }
[2008/05/23 01:20:02] <jamesturnbull> you could almost assume whoever wrote the types had a clue... :)
[2008/05/23 01:20:12] <Volcane> enables the iptables service, only if not enabled already
[2008/05/23 01:21:15] <Volcane> jamesturnbull: yip,i was very impressed :)
[2008/05/23 01:21:40] <ashp> I have lots of requires and onlyif's and fancy things
[2008/05/23 01:21:59] <ashp> It was very useful as for mysql I can just do unless => ls /var/lib/mysql/databasename, and only create it if that's missing
[2008/05/23 01:24:37] @ donkdonk joined channel #puppet
[2008/05/23 01:25:04] <jamesturnbull> ashp: if it works you might try adding that to the FAQ with Volcane's example - "How do I run one resource before all others resources or types of resources" or something more elegant
[2008/05/23 01:25:18] @ brscott joined channel #puppet
[2008/05/23 01:25:22] @ brscott left channel #puppet ()
[2008/05/23 01:25:37] <donkdonk> anyone know of a way to do some kind of sanity check to verify your puppet config works before the clients update?
[2008/05/23 01:26:14] <Volcane> you can syntax check
[2008/05/23 01:26:22] <Volcane> but that doesnt help with bogus logic :)
[2008/05/23 01:26:40] <Volcane> best is to use environments and have a dev box
[2008/05/23 01:27:37] <donkdonk> how would i do a syntax check?
[2008/05/23 01:27:46] <ashp> Running puppet on a fresh build is depressing
[2008/05/23 01:27:54] <ashp> it exposes all my mistakes in depedencies
[2008/05/23 01:28:45] <Volcane> ashp: yeah nothing like having to run it 5 times cos you're too lazy to build a proper dependency tree hehe, especially hard if you use modules and wish to make them fully portable
[2008/05/23 01:28:51] <ashp> Mostly it's just packages
[2008/05/23 01:29:06] <ashp> missing deps on my custom repo or it not autoregging to rhn
[2008/05/23 01:29:12] <ashp> so then it fails to get a few packages and melts down
[2008/05/23 01:29:14] <Volcane> ashp: like, do you want to depend on Package["apache2"] in a module? what if thats to run on a redhat box? what if someone does not wish to manage his apache package with puppet etc
[2008/05/23 01:29:27] <jamesturnbull> donkdonk: wiki:VersionControlPuppet
[2008/05/23 01:29:29] <gepetto> jamesturnbull: donkdonk: wiki:VersionControlPuppet is http://reductivelabs.com/trac/puppet/wiki/VersionControlPuppet
[2008/05/23 01:29:31] <ashp> I don't think you can truely make them portable
[2008/05/23 01:29:32] <ashp> just mostly
[2008/05/23 01:29:36] <Volcane> ashp: i agree
[2008/05/23 01:30:17] <jamesturnbull> donkdonk: and wiki:ConfigurationReference and check for --parseonly
[2008/05/23 01:30:27] <gepetto> jamesturnbull: donkdonk: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference
[2008/05/23 01:30:38] <Volcane> i guess you can also run noop on a real box and see what it owuld have changed?
[2008/05/23 01:31:14] <jamesturnbull> Volcane: yeah that's another approach
[2008/05/23 01:31:20] <jamesturnbull> donkdonk: see same page --noop
[2008/05/23 01:31:38] <ashp> argh it's DOING IT AGAIN
[2008/05/23 01:31:41] <jamesturnbull> Volcane: in reality it's probably worth doing both
[2008/05/23 01:31:44] <ashp> for some reason setting a gateway
[2008/05/23 01:31:48] <ashp> doesn't work when I restart my network interfaces
[2008/05/23 01:31:49] <Volcane> and i think, though i really might be remember wrong now, theres an option to show you diffs of what its changing/would change
[2008/05/23 01:32:03] @ sigmonsays-afk is now known as sigmonsays
[2008/05/23 01:32:22] @ Quit: Demosthenes: "Lost terminal"
[2008/05/23 01:32:35] <jamesturnbull> Volcane: there is an option
[2008/05/23 01:32:44] @ Quit: lak:
[2008/05/23 01:32:46] <donkdonk> thanks
[2008/05/23 01:33:01] <ashp> For some reason RHEL has taken to ignoring my GATEWAY= line in /etc/sysconfig/network
[2008/05/23 01:33:22] <jamesturnbull> Volcane: it's on my default I think but you only compare files - and you can control how it diffs - see --diff and --diff_args
[2008/05/23 01:33:52] <Volcane> jamesturnbull: ah sweet, I'm not going mad then :)
[2008/05/23 01:35:15] @ Quit: |Innocenti|: Read error: 110 (Connection timed out)
[2008/05/23 01:43:28] @ andrewcshafer joined channel #puppet
[2008/05/23 01:43:30] @ LittleIdea joined channel #puppet
[2008/05/23 01:44:12] <sigmonsays> is there a pattern option or some way to skip filenames in a recurse => true copy using the file resource?
[2008/05/23 01:49:37] @ Quit: jsgotangco: Read error: 110 (Connection timed out)
[2008/05/23 01:53:34] <sigmonsays> I suck. I found it
[2008/05/23 01:54:20] <jamesturnbull> sigmonsays: ah sorry - recurse shoul;d take a regex from memory
[2008/05/23 01:56:29] @ Demosthenes joined channel #puppet
[2008/05/23 01:56:37] <sigmonsays> i'm onto my next problem by now jamesturnbull (-:
[2008/05/23 01:57:08] <jamesturnbull> sigmonsays: can you pastie how you used that selective recurse and I;ll wrap an FAQ around it
[2008/05/23 01:57:23] <jamesturnbull> sigmonsays: it's a question we should have answered... ;)
[2008/05/23 01:57:45] <sigmonsays> well it's there actualy
[2008/05/23 01:57:53] <sigmonsays> in the form of ignore =>
[2008/05/23 01:58:58] <jamesturnbull> sigmonsays: oh yes - that would work too
[2008/05/23 02:00:22] <sigmonsays> however, i'm seeing a really strange error (i think)
[2008/05/23 02:00:32] <sigmonsays> warning: //Node[www202]/www_server/File[/home/scripts/rsync_ams.sh]/ensure: No specified sources exist
[2008/05/23 02:01:05] <sigmonsays> *but* this message is being generated as the result of a file { "/home/scripts" : recurse => true } etc
[2008/05/23 02:01:19] <sigmonsays> the files exist too!
[2008/05/23 02:01:58] <jamesturnbull> sigmonsays: version?
[2008/05/23 02:02:22] <sigmonsays> 0.24.4
[2008/05/23 02:02:36] <sigmonsays> packaged myself using the spec file in the source tree
[2008/05/23 02:03:11] <jamesturnbull> sigmonsays: what;s your source?
[2008/05/23 02:03:41] <jamesturnbull> sigmonsays: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how-can-i-manage-whole-directories-of-files-without-explicitly-listing-the-files
[2008/05/23 02:04:07] <sigmonsays> nice. i'll read this
[2008/05/23 02:04:52] <sigmonsays> hmm.. seems specific to making a directory purge
[2008/05/23 02:05:15] <sigmonsays> this is my resource, http://rafb.net/p/sGBSY740.html
[2008/05/23 02:08:15] @ Quit: tim|macbook: "This computer has gone to sleep"
[2008/05/23 02:08:31] @ Quit: Demosthenes: "Lost terminal"
[2008/05/23 02:08:45] <jamesturnbull> sigmonsays: remove the ensure but that should work
[2008/05/23 02:09:04] <sigmonsays> yah I wasn't sure if I needed ensure => directory
[2008/05/23 02:09:18] <sigmonsays> I don't need ensure at all?
[2008/05/23 02:10:16] <jamesturnbull> sigmonsays: should not - the example in the FAQ should work fine
[2008/05/23 02:10:51] @ Demosthenes joined channel #puppet
[2008/05/23 02:11:11] <sigmonsays> seems it had something to do with my ignore => ".svn"
[2008/05/23 02:11:16] <stick> so is there a general way to make all of my rhel4/centos4 boxes use yum as the package provider or would I have to conditionalize the provider on each package type?
[2008/05/23 02:11:46] <sigmonsays> stick, yah, put it in a general config or site.pp
[2008/05/23 02:12:00] <sigmonsays> Package { provider => yum }
[2008/05/23 02:12:06] * sigmonsays does the same thing
[2008/05/23 02:12:10] <stick> ahh sweet
[2008/05/23 02:12:16] * stick forgot about resource defaults
[2008/05/23 02:14:00] @ Quit: exodos: "leaving"
[2008/05/23 02:15:45] <jamesturnbull> alright far too late here - night all
[2008/05/23 02:15:50] <sigmonsays> nigt
[2008/05/23 02:22:46] <thegcat> jamesturnbull: well, I had some typos I found in your book, but I'll save them, good night :-)
[2008/05/23 02:23:14] @ pleemans joined channel #puppet
[2008/05/23 02:23:34] <sigmonsays> thegcat, which book?
[2008/05/23 02:24:04] <thegcat> Pulling Strings with Puppet
[2008/05/23 02:24:32] <sigmonsays> great title. How is it going to be released?
[2008/05/23 02:24:53] <ashp> I'm waiting for james to write me a Puppet Internals book :)
[2008/05/23 02:26:05] <thegcat> sigmonsays: it's out already
[2008/05/23 02:26:34] @ Quit: DerekW: "Leaving"
[2008/05/23 02:26:53] <thegcat> you can grab it either as an ebook (apress.com I think) or as a "dead trees" book on amazon or wherever
[2008/05/23 02:28:46] <sigmonsays> nice. I'll give it a look
[2008/05/23 02:28:46] @ Quit: glaw:
[2008/05/23 02:28:52] <sigmonsays> unfortunately, I like dead tress
[2008/05/23 02:32:05] @ donkdonk left channel #puppet ()
[2008/05/23 02:32:11] <thegcat> I have dead trees too, still found nothing that beats them for 10-15 min bus trips :-P
[2008/05/23 02:32:16] <jamesturnbull> thegcat: wiki:PuppetBookErrata
[2008/05/23 02:32:19] <gepetto> jamesturnbull: thegcat: wiki:PuppetBookErrata is http://reductivelabs.com/trac/puppet/wiki/PuppetBookErrata
[2008/05/23 02:32:26] <thegcat> jamesturnbull:
[2008/05/23 02:32:33] <thegcat> ah, stupid client
[2008/05/23 02:32:40] <thegcat> anyway, I'll have a look :-)
[2008/05/23 02:32:51] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/05/23 02:37:54] @ stevenjenkins left channel #puppet ()
[2008/05/23 02:40:39] @ greenmoss joined channel #puppet
[2008/05/23 02:40:51] <greenmoss> anyone managing firewall rules?
[2008/05/23 02:40:56] <sigmonsays> i've discovered a strange bug here
[2008/05/23 02:41:07] <sigmonsays> geenmoss, I remember seeing something in the wiki about this
[2008/05/23 02:41:35] <sigmonsays> http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleIptables
[2008/05/23 02:41:47] <greenmoss> sigmonsays: ok, let me have a look... I searched specifically for "firehol", which is what I've used in the past
[2008/05/23 02:42:27] <ashp> i wish that rhel wasn't so fragile at registering :/
[2008/05/23 02:42:46] <greenmoss> seems a "firewall" would be a good general-purpose admin abstraction, such as "users"
[2008/05/23 02:43:25] <sigmonsays> greenmoss, sorta. I don't have any experience w/ it but I assume everyone wants to do things a "little differently"
[2008/05/23 02:43:37] <greenmoss> actually, I did encounter that recipe already
[2008/05/23 02:43:44] <sigmonsays> what's wrong with ti?
[2008/05/23 02:43:58] <greenmoss> nothing, probably... I'm just used to firehol :)
[2008/05/23 02:44:09] <sigmonsays> ;)
[2008/05/23 02:44:17] <sigmonsays> well it'd be a great recipe to share if you decide to use it
[2008/05/23 02:44:23] <gepetto> ::puppet:: Puppet Book Errata edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetBookErrata (by james@lovedthanlost.net)
[2008/05/23 02:45:10] <sigmonsays> greenmoss, wow. firehol does look slick
[2008/05/23 02:45:31] <greenmoss> yeah, I really like how its rules are very readable
[2008/05/23 02:46:10] <sigmonsays> i'm old skool. I still rock iptables bash scripts
[2008/05/23 02:46:14] <greenmoss> if I could preserve that, and manage it through puppet, *and* make use of the "roll back changes if you can no longer connect" functionality, it would be ideal
[2008/05/23 02:46:50] <ashp> Hmm, I wonder if modifying file() to chomp the newline would break functionality for other people
[2008/05/23 02:47:00] <ashp> I mostly just use file to do $password = file("blah")
[2008/05/23 02:47:04] <ashp> and i keep forgetting to strip newlines
[2008/05/23 02:48:03] <sigmonsays> ashp, sounds bad to me :)
[2008/05/23 02:48:45] @ randybias joined channel #puppet
[2008/05/23 02:49:06] <ashp> sigmonsays: It's nice because I can keep all my passwords seperately, but my other admin is never going to remember to echo -n everything
[2008/05/23 02:52:51] @ Quit: kolla: Read error: 110 (Connection timed out)
[2008/05/23 02:57:46] @ Quit: mikepea: Read error: 113 (No route to host)
[2008/05/23 03:03:12] <ashp> sometimes I wish puppet could have some kind of AI that made it smarter
[2008/05/23 03:03:21] <ashp> so it would say 'hey rake? I better install this rubygems-rake' package before running that
[2008/05/23 03:03:39] <ashp> I know it's just because my dependencies aren't correct, but I wish it could work it out for me. :)
[2008/05/23 03:05:15] @ kolla joined channel #puppet
[2008/05/23 03:08:22] <sigmonsays> ashp, yeah. it'd be sweet :)
[2008/05/23 03:08:33] <ashp> sigmonsays: 'Do what I want, not what I said!'
[2008/05/23 03:12:22] @ shenson is now known as shenson_not_here
[2008/05/23 03:13:11] <thegcat> on the other hand, if computers become smart enough to mend themselves, what work would be left for us?
[2008/05/23 03:13:46] <anarcat> ashp: 'call that AI?
[2008/05/23 03:13:55] <anarcat> that's just dependency management, APT can do that
[2008/05/23 03:14:16] <ashp> true, but when I'm doing exec{} random statements I guess it's asking a bit much for it to guess what other packages I need
[2008/05/23 03:14:26] <anarcat> even
[2008/05/23 03:14:40] @ shenson_not_here is now known as shenson
[2008/05/23 03:14:43] @ BarnacleBob joined channel #puppet
[2008/05/23 03:22:36] <sigmonsays> ashp, not unfeasible actually
[2008/05/23 03:23:55] <sigmonsays> it'd definitely be too intense to do on the fly though :)
[2008/05/23 03:24:35] <sigmonsays> yum whatprovides /usr/bin/updatedb => yeilds Package["blah"]
[2008/05/23 03:26:30] @ greenmoss left channel #puppet ()
[2008/05/23 03:26:31] @ Quit: randybias:
[2008/05/23 03:29:25] <ashp> Hmm, I wonder what package I managed to mess up.
[2008/05/23 03:29:36] <ashp> Could not find RubyGem gem_plugin
[2008/05/23 03:29:39] <ashp> I wonder which that is!
[2008/05/23 03:34:49] @ plathrop joined channel #puppet
[2008/05/23 03:37:40] <thegcat> anyone here working with OpenSuSE and SLES?
[2008/05/23 03:38:49] @ Quit: sparanjape: "Hard work pays off in the future, laziness pays off now"
[2008/05/23 03:44:34] <gepetto> ::puppet:: Ticket #1245 (defect closed): "Global resource removal is deprecated" makes tests fail @ http://reductivelabs.com/trac/puppet/ticket/1245#comment:6 (by paul@tertiusfamily.net)
[2008/05/23 03:50:29] <gepetto> ::puppet:: Ticket #1246 (defect closed): Puppet::Util::Storage test fails @ http://reductivelabs.com/trac/puppet/ticket/1246#comment:5 (by paul@tertiusfamily.net)
[2008/05/23 03:50:58] @ e^ipi joined channel #puppet
[2008/05/23 03:51:03] <e^ipi> heya
[2008/05/23 03:51:24] <e^ipi> is there a gem module for puppet
[2008/05/23 03:51:38] @ diggyk joined channel #puppet
[2008/05/23 03:51:45] <e^ipi> id est, i'm looking to use puppet to install rubygems like how packages are installed
[2008/05/23 03:52:36] <diggyk> Anyone here have magic powers to get the unified diff or zip archive download links working on the http://reductivelabs.com/trac/puppet/changeset/3718b64 page?
[2008/05/23 03:52:44] @ [newbie] joined channel #puppet
[2008/05/23 03:52:45] <ashp> Let me tell you something, e^ipi
[2008/05/23 03:52:49] <ashp> I recommend you just use gem2rpm or something
[2008/05/23 03:52:58] <ashp> because I'm busy installing like a dozen gems and it's HORRIBLE using just puppet
[2008/05/23 03:53:05] <e^ipi> okiedokie
[2008/05/23 03:53:07] <ashp> package{} supports gems, but not very well
[2008/05/23 03:53:14] <ashp> as it can't distinguish which to install if there's more than one
[2008/05/23 03:53:18] <ashp> you just set provider => gem
[2008/05/23 03:53:18] <e^ipi> i don't really care /how/ i get mongrel installed
[2008/05/23 03:53:31] <ashp> well you can try doing
[2008/05/23 03:53:41] <ashp> package { "package-version": provider => gem }
[2008/05/23 03:53:43] <e^ipi> except not through apt, because it's evidently broken
[2008/05/23 03:53:49] <ashp> but personally I just used gem2rpm and made rpms as I use rhel :)
[2008/05/23 03:55:07] <e^ipi> there's probably a gem2deb too
[2008/05/23 03:55:25] <ashp> I'd hope so
[2008/05/23 03:55:55] @ Quit: [newbie]: Client Quit
[2008/05/23 03:57:54] <gepetto> ::puppet:: Ticket #1251 (defect closed): Unit tests for storage.rb are broken when run against master branch. @ http://reductivelabs.com/trac/puppet/ticket/1251#comment:5 (by james@lovedthanlost.net)
[2008/05/23 03:58:49] <ashp> I think I may (famous last words) have finally worked out the last dependency issue for iclassify, finally.
[2008/05/23 03:58:55] <ashp> If this run works and sets up from scratch, I'm done
[2008/05/23 03:59:01] <e^ipi> what /is/ iclassify anyways?
[2008/05/23 03:59:06] <ashp> It's an external node database
[2008/05/23 03:59:17] <e^ipi> useful for ?
[2008/05/23 03:59:19] <ashp> It's a real bitch to setup, I just wrote a module for RHEL that'll set the entire thing up from scratch
[2008/05/23 03:59:23] <jamesturnbull> plathrop: you about?
[2008/05/23 03:59:30] <ashp> You hook it into puppet and you can do calls from ruby/templates into iclassify
[2008/05/23 03:59:37] <ashp> so you can check for tags and facts and stuff via it
[2008/05/23 03:59:39] <plathrop> jamesturnbull: YEah. What did I break?
[2008/05/23 04:00:05] <jamesturnbull> plathrop: merge cnflict in spec/unit/util/storage.rb
[2008/05/23 04:00:17] <jamesturnbull> plathrop: did you indeed before do or before(:each) do
[2008/05/23 04:00:32] <jamesturnbull> plathrop: the specific commit is 55e51f1fef74fb6a83f29ff2f84c670cc36e4275
[2008/05/23 04:01:28] <plathrop> jamesturnbull: Let me check... I was afraid I'd run into this :-)
[2008/05/23 04:03:29] <plathrop> jamesturnbull: before(:each) is the correct one.
[2008/05/23 04:05:51] @ diggyk left channel #puppet ()
[2008/05/23 04:07:23] <jamesturnbull> plathrop: argh confused
[2008/05/23 04:07:33] <BarnacleBob> anyone used the native nagios types? i'm having trouble using nagios_host{"foobar": contact_groups=>"operations"}
[2008/05/23 04:07:43] <plathrop> jamesturnbull: I'm sorry.
[2008/05/23 04:07:47] <jamesturnbull> pastie: url me
[2008/05/23 04:07:50] <plathrop> jamesturnbull: I think I made a mess of the patches
[2008/05/23 04:07:52] <plathrop> My bad
[2008/05/23 04:07:57] <BarnacleBob> docs say its a property, nagios knows its a property, when i run puppet it says its not a property
[2008/05/23 04:08:14] <jamesturnbull> plathrop: can you pull and rebase?
[2008/05/23 04:08:33] <plathrop> jamesturnbull: Sure, if you can talk me through it.
[2008/05/23 04:09:19] <plathrop> jamesturnbull: I'm still learning git.
[2008/05/23 04:09:48] <plathrop> jamesturnbull: I probably should have fixed these all in one branch, huh?
[2008/05/23 04:10:04] <jamesturnbull> plathrop: all you do is pull from my github repo and update your patches aganst the current 0.24.x branch
[2008/05/23 04:10:22] <plathrop> jamesturnbull: Okay, hold on a sec
[2008/05/23 04:11:29] <plathrop> So, on the branch that has that commit, I do a git rebase turnbull/0.24.x ?
[2008/05/23 04:13:07] <jamesturnbull> plathrop: ummm
[2008/05/23 04:13:33] <plathrop> jamesturnbull: That seems to have worked... hold on
[2008/05/23 04:13:51] <jamesturnbull> plathrop: okay you know that the 0.24.x in my github repo is now the master branch for 0.24.x right?
[2008/05/23 04:14:01] <jamesturnbull> plathrop: oh good
[2008/05/23 04:14:02] <gepetto> ::puppet:: Ticket #1233 (task closed): Add Rspec tests for util/warnings.rb @ http://reductivelabs.com/trac/puppet/ticket/1233#comment:11 (by james@lovedthanlost.net)
[2008/05/23 04:14:37] <plathrop> jamesturnbull: I actually didn't know that. I was still using the "official" 0.24.x repo.
[2008/05/23 04:16:50] <jamesturnbull> plathrop: yeah Luke sent an email but obviously we've missed a little
[2008/05/23 04:18:32] <plathrop> jamesturnbull: Okay, I've rebased. commit 66a8ffafee81ffaa54da64e67996020fddb8f353 of branch fix-1255 of my github repo
[2008/05/23 04:19:12] <plathrop> jamesturnbull: You may need me to do that on a couple things, just let me know as you run into them.
[2008/05/23 04:20:49] <benp-> BarnacleBob: i use the nagios types..
[2008/05/23 04:20:55] <jamesturnbull> plathrop: pushed
[2008/05/23 04:21:07] <ashp> puppet is victimising me now, refusing to add only my user :)
[2008/05/23 04:21:28] <plathrop> jamesturnbull: And Luke merges your 0.24.x into master from time-to-time?
[2008/05/23 04:21:43] <benp-> BarnacleBob: can you your broken code in the pastie?
[2008/05/23 04:21:46] <benp-> put
[2008/05/23 04:21:53] <BarnacleBob> sure benp-
[2008/05/23 04:23:32] <benp-> also it may help to delete your nagios config files and let puppet recreate them. if naginator can't parse them, the whole thing will fail and probably won't give a very useful error message. at least, that was my experience
[2008/05/23 04:23:58] <BarnacleBob> yeah i tried that a couple times
[2008/05/23 04:24:15] <BarnacleBob> http://pastie.caboo.se/201680
[2008/05/23 04:25:00] <gepetto> ::puppet:: Ticket #1255 (defect closed): Broken unit tests in branch 0.24.x when running as root on OSX 10.5 @ http://reductivelabs.com/trac/puppet/ticket/1255#comment:4 (by james@lovedthanlost.net)
[2008/05/23 04:25:08] <BarnacleBob> wait a minute
[2008/05/23 04:25:13] <BarnacleBob> oh yeah
[2008/05/23 04:25:17] <BarnacleBob> thats the code
[2008/05/23 04:26:02] @ Quit: Zothar_Work: "ChatZilla 0.9.82.1 [Firefox 2.0.0.14/2008040414]"
[2008/05/23 04:26:23] <jamesturnbull> plathrop: yeah the process isn't finalised yet
[2008/05/23 04:26:46] <jamesturnbull> plathrop: I am discussing on a conf call with Luke next week if you want to join in and contrib
[2008/05/23 04:28:32] <gepetto> ::puppet:: Developer Repositories edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DeveloperRepositories (by james@lovedthanlost.net)
[2008/05/23 04:28:45] <benp-> BarnacleBob: 0.24.4 right? i think you need to apply a patch to external/nagios/base.rb
[2008/05/23 04:28:47] <plathrop> jamesturnbull: Looks like my #1253 fix is screwed up too. I reassigned to me.
[2008/05/23 04:28:49] <gepetto> plathrop: jamesturnbull: #1253 is http://reductivelabs.com/trac/puppet/ticket/1253 "http_pool unit tests broken when run against master branch"
[2008/05/23 04:29:04] <jamesturnbull> plathrop: so we're up-to-date on all the test tickets for 0.24.x thusfar?
[2008/05/23 04:29:09] <BarnacleBob> benp-, yeah its 24.4 have a link to the patch? and is it on server or client?
[2008/05/23 04:29:26] <plathrop> jamesturnbull: Yeah, all the ones I made, that are ready for you, you've merged.
[2008/05/23 04:29:48] <sigmonsays> if I run 5 machines against puppetmasterd at once, it crashes half way through
[2008/05/23 04:29:55] <benp-> BarnacleBob: on server.. you'll have to restart the server after. shadoi wrote it but i don't know where to find it. i'll put my base.rb in the pastie, hang on
[2008/05/23 04:29:57] <jamesturnbull> plathrop: and note - I am ignoring master patches at the moment so you need to assign me the ticket if you want to push it and mark it as going into the 0.24.x branch
[2008/05/23 04:30:08] <BarnacleBob> k thanks benp-
[2008/05/23 04:30:33] <sigmonsays> anyone have any insight on this?
[2008/05/23 04:30:54] <plathrop> jamesturnbull: Gotcha. As soon as I fix #1253 to be against your 0.24.x I'll do that
[2008/05/23 04:30:56] <gepetto> plathrop: jamesturnbull: #1253 is http://reductivelabs.com/trac/puppet/ticket/1253 "http_pool unit tests broken when run against master branch"
[2008/05/23 04:30:56] <jamesturnbull> sigmonsays: errors? trace?
[2008/05/23 04:30:57] <benp-> BarnacleBob: im pretty sure i made some changes too, after applying shadoi's patch
[2008/05/23 04:30:58] <Volcane> sigmonsays: how does it crash? puppetmasterd dies? connection dies?
[2008/05/23 04:31:20] <benp-> pastie: url plskthx
[2008/05/23 04:31:30] <sigmonsays> puppetmasterd dies. disappears and doesn't write to a log
[2008/05/23 04:31:37] <BarnacleBob> benp-, well at least i can diff against mine and see what could be it. thanks for the help. i'll try and track down shadoi later
[2008/05/23 04:31:49] <pastie> http://pastie.org/201688 by benp-.
[2008/05/23 04:32:10] <benp-> im sure the fixes will be in 0.24.5
[2008/05/23 04:32:45] <BarnacleBob> just reinstalled my entire 100 server network. no monitoring waiting for this :)
[2008/05/23 04:33:19] @ lak joined channel #puppet
[2008/05/23 04:33:46] <jamesturnbull> sigmonsays: and you've run it with --trace and --verbose and --debug
[2008/05/23 04:34:10] <benp-> BarnacleBob: are you planning to use export/collect with in your nagios module?
[2008/05/23 04:34:36] <sigmonsays> jamesturnbull, I will now!
[2008/05/23 04:34:58] <BarnacleBob> benp-, not sure what that is. just going to run one server using nrpe checks
[2008/05/23 04:37:49] <benp-> BarnacleBob: it's a bit tricky to explain but the result would be hosts and service checks "automatically" added to nagios, eg: include webserver on a node could add a check_http to nagios
[2008/05/23 04:38:51] <BarnacleBob> yeah i want to do that eventually, but right now i just need to get it up. so i'm going to structure it like you saw in my paste
[2008/05/23 04:39:26] <ashp> Hmm, anyone else using iclassify around?
[2008/05/23 04:39:31] <ashp> I need to steal a file that seems to be missing for me
[2008/05/23 04:40:26] <plathrop> jamesturnbull: Reopen #1233 for me? Go ahead and assign back to me? I messed something up there.
[2008/05/23 04:40:29] <gepetto> plathrop: jamesturnbull: #1233 is http://reductivelabs.com/trac/puppet/ticket/1233 "Add Rspec tests for util/warnings.rb"
[2008/05/23 04:41:06] <jamesturnbull> plathrop: done
[2008/05/23 04:41:09] <plathrop> thanks
[2008/05/23 04:42:01] <jamesturnbull> plathrop: I don't get an error from that...?
[2008/05/23 04:42:36] <benp-> fuck, stupid fire drill in the office building
[2008/05/23 04:43:00] <plathrop> jamesturnbull: I'm looking at it now. I got an error...
[2008/05/23 04:43:14] <jamesturnbull> plathrop: cool
[2008/05/23 04:43:28] <jamesturnbull> pastie: url me
[2008/05/23 04:43:35] <plathrop> jamesturnbull: Yeah I get errors. It looks like something didn't get included...
[2008/05/23 04:43:43] <pastie> http://pastie.org/201699 by jamesturnbull.
[2008/05/23 04:44:03] <jamesturnbull> plathrop: that one of yours?
[2008/05/23 04:44:12] <jamesturnbull> plathrop: ^^^^^
[2008/05/23 04:44:13] <gepetto> ::puppet:: Ticket #1233 (task reopened): Add Rspec tests for util/warnings.rb @ http://reductivelabs.com/trac/puppet/ticket/1233#comment:12 (by james@lovedthanlost.net)
[2008/05/23 04:44:50] <plathrop> jamesturnbull: Nope, not me :-)
[2008/05/23 04:46:33] <sigmonsays> great, I can't get it to happen in debug mode!
[2008/05/23 04:47:20] <sigmonsays> guess i'll run with those flags for a while
[2008/05/23 04:47:35] <jamesturnbull> plathrop: crapola
[2008/05/23 04:47:47] @ Innocenti joined channel #puppet
[2008/05/23 04:48:03] <jamesturnbull> lak: http://pastie.org/201699
[2008/05/23 04:48:06] @ nigelk joined channel #puppet
[2008/05/23 04:48:36] <lak> i can't really deal with it right now, sorry :/
[2008/05/23 04:48:48] <lak> i want to go through all of the tests and stuff, but i'm on a short lunch break from the client
[2008/05/23 04:48:59] <lak> i *might* hit some of them tonight, but more likely this weekend
[2008/05/23 04:50:24] <jamesturnbull> lak: no worries mate
[2008/05/23 04:51:54] <sigmonsays> jamesturnbull, so.. I see a gap in my logs
[2008/05/23 04:52:26] @ Quit: Innocenti: Remote closed the connection
[2008/05/23 04:52:31] <gepetto> ::puppet:: Ticket #1253 (defect closed): http_pool unit tests broken when run against master branch @ http://reductivelabs.com/trac/puppet/ticket/1253#comment:6 (by james@lovedthanlost.net)[2008/05/23 04:52:31] <sigmonsays> doesn't seem it logged a trace. Where would puppetmasterd do this?
[2008/05/23 04:52:41] @ Innocenti joined channel #puppet
[2008/05/23 04:53:20] <jamesturnbull> sigmonsays: what sort of gap?
[2008/05/23 04:53:40] <sigmonsays> lemme paste it. I foudn this is masterhttp.log
[2008/05/23 04:54:10] <holaway> ashp: whats the missing file?
[2008/05/23 04:54:29] <sigmonsays> that's what happens when it crashes: http://rafb.net/p/ECP11W98.html
[2008/05/23 04:54:37] <plathrop> lak: Congrats/sorry for your busyness :-)
[2008/05/23 04:54:39] <BarnacleBob> hi sigmonsays
[2008/05/23 04:54:54] <sigmonsays> sup BarnacleBob
[2008/05/23 04:54:54] <lak> heh, yeah
[2008/05/23 04:55:34] <plathrop> jamesturnbull: Sorry I'm a pest today :-)
[2008/05/23 04:55:39] <jamesturnbull> sigmonsays: and nothing in your other logs?
[2008/05/23 04:55:53] @ Quit: keithlard:
[2008/05/23 04:55:59] <jamesturnbull> plathrop: no worries mate - happy someone is working on tests - that lak chap just lets them go... :P
[2008/05/23 04:56:01] <sigmonsays> I checked /var/log/puppet/*.log and /var/log/messages -- nothing popping out at me
[2008/05/23 04:56:06] <lak> i know, geez
[2008/05/23 04:56:11] <lak> that guy is just lazy
[2008/05/23 04:56:13] <nigelk> lak: sorry about the old code, for some reason assumed the shadoi github repo was up to date ...
[2008/05/23 04:56:58] <lak> heh, np
[2008/05/23 04:57:06] <lak> that's one of the downsides of the distributed stuff
[2008/05/23 04:57:48] <jamesturnbull> lak: yeah a lot of people seem to have missed the move to github for the stable branch
[2008/05/23 04:58:44] <lak> yeah
[2008/05/23 04:59:02] <lak> i'm going to set you up with commit access to the main repo
[2008/05/23 04:59:06] <lak> so you can keep the main repo in sync
[2008/05/23 04:59:17] <jamesturnbull> lak: I've updated the wiki
[2008/05/23 04:59:22] <lak> cool
[2008/05/23 04:59:23] @ mikepea joined channel #puppet
[2008/05/23 04:59:35] <jamesturnbull> I'll push to both at the same time then
[2008/05/23 05:00:12] <nigelk> ahah!
[2008/05/23 05:00:12] <jamesturnbull> sigmonsays: so it just stops?
[2008/05/23 05:00:19] <nigelk> thanks jamesturnbull that's much clearer now :)
[2008/05/23 05:01:14] <sigmonsays> jamesturnbull, that's what it seems. do you think strace would help?
[2008/05/23 05:01:30] <jamesturnbull> sigmonsays: just weird that you're not getting an error at all
[2008/05/23 05:01:38] <jamesturnbull> sigmonsays: what's the platform?
[2008/05/23 05:01:41] <sigmonsays> I can't reliably produce it
[2008/05/23 05:01:42] <sigmonsays> RHEL4
[2008/05/23 05:01:42] <jamesturnbull> sigmonsays: try strace
[2008/05/23 05:02:06] <jamesturnbull> sigmonsays: see I have two RHEL4 and 6 CentOS 4 boxes with no issues... :(
[2008/05/23 05:03:58] <sigmonsays> i'll keep ya posted. it's a lengthy error to track down
[2008/05/23 05:04:16] <sigmonsays> can't repro easily. it only seems to happen when tehre is *a lot* of file transfers
[2008/05/23 05:04:24] <jamesturnbull> plathrop: pushed #1233
[2008/05/23 05:04:27] <gepetto> jamesturnbull: plathrop: #1233 is http://reductivelabs.com/trac/puppet/ticket/1233 "Add Rspec tests for util/warnings.rb"
[2008/05/23 05:05:36] <plathrop> thanks, jamesturnbull
[2008/05/23 05:05:54] <plathrop> Yay! "2706 examples, 0 failures, 27 pending"
[2008/05/23 05:07:26] <benp-> nice
[2008/05/23 05:08:18] <gepetto> ::puppet:: Ticket #1233 (task closed): Add Rspec tests for util/warnings.rb @ http://reductivelabs.com/trac/puppet/ticket/1233#comment:16 (by james@lovedthanlost.net)
[2008/05/23 05:11:52] <ashp> Hmm, this seems bad.
[2008/05/23 05:12:08] <ashp> I have two mysql exec's that I call that have require => Service['mysqld']
[2008/05/23 05:12:25] <ashp> but for some reason it 'schedules a refresh of mysqld', which works
[2008/05/23 05:12:33] <ashp> and then that in turn schedules exec[mysql-password]
[2008/05/23 05:12:42] <ashp> which then waits, lets the two original commands fail
[2008/05/23 05:12:44] <ashp> and then triggers
[2008/05/23 05:12:55] <ashp> It's not following the entire chain
[2008/05/23 05:13:33] <ashp> it's going exec[mysqlcommand]->service[mysqld]->(scheduling the next bit)->exec[mysqlcommand]->(running the schedule)
[2008/05/23 05:13:40] <ashp> When really it shouldn't schedule it, but run it immediately
[2008/05/23 05:13:53] <ashp> I'm going to file a bug against 0.24.x on this one.
[2008/05/23 05:14:27] <ashp> if I have a require it should follow that, and all the following dependencies completely, before returning up to run the original resource
[2008/05/23 05:14:39] <jamesturnbull> plathrop: I have 15 failures
[2008/05/23 05:15:08] <plathrop> jamesturnbull: Really? Pastie me?
[2008/05/23 05:15:26] @ Quit: lak:
[2008/05/23 05:16:18] <jamesturnbull> pastie: url me byethx
[2008/05/23 05:16:28] <plathrop> jamesturnbull: What platform are you on?
[2008/05/23 05:16:33] <pastie> http://pastie.org/201732 by jamesturnbull.
[2008/05/23 05:16:55] <jamesturnbull> plathrop: hmmm the dev box a Fedora Core 8
[2008/05/23 05:17:24] @ a-priori joined channel #puppet
[2008/05/23 05:17:50] <plathrop> jamesturnbull: Okay. I'm running on my Mac. I'll have to set up some infrastructure before I can fix the FC5 test failures.
[2008/05/23 05:18:11] <plathrop> If I even can. Redhat derivatives usually make my brain bleed.
[2008/05/23 05:18:16] <jamesturnbull> plathrop: no worries
[2008/05/23 05:18:23] @ shadoi joined channel #puppet
[2008/05/23 05:18:33] <ashp> if you need an account on a centos box you can use my server
[2008/05/23 05:18:45] <ashp> it's 5.1 i think
[2008/05/23 05:22:21] <plathrop> ashp: Offer appreaciated, I'll let you know.
[2008/05/23 05:32:49] @ Quit: a-priori_: Connection timed out
[2008/05/23 05:34:37] <ashp> how on earth can i STILL have missing dependencies at this point, argh
[2008/05/23 05:34:46] <ashp> dependency ordering is swiftly becoming the bane of my life
[2008/05/23 05:35:36] * plathrop has been fantasizing about a "dependency visualizer" app that will show you how our dependencies look by parsing your manifests
[2008/05/23 05:37:02] <benp-> what about the dot graphs?
[2008/05/23 05:37:11] <benp-> it kind of already does that..
[2008/05/23 05:37:34] <plathrop> benp-: Wouldn't be the first time there was a feature I didn't even know about :-)
[2008/05/23 05:38:00] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/05/23 05:39:15] @ thegcat_ joined channel #puppet
[2008/05/23 05:39:22] <benp-> it's pretty cool. you turn it on (per node) in puppet.conf and it spits out .dot files that you can load in graphviz, imagemagick, omnigraffle
[2008/05/23 05:41:58] <benp-> wiki:FrequentlyAskedQuestions#how-do-i-use-puppet-s-graphing-support
[2008/05/23 05:42:01] <gepetto> benp-: wiki: wiki:FrequentlyAskedQuestions#how is http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how
[2008/05/23 05:42:11] <benp-> close enough
[2008/05/23 05:42:16] @ Pyretic joined channel #puppet
[2008/05/23 05:50:15] @ Quit: thegcat: Read error: 110 (Connection timed out)
[2008/05/23 05:51:23] @ Quit: BarnacleBob: "This computer has gone to sleep"
[2008/05/23 05:52:41] @ BarnacleBob joined channel #puppet
[2008/05/23 05:56:01] <ashp> I wonder why puppet never updates my dns the first time round being run
[2008/05/23 05:56:30] <ashp> it just comes out of a template with 0 dependencies, so it should never not run
[2008/05/23 05:57:09] <ashp> I think the failure to update the dns in the first run results in some packages not downloading
[2008/05/23 06:01:18] @ Quit: shadoi: Read error: 110 (Connection timed out)
[2008/05/23 06:03:20] @ randybias joined channel #puppet
[2008/05/23 06:04:49] @ kolla_ joined channel #puppet
[2008/05/23 06:08:46] @ Quit: kolla: Remote closed the connection
[2008/05/23 06:09:46] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)"
[2008/05/23 06:19:48] @ shadoi joined channel #puppet
[2008/05/23 06:25:20] @ Quit: Demosthenes: "Lost terminal"
[2008/05/23 06:25:25] @ Quit: pleemans: "Ex-Chat"
[2008/05/23 06:27:34] <holaway> so, if someone is willing to run the cruise control instance
[2008/05/23 06:27:47] <holaway> I would be happy to rig up the automation that launches linux AMIs in EC2 and runs the test suite
[2008/05/23 06:33:16] @ Quit: shadoi: Remote closed the connection
[2008/05/23 06:33:19] @ shadoi joined channel #puppet
[2008/05/23 06:34:23] @ Quit: randybias:
[2008/05/23 06:35:39] @ Quit: lassizci: Remote closed the connection
[2008/05/23 06:35:50] @ lassizci joined channel #puppet
[2008/05/23 06:39:42] @ ramil joined channel #puppet
[2008/05/23 06:42:05] @ Demosthenes joined channel #puppet
[2008/05/23 06:47:51] <thegcat_> any way to make sure all my yumrepos are executed before all my packages?
[2008/05/23 06:48:34] <thegcat_> maybe like Package { require => Yumrepo[*] } or something?
[2008/05/23 06:48:59] <benp-> thats what i do
[2008/05/23 06:49:32] <benp-> of course, you'll need an array with all your yum repos
[2008/05/23 06:50:59] @ martha left channel #puppet ()
[2008/05/23 06:58:33] <ashp> Shame you can't do *
[2008/05/23 06:58:45] <ashp> I was just about to ask if putting stuff like that in site.pp works so it's always executed on every run
[2008/05/23 06:59:10] <ashp> I keep having the problem that a couple of key bits decide not to run before the other classes
[2008/05/23 06:59:21] <ashp> and I use external nodes, so I assume I can fill stuff into site.pp and it'll be done first?
[2008/05/23 06:59:36] <benp-> ya
[2008/05/23 07:00:38] @ keithlard joined channel #puppet
[2008/05/23 07:00:45] @ Quit: keithlard: Remote closed the connection
[2008/05/23 07:02:16] <ashp> this is going to be a lot easier than fighting with dependencies
[2008/05/23 07:02:32] <ashp> if I can move my network define, rhn-profile-sync and a Package { require => on all my repos
[2008/05/23 07:02:38] <ashp> The way I was doing it is driving me insane
[2008/05/23 07:03:51] @ Quit: barnum: Read error: 104 (Connection reset by peer)
[2008/05/23 07:05:55] @ barnum joined channel #puppet
[2008/05/23 07:07:51] <thegcat_> could not retrieve facts: execution expired <== what does this tell me?
[2008/05/23 07:08:01] <thegcat_> is it a timeout or something?
[2008/05/23 07:09:23] @ Quit: kenvandine: "Ex-Chat"
[2008/05/23 07:09:56] @ shenson is now known as shenson_not_here
[2008/05/23 07:13:39] @ Quit: kambiz: "Leaving"
[2008/05/23 07:17:10] @ randybias joined channel #puppet
[2008/05/23 07:34:49] <thegcat_> good night :-)
[2008/05/23 07:34:54] @ Quit: thegcat_:
[2008/05/23 07:35:31] @ plathrop joined channel #puppet
[2008/05/23 07:39:56] @ Innocenti joined channel #puppet
[2008/05/23 07:48:28] @ Quit: cote: Read error: 104 (Connection reset by peer)
[2008/05/23 07:48:52] @ cote joined channel #puppet
[2008/05/23 07:58:09] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/05/23 07:58:56] @ Quit: ramil: "leaving"
[2008/05/23 08:12:07] @ ramil joined channel #puppet
[2008/05/23 08:16:30] <fujin> ashp: there is a ticket for Type[expression] syntax
[2008/05/23 08:16:40] <fujin> I'd like to do stuff like Type[/regex/]
[2008/05/23 08:16:49] <fujin> and Type[bl*h]
[2008/05/23 08:22:44] @ [newbie] joined channel #puppet
[2008/05/23 08:23:32] <ramil> this debian ssl bug has totally hosed my puppet system
[2008/05/23 08:23:48] <fujin> welcome to last week
[2008/05/23 08:24:03] <fujin> see topic, second SSL link
[2008/05/23 08:24:15] <ramil> i did! i did the certname thing. still not working
[2008/05/23 08:24:29] <fujin> second link, not first
[2008/05/23 08:24:36] <fujin> and uh
[2008/05/23 08:24:43] <fujin> still not working isn't very helpful for me (to help you)
[2008/05/23 08:24:47] @ Quit: sigmonsays: Remote closed the connection
[2008/05/23 08:24:48] <fujin> what exact error are you getting? feel free to pastie
[2008/05/23 08:24:59] <ramil> i dont even know what capistrano is
[2008/05/23 08:25:12] <fujin> capistrano is just the fastest way to do it
[2008/05/23 08:25:18] <fujin> parallel ops I mean
[2008/05/23 08:26:33] @ [newbie] is now known as f--z
[2008/05/23 08:29:44] <holaway> but feel free to just
[2008/05/23 08:29:51] <holaway> wipe out the puppet cert dirs
[2008/05/23 08:29:52] <holaway> everrywhere
[2008/05/23 08:29:55] <holaway> by hand
[2008/05/23 08:29:58] <holaway> if that sort of thing is your bag
[2008/05/23 08:30:50] @ docta_v joined channel #puppet
[2008/05/23 08:31:05] <docta_v> any thoughts on the best way to make puppet run an aptitude update?
[2008/05/23 08:32:12] <holaway> docta_v: exec?
[2008/05/23 08:34:21] <docta_v> i guess i'm wondering if people just do an aptitude update with exec every puppet run
[2008/05/23 08:34:26] <docta_v> or if there's some better whiz bang way to do it
[2008/05/23 08:34:39] <docta_v> i could even see a cronjob to just run it once a night
[2008/05/23 08:34:57] <holaway> docta_v: A lot of people will do one per run
[2008/05/23 08:35:06] <holaway> but that might be overkill for your environment
[2008/05/23 08:35:19] <holaway> I think the frequency really depends on what you use apt for
[2008/05/23 08:35:22] <holaway> if it's just OS updates
[2008/05/23 08:35:26] <holaway> daily is probably plenty often
[2008/05/23 08:35:34] <BarnacleBob> benp-, your nagios/base.rp file did not fix my problem :(
[2008/05/23 08:35:57] <BarnacleBob> i bet it has to go on the client
[2008/05/23 08:37:15] @ Quit: shadoi: Read error: 110 (Connection timed out)
[2008/05/23 08:37:39] <BarnacleBob> yup that was it
[2008/05/23 08:38:30] <MrProper_> anyone seen this before: Certificates were not trusted: block type is not 01
[2008/05/23 08:43:36] <fujin> docta_v: create an aptitude update exec, and do Package { require => exec[aptitudeupdate] } in your site.pp
[2008/05/23 08:43:39] <fujin> global overriiidesz
[2008/05/23 08:44:00] <fujin> holaway: been awake all night working on an ADSL outage - will send through that doc when I get home
[2008/05/23 08:44:13] <docta_v> fujin: that would run an update every puppet cycle correct?
[2008/05/23 08:46:30] <fujin> well, you're not notifying the exec, just requiring it
[2008/05/23 08:46:33] <fujin> so not exactly
[2008/05/23 08:46:56] <holaway> fujin: no worries
[2008/05/23 08:46:59] <holaway> thansk for the heads up
[2008/05/23 08:47:11] <docta_v> hmm i'm not sure the difference
[2008/05/23 08:47:23] <holaway> y
[2008/05/23 08:47:33] <docta_v> it looks like that would require every package to exec
[2008/05/23 08:47:47] <ramil> so i wiped out my ssl dir on my puppet client, which lives in /var/lib/puppet/ssl . now when i start puppet, it of course complains its not there. how do i regenerate it ?
[2008/05/23 08:48:46] <fujin> docta_v: if you were installing a new package, it would ensure that the aptitude update is run first
[2008/05/23 08:48:56] <fujin> it doesn't necessarily mean that in every puppet run it will re-run it
[2008/05/23 08:49:16] <BarnacleBob> ramil, just mkdir /var/lib/puppet/sql and chown puppet:puppet /var/lib/puppet/sql
[2008/05/23 08:50:14] <docta_v> interesting
[2008/05/23 08:53:40] <fujin> sql?
[2008/05/23 08:53:51] <fujin> Please don't perverse the channel with incorrect information - it's not really helpful
[2008/05/23 08:54:55] <BarnacleBob> er
[2008/05/23 08:54:57] <BarnacleBob> ssl
[2008/05/23 08:55:02] <BarnacleBob> ha
[2008/05/23 08:55:04] <BarnacleBob> my bad
[2008/05/23 08:55:31] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)"
[2008/05/23 08:55:33] <BarnacleBob> i was reading the page on store configs and sqlite
[2008/05/23 08:55:33] <BarnacleBob> :)
[2008/05/23 08:56:31] <fujin> mm
[2008/05/23 08:56:34] <fujin> Who's porridge?
[2008/05/23 08:56:40] <fujin> seems to be making a dent in triage - good work
[2008/05/23 08:57:17] <ramil> what am i doing wrong?: http://pastebin.com/d3a5ad2b
[2008/05/23 08:57:26] <holaway> anyone else having trouble with rhel 5.2's cups package?
[2008/05/23 08:57:38] <holaway> rehdat-lsb is not installing cleanly for me
[2008/05/23 08:57:39] <holaway> :(
[2008/05/23 08:58:35] <fujin> haven't lookated at rh5.2 yet
[2008/05/23 08:58:38] <fujin> when ddi that get released?
[2008/05/23 08:58:45] <holaway> yesterday
[2008/05/23 08:58:52] <holaway> it showed up for us on a yum upgrade
[2008/05/23 08:58:57] <fujin> hehe sweet
[2008/05/23 08:58:58] <holaway> :$
[2008/05/23 08:59:20] <fujin> lookated? fuck I'm tired
[2008/05/23 08:59:30] <fujin> That's like "looked at" and "located"
[2008/05/23 08:59:37] * fujin goes crosseyed
[2008/05/23 08:59:51] <fujin> ramil: what have you got 'certname' set to
[2008/05/23 09:00:13] <fujin> ramil: and server= on the puppetd
[2008/05/23 09:00:37] <fujin> get your puppet.conf onto pastie for your master and client
[2008/05/23 09:02:54] <fujin> or don't - that's cool
[2008/05/23 09:03:13] <ramil> server: http://pastebin.com/d4bfff223 client: http://pastebin.com/d388d447a
[2008/05/23 09:03:23] <BarnacleBob> yo so i have storeconfigs=true and the db location and driver on in my puppetd.conf and i restarted puppetmasterd but i'm still getting the error You cannot collect without storeconfigs being set;
[2008/05/23 09:03:28] <BarnacleBob> http://pastie.caboo.se/201903
[2008/05/23 09:03:31] <BarnacleBob> anyone know whats going on?
[2008/05/23 09:05:36] <fujin> ramil: your client is configured to connect to leviathan.local, yet your server is configured to create a cert called 'puppet'
[2008/05/23 09:05:48] <fujin> quite simple really - have your client connect to 'puppet' and the verification will not fail
[2008/05/23 09:07:13] <fujin> BarnacleBob: you've got that stuff (supposedly) in puppetd.conf, not puppet.conf
[2008/05/23 09:07:22] <fujin> therefore the sections do not apply and all settings are only applicable to puppetd
[2008/05/23 09:07:25] <fujin> (when using puppetd.conf
[2008/05/23 09:07:27] <fujin> mv puppetd.conf puppet.conf
[2008/05/23 09:09:02] <BarnacleBob> er the storeconfigs has to be on client and server?
[2008/05/23 09:09:10] <fujin> no, it's a server only operation
[2008/05/23 09:09:15] <BarnacleBob> ah ok
[2008/05/23 09:09:24] <fujin> using puppetd is deprecated
[2008/05/23 09:09:36] <BarnacleBob> ah i've upgraded from a bit ago
[2008/05/23 09:09:40] <BarnacleBob> didn't realize it
[2008/05/23 09:09:44] <MrProper_> anyone have any preferences for nginx over pound vice versa (at the moment im considering nginx as its in the debian repo's)
[2008/05/23 09:09:53] <fujin> err, using puppetd.conf is deprecated
[2008/05/23 09:10:05] <fujin> MrProper_: I use apache personally ;}
[2008/05/23 09:10:56] <BarnacleBob> hrm. anyone know how to install rails in fedora/rh/cent?
[2008/05/23 09:10:56] <MrProper_> fujin, id be happy to stay with apache if i can figure out why one particular client keeps getting: err: Could not retrieve catalog: Certificates were not trusted: block type is not 01
[2008/05/23 09:11:27] <fujin> o_0
[2008/05/23 09:11:29] <MrProper_> BarnacleBob, easy, install debian
[2008/05/23 09:11:31] <fujin> MrProper_: pastie your apache.conf
[2008/05/23 09:11:31] <benp-> BarnacleBob: dlutter has packages
[2008/05/23 09:11:39] <MrProper_> BarnacleBob, sorry couldnt resist
[2008/05/23 09:11:59] <benp-> or you could use rubygems
[2008/05/23 09:12:09] <fujin> pastie: help
[2008/05/23 09:12:09] <BarnacleBob> benp-, that might be easier
[2008/05/23 09:12:12] <BarnacleBob> i'll try that
[2008/05/23 09:12:45] <fujin> pastie: url
[2008/05/23 09:12:57] @ anarcat left channel #puppet ()
[2008/05/23 09:13:13] <pastie> http://pastie.org/201907 by fujin.
[2008/05/23 09:13:19] <fujin> MrProper_: ^
[2008/05/23 09:13:35] <fujin> BarnacleBob: yum install rubygems && gem install rails?
[2008/05/23 09:13:45] <fujin> oh, what benp- said!
[2008/05/23 09:14:03] <fujin> especially if you plan on using anything else out of gems like rspec etc etc
[2008/05/23 09:14:21] <BarnacleBob> thanks fujin and benp :)
[2008/05/23 09:14:30] <benp-> i kinda want to publish some modules/classes for public consumption but i don't really want to have to set anything up (eg git). the wiki's recipe section seems like its on the way out.. any suggestions?
[2008/05/23 09:14:45] <fujin> benp-: github.com
[2008/05/23 09:14:52] <fujin> ;(
[2008/05/23 09:15:08] <MrProper_> fujin, http://pastie.caboo.se/201910
[2008/05/23 09:15:10] <fujin> takes the pain out of setting up a public git repo.. still requires a git client somewhere
[2008/05/23 09:15:14] <benp-> heh nice emoticon
[2008/05/23 09:15:57] <fujin> has been a long day.. and it's only 11am
[2008/05/23 09:16:06] <fujin> MrProper_: drop mine in, adjust servername and the listeners and see if it works
[2008/05/23 09:16:23] <fujin> you have some funny setting sin there which I don't think you actually need
[2008/05/23 09:17:58] <fujin> MrProper_: actually they look quite similar
[2008/05/23 09:18:02] <fujin> brain is playing tricks on me
[2008/05/23 09:18:33] <e^ipi> the package providers
[2008/05/23 09:18:45] <e^ipi> are those defined on the puppetmaster, or the clients?
[2008/05/23 09:19:18] <MrProper_> fujin, yeah i noticed
[2008/05/23 09:19:43] <fujin> e^ipi: defined?
[2008/05/23 09:19:51] <fujin> it's part of the library, and therefore on both
[2008/05/23 09:20:00] <fujin> you can quite happily drop new providers with pluginsync too
[2008/05/23 09:20:08] <e^ipi> *nod*
[2008/05/23 09:20:46] <e^ipi> what i'm trying to do is use a home-rolled copy of rubygems to pull in some stuff
[2008/05/23 09:25:36] <MrProper_> fujin, still doesnt fix my issue
[2008/05/23 09:26:03] <fujin> MrProper_: freaky
[2008/05/23 09:26:10] <fujin> version?
[2008/05/23 09:27:01] <MrProper_> fujin, 24.4
[2008/05/23 09:27:49] <fujin> heh
[2008/05/23 09:27:54] <fujin> that is really weird
[2008/05/23 09:28:00] <fujin> does it happen with every client?
[2008/05/23 09:28:02] <MrProper_> no
[2008/05/23 09:28:06] <MrProper_> its one client
[2008/05/23 09:28:12] <fujin> nuke that clients certs?
[2008/05/23 09:28:19] <MrProper_> been there
[2008/05/23 09:28:28] <MrProper_> you just get a new one and you sign it then back to the same problem
[2008/05/23 09:28:30] <fujin> o_0
[2008/05/23 09:28:33] <MrProper_> heh yeah
[2008/05/23 09:28:40] <BarnacleBob> hrm now that i have rails and my puppet.conf fixed. isn't the sqlite db suppose to be auto created? it complains about no such file to load
[2008/05/23 09:28:55] <MrProper_> BarnacleBob, touch the file
[2008/05/23 09:29:01] <BarnacleBob> heh
[2008/05/23 09:29:02] <BarnacleBob> ok
[2008/05/23 09:29:09] <fujin> BarnacleBob: wiki:UsingStoredConfigurations
[2008/05/23 09:29:11] <MrProper_> (that was a guess by the way)
[2008/05/23 09:29:15] <fujin> maybe thats not it
[2008/05/23 09:29:15] <fujin> hrm
[2008/05/23 09:29:24] * fujin prods gepetto
[2008/05/23 09:29:53] <fujin> ah
[2008/05/23 09:29:56] <BarnacleBob> MrProper_, yeah read that page
[2008/05/23 09:30:15] <fujin> it should autocreate it
[2008/05/23 09:30:18] <fujin> if it doesn't exist
[2008/05/23 09:30:33] <BarnacleBob> oh
[2008/05/23 09:30:38] <BarnacleBob> its the gem sqlite3-ruby
[2008/05/23 09:30:47] <fujin> heh :P
[2008/05/23 09:32:58] <BarnacleBob> woot woot
[2008/05/23 09:33:00] <BarnacleBob> looks like it worked
[2008/05/23 09:33:11] <BarnacleBob> high fives all around
[2008/05/23 09:36:37] @ Quit: andrewcshafer:
[2008/05/23 09:36:40] @ Quit: LittleIdea:
[2008/05/23 09:38:09] <BarnacleBob> benp-, im getting a problem with aliases now with your base.rb for nagios
[2008/05/23 09:38:38] <ashp> fujin: I just got home, what was the Type[expression] stuff about?
[2008/05/23 09:38:40] <BarnacleBob> http://pastie.caboo.se/201924
[2008/05/23 09:38:43] <fujin> BarnacleBob: be careful with storeconfigs & sqlite - storeconfigs is a very intensive db operation and you'll run into concurrency issues with more than 5 or so clients connecting
[2008/05/23 09:38:56] @ Quit: cote:
[2008/05/23 09:39:03] <fujin> ashp: there's an enhancement open for that request.. being able to do Type[*] or like Type[/regex]
[2008/05/23 09:39:16] <ashp> Ohhh, got you, I had forgotten what I was wishing for
[2008/05/23 09:39:27] <fujin> xD
[2008/05/23 09:39:40] <ashp> It would definitely be a nice feature and probably fairly easy to add (says I!)
[2008/05/23 09:39:50] <ashp> my boss said if we carry on using puppet
[2008/05/23 09:39:59] <ashp> I can buy a support contract in the next budget
[2008/05/23 09:40:02] <ashp> and give lak a bunch of money
[2008/05/23 09:40:08] <ashp> so that's nice to finally have confirmed
[2008/05/23 09:40:17] <fujin> nice - congrats!
[2008/05/23 09:40:30] <fujin> I wish my bosses felt the same
[2008/05/23 09:40:44] <fujin> have to hack on stuff I want changed OUTSIDE of work hours to get stuff done
[2008/05/23 09:40:53] <fujin> hopefully that'll be resolved soon
[2008/05/23 09:40:56] * fujin looks at holaway
[2008/05/23 09:41:00] <fujin> <3
[2008/05/23 09:41:21] <MrProper_> fujin, lol go on strike
[2008/05/23 09:41:30] <fujin> ha
[2008/05/23 09:42:08] <MrProper_> fujin, now i just hope someone can give me insight on: #1254
[2008/05/23 09:42:10] <gepetto> MrProper_: fujin: #1254 is http://reductivelabs.com/trac/puppet/ticket/1254 "puppetd client randomly hangs"
[2008/05/23 09:42:52] <ashp> my trouble isn't time, it's just I'm not very good at this kind of thing
[2008/05/23 09:43:06] <fujin> MrProper_: haha.. good luck with that
[2008/05/23 09:43:15] <fujin> if I could suggest anything, it's sending a large cheque to lak
[2008/05/23 09:43:20] <fujin> and getting him on site
[2008/05/23 09:43:28] <ashp> That's the best way to support things
[2008/05/23 09:43:30] <MrProper_> fujin, lol
[2008/05/23 09:43:45] <MrProper_> isnt that a universal way of getting things done....with a wad of cash
[2008/05/23 09:43:47] <ashp> I have to do it the support contract way, but I don't really want support, I just want to donate via work
[2008/05/23 09:44:00] <ashp> If lak@ had to listen to me on MSN he'd probably explode within a week
[2008/05/23 09:44:06] <fujin> HA
[2008/05/23 09:44:07] <holaway> ashp: careful, if you had support, you might use it. :)
[2008/05/23 09:44:20] <ashp> 90% of my problems are fixed once I sak them and immediately see the error of my ways
[2008/05/23 09:44:23] <fujin> I tend to break more things with support to fall back on :)
[2008/05/23 09:44:27] <ashp> I do think I have a kind of bug, but I need to do more testing
[2008/05/23 09:44:39] <ashp> earlier on I discovered that the dependencies didn't seem to follow the chain
[2008/05/23 09:44:52] <ashp> it went from a->b (which had a dependency on c)
[2008/05/23 09:44:52] <MrProper_> my problems usually go away when i sak them as well =P
[2008/05/23 09:45:00] <ashp> So it then, at b, scheduled c, went back, tried to do a, and then did c
[2008/05/23 09:45:07] <ashp> Which was pretty useless as without c, a fails
[2008/05/23 09:45:34] <ashp> I would have expected at b it would have done c immediately, rather than rush back up to a
[2008/05/23 09:46:37] <ashp> ah here we go
[2008/05/23 09:46:40] <ashp> http://github.com/apenney/puppet/tree/master/iclassify/manifests/mysql.pp
[2008/05/23 09:46:48] <ashp> In there, see the Service['mysqld'] lines?
[2008/05/23 09:46:56] <ashp> http://github.com/apenney/puppet/tree/master/mysql/manifests/service.pp
[2008/05/23 09:47:07] <ashp> In there, you'll see it has a notify to Exec['mysql-password']
[2008/05/23 09:47:12] <ashp> But it schedules that rather than doing it right away
[2008/05/23 09:47:19] <ashp> so the mysql stuff fails
[2008/05/23 09:47:37] <ashp> http://github.com/apenney/puppet/tree/master/mysql/manifests/install.pp has the exec
[2008/05/23 09:50:11] <fujin> ashp: pop a before => in your exec?
[2008/05/23 09:50:21] @ [newbie] joined channel #puppet
[2008/05/23 09:50:43] <ashp> Well, to what? Back to the service, or to the iclassify bits?
[2008/05/23 09:50:50] <ashp> I may have mysql without iclassify after all
[2008/05/23 09:51:54] * holaway whistles something about ordinality and immediacy
[2008/05/23 09:52:02] <holaway> ;)
[2008/05/23 09:52:07] @ holaway is now known as holoway
[2008/05/23 09:52:10] <ashp> holaway: I found the iclassify thing SO frustrating
[2008/05/23 09:52:16] <ashp> Because everything depends on everything else
[2008/05/23 09:52:23] <ashp> getting the ordering right took 99% of my development time
[2008/05/23 09:52:39] <ashp> If I could take puppet and make it execute things in order of the file at this point I would :/
[2008/05/23 09:54:10] <fujin> ashp: the exec before service
[2008/05/23 09:54:20] <fujin> should quite happily ensure your root pw is reset
[2008/05/23 09:54:26] <ashp> fujin: Ahh, ok
[2008/05/23 09:54:35] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/05/23 09:54:42] <ashp> I'll try that, the trouble was it just scheduled the exec then popped back up to do the original command
[2008/05/23 09:54:52] <ashp> i mean ideally it should follow dependencies all the way doing them immediately
[2008/05/23 09:54:57] <ashp> not scheduling them for 'some point in the future'
[2008/05/23 09:56:28] <holoway> ashp: well, yes and no
[2008/05/23 09:56:36] <holoway> that would bite you if you wanted to restart apache
[2008/05/23 09:56:41] <holoway> but more than one thing might request it
[2008/05/23 09:56:50] <holoway> essentially, you want a trigger for both
[2008/05/23 09:56:55] <holoway> immediate and delayed
[2008/05/23 09:56:58] <ashp> that's true, I sometimes have apache restart based on say, 4 things
[2008/05/23 09:57:04] <holoway> right
[2008/05/23 09:57:07] <ashp> that's true, it would be nice to be able to override and say immediate
[2008/05/23 09:57:09] <holoway> so immediate is not really waht you want most of the time
[2008/05/23 09:57:15] <ashp> I mean I guess the before => will effectively do that
[2008/05/23 09:57:22] <ashp> but it's not the 'right' way to describe that functionality
[2008/05/23 09:59:20] @ Quit: freiheit: Read error: 110 (Connection timed out)
[2008/05/23 10:06:45] <MrProper_> how can i run puppetd with debug in the foreground
[2008/05/23 10:08:01] <ashp> --no-demonize
[2008/05/23 10:09:51] @ e^ipi left channel #puppet ()
[2008/05/23 10:11:10] @ andrewcshafer joined channel #puppet
[2008/05/23 10:11:12] @ anarcat joined channel #puppet
[2008/05/23 10:11:14] @ LittleIdea joined channel #puppet
[2008/05/23 10:11:22] <anarcat> MrProper_: did you end up sending me a copy of your nagios bot after all?
[2008/05/23 10:11:33] <anarcat> if not, please send a copy to anarcat@koumbit.org, thanks!
[2008/05/23 10:11:37] <MrProper_> anarcat, oh no i didnt dude, sorry
[2008/05/23 10:11:42] <MrProper_> anarcat, ill send it over to you
[2008/05/23 10:11:51] <ashp> urgh, i'm still avoiding nagios
[2008/05/23 10:12:00] <ashp> but i know it's got to be dealt with eventually
[2008/05/23 10:12:02] @ Quit: [newbie]: Read error: 110 (Connection timed out)
[2008/05/23 10:12:05] <MrProper_> ashp, this was for hooking nagios into jabber =)
[2008/05/23 10:12:24] <anarcat> cool
[2008/05/23 10:12:26] <holoway> ashp: easy peasy with iclassify
[2008/05/23 10:12:26] <ashp> We just have a manually maintained copy of nagios
[2008/05/23 10:12:40] <holoway> less easy but possible with export/collect and native types
[2008/05/23 10:12:41] <ashp> holoway: Ohhh, good point, I did just spend a week whipping up iclassify :D
[2008/05/23 10:12:53] <holoway> choose your poision
[2008/05/23 10:12:54] <holoway> :)
[2008/05/23 10:12:57] <ashp> I should steal/hijack any nagios stuff you have
[2008/05/23 10:13:06] <holoway> sure
[2008/05/23 10:13:25] <ashp> I've got to reupload my module tomorrow as I fixed more dependencies
[2008/05/23 10:13:35] <ashp> And look at taking over those centos rpms
[2008/05/23 10:14:00] <anarcat> i'm using david's module
[2008/05/23 10:14:13] <anarcat> which kinda looks like it's going to be deprecated since nagios are now native types...
[2008/05/23 10:14:47] @ shadoi joined channel #puppet
[2008/05/23 10:14:49] <ashp> I found almost no documentation on the native types, so Im curious about the iclassify way
[2008/05/23 10:15:48] <anarcat> what's iclassify?
[2008/05/23 10:16:55] <ashp> It's an external node database plus some ruby bindings and other stuff
[2008/05/23 10:16:59] <ashp> holoway can describe it better than me :D
[2008/05/23 10:17:30] <ashp> I made a module for it but I haven't actually had time to use it yet
[2008/05/23 10:17:32] <holoway> ashp: that's a pretty good description
[2008/05/23 10:17:49] <holoway> it also provides a full text search engine for your nodes
[2008/05/23 10:18:33] @ Derailed joined channel #puppet
[2008/05/23 10:18:36] <ashp> That's true, I need to look more into what other things I can automatically import
[2008/05/23 10:18:39] <ashp> and then query :)
[2008/05/23 10:19:23] <ashp> I've been so focused on the installation I haven't touched that stuff
[2008/05/23 10:19:25] <Derailed> Hey guys, n00bish question: Is there an easy way for me to get a puppet module to distribute an entire directory of config files?
[2008/05/23 10:19:32] <anarcat> this looks fun
[2008/05/23 10:19:56] <anarcat> but how does it bridge with nagios though? i see how it could create host directives, but services?
[2008/05/23 10:19:56] <ashp> derailed: You can use recurse => true and use file{} on a directory I think
[2008/05/23 10:19:58] <MrProper_> Derailed, sure, just use recurse
[2008/05/23 10:20:02] <ashp> I don't do it, but I'm sure you can
[2008/05/23 10:20:06] <anarcat> services are not described from facter, afaik
[2008/05/23 10:20:21] <holoway> anarcat: ah, but your services are related to how systems get classified
[2008/05/23 10:20:29] <holoway> for example, you want to monitor service X/Y/Z
[2008/05/23 10:20:30] <ashp> I think with iclassify you can import more than just facter, you can apply all kinds of tags
[2008/05/23 10:20:57] <holoway> our services template just has the nagios services entries, and references hostgroups
[2008/05/23 10:21:07] <holoway> (which get populated/created by tags)
[2008/05/23 10:21:30] <anarcat> hum
[2008/05/23 10:21:45] <ashp> How many tags do you manually put in
[2008/05/23 10:21:48] <anarcat> that won't work here, there's too many various distinct services spread around different hosts
[2008/05/23 10:21:50] <ashp> and how many do you tend to automate?
[2008/05/23 10:22:05] <anarcat> sure, you can say "those are webservers", but not everything is a cluster here :)
[2008/05/23 10:22:20] <holoway> anarcat: sure
[2008/05/23 10:23:41] <holoway> ashp: most of the tags turn out to be manual, unless you have some way to dynamically decide what a host should be
[2008/05/23 10:23:51] <holoway> (based on hostname, for example, if you run large clusters with consistent naming)
[2008/05/23 10:24:08] <ashp> Manual tagging is probably what I planned, so that's good
[2008/05/23 10:24:22] <ashp> my father's place on the other hand are automating 250,000 redhat servers
[2008/05/23 10:24:47] <ashp> they are fistfighting over using cfengine and opsware to do it
[2008/05/23 10:25:31] <holoway> gack
[2008/05/23 10:25:42] @ Quit: roald: Read error: 104 (Connection reset by peer)
[2008/05/23 10:25:45] <holoway> 250k cfengine managed servers?
[2008/05/23 10:25:45] * holoway quivers in fear
[2008/05/23 10:26:03] <ashp> Well apparently it's so bad that some boxes
[2008/05/23 10:26:08] <ashp> are managed by cfengine AND opsware
[2008/05/23 10:26:13] @ roald joined channel #puppet
[2008/05/23 10:26:16] <ashp> 150k of those boxes are one giant cpu farm
[2008/05/23 10:26:22] <ashp> and the rest are regular servers
[2008/05/23 10:27:39] <anarcat> i wonder how puppet would deal with 250k nodes
[2008/05/23 10:28:41] <holoway> anarcat: it really depends more on how often they checked in
[2008/05/23 10:28:56] <holoway> and you would need a sizeable cluster
[2008/05/23 10:30:39] <holoway> but I don't know that there is any inherent reason it wouldn't scale
[2008/05/23 10:30:53] <ohadlevy> anarcat: it should scale up without a problem,
[2008/05/23 10:31:22] <ohadlevy> anarcat: maybe there is only one thing which is missing, maybe something DNS SRV records to split the load on the client side
[2008/05/23 10:31:38] <anarcat> i guess this can easily be done through DNS
[2008/05/23 10:31:41] <ohadlevy> anarcat: as soon as you solve the certificate problem, puppet can really scale up easly
[2008/05/23 10:32:00] <anarcat> and you can do that through pound/ngix/whatever
[2008/05/23 10:32:15] <holoway> ohadlevy: just reverse proxy
[2008/05/23 10:32:26] <ohadlevy> i personally uses apache load balancer and mongrel
[2008/05/23 10:32:28] <holoway> run pure-mongrel puppetmaster hosts
[2008/05/23 10:32:32] <ohadlevy> you could pick yours
[2008/05/23 10:32:34] <holoway> and apache on different hosts
[2008/05/23 10:33:21] <ohadlevy> so, really, the main thing here is the certificates, if you get your clients working with many puppet masters, its easy
[2008/05/23 10:40:43] @ Quit: nigelk:
[2008/05/23 10:43:45] * anarcat nods
[2008/05/23 10:51:15] @ Quit: BarnacleBob: "This computer has gone to sleep"
[2008/05/23 10:54:05] @ shadoi_ joined channel #puppet
[2008/05/23 10:55:31] <holoway> can anyone give me a tip to where I can grab rhel's distro rpms?
[2008/05/23 10:55:34] <holoway> I see the debuginfo ones
[2008/05/23 10:55:42] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2008/05/23 10:55:44] @ Quit: LittleIdea: Read error: 104 (Connection reset by peer)
[2008/05/23 10:56:11] @ LittleIdea joined channel #puppet
[2008/05/23 10:56:12] @ andrewcshafer joined channel #puppet
[2008/05/23 10:57:04] <ohadlevy> holoway: epel?
[2008/05/23 10:58:10] @ Quit: Chaos: Nick collision from services.
[2008/05/23 10:58:16] @ Chaos joined channel #puppet
[2008/05/23 10:58:21] @ Quit: Chaos: Nick collision from services.
[2008/05/23 10:58:27] <ashp> You can only get RHEL rpms from rhn.redhat.com
[2008/05/23 10:58:31] <ashp> because it's a heapojunk
[2008/05/23 10:59:01] <fujin> 'lo!
[2008/05/23 10:59:07] * fujin returns from the pub
[2008/05/23 10:59:07] <holoway> man, all I need
[2008/05/23 10:59:14] <holoway> is to work around this stupid rhel 5.2 bug with cups
[2008/05/23 10:59:22] <holoway> so I can get redhat-lsb installed
[2008/05/23 10:59:25] <fujin> what do you use cups for?
[2008/05/23 10:59:29] <holoway> fucking nothing
[2008/05/23 10:59:35] <fujin> that's gay
[2008/05/23 10:59:36] <holoway> it's just a dependency of rehdat-lsb
[2008/05/23 10:59:54] <fujin> can you roll your own repo and modify the rpm to be not dependant upon cups?
[2008/05/23 10:59:56] <fujin> (like apt)
[2008/05/23 11:00:00] <holoway> fujin: nah, if it was gay, it would be satisfied and fun to be around
[2008/05/23 11:00:05] <fujin> HA!
[2008/05/23 11:00:24] <holoway> as it stands, it's clearly unsatisfied and no fun at all
[2008/05/23 11:00:41] <Derailed> Hey guys: if you're distributing a directory with recurse => true, is there any reason you can't have an alias on the directory as well? for some reason it's failing for us when we have an alias.
[2008/05/23 11:00:42] <fujin> --^?
[2008/05/23 11:01:14] <mcbride> holoway: you might want to look at rpmrebuild
[2008/05/23 11:01:33] <mcbride> you can install an rpm, edit it, and then rebuild it.
[2008/05/23 11:01:47] <mcbride> in this case, without the dependencies you don't need
[2008/05/23 11:01:52] <fujin> doesn't really help unless you can centrally distribute it
[2008/05/23 11:02:10] <holoway> mcbride: I can't install the damn thing
[2008/05/23 11:02:20] <holoway> because yum has no --force or pure download option that doesn't verify the deps
[2008/05/23 11:02:24] <holoway> as far as I can tell, anyway
[2008/05/23 11:02:59] <ohadlevy> holoway, what is the real problem? redhat-lsb requires cups, and?
[2008/05/23 11:03:15] @ Soahc joined channel #puppet
[2008/05/23 11:03:18] <holoway> cups requires cups-lib-%{version}
[2008/05/23 11:03:24] <holoway> but rhel 5.2 buidls and distributes
[2008/05/23 11:03:36] <holoway> cups-lib-%{version}-%{release}
[2008/05/23 11:03:50] <shadoi_> holoway: just wget the rpm from the repo
[2008/05/23 11:04:05] <shadoi_> then use rpm --force or whatever
[2008/05/23 11:04:27] <ohadlevy> holoway, thats strange, I dont have that problem here
[2008/05/23 11:06:01] @ M- joined channel #puppet
[2008/05/23 11:07:05] <fujin> I hate RPM and all distrobutions that use it
[2008/05/23 11:07:09] <fujin> s/hate/loathe/
[2008/05/23 11:07:15] <fujin> s/loathe/want to commit Jihad against/
[2008/05/23 11:07:22] <shadoi_> that's silly
[2008/05/23 11:07:49] <fujin> personal opinion of course
[2008/05/23 11:08:06] <shadoi_> rpm is just as good as deb, the tools on top of it aren't but that's a separate issue.
[2008/05/23 11:08:25] <fujin> well, short of configuration file management which apt handles
[2008/05/23 11:08:26] <holoway> likely this only sucks on upgrades
[2008/05/23 11:08:26] <holoway> https://bugzilla.redhat.com/show_bug.cgi?id=447867 fwiw
[2008/05/23 11:08:27] <holoway> shadoi_: not to be totally dense, but how do you find the raw rhel repo?
[2008/05/23 11:08:27] <holoway> (if I owned the licenses, I could get 'em from rhn)
[2008/05/23 11:08:27] <holoway> (they are managed boxes)
[2008/05/23 11:08:56] <holoway> okay, bbiab
[2008/05/23 11:09:01] <ashp> I don't think you can find a raw repo
[2008/05/23 11:09:03] <fujin> holoway: can you roll a yumrepo with a symlink?
[2008/05/23 11:09:04] <ashp> It uses a plugin to get packages
[2008/05/23 11:09:15] <ashp> god I hate rhel :/
[2008/05/23 11:09:17] <shadoi_> holoway: I'd look at the dir structure of the CentOS repo and then try s/centos.org/redhat.com/ and just fiddle around
[2008/05/23 11:09:38] <fujin> holoway: have some RHEL 5.1 boxes with RHN licenses on if you need info
[2008/05/23 11:09:45] <ashp> Yeah, it doesn't exist, sorry to disapoint
[2008/05/23 11:09:48] <shadoi_> or sniff the traffic when it pulls an RPM from redhat.. hehe
[2008/05/23 11:09:58] <ashp> They deliberately set it up so you can't mirror stuff
[2008/05/23 11:09:59] @ lak joined channel #puppet
[2008/05/23 11:10:08] <ashp> without paying for it
[2008/05/23 11:10:31] <shadoi_> yeah I've always just used centos in the past, or rpmbuild on the src rpms
[2008/05/23 11:12:08] <shadoi_> ashp: does it use something SOAP or something to pull from RHN?
[2008/05/23 11:12:39] <shadoi_> would be fun to reverse engineer
[2008/05/23 11:12:41] <shadoi_> hehe
[2008/05/23 11:12:43] <fujin> howdy lak - how goes it?
[2008/05/23 11:12:50] <lak> good
[2008/05/23 11:12:58] <lak> finally done at the client for the day, now time to process emails
[2008/05/23 11:13:01] <lak> i'm impressed, only 19
[2008/05/23 11:13:06] <lak> in about 7 hrs
[2008/05/23 11:13:14] <lak> i had 27 in 2 hrs this morning
[2008/05/23 11:13:24] <shadoi_> lak: can you send me that module repository stuff you had started?
[2008/05/23 11:13:27] <fujin> popular, aren't we?
[2008/05/23 11:13:36] <lak> fujin: it's all the testing bugs
[2008/05/23 11:13:40] @ [newbie] joined channel #puppet
[2008/05/23 11:13:41] <fujin> ah.
[2008/05/23 11:13:41] <lak> so, popular? not really :)
[2008/05/23 11:13:44] <ashp> shadoi_: It would be worth doing, I have to decide if we want to pay for a rhel mirror
[2008/05/23 11:13:50] <ashp> And frankly it offends the hell out of me
[2008/05/23 11:13:58] <fujin> ./agree, ashp
[2008/05/23 11:14:05] <shadoi_> ashp: yeah, I can't imagine why anyone pays for it, it's assinine
[2008/05/23 11:14:08] <fujin> bastardisation of everything we as a community stand for
[2008/05/23 11:14:10] <shadoi_> asinine even
[2008/05/23 11:14:28] <shadoi_> centos has always been solid for me.
[2008/05/23 11:14:32] <ashp> shadoi_: Management normally.
[2008/05/23 11:14:44] <ashp> I had the choice of Redhat or Suse, and Centos wasn't acceptable
[2008/05/23 11:14:55] <ashp> for 'support' reasons, not that ANYONE gets any support from redhat
[2008/05/23 11:14:56] <lak> shadoi_: working on it
[2008/05/23 11:14:59] <shadoi_> even in the cases where management paid for it, I used centos. lol
[2008/05/23 11:15:37] <shadoi_> and then only until I could migrate them to debian
[2008/05/23 11:18:37] <fujin> hehe
[2008/05/23 11:18:56] <fujin> we've been demoing some software for traffic shaping from Allot and Cisco.. both require RHEL yet I've managed to get them all running on centos
[2008/05/23 11:19:27] <fujin> proprietary software..
[2008/05/23 11:19:30] <ashp> Anything that needs RHEL will always work on centos, that's the sad thing
[2008/05/23 11:19:31] * fujin bashes head on keyboard
[2008/05/23 11:19:38] <fujin> yeah.
[2008/05/23 11:21:14] <ashp> I still wish I could use freebsd :/
[2008/05/23 11:22:16] @ Quit: johnf: "Leaving."
[2008/05/23 11:22:53] <fujin> that's even worse!
[2008/05/23 11:23:13] <fujin> the only solution I've actually been happy with after years of being a sysengiarchprog is Apt
[2008/05/23 11:24:11] <ashp> to be fair we never had any automation or package management when using freebsd
[2008/05/23 11:24:20] <ashp> We just built stuff into /usr/local and shoved it onto all machines
[2008/05/23 11:24:34] <fujin> can do the same with slackware.. I've found it becomes quite unmanageable
[2008/05/23 11:24:42] <ashp> Code wise it's still the nicest :/
[2008/05/23 11:24:47] <shadoi_> hideously so
[2008/05/23 11:24:49] <ashp> dragonflybsd is coming on nicely however
[2008/05/23 11:24:54] <ashp> I'm surprised that it still exists
[2008/05/23 11:25:00] <ashp> and that matt is writing a filesystem
[2008/05/23 11:25:03] @ anarcat left channel #puppet (