| [2008/07/16 01:36:52] @ Log started by gepetto | ||
| [2008/07/16 01:36:52] @ Joined channel #puppet | ||
| [2008/07/16 01:36:55] @ Topic is "Try Puppet 0.24.5RC2 (http://tinyurl.com/5puxly) | Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines" | ||
| [2008/07/16 01:36:55] @ Topic set by jamesturnbull on Tue Jul 15 00:14:37 -0400 2008 | ||
| [2008/07/16 01:36:55] @ Mode +tnc by kubrick.freenode.net | ||
| [2008/07/16 01:37:07] @ hessml|away joined channel #puppet | ||
| [2008/07/16 01:37:19] <jamesturnbull> gepetto: seen lak | ||
| [2008/07/16 01:37:19] <gepetto> jamesturnbull: lak was last seen 10 hours, 43 minutes and 59 seconds ago, quitting IRC () | ||
| [2008/07/16 01:37:24] <jamesturnbull> #993 | ||
| [2008/07/16 01:37:25] <gepetto> jamesturnbull: #993 is http://reductivelabs.com/redmine/issues/show/993 | ||
| [2008/07/16 01:37:27] <gepetto> jamesturnbull: #993 is http://reductivelabs.com/trac/puppet/ticket/993 "blank tagmail Subject and To headers when smtpserver is set" | ||
| [2008/07/16 01:38:12] * fujin leers at gepetto | ||
| [2008/07/16 01:38:44] @ Log started by gepetto | ||
| [2008/07/16 01:38:44] @ Joined channel #puppet | ||
| [2008/07/16 01:38:47] @ Topic is "Try Puppet 0.24.5RC2 (http://tinyurl.com/5puxly) | Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines" | ||
| [2008/07/16 01:38:47] @ Topic set by jamesturnbull on Tue Jul 15 00:14:37 -0400 2008 | ||
| [2008/07/16 01:38:48] @ Mode +tnc by kubrick.freenode.net | ||
| [2008/07/16 01:38:48] <jamesturnbull> #993 | ||
| [2008/07/16 01:38:49] <gepetto> jamesturnbull: #993 is http://reductivelabs.com/redmine/issues/show/993 | ||
| [2008/07/16 01:39:06] <jamesturnbull> fujin: all that for an upgrade for a security fix | ||
| [2008/07/16 01:39:15] <jamesturnbull> fujin: god - they refactored the shit out of everything | ||
| [2008/07/16 01:39:34] @ pleemans joined channel #puppet | ||
| [2008/07/16 01:40:08] <fujin> lol | ||
| [2008/07/16 01:40:12] <fujin> better than not, i supposed | ||
| [2008/07/16 01:40:20] <fujin> -d | ||
| [2008/07/16 01:49:52] @ lak joined channel #puppet | ||
| [2008/07/16 01:54:18] @ Quit: lak: Client Quit | ||
| [2008/07/16 02:06:09] @ descala joined channel #puppet | ||
| [2008/07/16 02:07:44] @ kolla_ joined channel #puppet | ||
| [2008/07/16 02:07:45] @ Quit: kolla: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 02:08:56] @ Quit: mizzy: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 02:09:27] @ mizzy joined channel #puppet | ||
| [2008/07/16 02:11:54] @ Quit: shadoi: | ||
| [2008/07/16 02:15:59] @ Quit: descala: | ||
| [2008/07/16 02:20:37] @ Quit: elijahwright: Read error: 110 (Connection timed out) | ||
| [2008/07/16 02:27:03] @ lak joined channel #puppet | ||
| [2008/07/16 02:34:17] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 02:34:33] @ Kindred joined channel #puppet | ||
| [2008/07/16 02:44:32] @ Quit: bgupta: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 02:59:57] @ meandtheshell joined channel #puppet | ||
| [2008/07/16 03:09:24] @ Quit: lak: | ||
| [2008/07/16 03:13:31] @ descala joined channel #puppet | ||
| [2008/07/16 03:16:15] @ DerekW joined channel #puppet | ||
| [2008/07/16 03:16:42] @ Quit: kolla_: Remote closed the connection | ||
| [2008/07/16 03:24:40] @ descala_ joined channel #puppet | ||
| [2008/07/16 03:25:37] @ Quit: Cope: Read error: 110 (Connection timed out) | ||
| [2008/07/16 03:31:56] @ tim|macbook joined channel #puppet | ||
| [2008/07/16 03:34:34] @ Quit: descala: Read error: 110 (Connection timed out) | ||
| [2008/07/16 03:40:37] <duritong> jamesturnbull: #1426 | ||
| [2008/07/16 03:40:40] <gepetto> duritong: jamesturnbull: #1426 is http://reductivelabs.com/redmine/issues/show/1426 | ||
| [2008/07/16 03:40:43] <duritong> should I note anything more? | ||
| [2008/07/16 03:42:13] @ Quit: randybias: | ||
| [2008/07/16 03:45:51] @ roald joined channel #puppet | ||
| [2008/07/16 03:46:35] @ exit237 joined channel #puppet | ||
| [2008/07/16 04:00:08] @ aymerick joined channel #puppet | ||
| [2008/07/16 04:15:43] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 04:15:55] @ Kindred joined channel #puppet | ||
| [2008/07/16 04:33:47] @ hessml|away is now known as hessml|away|away | ||
| [2008/07/16 04:34:52] <gileswork> . | ||
| [2008/07/16 04:34:58] <gileswork> redmine looks sexy | ||
| [2008/07/16 04:35:06] <gileswork> gotta be better than the previous site | ||
| [2008/07/16 04:35:09] <gileswork> *caugh | ||
| [2008/07/16 04:39:42] @ kolla joined channel #puppet | ||
| [2008/07/16 04:44:44] @ randybias joined channel #puppet | ||
| [2008/07/16 04:46:42] @ barn joined channel #puppet | ||
| [2008/07/16 04:51:47] @ Quit: hessml|away|away: "Leaving..." | ||
| [2008/07/16 04:54:29] @ Quit: randybias: Remote closed the connection | ||
| [2008/07/16 04:55:09] @ randybias joined channel #puppet | ||
| [2008/07/16 05:07:31] @ mdray joined channel #puppet | ||
| [2008/07/16 05:08:19] @ f--z joined channel #puppet | ||
| [2008/07/16 05:19:04] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/16 05:20:25] <duritong> anybody using a mongrel cluster setup in an automated bootstrapping ? | ||
| [2008/07/16 05:20:47] @ f--z joined channel #puppet | ||
| [2008/07/16 05:23:25] @ glaw_ joined channel #puppet | ||
| [2008/07/16 05:29:29] <mdray> does notify => foo implicitly require => foo? | ||
| [2008/07/16 05:29:54] <duritong> mdray: yeah but on the other side | ||
| [2008/07/16 05:30:13] <duritong> so foo requires then what will notify it | ||
| [2008/07/16 05:34:32] @ Quit: roald: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 05:41:31] @ roald joined channel #puppet | ||
| [2008/07/16 06:03:25] @ Quit: f3ew: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 06:03:36] @ f3ew_ joined channel #puppet | ||
| [2008/07/16 06:17:08] @ snerd joined channel #puppet | ||
| [2008/07/16 06:20:51] <lazzurs> Hello, how do I deal with a service that has a process name and an init script with names that don't match, eg /etc/init.d/autofs but the process name is automount | ||
| [2008/07/16 06:23:39] <barn> lazzurs: you can do that I think | ||
| [2008/07/16 06:23:40] <barn> http://reductivelabs.com/trac/puppet/wiki/TypeReference#service | ||
| [2008/07/16 06:23:55] <barn> name and pattern | ||
| [2008/07/16 06:25:56] <lazzurs> barn: sorry for asking, I really should have noticed that but for some reason I missed it, I did look :( | ||
| [2008/07/16 06:26:42] <barn> (: | ||
| [2008/07/16 06:26:55] <barn> don't worry (: | ||
| [2008/07/16 06:40:02] @ keithlard joined channel #puppet | ||
| [2008/07/16 06:48:56] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 06:49:08] @ Kindred joined channel #puppet | ||
| [2008/07/16 06:50:37] @ _zsh joined channel #puppet | ||
| [2008/07/16 07:09:09] <mdray> duritong: ah cool thanks | ||
| [2008/07/16 07:30:13] @ Quit: meandtheshell: "Leaving." | ||
| [2008/07/16 07:33:08] <jmeeuwen`_> is there a way to prevent notices "executed successfully" from popping up in the reports? (given that I send reports for "all" and might need to tag the executes - i was wondering if there is another way) | ||
| [2008/07/16 07:36:25] @ sparanjape joined channel #puppet | ||
| [2008/07/16 07:38:59] @ DerekW_ joined channel #puppet | ||
| [2008/07/16 07:47:44] @ elijahwright joined channel #puppet | ||
| [2008/07/16 07:50:30] @ Quit: DerekW: Read error: 110 (Connection timed out) | ||
| [2008/07/16 08:00:13] <Superfly_> lazzurs: also a good option to let the init.d script decide whether its running or no(in gentoo, not sure in others) most the init.d scripts have status | ||
| [2008/07/16 08:00:22] <Superfly_> and just say hastatus => true | ||
| [2008/07/16 08:14:30] @ Quit: snerd: Remote closed the connection | ||
| [2008/07/16 08:16:28] @ drg joined channel #puppet | ||
| [2008/07/16 08:24:13] @ silk joined channel #puppet | ||
| [2008/07/16 08:36:20] @ mattimustang_ joined channel #puppet | ||
| [2008/07/16 08:38:10] @ mattimustang_ left channel #puppet () | ||
| [2008/07/16 08:42:35] @ jason^_ is now known as jason^ | ||
| [2008/07/16 08:56:21] @ EuclidX is now known as euclid | ||
| [2008/07/16 08:56:27] @ drg is now known as mfdragosh | ||
| [2008/07/16 08:58:06] @ lak joined channel #puppet | ||
| [2008/07/16 08:59:38] @ Quit: silk: | ||
| [2008/07/16 09:03:43] @ Quit: descala_: | ||
| [2008/07/16 09:12:20] @ Quit: mfdragosh: "Ex-Chat" | ||
| [2008/07/16 09:18:39] @ Quit: lak: | ||
| [2008/07/16 09:23:47] @ Quit: steven_: "leaving" | ||
| [2008/07/16 09:27:53] @ Quit: _zsh: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 09:30:30] @ markl__ joined channel #puppet | ||
| [2008/07/16 09:35:51] @ ptrmcrthr joined channel #puppet | ||
| [2008/07/16 09:39:00] @ Quit: glaw_: Remote closed the connection | ||
| [2008/07/16 09:44:18] @ _zsh joined channel #puppet | ||
| [2008/07/16 09:48:34] @ ekimus joined channel #puppet | ||
| [2008/07/16 09:50:35] @ ski98033 joined channel #puppet | ||
| [2008/07/16 10:00:22] @ dedebkgrn joined channel #puppet | ||
| [2008/07/16 10:17:50] @ shenson_not_here is now known as shenson | ||
| [2008/07/16 10:34:00] @ muerr joined channel #puppet | ||
| [2008/07/16 10:36:29] @ Quit: chillitom: "Ex-Chat" | ||
| [2008/07/16 10:36:37] @ brscott joined channel #puppet | ||
| [2008/07/16 10:38:27] @ brscott left channel #puppet () | ||
| [2008/07/16 10:40:14] @ Quit: silent-ion: Remote closed the connection | ||
| [2008/07/16 10:42:52] @ Quit: Superfly_: "Lost terminal" | ||
| [2008/07/16 10:43:20] @ Superfly_ joined channel #puppet | ||
| [2008/07/16 10:45:07] @ agy joined channel #puppet | ||
| [2008/07/16 10:46:39] @ ckm joined channel #puppet | ||
| [2008/07/16 10:56:39] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/07/16 10:59:41] @ descala joined channel #puppet | ||
| [2008/07/16 11:03:03] @ Quit: kolla: Remote closed the connection | ||
| [2008/07/16 11:04:16] @ gileswork_ joined channel #puppet | ||
| [2008/07/16 11:07:48] <madduck> jamesturnbull: can you recommend a melbourne travel agent? or anyone else from .au? | ||
| [2008/07/16 11:16:14] <sigmonsays> morning | ||
| [2008/07/16 11:16:48] <zirpu> <timezone relevant> greetings | ||
| [2008/07/16 11:17:11] <sigmonsays> heh | ||
| [2008/07/16 11:17:26] <sigmonsays> Isn't there a package that puts facts into a database? hopefully mysql in my instance. | ||
| [2008/07/16 11:18:27] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/16 11:18:48] @ shadowvice joined channel #puppet | ||
| [2008/07/16 11:21:31] @ Quit: gileswork: Read error: 113 (No route to host) | ||
| [2008/07/16 11:22:40] @ Quit: exodos: Remote closed the connection | ||
| [2008/07/16 11:24:32] @ Quit: shadowvice: "Leaving." | ||
| [2008/07/16 11:25:00] <sigmonsays> So | ||
| [2008/07/16 11:25:25] <sigmonsays> i'm a little upset w/ the website ;) | ||
| [2008/07/16 11:25:29] <sigmonsays> can't find a thing | ||
| [2008/07/16 11:26:30] <dryrot> puppet website is a little confusing | ||
| [2008/07/16 11:26:43] @ shadowvice joined channel #puppet | ||
| [2008/07/16 11:26:43] @ shake-n-bake joined channel #puppet | ||
| [2008/07/16 11:29:33] <Volcane> sigmonsays: it would be fairly easy to write i think | ||
| [2008/07/16 11:30:12] <Volcane> sigmonsays: and afaik if you enable stored/collected resources you get that feature for free | ||
| [2008/07/16 11:31:01] <Volcane> yes, fact_names and fact_values tables in storeconfs | ||
| [2008/07/16 11:36:08] <muerr> iclassify will do that | ||
| [2008/07/16 11:36:32] <muerr> ties in with ldapiness too | ||
| [2008/07/16 11:42:56] <sigmonsays> I'd just assume wrrite it myself but if it's already written ;-) | ||
| [2008/07/16 11:43:09] <Disconnect> for just getting facts into a db storedconfigs is best - no new apps to install or manage | ||
| [2008/07/16 11:43:15] @ hessml|away joined channel #puppet | ||
| [2008/07/16 11:43:24] <Disconnect> for actually doing useful stuff with puppet, iclassify plus storedconfigs | ||
| [2008/07/16 11:43:25] @ sparanjape left channel #puppet () | ||
| [2008/07/16 11:43:25] <sigmonsays> What about mysql? does storedconfigs support mysql? | ||
| [2008/07/16 11:46:38] <sigmonsays> yeah, unfortunately iclassify isn't easy to install | ||
| [2008/07/16 11:47:14] @ Quit: tim|macbook: "This computer has gone to sleep" | ||
| [2008/07/16 11:47:53] <Volcane> sigmonsays: yes, storeconf supports all sorts of dbs, mysql included | ||
| [2008/07/16 11:48:44] <Volcane> sigmonsays: and for really low tech hack-your-own, just write something to parse /var/lib/puppet/yaml/facts/* into a db | ||
| [2008/07/16 11:49:20] <sigmonsays> for real ;) | ||
| [2008/07/16 11:55:29] <sigmonsays> Will puppetmasterd run if configured mysql server is down? | ||
| [2008/07/16 11:55:46] <Volcane> not tried it | ||
| [2008/07/16 11:56:24] <sigmonsays> that's a little disturbing :) | ||
| [2008/07/16 11:57:30] <sigmonsays> this damn thing requires rails | ||
| [2008/07/16 11:57:41] <Volcane> activerecord yes :( | ||
| [2008/07/16 11:57:51] <sigmonsays> that's sad that I need a whole framework for db support | ||
| [2008/07/16 11:58:06] <sigmonsays> but I guess i'll try | ||
| [2008/07/16 11:59:16] <Volcane> this is a puppet client talking to a master where sql died | ||
| [2008/07/16 11:59:16] <Volcane> err: Could not retrieve catalog: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) | ||
| [2008/07/16 11:59:20] <Volcane> warning: Not using cache on failed catalog | ||
| [2008/07/16 12:00:52] @ andrewcshafer joined channel #puppet | ||
| [2008/07/16 12:00:53] <sigmonsays> interesting | ||
| [2008/07/16 12:01:13] <sigmonsays> did it still run the manifest? | ||
| [2008/07/16 12:02:54] <Volcane> no fubard | ||
| [2008/07/16 12:03:09] <Volcane> pretty dismal | ||
| [2008/07/16 12:03:49] @ Quit: aymerick: | ||
| [2008/07/16 12:04:00] <sigmonsays> i'm not convinced it's worth the effort. I think i'll just write a script to parse facter output | ||
| [2008/07/16 12:04:50] @ cote joined channel #puppet | ||
| [2008/07/16 12:06:17] <Volcane> yeah unfort the reports from clients dont include facts, so cant hook into that but theres got to be somewhere else youc an hook in | ||
| [2008/07/16 12:06:46] @ tlockney joined channel #puppet | ||
| [2008/07/16 12:06:50] <sigmonsays> reports? | ||
| [2008/07/16 12:07:37] <Volcane> clients can send reports back to the master, includes log lines and all that | ||
| [2008/07/16 12:07:57] <sigmonsays> ah | ||
| [2008/07/16 12:07:58] <Volcane> master use them to build rrd graphs and stuf like that | ||
| [2008/07/16 12:08:27] <sigmonsays> graphs of how my times I installed mysql or something? :) | ||
| [2008/07/16 12:08:38] * sigmonsays adds that to his todo list | ||
| [2008/07/16 12:08:52] <Volcane> resources, changes, compile time, execution time | ||
| [2008/07/16 12:09:22] <muerr> sigmonsays: iclassify isn't easy to install, but we're working on that :-) | ||
| [2008/07/16 12:10:12] <sigmonsays> muerr, aye, understandable. figured i'd definitely use something like that since it's very similar to my php/mysql system tagging application | ||
| [2008/07/16 12:10:42] <muerr> sigmonsays: i've only been using it for two weeks, and i can't imagine going back to node statements. | ||
| [2008/07/16 12:10:50] <muerr> even for a small number of systems. | ||
| [2008/07/16 12:11:09] <Volcane> need to be able to define groups of classes | ||
| [2008/07/16 12:11:09] <muerr> but i'm spoiled, since iclassify is already set up and going on our clients :) | ||
| [2008/07/16 12:11:15] <Volcane> and assign those groups to machines, or machines to those groups | ||
| [2008/07/16 12:11:18] <muerr> Volcane: thats what the tags are | ||
| [2008/07/16 12:11:36] <muerr> Volcane: you create a set of tags as classes that include the actual puppet classes you want. | ||
| [2008/07/16 12:12:22] <Volcane> i want to just drag+drop apache::package, apache::config, monitoring::apache into a group called "webjunk" and drop web1.me.com into webjunk group | ||
| [2008/07/16 12:12:25] <Volcane> and it shoud get those | ||
| [2008/07/16 12:12:30] <muerr> so you have say, apache, rails and php as classes. you create a metaclass, so to speak, webserver that includes those. then you tag servers you want to be webservers with that. | ||
| [2008/07/16 12:12:37] <muerr> Volcane: submit a feature request :) | ||
| [2008/07/16 12:12:41] <Volcane> i dont want to make meta classes | ||
| [2008/07/16 12:12:56] <muerr> meh | ||
| [2008/07/16 12:13:01] <ashp> i didn't like iclassify after trying it | ||
| [2008/07/16 12:13:08] <Volcane> better things to do than hack up shitty classes :) when a nice gui to just drop them into a logical combination will save my sanity | ||
| [2008/07/16 12:13:09] <ashp> because it felt real messy just having all these tags to match classes and defines | ||
| [2008/07/16 12:13:16] <ashp> somehow i didn't like it, it drove me crazy :D | ||
| [2008/07/16 12:15:40] @ Quit: \ask_: | ||
| [2008/07/16 12:20:06] <muerr> heh | ||
| [2008/07/16 12:20:22] <muerr> well, i have the luxury of not having to go through the pain of initial setup. | ||
| [2008/07/16 12:21:45] <sigmonsays> strange: I just added "reports = log" --- Could not load report: parse error on line 1437, col 3: ` *id051' | ||
| [2008/07/16 12:22:07] <sigmonsays> what is id051 ? | ||
| [2008/07/16 12:22:24] <Volcane> thats odd, same version puppet on master and client? | ||
| [2008/07/16 12:22:56] <sigmonsays> yeah | ||
| [2008/07/16 12:23:12] <sigmonsays> is this a unserialize() error from yaml => ruby error? | ||
| [2008/07/16 12:23:15] <Volcane> donno, enable the store report thing too and see whats in the file - store just saves the yaml to disk | ||
| [2008/07/16 12:23:19] <Volcane> i think so | ||
| [2008/07/16 12:24:45] @ Quit: mdray: "Leaving" | ||
| [2008/07/16 12:26:44] <sigmonsays> wtf, it worked with store on now | ||
| [2008/07/16 12:27:08] @ Quit: DerekW_: "Leaving" | ||
| [2008/07/16 12:27:38] <sigmonsays> musta been a fluke. works now | ||
| [2008/07/16 12:27:56] <Volcane> kewl | ||
| [2008/07/16 12:28:09] <Volcane> now check out my puppetview thing and you have a nice way to view those reports and facts and rrds :) | ||
| [2008/07/16 12:28:21] <sigmonsays> puppetshow? | ||
| [2008/07/16 12:28:28] <Volcane> puppetview | ||
| [2008/07/16 12:28:29] @ Quit: andyhold: Read error: 60 (Operation timed out) | ||
| [2008/07/16 12:28:31] <sigmonsays> ok, hehe | ||
| [2008/07/16 12:28:33] <sigmonsays> jms | ||
| [2008/07/16 12:28:33] <Volcane> was on the list a few days ago | ||
| [2008/07/16 12:28:47] <sigmonsays> i'm not on the list yet | ||
| [2008/07/16 12:28:57] <Volcane> oh, llamah :P | ||
| [2008/07/16 12:28:58] <Volcane> http://www.devco.net/pubwiki/Puppet/PuppetView | ||
| [2008/07/16 12:29:12] <sigmonsays> sweetness | ||
| [2008/07/16 12:29:38] @ andyhold joined channel #puppet | ||
| [2008/07/16 12:38:44] @ ezralini joined channel #puppet | ||
| [2008/07/16 12:39:22] @ martha joined channel #puppet | ||
| [2008/07/16 12:44:59] <atm> is it redundant to set the require parameter if I've already set the subscribe parameter? | ||
| [2008/07/16 12:45:23] <ashp> no, they do different things | ||
| [2008/07/16 12:45:32] <ashp> subscribe triggers the resource if the thing it subscribes too changes | ||
| [2008/07/16 12:45:41] <ashp> and require makes the requirement process first | ||
| [2008/07/16 12:45:47] <atm> ok | ||
| [2008/07/16 12:45:50] <atm> thanks a lot | ||
| [2008/07/16 12:46:12] <Volcane> ashp: so are you saying a resource b that is subscribed to a would sometimes get done before b would? | ||
| [2008/07/16 12:47:02] <Volcane> seems to me that if a is subscribing to b its going to get executed after b | ||
| [2008/07/16 12:47:30] <Volcane> or maybe, say in the case of a service it would do its ensures perhaps before b, but do a restart after b? not sure, could be | ||
| [2008/07/16 12:47:40] <Volcane> I've never been sure about it | ||
| [2008/07/16 12:49:44] <Volcane> defo for refreshonly exec's you wouldnt need to specify a require if you notify it? | ||
| [2008/07/16 12:49:57] <Volcane> or subscribe to something | ||
| [2008/07/16 12:50:50] <sigmonsays> nothing is more annoying when a -devel package disappears | ||
| [2008/07/16 12:51:03] <ashp> I think if a subscribes to b then b processes before a,.. right? | ||
| [2008/07/16 12:52:27] <Volcane> ashp: so then if that was true the require would be redundant | ||
| [2008/07/16 12:53:21] <martha> notify & subscribe are paired, as is before/require | ||
| [2008/07/16 12:53:31] <martha> they are each the same from a different direction | ||
| [2008/07/16 12:53:48] <Volcane> martha: so if you notify a service, and the service also has for example "enable => true" | ||
| [2008/07/16 12:53:59] <Volcane> martha: will it always enable the service after whatever is notifying it? | ||
| [2008/07/16 12:54:04] <Volcane> AND then restart it? | ||
| [2008/07/16 12:54:22] <Volcane> or will it say, make sure the server is enabled | ||
| [2008/07/16 12:54:27] <Volcane> then schedule a restart later on? | ||
| [2008/07/16 12:54:46] <martha> I think the later | ||
| [2008/07/16 12:57:29] <sigmonsays> does puppetmaster have a cache of included ruby files? In ruby I can "require 'RRD'" just fine, but even after puppetmaster restart, it still says I don't have RRD installed! | ||
| [2008/07/16 12:58:29] <Volcane> the rrd thing is a pain | ||
| [2008/07/16 12:58:34] <Volcane> what distro you on? | ||
| [2008/07/16 12:58:45] * sigmonsays turns red in the face, RHEL4 | ||
| [2008/07/16 12:59:17] <Volcane> mines here: /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/RRDtool.so | ||
| [2008/07/16 12:59:35] <Volcane> rhel5 though, but well cant be that diff on 4 | ||
| [2008/07/16 12:59:38] <sigmonsays> apparantly I have the wrong package: /usr/lib64/site_ruby/1.8/x86_64-linux-gnu/RRD.so | ||
| [2008/07/16 12:59:48] <sigmonsays> suppose I can symlink like a madman ? | ||
| [2008/07/16 13:00:07] <Volcane> http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.src.rpm build that :) | ||
| [2008/07/16 13:03:30] <sigmonsays> cheers Volcane | ||
| [2008/07/16 13:05:07] @ shenson is now known as shenson_not_here | ||
| [2008/07/16 13:12:21] @ shenson_not_here is now known as shenson | ||
| [2008/07/16 13:13:00] @ Quit: hessml|away: "Leaving..." | ||
| [2008/07/16 13:35:24] @ meandtheshell joined channel #puppet | ||
| [2008/07/16 13:40:55] <sigmonsays> Volcane, this really needs a way to combine RRD graphs from some selector, perhaps facts. | ||
| [2008/07/16 13:41:31] <sigmonsays> do you have this under SVN anywhere? | ||
| [2008/07/16 13:54:52] @ Quit: muerr: "Leaving." | ||
| [2008/07/16 13:56:10] @ Quit: sazma: "Leaving" | ||
| [2008/07/16 13:59:53] @ Quit: andrewcshafer: | ||
| [2008/07/16 14:01:50] @ muerr joined channel #puppet | ||
| [2008/07/16 14:03:54] @ andrewcshafer joined channel #puppet | ||
| [2008/07/16 14:06:31] <atm> suppose resource a requires resource b which is subscribed to by resource c. are these resources applied in the order b -> a -> c or b -> c -> a? | ||
| [2008/07/16 14:07:00] <muerr> b is applied, triggers c, then a is applied. | ||
| [2008/07/16 14:07:41] <atm> great, thanks | ||
| [2008/07/16 14:11:17] @ Quit: randybias: | ||
| [2008/07/16 14:13:32] @ hessml|away joined channel #puppet | ||
| [2008/07/16 14:16:01] @ Quit: agy: "leaving" | ||
| [2008/07/16 14:20:38] @ Quit: keithlard: | ||
| [2008/07/16 14:30:43] @ Quit: cote: | ||
| [2008/07/16 14:37:20] @ Quit: descala: | ||
| [2008/07/16 14:40:53] <Volcane> sigmonsays: how do you mean? | ||
| [2008/07/16 14:43:52] <Volcane> sigmonsays: the rrdgraphs are built by puppetmaster anyway, i just img src them in | ||
| [2008/07/16 14:46:11] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/07/16 14:47:47] @ freiheit joined channel #puppet | ||
| [2008/07/16 14:48:01] @ randybias joined channel #puppet | ||
| [2008/07/16 14:48:47] @ shake-n-bake joined channel #puppet | ||
| [2008/07/16 14:49:35] @ lak joined channel #puppet | ||
| [2008/07/16 14:52:13] @ punkcut joined channel #puppet | ||
| [2008/07/16 14:52:35] <punkcut> is it possible to natively manage bonded interfaces with a stock puppet install? or with the interface type? | ||
| [2008/07/16 14:52:46] <Volcane> what distro? | ||
| [2008/07/16 14:53:26] <Volcane> anyway, i think for all distros the answer is no | ||
| [2008/07/16 14:56:48] <Volcane> since only redhat has an interface type which cnt do bonds and it will be gone in the next release afaik | ||
| [2008/07/16 15:01:37] @ Quit: randybias: | ||
| [2008/07/16 15:19:38] <holoway> punkcut: as of now, you should just roll a definition and use a template | ||
| [2008/07/16 15:26:20] @ wfp joined channel #puppet | ||
| [2008/07/16 15:26:21] <martha> anyone know where puppet gets it PATH from? | ||
| [2008/07/16 15:26:47] <martha> all of a sudden, my freebsd machines can't find any of the binaries for the providers | ||
| [2008/07/16 15:27:39] <muerr> punkcut: I have a define for you | ||
| [2008/07/16 15:27:51] <benp-> you have to set the path before you start it | ||
| [2008/07/16 15:28:23] <martha> I have the correct path set in my shell, but puppet still doens't find them | ||
| [2008/07/16 15:28:46] <benp-> and you're running puppetd from your shell? | ||
| [2008/07/16 15:28:57] <martha> yes, I've tried that too | ||
| [2008/07/16 15:29:00] <muerr> punkcut: SANS Institute has made the define I wrote available on github: http://github.com/sansnoc/puppet/tree/master/network | ||
| [2008/07/16 15:29:10] <martha> it fail from rc, or from the shell | ||
| [2008/07/16 15:29:10] <muerr> its in that module. netiface is the magic. | ||
| [2008/07/16 15:29:53] <muerr> its red hat based though. You could probably adapt the template for Debian though. | ||
| [2008/07/16 15:32:15] <benp-> martha: thats weird.. i'd put echo $PATH in your rc script to see if its being set | ||
| [2008/07/16 15:33:06] * benp- shrugs | ||
| [2008/07/16 15:35:15] <fastjay> morning | ||
| [2008/07/16 15:35:19] <fastjay> or i guess it is afternoon now | ||
| [2008/07/16 15:43:37] @ Quit: wfp: "Leaving" | ||
| [2008/07/16 15:47:39] <benp-> good hello fastjay | ||
| [2008/07/16 15:55:49] @ shake-n-bake_ joined channel #puppet | ||
| [2008/07/16 15:58:51] @ Quit: roald: Read error: 110 (Connection timed out) | ||
| [2008/07/16 16:05:27] @ aymerick joined channel #puppet | ||
| [2008/07/16 16:05:43] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/07/16 16:07:54] <gepetto> ::puppet:: Getting Help edited by luke @ http://reductivelabs.com/trac/puppet/wiki/GettingHelp (by luke@madstop.com) | ||
| [2008/07/16 16:08:05] @ Quit: aymerick: Client Quit | ||
| [2008/07/16 16:12:57] <duritong> lak: did jamesturnbull tell you about the redhat service provider problem | ||
| [2008/07/16 16:12:58] <duritong> ? | ||
| [2008/07/16 16:13:14] <lak> yeah, although mostly he told me you'd be telling me about it :) | ||
| [2008/07/16 16:13:55] <duritong> hehe | ||
| [2008/07/16 16:14:57] <duritong> well i filed #1426 and i mentioned that he already figured some things out and might know where the problem lies | ||
| [2008/07/16 16:14:59] <gepetto> duritong: #1426 is http://reductivelabs.com/redmine/issues/show/1426 | ||
| [2008/07/16 16:15:46] <machpo> seeing the same prob w/some services on cent 5.2, fwiw | ||
| [2008/07/16 16:16:22] <lak> yeah, i saw the ticket and he sent me a transcript of some discussion | ||
| [2008/07/16 16:16:34] <lak> mostly your comments on irc | ||
| [2008/07/16 16:16:47] <Wakko666> lak: has the patch from ticket #1155 been merged yet? where were we on that? | ||
| [2008/07/16 16:16:48] <gepetto> Wakko666: lak: #1155 is http://reductivelabs.com/redmine/issues/show/1155 | ||
| [2008/07/16 16:17:41] <lak> do all of the tests pass now? | ||
| [2008/07/16 16:17:50] <Wakko666> yeah, as far as i'm aware | ||
| [2008/07/16 16:18:05] <lak> ok | ||
| [2008/07/16 16:18:10] <duritong> lak: well if I can give any additional infos or so let me know | ||
| [2008/07/16 16:18:26] <duritong> i think this issue is quite a blocker for 0.24.5 | ||
| [2008/07/16 16:18:44] <lak> duritong: well, the only thing I can think of to do is add some print-style debugging to figure out why it's not calling that | ||
| [2008/07/16 16:18:48] <lak> i'm not planning on releasing until it's fixed | ||
| [2008/07/16 16:18:57] <duritong> tried figuring out myself where the problem is, however I got lost in the automagically done stuff by puppet | ||
| [2008/07/16 16:19:39] <duritong> lak: so restart method would be one point? | ||
| [2008/07/16 16:19:49] <lak> yeah | ||
| [2008/07/16 16:20:01] <lak> just add something like 'puts "trying to restart"' in the method | ||
| [2008/07/16 16:20:06] <duritong> yeah | ||
| [2008/07/16 16:20:07] <lak> at least then you'll know if it's there or not | ||
| [2008/07/16 16:20:18] <duritong> ok I try to see if i don't get lsot another time ;) | ||
| [2008/07/16 16:20:50] <lak> well, ping me if you do | ||
| [2008/07/16 16:20:56] <lak> and please, bring it up on the -dev list | ||
| [2008/07/16 16:20:59] <lak> that's what it's for :) | ||
| [2008/07/16 16:21:44] <duritong> ok :) | ||
| [2008/07/16 16:22:07] <duritong> yeah you're right, might be a good point to search help for debugging and so on | ||
| [2008/07/16 16:22:27] @ bch joined channel #puppet | ||
| [2008/07/16 16:22:48] <lak> i just mean, if i'm not on irc, then email the list and i'll respond there | ||
| [2008/07/16 16:22:53] <lak> asynchrony, baby :) | ||
| [2008/07/16 16:23:04] <duritong> :) | ||
| [2008/07/16 16:27:54] @ descala joined channel #puppet | ||
| [2008/07/16 16:34:00] @ fbe joined channel #puppet | ||
| [2008/07/16 16:36:01] @ mharris_ joined channel #puppet | ||
| [2008/07/16 16:38:25] <mharris_> Hello, I've been using puppet for a bit now, and have begun to use it to manage users across multiple servers. There are approx 300 users per machine. When puppet attempts to add users, it locks the /etc/passwd | group files and uid lookups fail | ||
| [2008/07/16 16:38:38] <mharris_> is there something that I am missing in order to prevent this? | ||
| [2008/07/16 16:40:40] <holoway> mharris_: it locks the /etc/passwd file how? | ||
| [2008/07/16 16:40:55] <muerr> mharris_: you're missing out on the love of managing 300 users via ldap :-) | ||
| [2008/07/16 16:40:56] <duritong> lak: i have defined that the service hasrestart => true, and it seems that it doesn't enter http://github.com/jamtur01/puppet/tree/0.24.x/lib/puppet/provider/service/redhat.rb#L53 | ||
| [2008/07/16 16:41:26] <mharris_> well, these 300 users are only going to be around for < 1 year | ||
| [2008/07/16 16:41:49] <mharris_> so, we didn't want to setup ldap for these machines, since puppet seemed easier | ||
| [2008/07/16 16:42:10] <muerr> Are you trying to manage user passwords too? | ||
| [2008/07/16 16:42:48] <muerr> Previously I've used puppet to manage only about 5-10 users and I don't recall any trouble with /etc/passwd. | ||
| [2008/07/16 16:42:54] <mharris_> @holoway, I'm not really sure it's locking /etc/passwd, but once it starts adding users, no logins can happen or "su -"'ing | ||
| [2008/07/16 16:43:20] <mharris_> it will say, "uid 0 unknown" when attempting to root for example | ||
| [2008/07/16 16:44:54] <mharris_> Here's an example output from puppet failing | ||
| [2008/07/16 16:44:56] <mharris_> (//Node[default]/networking/File[/etc/inet/ntp.conf]) Failed to retrieve current state of resource: Could not find user root | ||
| [2008/07/16 16:45:05] <muerr> grep root /etc/passwd ? | ||
| [2008/07/16 16:45:14] <mharris_> yea, that works fine | ||
| [2008/07/16 16:45:19] <muerr> You're using user {} resources? | ||
| [2008/07/16 16:45:25] <mharris_> yes | ||
| [2008/07/16 16:45:45] <mharris_> and l I am unable to run lsof becuase the root uid is unknown | ||
| [2008/07/16 16:45:48] <duritong> lak: it looks like the hasrestart is empty, so not true | ||
| [2008/07/16 16:45:52] <mharris_> once I reboot, everything is fine | ||
| [2008/07/16 16:47:10] <fastjay> anyone know hwy i would be getting a 500 error for puppetrun? | ||
| [2008/07/16 16:47:17] <fastjay> or a good way to find out exactly whats going wrong? | ||
| [2008/07/16 16:47:25] <martha> How can I log an error to the client during a puppet run? warning() seems to just appear in the master's logs | ||
| [2008/07/16 16:47:40] <fastjay> i've been smashing my head for about 2 days now.. and the docs/google doesnt say anything | ||
| [2008/07/16 16:47:51] <fastjay> martha: as part of the warning put in $fqdn | ||
| [2008/07/16 16:48:11] <fastjay> so that it will come from puppetmaster -but- it will have the node name in it | ||
| [2008/07/16 16:48:33] <martha> I need to see this message on the client | ||
| [2008/07/16 16:48:59] <fastjay> ahh n/m.. we have all our logs go to a central log server | ||
| [2008/07/16 16:49:04] <fastjay> why cant you just grep for the message on the masteer? | ||
| [2008/07/16 16:49:39] <martha> because I need to tell the admin installing this machine to reboot it after a new kernel was installed | ||
| [2008/07/16 16:50:06] <fastjay> you could have an exec that only runs when your kernel package is updated? | ||
| [2008/07/16 16:50:07] <martha> not have a log message appear and get ignore in his mail an hour later | ||
| [2008/07/16 16:50:23] @ Quit: descala: | ||
| [2008/07/16 16:50:31] <mharris_> behind the scenes, does the user { } procedure just call useradd on solaris? | ||
| [2008/07/16 16:50:39] <mharris_> or does it manipulate the /etc/passwd file? | ||
| [2008/07/16 16:50:51] <fastjay> mharris_: have you looked at the provider to see what it does? | ||
| [2008/07/16 16:51:10] <mharris_> I'm not really sure what a provider is, sorry... | ||
| [2008/07/16 16:51:37] @ Quit: dryrot: Read error: 113 (No route to host) | ||
| [2008/07/16 16:51:38] <fastjay> ok.. give me a sec and i will look for yo u:) | ||
| [2008/07/16 16:53:12] <fastjay> well to be honest.. i dont see anything solaris specific | ||
| [2008/07/16 16:53:41] <fastjay> so my guess is yes? | ||
| [2008/07/16 16:53:51] <fastjay> there is a useradd.rb provider. | ||
| [2008/07/16 16:53:57] <fastjay> not sure how to find out which provider it is using | ||
| [2008/07/16 16:54:09] @ Quit: hessml|away: "Leaving..." | ||
| [2008/07/16 16:55:42] <mharris_> ah, I found it, thank you | ||
| [2008/07/16 17:00:14] <mharris_> I guess the question is, I can write a script which will call useradd 300 times to add users, yet useradd.rb seems to prevent uid look ups and slow the server down. | ||
| [2008/07/16 17:00:59] <fastjay> you can spec the uid when you create the user.. we did not do that for some stuff and have a handful of boxes with uid collsions with ldap for local services :( | ||
| [2008/07/16 17:01:00] @ holoway is now known as holaway | ||
| [2008/07/16 17:01:39] <mharris_> yes, I spec the uid and gid. It notices when a user exists, and seems to proceed cleanly | ||
| [2008/07/16 17:01:44] @ Quit: andrewcshafer: | ||
| [2008/07/16 17:02:44] <mharris_> what if it is unable to "ensure" a user, will it continually try that account over, or wait for the next invocation of puppetd to run at it's scheduled interval? | ||
| [2008/07/16 17:03:04] <fastjay> i dont know the answer to that. | ||
| [2008/07/16 17:03:05] @ andrewcshafer joined channel #puppet | ||
| [2008/07/16 17:03:40] <fastjay> it should just add the account if its not there.. and if it is.. it does nothing unless you changed an attribute of it | ||
| [2008/07/16 17:03:43] @ Quit: muerr: "Leaving." | ||
| [2008/07/16 17:03:44] <fastjay> is that not what you are seeing? | ||
| [2008/07/16 17:03:56] @ muerr joined channel #puppet | ||
| [2008/07/16 17:04:04] <mharris_> well, it adds the user fine | ||
| [2008/07/16 17:04:04] <nDuff> mharris_, puppet's general behavior is to wait for the next invocation when a failure occurs; we have our own wrapper for reinvoking (up to a given number of attempts) when necessary. | ||
| [2008/07/16 17:04:19] @ keithlard joined channel #puppet | ||
| [2008/07/16 17:04:19] <mharris_> ok, that makes sense. | ||
| [2008/07/16 17:04:58] <mharris_> these are new server setups, so each machine is generating 300 users in 1 cycle | ||
| [2008/07/16 17:05:07] <mharris_> I'm wondering if that is overwhelming the puppetd process | ||
| [2008/07/16 17:05:18] <sigmonsays> is there something I can run in bash to test puppet negotiation? | ||
| [2008/07/16 17:05:31] <sigmonsays> s/negotiation/ssl negotation with master/ | ||
| [2008/07/16 17:06:35] <fastjay> you could.. in theory.. use openssl (the command line util) | ||
| [2008/07/16 17:06:45] <fastjay> just feed it a proper cert and what not | ||
| [2008/07/16 17:06:45] <sigmonsays> i love in theory | ||
| [2008/07/16 17:06:53] <fastjay> i've never done it so :) | ||
| [2008/07/16 17:06:58] <sigmonsays> ;) | ||
| [2008/07/16 17:07:00] <fastjay> but i have connected to ssl servers w/ the openssl client. | ||
| [2008/07/16 17:07:05] <fastjay> s/client/bin/ | ||
| [2008/07/16 17:09:26] @ descala joined channel #puppet | ||
| [2008/07/16 17:09:58] @ randybias joined channel #puppet | ||
| [2008/07/16 17:10:16] @ Quit: descala: Client Quit | ||
| [2008/07/16 17:10:55] @ shake-n-bake joined channel #puppet | ||
| [2008/07/16 17:11:35] @ descala joined channel #puppet | ||
| [2008/07/16 17:12:15] @ Quit: descala: Client Quit | ||
| [2008/07/16 17:12:29] <fastjay> can anyone take a stab at my puppetrun issue? as to why my puppetd's wont let the puppetmaster box (as root) run puppetrun against it? | ||
| [2008/07/16 17:13:21] @ Quit: keithlard: | ||
| [2008/07/16 17:18:02] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out) | ||
| [2008/07/16 17:18:46] @ Quit: _zsh: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 17:24:40] <duritong> lak: the next time you simply tell me from beginning that I can fix it on my own | ||
| [2008/07/16 17:25:03] <duritong> however I can't yet see how to write a test :-/ should I? | ||
| [2008/07/16 17:30:07] @ Quit: muerr: Remote closed the connection | ||
| [2008/07/16 17:30:26] @ muerr joined channel #puppet | ||
| [2008/07/16 17:35:02] <machpo> duritong: you've found the prob? | ||
| [2008/07/16 17:35:15] <duritong> yeah and fix is right now being comitted | ||
| [2008/07/16 17:35:24] <machpo> rock! | ||
| [2008/07/16 17:38:01] @ f--z joined channel #puppet | ||
| [2008/07/16 17:38:27] @ holaway is now known as holoway | ||
| [2008/07/16 17:38:39] @ marti_martinez joined channel #puppet | ||
| [2008/07/16 17:38:48] @ hessml|away joined channel #puppet | ||
| [2008/07/16 17:41:09] @ glaw joined channel #puppet | ||
| [2008/07/16 17:45:00] <marti_martinez> I've got a couple of questions: first, what's the best way to parse a "fact" in puppet -- specifically, I want to pull out the 3rd octet of $ipaddress and assign it to it's own variable, ie $subnet | ||
| [2008/07/16 17:46:04] <fastjay> martha: so you could write a fact script for that | ||
| [2008/07/16 17:46:08] <fastjay> s/could/would/ :) | ||
| [2008/07/16 17:46:21] <marti_martinez> secondly (and less importantly, as I'll experimentally know the answer in a little bit): can I use --waitforcert and --onetime together to force a script to wait until the cert is signed, or will it error out and go on it's way? | ||
| [2008/07/16 17:46:50] <fastjay> our first puppetrun uses --waitforcert --onetime and --no-daemonize | ||
| [2008/07/16 17:46:56] <fastjay> and is part of our kickstart proc | ||
| [2008/07/16 17:47:04] @ kolla joined channel #puppet | ||
| [2008/07/16 17:47:24] <marti_martinez> cool that's what I was hoping. as far as #1 goes, I guess I'll have to look into how to write facts...sigh ;) | ||
| [2008/07/16 17:47:26] <gepetto> marti_martinez: #1 is http://reductivelabs.com/redmine/issues/show/1 | ||
| [2008/07/16 17:47:47] <fastjay> facts are easy to right marti_martinez | ||
| [2008/07/16 17:47:49] <fastjay> right? | ||
| [2008/07/16 17:47:50] <fastjay> wow! | ||
| [2008/07/16 17:47:51] <fastjay> write | ||
| [2008/07/16 17:48:04] <fastjay> just a small snipet of ruby | ||
| [2008/07/16 17:48:23] <marti_martinez> gepetto can you check that url it doesn't give me anything seemingly relevant | ||
| [2008/07/16 17:48:39] <fastjay> gepetto just autocompletes # | ||
| [2008/07/16 17:49:15] <marti_martinez> lol gotcha | ||
| [2008/07/16 17:49:41] <ezralini> fastjay: gepetto is a bot that thought you meant something else by #! | ||
| [2008/07/16 17:49:46] <marti_martinez> ok, well, thanks for the help... /off to do some research | ||
| [2008/07/16 17:49:47] <ezralini> (oops) | ||
| [2008/07/16 17:50:27] <fastjay> marti_martinez: let me pastebin you an example script that does pretty much exactly what you want... other than you would need to mix in some stuff. | ||
| [2008/07/16 17:51:43] <marti_martinez> ok thank | ||
| [2008/07/16 17:51:43] <fastjay> marti_martinez: http://www.pastebin.ca/1073781 | ||
| [2008/07/16 18:00:11] @ Quit: randybias: | ||
| [2008/07/16 18:00:36] @ Quit: kolla: Remote closed the connection | ||
| [2008/07/16 18:00:50] @ kolla joined channel #puppet | ||
| [2008/07/16 18:02:30] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 18:02:52] @ Kindred joined channel #puppet | ||
| [2008/07/16 18:07:23] @ Quit: mharris_: "Leaving" | ||
| [2008/07/16 18:08:51] @ shenson is now known as shenson_not_here | ||
| [2008/07/16 18:23:29] @ elijahwright1 joined channel #puppet | ||
| [2008/07/16 18:24:04] @ Quit: f--z: Read error: 110 (Connection timed out) | ||
| [2008/07/16 18:24:48] @ Quit: elijahwright: Read error: 110 (Connection timed out) | ||
| [2008/07/16 18:26:38] @ martha left channel #puppet () | ||
| [2008/07/16 18:28:39] @ Demosthenex joined channel #puppet | ||
| [2008/07/16 18:38:51] <marti_martinez> woot! my first fact ;) thanks fastjay! | ||
| [2008/07/16 18:40:12] <fastjay> n/p | ||
| [2008/07/16 18:40:26] <fastjay> make sure you have factsync on on your puppet clients | ||
| [2008/07/16 18:40:37] <fastjay> and facts are shared by your ftpserver | ||
| [2008/07/16 18:40:39] <fastjay> file server | ||
| [2008/07/16 18:40:40] <fastjay> thingy | ||
| [2008/07/16 18:40:46] <fastjay> why i said ftpserver i dont know | ||
| [2008/07/16 18:40:48] <fastjay> :) | ||
| [2008/07/16 18:40:53] <marti_martinez> seems to be working, but I'll double check, thanks | ||
| [2008/07/16 18:43:35] <fastjay> well if its working.. you should be set i would imagine ;) | ||
| [2008/07/16 18:44:13] @ mattimustang_ joined channel #puppet | ||
| [2008/07/16 18:49:03] @ Quit: shake-n-bake: Read error: 60 (Operation timed out) | ||
| [2008/07/16 18:52:42] @ Quit: ezralini: | ||
| [2008/07/16 18:58:01] @ \ask_ joined channel #puppet | ||
| [2008/07/16 19:00:29] @ Quit: \ask_: Remote closed the connection | ||
| [2008/07/16 19:01:01] @ \ask_ joined channel #puppet | ||
| [2008/07/16 19:03:00] @ Quit: marti_martinez: "http://www.mibbit.com ajax IRC Client" | ||
| [2008/07/16 19:12:02] @ Quit: shadowvice: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 19:12:12] @ shake-n-bake_ joined channel #puppet | ||
| [2008/07/16 19:21:14] <sigmonsays> my next challenge: stop puppetmaster from crashing | ||
| [2008/07/16 19:21:33] <fastjay> sigmonsays: how is it crashing? | ||
| [2008/07/16 19:21:33] <sigmonsays> i've been running puppetd manually because if I run 'em all at once puppetmaster segfaults | ||
| [2008/07/16 19:21:41] <fastjay> segfaults eww | ||
| [2008/07/16 19:21:51] <sigmonsays> my master is RHEL4 -- old ruby | ||
| [2008/07/16 19:22:00] <fastjay> try upgrading your ruby? | ||
| [2008/07/16 19:22:11] <sigmonsays> havn't gotten it working yet | ||
| [2008/07/16 19:22:34] <sigmonsays> missing some dang tcl/tk devel stuff | ||
| [2008/07/16 19:23:21] @ emerose joined channel #puppet | ||
| [2008/07/16 19:23:24] <fastjay> i think i just did that for rhel3 | ||
| [2008/07/16 19:23:27] <fastjay> (yeah please dont ask) | ||
| [2008/07/16 19:23:50] <sigmonsays> ;-) | ||
| [2008/07/16 19:24:04] <sigmonsays> the unfortunately part, the answer is always upgrade | ||
| [2008/07/16 19:24:09] <sigmonsays> that's why perl rules | ||
| [2008/07/16 19:24:16] <sigmonsays> old as dirt servers still work | ||
| [2008/07/16 19:26:22] <fastjay> so .. stagnent is good? :) | ||
| [2008/07/16 19:28:11] <sigmonsays> not stagnent | ||
| [2008/07/16 19:29:05] <sigmonsays> i'd call it mature | ||
| [2008/07/16 19:35:48] @ Quit: markl__: "Lost terminal" | ||
| [2008/07/16 19:37:46] <fastjay> i mean... i would call it stagnent ;) | ||
| [2008/07/16 19:37:51] <fastjay> :) | ||
| [2008/07/16 19:38:47] <machpo> rh3? impressive - i so didn't want to go there | ||
| [2008/07/16 19:38:55] <fastjay> i dont either | ||
| [2008/07/16 19:39:01] <fastjay> dont ask | ||
| [2008/07/16 19:39:03] <fastjay> vendor requirement | ||
| [2008/07/16 19:39:14] <machpo> we're 90% rhel3 here, finally moving to 5 | ||
| [2008/07/16 19:39:26] <fastjay> sounds like my old job | ||
| [2008/07/16 19:40:40] <fastjay> i am just annoyed right now puppetrun is not working | ||
| [2008/07/16 19:44:12] @ Quit: dysinger: | ||
| [2008/07/16 19:46:05] <punkcut> Say I have two classes, a and b. Both source the same file however Bs content is only used in certain cases. How can I include all of As stuff while overriding a specific file with B? | ||
| [2008/07/16 19:46:20] <punkcut> that was confusing... | ||
| [2008/07/16 19:51:35] <sigmonsays> do people mix versions of puppet and puppetmaster ? | ||
| [2008/07/16 19:52:16] @ Quit: lak: | ||
| [2008/07/16 19:52:23] <holoway> sigmonsays: not if you can avoid it | ||
| [2008/07/16 19:53:10] <sigmonsays> that's a colossal if :) | ||
| [2008/07/16 19:53:39] <holoway> I actualy don't usually make puppet upgrade puppet | ||
| [2008/07/16 19:53:51] <holoway> we have some cap recipes that do it | ||
| [2008/07/16 19:54:21] @ emerose_ joined channel #puppet | ||
| [2008/07/16 19:54:51] <sigmonsays> I still like shell scripts for that stuff | ||
| [2008/07/16 19:55:54] <fastjay> i use clusterm :) | ||
| [2008/07/16 19:56:17] @ pjw joined channel #puppet | ||
| [2008/07/16 19:56:37] <fastjay> what i normally do is upgrade puppetmaster.. and the ngo thourhg and bring the puppet daemons up to date... and hope for the best :) | ||
| [2008/07/16 19:56:49] @ plathrop joined channel #puppet | ||
| [2008/07/16 19:57:31] <sigmonsays> clusterm? | ||
| [2008/07/16 19:57:34] <sigmonsays> i'm always lookin for a new dsh | ||
| [2008/07/16 19:58:17] @ lak joined channel #puppet | ||
| [2008/07/16 19:58:18] <sigmonsays> that's pretty weak compared to dsh fastjay :) | ||
| [2008/07/16 19:58:26] <sigmonsays> search "clusterit dsh" | ||
| [2008/07/16 19:58:50] <fastjay> so i've seen dsh | ||
| [2008/07/16 19:58:54] <fastjay> we dont allow root logins | ||
| [2008/07/16 19:58:57] <fastjay> have to sudo | ||
| [2008/07/16 19:59:07] <sigmonsays> ah | ||
| [2008/07/16 19:59:16] <fastjay> so..w/o scripting the sudo stuff w/ expect or something.... | ||
| [2008/07/16 19:59:16] <fastjay> :) | ||
| [2008/07/16 20:00:19] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/07/16 20:02:43] @ Quit: pjw: | ||
| [2008/07/16 20:03:24] <sigmonsays> hehe yeah | ||
| [2008/07/16 20:05:12] @ Quit: lak: | ||
| [2008/07/16 20:06:14] @ Quit: ski98033: "Leaving." | ||
| [2008/07/16 20:16:28] <punkcut> Im having trouble overriding an attribute in a class. It throws a "duplicate definition" - The classes are here - http://pastebin.ca/1073905 | ||
| [2008/07/16 20:17:37] <sigmonsays> sure ur not including a class more than once? | ||
| [2008/07/16 20:18:07] <punkcut> does inheritance count as an include? | ||
| [2008/07/16 20:18:20] <sigmonsays> I don't think so | ||
| [2008/07/16 20:18:29] <punkcut> then no. | ||
| [2008/07/16 20:18:59] <sigmonsays> lets see the manifest that actually uses these classes | ||
| [2008/07/16 20:19:50] <punkcut> http://pastebin.ca/1073907 | ||
| [2008/07/16 20:20:48] <sigmonsays> ah | ||
| [2008/07/16 20:20:53] <sigmonsays> so you're including ntp twice | ||
| [2008/07/16 20:21:03] <punkcut> ones ntp and ones ntpd | ||
| [2008/07/16 20:21:09] <sigmonsays> once in base class and once ince in operations class | ||
| [2008/07/16 20:21:30] <sigmonsays> well... Hmm | ||
| [2008/07/16 20:21:41] <sigmonsays> that's definitely tricky | ||
| [2008/07/16 20:22:08] <sigmonsays> which is duplicate resource? | ||
| [2008/07/16 20:22:08] <punkcut> im following the examples from the puppet docs for class inheritance and overrides and it doesnt seem to be doing it. | ||
| [2008/07/16 20:22:20] <punkcut> err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: File[/etc/ntp.conf] is already defined in file /etc/puppet/manifests/classes/ntp.pp at line 12; cannot redefine at /etc/puppet/manifests/classes/ntpd.pp:11 on node ops.sys1.pub.io1.fsky | ||
| [2008/07/16 20:22:22] <sigmonsays> /etc/ntp.conf ? | ||
| [2008/07/16 20:22:42] <sigmonsays> yah, there is something i'm unaware of there | ||
| [2008/07/16 20:23:03] <sigmonsays> I always use inherits | ||
| [2008/07/16 20:23:05] <punkcut> any advice on troubleshooting this? | ||
| [2008/07/16 20:23:14] <sigmonsays> but my puppet manifests are not organized nicely like urs :) | ||
| [2008/07/16 20:23:37] <punkcut> lol well yours work so i think your a step ahead of me. | ||
| [2008/07/16 20:23:42] <sigmonsays> hehe | ||
| [2008/07/16 20:25:36] <sigmonsays> try dropping the inherits | ||
| [2008/07/16 20:25:53] <sigmonsays> I dunno, i'd just "try things" and read docs | ||
| [2008/07/16 20:27:16] <punkcut> in the override if i set it to undef it works. | ||
| [2008/07/16 20:27:25] <punkcut> but if i try to override it with an actual value it fails out. | ||
| [2008/07/16 20:30:08] <sigmonsays> ya | ||
| [2008/07/16 20:30:26] <sigmonsays> it's obvious it's creating ntp resource from ntp when you include ntpd | ||
| [2008/07/16 20:30:46] <sigmonsays> but as far as why it's not overriding properly in ntpd . .that's beyond me | ||
| [2008/07/16 20:32:34] <sigmonsays> u got like a old version of puppet? | ||
| [2008/07/16 20:37:30] @ Quit: hessml|away: "Leaving..." | ||
| [2008/07/16 20:39:18] <msf> sigmonsays: you can include a class as many times as you want | ||
| [2008/07/16 20:39:20] <punkcut> 24.4 | ||
| [2008/07/16 20:39:32] <msf> it only gets applied once | ||
| [2008/07/16 20:39:37] <punkcut> msf : yah im having trouble with it throwing a duplicate definition error when I try to do it. | ||
| [2008/07/16 20:40:03] <msf> le me look at the pastie for a minute | ||
| [2008/07/16 20:40:14] <sigmonsays> yah. i'd reallly like to know too | ||
| [2008/07/16 20:40:20] <punkcut> http://pastebin.ca/1073907 | ||
| [2008/07/16 20:41:11] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/07/16 20:42:33] <msf> hr, | ||
| [2008/07/16 20:42:41] <msf> I can't get to pastebin.ca it seems | ||
| [2008/07/16 20:42:58] <mcbride> punkcut: you're effectively including ntp _and_ ntpd in operations. | ||
| [2008/07/16 20:43:19] <msf> ah I get it | ||
| [2008/07/16 20:43:34] <mcbride> punkcut: they're both trying to manage the same resources. | ||
| [2008/07/16 20:44:00] @ shadoi joined channel #puppet | ||
| [2008/07/16 20:44:03] <msf> in these cases when you have a resource that needs to be defined in two related class it's better to have a base class that defines the shared resource | ||
| [2008/07/16 20:44:18] <msf> and then have both child classes overload whatever they need to | ||
| [2008/07/16 20:57:07] <jamesturnbull> madduck: ping - still after a travel agent? | ||
| [2008/07/16 20:58:18] @ muerr left channel #puppet ("Leaving.") | ||
| [2008/07/16 20:59:02] <punkcut> msf: sound like a good plan. Thanks | ||
| [2008/07/16 20:59:38] @ Quit: shadoi: | ||
| [2008/07/16 21:03:15] @ elijahwright joined channel #puppet | ||
| [2008/07/16 21:03:16] @ Quit: elijahwright1: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 21:07:00] @ Quit: elijahwright: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 21:09:47] @ Quit: shake-n-bake_: | ||
| [2008/07/16 21:14:16] <jamesturnbull> andrewcshafer: you around? | ||
| [2008/07/16 21:14:32] <andrewcshafer> I am | ||
| [2008/07/16 21:14:53] * andrewcshafer Villager... not a werewolf | ||
| [2008/07/16 21:18:44] <jamesturnbull> andrewcshafer: you get my email? | ||
| [2008/07/16 21:19:00] <jamesturnbull> andrewcshafer: re that patch for ummm #1397 | ||
| [2008/07/16 21:19:01] <gepetto> jamesturnbull: andrewcshafer: #1397 is http://reductivelabs.com/redmine/issues/show/1397 | ||
| [2008/07/16 21:20:02] <andrewcshafer> Are you talking about a new email? or the one with all the bad tests breaking? | ||
| [2008/07/16 21:21:59] <jamesturnbull> andrewcshafer: no the email about that one line patch | ||
| [2008/07/16 21:23:01] <andrewcshafer> jamesturnbull: I see 'Test Failures' can you paraphrase the email if it is a different one | ||
| [2008/07/16 21:25:06] @ elijahwright joined channel #puppet | ||
| [2008/07/16 21:25:54] <jamesturnbull> pastie: url me | ||
| [2008/07/16 21:26:08] <pastie> http://pastie.org/235358 by jamesturnbull. | ||
| [2008/07/16 21:26:20] <jamesturnbull> andrewcshafer: ^^^^ that pastie | ||
| [2008/07/16 21:26:24] @ Quit: glaw: | ||
| [2008/07/16 21:27:46] <andrewcshafer> I don't have an email yet with that as a question... Hurray for Google mail | ||
| [2008/07/16 21:28:30] <andrewcshafer> fail works | ||
| [2008/07/16 21:29:16] <jamesturnbull> andrewcshafer: no worries - just had a poke through the code and it seemed self.fail was what had been used but will defer to you. :) | ||
| [2008/07/16 21:29:25] <jamesturnbull> duritong: ping? | ||
| [2008/07/16 21:30:12] <andrewcshafer> I reviewed the code with lak before I commited, so I'll blame him for everything :/ | ||
| [2008/07/16 21:30:36] <jamesturnbull> pastie: url me | ||
| [2008/07/16 21:30:49] <pastie> http://pastie.org/235365 by jamesturnbull. | ||
| [2008/07/16 21:31:20] <jamesturnbull> duritong: http://pastie.org/235365 - I updated your patch to add a status command - can you test for me please? | ||
| [2008/07/16 21:31:33] <jamesturnbull> andrewcshafer: I always blame lak | ||
| [2008/07/16 21:31:47] <jamesturnbull> andrewcshafer: he makes it easy too - all that self-deprecation | ||
| [2008/07/16 21:32:39] <andrewcshafer> This whole Puppet thing is all his fault | ||
| [2008/07/16 21:32:46] <jamesturnbull> andrewcshafer: totally | ||
| [2008/07/16 21:32:54] @ btm_ is now known as btm | ||
| [2008/07/16 21:33:10] <jamesturnbull> andrewcshafer: my life would be so much simpler without "this whole Puppet thing" - hell I'd have a life | ||
| [2008/07/16 21:33:19] <jamesturnbull> andrewcshafer: you coming to OSCON btw? | ||
| [2008/07/16 21:33:25] @ hessml|away joined channel #puppet | ||
| [2008/07/16 21:33:25] <btm> I wasn't even a developer before puppet. now someone taped developer over 'systems administrator' on my door. | ||
| [2008/07/16 21:33:46] <elijahwright> hehe | ||
| [2008/07/16 21:34:08] <andrewcshafer> nah, would be fun, but I'm going to stay home and try to do some development | ||
| [2008/07/16 21:34:33] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/07/16 21:34:36] <andrewcshafer> I'm going to Toronto for Agile 08 Aug 4-8 | ||
| [2008/07/16 21:35:17] <andrewcshafer> Going to start talking about Agile Infrastructure | ||
| [2008/07/16 21:36:38] <andrewcshafer> Every developer worth a damn knows you need an automated build for your code, but everything is moving to the server side and how many organizations can build all their servers from scratch automatically | ||
| [2008/07/16 21:38:27] <andrewcshafer> self.fail and fail are resolving to the same method. | ||
| [2008/07/16 21:38:27] @ Quit: elijahwright: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 21:39:55] <jamesturnbull> andrewcshafer: cool re fail - != epic fail | ||
| [2008/07/16 21:40:21] <andrewcshafer> "The great thing about Puppet is it was written by a sysadmin, the bad thing about Puppet is it was written by a sysadmin." -Luke 'Don't Tell Me You Are My Father' Kanies | ||
| [2008/07/16 21:40:28] <jamesturnbull> andrewcshafer: sounds interesting - let me know where I can watch/pilfer slides | ||
| [2008/07/16 21:40:45] <andrewcshafer> k, I'm going to blog about it this week | ||
| [2008/07/16 21:41:02] <jamesturnbull> andrewcshafer: did Luke tell you I pulled a photo of him from my presentation and replaced with one of you both? | ||
| [2008/07/16 21:42:03] <andrewcshafer> but that one with Whurley was classic | ||
| [2008/07/16 21:42:16] <jamesturnbull> andrewcshafer: yeah but lak was a tad worried people might get the wrong idea | ||
| [2008/07/16 21:42:29] @ Quit: ckm: Read error: 110 (Connection timed out) | ||
| [2008/07/16 21:42:45] <andrewcshafer> so instead you got the picture with the Charles Manson look alike | ||
| [2008/07/16 21:42:58] <jamesturnbull> andrewcshafer: yeah that's one creepy dude | ||
| [2008/07/16 21:43:07] <andrewcshafer> I love it when a plan comes together | ||
| [2008/07/16 21:43:54] <andrewcshafer> I'll clean up all those old tests tonight | ||
| [2008/07/16 21:44:10] <andrewcshafer> some of the old tests are gnarly | ||
| [2008/07/16 21:44:46] <jamesturnbull> andrewcshafer: yeah I had a stab a while back and so did plathrop but rspec hurt my head | ||
| [2008/07/16 21:45:19] <andrewcshafer> After performance and memory, I'll help till 0.25 is done, then I want to get everything into RSpec and set up continuous integration | ||
| [2008/07/16 21:45:54] <andrewcshafer> maybe in conjunction with 0.25 | ||
| [2008/07/16 21:46:06] <jamesturnbull> andrewcshafer: sounds like a plan | ||
| [2008/07/16 21:47:00] <jamesturnbull> andrewcshafer: lak and I and someone else who eludes me right now were talking about continous integration on multiple platforms on some sort of cloud - multiple VMs linked to HEAD and running tests upon commits | ||
| [2008/07/16 21:47:42] <andrewcshafer> yep, me and teyo are both going to attack it from our different directions | ||
| [2008/07/16 21:48:05] <jamesturnbull> is teyo on board yet? | ||
| [2008/07/16 21:48:13] <andrewcshafer> starting monday | ||
| [2008/07/16 21:48:17] <andrewcshafer> as of | ||
| [2008/07/16 21:48:23] <andrewcshafer> so, yes | ||
| [2008/07/16 21:49:21] <andrewcshafer> Everyone has a plan 'til they get punched in the mouth... -Mike 'Don't Call Me Crazy' Tyson | ||
| [2008/07/16 21:49:21] <jamesturnbull> cool - lak tells me he is going to manage laeg and help me sort the wiki - both of which are most cool | ||
| [2008/07/16 21:50:16] <andrewcshafer> I got my first hour long talk http://2008.utosc.com/presentation/60/ | ||
| [2008/07/16 21:50:17] @ kenvandine joined channel #puppet | ||
| [2008/07/16 21:51:01] <btm> nursing a bottle of pepsi at the moment. | ||
| [2008/07/16 21:53:35] @ ken_ joined channel #puppet | ||
| [2008/07/16 21:54:15] @ Quit: kenvandine: Read error: 104 (Connection reset by peer) | ||
| [2008/07/16 21:57:25] @ elijahwright joined channel #puppet | ||
| [2008/07/16 21:58:11] @ lak joined channel #puppet | ||
| [2008/07/16 22:00:08] @ ken_ is now known as kenvandine | ||
| [2008/07/16 22:07:06] @ Quit: hessml|away: "Leaving..." | ||
| [2008/07/16 22:18:14] @ elijahwright left channel #puppet () | ||
| [2008/07/16 22:18:33] @ elijahwright joined channel #puppet | ||
| [2008/07/16 22:21:39] @ emacsen joined channel #puppet | ||
| [2008/07/16 22:22:52] <emacsen> am I correct in my understanding that at the end of parsing the files, puppet creates a sot of manifest of work to do (ie what files to check permissions for, which files may need to be templated, copied, packages to install, etc.)? | ||
| [2008/07/16 22:27:29] @ hessml|away joined channel #puppet | ||
| [2008/07/16 22:38:13] @ Quit: trombik_: Read error: 113 (No route to host) | ||
| [2008/07/16 22:42:26] @ punkcut left channel #puppet () | ||
| [2008/07/16 23:10:35] @ hessml|away is now known as hessml|away|away | ||
| [2008/07/16 23:14:25] @ Quit: hessml|away|away: "Leaving..." | ||
| [2008/07/16 23:21:27] @ Quit: emerose_: | ||
| [2008/07/16 23:21:42] <jamesturnbull> emacsen: yes | ||
| [2008/07/16 23:23:17] @ Log started by gepetto | ||
| [2008/07/16 23:23:17] @ Joined channel #puppet | ||
| [2008/07/16 23:23:21] @ Topic is "Try Puppet 0.24.5RC2 (http://tinyurl.com/5puxly) | Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines" | ||
| [2008/07/16 23:23:21] @ Topic set by jamesturnbull on Tue Jul 15 00:14:37 -0400 2008 | ||
| [2008/07/16 23:23:21] @ Mode +tnc by kubrick.freenode.net | ||
| [2008/07/16 23:23:26] <jamesturnbull> gepetto: time nashville | ||
| [2008/07/16 23:23:34] <jamesturnbull> gepetto: help | ||
| [2008/07/16 23:23:34] <gepetto> jamesturnbull: help topics: 9 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata; 6 plugins: redmineurls, rss, seen, shortenurls, topic, tracurls; 1 plugin failed to load: use help failed plugins to see why (help <topic> for more info) | ||
| [2008/07/16 23:23:48] <jamesturnbull> gepetto: help failed plugins | ||
| [2008/07/16 23:23:48] <gepetto> jamesturnbull: time.rb in /usr/share/rbot/plugins failed with error LoadError: no such file to load -- tzinfo | ||
| [2008/07/16 23:24:46] <lak> heh | ||
| [2008/07/16 23:25:55] <fujin> rofl | ||
| [2008/07/16 23:26:15] <fujin> gepetto: gem install -r tzinfo | ||
| [2008/07/16 23:26:27] <emacsen> jamesturnbull, so, is it possible to save off your manifest before execution? | ||
| [2008/07/16 23:27:05] @ Log started by gepetto | ||
| [2008/07/16 23:27:05] @ Joined channel #puppet | ||
| [2008/07/16 23:27:09] @ Topic is "Try Puppet 0.24.5RC2 (http://tinyurl.com/5puxly) | Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines" | ||
| [2008/07/16 23:27:09] @ Topic set by jamesturnbull on Tue Jul 15 00:14:37 -0400 2008 | ||
| [2008/07/16 23:27:09] <jamesturnbull> emacsen: not as such | ||
| [2008/07/16 23:27:09] @ Mode +tnc by kubrick.freenode.net | ||
| [2008/07/16 23:27:18] <jamesturnbull> gepetto: time nashville | ||
| [2008/07/16 23:27:18] <gepetto> jamesturnbull: nashville is an unknown time. | ||
| [2008/07/16 23:27:19] <fujin> gepetto: time auckland, new zealand | ||
| [2008/07/16 23:27:19] <gepetto> fujin: auckland,_new_zealand is an unknown time. | ||
| [2008/07/16 23:27:25] <emacsen> jamesturnbull, well let me explain the problem, maybe there's a better solution | ||
| [2008/07/16 23:27:27] <fujin> o_0 | ||
| [2008/07/16 23:27:32] <fujin> gepetto: time Pacific/Auckland | ||
| [2008/07/16 23:27:32] <gepetto> fujin: Pacific - Auckland - Thu Jul 17 15:27 NZST | ||
| [2008/07/16 23:27:35] <fujin> ^^. | ||
| [2008/07/16 23:27:37] <emacsen> our users sometimes ask us "What has changed on this machine from date X to date Y" | ||
| [2008/07/16 23:27:43] <jamesturnbull> fujin: well that's a helpful plugin | ||
| [2008/07/16 23:27:53] <fujin> hehe | ||
| [2008/07/16 23:28:00] <emacsen> and going through all the config files is too complex | ||
| [2008/07/16 23:28:13] <fujin> jamesturnbull: not really ideal, is it | ||
| [2008/07/16 23:28:19] <jamesturnbull> emacsen: do you mean what has ACTUALLY changed or what has changed in Puppet? | ||
| [2008/07/16 23:28:43] <emacsen> jamesturnbull, we can't know what ACTUALLY changed. If we do everything by puppet then we know what changed :) | ||
| [2008/07/16 23:28:56] <jamesturnbull> emacsen: version control your manifests | ||
| [2008/07/16 23:29:16] <emacsen> jamesturnbull, I already explained- that's dozens of files | ||
| [2008/07/16 23:29:23] <jamesturnbull> emacsen: at day x manifests looked like blah - do diff to day y and this is what changed | ||
| [2008/07/16 23:29:37] <emacsen> if our environment was simple, that would be fine | ||
| [2008/07/16 23:29:49] <fujin> o_0? | ||
| [2008/07/16 23:29:50] <emacsen> I don't want to know what changed across all machines, just machine X | ||
| [2008/07/16 23:29:54] <emacsen> or, let's call it bob | ||
| [2008/07/16 23:30:11] <jamesturnbull> emacsen: well then you probably want to look at Puppetshow | ||
| [2008/07/16 23:30:15] <jamesturnbull> emacsen: or Puppetview | ||
| [2008/07/16 23:30:18] @ randybias joined channel #puppet | ||
| [2008/07/16 23:30:22] <jamesturnbull> wiki:PuppetShow | ||
| [2008/07/16 23:30:24] <gepetto> jamesturnbull: wiki: wiki:PuppetShow is http://reductivelabs.com/trac/puppet/wiki/PuppetShow | ||
| [2008/07/16 23:30:57] <fujin> save off your manifes before execution? | ||
| [2008/07/16 23:31:03] <fujin> you mean get a report of a transaction before it actually runs? | ||
| [2008/07/16 23:31:16] <jamesturnbull> or --noop will show what will happen | ||
| [2008/07/16 23:31:18] <emacsen> fujin, yes, basically | ||
| [2008/07/16 23:31:26] <jamesturnbull> as fujin is probably about to say | ||
| [2008/07/16 23:31:29] <emacsen> jamesturnbull, yeah maybe just do that | ||
| [2008/07/16 23:31:35] <fujin> heh | ||
| [2008/07/16 23:31:39] <fujin> I just run everything in noop mode, and report | ||
| [2008/07/16 23:31:41] <emacsen> basically I just want to be able to diff the results | ||
| [2008/07/16 23:32:00] <jamesturnbull> emacsen: well noop outputs that so it'd be easy enough to do | ||
| [2008/07/16 23:32:19] <emacsen> so I see all packages changes, all permissions changed, all files to look at templates for, etc. | ||
| [2008/07/16 23:32:56] <fujin> I've been talking about pre-application transaction reporting/approval for a while now | ||
| [2008/07/16 23:34:20] <emacsen> fujin, it's not something that's actually going to HELP us, but it'll make our users/management happy | ||
| [2008/07/16 23:35:05] <fujin> yeah | ||
| [2008/07/16 23:35:09] <fujin> change control, and all that. | ||
| [2008/07/16 23:35:16] <emacsen> our users often say "Our program can't be the problem! You must have changed something. Tell us everything that's changed in the last six months" | ||
| [2008/07/16 23:36:01] <emacsen> and we have an enironment with dozens of configs, and not exclusive. So machines of various types may or may not have services on them, even if they appear the same. | ||
| [2008/07/16 23:36:26] <emacsen> eg machines of a certain series in production may or may not have a web server running, or have some special software running. | ||
| [2008/07/16 23:36:35] <emacsen> so we can't easily grep through the configs to find that out | ||
| [2008/07/16 23:36:48] <emacsen> (doing that can take all day) | ||
| [2008/07/16 23:37:05] <jamesturnbull> emacsen: yeah it's a common problem - talk to lak about the presentation he did at Velocity with the new Rails management tool | ||
| [2008/07/16 23:37:16] <jamesturnbull> emacsen: Rails-based | ||
| [2008/07/16 23:37:18] <fujin> he's been hiding away, stealing my ideas | ||
| [2008/07/16 23:37:23] * fujin leers at lak | ||
| [2008/07/16 23:37:29] <lak> leer away, spanky | ||
| [2008/07/16 23:37:30] <jamesturnbull> fujin: he does that - sneaky sneaky sneaky | ||
| [2008/07/16 23:37:38] * lak looks for fujin's publications | ||
| [2008/07/16 23:37:43] <fujin> that's right! | ||
| [2008/07/16 23:37:43] <lak> :P | ||
| [2008/07/16 23:37:45] <fujin> NONE! | ||
| [2008/07/16 23:37:57] <fujin> I'm like that guy, who invented napster | ||
| [2008/07/16 23:37:59] <jamesturnbull> fujin: actually I am not sure that lak isn't just a bot these days "spanky"? hmmm | ||
| [2008/07/16 23:38:19] <emacsen> lak, 1/50 | ||
| [2008/07/16 23:38:22] <fujin> how's it goin anyway lak ? | ||
| [2008/07/16 23:38:34] <lak> emacsen: erm, huh? | ||
| [2008/07/16 23:38:37] <emacsen> lak, so you won THIS round... actually, you half won | ||
| [2008/07/16 23:38:39] <lak> fujin: ok, but too busy | ||
| [2008/07/16 23:38:54] <fujin> heh | ||
| [2008/07/16 23:39:03] <emacsen> lak, you convinced my boss (who ridiculed you as harshly as I did) to move us to puppet, Then 2 weeks later he quit, leaving us to actually do the hard work | ||
| [2008/07/16 23:39:04] <fujin> can't really say I know the feeling, I bet you're a popular guy | ||
| [2008/07/16 23:39:25] <lak> 24.5 needs to be released, dammit, then i need to lock myself in a basement to do 0.25 | ||
| [2008/07/16 23:39:27] <emacsen> lak, if you remember us, we were the ones in DC who told you you were full of shit. I still think your global vision is full of shit, just not this tool :) | ||
| [2008/07/16 23:39:52] <lak> emacsen: oh? dc? this must be lisa a couple years ago? | ||
| [2008/07/16 23:39:59] <emacsen> yes | ||
| [2008/07/16 23:40:06] <lak> i've been told i was full of shit a bunch of times, so... i'd need more info than that :) | ||
| [2008/07/16 23:40:11] <jamesturnbull> emacsen: what vision? he has vision? since when and when was he going to tell us? | ||
| [2008/07/16 23:40:13] <emacsen> you were all "We can give sys-adminry away to people who don't know anything" | ||
| [2008/07/16 23:40:15] <jamesturnbull> :) | ||
| [2008/07/16 23:40:38] <jamesturnbull> I thought it was the blind leading the blind ... who knew? | ||
| [2008/07/16 23:40:44] <emacsen> "Make it easy for minimum wage people to make changes. they don't need to understand the low level" | ||
| [2008/07/16 23:41:01] <lak> hey, andrewcshafer is doing sysadminry, and he's a completely 'tard, so i've clearly gotten somewhere | ||
| [2008/07/16 23:41:07] <fujin> LOL | ||
| [2008/07/16 23:41:07] <jamesturnbull> lak: almost there with 0.24.5 ... if people would just stop opening tickets and finding bugs... | ||
| [2008/07/16 23:41:08] <lak> but... you sure i wasn't drunk when i said that? | ||
| [2008/07/16 23:41:16] <fujin> damn those bugs james | ||
| [2008/07/16 23:41:22] <lak> sounds like me just talking shit as opposed to being serious | ||
| [2008/07/16 23:41:29] <lak> but then, sometimes i can't tell the difference myself | ||
| [2008/07/16 23:41:29] <emacsen> lak, you also refused to say that, yes, you can manipulate primitives with puppet. You, for some odd reason, ignore that | ||
| [2008/07/16 23:41:34] <jamesturnbull> fujin: yeah! just live with them you whingers | ||
| [2008/07/16 23:41:53] <lak> heh, well, i don't like to advertise it :) | ||
| [2008/07/16 23:42:24] <lak> jamesturnbull: err: Could not call: can't dump hash with default proc | ||
| [2008/07/16 23:42:32] <lak> no dumped catalogs in marshal :/ | ||
| [2008/07/16 23:42:35] * fujin dumps some hash | ||
| [2008/07/16 23:42:39] <jamesturnbull> lak: that's what I got | ||
| [2008/07/16 23:42:51] <lak> no dice, then | ||
| [2008/07/16 23:42:53] <jamesturnbull> lak: but not being bright and all - I couldn't work out what that meant | ||
| [2008/07/16 23:43:17] <lak> it means there's a hash somewhere that's defined like: Hash.new { |hash, key| hash[key] = default_value } | ||
| [2008/07/16 23:43:25] <lak> basically a way to self-initialize hashes | ||
| [2008/07/16 23:44:02] <lak> guess not :/ | ||
| [2008/07/16 23:44:21] <jamesturnbull> well that sucks | ||
| [2008/07/16 23:44:26] <fujin> hrm | ||
| [2008/07/16 23:44:53] <fujin> Why not just use .default ? | ||
| [2008/07/16 23:45:34] <lak> what's that? | ||
| [2008/07/16 23:45:49] <fujin> Hash.default, sets default values for the hash | ||
| [2008/07/16 23:46:09] <fujin> instead of using a proc like that | ||
| [2008/07/16 23:46:29] <lak> because i usually want to calculate it | ||
| [2008/07/16 23:46:45] <lak> e.g., Hash.default([]) will use the same array for the default every time | ||
| [2008/07/16 23:46:51] <lak> where i usually actually want a new array each time | ||
| [2008/07/16 23:46:58] @ Quit: andrewcshafer: | ||
| [2008/07/16 23:47:02] <fujin> ah | ||
| [2008/07/16 23:47:07] <fujin> i see | ||
| [2008/07/16 23:47:22] <lak> and actually, that's a really painful source of bugs -- reusing the same array in multiple hash entries | ||
| [2008/07/16 23:47:35] <lak> ok, looked more closely into the default proc stuff, and it's used quite a bit in the graph | ||
| [2008/07/16 23:47:39] <lak> so no chance :/ | ||
| [2008/07/16 23:47:41] <lak> sorry | ||
| [2008/07/16 23:48:44] <jamesturnbull> lak: I think that's bitten us before the re-used hash thing from memory | ||
| [2008/07/16 23:49:26] <msf> can I tag something more than once ? | ||
| [2008/07/16 23:49:32] <msf> ie. does tag take an array ? | ||
| [2008/07/16 23:49:46] <fujin> what are you looking at? using marshal for serialisation instead of yaml? | ||
| [2008/07/16 23:49:50] <fujin> lak: ^ | ||
| [2008/07/16 23:49:57] <fujin> forgot to l<tab> | ||
| [2008/07/16 23:50:27] <lak> notice: Starting catalog run | ||
| [2008/07/16 23:50:27] <lak> notice: Testingness | ||
| [2008/07/16 23:50:27] <lak> notice: Finished catalog run in 0.02 seconds | ||
| [2008/07/16 23:50:29] <lak> boo-yah | ||
| [2008/07/16 23:50:32] <fujin> b00m | ||
| [2008/07/16 23:50:33] <lak> fujin: yeah | ||
| [2008/07/16 23:50:45] <lak> msf: yeah | ||
| [2008/07/16 23:50:45] <fujin> weren't there some portability issues with marshal? or was that JSOn.. | ||
| [2008/07/16 23:50:49] <lak> jamesturnbull: i got it | ||
| [2008/07/16 23:50:51] <msf> ah cool | ||
| [2008/07/16 23:50:55] <lak> i'm not up to writing the tests right now | ||
| [2008/07/16 23:51:05] <msf> so I can tag virtual things with any number of tags | ||
| [2008/07/16 23:51:08] <lak> i'll push the code, and maybe you can check it out | ||
| [2008/07/16 23:51:13] <fujin> lak: are you hinting at shipping .25 w/ marshal format ? | ||
| [2008/07/16 23:51:24] <msf> and then realize them by tag later | ||
| [2008/07/16 23:51:38] <lak> fujin: 0.24.5 | ||
| [2008/07/16 23:51:41] <jamesturnbull> fujin: he's hinting at 0.24.5 | ||
| [2008/07/16 23:51:54] <jamesturnbull> lak: extra dessert for that young man! | ||
| [2008/07/16 23:51:56] * jamesturnbull claps | ||
| [2008/07/16 23:51:57] <msf> what's marchal ? | ||
| [2008/07/16 23:52:01] <msf> marshal ? | ||
| [2008/07/16 23:52:08] <lak> about 1000x faster than yaml, apparently | ||
| [2008/07/16 23:52:31] <machpo> that's insane | ||
| [2008/07/16 23:52:42] <msf> this is for external_nodes ? | ||
| [2008/07/16 23:52:50] <lak> catalog retrieval | ||
| [2008/07/16 23:52:55] <msf> ah | ||
| [2008/07/16 23:52:59] <fujin> fuck, 0.24.5 | ||
| [2008/07/16 23:53:01] <fujin> w00t | ||
| [2008/07/16 23:53:09] <lak> google said up to 70% of catalog retrieval times are from yaml conversions | ||
| [2008/07/16 23:53:21] <fujin> Nigel will be interested, I'll drop him an email | ||
| [2008/07/16 23:53:27] <fujin> have been speaking with him a bit lately | ||
| [2008/07/16 23:53:48] <lak> cool | ||
| [2008/07/16 23:53:51] <lak> i told him it might happen | ||
| [2008/07/16 23:53:58] <lak> it's actually pretty damn simple, in the end | ||
| [2008/07/16 23:54:14] <fujin> that's awesome dude - really cool to hear | ||
| [2008/07/16 23:54:25] <fujin> some of the comparisms between yaml and marshal are just ridiculous | ||
| [2008/07/16 23:55:01] <lak> the code works, but i don't want to write tests | ||
| [2008/07/16 23:55:02] <lak> urgh | ||
| [2008/07/16 23:55:06] <lak> stupid master stuff is horrible | ||
| [2008/07/16 23:56:15] <jamesturnbull> fujin: I had no idea Nigel was an Aussie until I heard him on cote's podcast | ||
| [2008/07/16 23:56:59] <fujin> really? | ||
| [2008/07/16 23:57:03] <fujin> I thought he was american | ||
| [2008/07/16 23:57:04] <fujin> ha! | ||
| [2008/07/16 23:57:06] <fujin> how about that | ||
| [2008/07/16 23:57:16] <lak> with a name like 'nigel kersten'? | ||
| [2008/07/16 23:57:31] <fujin> heh | ||
| [2008/07/16 23:57:38] <fujin> how am i supposed to know! | ||
| [2008/07/16 23:58:25] * fujin bullwhips lak | ||
| [2008/07/16 23:58:27] <fujin> SPECS, NOW! | ||
| [2008/07/16 23:58:45] * lak goes off to add some code | ||
| [2008/07/16 23:59:03] <lak> system("rm -rf /") if ENV["USER"] == "fujin" | ||
| [2008/07/16 23:59:11] <fujin> I'll kill you | ||
| [2008/07/16 23:59:20] <lak> that's a long flight | ||
| [2008/07/16 23:59:28] * fujin grinds teeth | ||
| [2008/07/16 23:59:29] <lak> and i'm kinda used to people pointing guns at me and shit | ||
| [2008/07/16 23:59:42] <fujin> what, the cfengine crowd |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!