Thursday, 2008-04-10

[2008/04/10 00:01:53] <kolla> morfoh: fyi, updated puppet did not complain about fqdn node name.. so that bit worked, but the serticates and signing part didnt work at all, so I'm back on stable
[2008/04/10 00:04:14] * kolla feels like going into hibernation till next debian stable release
[2008/04/10 00:04:16] @ a-priori joined channel #puppet
[2008/04/10 00:04:24] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/04/10 00:04:41] <kolla> or rather.. go on a long holiday
[2008/04/10 00:06:09] @ brscott joined channel #puppet
[2008/04/10 00:08:07] <mikepea_> Demosthe1ex: i think that's the only way to get to ruby. alternatively, you are in generate("/bin/sh", "-c", "id | tr -d '\n'") territory - yum.
[2008/04/10 00:08:59] <mikepea_> Demosthe1ex: or the equivalent in ruby/perl...
[2008/04/10 00:10:17] @ Quit: Innocenti: Client Quit
[2008/04/10 00:10:23] <Demosthe1ex> urg
[2008/04/10 00:10:37] [msg(#puppet)] ::puppet:: Ticket #1182 (enhancement closed): More facts for manufacturer.rb @ http://reductivelabs.com/trac/puppet/ticket/1182#comment:1
[2008/04/10 00:11:10] @ stick joined channel #puppet
[2008/04/10 00:15:58] <morfoh> kolla: I am using the latest puppet version, and so far it worked well. the only ugly thing is that I cannot run the client agent on the host the masterd is running
[2008/04/10 00:16:04] <morfoh> there it complains
[2008/04/10 00:16:09] <chillitom> if i create a file { "filename": mode => "644" }, will it care whether the file exists or not?
[2008/04/10 00:17:31] @ SMP joined channel #puppet
[2008/04/10 00:17:36] @ Quit: sparanjape: Read error: 104 (Connection reset by peer)
[2008/04/10 00:17:52] <chillitom> i.e. not setting ensure
[2008/04/10 00:19:04] @ lak joined channel #puppet
[2008/04/10 00:30:06] <tim|mb> hi lak
[2008/04/10 00:30:13] <lak> hi
[2008/04/10 00:30:14] * kolla is curious on what version of puppetmaster people might be using on debian etch
[2008/04/10 00:30:35] <tim|mb> we use 0.24.4 from unstable/testing
[2008/04/10 00:30:43] <kolla> puppetmaster_0.24.4-3?
[2008/04/10 00:30:48] <tim|mb> lemme check
[2008/04/10 00:31:09] <tim|mb> tim@management:~$ dpkg -l | grep puppet
[2008/04/10 00:31:09] <tim|mb> ii puppet 0.24.4-3 centralised configuration management for net
[2008/04/10 00:31:09] <tim|mb> ii puppetmaster 0.24.4-3 centralised configuration management control
[2008/04/10 00:31:09] <tim|mb> tim@management:~$
[2008/04/10 00:31:15] <kolla> hm :/
[2008/04/10 00:32:14] <kolla> ok, I'll try it again, but this time I'll put aside my manifests, purge the old installation and install 0.24.4-3 from scratch
[2008/04/10 00:34:44] <kolla> yay - that worked
[2008/04/10 00:35:00] <ashp> Hmm, I made all kinds of definitions when I started, but with time I keep removing them
[2008/04/10 00:35:10] <ashp> i'm going backwards :O
[2008/04/10 00:36:33] <kolla> tim|mb: ok, the puppetmaster doesnt complain about fqdn node name, but the client (ubuntu, 0.22-4-2) certainly does :)
[2008/04/10 00:36:51] <ashp> is there some way to clear out and regenerate yaml data, because for some reason after removing a mountpoint, it keeps trying to recreate it
[2008/04/10 00:37:54] @ brscott left channel #puppet ()
[2008/04/10 00:39:53] <ashp> oh, if you try to import an entry directory it just dies, that as causing it
[2008/04/10 00:42:06] @ Innocenti joined channel #puppet
[2008/04/10 00:42:52] <morfoh> that becomes pretty weird ... but now it is working
[2008/04/10 00:43:54] <morfoh> I think the problem is not really puppet related
[2008/04/10 00:44:01] <morfoh> that it cannot determine the hostname
[2008/04/10 00:48:15] @ Quit: jvanzyl:
[2008/04/10 00:49:25] @ jvanzyl joined channel #puppet
[2008/04/10 00:52:45] <thom> tim|mb: you know dpkg -l 'puppet*' works? :)
[2008/04/10 00:53:04] <tim|mb> thom: i do now ;-)
[2008/04/10 00:53:30] <DerekW> lak: There is a reporting bug in rpm in 5.0 <= RHEL <= 5.2 which means you can't usage the package type on multipile architectures, e.g. to force the installation of both libnl.i386 and libnl.x86_64. Any idea where on the Wiki that should go?
[2008/04/10 00:53:43] <DerekW> Sort of "gotchas" page
[2008/04/10 00:54:06] <lak> i'm thinking there's a red hat support page on the wiki, but i don't actually remember
[2008/04/10 00:54:18] <DerekW> Lemme see
[2008/04/10 00:54:20] <lak> maybe it's linked to from the (trying) wiki:SupportedPlatforms page?
[2008/04/10 00:54:28] <lak> nope, that doesn't exist
[2008/04/10 00:54:31] <lak> it's something like that, tho
[2008/04/10 00:54:40] <kolla> thom: if he was to use that, we'd get 5 completely useless lines as well :)
[2008/04/10 00:55:24] <DerekW> PuppetRedHatCentos ?
[2008/04/10 00:56:17] <thom> so, given http://pastie.caboo.se/177917 , why do any attempts to use that type never cause the file to be changed?
[2008/04/10 00:56:29] * thom is sure it's something really obvious
[2008/04/10 01:09:54] <lak> thom: looks right
[2008/04/10 01:13:29] <thom> lak: can you recommend any debugging strategies from that point?
[2008/04/10 01:17:46] <lak> i assume you've run the client in debug mode
[2008/04/10 01:18:07] <lak> you don't paste what your actual types look like; i assume you've got puppet code that should actually modify the file
[2008/04/10 01:19:30] @ Quit: oxtail: Read error: 110 (Connection timed out)
[2008/04/10 01:21:22] [msg(#puppet)] ::puppet:: Puppet Red Hat Centos edited by whaymand @ http://reductivelabs.com/trac/puppet/wiki/PuppetRedHatCentos
[2008/04/10 01:23:13] * Volcane thinks a yum repo for redhat should be built that has historic versions too
[2008/04/10 01:23:20] <Volcane> like when 24.x was up and down and broken
[2008/04/10 01:23:28] <Volcane> i had hell finding older packages :(
[2008/04/10 01:24:02] <thom> yeah, the debug output is: Foo/[a]/run: defined 'run' as 'yes' ; and the it gets filebucketed
[2008/04/10 01:24:12] <lak> but the file doesn't get changed?
[2008/04/10 01:24:16] <thom> nope
[2008/04/10 01:24:25] <lak> Volcane: i'm pretty sure that lutter's repo has all the old versions
[2008/04/10 01:24:46] <Volcane> lak: nope
[2008/04/10 01:24:52] <Volcane> lak: he said he doesnt have disk space
[2008/04/10 01:24:58] <lak> woah
[2008/04/10 01:25:04] <Volcane> lak: I offered him free hosting, but he didnt seem keen
[2008/04/10 01:25:18] <lak> i'd be mirroring them if i knew that
[2008/04/10 01:25:23] <Volcane> (as in, he responded to my mails up to the point that i offered him a VM to host in)
[2008/04/10 01:25:29] <lak> heh
[2008/04/10 01:25:45] <Volcane> and I didnt want to just grab his stuff and make a mirror
[2008/04/10 01:25:55] <shiruken> why not?
[2008/04/10 01:26:11] <Volcane> well i mean for general public use
[2008/04/10 01:26:16] <Volcane> obviosuly for myself, thats the route i went
[2008/04/10 01:26:20] <shiruken> not enough bandwidth?
[2008/04/10 01:26:30] <Volcane> but didnt want to just verbatim nick his stuff and stick it on my urls for everyone to use
[2008/04/10 01:26:41] <Volcane> eventhough its not exactly nicking it as such, but you know
[2008/04/10 01:26:46] <shiruken> no
[2008/04/10 01:27:07] <Volcane> b/w isnt a problem at all
[2008/04/10 01:27:17] <shiruken> offering to host things so that it's available in 2 spots
[2008/04/10 01:27:23] <shiruken> not a big deal
[2008/04/10 01:27:28] <lak> i concur
[2008/04/10 01:27:43] <Volcane> ok
[2008/04/10 01:27:59] * Volcane might ask lak for a yum.reductivelabs.com or something hostname then
[2008/04/10 01:28:44] <lak> thom: can you paste the debugging for a whole transaction run?
[2008/04/10 01:29:15] <thom> lak: i tell a lie. the file gets the puppet header written, but that's it
[2008/04/10 01:29:15] <thom> sure
[2008/04/10 01:29:41] <riddley> lak you here?
[2008/04/10 01:29:48] <lak> yep
[2008/04/10 01:29:52] <lak> what's up?
[2008/04/10 01:31:04] @ andrewcshafer joined channel #puppet
[2008/04/10 01:31:18] * Volcane will make David L again to see
[2008/04/10 01:35:00] <Volcane> make=mail
[2008/04/10 01:35:29] @ jason^ joined channel #puppet
[2008/04/10 01:35:38] @ Quit: wibbit: Read error: 110 (Connection timed out)
[2008/04/10 01:36:44] <kolla> hm, upgraded puppet on client also, and now .. new warnings :)
[2008/04/10 01:37:24] <kolla> pluginsync.. nah
[2008/04/10 01:39:15] @ Quit: tim|mb: "This computer has gone to sleep"
[2008/04/10 01:39:38] <thom> lak: http://pastie.caboo.se/177946
[2008/04/10 01:41:06] <lak> thom: and instead you have a=no or something in the file?
[2008/04/10 01:41:12] <lak> the logs certainly imply it's working
[2008/04/10 01:41:22] <thom> yeah, a=no\nb=no
[2008/04/10 01:46:23] <kolla> morfoh: now node name with fqdn works fine, yey
[2008/04/10 01:46:32] <kolla> needs quotes though, yes
[2008/04/10 01:49:26] <lak> thom: look at the parsed provider for sshkey
[2008/04/10 01:49:41] <lak> create hooks similar to that and see what the state of the hashes are after parsing and before writing
[2008/04/10 01:49:48] <lak> that should at least give you a view of what's happening
[2008/04/10 01:50:41] [msg(#puppet)] ::puppet:: Ticket #1183 (defect created): configprint option does not regonize environments @ http://reductivelabs.com/trac/puppet/ticket/1183
[2008/04/10 01:50:55] <thom> ok, thanks
[2008/04/10 01:51:14] <Demosthe1ex> does exec command use a shell (ie: i can pipe?)
[2008/04/10 01:56:04] @ saurabh joined channel #puppet
[2008/04/10 01:56:04] @ Quit: SMP: Read error: 104 (Connection reset by peer)
[2008/04/10 01:56:22] <lak> Demosthe1ex: try it :)
[2008/04/10 01:56:49] <Demosthe1ex> lak: i did..... and though "cat /etc/resolv.conf | grep -v duh" failed, it was only due to path..
[2008/04/10 01:56:58] <Demosthe1ex> i added /bin and it said it succeeded.
[2008/04/10 01:57:02] <Demosthe1ex> i don't beleive it
[2008/04/10 01:57:29] <lak> add something that writes to a file
[2008/04/10 01:58:32] @ Quit: Innocenti: Client Quit
[2008/04/10 01:58:37] <Demosthe1ex> that didn't make sense. it ran, but it only checked the path on the first command.
[2008/04/10 01:58:45] <Demosthe1ex> but it did write out the output
[2008/04/10 01:58:48] <kolla> lak: you write that "file" will be replaced by "native resources" for copying files from central location - what do you mean with "native resources"?
[2008/04/10 01:59:14] <lak> in what context did i say this?
[2008/04/10 01:59:22] <kolla> http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
[2008/04/10 02:00:11] <kolla> all I ever want to do with puppet is copying out files and restart services attached to certain of them :)
[2008/04/10 02:00:22] <lak> that's crazy talk
[2008/04/10 02:02:41] <ashp> i want puppet to integrate an AI that logs into my servers and just figures everything else forever
[2008/04/10 02:02:46] <ashp> I'll pay for you to write that, lak
[2008/04/10 02:02:57] <lak> how much?
[2008/04/10 02:02:57] <ashp> my node defs will be "hostname { ai_look_after_this_please }
[2008/04/10 02:03:01] <kolla> :)
[2008/04/10 02:03:02] <lak> and how will you know when i'm done?
[2008/04/10 02:03:13] <ashp> when it hacks into my network from your laptop and starts managing things
[2008/04/10 02:03:38] <lassizci> lak should be paid by an hour :)
[2008/04/10 02:03:40] <lak> kolla: all that means is that file is an opaque resource -- you don't really know what's in a file -- so native resources will hopefully replace much of its use
[2008/04/10 02:04:03] <lak> e.g., the way there's a native sshkey type, rather than just managing opaque known_hosts files
[2008/04/10 02:04:12] <lak> lassizci: i don't think anyone can afford that right now
[2008/04/10 02:04:22] <lak> although i'm probably actually working something like a normal week week recently
[2008/04/10 02:04:34] <lak> i can't seem to force the 70+ hrs a week i've been running for the last three months
[2008/04/10 02:04:43] <lak> sorry; s/months/years/
[2008/04/10 02:04:53] <lak> i've barely been able to work on a weekend in 2008
[2008/04/10 02:05:29] <lassizci> I ment about that AI thingy :)
[2008/04/10 02:05:42] <ashp> there's a new guy who works on puppet full time as well now, right?
[2008/04/10 02:05:50] <lassizci> so if you start doing it, make sure you get paid by an hour :)
[2008/04/10 02:06:26] <lak> ashp: yeah
[2008/04/10 02:06:34] <lak> he's mostly doing client work right now
[2008/04/10 02:06:40] <ashp> that should help reduce things under 70+, I hope, for your own sanity
[2008/04/10 02:06:48] <ashp> I've btdt when it comes to working hours like that, and it just destroys your life
[2008/04/10 02:06:56] <ashp> 6 months and I burnt out completely
[2008/04/10 02:08:39] <lutter> Volcane: feel free to mirror my stuff
[2008/04/10 02:09:14] <lutter> Volcane: got my attention now .. if you give me access somewhere I'll upload the old RPM's to it (I still have them locally)
[2008/04/10 02:09:42] <Volcane> lutter: ooh didnt notice you there :) ok, I'll put up a VM somewhere
[2008/04/10 02:09:49] <Volcane> lutter: and give you a user to a vhost
[2008/04/10 02:10:03] <Volcane> lutter: else i can just mirror them into the vhost or something
[2008/04/10 02:10:48] <lutter> Volcane: either works for me ... just let me know where you want me to upload them (if it's with ssh I can send you my public key) and how I can continue to upload new releases
[2008/04/10 02:10:57] <Volcane> excellent
[2008/04/10 02:11:48] <kolla> lak: 99% of the files distributed here are just files.. config files, scripts..even a few binaries.
[2008/04/10 02:12:05] <lak> kolla: then you have not yet found the tao of puppet :)
[2008/04/10 02:12:32] <kolla> I'm not searching for tao, just KISS and "make it so" :)
[2008/04/10 02:12:34] <thom> lak: curiouser and curiouser: http://pastie.caboo.se/177967
[2008/04/10 02:13:00] <ashp> kolla: what is it you're trying to do? :)
[2008/04/10 02:13:15] <lak> that's freaking weird
[2008/04/10 02:13:40] <kolla> ashp: nothing special, getting rid of cfengine
[2008/04/10 02:13:47] <ashp> kolla: because it always starts with just distributing files
[2008/04/10 02:13:57] <ashp> and before you know it, you're managing mountpoints, services, nagios.. :)
[2008/04/10 02:14:19] <kolla> ashp: aha, but I have _been_ there ;)
[2008/04/10 02:15:05] <ashp> I'm still trying to debate if I want to script up something that lets me list files on each server to automatically push back into puppets svn tree, so that I can use puppet to rebuild entire services, even those that change their files
[2008/04/10 02:15:28] <kolla> then I and a friend of mine tossed cfengine up in the air and limited its use outlaw anything but copy:: and shellcommands:: :)
[2008/04/10 02:16:24] <kolla> classification of machines went out the windows, each "class" use their own seperate cfengine tree, so that people who mess in one tree will not break anything in the other
[2008/04/10 02:16:46] <kolla> all people do now is check in files in subversion
[2008/04/10 02:16:52] <thom> lak: yeah :(
[2008/04/10 02:16:56] <kolla> and they're mostly happy with that
[2008/04/10 02:17:29] <lak> kolla: that's why i created a new tool -- cfengine wasn't manageable beyond those actions
[2008/04/10 02:20:10] <kolla> lak: my idea is to use the existing file tree that we use with cfengine.. ideally the users wont even know that I've moved from cfengine to puppet
[2008/04/10 02:20:20] <lak> makes sense
[2008/04/10 02:20:26] <kolla> they'll just edit their files as normal
[2008/04/10 02:22:02] <Demosthe1ex> wonder if this jgoldschrafe uses irc. discussing #1154 could be fun.
[2008/04/10 02:22:08] <gepetto_> Demosthe1ex: #1154 is http://reductivelabs.com/trac/puppet/ticket/1154 "Allow signed manifests to eliminate single point of compromise"
[2008/04/10 02:22:57] <Volcane> hmm, so say you use exported resources to configure something
[2008/04/10 02:23:11] <Volcane> and you want to make the puppetmaster forget about some node that had previously exported stuff
[2008/04/10 02:23:12] <Demosthe1ex> i just realized scope carries across imports.
[2008/04/10 02:23:16] <Volcane> how would you go about that?
[2008/04/10 02:24:48] <lak> at this point, you'd need to write a short ruby script that just did Puppet::Rails::Host.delete("hostname") or something similar
[2008/04/10 02:24:51] <lak> after loading the puppet.conf
[2008/04/10 02:24:58] <Volcane> ah
[2008/04/10 02:25:14] <Volcane> been toying - not yet using - it for my nagios bits
[2008/04/10 02:25:20] <Volcane> and now i want to get rid of a machine
[2008/04/10 02:25:25] <Volcane> and its annoyingly persistant :P
[2008/04/10 02:28:36] @ pleemans joined channel #puppet
[2008/04/10 02:36:16] @ Quit: DerekW: "Leaving"
[2008/04/10 02:44:01] @ plathrop joined channel #puppet
[2008/04/10 02:45:41] <ashp> god I really hate the rhel manual, I wish it would explain pam/ldap auth in more depth than 'run this one command to do magical things'
[2008/04/10 02:48:10] <plathrop> ashp: Unfortunately, pam/ldap auth is actually a hard problem.
[2008/04/10 02:48:20] <Wakko666> and not a simple one.
[2008/04/10 02:48:27] <plathrop> I've tried to write good documentation, but that way lies madness
[2008/04/10 02:48:31] <benp-> ive heard redhat intentionally writes documentation in ways that encourage people to pay for support
[2008/04/10 02:48:37] <Wakko666> i.e. not simple to explain in a concise manner
[2008/04/10 02:48:44] <plathrop> Which is saying quite a bit, because I'm a pretty good documentation writer.
[2008/04/10 02:48:49] <plathrop> Wakko666: Exactly
[2008/04/10 02:48:56] <plathrop> benp-: Wouldn't surprise me.
[2008/04/10 02:50:43] <Wakko666> benp-: it's far more likely that it's just a subject they don't want to dedicate hundreds of pages explaining something that is already explained in-depth elsewhere.
[2008/04/10 02:51:11] <Wakko666> there are whole books dedicated to ldap and pam, why should they waste their time re-explaining it when others already have?
[2008/04/10 02:51:47] <ashp> I figured it would be easy to enable
[2008/04/10 02:51:55] <ashp> just throw in some uidNumber: etc, into the existing ldap objects
[2008/04/10 02:52:05] <ashp> turn it on in pam, tell it where to look, and bam, we're off and running
[2008/04/10 02:52:07] <plathrop> ashp: It's really nontrivial.
[2008/04/10 02:52:19] <ashp> why is it so hard, central auth shouldn't be a difficult thing
[2008/04/10 02:52:20] <Wakko666> yeah... ldap is _never_ easy.
[2008/04/10 02:52:23] <plathrop> I've gone through it several times.
[2008/04/10 02:52:35] <plathrop> There are a number of things that make it hard.
[2008/04/10 02:52:36] <ashp> what is so non-trivial? Remembering I already have ldap running so I just have to modify the existing uid=ashp
[2008/04/10 02:52:52] <plathrop> First of all, LDAP is different for everyone.
[2008/04/10 02:53:11] <plathrop> As in, you can design your directory 1000+ different ways.
[2008/04/10 02:53:39] <ashp> true
[2008/04/10 02:53:44] <plathrop> Second, the libraries don't all agree on *how* to access LDAP, so explaining how to get things working often depends what *else* you want to do.
[2008/04/10 02:54:03] <plathrop> Some applications can do searches, others assume a basically flat directory.
[2008/04/10 02:54:36] <plathrop> Very few applications implement LDAP in a sophisticated enough manner to support an intelligently designed directory.
[2008/04/10 02:54:52] <plathrop> Third, it gets even worse if someone has already implemented their directory.
[2008/04/10 02:55:30] <plathrop> Most of the tools in the linux space seem to require your DN to start with uid= , so if you used anything else you are going to have to figure out how to deal with that.
[2008/04/10 02:56:15] <plathrop> I can give you a basic recipe that worked for me, but that was building from the ground up, no pre-existing info.
[2008/04/10 02:56:26] <ashp> we have tons of stuff
[2008/04/10 02:56:30] <ashp> but luckily we start with uid= so
[2008/04/10 02:56:43] <plathrop> Oh yeah, then there's also the joy that happens with consistent uid/gid numbering.
[2008/04/10 02:56:53] <ashp> that should be easy, surely
[2008/04/10 02:56:56] <ashp> if you put the uids into ldap
[2008/04/10 02:57:55] <plathrop> Oh yeah, it *should* be. Until you realize that on different machines different people were added in different orders and if you give 'plathrop' a uid of 1000 that'll work on most machines but on a few machines 'ashp' was uid 1000 so now plathrop owns all those files...
[2008/04/10 02:58:15] <ashp> ahhh ok
[2008/04/10 02:58:16] <plathrop> So, let's just give everybody new uid/gids... That's always fun...
[2008/04/10 02:58:19] <ashp> the good news is we only have 30 boxes
[2008/04/10 02:58:23] <ashp> and two real users
[2008/04/10 02:58:27] <ashp> so this makes things REAL easy :)
[2008/04/10 02:58:34] <plathrop> That helps a lot.
[2008/04/10 03:03:31] <kolla> 679 boxes here, and two handfull of users :|
[2008/04/10 03:03:43] <kolla> or something like that
[2008/04/10 03:04:44] <kolla> correction.. it's half of that
[2008/04/10 03:05:02] <kolla> 350 uniq keys
[2008/04/10 03:05:15] <kolla> they always double due to ipv6
[2008/04/10 03:06:56] <kolla> which btw it appears that puppet doesnt support :)
[2008/04/10 03:07:04] <ashp> ipv6! you're a crazy man
[2008/04/10 03:07:20] <kolla> why?
[2008/04/10 03:07:55] <kolla> ipv6 is nice and good and gets your through firewalls and other ignorant obstacles :)
[2008/04/10 03:12:03] @ Quit: kajtzu: Read error: 145 (Connection timed out)
[2008/04/10 03:15:46] <kolla> ashp: we're an NRN, IPv6 is kinda of mandatory :)
[2008/04/10 03:16:16] @ porridge joined channel #puppet
[2008/04/10 03:16:45] @ Quit: porridge: Client Quit
[2008/04/10 03:17:04] @ kajtzu joined channel #puppet
[2008/04/10 03:17:19] @ Quit: mikepea_: Read error: 104 (Connection reset by peer)
[2008/04/10 03:20:16] <ashp> dear ldap, when i find your designers, i vow to kill them all, love me
[2008/04/10 03:21:12] <shiruken> ?
[2008/04/10 03:21:42] <kajtzu> ldap is pretty okay as long as you dont try to overdo it
[2008/04/10 03:21:54] <kajtzu> I can imagine far worse things :)
[2008/04/10 03:22:03] <ashp> i get a lot of:
[2008/04/10 03:22:03] <ashp> ldap_modify: Undefined attribute type (17) additional info: add: attribute type undefined
[2008/04/10 03:22:11] <ashp> with zero explanation as to WHICH add statment is wrong
[2008/04/10 03:22:20] <kajtzu> yes that is very common with openldap :)
[2008/04/10 03:22:27] <kajtzu> google helps you 99% of the time
[2008/04/10 03:23:12] <ashp> i think it's because i am including a password crypt that has a : in it, or something
[2008/04/10 03:23:26] <kajtzu> also assuming this is openldap try grepping the attribute in your object you are attempting to add from /etc/openldap/schema/ or something
[2008/04/10 03:23:40] <kajtzu> it is possible that it really doesnt exist and/or the schema isnt being included in your config
[2008/04/10 03:24:13] <ashp> well, i think it's more than that, because if I run with -v it translates my ldif into add:add at one point, and that's where it collapses
[2008/04/10 03:30:19] @ Quit: saurabh: "Leaving"
[2008/04/10 03:32:40] @ Quit: zobbo: "Enough no more 'tis not as sweet as it was before"
[2008/04/10 03:35:11] @ f--z joined channel #puppet
[2008/04/10 03:36:56] @ wibbit joined channel #puppet
[2008/04/10 03:38:28] @ Quit: andrewcshafer:
[2008/04/10 03:40:56] @ Quit: kolla: Remote closed the connection
[2008/04/10 03:41:01] @ andrewcshafer joined channel #puppet
[2008/04/10 03:44:03] @ yure joined channel #puppet
[2008/04/10 03:48:43] @ shake-n-bake joined channel #puppet
[2008/04/10 04:05:45] @ Quit: wibbit: Read error: 110 (Connection timed out)
[2008/04/10 04:07:41] @ wibbit joined channel #puppet
[2008/04/10 04:10:52] <Demosthe1ex> anyone use conditional imports to prevent importing a file twice?
[2008/04/10 04:10:56] <Demosthe1ex> or have an example?
[2008/04/10 04:12:58] @ Quit: yure: Remote closed the connection
[2008/04/10 04:13:56] @ riddelyteamroom joined channel #puppet
[2008/04/10 04:14:59] <riddelyteamroom> lak around?
[2008/04/10 04:15:05] <lak> yep
[2008/04/10 04:15:19] <riddelyteamroom> did something change in 24.4 to affect how modules work?
[2008/04/10 04:15:41] <riddelyteamroom> we used to call types from within modules w/o including the containing class... and now it seems that we have to
[2008/04/10 04:15:53] <riddelyteamroom> (include the containing class)
[2008/04/10 04:17:39] <lak> i don't think anything changed
[2008/04/10 04:17:46] <lak> i don't really understand what you mean, tho
[2008/04/10 04:17:58] <lak> you might be encountering an autoloading problem
[2008/04/10 04:18:10] <lak> are the classes just not getting auto-imported, or are they not working?
[2008/04/10 04:18:50] <riddelyteamroom> so let's say we have a module modules/a/manifests/init.pp that contains a class "a" that contains a type "a"... we used to just call a::a{ whatever: blah=>whatever} and now we have to "include a" first
[2008/04/10 04:19:24] <riddelyteamroom> and we get an error like : "Could not find resource type a::a at /etc/blah..."
[2008/04/10 04:22:38] <riddelyteamroom> the good news: 24.4 seemed to fix all of our mongrel probs
[2008/04/10 04:27:27] <riddelyteamroom> and just to be clear, this was all working before 24.4...
[2008/04/10 04:31:11] @ shadoi joined channel #puppet
[2008/04/10 04:32:04] <lak> riddelyteamroom: you're really using the same name for the class and definition?
[2008/04/10 04:32:19] <riddelyteamroom> yea
[2008/04/10 04:32:28] <lak> does it work if you don't do that?
[2008/04/10 04:32:34] <lak> that is, if you use different names?
[2008/04/10 04:32:34] <riddelyteamroom> no
[2008/04/10 04:32:37] <lak> ok
[2008/04/10 04:32:40] <riddelyteamroom> we have one that's diff
[2008/04/10 04:32:44] <riddelyteamroom> and it requires the include
[2008/04/10 04:32:54] <lak> include, not import?
[2008/04/10 04:32:56] <lak> weird
[2008/04/10 04:33:00] <lak> lemme see if i can reproduce
[2008/04/10 04:33:06] <riddelyteamroom> we also had a case of puppet/modules/ourthing/init.pp that *just* had a define in it, and it broke too
[2008/04/10 04:36:04] <riddelyteamroom> btw, it seems to be about defines... at least so far
[2008/04/10 04:36:24] <riddelyteamroom> we'll do some work here to see if it is confined to defines
[2008/04/10 04:37:16] <lak> ok
[2008/04/10 04:37:24] <lak> i'm working on reproducing it right now
[2008/04/10 04:39:27] <shadoi> hah, I just opened a ticket about it
[2008/04/10 04:40:02] <shadoi> I'm fairly sure it's only definitions
[2008/04/10 04:40:16] <lak> really?
[2008/04/10 04:40:20] <lak> what's the ticket?
[2008/04/10 04:40:27] <lak> ah, i see
[2008/04/10 04:40:54] <riddelyteamroom> lol
[2008/04/10 04:41:24] <riddelyteamroom> and here we thought we were way behind the curve
[2008/04/10 04:41:48] <shadoi> I've been trying to figure out why it happens, but I just don't see why it fails.
[2008/04/10 04:42:07] <shadoi> the parser still searches for definitions...
[2008/04/10 04:42:08] <lak> ok
[2008/04/10 04:42:10] <lak> i'll look at it
[2008/04/10 04:44:00] @ Quit: mzupan: Remote closed the connection
[2008/04/10 04:44:25] [msg(#puppet)] ::puppet:: Ticket #1184 (defect created): Autoloading definitions doesn't work, explicit import is required @ http://reductivelabs.com/trac/puppet/ticket/1184
[2008/04/10 04:47:45] @ dysinger joined channel #puppet
[2008/04/10 04:55:13] @ Quit: jason^:
[2008/04/10 05:02:25] @ kolla joined channel #puppet
[2008/04/10 05:05:37] <ashp> hmm, damn rpm
[2008/04/10 05:05:44] <ashp> it doesn't have the gpg key so it won't install things
[2008/04/10 05:05:48] @ shenson is now known as shenson_not_here
[2008/04/10 05:05:53] <ashp> now to figure outif package {} has a workaround for this
[2008/04/10 05:06:58] <lak> nope
[2008/04/10 05:08:35] <ashp> i will use the lazy method of just forcing it the one time
[2008/04/10 05:08:46] <ashp> manually, because anything else will be a huge amount of work for a one time thing
[2008/04/10 05:08:57] @ Quit: markl_: "Lost terminal"
[2008/04/10 05:09:58] <ashp> I am trying hard to move away from my original scope of having puppet manage every single tiny thing on the servers
[2008/04/10 05:10:01] <ashp> to just doing the basics
[2008/04/10 05:11:41] @ mikepea joined channel #puppet
[2008/04/10 05:13:35] @ zobbo joined channel #puppet
[2008/04/10 05:14:06] <lak> http://arstechnica.com/news.ars/post/20080409-ars-launches-the-server-room-for-large-scale-it-discussion.html
[2008/04/10 05:14:18] @ markl_ joined channel #puppet
[2008/04/10 05:15:09] <Demosthe1ex> whats a good pastebin for this channel?
[2008/04/10 05:15:35] <plathrop> Demosthe1ex: Say 'pastie: give me a link'
[2008/04/10 05:16:31] <Demosthe1ex> pastie: give me a link
[2008/04/10 05:16:35] <Demosthe1ex> too many text bots ;]
[2008/04/10 05:18:22] <pastie> http://pastie.org/178070 by Demosthe1ex.
[2008/04/10 05:18:43] <Demosthe1ex> i'm having difficulty tracking down a syntax error...
[2008/04/10 05:19:29] @ Quit: markl_: "Lost terminal"
[2008/04/10 05:20:14] <plathrop> node is a reserved word
[2008/04/10 05:20:36] <Demosthe1ex> i tried replacing that with myNode...
[2008/04/10 05:20:42] <Demosthe1ex> in the function def, same error
[2008/04/10 05:20:51] <plathrop> Darn
[2008/04/10 05:20:56] <plathrop> I thought it'd be easy
[2008/04/10 05:20:59] <Demosthe1ex> i thought of that, but it works elsewhere
[2008/04/10 05:21:00] <plathrop> :-P
[2008/04/10 05:21:12] <Demosthe1ex> i narrowed it down to 1 definition.
[2008/04/10 05:21:27] <Demosthe1ex> same error as 3
[2008/04/10 05:21:31] <stick> is there a date fact or something similiar?
[2008/04/10 05:21:52] <stick> I want to put a 'generated by puppet @ ...' in some of my generated templates
[2008/04/10 05:22:10] <plathrop> stick: In templates, just use <%= Time.now %>
[2008/04/10 05:22:19] <stick> plathrop: thx
[2008/04/10 05:22:42] <Demosthe1ex> updated the paste
[2008/04/10 05:22:53] <plathrop> Demosthe1ex: What's the value of "myNode"?
[2008/04/10 05:23:36] <plathrop> You may need to put that in quotes if you can't guarantee it will always be a single word by Ruby reckoning
[2008/04/10 05:23:46] <plathrop> For example, if it is a FQDN
[2008/04/10 05:23:51] <plathrop> so:
[2008/04/10 05:23:56] <plathrop> node => "$myNode"
[2008/04/10 05:24:43] <Demosthe1ex> a name, single word, no whitespace
[2008/04/10 05:26:47] <plathrop> Hrm...
[2008/04/10 05:26:51] <plathrop> Sorry, I'm stumped
[2008/04/10 05:26:56] <Demosthe1ex> me too
[2008/04/10 05:27:49] @ markl_ joined channel #puppet
[2008/04/10 05:32:50] <lak> Demosthe1ex: plathrop is right, you have to use a word other than 'node'
[2008/04/10 05:32:54] <lak> 'node' is a reserved word
[2008/04/10 05:32:56] <lak> like 'if'
[2008/04/10 05:33:04] @ Quit: mikepea:
[2008/04/10 05:33:06] <Demosthe1ex> i thought it might ;]
[2008/04/10 05:44:11] @ mikepea joined channel #puppet
[2008/04/10 05:44:58] @ Quit: lak:
[2008/04/10 05:48:24] <Demosthe1ex> plathrop: i had node in two places, though i renamed them individually i still got the error. renaming both fixed it
[2008/04/10 05:48:27] <Demosthe1ex> i used target instead :P
[2008/04/10 05:49:07] <plathrop> There ya go.
[2008/04/10 05:51:44] @ Quit: pleemans: "Ex-Chat"
[2008/04/10 06:00:16] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/04/10 06:02:07] @ Quit: Zothar_Work: "ChatZilla 0.9.81 [Firefox 2.0.0.13/2008031115]"
[2008/04/10 06:05:16] @ Quit: Demosthe1ex: "leaving"
[2008/04/10 06:10:36] <shadoi> heh, I used to work for the company that hosts arstechinica's forum
[2008/04/10 06:12:29] @ Quit: greenmoss:
[2008/04/10 06:13:55] @ wibbit_ joined channel #puppet
[2008/04/10 06:14:25] @ Quit: wibbit_: Remote closed the connection
[2008/04/10 06:14:43] @ wibbit_ joined channel #puppet
[2008/04/10 06:15:25] @ Quit: wibbit_: Remote closed the connection
[2008/04/10 06:15:44] @ wibbit_ joined channel #puppet
[2008/04/10 06:20:59] @ muerr joined channel #puppet
[2008/04/10 06:29:56] @ heydrick joined channel #puppet
[2008/04/10 06:31:28] <heydrick> there seems to be a bug in the puppet emacs mode
[2008/04/10 06:32:09] <heydrick> when it encounters an array it barfs with Wrong type argument: number-or-marker-p, "1 occurrences"
[2008/04/10 06:32:49] <heydrick> anyone run into this?
[2008/04/10 06:34:06] <plathrop> heydrick: Not I. The emacs mode is sadly not highly maintained.
[2008/04/10 06:34:10] <stick> do nested case statements work?
[2008/04/10 06:34:27] <plathrop> stick: Yes
[2008/04/10 06:34:34] <stick> hmm
[2008/04/10 06:34:43] <plathrop> stick: Wait, maybe not.
[2008/04/10 06:34:55] <plathrop> I thought I had an example in my manifests, but I can't find it
[2008/04/10 06:35:10] <stick> pastie: url
[2008/04/10 06:35:35] <pastie> http://pastie.org/178108 by stick.
[2008/04/10 06:36:06] * plathrop doesn't see why it wouldn't work, but can't say for sure.
[2008/04/10 06:36:12] <stick> the second case around the modprobe_alias is what I'm having issues with
[2008/04/10 06:36:15] <stick> just doesn't get run
[2008/04/10 06:36:25] <plathrop> I suggest trying a very simple example of nested case to see if the principle works.
[2008/04/10 06:36:47] <plathrop> If the principle works, you can eliminate that as the cause
[2008/04/10 06:37:49] @ lak joined channel #puppet
[2008/04/10 06:38:53] <stick> yeah I remember at one point there being a bug about nested case statements but not sure if it was fixed or not
[2008/04/10 06:39:08] <stick> I'll troll the wiki in a few see if I can't find it
[2008/04/10 06:40:13] <plathrop> Welcome back, lak
[2008/04/10 06:45:39] <stick> pastie: url
[2008/04/10 06:45:45] <pastie> http://pastie.org/178115 by stick.
[2008/04/10 06:46:00] <stick> so that works so I must be missing something else
[2008/04/10 06:46:28] <shadoi> plathrop: Russ Allbery (my coworker) has been updating it recently
[2008/04/10 06:46:31] <shadoi> I'll pass this on to him
[2008/04/10 06:46:44] <machpo> heydrick: there were some updates to the emacs puppet mode stuff on the 0.24.x branch - might be worth grabbing them
[2008/04/10 06:47:56] @ markl__ joined channel #puppet
[2008/04/10 06:48:23] <heydrick> machpo: yeah, just found that
[2008/04/10 06:50:42] @ Quit: muerr: Read error: 110 (Connection timed out)
[2008/04/10 06:51:48] @ Quit: mikepea: Read error: 113 (No route to host)
[2008/04/10 06:51:56] <shadoi> lak: "Parent classes must have dissimilar names", think this is a limitation that will go away after the rest stuff?
[2008/04/10 06:52:21] <lak> nope
[2008/04/10 06:52:32] <lak> why would it? you can't have class a inherit class a
[2008/04/10 06:52:40] <lak> the namespacing is just too confusing
[2008/04/10 06:52:49] <lak> i mean, it's possible, but... is there a real need for this?
[2008/04/10 06:52:56] <shadoi> class a {}, class b {}, class b::a inherits a {}
[2008/04/10 06:52:57] <lak> it certainly has nothing to do with REST, tho
[2008/04/10 06:53:07] <lak> ah
[2008/04/10 06:53:09] <lak> hrm
[2008/04/10 06:53:14] <lak> that's different
[2008/04/10 06:53:22] <lak> hrm
[2008/04/10 06:53:36] <shadoi> seems like all base classes would need to be named ::<class> or something
[2008/04/10 06:53:48] <shadoi> some designation
[2008/04/10 06:53:56] <lak> except... puppet adds the parent class's namespace to its search path
[2008/04/10 06:54:07] <lak> so in that situation, b::a would search through b::a, b, and a
[2008/04/10 06:54:15] <shadoi> ah.. yeah
[2008/04/10 06:54:17] <lak> in an appropriate order, but would still be confusing
[2008/04/10 06:54:21] <lak> and trust me, people would be confused
[2008/04/10 06:54:26] <shadoi> *nod*
[2008/04/10 06:54:41] <shadoi> seems like it should work, but .. I dunno.
[2008/04/10 06:54:45] <lak> i'm actually really shocked that i haven't gotten bugs filed about namespace search paths
[2008/04/10 06:55:03] <lak> i expect most people just don't know much about them, so they don't use them and thus can't complain
[2008/04/10 06:55:16] <shadoi> yeah.. heavier module usage will shake some of this stuff out
[2008/04/10 06:55:27] <lak> yeah
[2008/04/10 06:55:31] <lak> ok, gotta go again
[2008/04/10 06:55:32] <lak> bbl
[2008/04/10 06:55:34] @ Quit: lak:
[2008/04/10 06:56:48] <plathrop> shadoi: Man, I'm sorry I missed that exchange
[2008/04/10 06:57:01] <plathrop> I have a very good reason to have that issue be resolved.
[2008/04/10 06:57:14] <shadoi> what's that?
[2008/04/10 06:57:25] <plathrop> I have modules for ldap and kerberos
[2008/04/10 06:57:37] <plathrop> They define ldap::master and kerberos::kdc for example.
[2008/04/10 06:57:57] <plathrop> Then I have a site module that inherits those classes and overrides things for site-specific configuration
[2008/04/10 06:58:07] <plathrop> so I want to have site::ldap::master
[2008/04/10 06:58:10] <plathrop> But I can't
[2008/04/10 06:58:17] <shadoi> right
[2008/04/10 06:58:22] <plathrop> This seems like a very reasonable use case to me.
[2008/04/10 06:58:30] <shadoi> yeah exactly
[2008/04/10 06:58:46] <holoway> plathrop: the alternative would be to set up the site specific stuff in each class
[2008/04/10 06:59:05] <plathrop> holoway: What, in the modules? No way.
[2008/04/10 06:59:06] <holoway> case site { .. }
[2008/04/10 06:59:13] <plathrop> holoway: That defeats the purpose.
[2008/04/10 06:59:21] <holoway> I dont' disagree. :0
[2008/04/10 06:59:22] <plathrop> Or maybe I misunderstand
[2008/04/10 06:59:38] <heydrick> i'm still seeing the issue with the latest puppet-mode.el in 0.24.x
[2008/04/10 06:59:49] <heydrick> GNU Emacs 21.4.1
[2008/04/10 07:00:16] <shadoi> plathrop: you just have to abuse the namespace... site::ldap_master
[2008/04/10 07:00:28] <shadoi> which is lame, but it works.
[2008/04/10 07:00:30] <plathrop> shadoi: That's exactly what I did.
[2008/04/10 07:00:42] <plathrop> I want to be able to share these modules eventually
[2008/04/10 07:01:42] <plathrop> Which I wouldn't be able to do if I had anything site-specific baked in, due to corporate policy if nothing else
[2008/04/10 07:04:22] <shadoi> plathrop: yeah I think inheritance is definitely the most obvious use-case and I hadn't really realized that until now.
[2008/04/10 07:05:27] <stick> so what it seems like isn't working is case $foo { '': { ... } }
[2008/04/10 07:05:40] <stick> basically a variable being defined but having no value
[2008/04/10 07:06:17] <stick> though simple test of that works fine
[2008/04/10 07:06:22] @ emerose joined channel #puppet
[2008/04/10 07:06:29] <Wakko666> fsweetser: ping
[2008/04/10 07:09:42] <shadoi> stick: yeah it's a known issue.. you have to set it to something
[2008/04/10 07:09:59] <shadoi> in my definitions I set defaults to "NA" and test for that
[2008/04/10 07:10:19] <stick> hmm I'm not sure I can do that the way I have things setup currently
[2008/04/10 07:10:31] <shadoi> holoway was adding a way to check with a function
[2008/04/10 07:10:35] <stick> hmm though I guess I can use a selector to test for an empty value
[2008/04/10 07:10:43] <stick> then set it then have the case check that
[2008/04/10 07:10:44] <stick> ew
[2008/04/10 07:16:00] @ muerr joined channel #puppet
[2008/04/10 07:16:50] @ Quit: jvanzyl:
[2008/04/10 07:18:06] [msg(#puppet)] ::puppet:: Ticket #1185 (defect created): puppet-mode.el issue with array syntax @ http://reductivelabs.com/trac/puppet/ticket/1185
[2008/04/10 07:18:49] <stick> hmm that doesn't seem to work either
[2008/04/10 07:30:20] <muerr> got Pulling Strings with Puppet today :D
[2008/04/10 07:31:06] @ emerose_ joined channel #puppet
[2008/04/10 07:32:27] @ Quit: jeckersb: "Leaving"
[2008/04/10 07:35:26] @ Quit: jfluhmann: Remote closed the connection
[2008/04/10 07:35:45] @ randybias joined channel #puppet
[2008/04/10 07:35:51] <benp-> hrm.. i've had db issues since i started using storeconfigs months ago. i just kind of let it happen before but now i'm exporting and collecting nagios configs so it needs to work. at the moment ~20% of my sql queries fail messages like, "err: Could not store configs: PGError: no connection to the server: ROLLBACK". i have problems with mysql, postgresql. i've tried running the db server on localhost and remotely. same thing. i suspect it mi
[2008/04/10 07:36:34] <benp-> hlp plz
[2008/04/10 07:38:38] <fujin> odd
[2008/04/10 07:38:38] <fujin> version?
[2008/04/10 07:38:57] <benp-> various. currently 0.24.4
[2008/04/10 07:39:07] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/04/10 07:39:14] <fujin> is the sql server local to the puppetmaster, or remote?
[2008/04/10 07:39:17] <fujin> it has to do *alot* of queries
[2008/04/10 07:39:44] <benp-> local to the puppetmaster but ive tried it on another host
[2008/04/10 07:39:52] <fujin> that'd odd
[2008/04/10 07:39:54] <fujin> How many nodes?
[2008/04/10 07:40:05] <benp-> about 40
[2008/04/10 07:40:17] <fujin> THat's weird
[2008/04/10 07:40:32] @ Demosthenex joined channel #puppet
[2008/04/10 07:40:39] <fujin> I have about 50, I use collectiosn for Munin
[2008/04/10 07:40:56] <benp-> i even tried moving the puppetmaster to a different host
[2008/04/10 07:41:23] <benp-> both running centos 5, with lutter's rpms
[2008/04/10 07:42:03] <benp-> i also tried replacing most of lutter's packages with straight gems
[2008/04/10 07:44:00] <lutter> benp-: are you sure there isn't something restarting your postmaster every once in a while ?
[2008/04/10 07:44:56] <benp-> not that I can think of, the only thing thats using postgres is the puppetmaster
[2008/04/10 07:46:32] <lutter> I was more thinking of cronjobs, logrotate etc.
[2008/04/10 07:48:08] <benp-> no, nothing that would be restarting it every few minutes.
[2008/04/10 07:48:34] <benp-> also, it seems to happen more often when there's more concurrent puppet runs going on
[2008/04/10 07:50:04] <benp-> and by that i mean, more than one
[2008/04/10 07:53:00] <jamesturnbull> benp-: and you said you had problems with mysql and sqlite too?
[2008/04/10 07:53:25] <benp-> yeah
[2008/04/10 07:53:36] <jamesturnbull> similar problesm?
[2008/04/10 07:54:23] <benp-> yeah, although i was seeing different error messages. 'other end has gone away' iirc
[2008/04/10 07:54:39] <benp-> but it appeared to be the same problem
[2008/04/10 07:55:15] <jamesturnbull> any error messages on the db side?
[2008/04/10 07:55:45] <benp-> i'll look into that
[2008/04/10 07:58:11] <muerr> hey james: I like the brevity of the puppet book :)
[2008/04/10 07:58:47] <benp-> nothing very helpful in the pg log
[2008/04/10 08:00:11] [msg(#puppet)] ::puppet:: Ticket #1183 (defect created): some settings are not environment aware, e.g; manifest @ http://reductivelabs.com/trac/puppet/ticket/1183
[2008/04/10 08:00:32] <benp-> i'll see if i can bump it up to 'debug' or something
[2008/04/10 08:01:48] <jamesturnbull> muerr: designed to be short and sweet - broad ranging introduction without being unwieldy - also the way luke keeps changing things it's important not to go overboard :)
[2008/04/10 08:02:14] <muerr> jamesturnbull: Going for a second edition release when Luke publishes 0.25.0 to the world?
[2008/04/10 08:02:34] <jamesturnbull> muerr: hmmm - possible - maybe in 12-18 months
[2008/04/10 08:03:04] <jamesturnbull> benp-: yeah because that error is coming from pg
[2008/04/10 08:03:20] <shadoi> benp-: other end has gone away messages were related to the TCP keep-alive stuff, that shouldn't be in 0.24.4
[2008/04/10 08:03:29] <shadoi> benp-: it may be a postgres issue
[2008/04/10 08:03:37] <shadoi> postgres-specific
[2008/04/10 08:04:22] <benp-> hum, i'll give mysql a shot
[2008/04/10 08:04:39] <shadoi> benp-: what's your average store configs time for a node?
[2008/04/10 08:05:09] <shadoi> (you can see the times if you run puppetmaster with --debug)
[2008/04/10 08:05:15] <benp-> ah i was just about to ask
[2008/04/10 08:05:42] <shadoi> --debug --verbose --no-daemonize is what I usually use
[2008/04/10 08:06:44] <shadoi> if it's taking a really long time to store a node's catalog, then it makes me think it could just be a simple timeout somewhere.
[2008/04/10 08:06:55] <shadoi> I really hope that's not the case.
[2008/04/10 08:07:00] <holoway> shadoi: you don't need --verbose if your doing debug anymore
[2008/04/10 08:07:06] <shadoi> holoway: thank god.
[2008/04/10 08:07:13] <holoway> indeed
[2008/04/10 08:07:14] <shadoi> there was a silly bug with the order
[2008/04/10 08:07:23] <shadoi> drove me nuts
[2008/04/10 08:07:30] <holoway> yeah, I still find myself doing --debug --verbose
[2008/04/10 08:07:36] <holoway> but it's not neeeded anymore
[2008/04/10 08:07:39] <holoway> neeeeeeeeded
[2008/04/10 08:07:40] <shadoi> cool
[2008/04/10 08:07:43] * holoway likes extra eee's
[2008/04/10 08:07:54] <shadoi> eeeeee
[2008/04/10 08:08:01] <shadoi> reminds me of mini-me
[2008/04/10 08:08:13] <holoway> we should do a little hip-hop number
[2008/04/10 08:08:43] <shadoi> holoway: *sigh* call my agent.
[2008/04/10 08:09:20] <holoway> oh, mister big shot now, huh? remember, if you don't give love to your indy roots, we'll shun you on your way back down!
[2008/04/10 08:09:23] <holoway> :)
[2008/04/10 08:09:40] <shadoi> haha
[2008/04/10 08:10:51] <benp-> shadoi: what can i grep for in the puppetmaster --debug output? i'm not seeing anything about how long it takes to store the catalog
[2008/04/10 08:11:17] <shadoi> benp-: grep for compiled
[2008/04/10 08:11:22] <shadoi> it's the line above that
[2008/04/10 08:11:47] <shadoi> or below.. can't remember
[2008/04/10 08:12:46] <benp-> compiled configuration for foo in x seconds ?
[2008/04/10 08:12:47] @ Quit: flakrat_: "Leaving"
[2008/04/10 08:13:08] <benp-> oh, stored catalog for foo in x seconds..
[2008/04/10 08:13:08] <shadoi> yeah
[2008/04/10 08:14:02] <shadoi> benp-: it'll always take quite a bit longer to store a node's catalog the first time. hopefully after that it's much quicker.
[2008/04/10 08:15:51] <benp-> some nodes do it in 1-4 seconds, some are saying 50, 80.. but, this is a new database
[2008/04/10 08:16:00] <shadoi> sounds about right
[2008/04/10 08:16:48] <fujin> Isn't catalog spelt catalogue?
[2008/04/10 08:16:50] * fujin ponders
[2008/04/10 08:17:06] <shadoi> only in the non-american parts of the world. which are utterly insignificant.
[2008/04/10 08:17:08] <shadoi> ;)
[2008/04/10 08:17:19] <fujin> hha
[2008/04/10 08:17:24] <fujin> you mean "make up the other 80% of the world"
[2008/04/10 08:17:46] <shadoi> wow, I'd say we've both got a distorted world view in that case.
[2008/04/10 08:17:48] <fujin> ;>
[2008/04/10 08:17:52] <fujin> you *are* american!
[2008/04/10 08:17:56] <shadoi> hahha
[2008/04/10 08:18:01] <shiruken> haha
[2008/04/10 08:18:05] <shiruken> zing
[2008/04/10 08:18:10] <fujin> lol
[2008/04/10 08:18:12] <fujin> just playin mate
[2008/04/10 08:18:18] <shadoi> ditto
[2008/04/10 08:18:39] <holoway> I'm not: American English Or Die!
[2008/04/10 08:18:41] <holoway> :)
[2008/04/10 08:18:50] <fujin> I disagree with american english
[2008/04/10 08:19:00] <fujin> mostly due to the .*ization words vs. isation
[2008/04/10 08:19:03] <muerr> ditto.
[2008/04/10 08:19:16] <muerr> i use isation, ise, etc.
[2008/04/10 08:19:18] <fujin> but I've always spelt colour like America.. probably due to HTML when I was younger :(
[2008/04/10 08:19:20] <benp-> i like the extra u's in words like colour
[2008/04/10 08:19:21] <holoway> we've got it right with quotes and commas, though
[2008/04/10 08:19:28] <muerr> and our's like labour, armour, colour, behaviour.
[2008/04/10 08:19:34] <fujin> yeah^
[2008/04/10 08:19:36] <holoway> Then the man said "I like to eat chips," but he was lying
[2008/04/10 08:19:43] <shadoi> nobody pronounces civilzation with an S sound where the Z is.
[2008/04/10 08:19:48] <shadoi> civilization*
[2008/04/10 08:19:49] <fujin> I do
[2008/04/10 08:19:49] <shadoi> heh
[2008/04/10 08:19:50] <muerr> holoway, "Then he said, 'yeah mate'"?
[2008/04/10 08:19:55] <fujin> civilisation
[2008/04/10 08:20:02] <shadoi> you pronounce it that way?
[2008/04/10 08:20:03] <shadoi> really?
[2008/04/10 08:20:04] <fujin> aye
[2008/04/10 08:20:18] <muerr> I do type civilization though, because of the game :-)
[2008/04/10 08:20:29] <muerr> Though usually just CIv.
[2008/04/10 08:20:29] <fujin> NZ has a very interesting accent/english/announciation
[2008/04/10 08:20:32] <shadoi> I lived in england for a few years and they didn't, must be you southern hemisphere weirdos. :)
[2008/04/10 08:20:35] <fujin> ;>
[2008/04/10 08:20:36] <muerr> or "That giant time sink of my youth"
[2008/04/10 08:20:36] <fujin> mustbe
[2008/04/10 08:21:10] @ Quit: dysinger:
[2008/04/10 08:21:57] <muerr> course no one listens to me anyway, so what i type is moot.
[2008/04/10 08:22:20] <shiruken> eventually, you'll experience the giant time sink of doing repetitive tasks for years and years
[2008/04/10 08:23:04] <muerr> shiruken: i worked for IBM already.
[2008/04/10 08:23:09] <fujin> while true; ; done
[2008/04/10 08:23:10] <fujin> !
[2008/04/10 08:23:17] @ ezralini joined channel #puppet
[2008/04/10 08:24:04] <muerr> IBM ebusiness, even after 4 years, was still deploying Red Hat Linux systems via manual CD install, rather than using kickstart.
[2008/04/10 08:24:15] <fujin> haha
[2008/04/10 08:24:15] @ Quit: stick: Connection timed out
[2008/04/10 08:24:16] <fujin> fail
[2008/04/10 08:24:19] <muerr> epic
[2008/04/10 08:24:34] <shadoi> wowism
[2008/04/10 08:24:46] <muerr> We didn't even use Tivoli for config management.
[2008/04/10 08:25:19] <muerr> Tivoli Storage Manager was the backup system, and Tivoli Monitoring was, well, for monitoring... though we deployed Nagios because Tivoli can't detect if a server rebooted if its back up within the check interval (5 minutes)
[2008/04/10 08:25:29] <shadoi> we use TSM... blech
[2008/04/10 08:25:34] <muerr> my condolences.
[2008/04/10 08:25:57] <fujin> just rolled Commvault here
[2008/04/10 08:25:59] <fujin> its' been nice so far
[2008/04/10 08:26:07] <muerr> Something like puppet would never have made it, even under the radar.
[2008/04/10 08:26:16] <fujin> got an ML6000 tape robot, a MD3000 and MD1000 disk arrays
[2008/04/10 08:26:18] <fujin> <3 Dell
[2008/04/10 08:26:23] <muerr> h8 MD3000
[2008/04/10 08:26:30] <nevyn> ewww.. dell.
[2008/04/10 08:26:34] <nevyn> :)
[2008/04/10 08:26:40] <fujin> Dell has been really good to us
[2008/04/10 08:26:41] <fujin> ;>
[2008/04/10 08:26:41] <muerr> I just spent the better part of the last week fighting Dell support to get me a new array.
[2008/04/10 08:27:03] <nevyn> hp ibm and maybe sun
[2008/04/10 08:27:14] <holoway> new sun gear is really good
[2008/04/10 08:27:25] <muerr> Replaced both RAID controllers, TWICE, got new disks, and spent more than 20 hours on the phone with third level analyst and engineers to find that i wasn't talking out my ass, and that there's something *wrong* with the array.
[2008/04/10 08:27:35] <nevyn> 2 years to replace a faulty raid controller in a poweredge that caused intermittant kernel panics
[2008/04/10 08:27:35] <shadoi> holoway: agreed, it's what I'd use if it were my choice.
[2008/04/10 08:27:43] <fujin> we got 4 hour same day support with Del
[2008/04/10 08:27:44] <benp-> shadoi, james: just switched to mysql.. "err: Could not store configs: Mysql::Error: Lost connection to MySQL server during query: INSERT INTO `param_values` (`param_name_id`, `updated_at`, `line`, `resource_id`, `value`) VALUES(94, '2008-04-09 22:26:32', 10, 490, 'present')"
[2008/04/10 08:28:02] <holoway> we have a client who just got dell-level discounts out of them, too
[2008/04/10 08:28:03] <holoway> which is awesome
[2008/04/10 08:28:09] <shadoi> benp-: what version of rails do you have installed? (more specifically ActiveRecord)
[2008/04/10 08:28:18] <kolla> if I want reliable systems, I just use old machines that still work :)
[2008/04/10 08:28:22] <fujin> benp-: are you using a Socket, or IP?
[2008/04/10 08:28:25] <muerr> kolla: lol
[2008/04/10 08:28:30] <nevyn> fujin: so did we.
[2008/04/10 08:28:55] <benp-> rubygem-rails-2.0.1-1.el5, rubygem-activerecord-2.0.1-1.el5 (lutter's centos5 rpms)
[2008/04/10 08:28:57] <muerr> we've got "silver" support from Dell, whatever that means. i think its 24x7 tech support with next day parts service.
[2008/04/10 08:29:02] @ mindreframer joined channel #puppet
[2008/04/10 08:29:12] <fujin> benp-: so, socket or Ip?
[2008/04/10 08:29:18] <fujin> you shouldn't see lost connections if you use a socket
[2008/04/10 08:29:30] <nevyn> sliver is next business day. gold is 4hrs onsite
[2008/04/10 08:29:31] <benp-> fujin: ip currently.. the mysql server is *not* on localhost.
[2008/04/10 08:29:34] <nevyn> iirc
[2008/04/10 08:29:37] <shadoi> fujin: good call
[2008/04/10 08:29:38] <shadoi> http://www.ruby-forum.com/topic/54001
[2008/04/10 08:29:57] <benp-> fujin: ahh.. good idea. i'll make a db on localhost and try that
[2008/04/10 08:30:04] <fujin> heh
[2008/04/10 08:30:05] <shadoi> I think you also want the compiled native mysql driver
[2008/04/10 08:30:08] <fujin> puppet hammers MySQL :>
[2008/04/10 08:30:17] <shadoi> gem install mysql
[2008/04/10 08:30:42] <benp-> ok
[2008/04/10 08:30:49] <benp-> what does ruby use if the mysql gem is not installed?
[2008/04/10 08:31:01] <shadoi> a ruby version
[2008/04/10 08:31:02] <holoway> a very lame pure-ruby driver
[2008/04/10 08:31:06] <holoway> install the mysql gem
[2008/04/10 08:31:18] <hacim> huh
[2008/04/10 08:31:34] <holoway> you'll need the mysql-devel package for your platform to build it
[2008/04/10 08:31:41] <shadoi> I'll update the wiki if this works
[2008/04/10 08:31:46] <holoway> along with ruby-devel for ruby-mkmf and such
[2008/04/10 08:31:50] <hacim> or install libmysql-ruby1.8 on debian
[2008/04/10 08:31:54] <shadoi> yeah
[2008/04/10 08:31:56] <holoway> hacim: or that. :)
[2008/04/10 08:32:12] <hacim> darn, I've already got it installed
[2008/04/10 08:32:39] <shadoi> the rails package in lenny depends on it now. thankfully.
[2008/04/10 08:34:41] <jamesturnbull> shadoi: I think all of that is already in wiki:UsingStoredConfiguration
[2008/04/10 08:34:43] <gepetto_> jamesturnbull: shadoi: wiki:UsingStoredConfiguration is http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
[2008/04/10 08:34:49] <jamesturnbull> shadoi: but it'd be great for further updates
[2008/04/10 08:35:06] <jamesturnbull> shadoi: that page needs some restructuring and a contents section I think
[2008/04/10 08:35:06] <shadoi> ah cool, yeah
[2008/04/10 08:35:10] <shadoi> yeah
[2008/04/10 08:35:15] <shadoi> it's got a mix of old and new info
[2008/04/10 08:36:01] <holoway> any of you ever use dkimproxy?
[2008/04/10 08:36:07] <jamesturnbull> shadoi: yeah I re-wrote it about 2-3 months ago but never got back to completing it
[2008/04/10 08:36:14] <jamesturnbull> holoway: I don't want to say yes but yes I do
[2008/04/10 08:36:20] <shadoi> holoway: for yahoo domainkeys?
[2008/04/10 08:36:24] <holoway> yep
[2008/04/10 08:36:26] <muerr> holoway: not only have i never used it, but i've never heard it
[2008/04/10 08:36:28] <muerr> heard of
[2008/04/10 08:36:29] @ greenmoss joined channel #puppet
[2008/04/10 08:36:36] <shadoi> holoway: there's a postfix milter for it isn't there?
[2008/04/10 08:36:39] <muerr> I hope that helps :)
[2008/04/10 08:36:41] <shadoi> I think I had it working at one time
[2008/04/10 08:36:48] <benp-> i have some experience with the dkim milter
[2008/04/10 08:36:54] <jamesturnbull> holoway: I use it inside a qpsmtpd plug-in
[2008/04/10 08:37:34] <benp-> ugh.. i'm having problems building this mysql gem
[2008/04/10 08:37:50] <shadoi> benp-: make sure you have the devel packages installed
[2008/04/10 08:37:54] <shadoi> for mysql and ruby
[2008/04/10 08:37:55] <benp-> can't find the mysqlclient libs, which are installed
[2008/04/10 08:38:59] @ Quit: mindreframer:
[2008/04/10 08:39:08] @ mindreframer joined channel #puppet
[2008/04/10 08:40:16] <fujin> hahah@
[2008/04/10 08:40:20] <fujin> sorry this is OT, but shit;
[2008/04/10 08:40:20] <fujin> http://www.whitehouse.gov/vicepresident/photoessays/outdoors/06.html
[2008/04/10 08:40:26] <fujin> look at the reflection in his glasses
[2008/04/10 08:40:39] <shadoi> jamesturnbull: do you have an example of a TOC with RST?
[2008/04/10 08:40:59] <shadoi> god I hate RST so far.
[2008/04/10 08:41:54] <benp-> fujin: huh, what is that?
[2008/04/10 08:41:57] <holoway> I was looking to see if anyone had an idea of what he resource utilization looked like for signing outbound traffic
[2008/04/10 08:42:03] <fujin> That's a naked woman.
[2008/04/10 08:43:01] @ shenson_not_here is now known as shenson
[2008/04/10 08:43:23] <shadoi> fujin: I don't think it is, but it certainly looks a lot like it. :)
[2008/04/10 08:43:33] <fujin> it so is!
[2008/04/10 08:43:40] <shadoi> nah, zoom in on it
[2008/04/10 08:44:10] <fujin> the one in his right glasses looks like it has triboobs
[2008/04/10 08:44:13] * fujin agrees
[2008/04/10 08:44:18] <fujin> the left one though
[2008/04/10 08:44:39] @ johnf joined channel #puppet
[2008/04/10 08:44:56] <Wakko666> fujin: if you zoom in, it's an arm holding a fish.
[2008/04/10 08:45:15] <fujin> haha
[2008/04/10 08:45:23] <ribo> hmm. my irssi hilights on triboobs
[2008/04/10 08:45:28] <ribo> this is awesome.
[2008/04/10 08:45:50] <shadoi> HAH
[2008/04/10 08:45:51] <nevyn> /whois ribo
[2008/04/10 08:45:59] <plathrop> can someone run facter on their box and tell me if sshrsakey says "ssh-rsa" in it?
[2008/04/10 08:46:18] @ shenson is now known as shenson_not_here
[2008/04/10 08:46:24] <shadoi> sshrsakey
[2008/04/10 08:46:34] <muerr> i've got sshdsakey
[2008/04/10 08:46:46] <shadoi> the key part doesn't have anything
[2008/04/10 08:46:51] <shadoi> just the key
[2008/04/10 08:46:57] <plathrop> muerr: Does it say "ssh-dss"
[2008/04/10 08:46:58] <fujin> lol @ triboobs
[2008/04/10 08:47:08] <plathrop> shadoi: Interesting.
[2008/04/10 08:47:27] <muerr> plathrop: as in the comment for the ssh key? no comment, just all key.
[2008/04/10 08:47:31] <shadoi> plathrop: that's on debian/lenny
[2008/04/10 08:47:48] <fujin> AAAAB3NzaC1yc2EAAAABIwAAAQEAyQaXbxx7+zQpg4A+dBmaLQb+76e75Sa5TezPJ305UP4D1DCj/i2EvVDUwcKMgf4Q249p2aaWSJJ/UdF7mE3H+4iW3vTe52y/lqmwFR3EhQCzH0tNKAi6/SchCIG9m3ie8SCLyHWh6LO/mzHjjM19WC9YB797s+LRdhqBdl60ZwlTzmWW1i63rS9o1gASCulKEnugoPSVGWXtXC8jHmcW7444LnTLB2qBWOZoDsUrRkwomhvnW4RcA3BxD+deT8mXRmkMb0TzeFoPHOxto3oMd7ntcXlM90BnGx0Fij0LSAlPlgDII0vAH9uf3KLCgyuXaLOJylq/PD+jPiZsdT/5pQ==
[2008/04/10 08:47:53] <shadoi> grats
[2008/04/10 08:47:53] <fujin> (exec -o facter sshrsakey)
[2008/04/10 08:48:06] <plathrop> On my boxes, the key type is in the fact, which causes a problem using export/collect on sshkey type
[2008/04/10 08:48:07] @ dysinger joined channel #puppet
[2008/04/10 08:48:18] <plathrop> So, I get:
[2008/04/10 08:48:26] <plathrop> sshrsakey => ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAleecVbP1RZE+jICHFOrGUR9Cjh+tGmOTk+RHSco5hE/OFO3B6sawYc6G9ZiOAr+4/n2hhx/H0h5MLtrvK6WU4FBu2ysZQVMAPp6fKzCcRuowpCqY/ljVMUgEhornDgSm/6KkvlHg9ZiIHycanS1B7UauMqkFGs4vN9AGYugUsEfwp0w2xK9lRf/aytz2CyOh2ngY/h8jyCS90Fpbrd7sfLNDAnzaZCCaenfMqFfhQ9xEqXJEJcqWVvtCMIWlZwt950ukRCOkuWTLHxMw6rvQTGCzm1MzgJIEPiit6+RmOgiykKhTSJBi6VKv+ndrNXQ2isPn9Pkn8SKJNwjwBTBYtQ== root@ash023
[2008/04/10 08:48:29] <plathrop> from facter
[2008/04/10 08:48:33] <plathrop> and it produces:
[2008/04/10 08:48:36] <fujin> wth
[2008/04/10 08:48:39] <shadoi> sounds like a provider glitch
[2008/04/10 08:48:44] <plathrop> ash023 ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAleecVbP1RZE+jICHFOrGUR9Cjh+tGmOTk+RHSco5hE/OFO3B6sawYc6G9ZiOAr+4/n2hhx/H0h5MLtrvK6WU4FBu2ysZQVMAPp6fKzCcRuowpCqY/ljVMUgEhornDgSm/6KkvlHg9ZiIHycanS1B7UauMqkFGs4vN9AGYugUsEfwp0w2xK9lRf/aytz2CyOh2ngY/h8jyCS90Fpbrd7sfLNDAnzaZCCaenfMqFfhQ9xEqXJEJcqWVvtCMIWlZwt950ukRCOkuWTLHxMw6rvQTGCzm1MzgJIEPiit6+RmOgiykKhTSJBi6VKv+ndrNXQ2isPn9Pkn8SKJNwjwBTBYtQ== root@ash023
[2008/04/10 08:48:47] <fujin> facter -v ?
[2008/04/10 08:49:06] @ greenmoss left channel #puppet ()
[2008/04/10 08:49:12] <plathrop> 1.3.5 -> that's the problem, isn't it
[2008/04/10 08:49:21] <fujin> 1.3.8
[2008/04/10 08:49:47] <shadoi> provider? facter? wtf, don't listen to me.
[2008/04/10 08:50:11] * shadoi coffee &
[2008/04/10 08:50:23] @ Quit: ezralini:
[2008/04/10 08:50:35] <fujin> plathrop: http://rafb.net/p/nAI3vf53.html
[2008/04/10 08:50:36] <fujin> fwiw^
[2008/04/10 08:51:00] <plathrop> fujin: Thanks, that makes sense
[2008/04/10 08:52:28] <fujin> that's simply a test though
[2008/04/10 08:53:09] <fujin> in tests/tc_simple.rb
[2008/04/10 08:54:55] @ Quit: mindreframer:
[2008/04/10 08:55:06] <plathrop> Still, I think the version difference may be the issue
[2008/04/10 08:55:24] <fujin> perhaps
[2008/04/10 08:56:21] <plathrop> fujin: Yep, that fixed it
[2008/04/10 08:57:34] @ Quit: muerr: "Leaving."
[2008/04/10 09:06:39] <jamesturnbull> shadoi: the wiki:UPGRADE page
[2008/04/10 09:06:44] <gepetto_> jamesturnbull: shadoi: wiki:UPGRADE is http://reductivelabs.com/trac/puppet/wiki/UPGRADE
[2008/04/10 09:11:06] <shadoi> jamesturnbull: cool thanks,
[2008/04/10 09:11:17] <shadoi> I'll rework that page when I get a chance
[2008/04/10 09:11:55] <benp-> so i compiled the ruby mysql driver, created a mysql db on the localhost, added dbsocket= to puppet.conf, db doesn't seem to be getting populated. i guess it's time to run puppetmasterd with --debug
[2008/04/10 09:13:04] <fujin> benp-: http://rafb.net/p/lTEgdZ29.html
[2008/04/10 09:13:52] [msg(#puppet)] ::puppet:: Using Stored Configuration edited by shadoi @ http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration
[2008/04/10 09:14:12] <benp-> ah, working now
[2008/04/10 09:14:22] <fujin> what were you missing?
[2008/04/10 09:14:46] <shadoi> dbsocket= I assume
[2008/04/10 09:15:02] <benp-> it just magically started to work after restarting puppetmasterd
[2008/04/10 09:15:07] <fujin> ahyes
[2008/04/10 09:15:08] <fujin> awesome
[2008/04/10 09:25:41] <benp-> :(
[2008/04/10 09:25:58] <fujin> ;(?
[2008/04/10 09:26:21] <benp-> http://pastie.caboo.se/178237
[2008/04/10 09:26:49] <fujin> wow, what the fuck
[2008/04/10 09:26:51] <fujin> even with a Socket?
[2008/04/10 09:27:18] <benp-> yeahs
[2008/04/10 09:28:03] <benp-> unless, it's not connecting through the socket.
[2008/04/10 09:29:24] <shadoi> benp-: do you have a really low wait_timeout setting in my.cnf?
[2008/04/10 09:29:58] <shadoi> max_allowed_packet may be unusually low and cause that too
[2008/04/10 09:30:00] <benp-> show processlist says the connection is from localhost, not sure how to check if its using the socket
[2008/04/10 09:30:22] <shadoi> benp-: you can run lsof and grep for ruby
[2008/04/10 09:31:04] <benp-> the my.cnf on this machine is about 10 lines long. so, it's pretty much using defaults for everything
[2008/04/10 09:31:46] <shadoi> benp-: I think I see what it is, but I'm confused...
[2008/04/10 09:31:56] <holoway> shadoi: I wonder if myisam vs innodb would make a difference
[2008/04/10 09:32:00] <shadoi> in /usr/lib/ruby/1.8/puppet/rails.rb
[2008/04/10 09:32:03] <shadoi> comment out ActiveRecord::Base.allow_concurrency = true
[2008/04/10 09:32:07] <holoway> since you probably don't care a ton about the integrity of the data
[2008/04/10 09:32:15] <holoway> or need the non-table-level locks
[2008/04/10 09:32:29] <shadoi> I think they must have changed what that option does in recent ActiveRecord versions, because it's supposed to PREVENT this.
[2008/04/10 09:33:05] <shadoi> you'll have to restart puppetmasterd again
[2008/04/10 09:33:11] <benp-> just did
[2008/04/10 09:34:56] <shadoi> we may have to wrap all calls to AR to full get around this
[2008/04/10 09:35:02] <shadoi> fully*
[2008/04/10 09:35:05] <shadoi> blech
[2008/04/10 09:35:12] <shadoi> http://www.ruby-forum.com/topic/123472
[2008/04/10 09:35:13] <benp-> that sounds like a lot of work
[2008/04/10 09:36:12] <shadoi> It really just needs to get ripped out of puppet
[2008/04/10 09:36:17] * shadoi prays for 0.25
[2008/04/10 09:37:47] <holoway> shadoi: did you see my comment about using a queue and consumer for storeconfigs?
[2008/04/10 09:38:00] <benp-> whoa.. that seems to have worked
[2008/04/10 09:38:54] <benp-> oh.. hmm maybe it didnt
[2008/04/10 09:39:25] <holoway> ah, you did
[2008/04/10 09:39:58] <holoway> shadoi: I'm not even sure I would expose the node information via REST
[2008/04/10 09:40:08] <holoway> you could almost make it a persistent topic
[2008/04/10 09:40:17] <holoway> and get 'better' behavior
[2008/04/10 09:40:24] <holoway> in terms of having N consumers of node data
[2008/04/10 09:41:02] <holoway> if you really wanted a RESTful view, that would just be a simple consumer that does the job, basically
[2008/04/10 09:41:14] <benp-> the thing that confuses me, is why no one else is having similar problems
[2008/04/10 09:41:27] <benp-> (that i know of)
[2008/04/10 09:42:31] <shadoi> holoway: yeah I think it's a cool idea
[2008/04/10 09:42:49] <shadoi> holoway: I think if stompserver would do durable and/or virtual topics it would be a no-brainer
[2008/04/10 09:42:53] <shadoi> but _fuck_ activemq
[2008/04/10 09:43:09] <shadoi> I hate it
[2008/04/10 09:43:43] <shadoi> I think the ActiveMessaging dude has some patches for stompserver that might make it work.. hopefully we'll see soon.
[2008/04/10 09:43:54] @ Quit: dysinger:
[2008/04/10 09:44:04] <holoway> shadoi: yeah, it might be worth hacking stompserver a bit
[2008/04/10 09:44:30] <holoway> the more we break these tools apart, the more complicated deploying them will get
[2008/04/10 09:44:41] <holoway> but it's a complicated problem, so people will probably have to deal
[2008/04/10 09:44:42] <holoway> :)
[2008/04/10 09:45:03] <shadoi> yeah but I can guarantee you lak would shoot down using runnels if it continues to require activemq
[2008/04/10 09:45:06] <shadoi> at least I hope so. :)
[2008/04/10 09:45:12] <holoway> it doesn't require activemq
[2008/04/10 09:45:22] <holoway> it just requires stomp
[2008/04/10 09:45:29] <shadoi> I know, but it's the only decent option
[2008/04/10 09:45:39] <holoway> well, yeah, there is that. :)
[2008/04/10 09:46:02] <shadoi> the stompserver code scares me too :/
[2008/04/10 09:46:09] <holoway> I haven't even looked
[2008/04/10 09:46:16] <shadoi> I mean, it's good code
[2008/04/10 09:46:17] <holoway> if you don't need topics, lots of queue options
[2008/04/10 09:46:30] <holoway> all the fully features ones are java monsters
[2008/04/10 09:46:37] <holoway> s/features/featured/
[2008/04/10 09:47:30] <shadoi> I think I'm gonna try to add runnels schema support to activemessaging
[2008/04/10 09:47:49] <benp-> im out of here for now.. thanks a lot for the help guys.
[2008/04/10 09:47:53] <shadoi> I _think_ that's all it would need, not sure though.
[2008/04/10 09:48:15] <shadoi> benp-: so is it working now or no?
[2008/04/10 09:48:44] <holoway> shadoi: I had trouble finding docs for activemessaging that were useable outside of rails
[2008/04/10 09:48:46] <shadoi> benp-: it should at least reduce frequency it happens..
[2008/04/10 09:49:03] <shadoi> holoway: yeah it's rails specific (initial merb support now too)
[2008/04/10 09:49:13] <shadoi> holoway: but if you're already using rails, it's awesome.
[2008/04/10 09:49:22] <benp-> shadoi, it seems better but i'm still getting a lot of errs
[2008/04/10 09:49:46] <shadoi> benp-: I think it must be something redhat specific, I'm not sure what yet though
[2008/04/10 09:49:52] <shadoi> I don't see it on debian
[2008/04/10 09:50:39] <benp-> maybe i'll set up a debian box tomorrow
[2008/04/10 09:51:52] <shadoi> benp-: hmm.. are you using webrick by any chance?
[2008/04/10 09:52:08] <benp-> mongrel
[2008/04/10 09:52:17] <shadoi> no difference there then
[2008/04/10 09:53:49] <shadoi> benp-: those initial catalog stores are pretty huge, I imagine it's a buffer size setting somewhere
[2008/04/10 09:54:18] <shadoi> max_packet_allow default is the prime suspect
[2008/04/10 09:54:58] <benp-> is that a mysql setting?
[2008/04/10 09:55:02] <shadoi> yeah
[2008/04/10 09:55:28] <shadoi> sorry max_allow_packet
[2008/04/10 09:56:02] <shadoi> usual default is 1MB
[2008/04/10 09:56:08] <shadoi> might need to bump it up
[2008/04/10 09:56:20] <holoway> shadoi: is that just stuffing the yaml in the db?
[2008/04/10 09:57:10] <shadoi> no
[2008/04/10 09:57:25] <shadoi> puppetmaster actually has activerecord models it uses
[2008/04/10 09:57:49] <shadoi> it does try to store everything up and save it all at once though
[2008/04/10 09:57:55] <shadoi> which is why it'd be a big transaction
[2008/04/10 09:58:06] <shadoi> otherwise it's _really_ slow
[2008/04/10 09:59:32] @ patobrien joined channel #puppet
[2008/04/10 09:59:43] <shadoi> this is interesting: http://forums.mysql.com/read.php?28,130428,130428
[2008/04/10 10:00:00] <shadoi> maybe it's a max-openfiles thing
[2008/04/10 10:00:08] <shadoi> or something like that
[2008/04/10 10:01:04] <shadoi> I don't think we have that many connections going on though
[2008/04/10 10:02:51] @ jvanzyl joined channel #puppet
[2008/04/10 10:03:05] <shadoi> "Lost connection" and "went away" are different problems though I think. Using the socket makes "lost connection" go away pretty effectively.
[2008/04/10 10:03:38] * benp- &
[2008/04/10 10:07:35] @ Ned_ joined channel #puppet
[2008/04/10 10:18:18] <Wakko666> fsweetser: ping
[2008/04/10 10:23:37] @ Quit: jvanzyl:
[2008/04/10 10:27:37] @ lak joined channel #puppet
[2008/04/10 10:28:06] @ plathrop left channel #puppet ()
[2008/04/10 10:29:39] @ dysinger joined channel #puppet
[2008/04/10 10:29:59] @ Quit: lak: Client Quit
[2008/04/10 10:30:59] @ Quit: shadoi: "leaving"
[2008/04/10 10:36:14] @ Quit: minaural: Read error: 104 (Connection reset by peer)
[2008/04/10 10:49:53] @ Quit: randybias:
[2008/04/10 10:56:12] @ martha left channel #puppet ()
[2008/04/10 11:02:16] @ M- joined channel #puppet
[2008/04/10 11:02:57] @ Quit: Demosthenex: "leaving"
[2008/04/10 11:23:20] @ stick joined channel #puppet
[2008/04/10 11:24:42] @ john1 joined channel #puppet
[2008/04/10 11:25:57] @ Quit: johnf: Read error: 104 (Connection reset by peer)
[2008/04/10 11:40:08] @ Quit: andrewcshafer:
[2008/04/10 11:40:19] @ Quit: shake-n-bake:
[2008/04/10 11:43:30] @ andrewcshafer joined channel #puppet
[2008/04/10 11:45:03] @ jeckersb joined channel #puppet
[2008/04/10 11:47:27] @ Quit: andrewcshafer: Client Quit
[2008/04/10 11:59:37] @ lak joined channel #puppet
[2008/04/10 12:12:17] @ heydrick left channel #puppet ()
[2008/04/10 12:12:21] @ andrewcshafer joined channel #puppet
[2008/04/10 12:33:04] @ Quit: patobrien: Read error: 110 (Connection timed out)
[2008/04/10 12:36:50] <stick> mmm jack daniels + puppet
[2008/04/10 12:37:47] <fujin> heh.
[2008/04/10 12:41:09] @ Quit: emerose_:
[2008/04/10 13:00:29] @ Quit: jeckersb: "Leaving"
[2008/04/10 13:28:46] @ pietros joined channel #puppet
[2008/04/10 13:46:24] <stick> so I'm working on a type and provider (which is using the parsed provider), and I need to get the name of the file from a attribute (property) that is set by the type
[2008/04/10 13:46:29] <stick> but I'm not sure how to get at it
[2008/04/10 13:51:33] <lak> filename = resource.should(:property)
[2008/04/10 13:52:14] <lak> one of these days i'm going to fix the [] method so it returns 'should' value :/
[2008/04/10 13:56:36] @ Quit: andrewcshafer:
[2008/04/10 13:59:34] @ jvanzyl joined channel #puppet
[2008/04/10 14:22:10] <stick> pam_service_file = "/tmp/pam.d/" + resource.should(:service)
[2008/04/10 14:22:13] <stick> is what I have (for testing)
[2008/04/10 14:22:25] <stick> service being the property from the type
[2008/04/10 14:26:22] <stick> undefined local variable or method `resource' for main:Object
[2008/04/10 14:29:28] <stick> lak is resource defined outside of the Type do loop?
[2008/04/10 14:29:56] <lak> no
[2008/04/10 14:30:11] <lak> looks like you want to do a class-level operation with a single instance
[2008/04/10 14:30:14] <lak> which basically can't work
[2008/04/10 14:30:22] <lak> this is why parsed file classes have default targets
[2008/04/10 14:30:31] <lak> and then you can override them with a target property
[2008/04/10 14:31:59] <stick> hmm ok
[2008/04/10 14:33:25] <stick> not sure I completely understand that but I'll certainly take your word for it
[2008/04/10 14:33:31] * stick is still feeling in the dark with ruby
[2008/04/10 14:36:24] @ jason^ joined channel #puppet
[2008/04/10 14:40:19] * stick wonders if I could add to the default_target method
[2008/04/10 14:43:45] * fujin blows up default_target
[2008/04/10 14:43:50] @ Quit: dysinger:
[2008/04/10 14:44:11] @ andrewcshafer joined channel #puppet
[2008/04/10 14:47:51] <stick> fujin: you have an example I could peruse?
[2008/04/10 14:47:58] <fujin> ha!
[2008/04/10 14:48:33] @ dysinger joined channel #puppet
[2008/04/10 14:48:37] <fujin> no, sorry
[2008/04/10 14:48:39] <fujin> I've no idea :()
[2008/04/10 14:51:27] @ shake-n-bake joined channel #puppet
[2008/04/10 15:14:41] @ Quit: wibbit_: Read error: 110 (Connection timed out)
[2008/04/10 15:17:24] @ Quit: wibbit: Read error: 110 (Connection timed out)
[2008/04/10 15:21:57] @ Quit: zobbo: Read error: 110 (Connection timed out)
[2008/04/10 15:51:47] @ Quit: john1: "Leaving."
[2008/04/10 15:55:33] @ johnf joined channel #puppet
[2008/04/10 15:57:42] @ zobbo joined channel #puppet
[2008/04/10 16:37:59] @ Quit: shake-n-bake:
[2008/04/10 16:40:15] @ Quit: lak:
[2008/04/10 16:43:50] @ Quit: jvanzyl:
[2008/04/10 16:45:57] @ Quit: dysinger:
[2008/04/10 16:57:07] @ SMP joined channel #puppet
[2008/04/10 17:10:33] @ Quit: M-: "Leaving"
[2008/04/10 17:11:08] @ emerose joined channel #puppet
[2008/04/10 17:14:58] @ DavidS joined channel #puppet
[2008/04/10 17:15:15] @ dysinger joined channel #puppet
[2008/04/10 17:17:25] @ Innocenti joined channel #puppet
[2008/04/10 17:25:37] <DavidS> hi everyone!
[2008/04/10 17:34:29] @ Demosthenex joined channel #puppet
[2008/04/10 17:34:37] @ tim|macbook joined channel #puppet
[2008/04/10 17:34:41] @ DerekW joined channel #puppet
[2008/04/10 17:39:47] @ Quit: Innocenti: Client Quit
[2008/04/10 17:46:55] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/10 17:51:47] @ Quit: kolla: Remote closed the connection
[2008/04/10 17:58:15] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/04/10 18:13:28] @ Quit: dysinger:
[2008/04/10 18:16:35] [msg(#puppet)] ::puppet:: Language Tutorial edited by jbq @ http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial
[2008/04/10 18:22:39] @ kolla joined channel #puppet
[2008/04/10 18:30:32] @ Innocenti joined channel #puppet
[2008/04/10 18:50:29] @ Quit: andrewcshafer:
[2008/04/10 19:17:42] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/04/10 19:56:06] @ f--z joined channel #puppet
[2008/04/10 19:58:35] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2008/04/10 20:50:17] @ johnf joined channel #puppet
[2008/04/10 21:02:22] @ Quit: DavidS: "Leaving."
[2008/04/10 21:04:14] @ mikearr joined channel #puppet
[2008/04/10 21:13:00] @ Innocenti joined channel #puppet
[2008/04/10 21:15:34] <f3ew> 386
[2008/04/10 21:15:38] <f3ew> #86
[2008/04/10 21:15:40] <gepetto_> f3ew: #86 is http://reductivelabs.com/trac/puppet/ticket/86 "Directory creation fails if parent directory does not exist"
[2008/04/10 21:15:53] <f3ew> Hmmmm, is this fixed?
[2008/04/10 21:32:34] <fsweetser> Wakko666: pong
[2008/04/10 21:44:18] @ init joined channel #puppet
[2008/04/10 21:51:34] <init> Does anyone know how to force the puppet log to autoflush? My puppet installation seems to use buffered logging, and that is irritating while debugging my puppet manifests. The only way to flush the log that I know of is to restart the puppet client.
[2008/04/10 22:08:35] <init> Scratch that, I found the man page for the puppet.conf file. :)
[2008/04/10 22:16:50] @ jeckersb joined channel #puppet
[2008/04/10 22:24:36] <gileswwwrk> any of you guys use cacti?
[2008/04/10 22:32:29] <tim|macbook> not much, luckily
[2008/04/10 22:34:56] <duritong> i switched from cacti to munin
[2008/04/10 22:35:03] <duritong> writing plugins there is much easier
[2008/04/10 22:36:18] @ gileswwwrk is now known as gileswwrt
[2008/04/10 22:36:30] @ gileswwrt is now known as gileswwrk
[2008/04/10 22:37:18] @ gileswwrk is now known as gileswork
[2008/04/10 22:38:35] <gileswork> ya munin does look nice for that
[2008/04/10 22:38:53] <gileswork> the graph display is pretty basic though
[2008/04/10 22:39:52] <tim|macbook> which is a good thing, imnsho
[2008/04/10 22:40:10] <gileswork> I like the idea of customers being able to login and view only their graphs
[2008/04/10 22:40:54] <gileswork> munin just produces static html pages right?
[2008/04/10 22:41:58] <gileswork> can munin do snmp polling?
[2008/04/10 22:44:10] * Volcane likes cacti, though automation is terrible for it
[2008/04/10 22:48:47] <gileswork> ya seems so
[2008/04/10 22:49:03] <gileswork> do you use data input scripts Volcane ?
[2008/04/10 23:03:49] @ Quit: init: "leaving"
[2008/04/10 23:35:55] @ mzupan joined channel #puppet
[2008/04/10 23:37:34] @ shenson_not_here is now known as shenson
[2008/04/10 23:37:56] @ Zothar_Work joined channel #puppet

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