Friday, 2008-05-30

<
[2008/05/30 00:09:10] @ windowsrefund joined channel #puppet
[2008/05/30 00:09:12] <windowsrefund> hello
[2008/05/30 00:10:49] <windowsrefund> has anyone ever seen this error?
[2008/05/30 00:10:56] <windowsrefund> Starting puppet: /usr/lib/ruby/site_ruby/1.8/puppet/sslcertificates.rb:8: You must have the Ruby openssl library installed (Puppet::Error)
[2008/05/30 00:12:14] @ kambiz joined channel #puppet
[2008/05/30 00:17:49] <windowsrefund> looks like I need to have openssl installed
[2008/05/30 00:17:51] <windowsrefund> which I do
[2008/05/30 00:23:23] @ cmoates joined channel #puppet
[2008/05/30 00:23:45] <cmoates> I'm trying to figure out what I've missed in my configs that's causing: err: //File[/var/lib/puppet/modules]: Failed to generate additional resources during transaction: Certificates were not trusted: hostname not match with the server certificate
[2008/05/30 00:23:56] <cmoates> It's the only cert error I get, everything seems to be working ok
[2008/05/30 00:24:04] <cmoates> But, I see it on each run
[2008/05/30 00:25:50] <jamesturnbull> duritong: ohadlevy the why not is that I am not sure modules can be abstracted as variables like that
[2008/05/30 00:29:07] @ Quit: jfluhmann: Remote closed the connection
[2008/05/30 00:29:57] @ Quit: ohadlevy: Read error: 113 (No route to host)
[2008/05/30 00:30:46] @ Quit: dyresen: Remote closed the connection
[2008/05/30 00:32:16] @ jfluhmann joined channel #puppet
[2008/05/30 00:41:03] @ Quit: jvanzyl: Connection reset by peer
[2008/05/30 00:41:10] @ jvanzyl joined channel #puppet
[2008/05/30 00:42:41] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 00:43:01] @ jvanzyl joined channel #puppet
[2008/05/30 00:50:47] @ muerr joined channel #puppet
[2008/05/30 00:51:50] @ dyresen joined channel #puppet
[2008/05/30 00:52:23] @ EuclidX joined channel #puppet
[2008/05/30 00:52:47] @ Quit: euclid: Nick collision from services.
[2008/05/30 00:52:59] @ EuclidX is now known as euclid
[2008/05/30 00:59:11] @ martha joined channel #puppet
[2008/05/30 01:04:25] @ Quit: f3ew: Connection timed out
[2008/05/30 01:04:27] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 01:04:28] @ jvanzyl joined channel #puppet
[2008/05/30 01:10:43] @ Quit: Innocenti: Client Quit
[2008/05/30 01:17:27] <magnachef> the waitforcert option is not working for me, what is the flag to use for it
[2008/05/30 01:18:14] @ dyresen is now known as dyresen-
[2008/05/30 01:18:19] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 01:18:20] <magnachef> sorry...nm :)
[2008/05/30 01:19:19] @ dyresen- is now known as dyresen
[2008/05/30 01:19:51] @ jvanzyl joined channel #puppet
[2008/05/30 01:20:22] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 01:20:56] @ jvanzyl joined channel #puppet
[2008/05/30 01:22:12] @ lak joined channel #puppet
[2008/05/30 01:22:16] @ f3ew joined channel #puppet
[2008/05/30 01:22:23] @ Quit: f3ew: Read error: 104 (Connection reset by peer)
[2008/05/30 01:22:36] @ f3ew joined channel #puppet
[2008/05/30 01:26:23] @ jvanzyl_ joined channel #puppet
[2008/05/30 01:26:24] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 01:29:00] @ nigelk joined channel #puppet
[2008/05/30 01:34:36] @ gore left channel #puppet ()
[2008/05/30 01:36:34] @ ohadlevy joined channel #puppet
[2008/05/30 01:38:36] @ Quit: kolla: Remote closed the connection
[2008/05/30 01:39:22] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/05/30 01:39:57] @ jvanzyl joined channel #puppet
[2008/05/30 01:46:10] @ Quit: f3ew: Read error: 110 (Connection timed out)
[2008/05/30 01:46:11] <chadh> lak: ping
[2008/05/30 01:46:36] <lak> hullo
[2008/05/30 01:46:51] <chadh> hi. man, I almost screwed up with our financial services people
[2008/05/30 01:46:55] @ f3ew joined channel #puppet
[2008/05/30 01:47:40] <chadh> lak: are you familiar with portland? I didn't rent a car, so I hope I don't have to eat in the hotel every night :)
[2008/05/30 01:47:50] <lak> you'll be fine without a car
[2008/05/30 01:48:05] <chadh> cool
[2008/05/30 01:48:08] <lak> take the light rail (called MAX) from the airport
[2008/05/30 01:48:26] <lak> the hotel is right on the max, and there's a trolley downtown that gets you around well
[2008/05/30 01:48:31] <lak> and there's tons of stuff downtown
[2008/05/30 01:49:03] <chadh> great
[2008/05/30 01:49:32] <chadh> I could tell from google maps that there were stops all over the place
[2008/05/30 01:58:50] @ Quit: ohadlevy: Read error: 113 (No route to host)
[2008/05/30 01:58:56] @ freiheit joined channel #puppet
[2008/05/30 02:00:46] @ flakrat joined channel #puppet
[2008/05/30 02:01:46] @ Quit: jvanzyl: Connection reset by peer
[2008/05/30 02:02:15] <muerr> Portland has great mass transit.
[2008/05/30 02:02:40] <muerr> And if you're generally downtown, everything is easily managable in walking distance.
[2008/05/30 02:02:49] @ jvanzyl joined channel #puppet
[2008/05/30 02:03:00] * muerr grew up across the river in Vancouver WA.
[2008/05/30 02:03:35] <muerr> Though, holoway carted me around Portland more than I rode the bus or train :-).
[2008/05/30 02:06:18] <ashp> The new cobbler is really nice, it fixes all the bugs I had.
[2008/05/30 02:07:52] @ Quit: tim|mb: "This computer has gone to sleep"
[2008/05/30 02:09:18] @ Quit: ezralini:
[2008/05/30 02:09:38] @ AimanA joined channel #puppet
[2008/05/30 02:12:07] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/30 02:25:19] @ Quit: DerekW: "Leaving"
[2008/05/30 02:25:41] @ Quit: exodos_: "leaving"
[2008/05/30 02:26:05] * Volcane wonders why he gets: /usr/lib/site_ruby/1.8/puppet/util.rb:312: warning: fork terminates thread at /usr/lib/ruby/1.8/timeout.rb:41
[2008/05/30 02:26:12] <Volcane> its an exec
[2008/05/30 02:26:17] <Volcane> and the exec works fine, does what it should etc
[2008/05/30 02:26:47] <Volcane> (and doesnt take a long time)
[2008/05/30 02:26:57] <lak> Volcane: it's a ruby warning that you can ignore
[2008/05/30 02:27:04] <Volcane> ah
[2008/05/30 02:27:05] <lak> it goes away in later versions of ruby
[2008/05/30 02:27:09] <Volcane> ok kewl
[2008/05/30 02:27:11] <Volcane> than kyou
[2008/05/30 02:30:21] @ andrewcshafer joined channel #puppet
[2008/05/30 02:30:43] @ Quit: jvanzyl:
[2008/05/30 02:35:20] <cmoates> I'll ask my question again, now that there seems to be people awake ;)
[2008/05/30 02:35:26] <cmoates> I'm trying to figure out what I've missed in my configs that's causing: err: //File[/var/lib/puppet/modules]: Failed to generate additional resources during transaction: Certificates were not trusted: hostname not match with the server certificate
[2008/05/30 02:35:43] <cmoates> Everything seems to be functioning as expected, but I see this error every run
[2008/05/30 02:36:00] @ Quit: muerr: Read error: 104 (Connection reset by peer)
[2008/05/30 02:36:14] @ muerr joined channel #puppet
[2008/05/30 02:39:48] <Volcane> cmoates: did you look at the topic of this channel?
[2008/05/30 02:41:41] <benp-> hmm.. file { "foo": source => "http://... would be really handy
[2008/05/30 02:43:30] <cmoates> I did
[2008/05/30 02:43:34] <Volcane> benp-: yeah
[2008/05/30 02:43:46] <cmoates> And maybe I'm overlooking something in there, but I had addressed the other SSL issue before
[2008/05/30 02:45:14] <benp-> Volcane: seems like it wouldn't be too difficult to implement, as long as it only involves stuff that happens on the client node
[2008/05/30 02:45:36] * benp- looks in the trac
[2008/05/30 02:46:14] <Volcane> benp-: problem is all the timestamping and checksumming that needs to happen
[2008/05/30 02:46:36] <Volcane> benp-: whichever httpd you're hitting will be getting loads of requests each time puppet runs anywhere etc
[2008/05/30 02:46:37] <benp-> ah.. ok i see
[2008/05/30 02:47:20] <Volcane> could prolly use the last modified values etc to avoid it, but wouldnt be particularly reliable then
[2008/05/30 02:47:50] <benp-> it would be a repository inside my network
[2008/05/30 02:48:08] <Volcane> yeah
[2008/05/30 02:49:17] <benp-> im saying this because i just noticed a 7 meg file took several minutes to copy down with puppet://
[2008/05/30 02:49:35] <Volcane> ah
[2008/05/30 02:50:18] <benp-> and im going to have to update it on multiple servers every ~2 hours, and it's probably going to get bigger than 7 megs
[2008/05/30 02:50:44] <Volcane> hmm
[2008/05/30 02:50:53] <Volcane> well you could get aorund it with exec's
[2008/05/30 02:51:12] <Volcane> like, exec a rsync
[2008/05/30 02:51:28] <Volcane> or exec some clever http getter that only gets and overwrites newer files
[2008/05/30 02:51:41] <benp-> i was thinking cron and wget, but i'll keep puppet watching the file for changes and restarting the daemon
[2008/05/30 02:51:45] <Volcane> also need to consider how you do this, like if you start downloading the file you dont want to be overwriting it while you download it
[2008/05/30 02:51:49] <Volcane> so first download to /tmp
[2008/05/30 02:51:51] <Volcane> then move into final spot
[2008/05/30 02:52:06] @ holoway joined channel #puppet
[2008/05/30 02:53:07] @ plathrop joined channel #puppet
[2008/05/30 02:53:22] <gepetto> ::puppet:: Puppet Reporting edited by flakrat @ http://reductivelabs.com/trac/puppet/wiki/PuppetReporting (by flakrat@yahoo.com)
[2008/05/30 02:53:57] @ jvanzyl joined channel #puppet
[2008/05/30 02:55:09] @ Quit: neh: Read error: 110 (Connection timed out)
[2008/05/30 03:00:17] @ Ol_ joined channel #puppet
[2008/05/30 03:14:44] @ Quit: tmz_: "leaving"
[2008/05/30 03:17:38] @ emerose joined channel #puppet
[2008/05/30 03:20:06] <sigmonsays> Is there an option to puppetd to stop using annoying terminal colors?
[2008/05/30 03:21:41] <benp-> yes
[2008/05/30 03:22:16] <benp-> --color false i think
[2008/05/30 03:25:53] <sigmonsays> nice. some reason my rdoc is broke and i'm out of luck. i'l haev to fix that later
[2008/05/30 03:28:57] <benp-> i just use the configuration reference page for that stuff
[2008/05/30 03:31:23] <muerr> I'd like the info stuff that comes out in red to be blue, but i'm not ambitious enough to hack the code.
[2008/05/30 03:32:26] <benp-> blue is only good if your terminal background is white
[2008/05/30 03:33:17] <muerr> It is :D
[2008/05/30 03:33:35] <muerr> I hate black background terminals, so dreary.
[2008/05/30 03:33:59] <muerr> Not to mention colors are often hard to distinguish on laptop LCDs.
[2008/05/30 03:34:03] <lak> muerr: all of your colors should be visible, whatever background you use
[2008/05/30 03:34:12] <lak> you *can* actually tweak the colors in most cases
[2008/05/30 03:34:23] <lak> the only counter-example being apple's terminal.app, but in that case, use iterm
[2008/05/30 03:35:11] @ f--z joined channel #puppet
[2008/05/30 03:35:52] @ Quit: jvanzyl:
[2008/05/30 03:39:15] <ashp> Hmm weird, I added ruby-shadow to install from kickstart, and now puppet says that useradd doesn't support manages_passwords, I wonder what I've messed up. :/
[2008/05/30 03:40:20] <ashp> hmm, it really doesn't find the support now.
[2008/05/30 03:42:26] <sigmonsays> so how can I buy a beer for the puppet maintainers :)
[2008/05/30 03:42:48] <sigmonsays> I have all this beer driking time now ;)
[2008/05/30 03:42:59] <sigmonsays> jk, that's not how this field works
[2008/05/30 03:43:26] <ashp> no, lak runs on whiskey
[2008/05/30 03:43:41] <ashp> I should get my friend to pop to a distillery next time he's home in scotland and send some lak's way
[2008/05/30 03:43:47] * lak is quite the beer snob too :)
[2008/05/30 03:44:15] <lak> i think i'll be bringing the training class to Bridgeport Brewery next week
[2008/05/30 03:44:35] <sigmonsays> kind far for me :)
[2008/05/30 03:45:49] * chadh isn't a big beer drinker
[2008/05/30 03:46:17] <chadh> I have found that I can handle Blue Moon, but I can nurse one all night :)
[2008/05/30 03:47:08] <ashp> bring the training class to john harvard's brewery, right next to my work :)
[2008/05/30 03:47:43] <lak> chadh: well, i can take recommendations, but bridgeport is cool for more than just beer
[2008/05/30 03:47:48] <flakrat> here in Alabama, breweries are non existent :(
[2008/05/30 03:48:07] <lak> i haven't decided on it or anything, but it was the first decent option i came up with, and it's an easy streetcar ride away
[2008/05/30 03:48:41] <chadh> lak: nah. it's fine. I am trying to work on it (only been drinking for about a year :))
[2008/05/30 03:48:45] <sigmonsays> I need a file deleted before I start a service. Yet if I say "require => File[..]" it doesn't seem to wor
[2008/05/30 03:48:50] <lak> heh
[2008/05/30 03:49:22] <ashp> lak: good news (for the future), I convinced my boss to give me a support contract in the next budget
[2008/05/30 03:49:24] @ jvanzyl joined channel #puppet
[2008/05/30 03:49:32] <ashp> So that's gotta be good for a bottle of two of the good stuff on your end :)
[2008/05/30 03:49:33] <lak> ashp: very good news
[2008/05/30 03:49:38] <lak> indeed :)
[2008/05/30 03:49:48] <ashp> I'm not sure when they do budgets again but all the students leave in a week, so it must be soon
[2008/05/30 03:51:47] <flakrat> is Rails 2.x supported now for StoredConfiguration?
[2008/05/30 03:52:15] <flakrat> the PuppetShow page seems to indicate as much, but the StoredConfiguration pages says it isn't
[2008/05/30 03:52:35] <lak> i think it is
[2008/05/30 03:52:45] <lak> try it and update the storedconfigs page? :)
[2008/05/30 03:53:28] <flakrat> haha, I just might do that, however this is my first attempt at using the reporting feature, so it might take me some time to get there :p
[2008/05/30 03:54:25] @ Quit: nigelk:
[2008/05/30 03:54:40] @ emerose_ joined channel #puppet
[2008/05/30 03:56:48] <ashp> didn't someone on the list recently have puppet forget how to manage passwords with the useradd provider
[2008/05/30 03:56:52] <ashp> i swear i saw something about that
[2008/05/30 03:57:43] <lak> yeah
[2008/05/30 03:57:48] <lak> the server was running an older version
[2008/05/30 03:57:56] <lak> that didn't support the password parameter
[2008/05/30 03:58:07] <ashp> Oh, I just upgraded cobbler and set ruby-shadow to install on kickstart
[2008/05/30 03:58:11] <ashp> and now it can't manage passwords for me
[2008/05/30 03:58:15] <ashp> so I'm trying to find out what it broke
[2008/05/30 03:58:26] <duritong> hmm /win 16
[2008/05/30 03:58:28] <duritong> grrr
[2008/05/30 03:58:47] <ashp> it decided to shove a i386 library onto x86_64, case closed
[2008/05/30 03:59:28] @ Quit: andrewcshafer:
[2008/05/30 04:01:04] @ andrewcshafer joined channel #puppet
[2008/05/30 04:01:36] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/05/30 04:03:03] @ Quit: lak:
[2008/05/30 04:09:19] @ dysinger joined channel #puppet
[2008/05/30 04:09:45] <muerr> Anyone familiar with Cobbler enough to know: we already have pxe/dhcp/kickstart setup and working well, with all the configuration of those managed by puppet - is there a compelling reason to switch to cobbler?
[2008/05/30 04:11:57] <ashp> no, probably not
[2008/05/30 04:12:07] <ashp> I use cobbler but it's specifically just to automate the pxe/dhcp/kickstart bit
[2008/05/30 04:15:40] <muerr> I didn't think it was overly compelling, but probably something good to have in the reference file.
[2008/05/30 04:16:54] <ashp> I think it's mostly useful if like us, you didn't have anything in place.
[2008/05/30 04:17:03] <ashp> It lets me do all the grunt work and I appreciated that!
[2008/05/30 04:17:20] <ashp> (skip doing)
[2008/05/30 04:17:30] <ashp> dammit, I really don't want to do the grunt work :)
[2008/05/30 04:18:23] <muerr> We didn't have anything in place, no. But I didn't know about Cobbler, and I'd already used PXE, and we already had the DHCP server on the build vlan.
[2008/05/30 04:19:02] <muerr> actually dhcp was one of the earlier modules i wrote in puppet
[2008/05/30 04:19:36] <ashp> I just like cobbler as it manages the whole thing easily, adding/removing systems is easy
[2008/05/30 04:19:39] <ashp> but the downside is say
[2008/05/30 04:19:51] <ashp> if you have rhel 5.1 and want to deploy 5.2 suddenly
[2008/05/30 04:19:58] <ashp> it's a huge pain in the butt to import it and change everything to use it
[2008/05/30 04:20:45] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2008/05/30 04:21:25] @ miah joined channel #puppet
[2008/05/30 04:23:40] <muerr> :)
[2008/05/30 04:24:05] <muerr> We change a kickstart file and the pxe defaults file to point ot the new version for particular hosts, or for a generic build. its about 3 changes.
[2008/05/30 04:24:16] <sigmonsays> what has to be done to get lsb in facter? Somehow I don't have it on some servers
[2008/05/30 04:24:45] <muerr> sigmonsays: you need to have the distro's lsb packages installed.
[2008/05/30 04:24:53] <sigmonsays> ahhhh!
[2008/05/30 04:25:11] <muerr> redhat-lsb for example, on rhel.
[2008/05/30 04:25:14] * sigmonsays thought it was all self contained
[2008/05/30 04:25:19] <sigmonsays> cheers
[2008/05/30 04:25:40] <muerr> iirc, facter just parses the output from commands or files in the lsb package(s).
[2008/05/30 04:26:01] <sigmonsays> that's complex. which came first. the chicken or the egg
[2008/05/30 04:26:10] <sigmonsays> lsb or puppet :)
[2008/05/30 04:26:26] <miah> lsb
[2008/05/30 04:29:14] <muerr> I think lsb is normally installed by default, at least, thats part of the poitn :)
[2008/05/30 04:29:22] <muerr> being a "standard base" and all.
[2008/05/30 04:29:41] <benp-> i purposely avoid installing it
[2008/05/30 04:29:51] <benp-> especially from kickstart
[2008/05/30 04:30:18] <sigmonsays> benp-, why?
[2008/05/30 04:30:18] <benp-> because it depends on too much stuff that i want to install and have control of later on
[2008/05/30 04:30:41] <benp-> for example, i don't want it to install sendmail, which it does. i want to use puppet to install postfix later
[2008/05/30 04:34:04] @ lak joined channel #puppet
[2008/05/30 04:34:06] <Volcane> you can put postfix and -sendmail in your ks file %packages section
[2008/05/30 04:34:18] <Volcane> they both satisfy the dependencies that the lsb needs
[2008/05/30 04:35:30] <holoway> my big hate for redhat-lsb: cups
[2008/05/30 04:35:43] <lak> and X
[2008/05/30 04:35:49] <holoway> lak: surely
[2008/05/30 04:35:54] <holoway> but even X I can survive
[2008/05/30 04:35:58] <Volcane> yeah hate installing cups thats for sure
[2008/05/30 04:36:03] <holoway> oh well
[2008/05/30 04:36:13] <Volcane> but lsb says you need lpr commands
[2008/05/30 04:36:31] * holoway snuggles an Ubuntu machine, and forgives Debian for 16 bit ssh keys
[2008/05/30 04:36:50] <Volcane> what does ubuntu install to be lsb compliant if not cups?
[2008/05/30 04:37:29] <holoway> Volcane: I think the single files we care about most are the lsb-release stuff
[2008/05/30 04:37:36] <holoway> which it just includes by default
[2008/05/30 04:37:47] <holoway> (without actually requiring total LSB compliance in the pacakge deps)
[2008/05/30 04:37:57] <Volcane> thats pathetic
[2008/05/30 04:38:30] <benp-> thats awesome
[2008/05/30 04:39:30] <Volcane> no, its a blatant lie
[2008/05/30 04:40:14] @ Quit: f3ew: Read error: 110 (Connection timed out)
[2008/05/30 04:40:49] @ elrako2 joined channel #puppet
[2008/05/30 04:41:02] @ f3ew joined channel #puppet
[2008/05/30 04:42:24] <elrako2> how do I prevent issues when I have two puppet servers, wherein my servers on build ask to talk to puppet01, they submit a CSR, Puppet signs it, and then it's in. But when talking to puppet02, there's obviously an error with regard to hostname mismatches, etc. We like redundancy where I work, so if having two servers is verbooten, guess it would be good to know...
[2008/05/30 04:42:33] <Volcane> ah, at least its not claiming compliance to lsb with just lsb-release installed
[2008/05/30 04:45:38] <holoway> elrako2: so you have one puppet server that's signing, and another that's servicing requests?
[2008/05/30 04:45:52] <holoway> you need to configure puppet to use puppet01 as the certificate server
[2008/05/30 04:46:06] <holoway> or start rsync-ing your certs around
[2008/05/30 04:47:30] <windowsrefund> does anyone here use the interface type?
[2008/05/30 04:48:15] <muerr> i hate cups and its 'requirement' in lsb as well. linux is best used as a server operating system, and most servers don't have freaking printers attached. ><
[2008/05/30 04:48:18] * muerr unrants.
[2008/05/30 04:48:37] <muerr> windowsrefund: I wrote my own defined resource type to handle network interfaces.
[2008/05/30 04:48:51] <Volcane> muerr: cups is a printer server :P
[2008/05/30 04:49:40] <Volcane> its funy that to be lsb compliant u need rpm on it
[2008/05/30 04:49:47] <Volcane> install full lsb on a debian box and u get a working rpm
[2008/05/30 04:49:52] <muerr> Volcane: semantics. i'm a service minimalist, so i don't want crap running or even installed if it doesn't need to be there.
[2008/05/30 04:50:05] <windowsrefund> muerr: I did also but am just curious about moving that to the native type
[2008/05/30 04:50:13] <windowsrefund> I just wonder if it supports bonding
[2008/05/30 04:50:20] <muerr> Ha! Mine does :-).
[2008/05/30 04:50:21] <Volcane> muerr: i agree
[2008/05/30 04:50:31] <muerr> Which is why I wrote my own, because the interface type in Puppet doesn't.
[2008/05/30 04:50:36] <windowsrefund> ah yes
[2008/05/30 04:50:45] <windowsrefund> then I'll stick with mine for the same reason
[2008/05/30 04:51:01] <muerr> much to luke's chagrin, i might add.
[2008/05/30 04:52:13] @ Quit: dysinger:
[2008/05/30 04:52:51] <miah> why not patch the puppet interface type then?
[2008/05/30 04:53:17] * Volcane has many headaches from that code
[2008/05/30 04:53:33] <Volcane> s/has/had
[2008/05/30 04:54:06] @ greenmoss joined channel #puppet
[2008/05/30 04:54:45] <muerr> I'm not a Ruby programmer.
[2008/05/30 04:55:16] <muerr> Ironically, I suppose, since I had to write a fair amount of logic in ERb templates for my interface define.
[2008/05/30 04:56:30] <muerr> http://pastie.org/205536
[2008/05/30 04:58:03] * jbooth has also been having trouble with interface{} but the ruby code looked like gibberish to me.
[2008/05/30 05:00:23] <muerr> I really need to git off my butt and post some of our modules to github that my manager approved as "public safe" :)
[2008/05/30 05:01:34] <ashp> i love working for a university because i can claim it's educational to publish them :D
[2008/05/30 05:01:57] <ashp> miah: I tried to fix the puppet interface type but it's really confusing.
[2008/05/30 05:02:08] <ashp> I made a ticket and partially patched some easy bits, but the whole thing is confusing to me
[2008/05/30 05:03:47] @ e^ipi joined channel #puppet
[2008/05/30 05:03:59] <miah> ah
[2008/05/30 05:04:03] <miah> i have yet to look at it
[2008/05/30 05:04:10] <e^ipi> i don't understand this... i have rails set as a dependency of mongrel
[2008/05/30 05:04:17] <miah> and im no ruby programmer either, but when i get some time soon i want to look
[2008/05/30 05:04:17] <e^ipi> yet puppet is pulling in mongrel, but no rails
[2008/05/30 05:04:25] <e^ipi> ( gem package provider
[2008/05/30 05:04:25] <miah> end of quarter here, so soon i hope =)
[2008/05/30 05:05:03] <stick> muerr: ashp: I think about everyone came to the same conclusion, I also have my own type/define to handle interfaces (and yes it does support bonding as well) :)
[2008/05/30 05:05:29] <ashp> I want to be a ruby programmer, but cutting my teeth on puppet is a hard task as it does a lot of 'clever' things :)
[2008/05/30 05:05:44] <ashp> Also, anyone here used mysql clustering or whatever the hell it supports for mirroring content between database servers?
[2008/05/30 05:05:53] <ashp> We're setting up our mysql 5 environment, and by we that basically means 'me'
[2008/05/30 05:06:28] <muerr> i have three interface defines (generic redhat based, trunks on bsd and carp on bsd), two routes and one thath andles /etc/sysconfig/network on redhat.
[2008/05/30 05:06:39] <muerr> replication?
[2008/05/30 05:07:41] <ashp> yeah, possibly, we're (going to) have db1 and db2
[2008/05/30 05:07:42] * Volcane has many many mysql 5 servers
[2008/05/30 05:07:47] <ashp> and I should really mirror between them.
[2008/05/30 05:07:49] <muerr> ashp: master-host, master-port, master-user, master-password are the optins in my.cnf you'll be most interested in.
[2008/05/30 05:08:02] <ashp> rather than how to set it up I was interested in 'how well does it work?'
[2008/05/30 05:08:07] <ashp> is it reasonable or will I have endless problems?
[2008/05/30 05:08:10] <Volcane> ashp: short answer, not that hot
[2008/05/30 05:08:23] <muerr> synchronization across geographically disparate sites is a pain.
[2008/05/30 05:08:27] <Volcane> but it depends on your needs
[2008/05/30 05:08:44] <muerr> there can be transaction lag.
[2008/05/30 05:08:58] <Volcane> replication is serial over a single thread
[2008/05/30 05:09:09] <Volcane> so you have lets say 20 web servers writing to db1
[2008/05/30 05:09:15] <Volcane> all multiple threads, using all cores etc
[2008/05/30 05:09:21] <Volcane> this then writes a sequential lag
[2008/05/30 05:09:23] <Volcane> log
[2008/05/30 05:09:35] <Volcane> which gets replayd to the other side 1 query a time in series
[2008/05/30 05:09:38] <Volcane> using only one core etc
[2008/05/30 05:09:56] <Volcane> so it cant always keep up
[2008/05/30 05:10:04] <ashp> Ahhh, ok.
[2008/05/30 05:10:15] <ashp> We have absolutely minimal performance requirements is my understanding.
[2008/05/30 05:10:24] <ashp> It's just a handful of boxes doing the odd read/write for various web applications.
[2008/05/30 05:10:35] <ashp> They hired a company to 'transition' us from mysql4 to mysql5.
[2008/05/30 05:10:38] <Volcane> if u dont mind potential delays between replicas its ok
[2008/05/30 05:10:42] <ashp> Which is a shocking waste of money to me.
[2008/05/30 05:10:45] <Volcane> and generally u have one master and several slaves
[2008/05/30 05:10:46] @ Innocenti joined channel #puppet
[2008/05/30 05:11:08] <ashp> Volcane: I don't think we're going to loadbalance the servers or anything fancy, but I'm not sure
[2008/05/30 05:11:14] <Volcane> u get master master but its prett complex
[2008/05/30 05:11:21] <ashp> I think we'd just have master-slave
[2008/05/30 05:11:29] <Volcane> and u get DRDB based clusters for failover
[2008/05/30 05:11:31] <ashp> maybe we'll have clients read from slave and write to master? :D
[2008/05/30 05:11:33] <Volcane> but those also have issues
[2008/05/30 05:11:43] <ashp> my knowledge of databases is limited to installing mysql and shoving in tables, I'm no dba
[2008/05/30 05:11:46] <Volcane> ashp: thats the general approach yes, if u can deal with lag
[2008/05/30 05:11:55] <ashp> Yeah I think the lag will be fine
[2008/05/30 05:12:04] <ashp> considering their new CMS only publishes our website 4 times a day
[2008/05/30 05:12:13] <ashp> if they can wait hours for website updates, a few minutes for database syncing is fine
[2008/05/30 05:12:48] <Volcane> sweet
[2008/05/30 05:12:51] <Volcane> tehn it will work well
[2008/05/30 05:13:35] <e^ipi> okay, seriously wtf...
[2008/05/30 05:13:52] <e^ipi> why on earth is this dependency not only not being respected, but completely ignored
[2008/05/30 05:14:08] <Volcane> ashp: yeah i too think getting a consultancy for a 4 to 5 migration is madness
[2008/05/30 05:14:28] <Volcane> generally you just pop in the new box and it works, a consultancy will have u end up with a very complex setup
[2008/05/30 05:15:03] @ dinococcus joined channel #puppet
[2008/05/30 05:15:27] <muerr> I've worked with a few different CMS software packages and those that supported both MySQL 4 and MySQL 5 either had conversion scripts to upgrade, or it just didn't even matter.
[2008/05/30 05:15:39] <Volcane> yeah
[2008/05/30 05:15:55] <Volcane> there are some canges and so, and in some cases some queries have altered their behaviour
[2008/05/30 05:16:04] <dinococcus> what is the difference between ' ensure => present; ' and ' ensure => installed; ' ?
[2008/05/30 05:16:07] <Volcane> but certainly edge cases
[2008/05/30 05:18:55] <muerr> dinococcus: they're the same, assuming you're talking about the package type.
[2008/05/30 05:19:08] <muerr> Valid values are latest, present (also called installed), absent, purged. Values can also match (?-mix:.).
[2008/05/30 05:19:30] <holoway> Volcane: drbd masters for the win, but we've talked about this before. :)
[2008/05/30 05:19:53] <dinococcus> I did not know 'present' and 'installed' are the same, thanks.
[2008/05/30 05:20:45] <Volcane> holoway: nods
[2008/05/30 05:24:14] @ Quit: DavidS: Read error: 110 (Connection timed out)
[2008/05/30 05:26:04] @ DavidS joined channel #puppet
[2008/05/30 05:26:33] @ Quit: cmoates: "Leaving"
[2008/05/30 05:29:06] <Volcane> ashp: what uni are you at?
[2008/05/30 05:29:16] <ashp> harvard law
[2008/05/30 05:29:28] <Volcane> ah kewl
[2008/05/30 05:29:42] <ashp> Volcane: the migration is silly but we had a few databases (webevents) that wouldn't upgrade cleanly
[2008/05/30 05:29:53] <ashp> I think they just wanted the company to test all the databases for us so we didn't have to, we love wasting money apparently
[2008/05/30 05:30:15] <Volcane> yeah easy to understand for a big well funded place like that
[2008/05/30 05:32:21] @ ezralini joined channel #puppet
[2008/05/30 05:34:06] <ezralini> I've been poking google for the answer with no luck: What's the best (or a) way to have Nagios test if puppet is running on a node?
[2008/05/30 05:34:55] <muerr> ezralini: we're just checking if puppetd is in the ps table.
[2008/05/30 05:34:56] <lak> i posted a status script a while back, i'm pretty sure
[2008/05/30 05:35:40] @ jfincher joined channel #puppet
[2008/05/30 05:35:45] <benp-> i just do check_tcp on the puppetd port.. that works assuming you have listen=true
[2008/05/30 05:36:14] <jfincher> maybe I'm missing something, but how can I say "Symlink all the files in directory1 from directory2"?
[2008/05/30 05:36:17] <ezralini> lak: http://reductivelabs.com/trac/puppet/browser/ext/nagios/check_puppet.rb ?
[2008/05/30 05:36:39] @ Quit: barnum: "bork"
[2008/05/30 05:36:45] * Volcane checks the age of the localconfig.yaml on each machine with nagios
[2008/05/30 05:36:49] <benp-> other people suggested looking at timestamps on files in your puppetmaster's reports dir. so that if something exceeds 30 minutes or whatever, the alarm goes off
[2008/05/30 05:36:52] <Volcane> and process list entries
[2008/05/30 05:37:36] <ezralini> hmmm.... lots of approaches
[2008/05/30 05:37:46] <benp-> jfincher: probably easiest to do that by exec'ing cp
[2008/05/30 05:38:14] <jfincher> benp-: example?
[2008/05/30 05:40:19] @ Quit: gileswork: "ChatZilla 0.9.82.1 [Firefox 2.0.0.14/2008040413]"
[2008/05/30 05:41:01] <benp-> type reference for exec{} and man page for cp(1).. you'll have to get creative with the exec parameters to stop it from happening with every puppet run
[2008/05/30 05:41:04] @ Quit: jvanzyl:
[2008/05/30 05:43:07] <jfincher> I wish there were some way to execute arbitrary Ruby code to generate a list of files to link, or something
[2008/05/30 05:43:30] <plathrop> jfincher: There is. Write a ruby script then call it via Exec
[2008/05/30 05:43:46] <jfincher> plathrop: is exec an :rvalue?
[2008/05/30 05:44:18] <ashp> Wouldn't the easiest way to just touch a file in /tmp every 30 minutes
[2008/05/30 05:44:19] <plathrop> ... huh? No exec is a Puppet resource type
[2008/05/30 05:44:26] <ashp> then check for that?
[2008/05/30 05:49:39] <greenmoss> ezralini: I have puppet write to a file periodically, then nagios checks whether the file has been updated... that way you know it's actually doing something, and not just "running, possibly, maybe with error"
[2008/05/30 05:49:57] <ashp> see!
[2008/05/30 05:50:04] <ashp> I'm not a lunatic :)
[2008/05/30 05:50:06] <ezralini> greenmoss: I like that Idea
[2008/05/30 05:50:27] <ezralini> ashp: um, yours as well :)
[2008/05/30 05:50:42] <greenmoss> I'm actually considering switching to having the *master* write to a file, then propagating that file out, then having nagios check *that*
[2008/05/30 05:51:28] <ashp> What's the benefit over doing that rather than just exec { "date > /tmp/nagios.test" }
[2008/05/30 05:52:12] <ashp> Hmm, anyone stumbled over 'zenoss'
[2008/05/30 05:52:20] <greenmoss> ashp: it ensures that the client is correctly executing changes from the server; if I just do things on the client side, it doesn't ensure actual communication
[2008/05/30 05:52:20] <ashp> We are looking for alternatives to splunk
[2008/05/30 05:52:22] <ezralini> ashp: funny you should ask
[2008/05/30 05:52:29] @ andrewcshafer joined channel #puppet
[2008/05/30 05:52:35] <ezralini> I just set it up for the 1st time yestaerday
[2008/05/30 05:52:58] <jfincher> plathrop: so if I want a list of the files in $dir, can I do 'exec { myfiles: command => "ls $dir" }' and then use that value (as a list of strings) elsewhere as Exec[myfiles]?
[2008/05/30 05:53:10] <ezralini> It's quite different than splunk, though.
[2008/05/30 05:53:33] <greenmoss> for instance, I just got bitten by #899, but didn't know it... even though I had my nagios check set up as mentioned above
[2008/05/30 05:53:36] <gepetto> greenmoss: #899 is http://reductivelabs.com/trac/puppet/ticket/899 "CRL signature failure when using apache/mongrel"
[2008/05/30 05:54:02] <greenmoss> if I'd had the server generating a timestamp, then checking the propagated file using nagios, I would have known it immediately
[2008/05/30 05:54:41] <plathrop> jfincher: No, not really. What you want to do is write a script that takes two directories as arguments and does the symlinking you want.
[2008/05/30 05:54:59] <plathrop> jfincher: Then set up an exec resource that calls that script with the relevant arguments.
[2008/05/30 05:55:18] <jfincher> ok
[2008/05/30 05:55:53] <Volcane> the best way is to check the age of localconfig
[2008/05/30 05:55:59] <plathrop> jfincher: Out of curiosity, why not just one symlink? Directory1 -> Directory2 ?
[2008/05/30 05:56:11] <jfincher> plathrop: there are other contents in directory2
[2008/05/30 05:56:14] <Volcane> localconfig updates whenever a succesfull compile happens
[2008/05/30 05:56:30] <Volcane> if u have syntax errors o something and some hosts arent compiling
[2008/05/30 05:56:37] <Volcane> they'l still run, still make your date files
[2008/05/30 05:56:40] <Volcane> but on cached configs
[2008/05/30 05:57:02] <ezralini> greenmoss: would Volcane's methos have worked in your case? I think so, right?
[2008/05/30 05:57:20] <ezralini> s/methos/method/
[2008/05/30 05:57:44] <greenmoss> ezralini: I don't know... I suppose I could test it and find out...
[2008/05/30 05:58:35] <ezralini> Volcane: So what do you use, a custom bash script, or is there a nagios plugin that will check the timestamp of a specific file?
[2008/05/30 05:58:52] <ezralini> I imagine you are doing it through nrpe as well?
[2008/05/30 05:59:22] <Volcane> command[check_puppetfreshness]=/usr/lib64/nagios/plugins/check_file_age -f /var/lib/puppet/state/state.yaml -w 3600 -c 4000
[2008/05/30 06:01:57] @ Quit: muerr: "Leaving."
[2008/05/30 06:02:13] <ashp> ezralini: Let me know how it works out, as we're just 'looking' right now
[2008/05/30 06:02:16] <ezralini> Volcane: Cool. Thanks. I didn't know about that check. Even found this: http://download.fedora.redhat.com/pub/epel/5/i386/repoview/nagios-plugins-file_age.html
[2008/05/30 06:02:40] <ezralini> ashp: I can tell you, it is confusing, but very robust
[2008/05/30 06:02:56] <Volcane> i use nagios-plugins-1.4.8-2.el5.rf from rpmforge
[2008/05/30 06:03:06] <ezralini> ashp: I'm also checking out Zabbix and Opennms
[2008/05/30 06:03:20] <ezralini> Volcane: I have as well, too
[2008/05/30 06:03:37] <ezralini> My setup right now is using Centos and EPEL though
[2008/05/30 06:04:03] <ezralini> I think
[2008/05/30 06:04:36] <benp-> centos+epel ftw
[2008/05/30 06:06:20] <jfincher> plathrop: thanks for the help
[2008/05/30 06:06:24] @ jfincher left channel #puppet ("Leaving")
[2008/05/30 06:06:38] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/30 06:09:03] <greenmoss> Hmm... can't duplication my problem from before, so I can't verify whether or not the state.yaml file would have been updated
[2008/05/30 06:09:12] <greenmoss> s/duplication/duplicate/
[2008/05/30 06:11:41] <gepetto> ::puppet:: Version Control Puppet edited by RijilV @ http://reductivelabs.com/trac/puppet/wiki/VersionControlPuppet (by rijilv@gmail.com)
[2008/05/30 06:14:26] <Volcane> i check on state, cos mostly i care if it runs regularly, if u check on localconfig it will detect config issues
[2008/05/30 06:15:01] <Volcane> -rw-r----- 1 root root 91152 May 29 21:13 /var/lib/puppet/localconfig.yaml
[2008/05/30 06:15:02] <Volcane> -rw-r----- 1 root root 31351 May 29 21:14 /var/lib/puppet/state/state.yaml
[2008/05/30 06:15:07] <Volcane> i made a deliberate config error
[2008/05/30 06:15:15] <Volcane> state = last run
[2008/05/30 06:15:25] <Volcane> localconfig = last rebuild, when master last sent it a cofig
[2008/05/30 06:15:48] <windowsrefund> Volcane, that's awesome
[2008/05/30 06:16:20] <greenmoss> yeah, definitely... switching to that method right now
[2008/05/30 06:20:07] @ jvanzyl joined channel #puppet
[2008/05/30 06:20:38] <Volcane> or you could easily write something to just chek all the ages in /var/lib/puppet/yaml/node on the master and report on old ones
[2008/05/30 06:21:07] <Volcane> but i prefer checking on machines
[2008/05/30 06:21:26] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 06:21:44] @ jvanzyl joined channel #puppet
[2008/05/30 06:22:57] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 06:23:04] @ jvanzyl joined channel #puppet
[2008/05/30 06:24:20] <waawaamilk> Volcane: that's what 'puppetlast' is for
[2008/05/30 06:24:45] <sigmonsays> w00t. that's what puppetlast is for!
[2008/05/30 06:24:48] <sigmonsays> I didn'tknow that existed
[2008/05/30 06:25:02] <waawaamilk> recent addition :p
[2008/05/30 06:25:12] <greenmoss> where is "puppetlast"? locate findeth not
[2008/05/30 06:25:26] <waawaamilk> /usr/bin/puppetlast - only in most recent puppet I think
[2008/05/30 06:25:37] <greenmoss> 0.24.4?
[2008/05/30 06:25:41] <Volcane> not in the redhat packages
[2008/05/30 06:25:44] <waawaamilk> as in - potentially not released yet recent puppet
[2008/05/30 06:25:57] <waawaamilk> but it's a simple ruby script, ported from a simple perl script
[2008/05/30 06:26:04] <Volcane> kewl
[2008/05/30 06:26:07] <waawaamilk> check the puppet tracker for 'puppetlast' or 'puppetwhen'
[2008/05/30 06:26:15] @ Quit: lak:
[2008/05/30 06:26:26] <waawaamilk> the perlscript runs faster, at the expense of hardcoding some config options ;)
[2008/05/30 06:26:43] <Volcane> neat, i dont care generally, as long as nagios doesnt complain I'm happy :)
[2008/05/30 06:30:37] @ lak joined channel #puppet
[2008/05/30 06:31:44] <ezralini> Volcane: I am pretty sure that is what lak was referring to with: http://reductivelabs.com/trac/puppet/browser/ext/nagios/check_puppet.rb
[2008/05/30 06:32:10] <Volcane> kewl
[2008/05/30 06:32:23] <ezralini> I'm not a ruby coder, but a quick glance looks like it does a very similar job, namely checking the state.yaml file
[2008/05/30 06:34:07] <Volcane> man these mac os x updates are insanely big
[2008/05/30 06:34:15] <Volcane> how do they think modem users are supposed to use it
[2008/05/30 06:34:38] <greenmoss> Volcane: supposedly you can get free update disks from a local apple store
[2008/05/30 06:34:45] <Volcane> interesting
[2008/05/30 06:34:56] <Volcane> i pondered giving my mom a mac
[2008/05/30 06:35:08] <waawaamilk> you can get free debian disks as well :)
[2008/05/30 06:35:10] * waawaamilk trolls
[2008/05/30 06:35:10] <Volcane> but she's in a tiny little town in sa
[2008/05/30 06:35:14] <windowsrefund> but osx is just stolen free software
[2008/05/30 06:35:26] @ Quit: lak: Client Quit
[2008/05/30 06:36:04] <greenmoss> windowsrefund: but how can you steal something that's free? ;)
[2008/05/30 06:36:12] <Volcane> windowsrefund: interesing point of view, its cheaper than redhat and has a much bigger investment in code from themselves than redhat
[2008/05/30 06:37:03] @ andrewcshafer_ joined channel #puppet
[2008/05/30 06:37:16] <windowsrefund> right but apple took freebsd, changed it, then redistributed under a freedom restricting license
[2008/05/30 06:37:18] <greenmoss> waawaamilk: I'm definitely down with the Debian (or Ubuntu)...
[2008/05/30 06:37:23] <windowsrefund> that's stolen free software in my book
[2008/05/30 06:37:23] <benp-> the bits that came from NeXT are more relevant than the bits from bsd
[2008/05/30 06:37:30] @ Quit: Zothar_Work: "ChatZilla 0.9.82.1 [Firefox 2.0.0.14/2008040414]"
[2008/05/30 06:37:39] <windowsrefund> and apple is alllll about DRM
[2008/05/30 06:37:42] <Volcane> windowsrefund: not if the free software's authors made a concious choice to allow that
[2008/05/30 06:37:49] <benp-> you don't need to install the unix userland..
[2008/05/30 06:37:57] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer)
[2008/05/30 06:38:03] <windowsrefund> Volcane, it's stolen regardless of the authors who chose a weak license
[2008/05/30 06:38:12] <windowsrefund> because it is counter to the agenda of the movement
[2008/05/30 06:38:13] <waawaamilk> ubuntu is le-poos
[2008/05/30 06:38:25] <waawaamilk> windowsrefund: it's not really...
[2008/05/30 06:38:25] <benp-> waawaamilk: is that good or bad?
[2008/05/30 06:38:27] @ andrewcshafer_ joined channel #puppet
[2008/05/30 06:38:29] <Volcane> windowsrefund: your movement maybe, not the movement the authors chose to support.
[2008/05/30 06:38:39] <windowsrefund> splitting hairs
[2008/05/30 06:38:48] <waawaamilk> the people who wrote the software fully anticipate others using it and not contributing back
[2008/05/30 06:38:54] <windowsrefund> the point is that osx is just as bad as windows from an ethical perspective
[2008/05/30 06:38:59] <waawaamilk> what they get in return is their software being used more widely
[2008/05/30 06:39:13] @ nevele joined channel #puppet
[2008/05/30 06:39:22] <windowsrefund> it's not just about "contributing back". That's only 1 small part of the big picture
[2008/05/30 06:39:25] <waawaamilk> I'd disagree - the authors are getting what they ask for - and would you rather the mac was yet another proprietry system?
[2008/05/30 06:39:29] <windowsrefund> it's about freeoms 0-3
[2008/05/30 06:39:40] <windowsrefund> what?
[2008/05/30 06:39:44] <greenmoss> do I see a can of worms lying around here? Oh, there it is... just been opened too
[2008/05/30 06:39:44] <waawaamilk> which are gplisms, not bsdisms?
[2008/05/30 06:39:49] <benp-> *BSD isn't under the GPL
[2008/05/30 06:39:53] <windowsrefund> that mac IS a proprietary system
[2008/05/30 06:39:59] <windowsrefund> benp-, correct
[2008/05/30 06:40:02] <waawaamilk> well you know what I mean
[2008/05/30 06:40:14] <waawaamilk> like, completely shut off source like microsoft
[2008/05/30 06:40:21] <waawaamilk> poor choice of words by me previously
[2008/05/30 06:40:55] <greenmoss> it's all good, guys... use what you want (unless it's windows :p)
[2008/05/30 06:40:56] <waawaamilk> benp-: you referring to the ubuntu line?
[2008/05/30 06:40:58] @ dysinger joined channel #puppet
[2008/05/30 06:40:59] <benp-> windowsrefund: how do you feel about juniper routers?
[2008/05/30 06:41:23] <benp-> they're based on freebsd
[2008/05/30 06:41:42] <windowsrefund> benp-, basically, I think the bsd license is weak and short-sighted
[2008/05/30 06:41:51] <windowsrefund> if that gives you any hint how I feel about the routers :)
[2008/05/30 06:41:57] <Volcane> windowsrefund: for your goals.
[2008/05/30 06:41:58] <benp-> you can do that with the bsd license, make a commercial product, sell it, contribute nothing back, as long as you give credit.
[2008/05/30 06:42:06] <windowsrefund> wait
[2008/05/30 06:42:14] <windowsrefund> please stop using the word "commercial" like that
[2008/05/30 06:42:25] <waawaamilk> indeed
[2008/05/30 06:42:29] <windowsrefund> just say free or non-free
[2008/05/30 06:42:31] <windowsrefund> be clear
[2008/05/30 06:42:34] * waawaamilk agrees with windowsrefund on this one ;)
[2008/05/30 06:42:41] <Volcane> windowsrefund: maybe the bsd authors have other goals than yours, and well you have no right to critise how they decide to use/contribute their free time
[2008/05/30 06:42:47] * waawaamilk works for a large company that writes/uses almost entirely free software
[2008/05/30 06:42:55] <windowsrefund> Volcane, I certainly do have a right
[2008/05/30 06:42:57] <windowsrefund> as do you
[2008/05/30 06:43:05] <windowsrefund> waawaamilk, good to hear :)
[2008/05/30 06:43:21] <Volcane> i dont, its their choice, they wrote it, its their time investment, they can do whatever they want with the product of that
[2008/05/30 06:43:25] <waawaamilk> heh, my job is actually to be head of a FOSS project ;)
[2008/05/30 06:43:29] <windowsrefund> Volcane, wrong
[2008/05/30 06:43:51] <benp-> ugh
[2008/05/30 06:43:53] <machpo> but the word 'free' has been so overloaded and bastardized by the FSF, where they've actively twisted its meaning
[2008/05/30 06:43:54] <Volcane> so you're saying if i spend ten hours morrow to write some bit of code
[2008/05/30 06:44:01] <Volcane> you have a right to tell me what to do with that code?
[2008/05/30 06:44:08] @ Quit: kambiz: "Leaving"
[2008/05/30 06:44:18] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer)
[2008/05/30 06:44:21] <waawaamilk> err hang on - windowsrefund, explain why they're wrong for choosing the license code they have the copyright for is under?
[2008/05/30 06:44:30] <waawaamilk> -badgrammar
[2008/05/30 06:44:32] <windowsrefund> Volcane, you and I share an equal role in this binary ecosystem and therefore, have the right to discuss and criticize those decisions
[2008/05/30 06:44:43] @ andrewcshafer_ joined channel #puppet
[2008/05/30 06:44:59] <windowsrefund> because it touches the ecosystem I exist in
[2008/05/30 06:45:02] <windowsrefund> that's why
[2008/05/30 06:45:20] <windowsrefund> that's why we're talking about the ethical aspects of the licenses
[2008/05/30 06:45:20] <waawaamilk> they have copyright, therefore they have much more say than you :)
[2008/05/30 06:45:25] <windowsrefund> hence, ethical
[2008/05/30 06:45:49] <Volcane> you can run linux completely without any bsd code
[2008/05/30 06:45:52] <windowsrefund> someone *having* copyright does not make their decision on how to use it ethical
[2008/05/30 06:45:54] <Volcane> and bsd can run without your gpl code
[2008/05/30 06:45:56] <windowsrefund> it just makes it legal
[2008/05/30 06:45:59] <waawaamilk> you certainly can complain
[2008/05/30 06:46:00] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer)
[2008/05/30 06:46:08] <windowsrefund> please don't confuse the words "legal" and "ethical"
[2008/05/30 06:46:08] * waawaamilk would rather people picked the gpl
[2008/05/30 06:46:14] <windowsrefund> they're totally different things
[2008/05/30 06:46:28] @ andrewcshafer_ joined channel #puppet
[2008/05/30 06:46:42] <waawaamilk> I'm just not going to complain when they pick bsd over gpl, because they've picked open over closed
[2008/05/30 06:46:48] * Volcane thinks windowsrefund is a bigot and a moron, and cos you're in a channel i am in you're touching "my ecosystem" hhence i have a right to call you a moron
[2008/05/30 06:46:51] <Volcane> see?
[2008/05/30 06:46:53] <Volcane> its not nice
[2008/05/30 06:46:54] <Volcane> and not right
[2008/05/30 06:47:08] <Volcane> touching your "ecosystem" doesnt really make right to critsize people
[2008/05/30 06:47:08] <windowsrefund> Volcane, oh please
[2008/05/30 06:47:11] <Volcane> difference is
[2008/05/30 06:47:12] <windowsrefund> stop with the name calling
[2008/05/30 06:47:17] <Volcane> in my case i dont actually believe those things
[2008/05/30 06:47:18] <Volcane> u do
[2008/05/30 06:47:19] <Volcane> :)
[2008/05/30 06:47:26] <waawaamilk> hehehe
[2008/05/30 06:47:31] <windowsrefund> does it always have to come to that for you guys who are faced with real issues that touch on ethics?
[2008/05/30 06:47:35] <Volcane> windowsrefund: i am using it as an example of critisizm, doesnt mean i *mean* them
[2008/05/30 06:47:50] <benp-> yawn
[2008/05/30 06:47:54] <windowsrefund> well please don't be small minded
[2008/05/30 06:47:55] <Volcane> windowsrefund: its a demonstration of how being touched by you doesnt actually make it ethical or right to call u names and question your choices
[2008/05/30 06:48:02] <windowsrefund> oh stop
[2008/05/30 06:48:08] <windowsrefund> you're just being small now
[2008/05/30 06:48:10] <windowsrefund> think
[2008/05/30 06:48:13] <windowsrefund> use the brain
[2008/05/30 06:48:17] <holoway> okay, who has ops in this channel?
[2008/05/30 06:48:22] <Volcane> hehe.
[2008/05/30 06:48:24] <windowsrefund> oh god
[2008/05/30 06:48:24] <holoway> I love a good off topic flame war as much as the next guy
[2008/05/30 06:48:29] <holoway> but take it outside, so to speak
[2008/05/30 06:48:31] <windowsrefund> holoway, relax
[2008/05/30 06:48:53] * Volcane will stop, cos windowsrefund totally missed the bit of demonstrative sarcasm and is taking it personally
[2008/05/30 06:48:54] <holoway> windowsrefund: I'm cool as a cucumber, all ya'll are the ones with the hackles up
[2008/05/30 06:48:55] * machpo looks for puppet newbie w/a question
[2008/05/30 06:49:04] <benp-> im with holoway. please take it to #gpl or misc@openbsd.org or something
[2008/05/30 06:49:24] <windowsrefund> holoway, so stop with the silly terms like "flame war" and "off topic"
[2008/05/30 06:49:25] <windowsrefund> that's so old
[2008/05/30 06:49:35] <miah> i like the /ignore method the best
[2008/05/30 06:49:44] <miah> it avoids feeding the troll
[2008/05/30 06:49:46] <windowsrefund> if you're not part of the discussion that's taking place, start another or just go grab a beer
[2008/05/30 06:49:54] <windowsrefund> oh god
[2008/05/30 06:49:54] <windowsrefund> more
[2008/05/30 06:50:02] <windowsrefund> now the "troll" word had to be used
[2008/05/30 06:50:46] * windowsrefund is getting bored with the tired responses these people have been conditioned to use when faced with a topic involving social and ethical behavior
[2008/05/30 06:50:55] <Volcane> "these people"
[2008/05/30 06:51:03] <windowsrefund> I think I'll go play with Volcane's nrpe command :)
[2008/05/30 06:51:15] <benp-> make sure it's gpl'd!
[2008/05/30 06:51:20] <Volcane> yeah
[2008/05/30 06:51:23] <Volcane> since its my idea
[2008/05/30 06:51:30] <Volcane> i can decide windowsrefund isnt allowed to use it :P
[2008/05/30 06:51:40] <windowsrefund> wrong
[2008/05/30 06:51:44] <windowsrefund> you published
[2008/05/30 06:52:00] <windowsrefund> now your idea is my idea
[2008/05/30 06:52:08] @ martha left channel #puppet ()
[2008/05/30 06:52:10] <windowsrefund> and btw, thanks :)
[2008/05/30 06:52:18] <windowsrefund> it was (and still is) a great idea
[2008/05/30 06:52:30] * plathrop has had it and adds windowsrefund to his /ignores...
[2008/05/30 06:52:37] * Volcane sees windowsrefund still has zero concept of humour or sarcasm
[2008/05/30 06:52:42] * Volcane too
[2008/05/30 06:52:49] <windowsrefund> empowerment is a sweet thing plathrop
[2008/05/30 06:52:51] <windowsrefund> use it
[2008/05/30 06:52:56] * miah doesn't see anything that windowsrefund types.
[2008/05/30 06:53:23] <holoway> plathrop: I think we actually should get lak to assign some ops
[2008/05/30 06:53:29] <plathrop> holoway: +1
[2008/05/30 06:53:37] <plathrop> That was a mess.
[2008/05/30 06:53:39] <holoway> there are enough people in here, for sure
[2008/05/30 06:53:50] <holoway> it's kind of a miracle we haven't really needed it before
[2008/05/30 06:53:58] <greenmoss> eh, he meant well, I think...
[2008/05/30 06:54:05] @ Quit: andrewcshafer: No route to host
[2008/05/30 06:54:44] <plathrop> greenmoss: Maybe. It's not the first time he's seemed trollish to me, though.
[2008/05/30 06:55:01] <plathrop> (or she. I'm not bigoted, just using the language :-P)
[2008/05/30 06:55:22] <greenmoss> *shrugs* sometimes people just get emotionally attached to an issue... it's happened to me before too
[2008/05/30 06:55:28] <miah> use a non-gender specific word then, like 'they'
[2008/05/30 06:56:38] <plathrop> miah: Constructive criticism noted. I try. I often fail.
[2008/05/30 06:56:44] <plathrop> greenmoss: Amen, me too.
[2008/05/30 06:56:44] <miah> =)
[2008/05/30 06:57:50] <windowsrefund> troll
[2008/05/30 06:57:55] <plathrop> greenmoss: Difference with me is I try not to hammer other people's work over it. My impression was free software was about freedom, including the freedom to license your software however ou see fit.
[2008/05/30 06:58:07] <windowsrefund> what a ridiculous word
[2008/05/30 06:58:10] <greenmoss> and Volcane's solution is now in place... sweet!
[2008/05/30 06:58:23] <windowsrefund> plathrop, see that's the problem
[2008/05/30 06:58:24] <Volcane> greenmoss: wd :)
[2008/05/30 06:58:34] <windowsrefund> plathrop, you're talking about something you clearly don't understand
[2008/05/30 06:58:45] * Volcane replaced a monitor solution that grepped messages files every 2 minutes for puppet errors with that
[2008/05/30 06:58:50] <Volcane> *so* much more elegant :)
[2008/05/30 06:58:51] <windowsrefund> plathrop, free software is not about "freedom". That's way too subjective
[2008/05/30 06:59:03] <windowsrefund> free software is about *specific* freedoms
[2008/05/30 06:59:11] <windowsrefund> 0-3 that is
[2008/05/30 06:59:34] <windowsrefund> once you understand that, you'll be better qualified to engage others with your different ideas and opinions
[2008/05/30 06:59:52] <windowsrefund> greenmoss, yea, it works nicely
[2008/05/30 07:00:22] <miah> hrm, what solution?
[2008/05/30 07:00:55] @ Quit: kenvandine: "Ex-Chat"
[2008/05/30 07:01:04] <greenmoss> miah: checking age of /var/lib/puppet/state/localconfig.yaml to determine the last time a client successfully retrieved its config from puppetmaster
[2008/05/30 07:01:51] @ Quit: emerose_: Read error: 104 (Connection reset by peer)
[2008/05/30 07:01:57] <miah> ah
[2008/05/30 07:02:06] <plathrop> Very elegant, Volcane
[2008/05/30 07:02:15] @ brscott joined channel #puppet
[2008/05/30 07:03:17] @ brscott left channel #puppet ()
[2008/05/30 07:03:45] <holoway> windowsrefund: pretty sure plathrop ignored you :)
[2008/05/30 07:03:55] <windowsrefund> oh
[2008/05/30 07:04:00] <windowsrefund> too bad for him :)
[2008/05/30 07:04:12] <windowsrefund> I just gave him some very helpful info
[2008/05/30 07:04:48] <plathrop> My email is pretty publically available if someone wants to have a discussion with me :-)
[2008/05/30 07:05:54] * windowsrefund doesn't *want* to have this particular discussion with anybody
[2008/05/30 07:16:05] @ emerose joined channel #puppet
[2008/05/30 07:16:26] @ f--z joined channel #puppet
[2008/05/30 07:21:12] @ jvanzyl_ joined channel #puppet
[2008/05/30 07:21:14] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/30 07:21:53] @ Quit: jvanzyl_: Client Quit
[2008/05/30 07:24:38] @ Quit: dysinger:
[2008/05/30 07:26:34] <Volcane> is anyone aware of something coming up that lets you specify a different fileserver config on a per environment basis
[2008/05/30 07:27:05] <Volcane> like, i want a different prefix for my fileserver depending on the envirnment the lcient is in
[2008/05/30 07:27:39] <Volcane> wow. my typing is horrible. sorry
[2008/05/30 07:32:41] @ dysinger joined channel #puppet
[2008/05/30 07:36:11] @ Quit: emerose:
[2008/05/30 07:40:01] @ emerose joined channel #puppet
[2008/05/30 07:41:27] <benp-> off topic but amusing: http://nothired.com/category/cover-letters/
[2008/05/30 07:41:41] @ Quit: dysinger:
[2008/05/30 07:42:50] @ gh joined channel #puppet
[2008/05/30 07:48:01] <holoway> Volcane: write a remote_file definition that does that for you
[2008/05/30 07:48:32] <Volcane> and convert 100s of modles/classes/etc to this?
[2008/05/30 07:48:51] <Volcane> ocross all 3 of the large sites i have puppet running?
[2008/05/30 07:49:13] <Volcane> i have some remote file defines, but not used all over in all cases
[2008/05/30 07:51:00] @ emerose_ joined channel #puppet
[2008/05/30 07:52:03] @ Quit: AimanA: Remote closed the connection
[2008/05/30 07:52:21] <sigmonsays> benp-, thanks for makingg me cry
[2008/05/30 07:52:24] <sigmonsays> laughing*
[2008/05/30 07:53:14] <holoway> Volcane: yep
[2008/05/30 07:53:21] <holoway> because file already supports that
[2008/05/30 07:54:41] <holoway> feel free to file a bug and offer a patch, but you can do it already without one (in a pretty well understood way)
[2008/05/30 07:55:10] <plathrop> Volcane: couldn't you embed $environment into your source URL?
[2008/05/30 07:55:36] <andrewcshafer_> Any one waiting for the developer call with lak, he'll be a little late, 10-15 minutes
[2008/05/30 07:56:35] <gepetto> ::puppet:: Ticket #1269 (defect created): newly created puppet.conf not picked up @ http://reductivelabs.com/trac/puppet/ticket/1269
[2008/05/30 07:57:13] <Volcane> plathrop: i could, but it would be a massive underaking and require rigurous testing and all that kind of junk :)
[2008/05/30 07:57:13] <holoway> plathrop: that's basically the same as using a definition, in terms of what he would need to change in his manifests
[2008/05/30 07:57:29] <plathrop> :-)
[2008/05/30 07:57:32] <holoway> Volcane: I think you'll probably need to suck it up, though :)
[2008/05/30 07:57:32] <plathrop> Just a thought
[2008/05/30 07:57:42] <holoway> because that's the way to solve that
[2008/05/30 07:57:52] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/05/30 07:57:55] <holoway> short of patching puppet to support something else
[2008/05/30 07:58:01] <holoway> as a config option
[2008/05/30 07:58:11] <Volcane> nods, but fileserver supporting enviroments wold be *so* elegant
[2008/05/30 07:58:12] <holoway> which would require even more rigorous testing and junk :)
[2008/05/30 07:58:17] <holoway> Volcane: it already does, though
[2008/05/30 07:58:28] <holoway> for example
[2008/05/30 07:58:29] <Volcane> ys?
[2008/05/30 07:58:33] <holoway> pastie: hook me up
[2008/05/30 07:59:45] <pastie> http://pastie.org/205663 by holoway.
[2008/05/30 08:00:26] <holoway> we select $puppet_server on environment, and then cascade files based on os and version
[2008/05/30 08:00:29] <Volcane> yes thats the obvious fix
[2008/05/30 08:00:36] <sigmonsays> How do you folks test puppet? is it easiest to test in a VM?
[2008/05/30 08:00:46] <sigmonsays> (testing recipes)
[2008/05/30 08:01:08] <holoway> it's not the obvious fix, man, it's *the fix*. :) Having file do that natively is kind of silly, when having it as complex as you desire is but a single definition away
[2008/05/30 08:06:41] @ Quit: flakrat: "Leaving"
[2008/05/30 08:06:51] <Volcane> now compared that to for example
[2008/05/30 08:06:53] <Volcane> in pupet.conf
[2008/05/30 08:07:03] <Volcane> [development]
[2008/05/30 08:07:07] <Volcane> fileserverconfig = /etc/puppet/fileserver-devel.conf
[2008/05/30 08:07:10] <Volcane> [production]
[2008/05/30 08:07:14] <Volcane> fileserverconfig = /etc/puppet/fileserver-prod.conf
[2008/05/30 08:07:15] <Volcane> etc
[2008/05/30 08:07:25] <Volcane> where those point to a diff prefix
[2008/05/30 08:07:57] <Volcane> immediately and really nicely, you have a lets say /var/puppet/fileserver/prod and .../dev and it al just works
[2008/05/30 08:08:21] <Volcane> seams much easier than custom defines, or converting *everything* to modules or overriding defaults to the File{...}
[2008/05/30 08:09:13] @ Quit: greenmoss:
[2008/05/30 08:10:13] @ lak joined channel #puppet
[2008/05/30 08:13:11] <lak> lutter: you around?
[2008/05/30 08:14:10] <lutter> lak: yeah .. what's up ?
[2008/05/30 08:14:23] <lak> any time for a dev call?
[2008/05/30 08:14:25] <holoway> Volcane: yeah, I see what you mean, but I'm not sure it's actually the right thing to do
[2008/05/30 08:14:29] <lak> we'd talked about doing one today
[2008/05/30 08:14:38] <lutter> ugh .. we did ?
[2008/05/30 08:14:40] <lak> but i'm late, and haven't heard anyone else say they're up for it
[2008/05/30 08:14:45] <lutter> totally forgot about it
[2008/05/30 08:14:47] <lak> "we" == "one or more persons somewhere"
[2008/05/30 08:14:52] <lak> not necessarily "you" :)
[2008/05/30 08:15:04] <lutter> np ... I'd prefer if we can put it off till next week or so
[2008/05/30 08:15:36] <lak> ok
[2008/05/30 08:15:43] <holoway> like I said, feel free to file a ticket and write a patch
[2008/05/30 08:15:52] <lak> seems like no one else is up for it either, so later, then
[2008/05/30 08:16:01] <lak> it'll have to be two weeks, tho, since i'm in pdx for training next week
[2008/05/30 08:16:17] <holoway> don't let my opinion dissaude you from your config file dreams
[2008/05/30 08:16:18] <holoway> :)
[2008/05/30 08:16:27] <lutter> ok ... I'll put it on my calendar
[2008/05/30 08:16:35] <holoway> but it's already pretty configurable in my opinion
[2008/05/30 08:23:08] @ kolla joined channel #puppet
[2008/05/30 08:23:32] @ diggyk left channel #puppet ()
[2008/05/30 08:25:13] @ Quit: miah: "leaving"
[2008/05/30 08:26:22] <sigmonsays> How do I write a facter?
[2008/05/30 08:26:35] <sigmonsays> i'm going to experiment profiling on cpu/memory
[2008/05/30 08:27:49] <Volcane> holoway: yeah i agree, ideally i wont need a traditional fileserver at all, cos all will be modules but that some way off, and that would make getting the modules/enviroment advantages much easier in legacy environments without the burdon of large scale changes and testing
[2008/05/30 08:28:16] <holoway> Volcane: You can use that remotefile definition without a transition to modules
[2008/05/30 08:28:26] <holoway> (we've been using that exact definition since the 0.22 days)
[2008/05/30 08:28:32] <holoway> I think
[2008/05/30 08:28:36] <holoway> 0.23 at least
[2008/05/30 08:29:20] <Volcane> sure, if i go and change all my file statemetns (many) to remotefile, and can prove in a dev environment that not a single one of them shows any regression
[2008/05/30 08:29:36] <holoway> I guess I don't understand how you don't have to do that if you upgrade puppet
[2008/05/30 08:29:39] <Volcane> across 3 x client infrastructures etc
[2008/05/30 08:29:53] <holoway> but manage 'em how you will
[2008/05/30 08:30:11] <Volcane> cos its easier to test that the fileserver sufficiently seperates the fileserver roots based on environments? its one thing to test
[2008/05/30 08:30:26] <holoway> it's one thing to test the definition, too, though
[2008/05/30 08:30:28] <holoway> in terms of unit test
[2008/05/30 08:30:32] @ bartc joined channel #puppet
[2008/05/30 08:31:10] <holoway> anyway, switch it or don't, I don't care.. if you want it as a config option, file a ticket and write a patch
[2008/05/30 08:31:15] <Volcane> you're assuming all uses of file on its own in all cases maps neatly into your remotefile function, or indeed any concveivable remote file
[2008/05/30 08:31:47] <holoway> Volcane: nope, I'm assuming that any time you have "file" and it has a source => line, it most likely does
[2008/05/30 08:31:49] <Volcane> anyway, my solution will work for all cases without manifest changes at all
[2008/05/30 08:32:05] <holoway> Volcane: except for the people who rely on other file semantics
[2008/05/30 08:32:12] <holoway> but have a party
[2008/05/30 08:32:18] <holoway> I'm not the guy to persuade :)
[2008/05/30 08:32:22] <Volcane> holoway: thats why environment is optional
[2008/05/30 08:32:54] <holoway> Volcane: and why you can set the options to file on environment to your hearts content
[2008/05/30 08:32:59] <holoway> with a definition
[2008/05/30 08:32:59] <holoway> :)
[2008/05/30 08:33:06] <holoway> we can do this all day, and get nowhere
[2008/05/30 08:33:30] <Volcane> obviously you dont charge by the hour, or you have no problem charing for 100s of unneeded hours :P
[2008/05/30 08:33:55] <holoway> Volcane: We have 12 different clients, with fully automated infrastructures, some of which we charge by the hour
[2008/05/30 08:34:18] <holoway> and unless you are planning on patching puppet yourself to get that functionality
[2008/05/30 08:34:22] <holoway> or they don't really need it
[2008/05/30 08:34:35] <holoway> you don't have much choice but to charge someone something, eh?
[2008/05/30 08:34:58] <holoway> and if putting your patched version of puppet into production takes less testing on your behalf than manifest changes do, have at it
[2008/05/30 08:35:17] <Volcane> you obviously missed my first question, or you're just trying to be difficult
[2008/05/30 08:35:46] <Volcane> i asked if a feture that would environment enable the fileserverconfig config is being planned already
[2008/05/30 08:35:53] <holoway> right, and the answer is no
[2008/05/30 08:35:54] <Volcane> ie. i dont mind waiting for it to come down the line
[2008/05/30 08:35:56] <holoway> don't mean to be difficult
[2008/05/30 08:36:04] <holoway> but to my knowledge, the answer is no
[2008/05/30 08:36:08] <Volcane> i am most certainly not having my own patched puppet
[2008/05/30 08:36:11] <Volcane> been there, done that
[2008/05/30 08:36:22] <holoway> because you can do it already, via a definition, and lots of people do
[2008/05/30 08:36:41] <holoway> so then we talked about whether that sucks or not
[2008/05/30 08:36:48] <holoway> (and I don't think it does)
[2008/05/30 08:36:59] <holoway> and that, if you think I'm wrong, and it does suck, and puppet should fix it
[2008/05/30 08:37:06] <holoway> you should file a ticket so people who agree with you can go
[2008/05/30 08:37:10] @ Quit: barnbarn: Read error: 104 (Connection reset by peer)
[2008/05/30 08:37:19] <holoway> "Damn! That's hot shit! I need some per-environment file server overrides in a huge way!"
[2008/05/30 08:37:20] @ barnbarn joined channel #puppet
[2008/05/30 08:37:26] @ dysinger joined channel #puppet
[2008/05/30 08:37:49] <holoway> and then write some code for you to solve your problems without any more work on your part than a sweet, sweet ticket detailing the behavior you want
[2008/05/30 08:37:52] <holoway> :)
[2008/05/30 08:38:17] <holoway> didn't mean to be difficult, just telling you how to get what you want
[2008/05/30 08:38:33] <Volcane> nods, i know that already
[2008/05/30 08:38:37] <Volcane> and would have done that
[2008/05/30 08:39:09] <Volcane> which is why i asked a simple question, cos the trac search engine frankly is shyte and trying to dig through recently closed tickets is horrible
[2008/05/30 08:39:26] <holoway> Volcane: no worries, I'm not upset about it. :)
[2008/05/30 08:39:31] <holoway> and I didn't mean to be a pain in the ass
[2008/05/30 08:40:04] @ Quit: dysinger: Client Quit
[2008/05/30 08:40:16] <holoway> are you doing independent puppet consulting, or working for a firm?
[2008/05/30 08:40:42] <Volcane> indep
[2008/05/30 08:41:05] <holoway> right on -- where are you located?
[2008/05/30 08:41:12] <Volcane> worked for a large paying puppet customer then put it into a few more clients
[2008/05/30 08:41:17] <Volcane> london
[2008/05/30 08:41:30] <holoway> cool
[2008/05/30 08:41:36] <holoway> nice to see the ecosystem evolving
[2008/05/30 08:42:24] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/05/30 08:43:21] <Volcane> yip, its kewl, though some of my clients are suffering big time from the early adopter cost iwth puppet
[2008/05/30 08:43:46] <Volcane> when there were few best practises guides, no modules etcetc
[2008/05/30 08:43:57] <Volcane> so lots of different ways to even use file{}
[2008/05/30 08:44:05] <holoway> Volcane: yeah
[2008/05/30 08:44:12] <holoway> we suffered that too
[2008/05/30 08:44:15] <Volcane> with lots of different ways of overriding per host etc
[2008/05/30 08:44:23] <holoway> probably half our clients are all modules
[2008/05/30 08:44:27] <Volcane> so much that there just isnt a single magic remotefile that wil work :P
[2008/05/30 08:44:35] <holoway> the other half are pre-modules with some external magic
[2008/05/30 08:44:58] <holoway> but we have the advantage of having most of the basics be the same across our own internal revisions
[2008/05/30 08:45:13] <Volcane> yeah, as soon as modules came about life improved a lot
[2008/05/30 08:45:14] <holoway> as opposed to coming in and working on foreign repos
[2008/05/30 08:45:26] <Volcane> i can share code across customers now without being too worried about it
[2008/05/30 08:45:30] <holoway> yeah
[2008/05/30 08:46:10] <Volcane> and with environments making different branches in svn and searching each environment out of a diff branch is way way easier than the pre module alternative
[2008/05/30 08:46:17] @ dysinger joined channel #puppet
[2008/05/30 08:46:20] <Volcane> s/searching/serving
[2008/05/30 08:46:34] * holoway nods
[2008/05/30 08:46:52] <holoway> are you doing external nodes yet?
[2008/05/30 08:47:08] <Volcane> nope, not yet had a compelling reason
[2008/05/30 08:48:32] <holoway> export/collect or storeconfigs?
[2008/05/30 08:49:02] <Volcane> not storeconfigs, not cos i dont want to
[2008/05/30 08:49:48] @ shadoi joined channel #puppet
[2008/05/30 08:49:49] <Volcane> cos the nagios* types are a bit bad and cos you'd need to go and modify the store when u want to remove hosts manually generally
[2008/05/30 08:49:53] <Volcane> whcih i am not keen on
[2008/05/30 08:50:29] @ a-priori joined channel #puppet
[2008/05/30 08:51:13] <holoway> so are you managing things like nagios now?
[2008/05/30 08:51:20] <Volcane> with templates
[2008/05/30 08:51:29] <holoway> and variables?
[2008/05/30 08:51:35] <holoway> so like
[2008/05/30 08:51:43] <holoway> $webservers = [ one, two, three ]
[2008/05/30 08:51:45] @ muerr joined channel #puppet
[2008/05/30 08:51:47] <Volcane> which i have made work with storecofigs, and all, but then the deletion of nodes started irritating me
[2008/05/30 08:51:48] <holoway> for the hostgroups?
[2008/05/30 08:52:20] <Volcane> yeah its shitty and hacky, I'd prefer storeconfigs
[2008/05/30 08:52:36] <holoway> yeah, we did that for a long time
[2008/05/30 08:52:41] <holoway> well, pre external nodes
[2008/05/30 08:52:50] <holoway> now we do templates + iclassify
[2008/05/30 08:52:51] <Volcane> how does ext nodes make that easier?
[2008/05/30 08:52:55] <Volcane> ah
[2008/05/30 08:53:03] <Volcane> you query iclassify for the list of hosts
[2008/05/30 08:53:08] <muerr> Ugh. package { "somepackagename": provider => rpm, source => "http://rpmbox/pub/md3000/${name}.noarch.rpm", } isn't putting 'somepackagename' into $name.
[2008/05/30 08:53:10] <holoway> yep
[2008/05/30 08:53:20] <holoway> and can choose what goes where based on attributes/tags in iclassify
[2008/05/30 08:53:23] <holoway> works well
[2008/05/30 08:53:36] <ashp> You know, I spent all that time to install iclassify
[2008/05/30 08:53:36] <holoway> assuming you don't find it totally philosophically repugnant
[2008/05/30 08:53:40] <ashp> and I haven't ACTUALLy used it yet :)
[2008/05/30 08:53:51] <holoway> (see the recent "Philosophical Differences" thread)
[2008/05/30 08:54:05] <Volcane> holoway: nods, well see the one site i am likely to need it on
[2008/05/30 08:54:06] <ashp> hey holoway, just because I haven't looked: do you have 'examples of uses of iclassify' on the website?
[2008/05/30 08:54:09] <muerr> too many words in that thread holoway ;)
[2008/05/30 08:54:18] <Volcane> holoway: they have no sysadmins, the whole thing is *very heavy* on KISS
[2008/05/30 08:54:29] <ashp> I've been so busy upgrading cobbler and dealing with yet more 'redhat bugs' that I haven't had the time to mess with iclassify :/
[2008/05/30 08:54:34] <Volcane> holoway: their devs can make rpms, push them to repos and initiate upgrades
[2008/05/30 08:54:35] <muerr> Volcane: heh, we have 5 sysadmins and we're pretty heavy on KISS :-)
[2008/05/30 08:54:39] <holoway> muerr: but Luke, myself, Digant and Blake all drop a lot of science
[2008/05/30 08:54:42] <Volcane> holoway: but no1 they even employ have root on their kit
[2008/05/30 08:54:53] <muerr> i read most of the words :)
[2008/05/30 08:54:56] <Volcane> holoway: so they're already a bit arsey about the new complexity puppet brings
[2008/05/30 08:55:04] <holoway> Volcane: understandable
[2008/05/30 08:55:10] <holoway> ashp: there are a few
[2008/05/30 08:55:15] <Volcane> holoway: bringing in $x new stuff to drive puppet, and mongrel and proxies and all sots
[2008/05/30 08:55:23] <holoway> we'll be doing some work on the wiki and such pre velocity, which is end of june
[2008/05/30 08:55:24] <Volcane> wont fly, and will annoy my sense of minimalism
[2008/05/30 08:55:29] <shadoi> holoway: still stoking the fire? :P
[2008/05/30 08:55:38] <holoway> shadoi: nope!
[2008/05/30 08:55:41] <holoway> it came up naturally, I swear to god
[2008/05/30 08:55:46] <Volcane> hehe
[2008/05/30 08:55:47] <shadoi> mmhmm
[2008/05/30 08:55:52] * holoway laughs
[2008/05/30 08:55:57] <holoway> okay, coffee
[2008/05/30 08:56:03] @ holoway is now known as holaway
[2008/05/30 08:56:15] <Volcane> amazing, 2nd sky sateliate box this week and already is broken
[2008/05/30 08:56:17] <Volcane> again
[2008/05/30 08:56:26] <shadoi> I think iclassify is cool...
[2008/05/30 08:56:53] @ Quit: lak:
[2008/05/30 08:57:00] <shadoi> hah
[2008/05/30 08:57:01] <Volcane> i dot like over complicating templates
[2008/05/30 08:57:03] <shadoi> *sigh*
[2008/05/30 08:57:10] <shadoi> Volcane: ditto
[2008/05/30 08:57:32] <muerr> erb templates?
[2008/05/30 08:57:58] <Volcane> so querying iclassify from a template is stil grating at me a bit :)
[2008/05/30 08:58:06] <Volcane> I'd need a more compelling reason than nagios to do it
[2008/05/30 08:58:07] <muerr> heh
[2008/05/30 08:58:59] <muerr> the ifcfg erb template i pastied earlier is about the extent of complex templates.
[2008/05/30 08:59:18] <muerr> most of them are simple variable interpolation.
[2008/05/30 09:00:09] <Volcane> yeah that one was fine
[2008/05/30 09:00:57] <muerr> hehe
[2008/05/30 09:01:04] <muerr> Just some if statements really.
[2008/05/30 09:01:36] <Volcane> if's, loops, variable substituion thats as far as i want to go
[2008/05/30 09:01:58] <Volcane> within a template
[2008/05/30 09:02:01] <muerr> Oh - I have one that does 1 <%= signature %> <% hash = Digest::MD5.hexdigest(password) -%><%= hash %>
[2008/05/30 09:02:09] <muerr> i felt dirty writing that.
[2008/05/30 09:02:23] <Volcane> heh
[2008/05/30 09:02:51] <Volcane> well without things like multi dimentional arrays i think its going to be unavidable in the long run to look at something like iclassify
[2008/05/30 09:03:53] <plathrop> lol- this is what it says in my scrollback (I hope others find this amusing):
[2008/05/30 09:03:55] <plathrop> 2008-05-29 [15:56] <shadoi> I think iclassify is cool...
[2008/05/30 09:03:56] <plathrop> 2008-05-29 [15:56] *** lak (n=lak@69.17.124.7) has quit:
[2008/05/30 09:03:56] <plathrop>
[2008/05/30 09:04:03] <Volcane> lol
[2008/05/30 09:04:11] @ Quit: ezralini:
[2008/05/30 09:04:52] <muerr> plathrop: i chuckled too :)
[2008/05/30 09:04:57] <shadoi> plathrop: hehe
[2008/05/30 09:05:09] @ jvanzyl joined channel #puppet
[2008/05/30 09:05:37] <shadoi> plathrop: notice my laugh and sigh immediately following. :P
[2008/05/30 09:06:20] @ Quit: josb:
[2008/05/30 09:06:31] <plathrop> shadoi: I didn't catch that. Sorry :-P
[2008/05/30 09:06:46] @ Quit: Innocenti: Client Quit
[2008/05/30 09:06:48] <muerr> So does this not work the way I think it will? package { "somepackagename": provider => rpm, source => "http://rpmbox/pub/md3000/${name}.noarch.rpm", } isn't putting 'somepackagename' into $name.
[2008/05/30 09:07:08] <shadoi> muerr: has to be a define for that
[2008/05/30 09:07:13] * Volcane would have thought it would
[2008/05/30 09:07:26] <muerr> Bugger.
[2008/05/30 09:07:35] <muerr> I've got several packages I'm installing like that.
[2008/05/30 09:07:52] <shadoi> it's a good candidate for a define anyway
[2008/05/30 09:07:56] <muerr> I suppose a define would work just as well as a class.
[2008/05/30 09:08:00] <shadoi> then you don't have to specify all the options every time
[2008/05/30 09:08:16] <shadoi> and defaults work for Package and your Define separately
[2008/05/30 09:08:25] <muerr> Indeed.
[2008/05/30 09:08:51] <muerr> I've got specific package versions that need to be installed based on red hat 4 or red hat 5.
[2008/05/30 09:09:33] <muerr> vendor supplied drivers, not available via up2date on rhel 4.
[2008/05/30 09:09:39] * muerr kicks Dell in the head.
[2008/05/30 09:09:44] <Volcane> heh
[2008/05/30 09:10:07] <muerr> For what its worth, I would completely avoid PowerVault MD3000's entirely given the choice :-\
[2008/05/30 09:10:17] <Volcane> source => "http://blah/${lsbdistrelease}/package.rpm
[2008/05/30 09:10:17] <muerr> completely AND entirely.
[2008/05/30 09:10:21] <Volcane> hack hack :)
[2008/05/30 09:10:30] <holaway> that's what we do
[2008/05/30 09:10:39] * Volcane just avoids dell completely
[2008/05/30 09:10:43] <muerr> i'd have to move the package-version-blahblahblah.rpm to package.rpm every time.
[2008/05/30 09:10:57] <holaway> muerr: yeah
[2008/05/30 09:11:02] @ Quit: Maliuta: Read error: 113 (No route to host)
[2008/05/30 09:11:03] <muerr> Dell likes to update. And then they like to say you're a bad person for updating.
[2008/05/30 09:11:03] <holaway> it's the suck
[2008/05/30 09:11:09] <muerr> Er, for not updating.
[2008/05/30 09:11:11] @ josb joined channel #puppet
[2008/05/30 09:11:21] <Volcane> muerr: sure it sux, i agree, your first solution seems fine
[2008/05/30 09:11:34] <muerr> i think i'll just go the define route.
[2008/05/30 09:11:52] <muerr> Then when there's updates, I change the version # strings at the top of the define.
[2008/05/30 09:11:55] <Volcane> you could put in a case above the package{..} call and save the whole source into a variable based on what version redhat
[2008/05/30 09:12:01] <Volcane> then just go source => $mysource
[2008/05/30 09:12:13] <Volcane> that really has to work
[2008/05/30 09:12:15] <muerr> i've already got all the "what version of red hat? oh it might be centos?" logic :-)
[2008/05/30 09:12:53] <muerr> CentOS doesn't report operatingsystemrelease through facter quite like it should - it returns uname -r
[2008/05/30 09:13:11] <muerr> that might be a lack of lsb though, and see also earlier lsb conversation.
[2008/05/30 09:13:43] * Volcane 's al lsb'd up and it says the same
[2008/05/30 09:13:51] <benp-> pastie: pastie pls
[2008/05/30 09:13:54] <Volcane> but i have: lsbdistrelease => 5
[2008/05/30 09:14:01] <Volcane> which unfortunately is the same for 5.0 and 5.1
[2008/05/30 09:14:09] <pastie> http://pastie.org/205713 by benp-.
[2008/05/30 09:14:30] <benp-> muerr: thats what i use.. because i dont have lsb installed
[2008/05/30 09:15:06] * Volcane goes to bed
[2008/05/30 09:16:01] <muerr> yeah. cripes w/ lsb. it wants to install at, cups, libxxf86vm, mesa-libGL (why do I need GL on a server??), paps, patch , pax, libdrm, etc.
[2008/05/30 09:17:28] <muerr> benp-: i think ive seen that fact before.
[2008/05/30 09:17:36] <muerr> did you post on the list?
[2008/05/30 09:18:03] <benp-> no, but it might have come up in here before
[2008/05/30 09:18:35] <muerr> :)
[2008/05/30 09:20:40] @ holaway is now known as holoway
[2008/05/30 09:21:28] @ Quit: andrewcshafer_:
[2008/05/30 09:21:38] @ Quit: jvanzyl:
[2008/05/30 09:22:23] @ shenson is now known as shenson_not_here
[2008/05/30 09:24:38] <muerr> Hmm. If I add that to a 'facts' directory where my manifests live, the fact is only available within Puppet when run against the server right?
[2008/05/30 09:27:08] <benp-> wiki:AddingFacts
[2008/05/30 09:27:09] <gepetto> benp-: wiki: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts
[2008/05/30 09:27:42] <benp-> i dont know what you mean but that might be helpful
[2008/05/30 09:32:19] <muerr> i'm not too concerned about what i mean :)
[2008/05/30 09:33:17] <muerr> If it doesn't work, not a huge deal. I think I'll make it a define, then call it with the version specified as a parameter.
[2008/05/30 09:33:17] <benp-> oh.. did you mean facts arent available if you're running your manifests with "puppet" instead of "puppetd"?
[2008/05/30 09:35:11] <shadoi> they are if you use factsync and have a puppet client on the master
[2008/05/30 09:35:40] <shadoi> or if you just stick them in the libdir yourself (and serve them from there would be a good idea)
[2008/05/30 09:37:10] @ Quit: a-priori: