| [2008/05/10 00:00:34] @ descala joined channel #puppet | ||
| [2008/05/10 00:10:07] @ bender183 joined channel #puppet | ||
| [2008/05/10 00:12:03] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/10 00:12:18] @ kenvandine joined channel #puppet | ||
| [2008/05/10 00:16:27] @ Quit: clintc_: Remote closed the connection | ||
| [2008/05/10 00:18:16] @ flakrat joined channel #puppet | ||
| [2008/05/10 00:22:13] @ shenson_not_here joined channel #puppet | ||
| [2008/05/10 00:22:17] @ shenson_not_here is now known as shenson | ||
| [2008/05/10 00:32:15] @ Quit: Maliuta: Read error: 110 (Connection timed out) | ||
| [2008/05/10 00:35:24] @ Maliuta joined channel #puppet | ||
| [2008/05/10 00:36:34] @ kolla joined channel #puppet | ||
| [2008/05/10 00:42:46] @ ^authentic joined channel #puppet | ||
| [2008/05/10 00:45:57] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/10 00:59:16] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/05/10 00:59:18] @ ^authentic is now known as authentic | ||
| [2008/05/10 01:00:17] <gepetto> ::puppet:: Puppet Show edited by windowsrefund @ http://reductivelabs.com/trac/puppet/wiki/PuppetShow (by reductivelabs@windowsrefund.info) | ||
| [2008/05/10 01:00:32] <stick> so has anyone done any work on a type for limits.conf? | ||
| [2008/05/10 01:02:26] @ ^authentic joined channel #puppet | ||
| [2008/05/10 01:06:44] @ winrefund joined channel #puppet | ||
| [2008/05/10 01:06:55] <winrefund> greets | ||
| [2008/05/10 01:19:49] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/05/10 01:19:50] @ ^authentic is now known as authentic | ||
| [2008/05/10 01:31:52] @ andrewcshafer joined channel #puppet | ||
| [2008/05/10 01:38:09] @ Quit: andrewcshafer_: Read error: 110 (Connection timed out) | ||
| [2008/05/10 01:40:09] <ashp> now to try and make an iclassify module :/ | ||
| [2008/05/10 01:42:48] @ wibbit joined channel #puppet | ||
| [2008/05/10 01:43:54] @ Quit: wibbit: Client Quit | ||
| [2008/05/10 01:47:32] <ashp> Hmm, I wonder if I can feed 'grant all' etc stuff to mysql purely from the command line | ||
| [2008/05/10 01:47:37] <ashp> without requiring any scripts or cleverness | ||
| [2008/05/10 01:47:52] <bda> mysql -e ? | ||
| [2008/05/10 01:48:21] <ashp> Ahh ok, my mysql knowledge is restricted to throwing existing schemas in place | ||
| [2008/05/10 01:51:29] @ Quit: Innocenti: Client Quit | ||
| [2008/05/10 01:54:08] @ Quit: tim|macbook: "This computer has gone to sleep" | ||
| [2008/05/10 01:54:09] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 01:54:24] @ jvanzyl joined channel #puppet | ||
| [2008/05/10 01:57:42] @ Quit: _newbie_: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/05/10 02:01:45] @ Quit: strerror_work: | ||
| [2008/05/10 02:15:40] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2008/05/10 02:16:26] @ thegcat joined channel #puppet | ||
| [2008/05/10 02:18:35] @ Quit: oxtail: "Bye for now..." | ||
| [2008/05/10 02:22:48] @ Quit: andrewcshafer: | ||
| [2008/05/10 02:27:32] @ Quit: DerekW: "Leaving" | ||
| [2008/05/10 02:32:01] @ Quit: thegcat: | ||
| [2008/05/10 02:35:03] @ plathrop joined channel #puppet | ||
| [2008/05/10 02:35:06] @ Quit: plathrop: Client Quit | ||
| [2008/05/10 02:35:22] @ plathrop joined channel #puppet | ||
| [2008/05/10 02:36:07] @ jbooth joined channel #puppet | ||
| [2008/05/10 02:40:11] @ Quit: mikearr: Remote closed the connection | ||
| [2008/05/10 02:41:45] @ mikearr joined channel #puppet | ||
| [2008/05/10 02:52:22] @ Quit: RainDoctor: "changing servers" | ||
| [2008/05/10 03:00:24] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/10 03:04:46] @ shake-n-bake_ joined channel #puppet | ||
| [2008/05/10 03:07:36] @ shake-n-bake__ joined channel #puppet | ||
| [2008/05/10 03:08:56] @ andrewcshafer joined channel #puppet | ||
| [2008/05/10 03:16:24] <hacim> can I set the mode on a directory and then set the contents of that directory to have a different mode? | ||
| [2008/05/10 03:17:23] <plathrop> hacim: Only by specifying separate resources. No "recurse => true" for you :-P | ||
| [2008/05/10 03:17:32] <plathrop> At least, *I* haven't figured out any other way | ||
| [2008/05/10 03:17:48] <hacim> plathrop: i know globbing doesn't work | ||
| [2008/05/10 03:17:59] @ Quit: glaw: Remote closed the connection | ||
| [2008/05/10 03:18:00] <hacim> plathrop: but i dont need a separate resource for each individual file in the directory, do i? | ||
| [2008/05/10 03:18:41] <hacim> (which is impossible for a directory whose contents change) | ||
| [2008/05/10 03:19:26] <ashp> Oh man this thread keeps going, frankenthread :) | ||
| [2008/05/10 03:20:04] @ Quit: sparanjape: "Man who run behind car get exhausted" | ||
| [2008/05/10 03:20:43] <plathrop> hacim: If you want to manage it with Puppet, pretty much yes. However, what I would do is set up an exec that triggered on directory contents changing. | ||
| [2008/05/10 03:21:07] <plathrop> ashp: Yeah, it is the thread that will never die. | ||
| [2008/05/10 03:23:17] <hacim> plathrop: how would you reliably detect contents of a directory changing? | ||
| [2008/05/10 03:23:53] <plathrop> hacim: I haven't figured out an elegant way to do that yet :-P | ||
| [2008/05/10 03:24:06] <plathrop> Supposedly, the 'mtime' of the directory should work | ||
| [2008/05/10 03:25:10] <hacim> hmm | ||
| [2008/05/10 03:25:13] <hacim> ponderous | ||
| [2008/05/10 03:25:16] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out) | ||
| [2008/05/10 03:33:57] <benp-> HOUSTON (Reuters) - Authorities in Texas have filed corpse-abuse charges against two men who allegedly removed a skull from a grave and used it as a bong. | ||
| [2008/05/10 03:34:09] <benp-> oops | ||
| [2008/05/10 03:34:56] <hacim> haha, I was just reading that | ||
| [2008/05/10 03:35:24] <hacim> crazy kids dug up some dead kid from 1921 and then brought it back to their lair to smoke through its eyesockets | ||
| [2008/05/10 03:36:14] <mmestnik> Hello, I have a networking problem. Can I proxy("inetd -> nc" or such) puppet connections off another box? | ||
| [2008/05/10 03:37:25] <mmestnik> I'll need to be able to use the same source address... or setup an ssh tun/tap session. | ||
| [2008/05/10 03:38:12] @ Quit: descala: | ||
| [2008/05/10 03:39:03] <benp-> hacim: its kinda been the talk of the office all morning | ||
| [2008/05/10 03:41:35] @ Quit: jsgotangco: "This computer has gone to sleep" | ||
| [2008/05/10 03:43:18] @ snooze joined channel #puppet | ||
| [2008/05/10 03:43:47] @ flagg0204 joined channel #puppet | ||
| [2008/05/10 03:44:26] @ jeckersb joined channel #puppet | ||
| [2008/05/10 03:45:01] <flagg0204> im sure i am making this harder than it is. I am trying to do a (bash) TR function on the kernelrelease fact within a puppet recipe, however its not working | ||
| [2008/05/10 03:45:34] <flagg0204> i am using a define statement and then within the exec facter kernelrelease | tr - _ | ||
| [2008/05/10 03:45:59] <snooze> Running puppet-0.24 on Linux. I want to configure nodes at the puppetmaster server to run with the --noop option. I'd like them to check their catalogs as a dry run, syslog their pending changes with "(noop)" at the end, and let me enable them when they're ready. I have "node server1 { include this, that, ntpd }" entries already created. | ||
| [2008/05/10 03:46:08] <flagg0204> am i barking up the wrong tree in how I am attemping to do this? | ||
| [2008/05/10 03:47:38] <snooze> flagg0204, I did some shell-fu in a custom fact. What sort of output are you looking for, exactly? | ||
| [2008/05/10 03:49:17] <flagg0204> snooze, its actually really simple. the fact kernelrelease looks like this 2.6.18-53.1.14.el5 and i need to to look like 2.6.18_53.1.14.el5 | ||
| [2008/05/10 03:49:58] <flagg0204> snooze, just a simple TR function works on the command line, but translating that within puppet is causing me some confuson. granted i am still fairly new to puppet as well | ||
| [2008/05/10 03:50:44] <snooze> Have you tried escaping the hyphen? "tr \- _ " That's usually stdin. | ||
| [2008/05/10 03:51:03] <flagg0204> hmmmm not yet, ill give that a try.....good point on that | ||
| [2008/05/10 03:51:09] @ brscott joined channel #puppet | ||
| [2008/05/10 03:51:27] @ brscott left channel #puppet () | ||
| [2008/05/10 03:51:54] <snooze> I know zero ruby and rather little puppet, but I did get a fact built with some pipes and sed and awk. Had to wrap the whole thing up. %x{hostname|sed 's/[0-9]*$//g'|awk 'BEGIN { FS = ""} { print $(NF-2)$(NF-1)$NF}'}.chomp | ||
| [2008/05/10 03:52:57] <flagg0204> yeah i am attempting to put this into a puppet recipe rather than a facter fact. here is what I have so far define kver() { exec{"/usr/bin/facter kernelrelease | tr - _" :} } | ||
| [2008/05/10 03:52:58] <snooze> Extracts "web" from "us1web103". | ||
| [2008/05/10 03:53:21] <flagg0204> shouldnt kver be available as a variable now to reference throughout the recipe? or am i confused (more than likeley) | ||
| [2008/05/10 03:53:29] <ashp> Oh thanks java for coming as a jre.rpm.bin, that 'wrappers' the rpm. URGH. | ||
| [2008/05/10 03:53:47] <snooze> aha. I don't know those sorts of recipes. My first instinct's to secape the hyphen, though. | ||
| [2008/05/10 03:54:05] <kajtzu> ashp: yes sun wants you to approve their eula first | ||
| [2008/05/10 03:54:12] <flagg0204> oops sorry yet I did that both the "-" and "_" are excaped | ||
| [2008/05/10 03:54:15] @ Quit: randybias: | ||
| [2008/05/10 03:54:16] <ashp> It's annoying :) | ||
| [2008/05/10 03:54:19] <kajtzu> ashp: you should look at jpackage it you want java rpms that work differently | ||
| [2008/05/10 03:54:32] <snooze> <shrug> Sorry. | ||
| [2008/05/10 03:54:55] <snooze> So, does anyone know how I can set a node to run noop in its config file at the puppetmaster server? | ||
| [2008/05/10 03:57:57] @ Quit: snooze: "Leaving." | ||
| [2008/05/10 03:58:52] @ a-priori_ joined channel #puppet | ||
| [2008/05/10 03:59:33] <ashp> I'll check jpackage | ||
| [2008/05/10 03:59:37] <ashp> I just want a copy of java for iclassify so | ||
| [2008/05/10 04:01:04] @ Vivek joined channel #puppet | ||
| [2008/05/10 04:03:34] <flagg0204> okay is there a way to use vvariables in puppet like in bash i.e. $kver = "exec {somefunction:}" | ||
| [2008/05/10 04:05:47] <plathrop> flagg0204: I don't believe so. What is the problem you are trying to solve, exactly? | ||
| [2008/05/10 04:05:50] <benp-> you get rpms from sun if you go through their eula thing | ||
| [2008/05/10 04:06:05] <fsweetser> flagg0204: normall you'd use a custom fact for something like that | ||
| [2008/05/10 04:06:06] <benp-> i just put em in my local repo | ||
| [2008/05/10 04:06:55] <flagg0204> ithe fact kernelrelease looks like 2.6.18-53.1.14.el5 and i need it to look like 2.6.18_53.1.14.el5 | ||
| [2008/05/10 04:07:01] <flagg0204> its a simpel TR - _ | ||
| [2008/05/10 04:08:13] <plathrop> flagg0204: Why do you need it to look like that, and why don't you do this with a custom fact? That's the Puppet way to do this. Your manifest way isn't going to work. | ||
| [2008/05/10 04:09:48] <flagg0204> we have a specific driver that needs to get updated on our RHEL systems. we have this driver compiled for two seperate kernel versions. There is a restriction in building RPM"s that you can't use "-" in the release fields, so we hace to use "_". Thus in order to match the running kernel with the right diriver I need to do that TR function. It seemed silly to created a new fact just for this, but it looks like i will have to | ||
| [2008/05/10 04:09:48] <flagg0204> do it | ||
| [2008/05/10 04:11:25] <plathrop> flagg0204: I see. I see why you'd think it silly but I really do think that's the right way to go. | ||
| [2008/05/10 04:12:04] <flagg0204> yeah i think your right, now i just need to get custom facts working on our puppetmaster. :) | ||
| [2008/05/10 04:12:09] <plathrop> flagg0204: Actually, there might be another way. | ||
| [2008/05/10 04:12:24] <plathrop> Do you have package resources defined for each driver package? | ||
| [2008/05/10 04:12:42] <flagg0204> within the recipe? | ||
| [2008/05/10 04:12:50] * plathrop has a glimmer of an idea, bear with him... | ||
| [2008/05/10 04:12:57] * flagg0204 is all ears | ||
| [2008/05/10 04:13:15] <plathrop> pastie: url me | ||
| [2008/05/10 04:14:04] <plathrop> flagg0204: Actually, can you paste what you have so far, maybe that will knock this loose in my head. | ||
| [2008/05/10 04:15:58] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/10 04:16:05] @ Quit: a-priori: Read error: 110 (Connection timed out) | ||
| [2008/05/10 04:16:10] <flagg0204> well its not pretty am i am sure i am screwing it up.....but here is what I was trying to do define kv($kernelrelease) { $kver = exec "/usr/bin/facter kernelrelease | tr - _":} | ||
| [2008/05/10 04:16:33] <flagg0204> then package { "module.$kver": ensure => present}, | ||
| [2008/05/10 04:17:01] <plathrop> flagg0204: Yeah, the language definitely doesn't work that way. Let me get this straight, though... | ||
| [2008/05/10 04:17:18] <flagg0204> yeah i had a fealing that was the case | ||
| [2008/05/10 04:17:30] <plathrop> You have packages named module.2.6.18_53.1.14.el5 for example. | ||
| [2008/05/10 04:17:38] <flagg0204> correct | ||
| [2008/05/10 04:18:04] <flagg0204> and facter reports the kernelrelease as 2.6.18-53.1.14.el5 | ||
| [2008/05/10 04:18:04] <holoway> ashp: it was always going to be a frankenthread | ||
| [2008/05/10 04:18:12] <holoway> that email I wrote was like 9 miles long | ||
| [2008/05/10 04:18:12] @ jeckersb joined channel #puppet | ||
| [2008/05/10 04:18:43] <holoway> and yeah, you only see the resource abstraction break down as complexity or scope increases | ||
| [2008/05/10 04:18:48] <plathrop> flagg0204: So you have several options: | ||
| [2008/05/10 04:18:52] <holoway> and even then it doesn't break, it just changes what is "good" | ||
| [2008/05/10 04:19:00] <plathrop> flagg0204: You can write a custom fact, as we already discussed. | ||
| [2008/05/10 04:19:05] <flagg0204> k | ||
| [2008/05/10 04:19:52] <plathrop> flagg0204: You can write a generator script that you call using generate(), I think. | ||
| [2008/05/10 04:20:25] <flagg0204> hmmm ill have to read up on that one, I am not familiar with generator scripts | ||
| [2008/05/10 04:20:26] <plathrop> flagg0204: Or you could enumerate the packages by hand in your manifest. | ||
| [2008/05/10 04:20:41] <plathrop> flagg0204: Start here: http://reductivelabs.com/trac/puppet/wiki/FunctionReference#generate | ||
| [2008/05/10 04:20:47] <holoway> flagg0204: just out of curiosity, how did the kernel version get there without the modules package? | ||
| [2008/05/10 04:21:00] <holoway> ie: how did the kernel get partially installed? | ||
| [2008/05/10 04:21:44] <flagg0204> heh interesging story. We were running fine and dandy with ONE version of the package, but then redhat release a new kernel which our boxs then proceeded to do a yum update for. | ||
| [2008/05/10 04:23:37] <flagg0204> when we only had one kernel to worry about the kernelrelease fact didn't matter. We only install the module under one kernel version. When the update came down from redhat we had to start paying attention to which kernel was installed on the box | ||
| [2008/05/10 04:24:17] <flagg0204> is that what you wanted to know? | ||
| [2008/05/10 04:24:41] @ jeckersb_ joined channel #puppet | ||
| [2008/05/10 04:25:01] <plathrop> flagg0204: I think enumerating the packages and using a conditional is the cheap way to do this. | ||
| [2008/05/10 04:25:24] @ Quit: jeckersb: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 04:25:25] <plathrop> flagg0204: but it would be inelegant and ugly | ||
| [2008/05/10 04:25:42] <plathrop> flagg0204: The generator or the custom fact are probably the most elegant way to go. | ||
| [2008/05/10 04:26:57] <plathrop> I think the generator is the best solution. This is how you'd do it: write a shell script that takes a single argument ($kernelrelease) and returns the formatting you like. | ||
| [2008/05/10 04:27:24] <plathrop> then do package { "drivername": name => generate($kernelrelease) ...} | ||
| [2008/05/10 04:27:53] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/10 04:27:57] <holoway> plathrop: unless you are going to use that variable in more than one spot - then make it a fact | ||
| [2008/05/10 04:28:24] <plathrop> flagg0204: Totally listen to holoway. He's about 3X as smart as I am. | ||
| [2008/05/10 04:28:39] <holoway> plathrop: aw, shucks | ||
| [2008/05/10 04:28:41] <holoway> I don't think that's true | ||
| [2008/05/10 04:29:09] <holoway> I have been writing puppet manifests every day for a year and a half, though. :) | ||
| [2008/05/10 04:29:10] <plathrop> holoway: Perhaps, but reading the monster thread makes me think you at least get Puppet in ways I never have. | ||
| [2008/05/10 04:30:12] <plathrop> By the way, I think you have valid points, and I think Luke has valid points, and I think it is a shame that people seem to suggest you don't get Puppet unstead of listening to what you are saying. That said, I would hate to see the directed graph bit go away. | ||
| [2008/05/10 04:30:38] <holoway> plathrop: really? why? I'm really interested to hear the answer | ||
| [2008/05/10 04:30:41] @ roald joined channel #puppet | ||
| [2008/05/10 04:31:14] <plathrop> Because I like not paying attention to what order I write things into my manifests. | ||
| [2008/05/10 04:31:32] <holoway> really? do you like reading them again later? :) | ||
| [2008/05/10 04:31:32] <plathrop> I think the biggest problem, the one you pointed out about variables, should be fixed by fixing variables. | ||
| [2008/05/10 04:31:48] <plathrop> holoway: I haven't had any problems or complaints so far | ||
| [2008/05/10 04:31:52] <holoway> I'm kidding | ||
| [2008/05/10 04:32:12] <holoway> I guess one thing about that for me | ||
| [2008/05/10 04:32:22] <ashp> holoway you monster, you're making me install java | ||
| [2008/05/10 04:32:28] <holoway> hahahaha | ||
| [2008/05/10 04:32:32] <holoway> yeah | ||
| [2008/05/10 04:32:37] <holoway> sorry, man, but it works better than ferret | ||
| [2008/05/10 04:32:42] <plathrop> One thing that surprised me was you saying that people tend to write things in a certain order. I tend to group things by resource type. | ||
| [2008/05/10 04:32:43] <holoway> and you can get it to mirror itself | ||
| [2008/05/10 04:32:50] <ashp> Could not retrieve mirrorlist http://www.jpackage.org/jpackage_rhel-$releasever_1.7.txt error was | ||
| [2008/05/10 04:32:54] <ashp> I'm.. closer :O | ||
| [2008/05/10 04:33:03] <holoway> plathrop: ah, so like, all your your files in one place, all your services in another | ||
| [2008/05/10 04:33:10] @ geert_ joined channel #puppet | ||
| [2008/05/10 04:33:24] <plathrop> holoway: Yeah, just within the manifest. That way just seems to fit my brain best. | ||
| [2008/05/10 04:33:34] * flagg0204 also has issues with the order of things in manifests | ||
| [2008/05/10 04:33:50] <holoway> right, and most of the time, nnot having the directed graph won't alter that at all | ||
| [2008/05/10 04:33:52] <ashp> I wish I didn't have to add 90000 require =>'s to get anything to work | ||
| [2008/05/10 04:34:03] <flagg0204> plathrop i tend to write things by resource type as well | ||
| [2008/05/10 04:34:07] <geert_> I try to reorganize my config to use modules, but for each module I get the error: err: /File[/etc/default/openntpd]/source: Could not describe /openntpd/openntpd: Fileserver module 'openntpd' not mounted | ||
| [2008/05/10 04:34:10] <flagg0204> ashp i feel you pain | ||
| [2008/05/10 04:34:14] <plathrop> I think variables are fundamentally broken in Puppet, and will fix them when I learn enough Ruby. | ||
| [2008/05/10 04:34:22] <plathrop> ashp: I *love* having to add those. | ||
| [2008/05/10 04:34:29] <plathrop> ashp: It makes the relationships explicit. | ||
| [2008/05/10 04:34:47] <ashp> I don't mind, I just sure have a lot of them | ||
| [2008/05/10 04:34:47] <holoway> plathrop: to me, the relationship doesn't have to be explicit | ||
| [2008/05/10 04:34:55] <holoway> the ones I want to be explicit | ||
| [2008/05/10 04:35:00] <holoway> are notifies and subscribes | ||
| [2008/05/10 04:35:04] <holoway> because they take action | ||
| [2008/05/10 04:35:15] <holoway> otherwise, they are related because I stuck them in the same functional class | ||
| [2008/05/10 04:35:52] <holoway> the fact that /tmp/foo/bar.txt is related to /tmp/foo is implied by where it exists | ||
| [2008/05/10 04:36:01] <fsweetser> holoway: how would you suggest handling something like a dozen virtual host classes, and their dependency on the apache package/service? | ||
| [2008/05/10 04:36:09] <holoway> sayinf require => File[/tmp/foo] doesn't make me feel like I gained much | ||
| [2008/05/10 04:36:15] <plathrop> holoway: I get that. I can see how that makes sense. Definitely I think the file/directory relationship is busted. | ||
| [2008/05/10 04:36:25] <holoway> fsweetser: stick "include apache" at the top of the vhost definiton | ||
| [2008/05/10 04:36:34] <geert_> anyone has a hint? | ||
| [2008/05/10 04:36:40] <fsweetser> so stick with textual line ordering instead? | ||
| [2008/05/10 04:36:45] <plathrop> geert_: Yeah, just in the middle of 30 things. | ||
| [2008/05/10 04:36:48] <holoway> fsweetser: yep | ||
| [2008/05/10 04:37:02] <ashp> oh god gem installing isn't going well | ||
| [2008/05/10 04:37:02] <holoway> plathrop: note, I don't think this is going to change | ||
| [2008/05/10 04:37:13] <ashp> ROR: While executing gem ... (Gem::GemNotFoundException) Could not find rake (> 0) in any repository | ||
| [2008/05/10 04:37:25] <plathrop> geert_: Pastie me some relevant manifest lines? | ||
| [2008/05/10 04:37:28] <holoway> you are not alone in having big love for require and the directed graph | ||
| [2008/05/10 04:37:31] <ashp> Oh god it gets worse. | ||
| [2008/05/10 04:37:38] <fsweetser> personally I prefer the dependencies, but I can certainly see how most of the time textual order is good enough | ||
| [2008/05/10 04:37:38] <ashp> Now it wants me to select 'which gem' | ||
| [2008/05/10 04:37:53] <plathrop> geert_: Also, did you make sure to set up your puppet.conf for this? | ||
| [2008/05/10 04:37:55] <ashp> You'd think ensure => latest, would handle this | ||
| [2008/05/10 04:38:08] @ Quit: Demosthenes: Read error: 110 (Connection timed out) | ||
| [2008/05/10 04:38:30] <plathrop> holoway: I can see your point, I just definitely disagree. Textual ordering irritates me. | ||
| [2008/05/10 04:38:55] <holoway> honestly, it's the most minor of my gripes. :) | ||
| [2008/05/10 04:39:01] <geert_> plathrop, yes, I think I did. my puppet.conf: http://pastie.caboo.se/194467 | ||
| [2008/05/10 04:39:06] <holoway> and I get by just fine with it as it is | ||
| [2008/05/10 04:39:17] <holoway> but it is hard to get a system to work perfectly in one pass | ||
| [2008/05/10 04:39:18] <plathrop> Yeah. Export/Collect is unworkable for us because of the performance penalty. | ||
| [2008/05/10 04:39:37] <geert_> plathrop, one of the manifests including the pwd: http://pastie.caboo.se/194468 | ||
| [2008/05/10 04:39:40] <holoway> and it would be easier if that textual ordering was in place | ||
| [2008/05/10 04:39:43] <holoway> sad but true | ||
| [2008/05/10 04:39:50] <plathrop> geert_: Okay, give me a couple minutes. | ||
| [2008/05/10 04:39:56] @ des55 joined channel #puppet | ||
| [2008/05/10 04:40:03] <holoway> plathrop: did you see my last set of responses? | ||
| [2008/05/10 04:40:11] <ashp> Yeah, I struggle a lot with getting it all done in one run, it got easier since some bugfixes that hit 0.24 | ||
| [2008/05/10 04:40:12] <holoway> that's where I really go off the proverbial puppet deep end | ||
| [2008/05/10 04:40:13] @ des55 left channel #puppet () | ||
| [2008/05/10 04:40:15] <flagg0204> question regarding generators, when creating you manifest how does puppet know which generator script to run? | ||
| [2008/05/10 04:40:16] <plathrop> geert_: Also paste an ls -l of your /etc/puppet/modules? | ||
| [2008/05/10 04:40:20] <ashp> But I still have to keep going ack and adding more and more requires | ||
| [2008/05/10 04:40:35] <benp-> if export and collect was fast.. maan | ||
| [2008/05/10 04:40:41] <ashp> Anyone install gem's via puppet and now how to handle this (select which, 1.2.3.4.5.6) stuff? | ||
| [2008/05/10 04:40:49] <holoway> plathrop: I'm pretty sure that export/collect is the wrong paradigm anyway | ||
| [2008/05/10 04:40:59] <holoway> storeconfigs is great, but it's an out of band reporting mechanism | ||
| [2008/05/10 04:41:01] <geert_> plathrop, http://pastie.caboo.se/194470 | ||
| [2008/05/10 04:41:22] <plathrop> flagg0204: I *think* it's the first argument to generate | ||
| [2008/05/10 04:41:31] <flagg0204> ahh | ||
| [2008/05/10 04:41:42] <benp-> ashp: never installed gems with puppet. is there a provider now? if so, could you just do ensure => <version> ? | ||
| [2008/05/10 04:41:44] <plathrop> holoway: I think getting things right the first time is inherently difficult :-P | ||
| [2008/05/10 04:41:47] <holoway> re-modeling all my data as resources so I can collect them later just feels gross to me | ||
| [2008/05/10 04:42:09] <holoway> plathrop: yes and no. what you are doing with requires is putting things back in order | ||
| [2008/05/10 04:42:33] <benp-> holoway i think i gotta try out your way of doing things | ||
| [2008/05/10 04:42:46] <benp-> see if it suits the environment | ||
| [2008/05/10 04:42:56] <plathrop> I don't know if storeconfigs is the right paradigm, or grabbing info into your templates is, or something else. Someone smarter than me will have to figure that out :-P | ||
| [2008/05/10 04:43:05] <holoway> you just feel like the ability to write the manifest in an out of order way overrides the complexity of having to be explicit about order | ||
| [2008/05/10 04:43:15] <holoway> which I can totally respect | ||
| [2008/05/10 04:43:21] <holoway> because I'm all about utility | ||
| [2008/05/10 04:43:23] <holoway> :) | ||
| [2008/05/10 04:43:35] <holoway> benp-: well, I'll be happy to answer any questions you have | ||
| [2008/05/10 04:43:42] <holoway> pay attention to ashp's sufferings getting iclassify running | ||
| [2008/05/10 04:43:43] <holoway> :0 | ||
| [2008/05/10 04:44:21] <benp-> is the demo running the latest one? | ||
| [2008/05/10 04:44:27] <holoway> nope | ||
| [2008/05/10 04:44:45] <holoway> I should throw a new demo up | ||
| [2008/05/10 04:45:07] <benp-> that would be good.. | ||
| [2008/05/10 04:45:08] <holoway> we plan on having a lot of the pain in the ass bits of getting iclassify up sorted in June | ||
| [2008/05/10 04:45:54] <plathrop> geert_: Okay, several things. | ||
| [2008/05/10 04:46:05] <benp-> cool, thats probably when i'll have time to try it | ||
| [2008/05/10 04:46:09] <plathrop> First, you need to "import system_apt" somewhere. | ||
| [2008/05/10 04:46:23] <holoway> we may wind up moving it away from rails twoards merb | ||
| [2008/05/10 04:46:27] <plathrop> Second, when you grab files from modules, you leave out the "files/" part of the path. | ||
| [2008/05/10 04:46:29] <holoway> which might make distribution muh easier | ||
| [2008/05/10 04:47:05] <plathrop> geert_: So, like this: "source => "puppet://xxx/system_apt/perform_upgrade" | ||
| [2008/05/10 04:48:00] <plathrop> geert_: I hope that helps. You seem to have things organized in an interesting way, too, which may be interfering, but I'm not sure. | ||
| [2008/05/10 04:48:50] <holoway> plathrop: did that capistrano recipe help? | ||
| [2008/05/10 04:49:08] <plathrop> holoway: It's more than that. Sometimes I have cross-manifest requires. I want it more explicit than just "include apache2"... I want it to be specific that this file requires *that* file in apache2 | ||
| [2008/05/10 04:49:18] <plathrop> holoway: Totally. Thanks alot. | ||
| [2008/05/10 04:49:30] <plathrop> holoway: I'm pushing for capistrano for code distribution here. | ||
| [2008/05/10 04:49:39] <holoway> plathrop: It's the right thing to do | ||
| [2008/05/10 04:49:43] <holoway> I need to blog a lot more about it | ||
| [2008/05/10 04:49:48] <plathrop> holoway: Thing is, they were headed the direction of packaging everything as pear packages | ||
| [2008/05/10 04:49:54] <holoway> yikes! | ||
| [2008/05/10 04:50:01] <holoway> I've done that before, it ends in tears | ||
| [2008/05/10 04:50:17] <plathrop> holoway: They're pretty adamant about it, so I think I will end up losing this battle, unfortunately | ||
| [2008/05/10 04:50:27] <holoway> plathrop: on the bright side, still use capistrano | ||
| [2008/05/10 04:50:30] <holoway> use it to trigger the upgrade | ||
| [2008/05/10 04:50:35] <plathrop> holoway: Absolutely | ||
| [2008/05/10 04:50:43] <holoway> puppet won't give you the instant-effect you want | ||
| [2008/05/10 04:50:51] <plathrop> holoway: Ops will use the heck out of Capistrano | ||
| [2008/05/10 04:50:59] <holoway> not like cap -S version=1.2.2 app_foo | ||
| [2008/05/10 04:51:13] <holoway> that calls pear app_foo-1.2.2 | ||
| [2008/05/10 04:51:31] <plathrop> holoway: *drool* | ||
| [2008/05/10 04:52:05] <holoway> puppet is for things that just "need to be this way" at some point | ||
| [2008/05/10 04:52:15] <holoway> capsitrano is for things that need to "be this way right the fuck now" | ||
| [2008/05/10 04:52:30] <holoway> at least, in my world | ||
| [2008/05/10 04:52:31] <holoway> :) | ||
| [2008/05/10 04:52:33] <plathrop> holoway: I love that phrasing. Totally true. They are very complimentary tools. | ||
| [2008/05/10 04:52:45] <plathrop> I have to go grab lunch. Talk to y'all later. | ||
| [2008/05/10 04:53:00] <holoway> drat! | ||
| [2008/05/10 04:53:11] <holoway> plathrop: hit your scroll back when you return | ||
| [2008/05/10 04:53:20] <plathrop> geert_: If you have more troubles, I'll try to answer when I get back from lunch. | ||
| [2008/05/10 04:53:25] <plathrop> holoway: Okay, will do. | ||
| [2008/05/10 04:53:31] @ plathrop is now known as paul-afk | ||
| [2008/05/10 04:53:41] <holoway> because, since you've semantically packaged up "apache" and all it's bits into a single entity, "apache2" | ||
| [2008/05/10 04:54:03] <holoway> why mess that beautiful encapsulation up with a bunch of coarse dependencies? | ||
| [2008/05/10 04:54:20] <holoway> you wouldn't write source that way, having Class X rely on variable Y in Class Z | ||
| [2008/05/10 04:54:32] @ Demosthenes joined channel #puppet | ||
| [2008/05/10 04:54:37] <holoway> you would trust that Class X provides everything Class Y needs | ||
| [2008/05/10 04:55:01] <holoway> I see that direct require => Thing[] as basically the same thing | ||
| [2008/05/10 04:55:15] <holoway> you're peeking at the implementation, when you should be just trusting the encapsulation | ||
| [2008/05/10 04:57:47] @ randybias joined channel #puppet | ||
| [2008/05/10 05:03:10] @ Toad__ joined channel #puppet | ||
| [2008/05/10 05:08:57] @ Quit: Toad: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 05:09:39] <flagg0204> okay made some progress on the generator but I hit a snag. basically i wrote a simpel bash script echo $1 | tr - _. The generate portion in my manifest looks like $kver = generate("scripts.sh", "$kernelrelease") | ||
| [2008/05/10 05:10:16] <flagg0204> puppet gives an error "Could not retrieve config: failed to execute generator, generator returned 256" | ||
| [2008/05/10 05:10:24] <flagg0204> i am paraphrasing the error | ||
| [2008/05/10 05:11:48] <flagg0204> the bash script work if i run it manually. puppet just tanks on it | ||
| [2008/05/10 05:12:45] @ g1 joined channel #puppet | ||
| [2008/05/10 05:13:07] <holoway> flagg0204: make sure it exits with 0 | ||
| [2008/05/10 05:13:24] <holoway> echo $1 | tr - _ && exit 0 | ||
| [2008/05/10 05:13:28] <holoway> for example | ||
| [2008/05/10 05:13:36] <holoway> but are you sure it returns the right value when puppet runs it? | ||
| [2008/05/10 05:15:45] <gepetto> ::puppet:: Puppet Show edited by shadoi @ http://reductivelabs.com/trac/puppet/wiki/PuppetShow (by shadoi@gmail.com) | ||
| [2008/05/10 05:16:02] @ jeckersb_ is now known as jeckersb | ||
| [2008/05/10 05:16:10] <flagg0204> yes. in the error message it says "Execution of /tmp/test.sh 2.6.18-53.1.14.el5 returned 256" so it appears to be passing the right arguments to the script. puppet just isnt executing it | ||
| [2008/05/10 05:16:44] @ Toad__ is now known as Toad | ||
| [2008/05/10 05:20:07] <holoway> dumb question, but is the script executable? | ||
| [2008/05/10 05:20:07] <holoway> :) | ||
| [2008/05/10 05:21:05] <flagg0204> yes it is :) and to be safe its owned by puppet/puppet and chmod'd to 777 | ||
| [2008/05/10 05:21:18] <holoway> okay, try adding that exit 0 | ||
| [2008/05/10 05:21:46] <flagg0204> did already, same error. the script now looks like echo $1 | tr - _ && exit 0 | ||
| [2008/05/10 05:24:13] @ Quit: kolla: Remote closed the connection | ||
| [2008/05/10 05:26:03] <flagg0204> this has got be something small that I am missing. $kver = generate("/tmp/test.sh", "$kernelrelease") | ||
| [2008/05/10 05:32:57] <stick> anyone got any storeconfigs scripts or queries? I need to do some cleanup | ||
| [2008/05/10 05:53:36] <hacim> stick: there is one in the storeconfigs wiki page | ||
| [2008/05/10 05:53:48] <hacim> stick: http://reductivelabs.com/trac/puppet/attachment/wiki/UsingStoredConfiguration/kill_node_in_storedconfigs_db.rb | ||
| [2008/05/10 05:54:09] <hacim> although... I cleaned out a host using that, and its still populating my nagios machine and I want to know why | ||
| [2008/05/10 05:54:45] <stick> hacim: well unless you stop it from registering in the manfiest cleaning it out of the db isn't going to help | ||
| [2008/05/10 05:55:19] <hacim> stick: hehe, I did that of course | ||
| [2008/05/10 05:55:29] <stick> just chekcing :) | ||
| [2008/05/10 05:55:31] @ Quit: shenson: Read error: 110 (Connection timed out) | ||
| [2008/05/10 05:56:04] @ rizwank joined channel #puppet | ||
| [2008/05/10 05:59:35] <paul-afk> flagg0204: Where is /tmp/test.sh? It needs to be on the puppetmaster | ||
| [2008/05/10 05:59:42] <paul-afk> nick plathrop | ||
| [2008/05/10 05:59:46] @ paul-afk is now known as plathrop | ||
| [2008/05/10 05:59:50] <plathrop> oops | ||
| [2008/05/10 05:59:52] * plathrop fails at IRC commands | ||
| [2008/05/10 06:00:00] <plathrop> holoway: Curse you for making too much sense! | ||
| [2008/05/10 06:06:55] @ shenson joined channel #puppet | ||
| [2008/05/10 06:15:35] @ Quit: Vivek: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 06:15:56] @ Vivek joined channel #puppet | ||
| [2008/05/10 06:17:04] <holoway> plathrop: a sure sign of having spent way, way too much time thinking about and using puppet | ||
| [2008/05/10 06:17:22] <benp-> irc commands are hard | ||
| [2008/05/10 06:17:26] <plathrop> holoway: Also reveals your developer side :-P | ||
| [2008/05/10 06:17:45] <holoway> I'm an ok developer | ||
| [2008/05/10 06:17:56] <plathrop> benp-: I'm somewhat irritated. My IRC client is smart enough to change my nick when I go away, but not to change it back. :-( | ||
| [2008/05/10 06:18:20] <holoway> I'm a good systems administrator and a thorougly respectable systems architect | ||
| [2008/05/10 06:18:23] <benp-> OH, you're one of those.. | ||
| [2008/05/10 06:18:23] <holoway> :) | ||
| [2008/05/10 06:18:37] <benp-> i mean plathrop.. emacs user | ||
| [2008/05/10 06:19:15] <plathrop> benp-: How'd you know? Is it that obvious? | ||
| [2008/05/10 06:19:42] <benp-> i did a /ctcp version plathrop | ||
| [2008/05/10 06:19:44] <plathrop> holoway: I'm working towards that same set of descriptions. | ||
| [2008/05/10 06:20:04] @ Quit: jeckersb: "Leaving" | ||
| [2008/05/10 06:20:06] <benp-> except the other way around | ||
| [2008/05/10 06:20:19] <plathrop> benp-: I see :-) Cool | ||
| [2008/05/10 06:20:36] @ Quit: authentic: Read error: 110 (Connection timed out) | ||
| [2008/05/10 06:20:41] @ Quit: greenmoss: Read error: 113 (No route to host) | ||
| [2008/05/10 06:20:52] <holoway> plathrop: the worst part about those descriptions, is that it's all relative | ||
| [2008/05/10 06:21:37] <holoway> to me, a great programmer is Matthew Trout, who made a syntax possible in perl during a talk where Jesse Vincent and Larry Wall both said you couldn't make perl do that | ||
| [2008/05/10 06:21:49] <holoway> and then showed them, live | ||
| [2008/05/10 06:22:00] <holoway> :) | ||
| [2008/05/10 06:22:03] <plathrop> holoway: Great programmer. Bit of a showoff too :-P | ||
| [2008/05/10 06:22:10] <holoway> oh, he's a total prick | ||
| [2008/05/10 06:22:14] <holoway> but he's a great programmer :) | ||
| [2008/05/10 06:36:29] @ ezralini joined channel #puppet | ||
| [2008/05/10 06:40:13] <stick> hacim: I had to modify it a little but it seems to work fine for me | ||
| [2008/05/10 06:40:19] <stick> hacim: that kill script | ||
| [2008/05/10 06:41:45] @ lak joined channel #puppet | ||
| [2008/05/10 06:55:32] @ Quit: Ned: Nick collision from services. | ||
| [2008/05/10 06:55:43] @ Ned_ joined channel #puppet | ||
| [2008/05/10 06:57:24] <plathrop> xb | ||
| [2008/05/10 06:57:34] <plathrop> sorry, wrong window | ||
| [2008/05/10 06:57:47] @ descala joined channel #puppet | ||
| [2008/05/10 07:00:44] <lak> in case anyone's trying to find me... my wife just got her phd, so it's a weekend of celebrations and such, so i won't really be around much | ||
| [2008/05/10 07:00:53] <holoway> lak: congratulations | ||
| [2008/05/10 07:01:04] <lak> thanks | ||
| [2008/05/10 07:01:08] <lak> only took 9 years :) | ||
| [2008/05/10 07:01:19] <holoway> then congratulations ++ :) | ||
| [2008/05/10 07:01:32] <lak> exactly | ||
| [2008/05/10 07:01:44] <holoway> you planning your move from nashville yet? | ||
| [2008/05/10 07:02:35] @ kolla joined channel #puppet | ||
| [2008/05/10 07:02:52] <lak> well, things have gotten complicated for unrelated reasons, so it's more likely to be early 2009 | ||
| [2008/05/10 07:02:55] <lak> but yeah, we're planning | ||
| [2008/05/10 07:03:08] <holoway> cool | ||
| [2008/05/10 07:04:04] <holoway> okay, train time | ||
| [2008/05/10 07:04:07] @ holoway is now known as holoway-train | ||
| [2008/05/10 07:05:01] <benp-> where are you moving? | ||
| [2008/05/10 07:05:47] @ Quit: descala: | ||
| [2008/05/10 07:08:30] <stick> lak: woot! | ||
| [2008/05/10 07:08:54] * stick beats storeconfigs soundly about the head and shoulders | ||
| [2008/05/10 07:09:29] <plathrop> stick beats storeconfigs... with a stick! | ||
| [2008/05/10 07:09:33] * plathrop couldn't resist. | ||
| [2008/05/10 07:09:42] <stick> har har har :) | ||
| [2008/05/10 07:11:18] <lak> benp-: probably portland oregon, but possibly san francisco | ||
| [2008/05/10 07:13:26] <plathrop> lak: congrats to you and your wife | ||
| [2008/05/10 07:13:34] <lak> thanks | ||
| [2008/05/10 07:13:35] <_NiC> plathrop: what's wrong with just using /away? :) | ||
| [2008/05/10 07:14:05] <plathrop> _NiC: People at $work don't see to Get It. But maybe I'll start doing it anyway | ||
| [2008/05/10 07:14:39] @ shenson is now known as shenson_not_here | ||
| [2008/05/10 07:15:16] @ Toad__ joined channel #puppet | ||
| [2008/05/10 07:15:32] <stick> *sigh* for some reason I'm getting 'old' data out of storeconfigs | ||
| [2008/05/10 07:16:48] <_NiC> plathrop: nickchanges are very visible, but personally I would prefer that people had their nick all the time, so I wouldn't have to guess to find out if they were away or not.. :) | ||
| [2008/05/10 07:16:50] <stick> hmm maybe my data isn't actually old I just haven't fixed the bug | ||
| [2008/05/10 07:17:01] <_NiC> But that's a discussion I've had way too many of, so not sure why I even brought it up ;P | ||
| [2008/05/10 07:17:17] <_NiC> Besides I'm off to bed, so good night :) | ||
| [2008/05/10 07:17:25] <plathrop> _NiC: Hey, you are the first person since I started using IRC to give me a reason to go one way or the other. thanks. | ||
| [2008/05/10 07:17:29] <plathrop> _NiC: night | ||
| [2008/05/10 07:26:15] @ Quit: Toad: Read error: 110 (Connection timed out) | ||
| [2008/05/10 07:43:37] @ Quit: thom: Read error: 113 (No route to host) | ||
| [2008/05/10 07:45:30] @ Quit: lak: | ||
| [2008/05/10 07:47:43] @ Quit: ezralini: | ||
| [2008/05/10 07:49:06] @ Quit: dysinger: | ||
| [2008/05/10 07:51:18] @ Quit: flagg0204: "Leaving" | ||
| [2008/05/10 07:53:26] @ dysinger joined channel #puppet | ||
| [2008/05/10 08:00:18] @ Quit: rizwank: | ||
| [2008/05/10 08:03:52] @ Quit: kambiz: "This computer has gone to sleep" | ||
| [2008/05/10 08:15:49] @ Quit: stevenjenkins: "Leaving." | ||
| [2008/05/10 08:22:04] @ Quit: shake-n-bake__: | ||
| [2008/05/10 08:23:20] @ elrako2 joined channel #puppet | ||
| [2008/05/10 08:24:17] @ shake-n-bake joined channel #puppet | ||
| [2008/05/10 08:27:17] @ g1 is now known as gh_ | ||
| [2008/05/10 08:34:33] @ Quit: flakrat: "Leaving" | ||
| [2008/05/10 08:35:19] @ shake-n-bake_ joined channel #puppet | ||
| [2008/05/10 08:40:36] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/05/10 08:45:37] @ shenson_not_here is now known as shenson | ||
| [2008/05/10 08:56:43] <benp-> gotta get a tooth pulled in 1 hr :( | ||
| [2008/05/10 09:06:28] @ Toad__ is now known as Toad | ||
| [2008/05/10 09:09:56] @ jvanzyl_ joined channel #puppet | ||
| [2008/05/10 09:09:57] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 09:17:44] @ shadoi joined channel #puppet | ||
| [2008/05/10 09:33:12] <fujin> stick: install the storeconfigs purger and let it rip? | ||
| [2008/05/10 09:33:18] <fujin> or is this happening consistently, if so, it's probably a bug | ||
| [2008/05/10 09:47:48] @ Quit: geert_: Remote closed the connection | ||
| [2008/05/10 09:53:31] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/10 09:56:27] @ roald joined channel #puppet | ||
| [2008/05/10 09:57:26] @ a-priori joined channel #puppet | ||
| [2008/05/10 10:10:36] @ Quit: elrako2: Read error: 110 (Connection timed out) | ||
| [2008/05/10 10:13:33] @ Quit: a-priori_: Read error: 110 (Connection timed out) | ||
| [2008/05/10 10:13:39] @ Quit: a-priori: | ||
| [2008/05/10 10:23:25] <shadoi> stick: what are you seeing? | ||
| [2008/05/10 10:28:13] @ elrako2 joined channel #puppet | ||
| [2008/05/10 10:28:15] <fujin> shadoi: hey, know how I'd get my github branch of 0.24.x in sync with luke's? | ||
| [2008/05/10 10:28:27] <fujin> I can't check out lak/0.24.x or merge/rebase from it | ||
| [2008/05/10 10:28:43] <shadoi> you do it on your local machine | ||
| [2008/05/10 10:28:50] <shadoi> so you add a remote for luke's repo | ||
| [2008/05/10 10:29:02] <fujin> ah | ||
| [2008/05/10 10:29:04] <fujin> heh | ||
| [2008/05/10 10:29:06] <shadoi> pull from it, and then push to your github | ||
| [2008/05/10 10:29:08] <fujin> I just had to run git fetch lak | ||
| [2008/05/10 10:29:17] <shadoi> *nod* | ||
| [2008/05/10 10:29:31] <fujin> there we go, working now, ty dude | ||
| [2008/05/10 10:32:53] <jamesturnbull> fujin: thanks for the +1 on the RST thing for redmine | ||
| [2008/05/10 10:32:56] <fujin> shadoi: how does http://github.com/fujin/puppet/commit/880f2d1a2abfaef88f6df92462838a3497198638 look to you? | ||
| [2008/05/10 10:33:01] <fujin> jamesturnbull: trying to drum up some action | ||
| [2008/05/10 10:33:11] <fujin> although I personally do prefer markdown to rST | ||
| [2008/05/10 10:33:12] <fujin> ;> | ||
| [2008/05/10 10:33:18] <fujin> I'd rather write rST than textile | ||
| [2008/05/10 10:33:19] <fujin> fwiw | ||
| [2008/05/10 10:33:26] <jamesturnbull> they seem a little -- aggressive about features | ||
| [2008/05/10 10:34:15] <jamesturnbull> and yeah me too | ||
| [2008/05/10 10:34:22] <jamesturnbull> working on a sat? | ||
| [2008/05/10 10:34:41] <fujin> heh, me? no | ||
| [2008/05/10 10:34:54] <fujin> age of conan is in downtime, and I wanted to get my tagmail stuff refactored asap | ||
| [2008/05/10 10:35:18] <jamesturnbull> fujin: commit looks good | ||
| [2008/05/10 10:35:46] @ Quit: Vivek: "Leaving" | ||
| [2008/05/10 10:36:10] @ Quit: \ask: | ||
| [2008/05/10 10:36:41] <fujin> I don't think refactored is a word | ||
| [2008/05/10 10:37:39] <fujin> I guess it kind of makes sense | ||
| [2008/05/10 10:37:50] <fujin> if you dumb it down a little, to mathetmatical factoring | ||
| [2008/05/10 10:38:06] @ Quit: dysinger: | ||
| [2008/05/10 10:38:37] @ Quit: gh_: "Leaving." | ||
| [2008/05/10 10:40:23] @ jsgotangco joined channel #puppet | ||
| [2008/05/10 10:41:17] <shadoi> fujin: looks good to me | ||
| [2008/05/10 10:41:20] @ shenson is now known as shenson_not_here | ||
| [2008/05/10 10:41:24] @ shenson_not_here is now known as shenson | ||
| [2008/05/10 10:41:28] @ Quit: Gwayne: Remote closed the connection | ||
| [2008/05/10 10:43:01] @ plathrop left channel #puppet ("ERC Version 5.2 (IRC client for Emacs)") | ||
| [2008/05/10 10:43:44] @ Quit: shadoi: "leaving" | ||
| [2008/05/10 10:44:46] @ rizwank joined channel #puppet | ||
| [2008/05/10 10:44:48] <fujin> heh | ||
| [2008/05/10 10:45:02] <fujin> vim really needs shift+5 do/end bracket jumping for ruby | ||
| [2008/05/10 10:45:10] @ dysinger joined channel #puppet | ||
| [2008/05/10 10:50:04] @ johnf joined channel #puppet | ||
| [2008/05/10 10:50:37] @ Quit: shake-n-bake_: | ||
| [2008/05/10 10:51:55] @ Quit: jsgotangco: "Ciao" | ||
| [2008/05/10 10:54:19] @ Quit: jvanzyl_: Read error: 113 (No route to host) | ||
| [2008/05/10 10:55:29] <fujin> ah, was crashing | ||
| [2008/05/10 10:55:35] <fujin> it's working now | ||
| [2008/05/10 10:55:39] <fujin> fix1210 => 80% | ||
| [2008/05/10 10:55:42] <fujin> now I have to write tests | ||
| [2008/05/10 10:56:53] @ greenmoss joined channel #puppet | ||
| [2008/05/10 10:58:24] @ Gwayne joined channel #puppet | ||
| [2008/05/10 11:13:05] @ Quit: Demosthenes: Read error: 110 (Connection timed out) | ||
| [2008/05/10 11:13:47] @ kenvandine joined channel #puppet | ||
| [2008/05/10 11:21:57] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/05/10 11:27:48] <fujin> anyone know how you kick of puppet's unit tests with rake? | ||
| [2008/05/10 11:28:50] <rizwank> I still need a good code beautifier for vi that fixes puppet syntax ;p | ||
| [2008/05/10 11:29:37] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/10 11:30:39] @ a-priori joined channel #puppet | ||
| [2008/05/10 11:32:14] <jamesturnbull> fujin: isn't it just rake in the directory? | ||
| [2008/05/10 11:32:27] <fujin> ah yeah | ||
| [2008/05/10 11:32:38] <fujin> I wanted to run the report test only | ||
| [2008/05/10 11:32:43] <fujin> who would have thought, there was a readme | ||
| [2008/05/10 11:33:11] <jamesturnbull> rake /path/to/test | ||
| [2008/05/10 11:33:12] <jamesturnbull> ? | ||
| [2008/05/10 11:34:07] <fujin> not even that, test/other/report.rb | ||
| [2008/05/10 11:34:22] <fujin> they're all shebanged with ruby, you can run em direct | ||
| [2008/05/10 11:34:36] <fujin> I feel really threatened by unit test eh | ||
| [2008/05/10 11:34:41] <fujin> just can't quite get me head around it | ||
| [2008/05/10 11:38:01] <fujin> holy crap | ||
| [2008/05/10 11:38:03] <fujin> http://blog.davidchelimsky.net/articles/2007/12/14/rspec-1-1 | ||
| [2008/05/10 11:38:10] <fujin> It's not actually that hard to go from test=>rspec | ||
| [2008/05/10 11:38:18] <fujin> I should probably just port these old tests to the new format | ||
| [2008/05/10 11:38:21] <jamesturnbull> they make sense to me but the higher order testing stuff - mock versus stub - I can't muster the mental time to cogitate about it | ||
| [2008/05/10 11:40:13] <jamesturnbull> fujin: that's one cool article | ||
| [2008/05/10 11:40:21] <jamesturnbull> fujin: I might try a few tests later | ||
| [2008/05/10 11:40:50] <jamesturnbull> fujin: the art of really simple - clear - logical instructions - hard to find | ||
| [2008/05/10 11:41:33] <fujin> I know; | ||
| [2008/05/10 11:41:36] <fujin> that's awesome | ||
| [2008/05/10 11:43:59] <fujin> hrm, one thing I don't understand there | ||
| [2008/05/10 11:44:08] <fujin> is how to convert the assert_nothing_raised blocks | ||
| [2008/05/10 11:45:30] <jamesturnbull> fujin: http://rspec.info/documentation/test_unit.html | ||
| [2008/05/10 11:45:36] @ brscott joined channel #puppet | ||
| [2008/05/10 11:45:47] @ brscott left channel #puppet () | ||
| [2008/05/10 11:48:00] <fujin> ah, wrap it in a lambda block | ||
| [2008/05/10 11:48:03] <fujin> ooh, this is cool | ||
| [2008/05/10 11:48:07] <fujin> alias :doing :lambda | ||
| [2008/05/10 11:48:16] <fujin> let's you do doing { blahblah }.should_not raise_error | ||
| [2008/05/10 11:48:53] <jamesturnbull> fujin: ping me with any tests you change I'd like to take a look | ||
| [2008/05/10 11:48:56] @ sknight joined channel #puppet | ||
| [2008/05/10 11:48:58] <jamesturnbull> fujin: bbl | ||
| [2008/05/10 12:02:35] <fujin> blagh, still can't get my head around it | ||
| [2008/05/10 12:02:38] <fujin> going to AoC before I explode | ||
| [2008/05/10 12:02:44] <fujin> at least I managed to refactor that tagmail stuff | ||
| [2008/05/10 12:02:56] <fujin> http://github.com/fujin/puppet/commits/fix1210 | ||
| [2008/05/10 12:03:08] * fujin & | ||
| [2008/05/10 12:56:36] @ Quit: sknight: "Leaving" | ||
| [2008/05/10 13:12:50] <rizwank> davids' mysql module has this in it's init pp - what is this? | ||
| [2008/05/10 13:12:51] <rizwank> # Collect all databases and users | ||
| [2008/05/10 13:12:51] <rizwank> Mysql_database<<||>> | ||
| [2008/05/10 13:18:20] <rizwank> this looks unfinished, but some of his plugin routines look cool - I just don't know how to access or use them | ||
| [2008/05/10 13:33:31] <rizwank> In another question, this sound familiar to anyone? "You cannot collect exported resources without storeconfigs being set" | ||
| [2008/05/10 13:33:34] <rizwank> I don't know what storeconfigs are. | ||
| [2008/05/10 13:34:37] @ Demosthenes joined channel #puppet | ||
| [2008/05/10 13:40:37] @ Quit: greenmoss: | ||
| [2008/05/10 13:42:18] @ authentic joined channel #puppet | ||
| [2008/05/10 13:47:40] @ lak joined channel #puppet | ||
| [2008/05/10 13:49:36] <huangmingyou> storeconfigs is store client's facter vaules in DB. and store export resource in DB, then other client can collect the resource. | ||
| [2008/05/10 13:51:47] @ Quit: andrewcshafer: | ||
| [2008/05/10 14:09:56] @ andrewcshafer joined channel #puppet | ||
| [2008/05/10 14:11:19] @ Quit: lak: | ||
| [2008/05/10 14:15:02] @ Quit: f3ew: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 14:21:10] <jamesturnbull> rizwank: wiki:UsingStoredConfiguration | ||
| [2008/05/10 14:21:13] <gepetto> jamesturnbull: rizwank: wiki:UsingStoredConfiguration is http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration | ||
| [2008/05/10 14:21:58] <jamesturnbull> rizwank: wiki:ExportedResources | ||
| [2008/05/10 14:22:00] <gepetto> jamesturnbull: rizwank: wiki:ExportedResources is http://reductivelabs.com/trac/puppet/wiki/ExportedResources | ||
| [2008/05/10 14:22:21] @ andrewcshafer_ joined channel #puppet | ||
| [2008/05/10 14:22:54] <rizwank> Thanks. I've heard one or two mentiosn about it being a PITA. is it worth it? | ||
| [2008/05/10 14:23:53] <jamesturnbull> rizwank: depends on your requirements | ||
| [2008/05/10 14:24:06] <jamesturnbull> rizwank: exported resources can be very powerful | ||
| [2008/05/10 14:24:56] <jamesturnbull> rizwank: I think most of the implementation issues are sorted for stored configurations but there are performance issues in larger implementations | ||
| [2008/05/10 14:25:12] <rizwank> I was looking at Davids's use of mysql | ||
| [2008/05/10 14:25:23] <rizwank> and his implemenation looks a lot more interesting, rather than just forcing grants remotely | ||
| [2008/05/10 14:29:39] <jamesturnbull> rizwank: it is - most of davids' stuff is very nifty | ||
| [2008/05/10 14:29:40] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/05/10 14:29:56] <rizwank> just not well documented for newcomers ;) | ||
| [2008/05/10 14:30:04] <rizwank> I had to realize that I had to read his hosting script | ||
| [2008/05/10 14:37:38] @ Quit: rizwank: | ||
| [2008/05/10 14:44:12] @ Quit: andrewcshafer_: | ||
| [2008/05/10 14:51:11] @ Quit: zobbo: Remote closed the connection | ||
| [2008/05/10 14:51:44] @ zobbo joined channel #puppet | ||
| [2008/05/10 14:52:24] @ Quit: a-priori: | ||
| [2008/05/10 14:55:06] @ kambiz joined channel #puppet | ||
| [2008/05/10 14:55:45] @ Quit: kambiz: Remote closed the connection | ||
| [2008/05/10 15:10:31] @ Quit: zobbo: Read error: 110 (Connection timed out) | ||
| [2008/05/10 15:17:26] @ andrewcshafer joined channel #puppet | ||
| [2008/05/10 15:31:23] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/10 15:34:02] @ roald joined channel #puppet | ||
| [2008/05/10 15:58:42] @ Quit: bender183: Read error: 113 (No route to host) | ||
| [2008/05/10 16:17:04] @ \ask joined channel #puppet | ||
| [2008/05/10 16:48:41] @ descala joined channel #puppet | ||
| [2008/05/10 17:01:32] @ Quit: descala: | ||
| [2008/05/10 17:07:22] @ m1n3s6 joined channel #puppet | ||
| [2008/05/10 17:11:11] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2008/05/10 17:22:26] @ jshare joined channel #puppet | ||
| [2008/05/10 17:22:27] @ Quit: jshar1: Read error: 104 (Connection reset by peer) | ||
| [2008/05/10 17:34:34] @ shake-n-bake joined channel #puppet | ||
| [2008/05/10 17:44:15] @ descala joined channel #puppet | ||
| [2008/05/10 17:44:21] @ Quit: descala: Remote closed the connection | ||
| [2008/05/10 18:09:29] @ Quit: randybias: | ||
| [2008/05/10 18:14:29] @ jvanzyl joined channel #puppet | ||
| [2008/05/10 18:47:00] <Omahn> Hello! What would be the recommended way of escaping text before passing to exec? Would it be the slash_escape function suggested in the SimpleText recipe? | ||
| [2008/05/10 18:54:56] @ johnf joined channel #puppet | ||
| [2008/05/10 19:09:39] @ Quit: m1n3s6: "Leaving" | ||
| [2008/05/10 19:09:47] @ Quit: yure: Remote closed the connection | ||
| [2008/05/10 19:10:06] @ Quit: \ask: | ||
| [2008/05/10 20:01:13] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/05/10 20:03:46] @ roald joined channel #puppet | ||
| [2008/05/10 20:13:24] @ Quit: johnf: Read error: 110 (Connection timed out) | ||
| [2008/05/10 20:29:01] @ Quit: _lunix_: Remote closed the connection | ||
| [2008/05/10 20:36:31] @ _lunix_ joined channel #puppet | ||
| [2008/05/10 21:00:01] @ Quit: _lunix_: Read error: 113 (No route to host) | ||
| [2008/05/10 21:06:22] @ pleemans joined channel #puppet | ||
| [2008/05/10 21:19:47] @ geert_ joined channel #puppet | ||
| [2008/05/10 21:22:29] @ Quit: pleemans: Remote closed the connection | ||
| [2008/05/10 21:55:46] @ greenmoss joined channel #puppet | ||
| [2008/05/10 22:04:48] @ zobbo joined channel #puppet | ||
| [2008/05/10 22:05:16] <geert_> Is it normal for ruby in combination with puppet to use up to 130M mem? | ||
| [2008/05/10 22:20:52] @ andrewcshafer joined channel #puppet | ||
| [2008/05/10 22:41:46] @ johnf joined channel #puppet | ||
| [2008/05/10 22:47:47] @ Quit: roald: Remote closed the connection | ||
| [2008/05/10 23:07:48] @ Quit: andrewcshafer: | ||
| [2008/05/10 23:30:50] @ Quit: zobbo: Remote closed the connection | ||
| [2008/05/10 23:35:28] @ a-priori joined channel #puppet | ||
| [2008/05/10 23:37:37] <hacim> geert_: yes, especially if you are doing a lot of fileserving | ||
| [2008/05/10 23:41:56] @ jeckersb joined channel #puppet | ||
| [2008/05/10 23:49:54] <gepetto> ::puppet:: Puppet Scalability edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetScalability (by james@lovedthanlost.net) | ||
| [2008/05/10 23:54:59] <geert_> hacim, why especially with fileserving? any way to lower the mem footprint? Maybe run puppetd from cron? | ||
| [2008/05/10 23:56:50] <hacim> geert_: because the way puppet distributes files via xmlrpc causes things to be loaded into memory, its not an efficient mechanism and is being re-written in dev versions of puppet | ||
| [2008/05/10 23:57:17] <hacim> geert_: you can lower the memory footprint by stopping serving large files or file directory trees and instead distribute them in other ways | ||
| [2008/05/10 23:57:29] <hacim> such as rsync, wget, svn checkouts, etc. |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!