| [2008/07/08 00:01:06] @ stillbourne joined channel #puppet | ||
| [2008/07/08 00:05:54] <msf> sigh | ||
| [2008/07/08 00:06:22] <msf> you know... when you guys release a rc of something... you really should increment the VERSION variable ? | ||
| [2008/07/08 00:06:38] <msf> facterversion => 1.3.8 | ||
| [2008/07/08 00:06:44] <msf> running 1.5.0rc2 | ||
| [2008/07/08 00:08:32] @ Quit: johnf: "Leaving." | ||
| [2008/07/08 00:12:16] <fujin> we generally don' tup the version numbers until the *real* release | ||
| [2008/07/08 00:12:20] <fujin> as it's still really an RC | ||
| [2008/07/08 00:12:31] <msf> so set it to 1.5.0rc2 ? | ||
| [2008/07/08 00:12:49] @ Quit: \ask_: | ||
| [2008/07/08 00:13:42] @ rizwank_ joined channel #puppet | ||
| [2008/07/08 00:14:16] <msf> 04:12 <fujin> as it's still really an RC | ||
| [2008/07/08 00:14:20] <msf> oops | ||
| [2008/07/08 00:14:23] @ Quit: rizwank: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 00:14:38] <fujin> opening a ticket, I hope | ||
| [2008/07/08 00:15:58] @ Quit: jvanzyl: | ||
| [2008/07/08 00:18:59] @ Quit: rizwank_: | ||
| [2008/07/08 00:18:59] @ MrProper_ joined channel #puppet | ||
| [2008/07/08 00:19:59] @ Quit: MrProper_: Remote closed the connection | ||
| [2008/07/08 00:20:00] @ Sakarias joined channel #puppet | ||
| [2008/07/08 00:21:44] @ MrProper_ joined channel #puppet | ||
| [2008/07/08 00:37:00] @ patobrien joined channel #puppet | ||
| [2008/07/08 00:53:32] @ Quit: andrewcshafer: | ||
| [2008/07/08 01:02:56] <stevenjenkins> big day -- factor release & puppet release candidate. | ||
| [2008/07/08 01:18:10] <jamesturnbull> lutter: any chance you could throw your eyes over #1368 | ||
| [2008/07/08 01:18:12] <gepetto> jamesturnbull: lutter: #1368 is http://reductivelabs.com/redmine/issues/show/1368 | ||
| [2008/07/08 01:18:56] @ meandtheshell joined channel #puppet | ||
| [2008/07/08 01:28:10] <msf> fujin: I will open a ticker | ||
| [2008/07/08 01:30:39] @ LittleIdea joined channel #puppet | ||
| [2008/07/08 01:30:41] @ andrewcshafer joined channel #puppet | ||
| [2008/07/08 01:34:14] @ Quit: patobrien: Remote closed the connection | ||
| [2008/07/08 01:45:22] @ sparanjape joined channel #puppet | ||
| [2008/07/08 02:15:51] @ Gwayne joined channel #puppet | ||
| [2008/07/08 02:17:27] @ Quit: lak: | ||
| [2008/07/08 02:40:56] @ \ask_ joined channel #puppet | ||
| [2008/07/08 02:44:09] @ Quit: sknight: Read error: 110 (Connection timed out) | ||
| [2008/07/08 02:48:09] @ f--z joined channel #puppet | ||
| [2008/07/08 03:06:37] @ aymerick joined channel #puppet | ||
| [2008/07/08 03:08:45] @ Quit: aymerick: Client Quit | ||
| [2008/07/08 03:08:56] @ aymerick joined channel #puppet | ||
| [2008/07/08 03:10:35] @ Quit: aymerick: Client Quit | ||
| [2008/07/08 03:10:47] @ aymerick joined channel #puppet | ||
| [2008/07/08 03:13:19] @ Quit: aymerick: Client Quit | ||
| [2008/07/08 03:16:41] @ Quit: dysinger: Read error: 110 (Connection timed out) | ||
| [2008/07/08 03:18:07] @ aymerick joined channel #puppet | ||
| [2008/07/08 03:28:20] @ dysinger joined channel #puppet | ||
| [2008/07/08 03:29:52] @ Quit: dysinger: Client Quit | ||
| [2008/07/08 03:34:53] <msf> is anyone managing puppetmaster servers with puppet ? | ||
| [2008/07/08 03:35:27] <msf> I am trying to setup a central puppetmaster that manages a bunch of child puppetmaster servers | ||
| [2008/07/08 03:35:33] @ DerekW joined channel #puppet | ||
| [2008/07/08 03:36:18] <msf> and I'm running into a problem where the puppetd process and the puppetmaster processes on the child server are trampling over each other's certificates | ||
| [2008/07/08 03:42:57] @ exodos joined channel #puppet | ||
| [2008/07/08 03:48:37] <msf> specifically ca.pem | ||
| [2008/07/08 03:48:58] @ Quit: sigmonsays: Read error: 110 (Connection timed out) | ||
| [2008/07/08 03:49:34] @ sigmonsays joined channel #puppet | ||
| [2008/07/08 03:54:02] <Volcane> you might need to configure the puppetd that talks to the other puppetmaster to use different dirs | ||
| [2008/07/08 03:54:16] <Volcane> ssldir = /some/where/else | ||
| [2008/07/08 04:09:32] @ kolla joined channel #puppet | ||
| [2008/07/08 04:48:41] @ Quit: \ask_: | ||
| [2008/07/08 04:51:14] @ Quit: shadoi: | ||
| [2008/07/08 04:54:07] @ penthief joined channel #puppet | ||
| [2008/07/08 04:56:18] @ Quit: randybias: | ||
| [2008/07/08 04:58:39] <penthief> This null doesn't work; what should I do? define definition($require=null) { ... } | ||
| [2008/07/08 04:59:54] <tim|imac> what do you want to achieve? | ||
| [2008/07/08 05:00:01] <tim|imac> null isn't a keyword in puppet :) | ||
| [2008/07/08 05:00:11] <penthief> OK, [] seems to work. | ||
| [2008/07/08 05:00:34] <Volcane> nill might work, but for that example "" iwll work fine | ||
| [2008/07/08 05:05:41] <penthief> Volcane: Using "" and not overriding gave me "Configuration could not be instantiated: Parameter require failed: interning empty string;" | ||
| [2008/07/08 05:05:55] <penthief> I assumed I needed some kind of a null instead | ||
| [2008/07/08 05:10:55] @ pleemans joined channel #puppet | ||
| [2008/07/08 05:11:53] @ glaw joined channel #puppet | ||
| [2008/07/08 05:17:58] @ mdray joined channel #puppet | ||
| [2008/07/08 05:25:55] <mdray> hello all | ||
| [2008/07/08 05:26:03] <mdray> who's tried zenoss? | ||
| [2008/07/08 05:27:09] <tim|imac> actually, i wanted to try it again yesterday, but the vmware image didnt want to convert nicely to parallels :( | ||
| [2008/07/08 05:29:19] <msf> Volcane: yeah.. I made ssldir point to different places in [puppetd] and [puppetmasterd] | ||
| [2008/07/08 05:29:27] <msf> it worls | ||
| [2008/07/08 05:51:29] <thom> mdray: unfortunately yes | ||
| [2008/07/08 05:56:21] <Volcane> penthief: hmm, interesting, maybe i remember wrong from when i did that then sorry | ||
| [2008/07/08 06:02:12] <mdray> thom: oh? | ||
| [2008/07/08 06:03:22] <thom> it really didn't work all that well for us; poor upgrade paths, corrupt databases, bad notifications, etc | ||
| [2008/07/08 06:11:50] <mdray> hm | ||
| [2008/07/08 06:11:52] <mdray> ok | ||
| [2008/07/08 06:12:13] <tim|imac> thom: out of interest, what are you using now? | ||
| [2008/07/08 06:12:24] <mdray> nagios | ||
| [2008/07/08 06:12:45] <tim|imac> s/interest/curiosity/ | ||
| [2008/07/08 06:13:15] * Volcane is using nagios with centreon to configure it | ||
| [2008/07/08 06:13:27] @ johano left channel #puppet ("slut") | ||
| [2008/07/08 06:13:33] <Volcane> busy moving to nagios 3+centreon from old hand configured nagios alone | ||
| [2008/07/08 06:16:06] <tim|imac> never heard of centreon | ||
| [2008/07/08 06:16:16] <thom> we're using opsview | ||
| [2008/07/08 06:16:21] <mdray> volcane: how do you find centreon? and how're you using it with puppet? generating config fragments and including in a $cfgdir? | ||
| [2008/07/08 06:16:21] <thom> it's pretty good | ||
| [2008/07/08 06:17:21] <Volcane> mdray: decided against trying to automate my monitoring, sux but I do some outsourced monitoring for 3rd parties who arent included in my puppet builds, so i am probably not the typical case | ||
| [2008/07/08 06:17:34] <mdray> ok | ||
| [2008/07/08 06:17:43] <mdray> automated monitoring's pretty important for us | ||
| [2008/07/08 06:17:44] <Volcane> mdray: if i wanted to automate the lot, I'd just stick to nagios though | ||
| [2008/07/08 06:17:48] <mdray> yeah | ||
| [2008/07/08 06:17:50] <mdray> leaning that way | ||
| [2008/07/08 06:18:00] <mdray> perhaps centreon can smooth out nagios's rough edges | ||
| [2008/07/08 06:18:23] <mdray> it's a bummer that exported resources need stored configs | ||
| [2008/07/08 06:18:25] <Volcane> if you're using centreon you essentially need to be doing it all through it, unless you want to hack about its database | ||
| [2008/07/08 06:18:30] <mdray> would rather do without that | ||
| [2008/07/08 06:18:37] <mdray> huff | ||
| [2008/07/08 06:18:46] * mdray boggles | ||
| [2008/07/08 06:18:50] <Volcane> mdray: yes, streconfs have been one of the main things that drove me away from using puppet to do it :P | ||
| [2008/07/08 06:19:17] <mdray> at least with zenoss i could fire an exec to xmlrpc/REST-register a new box | ||
| [2008/07/08 06:19:21] <tim|imac> what's wrong with stored configs? | ||
| [2008/07/08 06:19:26] <mdray> er, get puppet to fire one | ||
| [2008/07/08 06:19:32] <Volcane> mdray: yeah | ||
| [2008/07/08 06:20:15] <mdray> tim|imac: i don't have any bad experiences with them but the potential for problems looks relatively high | ||
| [2008/07/08 06:20:25] <Volcane> mdray: well with centreon its actually pretty easy now, i add a new box with minimal effort, drag/drop it into some groups like 'common-puppet-host' and hit build, and my baseline monitoring is sorted takes a minute, but sure, not ideal for 100s of machines | ||
| [2008/07/08 06:20:27] <mdray> tim|imac: stale old data, etc | ||
| [2008/07/08 06:21:55] <Volcane> tim|imac: i have some weirdly formed, some might even say corrupt, data in my mysql db which just isnt encouragin | ||
| [2008/07/08 06:22:35] <tim|imac> hm ok | ||
| [2008/07/08 06:22:58] <Volcane> http://pastie.org/229659 | ||
| [2008/07/08 06:23:20] <Volcane> i have others too, and thats freshly setup db | ||
| [2008/07/08 06:23:29] * kjetilho likes being able to use version control | ||
| [2008/07/08 06:34:11] * Volcane wonders how hard it will be to write something that walks a tree full of modules, pulls out wiki style comments and make a nice bit of doco | ||
| [2008/07/08 06:55:44] @ verwilst joined channel #puppet | ||
| [2008/07/08 06:56:02] <verwilst> hi! | ||
| [2008/07/08 06:56:12] <verwilst> when i execute puppetd in debug mode, i notice every call is very slow: | ||
| [2008/07/08 06:56:24] <verwilst> debug: Calling puppetmaster.getconfig | ||
| [2008/07/08 06:56:24] <verwilst> debug: Retrieved catalog in 40.06 seconds | ||
| [2008/07/08 06:56:28] <verwilst> like this for example | ||
| [2008/07/08 06:56:42] <verwilst> any idea why this could be so slow? | ||
| [2008/07/08 06:56:43] <Volcane> do you do much recursive copies etc? | ||
| [2008/07/08 06:57:08] <Volcane> thats the one that talks to your puppetmaster and have the master build what gets run on each server | ||
| [2008/07/08 06:57:21] <Volcane> so its a lot of work, lots of file comparing etc, but 40 seconds is a bit slow yes | ||
| [2008/07/08 06:57:56] <verwilst> lots of file comparing? :) it's 1 file :) | ||
| [2008/07/08 06:58:10] <verwilst> it just sits there doing nothing.. | ||
| [2008/07/08 06:58:23] <Volcane> you use puppet only to put one file on your servers? | ||
| [2008/07/08 06:59:19] <verwilst> debug: Calling fileserver.describe is very slow too | ||
| [2008/07/08 06:59:23] <verwilst> yeah | ||
| [2008/07/08 06:59:27] <verwilst> it's a new setup | ||
| [2008/07/08 06:59:30] <Volcane> ah wow | ||
| [2008/07/08 06:59:33] <Volcane> thats no good then | ||
| [2008/07/08 06:59:42] <Volcane> how many servers talking to your master atm? | ||
| [2008/07/08 06:59:46] <verwilst> in the end it fetches the changes and all it fine | ||
| [2008/07/08 06:59:46] <verwilst> 1 | ||
| [2008/07/08 06:59:50] <verwilst> is* | ||
| [2008/07/08 06:59:52] <Volcane> hmm | ||
| [2008/07/08 06:59:59] <verwilst> but every Calling xxxxxx is deadslow | ||
| [2008/07/08 07:00:10] <Volcane> yeh no with 1 client that shouldnt happen | ||
| [2008/07/08 07:00:16] @ Quit: penthief: Remote closed the connection | ||
| [2008/07/08 07:00:21] <verwilst> i know :) | ||
| [2008/07/08 07:00:22] <Volcane> and the box your master on isnt doing much else? has enough ram? | ||
| [2008/07/08 07:00:25] <verwilst> strange stuffs | ||
| [2008/07/08 07:02:21] <verwilst> load average: 0.00, 0.00, 0.00 on the master | ||
| [2008/07/08 07:02:24] <verwilst> and not swapping | ||
| [2008/07/08 07:03:09] <verwilst> same load @ client | ||
| [2008/07/08 07:03:41] <Volcane> wow | ||
| [2008/07/08 07:03:56] <Volcane> and whats in your manifest? | ||
| [2008/07/08 07:06:09] @ keithlard joined channel #puppet | ||
| [2008/07/08 07:07:06] <verwilst> 1 class with a file that needs to be synced and a service that's subscribed on that file | ||
| [2008/07/08 07:08:00] <Volcane> makes no sense then, you could probably run the master in debug/verbose mode and see what its up to | ||
| [2008/07/08 07:08:09] <Volcane> cos the delay is most probably on the master | ||
| [2008/07/08 07:13:22] <verwilst> yeah im doing that | ||
| [2008/07/08 07:13:39] <verwilst> as always, it will probably be a DNS issue ;) | ||
| [2008/07/08 07:13:47] <verwilst> "everything is a dns problem" ;) | ||
| [2008/07/08 07:13:55] <verwilst> aha | ||
| [2008/07/08 07:14:08] <verwilst> info: mount[files]: allowing *.verwilst.be access | ||
| [2008/07/08 07:14:12] <verwilst> after 40 secs | ||
| [2008/07/08 07:14:32] <Volcane> nice :) | ||
| [2008/07/08 07:14:33] <verwilst> smells like dns idd | ||
| [2008/07/08 07:14:36] <Volcane> hehe | ||
| [2008/07/08 07:14:56] <verwilst> 0.24.4 is pretty hard to kill :P | ||
| [2008/07/08 07:15:13] <verwilst> notice: Caught INT; shutting down and that's it :P | ||
| [2008/07/08 07:15:28] <Volcane> should shutdown once its done what it was doing | ||
| [2008/07/08 07:17:40] <verwilst> hm | ||
| [2008/07/08 07:17:56] <verwilst> adding the host to the master's /etc/hosts file makes everything snappy again | ||
| [2008/07/08 07:17:58] <verwilst> notice: Finished catalog run in 0.27 seconds | ||
| [2008/07/08 07:18:17] <Volcane> nice | ||
| [2008/07/08 07:18:17] <verwilst> grm, i guess i'll need to add every host under puppet's control to the hosts file | ||
| [2008/07/08 07:18:29] <Volcane> why not just add dns entries? :) | ||
| [2008/07/08 07:18:45] <verwilst> it's not my environment :) | ||
| [2008/07/08 07:18:59] <Volcane> or at least ensure that your nameserver doesnt take ages to discover there are non | ||
| [2008/07/08 07:19:02] <Volcane> ah | ||
| [2008/07/08 07:19:05] <Volcane> sux, hosts it is then | ||
| [2008/07/08 07:20:54] @ Quit: meandtheshell: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 07:27:30] @ meandtheshell joined channel #puppet | ||
| [2008/07/08 07:33:44] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/07/08 07:36:50] @ Quit: meandtheshell: "Leaving." | ||
| [2008/07/08 07:46:27] @ fsweetser_ is now known as fsweetser | ||
| [2008/07/08 07:46:34] @ jvanzyl joined channel #puppet | ||
| [2008/07/08 07:52:34] @ Quit: Demosthenes: Read error: 110 (Connection timed out) | ||
| [2008/07/08 08:08:03] <verwilst> Volcane: idd :) | ||
| [2008/07/08 08:08:09] <Volcane> idd? | ||
| [2008/07/08 08:09:04] * Volcane thinks he'll try write a language definition for http://www.naturaldocs.org/features.html | ||
| [2008/07/08 08:11:37] @ Quit: glaw: ""Remember, information is not knowledge, knowledge is not wisdom, wisdom is not truth, truth is not beauty, beauty is not lov | ||
| [2008/07/08 08:12:35] @ roald joined channel #puppet | ||
| [2008/07/08 08:13:38] <mdray> what've you all got for pluginsource | ||
| [2008/07/08 08:13:55] <mdray> er, plugindest | ||
| [2008/07/08 08:14:01] @ kenvandine joined channel #puppet | ||
| [2008/07/08 08:15:28] <Volcane> default | ||
| [2008/07/08 08:15:45] <mdray> plugindest = $vardir/lib/puppet | ||
| [2008/07/08 08:15:46] <mdray> plugindest = $vardir/lib/puppet | ||
| [2008/07/08 08:25:10] <mdray> hmm | ||
| [2008/07/08 08:25:42] <mdray> i've got one fact in /etc/puppet/modules/common/custom/plugins/facter/networks.rb | ||
| [2008/07/08 08:25:53] <mdray> and my pluginsync config is the same as in the wiki | ||
| [2008/07/08 08:25:59] <mdray> but it just won't sync | ||
| [2008/07/08 08:26:09] <Volcane> oh i think lak said the other day plugin sync for facts is a ballache atm | ||
| [2008/07/08 08:26:18] <mdray> ack | ||
| [2008/07/08 08:26:29] <mdray> it worked a while ago! | ||
| [2008/07/08 08:26:36] <Volcane> i have | ||
| [2008/07/08 08:26:36] <Volcane> factsync = true | ||
| [2008/07/08 08:26:36] <Volcane> factpath = /etc/puppet/manifests/facts | ||
| [2008/07/08 08:26:41] <Volcane> and just rb files in there | ||
| [2008/07/08 08:26:53] <mdray> does facter pull them in automagically? | ||
| [2008/07/08 08:26:58] <Volcane> puppet does | ||
| [2008/07/08 08:27:07] <Volcane> factsync=true on your clients | ||
| [2008/07/08 08:27:23] <mdray> are those two lines above under [main]? | ||
| [2008/07/08 08:27:31] <Volcane> [puppetmasterd] | ||
| [2008/07/08 08:27:51] <mdray> ok (so i could put factsync = true under [main], right?) | ||
| [2008/07/08 08:28:11] <Volcane> yip | ||
| [2008/07/08 08:30:30] <mdray> cool | ||
| [2008/07/08 08:32:50] @ meandtheshell joined channel #puppet | ||
| [2008/07/08 08:38:58] @ f--z left channel #puppet ("Time makes no sense") | ||
| [2008/07/08 08:40:08] @ f--z joined channel #puppet | ||
| [2008/07/08 08:56:42] @ glaw joined channel #puppet | ||
| [2008/07/08 09:02:22] @ penthief joined channel #puppet | ||
| [2008/07/08 09:05:17] @ lak joined channel #puppet | ||
| [2008/07/08 09:07:12] <Volcane> lak: are you aware of any plans for like a rdoc or somesuch for manifests? | ||
| [2008/07/08 09:07:20] <lak> no | ||
| [2008/07/08 09:07:30] <lak> we've discussed it a bit, but never come to any conclusion | ||
| [2008/07/08 09:07:45] * Volcane might have a play with http://www.naturaldocs.org/ to create a language definition for puppet | ||
| [2008/07/08 09:08:04] <Volcane> seems simple to get at least the basics going, not tried though | ||
| [2008/07/08 09:09:32] @ kolla_ joined channel #puppet | ||
| [2008/07/08 09:12:42] @ kambiz joined channel #puppet | ||
| [2008/07/08 09:16:30] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/08 09:16:43] @ f--z joined channel #puppet | ||
| [2008/07/08 09:20:06] @ Quit: sparanjape: "Easy as 3.14159265358979323846..." | ||
| [2008/07/08 09:24:43] @ Quit: kolla: Read error: 110 (Connection timed out) | ||
| [2008/07/08 09:26:52] <Disconnect> hmm. so at least i might know what its doing before it explodes. :( "puppetmasterd[7077]: Caching node mgmt-master.foo.com" .. then nothing. where does it hide that cache? | ||
| [2008/07/08 09:31:54] @ shenson_not_here is now known as shenson | ||
| [2008/07/08 09:34:36] @ docelic joined channel #puppet | ||
| [2008/07/08 09:35:41] <Disconnect> i can't even find that line in /usr/lib/ruby/1.8/puppet :( | ||
| [2008/07/08 09:37:21] <Disconnect> ah. indirection. less helpful :( | ||
| [2008/07/08 09:39:08] @ Quit: exodos: "Lost terminal" | ||
| [2008/07/08 09:44:21] <Disconnect> grrr. still works from the commandline, with the same args. | ||
| [2008/07/08 09:51:03] @ Quit: lak: | ||
| [2008/07/08 09:54:08] @ jbrothers joined channel #puppet | ||
| [2008/07/08 10:01:43] <Disconnect> any ideas? | ||
| [2008/07/08 10:03:06] @ mmcgrath is now known as df | ||
| [2008/07/08 10:03:23] @ df is now known as mmcgrath | ||
| [2008/07/08 10:07:34] <penthief> What is a good way of managing environment variables? | ||
| [2008/07/08 10:08:17] <Disconnect> /etc/environment? | ||
| [2008/07/08 10:11:30] <mdray> RHEL has /etc/profile.d | ||
| [2008/07/08 10:11:37] <mdray> i like to put files in there | ||
| [2008/07/08 10:12:22] <Disconnect> ugh. still no joy. :( Jul 8 10:11:16 mgmt-master puppetmasterd[13860]: (/Settings[/etc/puppet/puppet.conf]/Settings[puppetmasterd]/File[/etc/puppet/manifests/site.pp]) Autorequiring File[/etc/puppet/manifests] .......... then nothing. but from the commandline (same args) it runs fine, and doesn't crash. | ||
| [2008/07/08 10:12:36] <penthief> Cheers. I didn't know about those. | ||
| [2008/07/08 10:12:46] <Volcane> oh this is pretty kewl, might actually work | ||
| [2008/07/08 10:12:48] <Volcane> http://nephilim.ml.org/~rip/modules/ | ||
| [2008/07/08 10:12:59] <Volcane> module docs made with http://www.naturaldocs.org/ | ||
| [2008/07/08 10:13:21] <mdray> if i sync facts to my clients are those facts available immediately | ||
| [2008/07/08 10:13:27] <mdray> that is, available in the same run? | ||
| [2008/07/08 10:13:38] @ Quit: jvanzyl: | ||
| [2008/07/08 10:14:21] <Volcane> mdray: yes, once the rb file is there, so first run puts the fact down, next run sees the contents | ||
| [2008/07/08 10:14:33] <mdray> damn | ||
| [2008/07/08 10:14:33] <Volcane> mdray: bootstrap :P | ||
| [2008/07/08 10:14:44] <mdray> yeah, but i need to bootstrap my bootstrap :~) | ||
| [2008/07/08 10:14:55] <Volcane> my bootstrap dont need facts | ||
| [2008/07/08 10:14:58] <mdray> i have to get an http proxy set before anything else | ||
| [2008/07/08 10:15:10] <Volcane> ah | ||
| [2008/07/08 10:15:36] <Disconnect> mdray: so have 2 manual runs at firstboot | ||
| [2008/07/08 10:15:56] <mdray> disconnect: i'm not sure that'll work | ||
| [2008/07/08 10:16:12] <mdray> disconnect: as part of my bootstrapping i need to add a custom repo | ||
| [2008/07/08 10:16:18] <mdray> disconnect: but that needs the proxy set to work | ||
| [2008/07/08 10:16:19] <mdray> garh | ||
| [2008/07/08 10:16:44] <Volcane> mdray: hmm, why do you need to put the fact down? i push mine out wit puppet? | ||
| [2008/07/08 10:17:11] <Volcane> mdray: like i make the rb like you saw and /etc/facts.txt for al sorts of facts, bootstrap run puts all down via puppet:// protocol | ||
| [2008/07/08 10:17:22] <mdray> yeah that's what i do too | ||
| [2008/07/08 10:17:35] <Volcane> so where does the proxy come in? | ||
| [2008/07/08 10:17:50] @ Quit: glaw: Remote closed the connection | ||
| [2008/07/08 10:18:06] <mdray> configuring yum and our own yumrepo | ||
| [2008/07/08 10:18:43] <Volcane> ah | ||
| [2008/07/08 10:18:45] <Volcane> gotcha | ||
| [2008/07/08 10:19:03] <Disconnect> ugh. something about start-stop-daemon is really upsetting it :( | ||
| [2008/07/08 10:19:29] @ brscott joined channel #puppet | ||
| [2008/07/08 10:19:34] <mdray> basically at bootstrap i want to set up yum (set proxy, add repo, add yum-basearchonly and yum-priorities) and then set up puppet (get new puppet.conf plus custom facts) | ||
| [2008/07/08 10:19:42] <Volcane> yeah | ||
| [2008/07/08 10:19:46] <mdray> then fire up for the real deal | ||
| [2008/07/08 10:19:47] <Volcane> hmm | ||
| [2008/07/08 10:20:40] <mdray> i'm trying to avoid coding the http proxy url into my manifests but perhaps that's not worth the bother | ||
| [2008/07/08 10:24:09] <Disconnect> oooooh. hmm. what would cause daemonizing to trigger crashes? | ||
| [2008/07/08 10:25:58] @ kolla_ is now known as kolla | ||
| [2008/07/08 10:27:25] @ brscott left channel #puppet () | ||
| [2008/07/08 10:27:52] @ ezralini joined channel #puppet | ||
| [2008/07/08 10:31:10] @ jvanzyl joined channel #puppet | ||
| [2008/07/08 10:43:06] @ sknight joined channel #puppet | ||
| [2008/07/08 10:43:07] @ Quit: jvanzyl: | ||
| [2008/07/08 10:44:28] <Disconnect> woooow. trying to debug this crash still, and this is just -ugly-. http://pastie.org/229822 | ||
| [2008/07/08 10:44:46] <Disconnect> (thats an strace log from a run.. that, for whatever f'ing reason, didn't crash) | ||
| [2008/07/08 10:45:14] @ jvanzyl joined channel #puppet | ||
| [2008/07/08 10:46:29] <Disconnect> (3.7 million syscalls. only 205k of which are not sigproc*... :( i think i know why people complain about ruby being slow.) | ||
| [2008/07/08 10:46:53] @ riddley joined channel #puppet | ||
| [2008/07/08 10:47:41] <riddley> Hi all, I was just reading the changelog for RC1... does "Fixed #1012 - templates in the templatedir are preferred to module templates." mean you can't have arrays in your external node DB anymore? | ||
| [2008/07/08 10:47:42] <gepetto> riddley: #1012 is http://reductivelabs.com/redmine/issues/show/1012 | ||
| [2008/07/08 10:48:33] <riddley> I pasted wrong | ||
| [2008/07/08 10:48:47] <riddley> Fixed #1201 - all external node attributes are converted to strings. | ||
| [2008/07/08 10:48:48] <gepetto> riddley: #1201 is http://reductivelabs.com/redmine/issues/show/1201 | ||
| [2008/07/08 10:49:47] <riddley> holy moly how much easier to read is redmine over trac! | ||
| [2008/07/08 10:55:47] * Volcane wonder if ppl think this is in any way a useful format for module docs: http://nephilim.ml.org/~rip/modules/ | ||
| [2008/07/08 10:56:29] <Disconnect> looks .. redundant. got an example thats more fleshed out? (even if its "this is the mod desc ispum factum foo"..) | ||
| [2008/07/08 10:56:49] <Volcane> erm | ||
| [2008/07/08 10:56:51] <Disconnect> having 5 lines that all say "aliases" its hard to evaluate what real docs will look like :) | ||
| [2008/07/08 10:57:00] <Volcane> maybe we're not seeing the same thing :) | ||
| [2008/07/08 10:57:01] <Volcane> click on apache | ||
| [2008/07/08 10:57:16] <Disconnect> ah. got it. it defaulted to aliases | ||
| [2008/07/08 10:57:22] <Volcane> yeah first one in the list | ||
| [2008/07/08 10:57:28] <Disconnect> that looks nice | ||
| [2008/07/08 10:58:08] <Volcane> its very much like javadoc, comments inline in your modules/classes etc | ||
| [2008/07/08 11:00:03] <Volcane> i still have some junk to sort out, but ok i think this is useful at least | ||
| [2008/07/08 11:02:27] @ aiurea joined channel #puppet | ||
| [2008/07/08 11:02:31] <aiurea> hi | ||
| [2008/07/08 11:02:34] <aiurea> I am trying to debug a puppetmaster configuration | ||
| [2008/07/08 11:02:42] <aiurea> and see if it gets in a certain function | ||
| [2008/07/08 11:02:46] <aiurea> how can I print a message? | ||
| [2008/07/08 11:03:00] <aiurea> so that it's displayed with puppetd --debug --test | ||
| [2008/07/08 11:03:29] <Disconnect> debug ("foo") | ||
| [2008/07/08 11:03:37] <Disconnect> debug("User requested ssh on $fqdn with port '${ssh_port}'" ) | ||
| [2008/07/08 11:05:09] <sknight> hey, is there a way to have the puppetmaster run a syntax check on manifests and just exit, instead of recompiling everything? | ||
| [2008/07/08 11:10:00] @ Quit: docelic: "Departed" | ||
| [2008/07/08 11:10:00] @ Quit: verwilst: "Ex-Chat" | ||
| [2008/07/08 11:11:02] @ martha joined channel #puppet | ||
| [2008/07/08 11:14:17] @ lak joined channel #puppet | ||
| [2008/07/08 11:15:20] <aiurea> hanks | ||
| [2008/07/08 11:16:58] <tim|imac> elcome | ||
| [2008/07/08 11:17:18] <aelizondo> hy s verybody alking ike his? | ||
| [2008/07/08 11:17:38] <tim|imac> o dea | ||
| [2008/07/08 11:17:53] <aiurea> :) | ||
| [2008/07/08 11:18:22] <aelizondo> did everyone see the article that said digg is using/looking to use puppet? | ||
| [2008/07/08 11:19:26] <tim|imac> nope, but it would be among many big names... we have people from hyves in here and the bbc and several other big names | ||
| [2008/07/08 11:20:04] <aiurea> aelizondo, I read it, pretty cool | ||
| [2008/07/08 11:20:55] <aiurea> weird, debug doesn't show anything either in master's /var/log/syslog or clients puppetd --debug --test --once | ||
| [2008/07/08 11:21:01] <aelizondo> any numbers of what the largest installtion might be? | ||
| [2008/07/08 11:21:42] @ exodos joined channel #puppet | ||
| [2008/07/08 11:22:06] <aelizondo> http://www.sysmannews.com/content/article.aspx?ArticleID=32490 for anyone else that wants to read the article | ||
| [2008/07/08 11:26:21] <sknight> can a class include other classes? | ||
| [2008/07/08 11:32:39] <lak> yep | ||
| [2008/07/08 11:33:40] <aiurea> any idea why debug doesn't print anything anywhere? | ||
| [2008/07/08 11:34:31] <lak> aelizondo: digg's been using puppet for a good while, i think; at least one employee there hangs out here a good bit | ||
| [2008/07/08 11:34:51] <lak> aiurea: it definitely works; you sure you're looking on the right machine, and that you've actually got debugging enabled? | ||
| [2008/07/08 11:35:09] @ Quit: penthief: Read error: 113 (No route to host) | ||
| [2008/07/08 11:35:16] <aiurea> yep | ||
| [2008/07/08 11:35:50] <aiurea> I have a default node which sets up some keys in authorized_keys | ||
| [2008/07/08 11:36:06] <aiurea> in that action I have a debug("I'm here") | ||
| [2008/07/08 11:36:33] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/08 11:36:43] <aiurea> I can see part of that action executed, after I'm here but no I'm here message | ||
| [2008/07/08 11:38:18] <lak> that debugging would be on the server | ||
| [2008/07/08 11:38:31] <lak> and the server needs to be running with --debug for it to print | ||
| [2008/07/08 11:38:40] <aiurea> right, I just figured that out, sorry | ||
| [2008/07/08 11:38:47] <aiurea> I was running just the client | ||
| [2008/07/08 11:38:55] <sigmonsays> morning | ||
| [2008/07/08 11:42:14] <sigmonsays> for some reason when my files are created they are created as $owner.$owner even though I set a group | ||
| [2008/07/08 11:42:28] <sigmonsays> in the debug log it says "Autorequiring Group[apache]" -- I imagine that's harmless | ||
| [2008/07/08 11:42:53] @ Demosthenes joined channel #puppet | ||
| [2008/07/08 11:42:54] @ jon__ joined channel #puppet | ||
| [2008/07/08 11:48:59] @ Quit: roald: Remote closed the connection | ||
| [2008/07/08 11:52:43] @ Quit: Londo_: kubrick.freenode.net irc.freenode.net | ||
| [2008/07/08 11:52:44] @ Quit: barnbarn: kubrick.freenode.net irc.freenode.net | ||
| [2008/07/08 11:53:34] @ Quit: markl_: "Lost terminal" | ||
| [2008/07/08 11:53:48] <sigmonsays> ahh I got it. some damn user is running shell scripts :) | ||
| [2008/07/08 11:57:23] @ barnbarn joined channel #puppet | ||
| [2008/07/08 11:58:18] @ Quit: Disconnect: Read error: 60 (Operation timed out) | ||
| [2008/07/08 11:59:46] @ Quit: barnbarn: Killed by sagan.freenode.net (Nick collision) | ||
| [2008/07/08 11:59:47] @ Londo_ joined channel #puppet | ||
| [2008/07/08 11:59:47] @ barnbarn joined channel #puppet | ||
| [2008/07/08 11:59:52] @ Quit: barnbarn: Read error: 113 (No route to host) | ||
| [2008/07/08 12:05:29] @ Quit: mdray: "Leaving" | ||
| [2008/07/08 12:06:05] @ barnbarn joined channel #puppet | ||
| [2008/07/08 12:08:34] @ Quit: kolla: Remote closed the connection | ||
| [2008/07/08 12:10:23] @ Quit: aiurea: "Leaving" | ||
| [2008/07/08 12:11:28] @ penthief joined channel #puppet | ||
| [2008/07/08 12:13:47] <penthief> is there a grammar definition anywhere? | ||
| [2008/07/08 12:16:31] <sigmonsays> "grammer" ? | ||
| [2008/07/08 12:19:43] <penthief> you'd think so wouldn't you. | ||
| [2008/07/08 12:20:46] <penthief> I have a 'require' requirement for fedora 9. I don't want to repeat the entire 'package' declaration, but it seems I can't place a 'case' in an attribute declaration. | ||
| [2008/07/08 12:21:15] <lak> see lib/puppet/parser/grammar.ry | ||
| [2008/07/08 12:21:32] <lak> case statements are statements, not rvalues | ||
| [2008/07/08 12:21:53] <lak> if you want the rvalue-equiv of a case statement, use a selector: $thing => $var ? { val1 => true, val2 => false } | ||
| [2008/07/08 12:23:14] @ Quit: lak: | ||
| [2008/07/08 12:28:26] @ Quit: DerekW: "Leaving" | ||
| [2008/07/08 12:32:46] @ Disconnect joined channel #puppet | ||
| [2008/07/08 12:33:30] @ Disconnect left channel #puppet () | ||
| [2008/07/08 12:33:59] @ f--z joined channel #puppet | ||
| [2008/07/08 12:34:06] @ Disconnect joined channel #puppet | ||
| [2008/07/08 12:45:28] @ plathrop joined channel #puppet | ||
| [2008/07/08 12:53:16] @ keithlard_ joined channel #puppet | ||
| [2008/07/08 12:54:37] @ Quit: kenvandine: Read error: 110 (Connection timed out) | ||
| [2008/07/08 12:54:50] @ Quit: Disconnect: Read error: 110 (Connection timed out) | ||
| [2008/07/08 12:57:48] @ lak joined channel #puppet | ||
| [2008/07/08 13:02:38] @ Quit: keithlard: Read error: 110 (Connection timed out) | ||
| [2008/07/08 13:06:38] @ Quit: pleemans: Read error: 113 (No route to host) | ||
| [2008/07/08 13:06:56] <sknight> so, I'm redoing my node definitions to account for the "common misconceptions" about node inheritance and variable scope | ||
| [2008/07/08 13:07:01] <sknight> unfortunately, it... isn't working | ||
| [2008/07/08 13:07:54] <sknight> I'm assigning a node a variable $srv = 'vbackup', and telling a node to grab the file 'iptables.$srv' (i.e. 'iptables.vbackup'), but it just goes and grabs the old file that it used to be getting | ||
| [2008/07/08 13:08:34] <refuseresisted> maybe your manifest isn't compiling | ||
| [2008/07/08 13:08:57] <sknight> it seems to include the module just fine, according to puppetmasterd --verbose --no-daemonize | ||
| [2008/07/08 13:09:52] <sknight> oh. har. | ||
| [2008/07/08 13:10:00] <sknight> $hostname overrides $srv | ||
| [2008/07/08 13:10:03] <sknight> that'll do it... | ||
| [2008/07/08 13:11:09] <sknight> damn, still no love | ||
| [2008/07/08 13:11:48] @ Quit: andrewcshafer: | ||
| [2008/07/08 13:11:48] @ Quit: LittleIdea: | ||
| [2008/07/08 13:12:02] <sknight> wait, I lied | ||
| [2008/07/08 13:12:03] <sknight> huzzah! | ||
| [2008/07/08 13:12:14] <sknight> serverclass-specific variable goodness is mine! | ||
| [2008/07/08 13:13:20] @ pleemans joined channel #puppet | ||
| [2008/07/08 13:16:34] @ shake-n-bake__ joined channel #puppet | ||
| [2008/07/08 13:18:22] @ Disconnect joined channel #puppet | ||
| [2008/07/08 13:23:41] @ muerr joined channel #puppet | ||
| [2008/07/08 13:27:55] @ andrewcshafer joined channel #puppet | ||
| [2008/07/08 13:27:57] @ LittleIdea joined channel #puppet | ||
| [2008/07/08 13:28:45] @ Quit: muerr: "Leaving" | ||
| [2008/07/08 13:35:17] @ Quit: lak: | ||
| [2008/07/08 13:35:52] @ muerr joined channel #puppet | ||
| [2008/07/08 13:44:34] @ jshare joined channel #puppet | ||
| [2008/07/08 13:45:05] @ jshare left channel #puppet ("Leaving.") | ||
| [2008/07/08 13:48:55] * Volcane is liking his module docs | ||
| [2008/07/08 13:48:58] <Volcane> http://nephilim.ml.org/~rip/modules/ | ||
| [2008/07/08 13:49:02] <Volcane> clikc on apache or iptables | ||
| [2008/07/08 13:49:21] <Volcane> its not quite as easy as rdoc or javadoc, but easy enough so it works in a script | ||
| [2008/07/08 13:51:28] <hacim> Volcane: thats nice, how did you do it? | ||
| [2008/07/08 13:52:30] @ Quit: Disconnect: Read error: 110 (Connection timed out) | ||
| [2008/07/08 13:52:43] <Volcane> hacim: I wrote a custom language defintion thing for http://www.naturaldocs.org/ | ||
| [2008/07/08 13:52:54] <Volcane> hacim: then i put comments in line in all classes/modules etc | ||
| [2008/07/08 13:53:25] <Volcane> hacim: and then have a simple script to just run through each module and condences them all into one file per module, which then gets fed to the doc builder | ||
| [2008/07/08 13:53:39] @ mgarfias joined channel #puppet | ||
| [2008/07/08 13:53:54] @ Quit: madduck: | ||
| [2008/07/08 13:54:41] <hacim> Volcane: I presume you have submitted that custom language def. to naturaldocs? | ||
| [2008/07/08 13:55:06] <Volcane> hacim: http://nephilim.ml.org/~rip/config.pp like thats what is in config.pp in apache omdule | ||
| [2008/07/08 13:55:35] @ madduck joined channel #puppet | ||
| [2008/07/08 13:55:40] <hacim> looks easy enough to write docs | ||
| [2008/07/08 13:55:48] <Volcane> hacim: oh, no. naturaldocs is designed to be a extendable any-language thing, making the language definition is like a handfull of lines in a config file | ||
| [2008/07/08 13:55:49] @ Disconnect joined channel #puppet | ||
| [2008/07/08 13:56:34] <martha> hmm, where is the link to facter now? | ||
| [2008/07/08 13:57:54] <Volcane> hacim: I'll pimp it a bit here, if enough ppl seem keen I'll put up how i did it somewhere | ||
| [2008/07/08 13:57:58] @ lak joined channel #puppet | ||
| [2008/07/08 13:58:05] <Volcane> hacim: and if i am actually happy with how it works | ||
| [2008/07/08 13:58:37] <Volcane> which for now i am, just wish i could make it put in stub doc bits for classes that i didnt write docs for | ||
| [2008/07/08 14:00:27] <thom> Volcane: i'd like to see; | ||
| [2008/07/08 14:00:34] @ \ask_ joined channel #puppet | ||
| [2008/07/08 14:00:48] <Volcane> lak: http://nephilim.ml.org/~rip/modules/ | ||
| [2008/07/08 14:00:53] <thom> i've been trying to come up with a doc standard internally so given that you appear to have a viable one... | ||
| [2008/07/08 14:01:15] <Volcane> ok, let me clean it up a bit more and I'll make a wiki page | ||
| [2008/07/08 14:01:16] <lak> cool | ||
| [2008/07/08 14:01:18] <lak> how's it work? | ||
| [2008/07/08 14:01:27] <Volcane> lak: http://nephilim.ml.org/~rip/config.pp | ||
| [2008/07/08 14:01:49] <Volcane> lak: unfortunately - eventhough naturaldocs should support it - I am still trying to make it produce stub docs for classes/defines I didnt specifically document | ||
| [2008/07/08 14:01:59] <lak> it wouldn't be too hard to extend the parser to support this in the parser | ||
| [2008/07/08 14:02:23] <Volcane> I'd prefer to write docs in rdoc | ||
| [2008/07/08 14:02:27] <lak> all we'd need to do is keep track of comments in a way that allowed each parsed entity (at least, classes, resources, etc.) to store the previous comment as their docs | ||
| [2008/07/08 14:02:28] <Volcane> but i wouldnt know where to start to enable that | ||
| [2008/07/08 14:02:36] <lak> then you just extract those docs elsewhere | ||
| [2008/07/08 14:02:54] <lak> i'm willing to help, if you're interested | ||
| [2008/07/08 14:03:30] <Volcane> I'll need to poke around puppet internals a lot first to get a feel for it, not looked at puppet source at all | ||
| [2008/07/08 14:03:35] <Volcane> been busy learning ruby first | ||
| [2008/07/08 14:06:48] <Volcane> it would be ideal if there were some manifest documentation tool tied to puppet | ||
| [2008/07/08 14:06:58] <Volcane> rather than invest a tonof time writing docs for $random_doc_parser | ||
| [2008/07/08 14:07:08] <Volcane> only to then have that project get abandoned and having to redo it all | ||
| [2008/07/08 14:07:17] <Volcane> so probably best to try and make a plan with the puppet parser | ||
| [2008/07/08 14:08:01] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/08 14:14:09] @ cote joined channel #puppet | ||
| [2008/07/08 14:22:28] <Disconnect> puppetdoc? | ||
| [2008/07/08 14:22:31] @ Quit: lak: | ||
| [2008/07/08 14:25:15] <zirpu> has anyone written an rst parser for redmine? | ||
| [2008/07/08 14:27:25] @ Quit: jbrothers: "Leaving." | ||
| [2008/07/08 14:30:47] <Volcane> Disconnect: yeah | ||
| [2008/07/08 14:31:02] <Volcane> Disconnect: but like lak says the parser needs to be extended to keep the comments | ||
| [2008/07/08 14:31:32] @ shadoi joined channel #puppet | ||
| [2008/07/08 14:33:57] @ Quit: keithlard_: | ||
| [2008/07/08 14:34:45] @ jbrothers joined channel #puppet | ||
| [2008/07/08 14:35:47] @ jbrothers left channel #puppet () | ||
| [2008/07/08 14:35:54] @ Quit: shadoi: Client Quit | ||
| [2008/07/08 14:38:52] <benp-> Volcane: thats really cool | ||
| [2008/07/08 14:40:13] @ randybias joined channel #puppet | ||
| [2008/07/08 14:47:02] @ kenvandine joined channel #puppet | ||
| [2008/07/08 14:47:30] @ lak joined channel #puppet | ||
| [2008/07/08 14:49:00] @ Quit: randybias: | ||
| [2008/07/08 14:49:16] @ randybias joined channel #puppet | ||
| [2008/07/08 14:58:06] <chadh> So I was thinking that it would be really nice if the file resource would bail if there was a "content => generate(...)", and the generate returned a non-zero return code | ||
| [2008/07/08 14:58:24] <chadh> but I think lak said that was hard | ||
| [2008/07/08 14:59:05] <lak> no | ||
| [2008/07/08 14:59:07] <lak> that should be easy | ||
| [2008/07/08 14:59:22] <lak> just check $? after executing, and raise a parse error if it's nonzero | ||
| [2008/07/08 15:00:09] <chadh> it doesn't do that now, though, right? | ||
| [2008/07/08 15:00:49] <chadh> I find myself generating the contents of a temp file, and then exec'ing a script to merge it into live after making sure it is valid | ||
| [2008/07/08 15:00:55] <chadh> which seems ... not ideal | ||
| [2008/07/08 15:01:05] <lak> it probably doesn't, but i don't specifically remember | ||
| [2008/07/08 15:10:32] @ madduck left channel #puppet () | ||
| [2008/07/08 15:13:27] <fastjay> anyone here have a QA env setup for puppet? | ||
| [2008/07/08 15:13:42] <fastjay> wondering the best way to do that.. i would rather blow up my QA env before blowing up production :) | ||
| [2008/07/08 15:14:37] @ aymerick_ joined channel #puppet | ||
| [2008/07/08 15:14:45] <plathrop> fastjay: Bah! Do it live! | ||
| [2008/07/08 15:14:50] <fastjay> no | ||
| [2008/07/08 15:14:51] <fastjay> ;) | ||
| [2008/07/08 15:15:11] <fastjay> i can do like.. named config file checks.. and things like that on the puppetmaster | ||
| [2008/07/08 15:15:21] <fastjay> but I would prefer to actually roll to a QA env and what not. | ||
| [2008/07/08 15:15:32] <fastjay> I would rather not take the website down with a typo :) | ||
| [2008/07/08 15:15:40] @ aymerick__ joined channel #puppet | ||
| [2008/07/08 15:15:41] @ Quit: aymerick_: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 15:15:48] <fastjay> i would think other people are doing something like this in large env's :) | ||
| [2008/07/08 15:17:35] <plathrop> My QA is all-manual. | ||
| [2008/07/08 15:18:42] <spike> fastjay: the way we used to do it was with xen based virtual replica of the live environment | ||
| [2008/07/08 15:19:05] <spike> the you use puppet environment to deploy to one or the other and manage the config diffs that testing env requires | ||
| [2008/07/08 15:20:17] <Volcane> fastjay: use modules, use environments | ||
| [2008/07/08 15:20:46] @ wfp joined channel #puppet | ||
| [2008/07/08 15:20:47] <Volcane> fastjay: if you have like a common/modules dir and then development/modules and production/modules | ||
| [2008/07/08 15:21:25] <Volcane> fastjay: with moduledirs in each environment for say production/modules,common/modules then to work on a module in dev, simply copy it to development/modules/blah where it will override the common one | ||
| [2008/07/08 15:21:37] <Volcane> fastjay: when done, copy back to common or whatever so everyone gets the same one | ||
| [2008/07/08 15:22:28] <Volcane> fastjay: this works well with svn/cvs/whatever branches, so i branch my whatever module into development, work on it, merge back to common and discard the dev stuff when done | ||
| [2008/07/08 15:22:55] <spike> Volcane: that doesnt answer how you actually do the testing tho, only how you keep separate one environment form the other. his problem is your "when done" as far as I understand his question | ||
| [2008/07/08 15:23:45] @ wfp left channel #puppet ("Leaving") | ||
| [2008/07/08 15:23:47] <Volcane> spike: oh i see, well thats entirely unrelated to puppet then :) | ||
| [2008/07/08 15:24:04] <spike> heh | ||
| [2008/07/08 15:25:08] <Volcane> OT but most of you probably care: http://securosis.com/2008/07/08/dan-kaminsky-discovers-fundamental-issue-in-dns-massive-multivendor-patch-released/ | ||
| [2008/07/08 15:26:49] @ Quit: sknight: Read error: 110 (Connection timed out) | ||
| [2008/07/08 15:28:57] @ shadoi joined channel #puppet | ||
| [2008/07/08 15:30:26] @ Quit: aymerick: Read error: 110 (Connection timed out) | ||
| [2008/07/08 15:31:55] <spike> and it's not a re-print of something he wrote 4 yrs ago, right? :) | ||
| [2008/07/08 15:32:05] <Volcane> its new | ||
| [2008/07/08 15:32:15] <Volcane> many vendors are releasing bind updates today | ||
| [2008/07/08 15:32:42] @ Quit: lak: Read error: 110 (Connection timed out) | ||
| [2008/07/08 15:33:09] @ lak joined channel #puppet | ||
| [2008/07/08 15:33:25] * spike expects to find somewhere "except openBSD" | ||
| [2008/07/08 15:33:25] <refuseresisted> d'oh | ||
| [2008/07/08 15:33:28] * spike giggles | ||
| [2008/07/08 15:33:41] <refuseresisted> says it's a protocol issue | ||
| [2008/07/08 15:33:50] <Volcane> yip, not a bind issue | ||
| [2008/07/08 15:34:07] <refuseresisted> trust me, i was just about to say "glad i'm running tinydns" | ||
| [2008/07/08 15:34:29] <Volcane> unless you properly randomize the udp ports its easier than it should be to poison caches | ||
| [2008/07/08 15:35:51] @ Quit: shadoi: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 15:36:53] @ shadoi joined channel #puppet | ||
| [2008/07/08 15:36:54] <refuseresisted> does anyone manage autofs with puppet? | ||
| [2008/07/08 15:37:18] <refuseresisted> it doesn't seem to like my autofs init script in centos 5 | ||
| [2008/07/08 15:40:44] <RainDoctor> another bind patch, hehe | ||
| [2008/07/08 15:41:09] @ Quit: meandtheshell: Read error: 110 (Connection timed out) | ||
| [2008/07/08 15:41:13] <Disconnect> RainDoctor: thats the point, its another -everything- patch. supposedly. | ||
| [2008/07/08 15:42:13] @ shadoi_ joined channel #puppet | ||
| [2008/07/08 15:43:43] <spike> lol "Error establishing a database connection" from doxpara :) | ||
| [2008/07/08 15:44:00] @ jason^_ is now known as jason^ | ||
| [2008/07/08 15:48:30] <RainDoctor> heh | ||
| [2008/07/08 15:48:37] <RainDoctor> too many connecciones | ||
| [2008/07/08 15:48:50] @ Quit: kenvandine: Read error: 110 (Connection timed out) | ||
| [2008/07/08 15:50:00] <chadh> refuseresisted: did you try "hasrestart=> true"? | ||
| [2008/07/08 15:50:48] <refuseresisted> chadh, no but every one of my other Services uses the same format with no issues. i'll try it though | ||
| [2008/07/08 15:51:02] <refuseresisted> it seems unable to determine that autofs is actually running | ||
| [2008/07/08 15:51:14] <chadh> refuseresisted: I think it does stop; start if you don't specify that, so I guess it should be okay | ||
| [2008/07/08 15:51:31] <chadh> refuseresisted: so it always tries to restart it? | ||
| [2008/07/08 15:52:16] <Volcane> refuseresisted: by default it just checks the ps tree for a program maching the service name | ||
| [2008/07/08 15:52:27] <chadh> heh | ||
| [2008/07/08 15:52:29] <refuseresisted> chadh, yep - (//Node[basenode]/autofs/Service[autofs]/ensure) change from stopped to running failed: Could not start Service[autofs]: Execution of '/etc/init.d/autofs start' returned 256 | ||
| [2008/07/08 15:52:41] <Volcane> refuseresisted: so if that isnt tue, you'll need to tell it what to do to check things are alive etc | ||
| [2008/07/08 15:54:06] <chadh> refuseresisted: yeah, volcane's probably got it. autofs is the service, but automount is the process | ||
| [2008/07/08 15:54:48] <refuseresisted> Volcane, hm i was under the impression that redhat used the init script status by default. i did add "hasstatus => true" but my notifies stopped working then | ||
| [2008/07/08 15:56:06] <Volcane> hasstatus should sort you out then | ||
| [2008/07/08 15:56:16] <Volcane> assumine the scripts status command isnt b/s | ||
| [2008/07/08 15:56:30] <Volcane> you could try work around that with pattern though | ||
| [2008/07/08 15:59:40] <refuseresisted> sigh, now hasstatus => true works. i guess that's what i get for trying to work at 3am :( thanks | ||
| [2008/07/08 15:59:47] <Volcane> :) | ||
| [2008/07/08 16:01:30] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/07/08 16:06:58] @ gileswork joined channel #puppet | ||
| [2008/07/08 16:13:30] @ f--z joined channel #puppet | ||
| [2008/07/08 16:14:06] @ Quit: emerose_: | ||
| [2008/07/08 16:15:14] @ kenvandine joined channel #puppet | ||
| [2008/07/08 16:16:42] @ Quit: shadoi_: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 16:17:48] @ Quit: jvanzyl: | ||
| [2008/07/08 16:18:37] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/08 16:22:01] @ f--z joined channel #puppet | ||
| [2008/07/08 16:23:09] @ Quit: randybias: | ||
| [2008/07/08 16:29:14] <hacim> can a case occur twice? for example case $hostname { "foo", "bar": { whatever } "foo": { something else } } ? | ||
| [2008/07/08 16:29:32] <hacim> or will puppet stop evaluating the cases on foo once it found the first one? | ||
| [2008/07/08 16:29:43] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/" | ||
| [2008/07/08 16:30:09] <Volcane> hacim: so if it worked how you wanted, what would be the desired outcome of that? | ||
| [2008/07/08 16:31:22] <hacim> Volcane: i would want "whatever" applied on "foo" and "bar", but only "something else" done on "foo" | ||
| [2008/07/08 16:31:52] <Volcane> so foo would get both? | ||
| [2008/07/08 16:31:58] <hacim> yes | ||
| [2008/07/08 16:32:01] <gileswork> elo all | ||
| [2008/07/08 16:32:15] <gileswork> is that chap that wrote the mkpasswd function about? | ||
| [2008/07/08 16:32:25] <Volcane> hacim: hmm, doesnt work that way | ||
| [2008/07/08 16:32:29] <Volcane> gileswork: "fujin" | ||
| [2008/07/08 16:32:41] <gileswork> ah cheers | ||
| [2008/07/08 16:32:48] <hacim> Volcane: so it will stop processing then | ||
| [2008/07/08 16:33:21] <Volcane> hacim: yeah well it seems obvious that it would, i think most languages does that | ||
| [2008/07/08 16:33:49] <hacim> i thought so too, I just wanted to check that what I thought was obvious, others did too | ||
| [2008/07/08 16:34:02] <Volcane> hacim: hehe | ||
| [2008/07/08 16:35:36] <Disconnect> hacim: remember, this is a language that can't even do "if $hostname is not foo" :) | ||
| [2008/07/08 16:36:22] * Disconnect is off now though. (for the record, puppet does -not- like ldap users. not "dislike" like "won't operate on them" but does not like as in "keeps hanging and crashing unless it finds itself in the various /etc/ files...") | ||
| [2008/07/08 16:37:01] <Disconnect> turns out the /etc/group had been updated (removing non-local common groups.. like puppet...) and thats what was causing my crashes this morning and last night. | ||
| [2008/07/08 16:39:23] @ shadoi joined channel #puppet | ||
| [2008/07/08 16:40:09] <mmcgrath> whats the easiest way to do a quick syntax check of all of the manifests / modules / templates on a puppetmaster? | ||
| [2008/07/08 16:44:20] <mmcgrath> nm, found it --parseonly seems to work | ||
| [2008/07/08 16:46:47] @ pjw joined channel #puppet | ||
| [2008/07/08 16:52:44] <Volcane> yeah its not 100% though | ||
| [2008/07/08 16:52:48] <Volcane> it just checks syntax | ||
| [2008/07/08 16:52:56] <Volcane> doesnt check that all things required were defined etc afaik | ||
| [2008/07/08 16:53:10] <mmcgrath> Volcane: is there a better way? I'm working on a pre-commit script that refuses commits that break puppet. | ||
| [2008/07/08 16:53:39] <Volcane> nah thats about as good as it comes | ||
| [2008/07/08 16:55:30] <sigmonsays> So i'm still tossing around a way to mkdir -p with file { } resources | ||
| [2008/07/08 16:55:54] <sigmonsays> does it make sense to use a define that counts the number of / and creates a file { } resource for each path component? | ||
| [2008/07/08 17:00:49] @ randybias joined channel #puppet | ||
| [2008/07/08 17:02:01] @ Quit: kambiz: "Leaving" | ||
| [2008/07/08 17:03:18] @ shenson is now known as shenson_not_here | ||
| [2008/07/08 17:07:14] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/07/08 17:13:16] @ Quit: aymerick__: | ||
| [2008/07/08 17:16:29] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/07/08 17:23:00] @ emerose joined channel #puppet | ||
| [2008/07/08 17:29:14] @ meandtheshell joined channel #puppet | ||
| [2008/07/08 17:39:04] @ Quit: jbooth: "leaving" | ||
| [2008/07/08 17:39:12] <martha> so, I have a function that sets up database access for remote clients. I also want to use this list of clients in a template to set up the firewall access (on the same db server). is there a way to do that? maybe with export? | ||
| [2008/07/08 17:39:51] <Volcane> martha: the holy grail | ||
| [2008/07/08 17:39:59] <Volcane> thats what you're describing | ||
| [2008/07/08 17:40:11] <Volcane> iclassify :( | ||
| [2008/07/08 17:40:47] @ Quit: meandtheshell: "Leaving." | ||
| [2008/07/08 17:42:28] <refuseresisted> martha, you could probably use storeconfigs and exported resources to generate a collection | ||
| [2008/07/08 17:43:16] <martha> refuseresisted: that what I think, but I don't want to create puppet objects with this, just an array | ||
| [2008/07/08 17:43:37] <refuseresisted> martha, then pass the array to both of your defines | ||
| [2008/07/08 17:44:17] <martha> the first define doesn't have all of the clients, each one is in a separate define | ||
| [2008/07/08 17:44:34] @ spheromak_ joined channel #puppet | ||
| [2008/07/08 17:45:21] <martha> Volcane: can iclassify really do this? if so, it might be a reason to actually look at it, which I haven't found yet | ||
| [2008/07/08 17:45:57] <thom> i don't understand what iclassify is supposed to do for me tbh | ||
| [2008/07/08 17:46:20] <martha> thom: yeah, me either | ||
| [2008/07/08 17:47:45] @ Quit: spheromak: Read error: 60 (Operation timed out) | ||
| [2008/07/08 17:47:46] <Volcane> martha: you can tag all your hosts with something, then in templates query iclassify for names of hosts that has a certain tag | ||
| [2008/07/08 17:47:50] <Volcane> martha: though I've not tried it | ||
| [2008/07/08 17:48:40] <martha> that's not really what I want to do | ||
| [2008/07/08 17:48:47] <Volcane> ah | ||
| [2008/07/08 17:49:02] <martha> I have a bunch of classes on the db server | ||
| [2008/07/08 17:49:10] <Volcane> its too late here to think str8 :) | ||
| [2008/07/08 17:49:18] <martha> each has one or more db+username+clientaddr | ||
| [2008/07/08 17:49:44] <martha> I want to use the clientaddrs in a template in the fw class | ||
| [2008/07/08 17:50:09] <refuseresisted> have your db class create the firewall rule | ||
| [2008/07/08 17:50:22] @ Quit: stillbourne: Read error: 113 (No route to host) | ||
| [2008/07/08 17:51:06] * Volcane has his module doc thing working sweet now | ||
| [2008/07/08 17:52:49] @ Quit: randybias: | ||
| [2008/07/08 18:05:06] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/07/08 18:09:11] @ Quit: emerose: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 18:11:25] @ Quit: ezralini: | ||
| [2008/07/08 18:13:22] @ nDuff joined channel #puppet | ||
| [2008/07/08 18:13:44] @ keithlard joined channel #puppet | ||
| [2008/07/08 18:13:54] @ Quit: keithlard: Remote closed the connection | ||
| [2008/07/08 18:16:54] <mmcgrath> I'm trying to make an easy way to test changes before they're pushed and I've got a copy of manifests and config files on a local machine... | ||
| [2008/07/08 18:17:16] <mmcgrath> The configs work fine when the puppet node is contacting a puppet master. but when running locally against site.pp I get - | ||
| [2008/07/08 18:17:20] <mmcgrath> Failed to retrieve currentstate of resource: Fileserver module 'config' not mounted | ||
| [2008/07/08 18:17:37] <mmcgrath> is there any way to say "hey, config is in this dir, grab it there" ? | ||
| [2008/07/08 18:19:27] <refuseresisted> add it to your fileserver config | ||
| [2008/07/08 18:19:43] <mmcgrath> I'm not using a fileserver when testing though | ||
| [2008/07/08 18:20:15] <mmcgrath> I've literally rsynced configs/ manifests remotehost: and am now on that host and running "puppet --noop site.pp" | ||
| [2008/07/08 18:20:28] <mmcgrath> probably just need to add multiple sources. | ||
| [2008/07/08 18:30:00] <nDuff> 'foo => file("puppet:///mymodule/filename")' doesn't appear to work; is there an alternate approach for places where source=> isn't applicable? | ||
| [2008/07/08 18:30:50] <Volcane> mmcgrath: seriously dude, set up an environment on your master and just run your test in that | ||
| [2008/07/08 18:31:11] <Volcane> mmcgrath: that lets you split classes, modules etc so only your dev box gets new ones | ||
| [2008/07/08 18:32:22] <mmcgrath> Volcane: setup a master for every user who wants to test changes before they push them? | ||
| [2008/07/08 18:32:29] * mmcgrath wishes :) | ||
| [2008/07/08 18:33:07] <Volcane> mmcgrath: no, set up an environment puppetdev or somesuch and let them put their desktops/vm's into that environment to test | ||
| [2008/07/08 18:33:25] <Volcane> but yeh, have seen people with tons of environments, for each dev | ||
| [2008/07/08 18:33:28] <mmcgrath> how can they test what changes will go out, without access to the current state of that box? | ||
| [2008/07/08 18:33:34] <Volcane> not a fan of that though | ||
| [2008/07/08 18:33:49] <Volcane> mmcgrath: theres a --noop option that u can run on the box | ||
| [2008/07/08 18:33:54] <Volcane> and it will show you | ||
| [2008/07/08 18:34:02] <mmcgrath> so you're saying, make the change, then test. I'm saying test, then change. | ||
| [2008/07/08 18:34:34] <Volcane> nods, well without another box thats in the same state to test on first, I'd say you're out of luck | ||
| [2008/07/08 18:34:43] <mmcgrath> thats what I'm trying to get working. | ||
| [2008/07/08 18:34:56] <Volcane> machines are totally built with puppet? | ||
| [2008/07/08 18:35:00] <mmcgrath> yep | ||
| [2008/07/08 18:35:11] <Volcane> then it cant be hard to build a new one? | ||
| [2008/07/08 18:35:28] <Volcane> like well most places have a dev/qa environment | ||
| [2008/07/08 18:35:30] <mmcgrath> you've made the assumption that I'm in command of a test environment for all of our production machines which just osn't the case. | ||
| [2008/07/08 18:35:32] <Volcane> with instances of each type of prod box | ||
| [2008/07/08 18:35:44] <mmcgrath> -ENOFUNDS | ||
| [2008/07/08 18:36:06] <Volcane> nods, well then I'd say you lack the basic building blocks | ||
| [2008/07/08 18:36:21] <mmcgrath> and yet still have a job to do. | ||
| [2008/07/08 18:36:26] <Volcane> nods | ||
| [2008/07/08 18:36:28] <mmcgrath> and so I go back to testing rsync I guess. | ||
| [2008/07/08 18:36:41] <Volcane> you could still do with environments though :) | ||
| [2008/07/08 18:36:47] <Volcane> make change in a branch | ||
| [2008/07/08 18:36:51] <Volcane> log into the prod box | ||
| [2008/07/08 18:37:01] <Volcane> puppetd --test --noop --environment=development | ||
| [2008/07/08 18:37:07] <mmcgrath> ahhh bingo. | ||
| [2008/07/08 18:37:08] <Volcane> if it doesnt screw it all up | ||
| [2008/07/08 18:37:14] <Volcane> merge change back to production environment | ||
| [2008/07/08 18:37:16] <Volcane> and let it go out | ||
| [2008/07/08 18:37:21] <mmcgrath> thats a piece that was missing in my puppet knowledge. I'll read up. | ||
| [2008/07/08 18:37:38] <mmcgrath> Volcane: thanks. | ||
| [2008/07/08 18:37:53] <Volcane> some caveats with environments, like fileservers cant be just made to be environment aware though | ||
| [2008/07/08 18:37:57] <martha> mmcgrath: I set up virtual machines and test that way | ||
| [2008/07/08 18:38:04] <Volcane> if all yo uhave is modules and all files go out via modules then its sweet++ | ||
| [2008/07/08 18:39:04] <Volcane> ofcourse you could if you had the patience put in overrides in all your source => bits to pull the files from environment specific dirs | ||
| [2008/07/08 18:39:04] @ Quit: exodos: "Lost terminal" | ||
| [2008/07/08 18:39:06] <Volcane> which is what ppl do | ||
| [2008/07/08 18:39:51] <mmcgrath> hmm, k | ||
| [2008/07/08 18:40:05] <Volcane> $environment is the current environment your box is in | ||
| [2008/07/08 18:40:14] <Volcane> development by default | ||
| [2008/07/08 18:41:02] @ Quit: pjw: | ||
| [2008/07/08 18:41:26] @ MrProper__ joined channel #puppet | ||
| [2008/07/08 18:43:06] <sigmonsays> is there a time resource? | ||
| [2008/07/08 18:43:12] <sigmonsays> something to manage /etc/localtime | ||
| [2008/07/08 18:43:14] <Volcane> to set the time? | ||
| [2008/07/08 18:43:15] <Volcane> ah | ||
| [2008/07/08 18:43:18] @ Quit: muerr: Read error: 113 (No route to host) | ||
| [2008/07/08 18:43:31] <sigmonsays> i guess I can copy it from somewhere but I am not really sure if that works! | ||
| [2008/07/08 18:43:41] @ muerr joined channel #puppet | ||
| [2008/07/08 18:43:48] * muerr is gone. Gone since Tue Jul 8 12:08:00 2008 | ||
| [2008/07/08 18:43:50] <Volcane> no, i just have a class time::london { } with a file resource in it to ensure the right link gets set for london time | ||
| [2008/07/08 18:44:10] <sigmonsays> ah, mines not a symlink | ||
| [2008/07/08 18:45:03] <Volcane> redhat? | ||
| [2008/07/08 18:45:53] <sigmonsays> yup | ||
| [2008/07/08 18:46:14] <sigmonsays> I haev system-config-time | ||
| [2008/07/08 18:46:53] <Volcane> http://nephilim.ml.org/~rip/utc.pp | ||
| [2008/07/08 18:46:58] <kjetilho> the downside to making it a copy is that an upgrade to your timezone definitions won't get picked up. | ||
| [2008/07/08 18:47:12] <kjetilho> luckily changes are rare in Europe ... | ||
| [2008/07/08 18:47:31] <refuseresisted> http://pastebin.com/d490a9b95 | ||
| [2008/07/08 18:47:35] <Volcane> kjetilho: redhat installer copies it by default yeah a bit lame | ||
| [2008/07/08 18:47:37] <refuseresisted> sigmonsays, try that | ||
| [2008/07/08 18:48:11] <Volcane> refuseresisted: if u have ntp, u need to update the other file as per my link | ||
| [2008/07/08 18:48:47] <refuseresisted> sure | ||
| [2008/07/08 18:49:42] <refuseresisted> i would make a define though instead of a class, in case you have machines in other TZs | ||
| [2008/07/08 18:50:03] <Volcane> nods | ||
| [2008/07/08 18:50:10] <Volcane> all mines on utc so no biggie | ||
| [2008/07/08 18:50:21] <refuseresisted> lucky ;P | ||
| [2008/07/08 18:50:28] <Volcane> their bioses though seem to be random, bastard things | ||
| [2008/07/08 18:50:43] <thom> servers should always be UTC </religious-war> | ||
| [2008/07/08 18:50:48] <refuseresisted> yeah we fix BIOS time when a machine is kickstarted otherwise shit gets FUBARed | ||
| [2008/07/08 18:50:48] <thom> :) | ||
| [2008/07/08 18:51:04] <refuseresisted> thom, our developers in israel would probably appreciate that | ||
| [2008/07/08 18:51:17] <refuseresisted> unfortunately they don't run the machines (luckily...) | ||
| [2008/07/08 18:51:30] * Volcane manages machines all over the world, would go insane if they all were on localtime | ||
| [2008/07/08 18:51:44] <refuseresisted> nah | ||
| [2008/07/08 18:52:30] <martha> localtime works fine for me, also with machines all over the world (including israel) | ||
| [2008/07/08 18:52:37] <kjetilho> Volcane: I think you're viewpoint is skewed by living in UTC most of the year ... | ||
| [2008/07/08 18:52:58] <Volcane> kjetilho: I've only recently lived in utc | ||
| [2008/07/08 18:53:36] <Volcane> kjetilho: but have always liked machines in utc :) | ||
| [2008/07/08 18:53:51] <Volcane> anyway, like thom says, religeious war | ||
| [2008/07/08 18:53:57] <Volcane> too tired for that now :) | ||
| [2008/07/08 18:54:07] <kjetilho> I must admit the servers I had in Sri Lanka always threw me for a loop (they have a 6.5 hour offset) | ||
| [2008/07/08 18:54:19] <sigmonsays> cheers refuseresisted | ||
| [2008/07/08 18:54:47] <sigmonsays> if /etc/localtime is a symlink | ||
| [2008/07/08 18:54:53] <Volcane> kjetilho: yeah, my shell prompts include the time on the right hand side and i look at it all the time without even thinking | ||
| [2008/07/08 18:54:54] <sigmonsays> will force => true overwrite it? | ||
| [2008/07/08 18:55:15] <Volcane> sigmonsays: doubt you even need to force it | ||
| [2008/07/08 18:55:53] <sigmonsays> ahh ok coolness | ||
| [2008/07/08 18:58:25] @ patobrien joined channel #puppet | ||
| [2008/07/08 18:58:52] <hMz> why hello pat | ||
| [2008/07/08 18:58:58] <patobrien> hi | ||
| [2008/07/08 18:59:13] <sigmonsays> man I love that feeling that puppet is going to work from a fresh install | ||
| [2008/07/08 18:59:26] <hMz> it's more than a feeling, its a reality | ||
| [2008/07/08 18:59:26] <hMz> : | ||
| [2008/07/08 18:59:27] <hMz> er :P | ||
| [2008/07/08 19:03:35] <MrProper__> mornin all | ||
| [2008/07/08 19:04:39] <MrProper__> sigmonsays, we just finished setting up a pxe server with preseeding to install puppet from bootstrap so theres no manual setup on the machine apart from hostname and partitions | ||
| [2008/07/08 19:04:46] @ Quit: spheromak_: | ||
| [2008/07/08 19:05:44] @ spheromak joined channel #puppet | ||
| [2008/07/08 19:10:18] <Volcane> MrProper__: how do you do the first run and sign certs etc? | ||
| [2008/07/08 19:10:48] @ pjw joined channel #puppet | ||
| [2008/07/08 19:13:26] <thom> we autosign certs | ||
| [2008/07/08 19:13:41] <thom> first run is the same as the second..n runs :) | ||
| [2008/07/08 19:14:12] * Volcane found it nearly impossible to get hte dependency tree right ot run all in one go | ||
| [2008/07/08 19:14:28] <patobrien> so did we | ||
| [2008/07/08 19:14:48] <Volcane> biggest hassle was packages, etc | ||
| [2008/07/08 19:15:01] <Volcane> so i have a small environment for bootstrapping, sets up yum, facts etc | ||
| [2008/07/08 19:15:07] <Volcane> then 2nd run does the big work | ||
| [2008/07/08 19:16:22] @ Quit: muerr: Read error: 60 (Operation timed out) | ||
| [2008/07/08 19:19:08] @ emerose joined channel #puppet | ||
| [2008/07/08 19:21:52] @ Quit: lak: | ||
| [2008/07/08 19:23:51] <MrProper__> Volcane, either autosign or manually sign on the puppetmaster | ||
| [2008/07/08 19:24:02] <MrProper__> then the next run starts everything or a puppetrun call | ||
| [2008/07/08 19:24:56] <Volcane> kewl | ||
| [2008/07/08 19:25:13] <sigmonsays> MrProper_, pretty sweet | ||
| [2008/07/08 19:31:18] <sigmonsays> so you actually have a master that runs "provisioning?" | ||
| [2008/07/08 19:31:50] <sigmonsays> bootstrapping is a interesting topic. what can be bootstrapped and what can't | ||
| [2008/07/08 19:32:00] <sigmonsays> can't == shouldn't | ||
| [2008/07/08 19:33:28] @ muerr joined channel #puppet | ||
| [2008/07/08 19:33:33] * muerr is gone. Gone since Tue Jul 8 12:08:00 2008 | ||
| [2008/07/08 19:35:18] <ashp> I copied volcane and made a bootstrap environment | ||
| [2008/07/08 19:35:30] <refuseresisted> just have your kickstart post install script generate a certificate and put it on the client after installing puppet | ||
| [2008/07/08 19:35:31] <ashp> Once the feature to add global dependencies to types exist, I'll remove it | ||
| [2008/07/08 19:35:43] <refuseresisted> then you don't have to worry about signing | ||
| [2008/07/08 19:36:13] @ Quit: emerose: | ||
| [2008/07/08 19:36:26] <Volcane> ashp: http://nephilim.ml.org/~rip/modules/ | ||
| [2008/07/08 19:37:03] <Volcane> ashp: click apache | ||
| [2008/07/08 19:37:22] <ashp> nice, natural docs sounds awesome | ||
| [2008/07/08 19:37:23] <refuseresisted> is that all you manage under puppet, Volcane ? | ||
| [2008/07/08 19:37:42] <Volcane> refuseresisted: no, its all i am putting up as a sample of my docs :) | ||
| [2008/07/08 19:37:48] <refuseresisted> ok, phew | ||
| [2008/07/08 19:38:03] <ashp> I think I need to look into natural docs, I like this | ||
| [2008/07/08 19:38:07] @ emerose joined channel #puppet | ||
| [2008/07/08 19:38:10] <Volcane> % find . -type f | xargs grep class|wc -l | ||
| [2008/07/08 19:38:10] <Volcane> 698 | ||
| [2008/07/08 19:39:00] <Volcane> ashp: http://nephilim.ml.org/~rip/config.pp thats more or less how it looks in source | ||
| [2008/07/08 19:39:01] <refuseresisted> how many defines ya got | ||
| [2008/07/08 19:39:54] <Volcane> ah i lie, /2 that number | ||
| [2008/07/08 19:39:57] <ashp> ah, so natural docs pulls out #'s and builds the docs? | ||
| [2008/07/08 19:40:07] <Volcane> 40 defines | ||
| [2008/07/08 19:40:09] <Volcane> ashp: indeed | ||
| [2008/07/08 19:40:14] <ashp> I like that | ||
| [2008/07/08 19:40:25] <Volcane> refuseresisted: this is not a big system though, one sysadmin etc | ||
| [2008/07/08 19:40:28] <refuseresisted> i see | ||
| [2008/07/08 19:40:36] @ refuseresisted left channel #puppet ("Leaving") | ||
| [2008/07/08 19:40:43] @ refuseresisted joined channel #puppet | ||
| [2008/07/08 19:40:44] <refuseresisted> whoops | ||
| [2008/07/08 19:40:59] <refuseresisted> 302 instances of "class" and 242 instances of "define" here | ||
| [2008/07/08 19:41:14] <Volcane> thats a lot of defines | ||
| [2008/07/08 19:41:15] <refuseresisted> but i'm not really managing apache, yet | ||
| [2008/07/08 19:41:46] <Volcane> last big site i was on were massive amounts of classes, only a handful of defines | ||
| [2008/07/08 19:42:09] <refuseresisted> d'oh | ||
| [2008/07/08 19:42:13] <ashp> I have 3 defines, I think! | ||
| [2008/07/08 19:42:23] <ashp> I need to convert more modules to use them, but I haven't had a chance yet | ||
| [2008/07/08 19:42:26] <refuseresisted> defines rule | ||
| [2008/07/08 19:42:46] <ashp> my original build out relied on modules/classes only, i only had a single define | ||
| [2008/07/08 19:42:53] <ashp> and since then i've only added two, one to do nfs mounts | ||
| [2008/07/08 19:43:00] <ashp> and the other for my bootstrap environment | ||
| [2008/07/08 19:43:06] <patobrien> most of my stuff is modules/classes | ||
| [2008/07/08 19:43:21] <Volcane> other site, 250 classes, 3 defines | ||
| [2008/07/08 19:44:14] <Volcane> not much apache there though | ||
| [2008/07/08 19:44:38] <Volcane> 1 vhost, their app does internal routing etc of traffic to the right place | ||
| [2008/07/08 19:45:56] <refuseresisted> this is how i try to design my stuff http://www.lackluster.net/tmp/tinydns/templates/ | ||
| [2008/07/08 19:46:01] <refuseresisted> oops | ||
| [2008/07/08 19:46:04] <refuseresisted> take out templates/ | ||
| [2008/07/08 19:46:17] <sigmonsays> defines within defines rule! | ||
| [2008/07/08 19:50:24] * Volcane goes to bed | ||
| [2008/07/08 19:50:52] @ Quit: RainDoctor: "changing servers" | ||
| [2008/07/08 19:54:50] <machpo> pastie: yo | ||
| [2008/07/08 19:57:02] <pastie> http://pastie.org/230292 by machpo. | ||
| [2008/07/08 19:57:38] <machpo> new facter also looks good on cent 5.2, fwiw. pastie is the diffs between 1.3.8 and 1.5 | ||
| [2008/07/08 20:00:49] @ jvanzyl joined channel #puppet | ||
| [2008/07/08 20:01:47] @ dysinger joined channel #puppet | ||
| [2008/07/08 20:13:56] @ randybias joined channel #puppet | ||
| [2008/07/08 20:18:22] <jamesturnbull> machpo: lot of fixes and facts in the new release | ||
| [2008/07/08 20:25:09] <machpo> been a very pleasant point release both w/facter and puppet. nice stewarding. | ||
| [2008/07/08 20:38:10] <jamesturnbull> machpo: mostly Luke's hard work - I just apply commits and nag him about releases :) | ||
| [2008/07/08 20:44:24] @ martha left channel #puppet () | ||
| [2008/07/08 20:47:16] @ kenvandine joined channel #puppet | ||
| [2008/07/08 21:00:12] <fujin> !seen nigelk | ||
| [2008/07/08 21:00:18] <gepetto> fujin: nigelk was last seen 17 days, 3 hours, 29 minutes and 47 seconds ago, leaving #puppet | ||
| [2008/07/08 21:00:29] <fujin> hrm | ||
| [2008/07/08 21:02:54] @ punkcut joined channel #puppet | ||
| [2008/07/08 21:06:08] @ Quit: \ask_: | ||
| [2008/07/08 21:07:30] @ Quit: randybias: | ||
| [2008/07/08 21:08:50] @ Quit: shake-n-bake__: | ||
| [2008/07/08 21:10:58] <MrProper__> does anyone need a deb of facter-1.5? | ||
| [2008/07/08 21:16:59] @ shake-n-bake joined channel #puppet | ||
| [2008/07/08 21:18:48] @ shake-n-bake_ joined channel #puppet | ||
| [2008/07/08 21:18:49] @ Quit: shake-n-bake: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 21:23:28] @ Quit: Gwayne: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 21:24:02] @ Quit: spheromak: | ||
| [2008/07/08 21:25:51] @ \ask_ joined channel #puppet | ||
| [2008/07/08 21:26:52] @ randybias joined channel #puppet | ||
| [2008/07/08 21:28:05] @ Quit: shake-n-bake_: | ||
| [2008/07/08 21:28:07] @ Gwayne joined channel #puppet | ||
| [2008/07/08 21:35:22] @ kambiz joined channel #puppet | ||
| [2008/07/08 21:35:39] @ sknight joined channel #puppet | ||
| [2008/07/08 21:39:56] <jamesturnbull> fujin: email him - he hasn't been around for ages | ||
| [2008/07/08 21:42:21] @ lak joined channel #puppet | ||
| [2008/07/08 21:43:11] @ Quit: sknight: "Leaving" | ||
| [2008/07/08 21:49:01] <fujin> wanted to ask if he knew anything about a Youtube Cache. | ||
| [2008/07/08 21:49:05] <fujin> (official, or not) | ||
| [2008/07/08 21:49:16] <fujin> We're losing 40mbit of international traffic to youtube | ||
| [2008/07/08 21:51:04] <machpo> that can't be cheap | ||
| [2008/07/08 21:52:32] <fujin> 12k NZD/mo, or so I'm told. | ||
| [2008/07/08 21:54:15] <jamesturnbull> fujin: accidental ACL? | ||
| [2008/07/08 21:54:18] <waawaamilk> constant 40mbit? | ||
| [2008/07/08 21:54:21] <waawaamilk> faarrrk | ||
| [2008/07/08 21:54:32] <fujin> jamesturnbull: no, just our users | ||
| [2008/07/08 21:54:43] <fujin> (we're a medium/large datacentre/residential isp) | ||
| [2008/07/08 21:54:46] <jamesturnbull> fujin: I now | ||
| [2008/07/08 21:54:54] <fujin> oh, to fix it? LOL | ||
| [2008/07/08 21:54:58] <jamesturnbull> fujin: I meant iplementing an "accidental ACL" | ||
| [2008/07/08 21:55:13] <jamesturnbull> fujin: deny all youtube.com.... :P | ||
| [2008/07/08 21:55:15] <fujin> hahah, have considered it | ||
| [2008/07/08 21:56:09] <fujin> we've just put in some new cisco shapers in, which is giving us this visibility | ||
| [2008/07/08 21:56:52] <fujin> boss is holding his finger over the "shape the crap out of it" button | ||
| [2008/07/08 21:57:00] <jamesturnbull> fujin: is it customers or staff? | ||
| [2008/07/08 21:59:06] @ Quit: patobrien: Read error: 60 (Operation timed out) | ||
| [2008/07/08 21:59:13] <machpo> looks like there's a little bug in group.rb, the allowdupe paramter needs a :boolean => true added to it | ||
| [2008/07/08 21:59:21] <machpo> group the type, that is | ||
| [2008/07/08 22:01:30] @ spheromak joined channel #puppet | ||
| [2008/07/08 22:02:14] <fujin> jamesturnbull: customers ;\ | ||
| [2008/07/08 22:06:38] @ Quit: penthief: Read error: 104 (Connection reset by peer) | ||
| [2008/07/08 22:09:02] @ penthief joined channel #puppet | ||
| [2008/07/08 22:09:11] <machpo> pastie: do it | ||
| [2008/07/08 22:09:19] <jamesturnbull> fujin: fuck the customers | ||
| [2008/07/08 22:09:29] <jamesturnbull> fujin: or at least bill them... :P | ||
| [2008/07/08 22:10:15] <erikh> fuck the customers, then bill them | ||
| [2008/07/08 22:10:18] <erikh> I hear it's a good racket | ||
| [2008/07/08 22:10:32] <erikh> a very old profession | ||
| [2008/07/08 22:10:54] <jamesturnbull> erikh: well upheld by most modern ISPs too | ||
| [2008/07/08 22:11:35] @ Quit: shadoi: | ||
| [2008/07/08 22:11:52] <pastie> http://pastie.org/230368 by machpo. | ||
| [2008/07/08 22:12:05] <machpo> tiny patch there | ||
| [2008/07/08 22:12:16] <sigmonsays> I'm seeing a really strange yum issue. Is it wrong to ask here? | ||
| [2008/07/08 22:12:28] <sigmonsays> "Repository dries is listed more than once in the configuration" | ||
| [2008/07/08 22:13:55] @ Quit: LittleIdea: | ||
| [2008/07/08 22:13:56] @ Quit: andrewcshafer: | ||
| [2008/07/08 22:14:36] <fujin> jamesturnbull: we're already expensive for residential | ||
| [2008/07/08 22:14:44] <fujin> so either caching youtube or clamping it | ||
| [2008/07/08 22:14:46] <fujin> seems the only way forward | ||
| [2008/07/08 22:14:56] <fujin> and I'm loathed to throw a Squid farm at it and hope like it goes saway. | ||
| [2008/07/08 22:15:32] @ Quit: lak: | ||
| [2008/07/08 22:18:27] <jamesturnbull> machpo: is that a patch you'd like to submit? | ||
| [2008/07/08 22:18:33] <jamesturnbull> machpo: please log a ticket | ||
| [2008/07/08 22:18:47] <jamesturnbull> machpo: and follow wiki:DevelopmentLifecycle | ||
| [2008/07/08 22:18:49] <gepetto> jamesturnbull: machpo: wiki:DevelopmentLifecycle is http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle | ||
| [2008/07/08 22:19:54] @ Quit: spheromak: | ||
| [2008/07/08 22:20:18] <msf> can I use +> with resource defaults ? | ||
| [2008/07/08 22:20:32] <msf> ie. let's say I have module foo | ||
| [2008/07/08 22:20:47] <MrProper__> fujin, your from NZ? | ||
| [2008/07/08 22:20:52] <msf> where I do Package { require => Yumrepo["foo"] } | ||
| [2008/07/08 22:21:16] <msf> and then a module bar where I do | ||
| [2008/07/08 22:21:30] <msf> Package { require +> Yumrepo["bar"] } | ||
| [2008/07/08 22:21:35] @ spheromak joined channel #puppet | ||
| [2008/07/08 22:23:16] @ Quit: punkcut: "Leaving." | ||
| [2008/07/08 22:23:51] <fujin> MrProper__: yes | ||
| [2008/07/08 22:23:59] <jamesturnbull> msf: try it | ||
| [2008/07/08 22:24:07] <jamesturnbull> msf: fastest way of working that out | ||
| [2008/07/08 22:24:12] <msf> going to try it now | ||
| [2008/07/08 22:24:14] <jamesturnbull> msf: not sure that'll work though | ||
| [2008/07/08 22:24:21] <msf> it would be awesome if it did | ||
| [2008/07/08 22:24:24] <MrProper__> fujin, north or south? | ||
| [2008/07/08 22:24:46] <msf> if ti doesn't it should be added :-P | ||
| [2008/07/08 22:25:05] <machpo> i'll log it, although i'm not gonna do the git dance right now | ||
| [2008/07/08 22:25:42] <fujin> MrProper__: north, I'm in Albany | ||
| [2008/07/08 22:25:42] <holoway> sigmonsays: if you get an answer to that | ||
| [2008/07/08 22:25:44] <holoway> I would love to know what it is | ||
| [2008/07/08 22:25:54] <holoway> because I cannot find one | ||
| [2008/07/08 22:25:54] <holoway> :) | ||
| [2008/07/08 22:26:02] <erikh> I swear, if devel/git isn't what I think it is on FreeBSD I'm going to hurt myself or others | ||
| [2008/07/08 22:26:21] <erikh> 'cause it's compiling half of the freakin' ports tree right now | ||
| [2008/07/08 22:26:30] <MrProper__> fujin, ahh cool, im in aus, i noticed you were on a similar timezone as myself | ||
| [2008/07/08 22:27:15] <fujin> heh, yep | ||
| [2008/07/08 22:27:18] <fujin> just a few hours ahead I think | ||
| [2008/07/08 22:27:46] <msf> pastie: url me | ||
| [2008/07/08 22:28:31] <pastie> http://pastie.org/230375 by msf. | ||
| [2008/07/08 22:33:08] <msf> syntax error | ||
| [2008/07/08 22:35:21] <msf> meh | ||
| [2008/07/08 22:35:36] <msf> +> seems to only be available in certain situations | ||
| [2008/07/08 22:35:55] <msf> it would be totally useful to have it work all the time with require | ||
| [2008/07/08 22:43:00] @ Quit: randybias: | ||
| [2008/07/08 22:45:20] @ Quit: emerose: | ||
| [2008/07/08 22:47:13] <jamesturnbull> msf: log a feature ticket | ||
| [2008/07/08 22:47:26] <msf> ok | ||
| [2008/07/08 22:56:09] @ randybias joined channel #puppet | ||
| [2008/07/08 23:10:11] <msf> anyone can give a hint on how to decipher what "Found dependency cycles in the following relationships:" is trying to tell me ? | ||
| [2008/07/08 23:10:39] @ Quit: \ask_: | ||
| [2008/07/08 23:12:10] @ lak joined channel #puppet | ||
| [2008/07/08 23:14:30] <msf> hi lak :-) | ||
| [2008/07/08 23:14:37] <lak> hi | ||
| [2008/07/08 23:16:04] <msf> mind if I repeat the question I just asked before you showed up ? | ||
| [2008/07/08 23:17:09] @ Quit: randybias: | ||
| [2008/07/08 23:17:15] <lak> np | ||
| [2008/07/08 23:19:34] @ patobrien joined channel #puppet | ||
| [2008/07/08 23:21:34] <lak> what was the question? | ||
| [2008/07/08 23:22:03] <msf> anyone can give a hint on how to decipher what "Found dependency cycles in the following relationships:" is trying to tell me ? | ||
| [2008/07/08 23:24:02] <lak> find a tool that can read .dot files, like graphviz or omnigraffle | ||
| [2008/07/08 23:24:24] <lak> look in the $(sudo puppetd --configprint graphdir), and open the expanded_relationships.dot file | ||
| [2008/07/08 23:24:28] <lak> that will show you the cycles | ||
| [2008/07/08 23:25:28] <msf> oh cool | ||
| [2008/07/08 23:25:30] <msf> thanks | ||
| [2008/07/08 23:26:44] <msf> is there anything else I need to have to have the graph file generated ? | ||
| [2008/07/08 23:27:09] <msf> I didn't have the directory that configprint showed me | ||
| [2008/07/08 23:28:01] <lak> you probably need to run with --graph | ||
| [2008/07/08 23:32:37] <msf> so I am basically trying to eleiminate the places in the graph where I have objects that point to each other ? | ||
| [2008/07/08 23:34:34] <jamesturnbull> machpo: that ticket needs a better diff - can you diff and attach as a patch please? | ||
| [2008/07/08 23:36:18] @ Quit: jvanzyl: | ||
| [2008/07/08 23:39:01] <lak> msf: you need to eliminate the pieces that point up the graph | ||
| [2008/07/08 23:39:06] <lak> all relationships should point down | ||
| [2008/07/08 23:39:25] @ Quit: lak: | ||
| [2008/07/08 23:39:44] @ LittleIdea joined channel #puppet | ||
| [2008/07/08 23:39:44] @ andrewcshafer joined channel #puppet | ||
| [2008/07/08 23:46:27] <msf> lak: ok thanks.. resolved | ||
| [2008/07/08 23:46:39] <msf> just out of curiosity | ||
| [2008/07/08 23:47:13] <msf> well.. I was getting the cycle because I was depending on something I was also notifying | ||
| [2008/07/08 23:57:26] @ randybias joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!