Friday, 2008-10-17

[2008/10/17 00:03:23] @ Log started by gepetto
[2008/10/17 00:03:23] @ edwardam is now known as edwardamFOODZ
[2008/10/17 00:05:11] @ ski98033 joined channel #puppet
[2008/10/17 00:08:29] @ WALoeIII joined channel #puppet
[2008/10/17 00:21:57] @ andrewcshafer joined channel #puppet
[2008/10/17 00:34:51] @ Quit: armbrkr:
[2008/10/17 00:45:52] @ Quit: ski98033: "Leaving."
[2008/10/17 01:07:40] @ quit (no PONG from server in 30.282409 seconds)
[2008/10/17 01:07:59] @ Joined channel #puppet
[2008/10/17 01:07:59] @ Topic is "Puppet 0.24.6RC1 released! http://tinyurl.com/4ahy7u | Redmine has moved to http://tinyurl.com/46ryk7! | Please see http://snurl.com/1udr1 for channel guidelines"
[2008/10/17 01:08:01] @ Topic set by jamesturnbull on Thu Oct 09 17:45:16 -0400 2008
[2008/10/17 01:08:05] @ Mode +tnc by kubrick.freenode.net
[2008/10/17 01:08:55] @ Log started by gepetto
[2008/10/17 01:08:55] @ Joined channel #puppet
[2008/10/17 01:08:57] @ Topic is "Puppet 0.24.6RC1 released! http://tinyurl.com/4ahy7u | Redmine has moved to http://tinyurl.com/46ryk7! | Please see http://snurl.com/1udr1 for channel guidelines"
[2008/10/17 01:09:00] @ Topic set by jamesturnbull on Thu Oct 09 17:45:16 -0400 2008
[2008/10/17 01:09:00] @ Mode +tnc by kubrick.freenode.net
[2008/10/17 01:09:39] @ Log started by gepetto
[2008/10/17 01:09:39] @ Joined channel #puppet
[2008/10/17 01:09:41] @ Topic is "Puppet 0.24.6RC1 released! http://tinyurl.com/4ahy7u | Redmine has moved to http://tinyurl.com/46ryk7! | Please see http://snurl.com/1udr1 for channel guidelines"
[2008/10/17 01:09:44] @ Topic set by jamesturnbull on Thu Oct 09 17:45:16 -0400 2008
[2008/10/17 01:09:44] @ Mode +tnc by kubrick.freenode.net
[2008/10/17 01:09:52] <jamesturnbull> changeset:a74ec60d33dee1c592ec858faeccc23d7a7b79f3
[2008/10/17 01:09:53] <gepetto> jamesturnbull: changeset: changeset:a74ec60d33dee1c592ec858faeccc23d7a7b79f3 is http://projects.reductivelabs.com/repositories/revision/puppet/a74ec60d33dee1c592ec858faeccc23d7a7b79f3
[2008/10/17 01:10:11] <jamesturnbull> r:a74ec60d33dee1c592ec858faeccc23d7a7b79f3
[2008/10/17 01:10:18] <jamesturnbull> R:a74ec60d33dee1c592ec858faeccc23d7a7b79f3
[2008/10/17 01:11:06] <jamesturnbull> ra74ec60d33dee1c592ec858faeccc23d7a7b79f3
[2008/10/17 01:11:13] <jamesturnbull> [a74ec60d33dee1c592ec858faeccc23d7a7b79f3]
[2008/10/17 01:12:45] @ monzie joined channel #puppet
[2008/10/17 01:12:48] <monzie> hello
[2008/10/17 01:20:14] <jamesturnbull> monzie: hello
[2008/10/17 01:20:40] <monzie> jamesturnbull, hey
[2008/10/17 01:20:52] @ Quit: edwardamFOODZ: Read error: 110 (Connection timed out)
[2008/10/17 01:50:50] @ shake-n-bake joined channel #puppet
[2008/10/17 02:10:49] @ Quit: WALoeIII: "Bai."
[2008/10/17 02:14:27] @ Quit: roald: Remote closed the connection
[2008/10/17 02:17:39] @ DavidS1 joined channel #puppet
[2008/10/17 02:18:18] @ DavidS1 is now known as DavidS
[2008/10/17 02:18:42] @ Quit: mashmore: "[bamfout]"
[2008/10/17 02:19:45] <DavidS> DSL=D*mn S*ck*ng L*ne :-/
[2008/10/17 02:25:52] @ meandtheshell joined channel #puppet
[2008/10/17 02:55:40] @ Quit: rsquared: "Leaving"
[2008/10/17 03:11:23] @ Quit: shake-n-bake:
[2008/10/17 03:24:02] @ Quit: monzie: Remote closed the connection
[2008/10/17 03:31:40] @ Quit: kolla: Remote closed the connection
[2008/10/17 03:36:38] @ roald joined channel #puppet
[2008/10/17 03:40:47] @ tim|macbook joined channel #puppet
[2008/10/17 03:48:13] @ Quit: evil_steve: Read error: 110 (Connection timed out)
[2008/10/17 03:52:05] @ evil_steve joined channel #puppet
[2008/10/17 04:00:00] @ Innocenti joined channel #puppet
[2008/10/17 04:02:44] @ Quit: \ask-: "Leaving..."
[2008/10/17 04:06:37] @ duritong joined channel #puppet
[2008/10/17 04:08:20] @ Quit: andrewcshafer:
[2008/10/17 04:13:06] @ edwardam joined channel #puppet
[2008/10/17 04:15:43] @ bajan joined channel #puppet
[2008/10/17 04:37:47] @ tim|mb joined channel #puppet
[2008/10/17 04:53:16] @ Quit: tim|macbook: Read error: 110 (Connection timed out)
[2008/10/17 05:19:38] @ lak joined channel #puppet
[2008/10/17 05:21:44] <chillitom> is there a way to check if a file exists on a puppet server? e.g. can i do if file_exists("files/$username.bashrc") { file {"/home/$username/.bashrc": source => "puppet:///$username.bashrc"} }
[2008/10/17 05:23:30] <tim|mb> can a class inherit form multiple sources?
[2008/10/17 05:23:57] <DavidS> chillitom: have you searched wiki:FunctionReference ?
[2008/10/17 05:23:59] <gepetto> DavidS: chillitom: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference
[2008/10/17 05:24:36] <DavidS> tim|mb: not to my knowledge, but most things you'd probably like to do can be accomplished by including multiple inheriting classes
[2008/10/17 05:24:57] <tim|mb> i need to be able to override :S
[2008/10/17 05:24:59] <DavidS> "including multiple (inheriting classes)" that is
[2008/10/17 05:25:27] <DavidS> yeah, override in each class as needed and combine everything in one class by inclusion
[2008/10/17 05:25:31] <chillitom> DavidS, i had.. i couldn't seen anything that looked like it would work
[2008/10/17 05:25:32] <DavidS> like this:
[2008/10/17 05:25:37] @ masterzen joined channel #puppet
[2008/10/17 05:25:41] <DavidS> chillitom: then you need to do your own
[2008/10/17 05:26:04] <chillitom> DavidS, cool, will do.
[2008/10/17 05:26:26] <DavidS> class multiinherit { class blah inherits foo { override here }; include blah; class bar inherits muh { override here }; include bar ; }
[2008/10/17 05:27:00] <tim|mb> ah! didn't know of that construct...
[2008/10/17 05:27:13] <tim|mb> trying it now :)
[2008/10/17 05:27:38] <DavidS> tim|mb: well, you can put the classes wherever you want i just condensed it so it fits into irc
[2008/10/17 05:28:01] <tim|mb> yeah but it would work that way? nesting the classes?
[2008/10/17 05:28:09] @ Quit: lak:
[2008/10/17 05:28:12] <tim|mb> because that would give me the overview i need
[2008/10/17 05:28:18] <DavidS> yes it does
[2008/10/17 05:28:52] <tim|mb> thanks man :)
[2008/10/17 05:31:44] @ RexMundi joined channel #puppet
[2008/10/17 05:33:25] <henk> i am getting this error message: change from notrun to 0 failed: Could not find executable sed. but it finds sed, egrep and other stuff later in that file because of the default path i set at the top: http://paste.debian.net/19398/ what's happening there?
[2008/10/17 05:34:56] <henk> oh, in line 7 i changed it to /bin/sed. when the error came i only had 'sed' there.
[2008/10/17 05:38:41] @ Peanut_ is now known as Peanut
[2008/10/17 05:42:56] @ Quit: chillitom: "Ex-Chat"
[2008/10/17 05:59:49] @ chillitom joined channel #puppet
[2008/10/17 06:07:22] <henk> no one? is that class so fscked up everything is too late? ;)
[2008/10/17 06:11:14] <Dyson> henk: actually afaict this is supposed to work
[2008/10/17 06:11:51] <Dyson> henk: but I can tell you something else if you want :)
[2008/10/17 06:12:05] <Dyson> henk: use agetty and not mingetty for serial lines on Fedora/RHEL/CentOS
[2008/10/17 06:12:33] <Dyson> henk: we had weird issues with mingetty
[2008/10/17 06:17:24] <lazzurs> Hello, I am running a manifest on a fedora box that specifies a few package versions and I am getting errors about the packages replacing files, does puppet not attempt an upgrade with yum if the package is already installed?
[2008/10/17 06:18:17] <duritong> lutter1: ping
[2008/10/17 06:18:51] <henk> Dyson: ok, good to know, thanks!
[2008/10/17 06:19:54] @ drmikecrowe_ joined channel #puppet
[2008/10/17 06:30:36] @ Quit: yure: Remote closed the connection
[2008/10/17 06:32:10] <henk> Dyson: i figured it out: i had to escape the \ in \n so it gets passed to sed as a \n and not as a newline.
[2008/10/17 06:32:24] <Dyson> *g*
[2008/10/17 06:32:55] <DavidS> hi henk, how's goin'?
[2008/10/17 06:34:39] <henk> DavidS: hey :) pretty good i'd say. puppet met the requirements quite well and now i can write my project-documentation... i just fiddle around with it some more for fun and experience. (if you mean how it's going puppet-wise ;)
[2008/10/17 06:36:05] @ Quit: drmikecrowe: Connection timed out
[2008/10/17 06:40:48] <henk> hm 'Exec[change-kopt] Failed to retrieve current state of resource:' what could that mean?
[2008/10/17 06:41:46] <DavidS> henk: hmm .. mostly :-) anyways, good to hear!
[2008/10/17 06:42:51] <henk> DavidS: hehe, apart from that i am fine. weekend, sunny, cold, ... how about you?
[2008/10/17 06:44:21] <jamesturnbull> duritong: ping
[2008/10/17 06:58:38] <duritong> jamesturnbull: pong
[2008/10/17 06:59:01] <jamesturnbull> duritong: how's #1640 going?
[2008/10/17 06:59:02] <gepetto> jamesturnbull: duritong: #1640 is http://projects.reductivelabs.com/issues/show/1640 "Puppet - Bug #1640: group for file set on every run - ReductiveLabs.com"
[2008/10/17 06:59:09] <jamesturnbull> duritong: blah
[2008/10/17 06:59:18] <jamesturnbull> duritong: um the mongrel init scrupt one
[2008/10/17 06:59:29] <jamesturnbull> duritong: #1460
[2008/10/17 06:59:30] <gepetto> jamesturnbull: duritong: #1460 is http://projects.reductivelabs.com/issues/show/1460 "Puppet - Feature #1460: enhance redhat puppetmaster init.d script to easy start puppetmaster as a mongrel cluster - ReductiveLabs.com"
[2008/10/17 06:59:30] <duritong> jamesturnbull: I just finished it
[2008/10/17 06:59:41] <duritong> and will push a commit in about 15 minutes
[2008/10/17 06:59:55] <DavidS> henk: my usual troubles .. on the road with my wife. but on sunday I'm going home to Vienna for a week. Really looking forward to that
[2008/10/17 07:00:09] <jamesturnbull> duritong: k - thanks
[2008/10/17 07:00:22] <duritong> however there is one problem, see "Error in Puppetmaster/Mongrel init script." thread on the list
[2008/10/17 07:00:54] <duritong> the enhancement is incompatible to versions previous rhl/centos 5 and I see now way of how this incompatibility could be fixed
[2008/10/17 07:01:27] <duritong> but it is only for the part of starting puppetmaster as multiple mongrel instances
[2008/10/17 07:01:42] <duritong> the normal webrick part works fine as up to now
[2008/10/17 07:02:27] <duritong> so no changes for common users. only the enhancement will work on versions >= 5
[2008/10/17 07:02:55] <jamesturnbull> duritong: what's lutter and jmeeuwen say?
[2008/10/17 07:03:51] <duritong> lutter didn't yet answer on my ping request when I asked him, but I assume his fine if I have done the changes he suggested.
[2008/10/17 07:04:03] <duritong> from jmeeuwen I didn't hear anything
[2008/10/17 07:04:07] <duritong> jmeeuwen: ping as well
[2008/10/17 07:04:22] <jenza> Is someone able to have a look at this paste http://pastebin.com/m6910f6b5 and let me know how I can properly trigger a refresh if any of the files change? Currently it doesn't do it. If I use notify in the file it errors with a dependancy loop.
[2008/10/17 07:04:38] <duritong> jamesturnbull: you'd like to release .26 today?
[2008/10/17 07:04:59] <jamesturnbull> duritong: rc2 anyways
[2008/10/17 07:05:04] <jamesturnbull> duritong: when luke wakes I hope
[2008/10/17 07:05:07] <duritong> ok
[2008/10/17 07:05:55] <duritong> so I give my best, but I'd like to have some design decisions about this incompatibility, however I think it could be in rc2 and we can talk about that during the next days
[2008/10/17 07:06:25] <duritong> I place anyway a warning in the docu, that this feature won't work with versions previous to 5
[2008/10/17 07:07:01] <duritong> (btw: can you say "versions previous to 5" ?, sometimes my english really sucks)
[2008/10/17 07:07:27] <duritong> maybe s/sometimes/often/ :P
[2008/10/17 07:07:28] <DavidS> ... before ... ?
[2008/10/17 07:07:39] <kjetilho> or "prior"
[2008/10/17 07:07:59] <duritong> prior to 5 would be better, not?
[2008/10/17 07:23:57] <nico> guess who has just received a copy of "pulling string with puppet" ?
[2008/10/17 07:23:59] <nico> \o/
[2008/10/17 07:24:16] @ Quit: kenvandine: "Ex-Chat"
[2008/10/17 07:28:25] <henk> DavidS: on the road? you aren't working in vienna?
[2008/10/17 07:28:54] <DavidS> henk: officially I'm living and working in vienna. actually I'm most of the time with my wife in germany
[2008/10/17 07:29:59] <henk> DavidS: achso... so you are from at and your wife from de?
[2008/10/17 07:30:28] <DavidS> she's from vienna too, but has an international contract
[2008/10/17 07:31:00] <henk> and you can work from wherever you want?
[2008/10/17 07:31:03] <f3ew> http://lwn.net/Articles/303390/
[2008/10/17 07:31:25] <DavidS> henk: the powers of skype, git+ssh and the internet
[2008/10/17 07:31:41] * f3ew has 32 more copies of pulling strings with Puppet
[2008/10/17 07:32:35] <henk> DavidS: lucky you!
[2008/10/17 07:33:18] <DavidS> henk: it only works because it's my own company and it sucks BIG TIME. I wouldn't call that "lucky".
[2008/10/17 07:35:43] <henk> DavidS: your own company sucks in your opinion?
[2008/10/17 07:36:04] <DavidS> nah .. working abroad sucks
[2008/10/17 07:36:34] <henk> achso... but being away from the wife sucks even more, doesn't it?
[2008/10/17 07:37:19] <DavidS> I'd rather not get into that discussion ....
[2008/10/17 07:37:42] <henk> ok, sorry
[2008/10/17 07:39:49] @ Quit: Innocenti: Client Quit
[2008/10/17 07:40:47] <DavidS> n.p.
[2008/10/17 07:47:46] <jenza> Is someone able to have a look at this paste http://pastebin.com/m6910f6b5 and let me know how I can properly trigger a refresh if any of the files change? Currently it doesn't do it. If I use notify in the file it errors with a dependancy loop.
[2008/10/17 07:47:55] <henk> hm if i remove the 'before' statements from the 'exec' types the run produces not a single error...
[2008/10/17 07:48:43] <henk> perhaps a 'before => Exec["whatever"]' is not really a good idea?
[2008/10/17 07:50:51] <duritong> jamesturnbull: pushed, added infos to #1460 and sent patch to the dev list
[2008/10/17 07:50:52] <gepetto> duritong: jamesturnbull: #1460 is http://projects.reductivelabs.com/issues/show/1460 "Puppet - Feature #1460: enhance redhat puppetmaster init.d script to easy start puppetmaster as a mongrel cluster - ReductiveLabs.com"
[2008/10/17 07:54:09] <jamesturnbull> duritong: okay
[2008/10/17 08:02:48] @ jcape_ joined channel #puppet
[2008/10/17 08:12:38] <duritong> win 16
[2008/10/17 08:12:40] <duritong> grr
[2008/10/17 08:14:12] <jamesturnbull> duritong: fail 16? :)
[2008/10/17 08:14:27] <duritong> haha
[2008/10/17 08:18:00] @ Quit: jcape: Read error: 110 (Connection timed out)
[2008/10/17 08:34:29] @ kenvandine joined channel #puppet
[2008/10/17 08:35:42] @ billings left channel #puppet ()
[2008/10/17 08:36:45] @ Quit: seanmil: Remote closed the connection
[2008/10/17 08:37:36] @ billings joined channel #puppet
[2008/10/17 08:37:37] @ Quit: billings: Client Quit
[2008/10/17 08:38:09] @ billings joined channel #puppet
[2008/10/17 08:39:19] @ billings left channel #puppet ()
[2008/10/17 08:40:03] @ billings joined channel #puppet
[2008/10/17 08:47:28] <Dyresen> I have a quick question. Im running puppet version 0.24.4 and nagios_service parameter event_handler does not work. Is this fixed in later versions?
[2008/10/17 08:52:54] <idimmu> how do you use the nagios puppet stuff?
[2008/10/17 08:53:05] <idimmu> does it add service checks to nagios when you create a new puppet node
[2008/10/17 08:53:08] <idimmu> or what
[2008/10/17 08:54:53] <tim|mb> Dyresen: not yet, take a look at #1496 for some more notes... there are some troubles with the nagios resources :(
[2008/10/17 08:54:53] <gepetto> tim|mb: Dyresen: #1496 is http://projects.reductivelabs.com/issues/show/1496 "Puppet - Bug #1496: nagios_servicedependency needs a unique host_name? - ReductiveLabs.com"
[2008/10/17 08:55:05] * tim|mb gives gepetto a cookie
[2008/10/17 08:55:14] @ Quit: sazma: "ChatZilla 0.9.83 [Firefox 3.0.3/2008092510]"
[2008/10/17 08:59:05] <Dyresen> idimmu: you use store config. Then you just go @@nagios_host {$hostname: and add the parameters you want.
[2008/10/17 08:59:33] <Dyresen> idimmu: for adding servicecheks you do the same thing in the classes where your services are defined.
[2008/10/17 09:00:17] <Dyresen> eg @@nagios_service { "Check load for $hostname": and then all the parameters.
[2008/10/17 09:00:26] <Dyresen> It sure helps to know nagios though.
[2008/10/17 09:00:35] <idimmu> ah ok
[2008/10/17 09:00:47] <idimmu> i know nagios well enough
[2008/10/17 09:01:11] <idimmu> just wasnt sure how puppet fits in, but thats pretty cool
[2008/10/17 09:01:39] <Dyresen> Yeah, I really like it. But want event_handlers.....
[2008/10/17 09:13:56] @ Quit: jcape_: Read error: 110 (Connection timed out)
[2008/10/17 09:14:20] @ babysimon joined channel #puppet
[2008/10/17 09:18:03] <babysimon> I want to use exported resources to allow nodes to "send" DNS entries to my DNS server
[2008/10/17 09:18:22] <babysimon> am I correct in thinking that exported resources only work for types, so I'd need to write a DNS type?
[2008/10/17 09:21:27] @ kyrus1 joined channel #puppet
[2008/10/17 09:22:13] <tim|mb> babysimon: that or use DavidS' combine stuff
[2008/10/17 09:22:43] @ lak joined channel #puppet
[2008/10/17 09:23:00] <babysimon> combine stuff?
[2008/10/17 09:23:10] @ seanmil joined channel #puppet
[2008/10/17 09:25:29] @ Quit: Dyson: "Client exiting"
[2008/10/17 09:26:41] <tim|mb> babysimon: I'll find the url for you, just a sec
[2008/10/17 09:27:18] <DavidS> http://git.black.co.at/
[2008/10/17 09:27:25] <DavidS> it's so easy ;-)
[2008/10/17 09:27:42] <tim|mb> babysimon: http://git.black.co.at/?p=module-common;a=blob;f=manifests/defines/concatenated_file.pp;hb=HEAD
[2008/10/17 09:27:46] @ jcape joined channel #puppet
[2008/10/17 09:28:01] <tim|mb> DavidS: that was the part i knew by heart, but the rest... ;-P
[2008/10/17 09:28:36] <DavidS> actually, I already have a bind module that you can use to construct your zones: http://git.black.co.at/?p=module-bind
[2008/10/17 09:29:51] <DavidS> see http://git.black.co.at/?p=module-bind;a=blob;f=manifests/zone.pp;h=71eb8d58974794a732a267a78d7e94fe733ddf74;hb=HEAD for the meat
[2008/10/17 09:30:13] <babysimon> Oh, clever
[2008/10/17 09:30:30] <babysimon> Yes, I think that's the approach for me...
[2008/10/17 09:30:36] <babysimon> Thanks!
[2008/10/17 09:30:57] <DavidS> babysimon: you have to use storeconfigs though ...
[2008/10/17 09:31:07] <DavidS> and expect your compile times to _EXPLODE_
[2008/10/17 09:31:17] <DavidS> 0.24.6 should help there
[2008/10/17 09:31:24] <DavidS> but I've not yet tried it ...
[2008/10/17 09:31:26] <DavidS> :-(
[2008/10/17 09:32:00] <realist> I'm currently using the power of 'cat' for our zones
[2008/10/17 09:32:01] <babysimon> I'm using storeconfigs already
[2008/10/17 09:32:17] <babysimon> but bad news on compile times :(
[2008/10/17 09:33:56] <DavidS> my main host has around 4k resources and takes about 220s to compile
[2008/10/17 09:34:18] <tim|mb> yeah, compile times are annoying for stored configs :(
[2008/10/17 09:34:20] <DavidS> that's on an athlon64X2 5600+ with 2G RAM
[2008/10/17 09:34:41] <DavidS> i really hope that .6 imroves this
[2008/10/17 09:34:44] <DavidS> +p
[2008/10/17 09:35:55] @ rsquared joined channel #puppet
[2008/10/17 09:36:05] <jamesturnbull> lutter1: jmeeuwen PING
[2008/10/17 09:36:08] <DavidS> damn, wrong gtaph.
[2008/10/17 09:36:19] <DavidS> my main host has only 2.8k resources
[2008/10/17 09:37:06] <DavidS> the nameservers with ~1.3k are at ~30s each, so it might not be too bad
[2008/10/17 09:38:33] <Dyresen> When is 0.25 expected?
[2008/10/17 09:39:32] <ashp> when the twins start school :)
[2008/10/17 09:40:23] <Dyresen> :D
[2008/10/17 09:41:01] <tim|mb> next week?
[2008/10/17 09:41:02] <tim|mb> :P
[2008/10/17 09:41:07] <DavidS> :-P
[2008/10/17 09:44:07] @ Quit: ralfgro: Read error: 104 (Connection reset by peer)
[2008/10/17 09:44:14] @ ralfgro joined channel #puppet
[2008/10/17 09:49:14] <masterzen> DavidS: regarding the compilation time you reported: is it with storeconfigs enabled or not?
[2008/10/17 09:55:18] * tbone-atl catches up on storeconfigs, exportable, and collectable resources
[2008/10/17 09:55:37] <DavidS> everything i do has storeconfigs enabled
[2008/10/17 09:58:58] <tbone-atl> Have you done anything like query the storeconfigs database to see when clients fail to check in?
[2008/10/17 10:01:18] @ Quit: kyrus1:
[2008/10/17 10:01:58] @ Quit: babysimon: "Ex-Chat"
[2008/10/17 10:05:25] @ nigelk joined channel #puppet
[2008/10/17 10:12:29] @ Quit: Bonertown: Remote closed the connection
[2008/10/17 10:12:42] @ Quit: mattf: Read error: 110 (Connection timed out)
[2008/10/17 10:18:12] @ Quit: kenvandine: "Ex-Chat"
[2008/10/17 10:20:43] <masterzen> DavidS: sorry for the long delay. if you don't run 0.24.6-rc, then I'm sure you'll see a great boost when you'll upgrade, thanks to #1502
[2008/10/17 10:20:43] <gepetto> masterzen: DavidS: #1502 is http://projects.reductivelabs.com/issues/show/1502 "Puppet - Bug #1502: Storeconfig bug lead to abysmal performance - ReductiveLabs.com"
[2008/10/17 10:21:49] <bajan> oh nice
[2008/10/17 10:21:55] <bajan> I turned storedconfigs off becuase of that
[2008/10/17 10:22:31] <DavidS> masterzen: (15:34:34) DavidS: i really hope that .6 improves this
[2008/10/17 10:23:14] @ kenvandine joined channel #puppet
[2008/10/17 10:23:16] <masterzen> sorry, I missed your first answer.
[2008/10/17 10:23:35] <masterzen> And yes, I've seen dramatic increase in performance after I fixed #1502.
[2008/10/17 10:23:36] <gepetto> masterzen: #1502 is http://projects.reductivelabs.com/issues/show/1502 "Puppet - Bug #1502: Storeconfig bug lead to abysmal performance - ReductiveLabs.com"
[2008/10/17 10:24:25] <masterzen> like for 470 resources (small node), from 18s (idle master) to 6s. Using marshal catalog transmission helped too.
[2008/10/17 10:25:08] <masterzen> it all depends if your database backend is fast or not, since the only thing it does is not rewriting all resources to database on each compilation...
[2008/10/17 10:32:06] <masterzen> I'm still trying to see what also takes time during compilation...
[2008/10/17 10:33:23] @ snyff joined channel #puppet
[2008/10/17 10:33:27] <snyff> hello
[2008/10/17 10:33:43] <DavidS> I tried improving my backend by moving the postgres backend from a mirror to a split tablespace/WAL architecture on the underlying disks.
[2008/10/17 10:33:47] <DavidS> didn'T change a thing
[2008/10/17 10:33:51] @ Quit: meandtheshell: Connection timed out
[2008/10/17 10:34:55] <tim|mb> notice: Finished catalog run in 379.55 seconds using 0.24.6-rc... lots of stored configs
[2008/10/17 10:35:14] <DavidS> tim|mb: Catalog run != Compiletime
[2008/10/17 10:35:24] <tim|mb> ah indeed
[2008/10/17 10:35:25] @ meandtheshell joined channel #puppet
[2008/10/17 10:37:28] <tim|mb> 10.91 seconds
[2008/10/17 10:37:36] * DavidS envies
[2008/10/17 10:37:54] <masterzen> tim|mb: and compared to 0.24.5?
[2008/10/17 10:38:57] <tim|mb> just searching when we installed 0.24.6 :)
[2008/10/17 10:41:21] <tim|mb> up from 7.03 apparantly :S guess i added my nagios stuff after we upgraded :S
[2008/10/17 10:41:47] <masterzen> too bad :-(
[2008/10/17 10:42:42] <masterzen> maybe you weren't affected by 1502.
[2008/10/17 10:43:03] <masterzen> I'd be interested to know how much time is spent on storeconfig on your setup.
[2008/10/17 10:44:12] @ Quit: ralfgro: Read error: 104 (Connection reset by peer)
[2008/10/17 10:44:21] @ ralfgro joined channel #puppet
[2008/10/17 10:45:29] <masterzen> you have to uncomment the "Puppet::TIME_DEBUG = true" line in lib/puppet/rails/host.rb and it will log the time taken by storeconfig (this should really be on by default...)
[2008/10/17 10:45:56] <tim|mb> ok, just a sec
[2008/10/17 10:50:30] <sigmonsays> good morning!
[2008/10/17 10:50:53] <tim|mb> aargh! need to get the train! will report back to you from the train, okay, masterzen?
[2008/10/17 10:51:01] <tim|mb> ~20 min
[2008/10/17 10:51:09] <masterzen> no issue, we'll talk later...
[2008/10/17 10:51:34] @ Quit: tim|mb: "This computer has gone to sleep"
[2008/10/17 10:54:56] @ Quit: steven_: "leaving"
[2008/10/17 10:58:31] <tbone-atl> is there some trick for doing the equivilent of "mkdir -p /a/b/c/d" using the file resource type?
[2008/10/17 10:58:46] <sigmonsays> tbone-atl, define a resource for all leafs
[2008/10/17 10:58:58] <DavidS> tbone-atl: no, but IIRC, there was a recent discussion about it on the -users ML
[2008/10/17 10:59:10] <tbone-atl> sigmonsays: yeah... that is what I'm doing now.
[2008/10/17 10:59:18] <tbone-atl> DavidS: oh, count me in.
[2008/10/17 10:59:25] * tbone-atl runs to find thread
[2008/10/17 10:59:37] <sigmonsays> tbone-atl, depending on ur manifest, exec { "mkdir -p /blah" : creates => "/blah" }
[2008/10/17 10:59:46] @ rgsteele||work joined channel #puppet
[2008/10/17 11:00:04] <sigmonsays> but then you need resources defined for any part of that path
[2008/10/17 11:01:57] @ tim|macbook joined channel #puppet
[2008/10/17 11:02:01] <lutter1> duritong: pong
[2008/10/17 11:02:42] * tbone-atl reads on "upwards recursion"
[2008/10/17 11:02:50] <sigmonsays> hehe
[2008/10/17 11:02:54] <sigmonsays> upwards recursion. nice
[2008/10/17 11:03:02] <tbone-atl> yeah... new one to me, too.
[2008/10/17 11:05:49] @ mattf joined channel #puppet
[2008/10/17 11:06:47] <lazzurs> does anyone here think that ~1200 package entries for a single node is a lot?
[2008/10/17 11:06:56] <tim|macbook> masterzen: should it show the timing bij default or only in --debug mode?
[2008/10/17 11:07:05] <lazzurs> sadly this is taking forever to do a run on a fedora 8 yum based system
[2008/10/17 11:07:53] <DavidS> lazzurs: I'm a big fan of total management, although for run-time and management reasons I'm not actually implementing it
[2008/10/17 11:07:59] <masterzen> tim|macbook: it's logged at "notice" level
[2008/10/17 11:08:07] <tim|macbook> ok
[2008/10/17 11:08:23] <tim|macbook> working over gprs now, so having a little bit of latency :)
[2008/10/17 11:08:31] <lazzurs> DavidS: I am very much a fan of this way of doing things however I am beginning to think that puppet is going to require a lot of work before it is up to the job
[2008/10/17 11:08:42] <masterzen> tim|macbook: what! no 3G?
[2008/10/17 11:08:46] <lazzurs> for instance why run yum per package, why not group installs
[2008/10/17 11:09:08] <tim|macbook> phone is too old :( need a new one with hsdpa :)
[2008/10/17 11:09:25] <lazzurs> I am sure these runs did not take as long with cfengine :(
[2008/10/17 11:09:39] <DavidS> yeah, some kind of grouping would help, but that would require massive reworking of type's internals
[2008/10/17 11:09:59] <tim|macbook> starting the catalog run
[2008/10/17 11:10:21] <DavidS> another problem is dependencies between resources as well as between packages
[2008/10/17 11:10:31] <lazzurs> DavidS: well the other issue I put a bug in for is there being now way to deal with having 2 packages with the same name but different version numbers, for instance kernel-xen on fedora
[2008/10/17 11:10:57] <tim|macbook> DavidS: dependencies between packages aren't handled by puppet unless you explicitly add a require, right?
[2008/10/17 11:11:43] <DavidS> tim|macbook: yeah, but they mess with puppet's knowledge of the world
[2008/10/17 11:12:21] <tim|macbook> ah true... let's make puppet self aware then, that should give it enough knowledge :)
[2008/10/17 11:12:29] <lazzurs> tim|macbook: puppet should be the 'one true source' having yum or apt handle package dependency leaves you open to your systems not being under your control
[2008/10/17 11:12:35] * tim|macbook is typing crap, ignore me... it's the gprs radiation messing with my brain
[2008/10/17 11:12:57] <lazzurs> tim|macbook: self aware puppet would not be a puppet :P :)
[2008/10/17 11:13:16] <DavidS> lazzurs: yust don't use it then, if you have total knowledge, you can suck packages via NFS and use rpm to install
[2008/10/17 11:13:19] <lazzurs> tim|macbook: also, could be worse, at least you are not using a TETRA network
[2008/10/17 11:13:20] <tim|macbook> honestly, however much i love puppet, i trust apt more with my packages...
[2008/10/17 11:13:23] <DavidS> yust=just
[2008/10/17 11:13:35] <seanmil> lazzurs: I disagree. I like close management of systems, but tracking package dependencies in a pain.
[2008/10/17 11:13:39] <masterzen> tim|macbook: if the catalog run is started, the compilation is finished, no?
[2008/10/17 11:14:04] <tim|macbook> lazzurs: bastard! I'm on gprs... googling would take like three minutes or something :(
[2008/10/17 11:14:11] <lazzurs> masterzen: I am not suggesting you should handle dependencies manually but I don't think you should have a package installed on your system puppet does not know about
[2008/10/17 11:14:26] <tim|macbook> masterzen: i hope so, if not, my knowledge about puppet can go down the drain...
[2008/10/17 11:14:28] @ ski98033 joined channel #puppet
[2008/10/17 11:14:29] <DavidS> lazzurs: re tetra: hehe!
[2008/10/17 11:14:55] <tim|macbook> didn't get a message about the thingamajig
[2008/10/17 11:15:00] <lazzurs> tim|macbook: lol, I thought of that after sending, it is a cell network the emergency services here in the UK use, operates on some interesting frequencies
[2008/10/17 11:15:09] <tim|macbook> or should the puppetmaster give that one?
[2008/10/17 11:15:14] <tim|macbook> of course it should
[2008/10/17 11:15:18] <masterzen> tim|macbook: yes the master :-)
[2008/10/17 11:15:22] <DavidS> lazzurs: if you have no package on your system puppet doesn't know about, then you have solved the depenceny problem already, no?
[2008/10/17 11:15:31] <tim|macbook> lazzurs: ah, like C2000 here in NL
[2008/10/17 11:15:39] <tim|macbook> or whatever it's called... i think it was C2000
[2008/10/17 11:15:52] <DavidS> german tetra has ~ 3kbits/s
[2008/10/17 11:15:59] <tim|macbook> we have a supermarket franchise here called C1000, which always confused me :)
[2008/10/17 11:16:01] <masterzen> tetra was invented way before GPRS...
[2008/10/17 11:16:19] <lazzurs> DavidS: yea, the dependency problem it not really the issue sadly as that is the easy one :) the amount of time the runs are taking is just unusable
[2008/10/17 11:16:19] <masterzen> my wife used to work on this sort of things in a past job...
[2008/10/17 11:16:26] <DavidS> but was pitched as the new high-speed data-link for policemen in the field to transfer whole documents and live video footage
[2008/10/17 11:16:48] <lazzurs> afaik tetra has had the data rate upgraded recently
[2008/10/17 11:16:59] <lazzurs> they are now talking about using it for video
[2008/10/17 11:17:05] <masterzen> in France, we're still running TETRA, or was it TETRAPOL? I know both are competitors...
[2008/10/17 11:18:05] <lazzurs> but yea, back to the topic, the killers are time taken for a run and not being able to match the features of the underlying packaging format...of course I could stop complaining and go and write some code ;)
[2008/10/17 11:18:23] <tim|macbook> LOL... made a slight booboo... did a grep puppetmaster on my daemon.log that got rotated last sunday for the last time... it's pushing it all over gprs...
[2008/10/17 11:18:54] <masterzen> tim|macbook: arghh...
[2008/10/17 11:19:19] <masterzen> tim|macbook: unplug your phone :-)
[2008/10/17 11:19:20] <tim|macbook> ctrl+c came to my rescue :)
[2008/10/17 11:20:00] <tim|macbook> hehehe
[2008/10/17 11:20:09] <tim|macbook> must be friday afternoon... made another one...
[2008/10/17 11:20:21] <tim|macbook> forgot to restart puppetmaster after the code change :)
[2008/10/17 11:22:43] <masterzen> tim|macbook: you know there is no hurry. If you want to postpone the test to next week, you can. I usually hang around on irc every days at normal european work hours (ie CEST)
[2008/10/17 11:23:01] <tim|macbook> Searched for resources in 1.08 seconds Handled resources in 4.46 seconds
[2008/10/17 11:23:30] <tim|macbook> compiled catalog in 17.40 seconds
[2008/10/17 11:24:28] * tim|macbook going to disable the line again, if you don't mind
[2008/10/17 11:24:37] <duritong> lutter1: I pushed new commit to my repo updated #1460 and sent patch to the dev list
[2008/10/17 11:24:38] <gepetto> duritong: lutter1: #1460 is http://projects.reductivelabs.com/issues/show/1460 "Puppet - Feature #1460: enhance redhat puppetmaster init.d script to easy start puppetmaster as a mongrel cluster - ReductiveLabs.com"
[2008/10/17 11:25:31] <lutter1> duritong: cool .. I'm on a call right now, but I'll have a look afterwards
[2008/10/17 11:25:38] <lazzurs> DavidS: for some more fun, some rpms use the querytag VERSION and some use PROVIDEVERSION when you are querying them with yum
[2008/10/17 11:25:43] <jenza> ugh
[2008/10/17 11:25:51] <jenza> whenever I see lutter1's name I wonder where the d has gone
[2008/10/17 11:26:20] <duritong> lutter1: ok thanks
[2008/10/17 11:27:00] <ashp> god, i think i need an accountant
[2008/10/17 11:27:04] <ashp> american taxes are very confusing
[2008/10/17 11:27:11] <DavidS> lazzurs: yeah, that's because rpm is broken and yum is only a crutch. But then, I'm a debian-only user, so I'm biased and have no idea what I'm talking about.
[2008/10/17 11:27:23] <bajan> That's why most americans use accountants to file their tax returns
[2008/10/17 11:27:51] <ashp> bajan: I tried this IRS calculator and it told me to stop paying tax for the rest of the year!
[2008/10/17 11:27:59] <ashp> I doubt that's a good idea :)
[2008/10/17 11:28:14] <bajan> ashp: Actually, it's possibly right
[2008/10/17 11:28:28] <bajan> ashp: Since the way the US tax system seems to work is overpay during the year, then claim it back at the end
[2008/10/17 11:29:10] <DavidS> bajan: like everywhere else ;-)
[2008/10/17 11:29:14] <ashp> I find that really weird, it said even if I withhold all tax I still get a refund, I liked my old UK system
[2008/10/17 11:29:23] <ashp> 'money magically disappears, taxes taken care of'
[2008/10/17 11:29:49] <bajan> DavidS: Not in the UK if you're employed (at least by default)
[2008/10/17 11:29:54] <tim|macbook> ashp: accountants are nice things to have anyway... if you have a good one
[2008/10/17 11:30:05] <bajan> DavidS: I'm probably overpaying somewhere, but there's no paperwork to get it back
[2008/10/17 11:30:37] @ Quit: markl_: "Lost terminal"
[2008/10/17 11:30:58] <DavidS> in .at, even if I'm employed there are sometimes expenses (education for example) I can use to reduce my tax and get back some money at year's end
[2008/10/17 11:31:10] <lazzurs> DavidS: I would love to be a debian user and I am at home, lol
[2008/10/17 11:31:23] <ashp> I do need to check that out as soon I'll be taking a bachelors and while it costs me almost nothing ($40 a class), I need to make sure I won't get stung by taxes somehow
[2008/10/17 11:31:27] <DavidS> of course, having a company that makes the whole thing moot
[2008/10/17 11:32:08] <lazzurs> DavidS: in the UK people could do that but most just leave it to the government
[2008/10/17 11:32:12] <ashp> bajan: the tax office (in the UK) owes me money
[2008/10/17 11:32:26] <lazzurs> we really love handing the government lots of money here in the UK
[2008/10/17 11:32:32] <ashp> bajan: I worked for 6 months of the year then left the country, and they calculate tax as if you're working for the entire year
[2008/10/17 11:32:38] <ashp> so if you work only half of it, you've overpaid (I'm told)
[2008/10/17 11:32:51] <duritong> lutter1: i'm afk, but just write I catch it up later
[2008/10/17 11:32:53] <ashp> and of course I filled out all the paperwork only to get astounding silence from them
[2008/10/17 11:33:07] @ Quit: rgsteele||work: Remote closed the connection
[2008/10/17 11:33:38] <DavidS> this year was a major vote and the minister of finance has instructed the tax office to automatically refund tayes for known causes (mostly changes in income and dual-income stuff)
[2008/10/17 11:34:18] <DavidS> ok, gotta go!
[2008/10/17 11:34:24] <DavidS> always a pleasure talking to you!
[2008/10/17 11:34:27] <DavidS> (all)
[2008/10/17 11:34:36] @ DavidS left channel #puppet ()
[2008/10/17 11:34:45] * tim|macbook is glad he has an accountant to take care of that stuff... i really believe that whole tax system has evolved so much beyond the reach of mere mortals that your obligated to pay someone with a Master degree in it to make sure you're not paying too much
[2008/10/17 11:35:24] <bajan> tim|macbook: I would agree. There are so many twists and turns in tax codes.
[2008/10/17 11:35:24] <tim|macbook> government responds to that with: "you can never pay too much!" ...
[2008/10/17 11:36:06] <dvorak> lak: around?
[2008/10/17 11:36:16] <ashp> i think if you can't fit the entire tax code on maybe 10 pages, max, then you've made a terrible mistake
[2008/10/17 11:36:24] <dvorak> I'm getting the following error, the second time I run puppet with a zone configured and running:
[2008/10/17 11:36:28] <dvorak> err: //Node[bigtexas.eng.rr.com]/Zone[test]: Failed to retrieve current state of resource: Invalid attribute '' for class 'zone'
[2008/10/17 11:36:30] <ashp> but i also think it should be illegal to write laws that the average person cannot understand :/
[2008/10/17 11:38:18] <lazzurs> ashp: indeed it should be, the problem then is you had to trust the judges as you can't write exact laws
[2008/10/17 11:39:50] <nigelk> ashp: English isn't precise enough
[2008/10/17 11:40:03] <nigelk> see why AppleScript has failed as a programming language :)
[2008/10/17 11:40:10] <lazzurs> nigelk: yea, I think that is what I was trying to say, lol
[2008/10/17 11:40:17] <nigelk> y
[2008/10/17 11:40:17] <nigelk> :)
[2008/10/17 11:40:24] <ashp> At the least I'd like 'legalese' like source code, then a README in english to explain what the intent is
[2008/10/17 11:40:44] @ Quit: marcoecc: "Quitting"
[2008/10/17 11:41:27] <tim|macbook> ashp: wow... that just made me think of a great idea..
[2008/10/17 11:41:59] <nigelk> I'm not sure a README is useful if it's not precise either though?
[2008/10/17 11:42:11] <nigelk> it would end up being longer than the law itself as it explains all the terms being used....
[2008/10/17 11:42:25] <nigelk> like taking C code and writing a plain english description of what it does
[2008/10/17 11:43:14] <ashp> i guess it just seems unfair to be bound by documents of thousands of pages you don't understand
[2008/10/17 11:43:40] <ashp> hundreds of thousands, i suspect
[2008/10/17 11:46:22] <nigelk> ashp: I imagine everyone who uses software feels the same way :)
[2008/10/17 11:46:41] * nigelk is being deliberately ridiculous
[2008/10/17 11:47:13] @ marcoecc joined channel #puppet
[2008/10/17 11:47:27] <ashp> :D
[2008/10/17 11:58:35] @ ijcd joined channel #puppet
[2008/10/17 12:06:12] @ Quit: ijcd:
[2008/10/17 12:10:33] @ Quit: tim|macbook: Read error: 110 (Connection timed out)
[2008/10/17 12:10:39] @ rgsteele||work joined channel #puppet
[2008/10/17 12:14:17] @ andrewcshafer joined channel #puppet
[2008/10/17 12:28:33] @ Quit: rgsteele||work: Remote closed the connection
[2008/10/17 12:31:17] @ Quit: masterzen: "Leaving"
[2008/10/17 12:31:33] @ vitaliy_ joined channel #puppet
[2008/10/17 12:31:56] @ andreid21 left channel #puppet ()
[2008/10/17 12:31:57] @ rgsteele||work joined channel #puppet
[2008/10/17 12:34:52] @ Quit: bajan: "Leaving."
[2008/10/17 12:35:23] @ Toi_ joined channel #puppet
[2008/10/17 12:36:51] @ Quit: roald: Remote closed the connection
[2008/10/17 12:41:14] @ Quit: raphink: "Ichthux - Linux for Christians - http://www.ichthux.com"
[2008/10/17 12:47:45] @ Quit: vitaliy: Read error: 110 (Connection timed out)
[2008/10/17 12:48:09] @ vitaliy_ is now known as vitaliy
[2008/10/17 12:48:39] @ mashmore joined channel #puppet
[2008/10/17 12:48:59] @ Quit: mashmore: Client Quit
[2008/10/17 12:52:38] @ mashmore joined channel #puppet
[2008/10/17 12:57:18] @ Quit: mashmore: Client Quit
[2008/10/17 12:58:13] @ alfism joined channel #puppet
[2008/10/17 13:00:30] @ Quit: edwardam: Read error: 110 (Connection timed out)
[2008/10/17 13:02:57] @ nigelk_ joined channel #puppet
[2008/10/17 13:02:57] @ Quit: nigelk: Read error: 104 (Connection reset by peer)
[2008/10/17 13:21:02] <sigmonsays> Hi
[2008/10/17 13:21:18] <sigmonsays> because puppet doesn't control *EVERY* file on the system. There is the requirement to know what's puppetized
[2008/10/17 13:21:30] <sigmonsays> Can I generate a list of files and servers somehow?
[2008/10/17 13:21:41] <sigmonsays> closest I can find is from debug, but that doesn't always list each file
[2008/10/17 13:22:48] @ kyrus1 joined channel #puppet
[2008/10/17 13:25:59] @ \ask- joined channel #puppet
[2008/10/17 13:27:58] <Disconnect> anyone mess with sawmill?
[2008/10/17 13:30:10] <tbone-atl> sawmill?
[2008/10/17 13:31:56] @ plathrop joined channel #puppet
[2008/10/17 13:32:59] @ nuloop_ joined channel #puppet
[2008/10/17 13:33:34] @ mashmore joined channel #puppet
[2008/10/17 13:33:38] @ Quit: mashmore: Remote closed the connection
[2008/10/17 13:34:09] @ mashmore joined channel #puppet
[2008/10/17 13:34:38] <Disconnect> log analysis tool. i've heard from a bunch of splunk users here but splunk hates me (or vice versa) :) so i'm trying alternatives.
[2008/10/17 13:44:06] @ teyo joined channel #puppet
[2008/10/17 13:45:33] <ashp> sawmill
[2008/10/17 13:45:37] <ashp> is the worst piece of software
[2008/10/17 13:46:37] @ Quit: emerose: Read error: 104 (Connection reset by peer)
[2008/10/17 13:48:17] @ Quit: andrewcshafer:
[2008/10/17 13:48:30] @ Quit: nuloop: Read error: 110 (Connection timed out)
[2008/10/17 13:49:06] @ emerose joined channel #puppet
[2008/10/17 13:54:18] @ edwardam joined channel #puppet
[2008/10/17 13:55:50] @ Quit: meandtheshell: "Leaving."
[2008/10/17 14:05:05] <Disconnect> ..yah but i think that about splunk so i think we might be going in different directions :)
[2008/10/17 14:05:34] <Disconnect> i'm still waiting for it to read in this month's logs so.. crap. its also reading in sisyphus indexes. ohwell..
[2008/10/17 14:05:46] <Disconnect> either way, i'm still on the 'import' phase of my day :)
[2008/10/17 14:06:04] <benp-> don't they serve two totally different purposes?
[2008/10/17 14:07:16] @ holoway joined channel #puppet
[2008/10/17 14:07:17] <Disconnect> according to the webpages they do basically the same thing - logfile reporting and analysis
[2008/10/17 14:07:45] <ashp> Are you still trying sawmill?
[2008/10/17 14:07:47] <ashp> I used to support it
[2008/10/17 14:08:08] <ashp> and it's full of bugs, it randomly calculates the numbers wrong, it can't ftp logfiles from solaris, which used to infuriate me, and it crashes at random times
[2008/10/17 14:08:13] <ashp> if you give it say 500G of logs
[2008/10/17 14:08:17] <ashp> and rebuild the database three times
[2008/10/17 14:08:25] <ashp> you'll often find the numbers it calculates are DIFFERENT each time
[2008/10/17 14:08:30] <ashp> which makes the entire damn thing a waste of time
[2008/10/17 14:08:42] <ashp> also it often corrupts its internal database and you have to rebuild from scratch
[2008/10/17 14:09:05] <ashp> i had to write a massive layer of scripts around it to make it even remotely function right
[2008/10/17 14:13:15] <xjay> i ended up rolling a home brew log system in my last gig
[2008/10/17 14:13:34] <ashp> 'visitors', a single binary, is still my favourite logstats program :)
[2008/10/17 14:13:57] <xjay> i lusked out though.. i worked for an enterprise search company so i wrote about 100 lines of java.. and made some rest calls from a rails app.. and boom.. i could search for logs
[2008/10/17 14:14:05] <xjay> lucked out even :)
[2008/10/17 14:14:50] <ashp> splunk is terrible for weblogs, as I found out
[2008/10/17 14:14:58] <ashp> from the gui you're limited to 50k searches at once
[2008/10/17 14:15:01] <ashp> which is no good for webstats
[2008/10/17 14:15:26] <xjay> we dont keep our weblogs.. its too much data
[2008/10/17 14:15:40] <xjay> just build intrumentation into your app
[2008/10/17 14:16:10] <xjay> need graphs.. use grpahite
[2008/10/17 14:16:19] @ calbers joined channel #puppet
[2008/10/17 14:16:44] <ashp> that would work if your 'apps' weren't written by jumped up perl coders who are pretending to be professionals
[2008/10/17 14:16:47] * ashp bitter :)
[2008/10/17 14:17:03] <xjay> people still use perl? :)
[2008/10/17 14:17:15] <ashp> they moved to mangling php instead
[2008/10/17 14:17:20] <ashp> same terrible style, new language!
[2008/10/17 14:17:25] <xjay> php is not a language
[2008/10/17 14:17:30] <xjay> its just crap
[2008/10/17 14:17:31] <xjay> sorry :)
[2008/10/17 14:17:47] <xjay> recently went through php hell moving a 'web app' to the latest php
[2008/10/17 14:18:17] <ashp> we're trapped on php4
[2008/10/17 14:18:21] <ashp> because our developers refuse to revisit old stuff
[2008/10/17 14:18:28] <ashp> we actually run mod_php4 and mod_php5 on two different apaches
[2008/10/17 14:18:35] <ashp> and proxy to php5 if it's slightly more up to date
[2008/10/17 14:18:36] <xjay> well.. it doesnt help that php is not backwards compatable
[2008/10/17 14:18:52] <xjay> that is gross
[2008/10/17 14:18:54] <ashp> php is such a mess, and mod_php is the biggest mistake of all
[2008/10/17 14:19:01] <ashp> they actually use mod_php calls so I can't just fastcgi it
[2008/10/17 14:19:32] <fsweetser> you mean you don't write code for mod_php the same as without it? ick...
[2008/10/17 14:19:33] <xjay> how you thought about stabbing someone?
[2008/10/17 14:20:51] <ashp> yes
[2008/10/17 14:20:55] <ashp> the developers, the two main ones
[2008/10/17 14:21:01] <ashp> have worked here for 12 years and have never worked anywhere else
[2008/10/17 14:21:09] <ashp> you can imagine the kind of things this has taught them
[2008/10/17 14:21:22] <ashp> i have never met anyone so resistant to any kind of change
[2008/10/17 14:21:36] <ashp> we recently moved to handling ssl rewriting on the loadbalancer and it was a real struggle to get any kind of buy-in
[2008/10/17 14:21:58] <xjay> ssl at the edge ftw!
[2008/10/17 14:22:06] <ashp> previously, and this is awesomely bad, we had a mod_perl script that checked every single page for a <location> statement in apache that matched and contained secure_environment $path
[2008/10/17 14:22:17] <ashp> and if it didn't have that, it redirected to http
[2008/10/17 14:22:24] <xjay> my god
[2008/10/17 14:22:40] <ashp> and then we had a mod_macro macro that had to be placed for every single ssl page that rewrote from http to https if it was ssl
[2008/10/17 14:22:50] <xjay> i am doing a bit of that style cleanup as of late...
[2008/10/17 14:22:59] <ashp> now we just have a rule that says 'if $uri contains '/secure/' rewrite https://'
[2008/10/17 14:23:09] <sigmonsays> is there a way to clear the hostname cache?
[2008/10/17 14:23:12] <ashp> and a reverse rule that says 'if not /secure/ or referrer doesn't contain /secure/, rewrite to http
[2008/10/17 14:23:21] <sigmonsays> somehow puppet is still getting the wrong hostname. i've updated everything I can find....
[2008/10/17 14:26:44] <Disconnect> ashp: fwiw i have similar problems with splunk. a simple report ("number of logs with 'user:ERROR' in the last week, hourly") times out and crashes. i can sometimes get counts and results for 24 hours, except the graph will only show 7-8 hours.
[2008/10/17 14:27:08] <ashp> Disconnect: sounds like you may have hit max_results, you can bump it up in limits.conf (I believe)
[2008/10/17 14:27:20] <ashp> the only thing I'll say in favour of splunk is #splunk on efnet is really good and helpful
[2008/10/17 14:27:22] <Disconnect> i did, set it to 150,000
[2008/10/17 14:27:24] <ashp> the software drives me insane
[2008/10/17 14:27:27] <Disconnect> which got the results but not the graphs
[2008/10/17 14:27:29] <ashp> you might want to drop in there and ask them for a hand
[2008/10/17 14:27:46] <ashp> i gotta run off for my dentists appointment, but check in with support, they are actually useful for once
[2008/10/17 14:27:53] <Disconnect> even the "user:FATAL" search (i can get exact #s but it totalled about 5k) timed out
[2008/10/17 14:27:57] <ashp> they've fixed several real bugs i found, one that the founder of the company had to step in and fix himself
[2008/10/17 14:27:58] <Disconnect> yah i did, they worked with me a little then bailed
[2008/10/17 14:28:07] <ashp> ouch, that sucks, escalate it and complain loudly!
[2008/10/17 14:28:42] <Disconnect> i think its got a more fundamental problem here of not pulling fields out of the incoming messages. gonna start over fresh with it on monday.
[2008/10/17 14:29:06] <Disconnect> but in the meantime sawmill can chew on the logs for the weekend and either blow up or rock by teh time i come in in the morning :)
[2008/10/17 14:38:50] @ nigelk joined channel #puppet
[2008/10/17 14:39:00] @ Quit: nigelk_: Read error: 104 (Connection reset by peer)
[2008/10/17 14:40:37] @ Quit: kyrus1:
[2008/10/17 14:40:55] @ drmikecrowe joined channel #puppet
[2008/10/17 14:41:10] @ kyrus1 joined channel #puppet
[2008/10/17 14:41:23] <drmikecrowe> << Enter commands here!>>
[2008/10/17 14:42:45] @ masterzen joined channel #puppet
[2008/10/17 14:47:26] @ Quit: ezekiel-v3: "Changing server"
[2008/10/17 14:50:56] @ Quit: masterzen: "This computer has gone to sleep"
[2008/10/17 14:55:16] @ ezekiel-v3 joined channel #puppet
[2008/10/17 14:59:55] @ flakrat joined channel #puppet
[2008/10/17 15:02:52] @ Quit: drmikecrowe_: Connection timed out
[2008/10/17 15:07:09] @ Quit: nigelk:
[2008/10/17 15:10:22] <tbone-atl> ok, stumped again.
[2008/10/17 15:11:19] <tbone-atl> I've got several modules that, for each User, wants to make a new File resource in their home directory.
[2008/10/17 15:11:57] <tbone-atl> Virutal resources help each modules to realize() the Users. Collections seem like they would help to collect them all.
[2008/10/17 15:12:09] <tbone-atl> I'm at a loss how to do a foreach
[2008/10/17 15:12:21] <tbone-atl> -or- am I thinking about this the wrong way?
[2008/10/17 15:16:47] @ Quit: lak:
[2008/10/17 15:17:15] @ Quit: calbers: Remote closed the connection
[2008/10/17 15:34:28] * tbone-atl reads something in the email list where AJ and lak were discussing language constructs
[2008/10/17 15:35:08] <tbone-atl> leads me to think that foreach <<| User |>> do file{} isn't there
[2008/10/17 15:36:51] @ shake-n-bake joined channel #puppet
[2008/10/17 15:46:45] @ rpunt joined channel #puppet
[2008/10/17 15:51:18] <jcape> Are there known issues with 0.24.5 and LDAP binding?
[2008/10/17 15:51:26] @ jcape left channel #puppet ()
[2008/10/17 15:51:30] @ jcape joined channel #puppet
[2008/10/17 15:51:30] @ jcape left channel #puppet ()
[2008/10/17 15:51:47] @ jcape joined channel #puppet
[2008/10/17 15:56:09] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/10/17 15:57:59] <rpunt> anyone had any luck with lenny and .24.5? getting "certificate verify failed" errors even when settings "http_enable_post_connection_check = false"
[2008/10/17 16:01:45] <rpunt> anyone had any luck with lenny and .24.5? getting "certificate verify failed" errors no matter my config
[2008/10/17 16:01:58] @ andrewcshafer joined channel #puppet
[2008/10/17 16:02:10] @ Quit: andrewcshafer: Client Quit
[2008/10/17 16:13:09] @ lak joined channel #puppet
[2008/10/17 16:21:57] @ Quit: rpunt: "BitchX: its wax ecstatic"
[2008/10/17 16:24:21] @ Quit: Jaded: Remote closed the connection
[2008/10/17 16:24:21] <plathrop> tbone-atl: Indeed, no foreach.
[2008/10/17 16:24:46] <plathrop> tbone-atl: Here's what you want to do:
[2008/10/17 16:24:59] <plathrop> tbone-atl: Collect the User and the File resources into a define.
[2008/10/17 16:25:07] @ Jaded joined channel #puppet
[2008/10/17 16:25:10] <plathrop> tbone-atl: You then can virtualize the define, just like any resource.
[2008/10/17 16:27:00] <tbone-atl> so every module that wants to put a file in ~$user makes a @file{blah, tag=>"peruser"}
[2008/10/17 16:27:42] <plathrop> tbone-atl: Oh... hrm. I misunderstood what you want to do.
[2008/10/17 16:28:07] <tbone-atl> restated: modules that can dump resources in each user's $HOME
[2008/10/17 16:28:16] <tbone-atl> without knowing the names of the users
[2008/10/17 16:29:58] <plathrop> tbone-atl: How does it not know the names of the users? Shouldn't your usernames be part of your Puppet configs?
[2008/10/17 16:31:13] <tbone-atl> Each node gets a list of users to add to the machine. I've got a definition, useraccount($name), that then makes the User resource and does other central tasks.
[2008/10/17 16:31:36] @ Quit: marcoecc: Remote closed the connection
[2008/10/17 16:31:58] <plathrop> tbone-atl: I don't think I can help; I would recommend typing up a description of what you are doing and sending to the list. You usually get good feedback from that.
[2008/10/17 16:32:14] <tbone-atl> Will do. I appreciate your advice.
[2008/10/17 16:32:16] @ masterzen joined channel #puppet
[2008/10/17 16:35:36] @ Quit: teyo:
[2008/10/17 16:40:18] <tbone-atl> I really appreciate everyone's help. Catching up with a year's work of puppet evolution and learning modularization has been good.
[2008/10/17 16:40:51] <plathrop> tbone-atl: My pleasure. MAkes me feel useful (since I haven't had time to work on code).
[2008/10/17 16:44:37] @ andrewcshafer joined channel #puppet
[2008/10/17 16:45:53] @ shake-n-bake joined channel #puppet
[2008/10/17 16:48:20] @ Quit: zirpu: "kore dumph"
[2008/10/17 16:49:54] @ Quit: kenvandine: Remote closed the connection
[2008/10/17 16:51:01] @ Quit: Toi_: "Ex-Chat"
[2008/10/17 16:58:53] @ Quit: masterzen: "Exploring other worlds"
[2008/10/17 17:01:46] @ Quit: seanmil: Remote closed the connection
[2008/10/17 17:04:43] @ Quit: kyrus1:
[2008/10/17 17:24:02] @ hoberion joined channel #puppet
[2008/10/17 17:29:38] @ Quit: hoberion: "CGI:IRC (EOF)"
[2008/10/17 17:30:48] @ Quit: ski98033: Read error: 110 (Connection timed out)
[2008/10/17 17:44:34] @ Quit: edwardam: Read error: 60 (Operation timed out)
[2008/10/17 17:48:11] @ edwardam joined channel #puppet
[2008/10/17 17:53:10] <plathrop> lak: Why isn't ralsh on the wiki:PuppetExecutables page? Should I add it?
[2008/10/17 17:53:12] <gepetto> plathrop: lak: wiki:PuppetExecutables is http://reductivelabs.com/trac/puppet/wiki/PuppetExecutables
[2008/10/17 17:53:24] <jamesturnbull> plathrop: damn it as
[2008/10/17 17:53:28] <jamesturnbull> s/as/was/
[2008/10/17 17:53:53] <jamesturnbull> plathrop: go for it
[2008/10/17 17:53:59] <jamesturnbull> lutter1: jmeeuwen ping
[2008/10/17 17:54:52] <lak> yeah, add it
[2008/10/17 17:55:14] <lutter1> jamesturnbull: pong
[2008/10/17 17:55:50] <Volcane> hmm
[2008/10/17 17:55:51] <Volcane> puppet 23787 0.5 3.2 124132 34072 ? Ssl 22:55 0:00 /usr/bin/ruby /usr/sbin/puppetmasterd --masterport=81401
[2008/10/17 17:55:55] <Volcane> tcp 0 0 127.0.0.1:15865 0.0.0.0:* LISTEN 23787/ruby
[2008/10/17 17:55:59] <Volcane> how odd
[2008/10/17 17:56:13] <Volcane> hmm, actually maybe I'm being lame
[2008/10/17 17:56:35] <Volcane> d'oh
[2008/10/17 17:56:43] <plathrop> jamesturnbull: lak: Well, I added it. It's not much but at least it is there. Will flesh out some as I play with it today, if you'd like.
[2008/10/17 17:56:52] <Volcane> port number too big, wraps around etc
[2008/10/17 17:57:51] <gepetto> ::wiki:: Puppet Executables edited by plathrop @ http://reductivelabs.com/trac/puppet/wiki/PuppetExecutables (by paul@tertiusfamily.net)
[2008/10/17 18:00:38] @ Quit: vitaliy: "I used to do drugs. I still do, but I used to, too."
[2008/10/17 18:00:54] <plathrop> jamesturnbull: lak: There will soon be a post about Puppet on the Digg Tech Blog, fyi
[2008/10/17 18:01:35] <lak> cool
[2008/10/17 18:04:20] <jamesturnbull> plathrop: very cool
[2008/10/17 18:04:33] <jamesturnbull> duritong: your patch for mongrel init - it's based on master not 0.24.x
[2008/10/17 18:06:12] <plathrop> lak: Focusing on ralsh for this post.
[2008/10/17 18:06:24] <plathrop> lak: I plan a series of them, including sharing some modules.
[2008/10/17 18:06:31] <lak> awesome
[2008/10/17 18:06:51] <Volcane> plathrop: post? blog post? list post?
[2008/10/17 18:07:15] <plathrop> Volcane: Digg Tech Blog
[2008/10/17 18:07:25] <Volcane> ah
[2008/10/17 18:08:13] <Volcane> blog.digg.com yeah?
[2008/10/17 18:08:41] <plathrop> Volcane: http://blog.digg.com/technology
[2008/10/17 18:08:47] <plathrop> Volcane: Not up yet, though
[2008/10/17 18:08:54] <plathrop> Volcane: I mean my post on Puppet
[2008/10/17 18:09:03] <Volcane> ok good cos i wasnt quite prepared for all the other digg related stuff :)
[2008/10/17 18:12:23] @ Quit: flakrat: "Leaving"
[2008/10/17 18:18:25] <chadh> man, when puppet gets in a snit, it really gets in a snit
[2008/10/17 18:18:35] <chadh> I still have problems with files being turned into directories
[2008/10/17 18:31:18] @ teyo joined channel #puppet
[2008/10/17 18:33:20] @ Mode +o jamesturnbull by ChanServ
[2008/10/17 18:35:49] @ jamesturnbull set topic "Puppet 0.24.6RC2 released! http://tinyurl.com/636p2b | Redmine has moved to http://tinyurl.com/46ry"
[2008/10/17 18:36:01] @ Mode -o jamesturnbull by ChanServ
[2008/10/17 18:37:09] <chadh> uhh, that redmine url didn't work for me
[2008/10/17 18:37:18] <jamesturnbull> chadh: which one?
[2008/10/17 18:37:29] <jamesturnbull> chadh: weird
[2008/10/17 18:37:42] <chadh> did you grab the wrong tab? :)
[2008/10/17 18:37:48] <jenza> woop
[2008/10/17 18:38:11] <jamesturnbull> chadh: no I think it tinyurl - I have no idea what incrdedmail is
[2008/10/17 18:38:12] <chadh> good thing it wasn't nsfw :)
[2008/10/17 18:38:48] @ Mode +o jamesturnbull by ChanServ
[2008/10/17 18:38:55] @ jamesturnbull set topic "Puppet 0.24.6RC2 released! http://tinyurl.com/636p2b | Redmine has moved to http://tinyurl.com/46ryk7"
[2008/10/17 18:38:57] <gepetto> ::wiki:: Downloading Puppet edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet (by james@lovedthanlost.net)
[2008/10/17 18:39:10] @ Mode -o jamesturnbull by ChanServ
[2008/10/17 18:39:33] <jamesturnbull> chadh: truncated i think
[2008/10/17 18:40:01] <chadh> ic
[2008/10/17 18:50:40] @ Quit: mattf: Read error: 110 (Connection timed out)
[2008/10/17 19:00:59] @ Quit: alfism: "cd /home && rm pants"
[2008/10/17 19:05:25] @ Quit: lak:
[2008/10/17 19:16:35] @ Quit: edwardam: Read error: 110 (Connection timed out)
[2008/10/17 19:22:11] @ teratoma joined channel #puppet
[2008/10/17 19:23:14] @ yarihm joined channel #puppet
[2008/10/17 19:27:15] @ Quit: freiheit:
[2008/10/17 19:32:39] @ edwardam joined channel #puppet
[2008/10/17 19:42:00] @ jvanzyl joined channel #puppet
[2008/10/17 19:49:50] @ Quit: marek: Read error: 104 (Connection reset by peer)
[2008/10/17 19:49:53] @ marek joined channel #puppet
[2008/10/17 19:57:39] @ Quit: \ask-: "Leaving..."
[2008/10/17 20:04:21] <jcape> Does anyone know if LDAP binddn is broken in 0.24.5?
[2008/10/17 20:04:30] <jcape> Or if it changed since 0.24.4?
[2008/10/17 20:05:49] @ Quit: jvanzyl:
[2008/10/17 20:08:07] @ trombik joined channel #puppet
[2008/10/17 20:09:50] @ kenvandine joined channel #puppet
[2008/10/17 20:12:12] <jamesturnbull> jcape: not sure ... what precisely is the issue
[2008/10/17 20:13:07] @ \ask- joined channel #puppet
[2008/10/17 20:26:25] @ Quit: shake-n-bake:
[2008/10/17 20:27:32] @ Quit: jcape: Read error: 110 (Connection timed out)
[2008/10/17 20:39:41] @ mrowell joined channel #puppet
[2008/10/17 20:42:16] @ Quit: plathrop: Remote closed the connection
[2008/10/17 20:53:20] @ Quit: mrowell:
[2008/10/17 21:03:40] @ jcape joined channel #puppet
[2008/10/17 21:09:59] @ Quit: nmalik: Read error: 110 (Connection timed out)
[2008/10/17 21:18:28] @ Quit: rsquared: "Leaving"
[2008/10/17 21:32:05] @ snerd joined channel #puppet
[2008/10/17 21:33:11] @ Quit: teyo:
[2008/10/17 21:38:57] @ mashmore_ joined channel #puppet
[2008/10/17 21:40:43] @ Quit: mashmore: Read error: 110 (Connection timed out)
[2008/10/17 21:41:31] @ Quit: andrewcshafer:
[2008/10/17 21:43:10] @ andrewcshafer joined channel #puppet
[2008/10/17 21:58:58] @ Quit: holoway:
[2008/10/17 22:07:31] @ Quit: ezekiel-v3: Remote closed the connection
[2008/10/17 22:09:49] @ ezekiel-v3 joined channel #puppet
[2008/10/17 22:20:06] @ Quit: jcape:
[2008/10/17 22:21:33] @ jcape joined channel #puppet
[2008/10/17 22:31:05] @ Quit: yarihm: Read error: 113 (No route to host)
[2008/10/17 22:46:47] @ kolla joined channel #puppet
[2008/10/17 22:57:45] @ mattf joined channel #puppet
[2008/10/17 22:59:10] @ sts left channel #puppet ()
[2008/10/17 22:59:17] @ sts joined channel #puppet
[2008/10/17 23:04:36] @ lak joined channel #puppet
[2008/10/17 23:08:12] @ Quit: asa: Read error: 110 (Connection timed out)
[2008/10/17 23:12:44] @ Quit: lak:
[2008/10/17 23:21:43] @ Quit: mashmore_: "[bamfout]"
[2008/10/17 23:23:42] @ mashmore joined channel #puppet
[2008/10/17 23:28:09] @ \ask-_ joined channel #puppet

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