| [2009/05/03 00:00:26] @ Log started by gepetto | ||
| [2009/05/03 00:00:26] @ ezmob|away is now known as ezmob | ||
| [2009/05/03 00:13:45] @ andrewcshafer joined channel #puppet | ||
| [2009/05/03 00:22:42] @ Bass10 joined channel #puppet | ||
| [2009/05/03 00:23:54] @ Quit: Bass10: SendQ exceeded | ||
| [2009/05/03 00:24:27] @ Bass10 joined channel #puppet | ||
| [2009/05/03 00:27:02] @ kingitchy joined channel #puppet | ||
| [2009/05/03 00:43:45] @ rberger joined channel #puppet | ||
| [2009/05/03 01:10:13] @ axisys_ joined channel #puppet | ||
| [2009/05/03 01:20:50] @ Quit: axisys: Success | ||
| [2009/05/03 01:31:54] @ Quit: Bass10: "Leaving" | ||
| [2009/05/03 01:35:59] @ nakano_ is now known as nakano | ||
| [2009/05/03 01:44:28] @ Quit: blahdeblah: "Leaving." | ||
| [2009/05/03 01:57:48] @ claymation joined channel #puppet | ||
| [2009/05/03 02:12:20] @ Djelibeybi joined channel #puppet | ||
| [2009/05/03 02:15:12] @ Quit: ibt: Read error: 60 (Operation timed out) | ||
| [2009/05/03 02:18:47] @ rberger_ joined channel #puppet | ||
| [2009/05/03 02:21:03] @ rberger__ joined channel #puppet | ||
| [2009/05/03 02:24:40] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/03 02:27:41] @ Quit: claymation: | ||
| [2009/05/03 02:30:12] @ Quit: randybias: Remote closed the connection | ||
| [2009/05/03 02:30:35] @ Quit: d3vilb0x: | ||
| [2009/05/03 02:33:55] @ gstratton joined channel #puppet | ||
| [2009/05/03 02:36:27] @ Quit: rberger: Read error: 110 (Connection timed out) | ||
| [2009/05/03 02:41:18] @ Quit: rberger_: Read error: 113 (No route to host) | ||
| [2009/05/03 02:46:28] @ Quit: kingitchy: | ||
| [2009/05/03 03:05:14] @ Quit: ezmob: "Bye!" | ||
| [2009/05/03 03:21:39] @ Quit: mellen: Read error: 60 (Operation timed out) | ||
| [2009/05/03 03:36:14] @ Quit: andrewcshafer: | ||
| [2009/05/03 03:50:08] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 03:51:27] @ mellen joined channel #puppet | ||
| [2009/05/03 04:00:54] @ Quit: astinus: Remote closed the connection | ||
| [2009/05/03 04:03:53] @ gxdia joined channel #puppet | ||
| [2009/05/03 04:07:34] <JD> is there any way to automatically run something for every disk on a node? | ||
| [2009/05/03 04:11:39] @ Kindred joined channel #puppet | ||
| [2009/05/03 04:19:36] <Volcane> you could make facts etc, but when you say "run" do you mean a shell script? | ||
| [2009/05/03 04:32:40] <JD> Volcane: currently, I'm using an array | ||
| [2009/05/03 04:32:43] <JD> for a define | ||
| [2009/05/03 04:32:58] <JD> but it would be great if facter could do that for me | ||
| [2009/05/03 04:33:15] <Volcane> facter cant return arrays atm :( | ||
| [2009/05/03 04:34:38] <JD> yeah, I was afraid you'd say that | ||
| [2009/05/03 04:34:43] <JD> is it planned? | ||
| [2009/05/03 04:35:43] <Volcane> yeah there's some talk of hierarchical structure in data from facter, not sure if that implies being able to get arrays out of it | ||
| [2009/05/03 04:36:40] <JD> just installed a munin plugin for diskio on all my servers | ||
| [2009/05/03 04:36:50] <JD> but it needs a list of the disks | ||
| [2009/05/03 04:37:11] <JD> munin::diskstats{["sda","sdb","sr0"]:} | ||
| [2009/05/03 04:37:20] <JD> that's what I currently have in each node | ||
| [2009/05/03 04:37:24] <Volcane> yeah, hard to get a list of disks actually | ||
| [2009/05/03 04:37:38] <Volcane> even just on linux is different for scsi, ide, xen, openvz, etcetc | ||
| [2009/05/03 04:37:44] @ Quit: gxdia: "Client suspended" | ||
| [2009/05/03 04:37:53] <Volcane> each having its own bit of logick to figure out the list | ||
| [2009/05/03 04:37:58] <Volcane> now throw in all the various OSs | ||
| [2009/05/03 04:38:08] <jamesturnbull> Volcane: yeah that's one of the goals of 1.6 | ||
| [2009/05/03 04:38:15] <JD> Volcane: ls /sys/block/*/stat :) | ||
| [2009/05/03 04:38:30] <JD> obviously that's just linux | ||
| [2009/05/03 04:38:51] <Volcane> and thats not confined to just real disks :) | ||
| [2009/05/03 04:39:35] @ gxdia joined channel #puppet | ||
| [2009/05/03 04:42:37] * Volcane wish there was a native split function :( | ||
| [2009/05/03 04:46:40] <Cuchulain> you presumably only care about disks that are in use | ||
| [2009/05/03 04:47:29] <Cuchulain> so you could check the contents of /proc/mount | ||
| [2009/05/03 04:47:48] <Cuchulain> of course, lvm and mdraid will screw that up a bit, but you can work through those tools to get a list of underlying devices | ||
| [2009/05/03 04:48:49] <Volcane> i just grep /sys/block for ^sd|^hd|^xv which works on my machines for full coverage, but by no means a robus approach | ||
| [2009/05/03 04:48:58] <Cuchulain> yeah, was just going to say that | ||
| [2009/05/03 04:49:27] <Cuchulain> i'd say it's good enough | ||
| [2009/05/03 04:49:58] <Cuchulain> if you want to ignore removable devices, then make sure /sys/block/$disk/removable is 0 | ||
| [2009/05/03 04:50:29] <jamesturnbull> Volcane: you're welcome to write one - I think there is even code floating around somewhere - I am happy to add it | ||
| [2009/05/03 04:50:36] <Volcane> still i think for a fact to make it into mainstream facter it should probably cater for a wider audience than just linux | ||
| [2009/05/03 04:51:14] <Volcane> jamesturnbull: yeah davids got some i think | ||
| [2009/05/03 04:51:33] <Cuchulain> given that you can target it to a specific OS, i don't think that's really a problem | ||
| [2009/05/03 04:51:53] <jamesturnbull> Volcane: hmm actually I've got one too - I had forgotten about that | ||
| [2009/05/03 04:52:00] <Cuchulain> but i'm just a this guy, you know? There may be specific policy | ||
| [2009/05/03 04:52:03] <jamesturnbull> Volcane: let me test it and if it works I'll add it to 0.25.0 | ||
| [2009/05/03 04:52:28] <Volcane> easy to write, but do i need to write tests for it? never wrote any tests and dont have a dev environment thats gonna do all that shit based on what was on the list this week | ||
| [2009/05/03 04:53:45] @ mib_9c8ge9 joined channel #puppet | ||
| [2009/05/03 04:53:56] <Volcane> Cuchulain: sure, i just feel myself that a linux specific disks fact should be on the recipes rather than mainstream facter since it just feel anti what its all about, same interfaces multiple os, same facts muliptle OS etcetc, but who knows, might be useful and someone will add solaris code to it once its out there so i guess it can go eitherway. | ||
| [2009/05/03 04:53:56] <mib_9c8ge9> aloha from Hawaii | ||
| [2009/05/03 04:54:27] <jamesturnbull> Volcane: current functons have unit tests rather than RSpec ones | ||
| [2009/05/03 04:54:30] * Volcane has lots of disk related detection code already | ||
| [2009/05/03 04:55:16] <mib_9c8ge9> if a person (with IT background) wants to learn puppet from the beginning, how much time approximately would it take (of course everyone climbs the learning curve at a different speed) | ||
| [2009/05/03 04:55:17] <Volcane> jamesturnbull: ah should be a bit easier then, still i should make the effort to get a dev env up now that 0.25 is settling i should start looking into internals i guess | ||
| [2009/05/03 04:56:27] <jamesturnbull> Volcane: http://www.pastie.org/466533 | ||
| [2009/05/03 04:56:56] <Volcane> yeah | ||
| [2009/05/03 04:57:14] @ Quit: mib_9c8ge9: Client Quit | ||
| [2009/05/03 04:58:00] <Volcane> anyway, some other week, this week ahead i have some programming project to do for a client, hate programming for clients :( | ||
| [2009/05/03 04:58:06] @ gxdia left channel #puppet () | ||
| [2009/05/03 05:04:31] <gepetto> ::trac:: Function Reference edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/FunctionReference (by james@lovedthanlost.net) | ||
| [2009/05/03 05:08:48] @ friendly12345 joined channel #puppet | ||
| [2009/05/03 05:09:44] <gepetto> ::trac:: Function Reference edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/FunctionReference (by james@lovedthanlost.net) | ||
| [2009/05/03 05:16:02] @ pleemans joined channel #puppet | ||
| [2009/05/03 05:58:32] @ Quit: pleemans: Read error: 113 (No route to host) | ||
| [2009/05/03 06:20:18] @ astinus joined channel #puppet | ||
| [2009/05/03 06:27:57] @ Quit: punkcut: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 06:34:05] @ mvn071 joined channel #puppet | ||
| [2009/05/03 06:58:36] @ Quit: friendly12345: "Leaving." | ||
| [2009/05/03 07:03:26] @ Eghie joined channel #puppet | ||
| [2009/05/03 07:03:49] @ nasrat_ joined channel #puppet | ||
| [2009/05/03 07:50:35] <duritong> http://timetobleed.com/6-line-eventmachine-bugfix-2x-faster-gc-1300-requestssec/ | ||
| [2009/05/03 07:56:30] @ Quit: niczar1: "Leaving." | ||
| [2009/05/03 08:18:22] @ Quit: vinci: Read error: 110 (Connection timed out) | ||
| [2009/05/03 08:30:19] @ vinci joined channel #puppet | ||
| [2009/05/03 08:32:29] @ nasrat__ joined channel #puppet | ||
| [2009/05/03 08:39:50] @ Quit: vinci: Read error: 60 (Operation timed out) | ||
| [2009/05/03 08:46:59] @ d3vilb0x joined channel #puppet | ||
| [2009/05/03 08:51:03] @ Quit: nasrat_: Read error: 110 (Connection timed out) | ||
| [2009/05/03 08:51:57] @ Quit: bolt: Read error: 60 (Operation timed out) | ||
| [2009/05/03 08:52:30] @ vinci joined channel #puppet | ||
| [2009/05/03 08:55:02] @ rraphink joined channel #puppet | ||
| [2009/05/03 08:55:19] @ bolt joined channel #puppet | ||
| [2009/05/03 09:01:28] @ nasrat_ joined channel #puppet | ||
| [2009/05/03 09:01:47] @ Quit: nasrat_: Client Quit | ||
| [2009/05/03 09:19:50] @ Quit: nasrat__: Read error: 110 (Connection timed out) | ||
| [2009/05/03 09:34:14] @ gaveen joined channel #puppet | ||
| [2009/05/03 09:50:31] @ Quit: bolt: Read error: 110 (Connection timed out) | ||
| [2009/05/03 09:57:50] @ aymerick joined channel #puppet | ||
| [2009/05/03 09:57:57] @ Quit: aymerick: Remote closed the connection | ||
| [2009/05/03 09:59:23] @ Quit: schwagal1: Read error: 60 (Operation timed out) | ||
| [2009/05/03 10:00:12] @ schwagala joined channel #puppet | ||
| [2009/05/03 10:07:54] @ Quit: gebi: "Lost terminal" | ||
| [2009/05/03 10:25:16] @ cwebber joined channel #puppet | ||
| [2009/05/03 10:26:59] @ Quit: cwebber: Client Quit | ||
| [2009/05/03 10:42:44] @ Quit: francois: "Leaving." | ||
| [2009/05/03 10:51:45] @ ibt joined channel #puppet | ||
| [2009/05/03 11:06:37] @ claymation joined channel #puppet | ||
| [2009/05/03 11:10:21] @ shake-n-bake joined channel #puppet | ||
| [2009/05/03 11:15:18] @ Quit: shake-n-bake: Client Quit | ||
| [2009/05/03 11:36:49] @ Quit: vinci: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 11:36:57] @ vinci joined channel #puppet | ||
| [2009/05/03 11:48:38] @ lak joined channel #puppet | ||
| [2009/05/03 11:49:14] @ Quit: lak: Client Quit | ||
| [2009/05/03 12:13:20] @ shake-n-bake joined channel #puppet | ||
| [2009/05/03 12:16:51] @ Quit: shake-n-bake: Client Quit | ||
| [2009/05/03 12:24:47] @ andrewcshafer joined channel #puppet | ||
| [2009/05/03 12:29:10] @ edwardam joined channel #puppet | ||
| [2009/05/03 12:36:43] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/03 12:45:40] @ Quit: rraphink: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 12:46:52] @ rraphink joined channel #puppet | ||
| [2009/05/03 12:49:26] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2009/05/03 12:50:12] @ bolt joined channel #puppet | ||
| [2009/05/03 12:50:53] @ Quit: bolt: Remote closed the connection | ||
| [2009/05/03 13:04:27] @ nakano is now known as nakano_ | ||
| [2009/05/03 13:05:22] @ nakano_ is now known as nakano | ||
| [2009/05/03 13:09:51] @ nakano is now known as nakano_ | ||
| [2009/05/03 13:28:10] @ LBo joined channel #puppet | ||
| [2009/05/03 13:31:20] <LBo> I've created this dir: /etc/puppet/modules/development/puppet/plugins/facter/hardware_platform.rb | ||
| [2009/05/03 13:31:40] <LBo> The puppet module is being evaluated | ||
| [2009/05/03 13:31:51] <LBo> But the facts don't get synchronized | ||
| [2009/05/03 13:32:55] <LBo> This is my config: http://pastie.org/466822 | ||
| [2009/05/03 13:41:36] <Volcane> show output of a client running puppetd --test | ||
| [2009/05/03 13:44:54] <LBo> Here it is: http://pastie.org/466834 | ||
| [2009/05/03 13:46:49] <Volcane> did you not notice the error before? | ||
| [2009/05/03 13:46:54] @ flakrat joined channel #puppet | ||
| [2009/05/03 13:47:55] <Volcane> anyway, pluginsnc doesnt support environments | ||
| [2009/05/03 13:48:10] <Volcane> you need to put the plugins in your main moduledir | ||
| [2009/05/03 13:48:30] <LBo> aha | ||
| [2009/05/03 13:48:41] <LBo> Ok, thanks. I'll try that | ||
| [2009/05/03 13:51:05] <LBo> yes, that did the trick | ||
| [2009/05/03 13:51:09] <LBo> Thanks for the help | ||
| [2009/05/03 13:51:25] <Volcane> np | ||
| [2009/05/03 13:55:08] @ gnydick joined channel #puppet | ||
| [2009/05/03 13:55:19] <gnydick> hello room | ||
| [2009/05/03 13:55:27] <gnydick> can I ask an extremely noob question? | ||
| [2009/05/03 13:55:47] <gnydick> I have been pouring through the docs and not finding my answer | ||
| [2009/05/03 13:55:53] @ jsm joined channel #puppet | ||
| [2009/05/03 13:56:55] <jsm> is there some sort of global require for puppet? so i could say, run this class before anything else? i have a class that sets up some yum repos, and it needs to be run before everything else, and i was hoping not to have to define it as a require in every module i'm making | ||
| [2009/05/03 13:57:10] @ Quit: bgupta_: Read error: 113 (No route to host) | ||
| [2009/05/03 13:57:37] <gnydick> can anyone tell me if there's something explicit I have to do to get puppetd to actually listen on 8139? my puppetd process don't listen on anything | ||
| [2009/05/03 13:57:44] <Volcane> jsm: unfort no | ||
| [2009/05/03 13:58:05] <Volcane> gnydick: you need to tell it do so in the config, see puppetd --genconfig for a full reference | ||
| [2009/05/03 13:58:19] <gnydick> i have that, thanks though, Volcane | ||
| [2009/05/03 13:58:31] <jsm> Volcane: Thanks. Is it in the works? | ||
| [2009/05/03 13:58:38] <Volcane> not afaik | ||
| [2009/05/03 13:58:43] <gnydick> no, as in that's what i'm already doing :( | ||
| [2009/05/03 13:58:59] <gnydick> doh, i see, stUUpid typo | ||
| [2009/05/03 14:02:36] <Volcane> :) | ||
| [2009/05/03 14:03:05] <Volcane> jsm: surely it just needs to run before any package{} resources? | ||
| [2009/05/03 14:03:16] <jsm> Volcane: correct | ||
| [2009/05/03 14:03:38] <jsm> Volcane: but i have package{} resources spread about the modules, depending on the function of a module | ||
| [2009/05/03 14:03:43] <Volcane> in your site.pp Package{ require => Class["Yumsetup"] } | ||
| [2009/05/03 14:03:48] <jsm> ah | ||
| [2009/05/03 14:03:51] <jsm> perfect | ||
| [2009/05/03 14:03:53] <jsm> thanks | ||
| [2009/05/03 14:04:01] <Volcane> see setting defaults in the language tut | ||
| [2009/05/03 14:04:59] <jsm> between you guys and the cobbler guys, i owe you a case of beer | ||
| [2009/05/03 14:05:05] <Volcane> :) | ||
| [2009/05/03 14:05:49] @ Quit: claymation: | ||
| [2009/05/03 14:11:26] @ fbe__ is now known as fbe | ||
| [2009/05/03 14:17:28] @ shake-n-bake joined channel #puppet | ||
| [2009/05/03 14:17:44] @ Quit: gnydick: | ||
| [2009/05/03 14:19:48] @ squiddle joined channel #puppet | ||
| [2009/05/03 14:30:48] @ Quit: Ladeburger1: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 14:33:19] @ sharms joined channel #puppet | ||
| [2009/05/03 14:35:42] @ bolt_ joined channel #puppet | ||
| [2009/05/03 14:39:04] @ Quit: mfoster: "Leaving." | ||
| [2009/05/03 14:51:26] @ dyresen joined channel #puppet | ||
| [2009/05/03 14:51:37] @ punkcut joined channel #puppet | ||
| [2009/05/03 15:01:56] @ ezmob joined channel #puppet | ||
| [2009/05/03 15:14:24] @ mfoster joined channel #puppet | ||
| [2009/05/03 15:15:36] @ Quit: LBo: "WeeChat 0.2.6.1" | ||
| [2009/05/03 15:24:52] @ Quit: bolt_: Client Quit | ||
| [2009/05/03 15:25:15] @ bolt_ joined channel #puppet | ||
| [2009/05/03 15:25:49] @ aymerick joined channel #puppet | ||
| [2009/05/03 15:32:42] @ bolt_ is now known as bolt | ||
| [2009/05/03 15:54:52] @ Quit: mellen: Connection timed out | ||
| [2009/05/03 16:01:18] @ kingitchy joined channel #puppet | ||
| [2009/05/03 16:14:20] @ Quit: punkcut: Nick collision from services. | ||
| [2009/05/03 16:14:21] @ punkcut1 joined channel #puppet | ||
| [2009/05/03 16:14:27] @ punkcut1 is now known as punkcut | ||
| [2009/05/03 16:30:07] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/03 16:30:14] @ Quit: nasrat: Read error: 110 (Connection timed out) | ||
| [2009/05/03 16:35:50] <jsm> getting: Certificate validation failed; consider using the certname configuration option. Could not retrieve catalog: Certificates were not trusted: hostname not match with the server certificate | ||
| [2009/05/03 16:36:01] <jsm> dates are in sync | ||
| [2009/05/03 16:36:19] @ Quit: ezmob: "Bye!" | ||
| [2009/05/03 16:37:00] @ mellen joined channel #puppet | ||
| [2009/05/03 16:40:22] @ Quit: punkcut: Nick collision from services. | ||
| [2009/05/03 16:40:23] @ punkcut1 joined channel #puppet | ||
| [2009/05/03 16:40:29] @ punkcut1 is now known as punkcut | ||
| [2009/05/03 16:41:04] <jsm> i'm assuming that is the case becase the name associated with the machine is different that the name that resolves to the IP that the machine is using to talk to the puppetmaster | ||
| [2009/05/03 16:41:57] @ Quit: ivan: Remote closed the connection | ||
| [2009/05/03 16:42:01] @ ivan joined channel #puppet | ||
| [2009/05/03 16:44:11] <Volcane> jsm: puppet client tries to talk to 'puppet' by default and the puppetmaster makes its cert cname 'puppet' by default, which means by default they match | ||
| [2009/05/03 16:44:31] <Volcane> jsm: if you change either server on teh client or certname on the server you need to go make it all match | ||
| [2009/05/03 16:44:53] <jsm> i have a cname for puppet to point to the puppetmaster | ||
| [2009/05/03 16:45:15] <jsm> so i don't think that is the issue. | ||
| [2009/05/03 16:45:22] <Volcane> do you have server= or certname= anywhere on client or server? | ||
| [2009/05/03 16:45:26] <jsm> nope | ||
| [2009/05/03 16:45:28] <jsm> fresh install | ||
| [2009/05/03 16:46:28] <jsm> my puppet client box is name is qa1-app1, but the ip/interface it uses to talk to puppet resolves to qa1-app1-mgmt.... does that matter? | ||
| [2009/05/03 16:48:31] <Volcane> on the client run: openssl s_client -connect puppet:8140 | ||
| [2009/05/03 16:48:37] <Volcane> show me the output on pastie | ||
| [2009/05/03 16:49:51] <jsm> Volcane: http://pastie.org/467007 | ||
| [2009/05/03 16:50:15] <Volcane> so the master has made its cert as 'bud' | ||
| [2009/05/03 16:50:16] <Volcane> which is wrong | ||
| [2009/05/03 16:50:36] <jsm> a bug? | ||
| [2009/05/03 16:50:44] <Volcane> you must have set certname or something weird on the server | ||
| [2009/05/03 16:50:49] <jsm> nope | ||
| [2009/05/03 16:50:56] <jsm> brand new install, i swear :) | ||
| [2009/05/03 16:51:03] <Volcane> thats what they all say :) | ||
| [2009/05/03 16:51:25] <jsm> unless the epel rpm did it | ||
| [2009/05/03 16:51:54] <jsm> where would it be set? | ||
| [2009/05/03 16:51:57] <Volcane> # puppetmasterd --genconfig|grep certname | ||
| [2009/05/03 16:52:06] <Volcane> what do you see by certname = ? | ||
| [2009/05/03 16:52:28] <jsm> # certname = bud | ||
| [2009/05/03 16:53:04] <Volcane> put your master's puppet.conf on pastie | ||
| [2009/05/03 16:53:53] <jsm> oh.. i wonder if it's because i installed puppet first, then install puppet-server | ||
| [2009/05/03 16:54:34] <jsm> Volcane: http://pastie.org/467014 | ||
| [2009/05/03 16:54:54] <Volcane> thats it? no puppetmasterd section at all? | ||
| [2009/05/03 16:55:05] <jsm> heh, that's probably the problem :) | ||
| [2009/05/03 16:55:18] <Volcane> no it should be fine on defaults | ||
| [2009/05/03 16:55:30] <jsm> oh, then yeah, that's it | ||
| [2009/05/03 16:55:45] <Volcane> well then put the output of puppetmasterd --genconfig on pastie | ||
| [2009/05/03 16:56:22] <Volcane> btw. if you're on centos here's a step by step i wrote http://www.devco.net/pubwiki/Puppet/GettingStarted | ||
| [2009/05/03 16:56:53] <jsm> http://pastie.org/467017 | ||
| [2009/05/03 16:57:38] <Volcane> ok thats pretty screwed up, you say you got these rpms from epel? what version? | ||
| [2009/05/03 16:58:20] <jsm> puppet-0.24.8-1.el5.1 puppet-server-0.24.8-1.el5.1 | ||
| [2009/05/03 16:58:29] <Volcane> hold | ||
| [2009/05/03 17:02:52] <jsm> something i can do in the meantime so i can test out these recipes? setting certname somewhere? | ||
| [2009/05/03 17:03:06] <Volcane> make on your master: | ||
| [2009/05/03 17:03:18] <Volcane> [puppetmasterd] | ||
| [2009/05/03 17:03:20] <Volcane> certname=puppet | ||
| [2009/05/03 17:03:25] <Volcane> shut down client, server | ||
| [2009/05/03 17:03:31] <Volcane> delete /var/lib/puppet/ssl on both | ||
| [2009/05/03 17:03:35] <Volcane> start master, start client | ||
| [2009/05/03 17:05:26] @ vzctl joined channel #puppet | ||
| [2009/05/03 17:06:18] <vzctl> hi, I have a question about the puppet reports | ||
| [2009/05/03 17:06:34] @ Quit: squiddle: "leaving" | ||
| [2009/05/03 17:07:14] <vzctl> when I run puppetd -t -d I see diff for changed files | ||
| [2009/05/03 17:07:58] <vzctl> is there simple way to see this diffs in the tagmail reports ? | ||
| [2009/05/03 17:08:07] @ Quit: mvn071: Remote closed the connection | ||
| [2009/05/03 17:10:20] <jsm> Volcan, that worked, fyi | ||
| [2009/05/03 17:10:27] <Volcane> jsm: great | ||
| [2009/05/03 17:10:43] <Volcane> vzctl: i dont think so | ||
| [2009/05/03 17:11:16] @ Quit: bolt: "telnet irc.freenode.net 6667" | ||
| [2009/05/03 17:11:44] @ bolt joined channel #puppet | ||
| [2009/05/03 17:15:55] @ kolla joined channel #puppet | ||
| [2009/05/03 17:16:06] @ claymation joined channel #puppet | ||
| [2009/05/03 17:17:47] @ claymation_ joined channel #puppet | ||
| [2009/05/03 17:17:52] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 17:18:03] @ claymation joined channel #puppet | ||
| [2009/05/03 17:18:05] <jsm> what's a good way to work out the dependencies for recipies with users and their ssh keys? sub classes? | ||
| [2009/05/03 17:18:16] @ claymation__ joined channel #puppet | ||
| [2009/05/03 17:18:23] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 17:18:33] @ claymation joined channel #puppet | ||
| [2009/05/03 17:19:03] @ claymation___ joined channel #puppet | ||
| [2009/05/03 17:19:16] <jsm> seems like the ssh_authorized_key class should automatically handle that | ||
| [2009/05/03 17:19:24] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 17:19:37] <Volcane> yeah it should | ||
| [2009/05/03 17:20:03] @ claymation joined channel #puppet | ||
| [2009/05/03 17:20:12] <jsm> unfortunately it tries to do the ssh keys before the users exist | ||
| [2009/05/03 17:20:29] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 17:21:12] <Volcane> do you create the user with puppet? | ||
| [2009/05/03 17:21:35] <jsm> yup | ||
| [2009/05/03 17:21:38] @ claymation joined channel #puppet | ||
| [2009/05/03 17:22:12] <jsm> i have a class, users::admins... it's broken up into user {} and ssh_authorized_key{} section | ||
| [2009/05/03 17:22:52] <Volcane> then it should do it right yeah | ||
| [2009/05/03 17:22:53] @ Quit: claymation__: Read error: 60 (Operation timed out) | ||
| [2009/05/03 17:23:25] <jsm> Configuration could not be instantiated: user jsm doesn't exist | ||
| [2009/05/03 17:24:12] <Volcane> 100% sure you're including the class that makes the user and it gets created etc, say if you comment out the ssh key? | ||
| [2009/05/03 17:25:48] <jsm> yes, positive, just confirmed | ||
| [2009/05/03 17:26:14] <Volcane> odd, and if you add the require => specifically? | ||
| [2009/05/03 17:27:18] <jsm> works | ||
| [2009/05/03 17:27:32] <Volcane> pretty odd, it should auto require that yeah | ||
| [2009/05/03 17:27:55] <jsm> what's a good work around? | ||
| [2009/05/03 17:28:02] <Volcane> add the require :P | ||
| [2009/05/03 17:28:16] @ Quit: claymation: | ||
| [2009/05/03 17:28:16] <Volcane> thats the only other option | ||
| [2009/05/03 17:28:18] <jsm> seperate classes... and the requires | ||
| [2009/05/03 17:28:41] <jsm> a sub class doesn't auto require its parent? | ||
| [2009/05/03 17:28:46] <Volcane> no it doesnt | ||
| [2009/05/03 17:29:11] @ bolt is now known as bolt_ | ||
| [2009/05/03 17:29:18] @ bolt_ is now known as bolt | ||
| [2009/05/03 17:29:44] <Volcane> but in the code, the ssh key stuff auto requires the user. though i cant really say for sure i dont use them | ||
| [2009/05/03 17:29:57] <Volcane> show the code for user and ssh key on pastie | ||
| [2009/05/03 17:30:17] @ bolt is now known as bolt_ | ||
| [2009/05/03 17:30:18] @ bolt_ is now known as bolt | ||
| [2009/05/03 17:30:42] <jsm> can't.. too sensitive. | ||
| [2009/05/03 17:30:49] @ bolt left channel #puppet ("telnet irc.freenode.net 6667") | ||
| [2009/05/03 17:30:57] <Volcane> surely you can anonymise them | ||
| [2009/05/03 17:32:01] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/03 17:35:31] <jsm> Volcane: http://pastie.org/private/0zgzxprwbvtn6mavb3ykza | ||
| [2009/05/03 17:35:41] <jsm> heh, so much for private | ||
| [2009/05/03 17:36:07] <Volcane> heh | ||
| [2009/05/03 17:36:31] @ Quit: claymation_: Read error: 110 (Connection timed out) | ||
| [2009/05/03 17:38:50] <Volcane> yeah same weirdness here | ||
| [2009/05/03 17:39:09] <jsm> k | ||
| [2009/05/03 17:39:51] @ Quit: claymation___: Connection timed out | ||
| [2009/05/03 17:41:38] <jsm> btw, i set Package{ require => Class["yum::base"] } as you directed earlier in my site.pp, but the puppet client complains that class doesn't exist... it most definitely is there: http://pastie.org/467055 | ||
| [2009/05/03 17:43:36] <Volcane> if it says it cant find a class its cos its not being included generally | ||
| [2009/05/03 17:44:35] <jsm> not sure what you mean | ||
| [2009/05/03 17:44:51] @ blahdeblah joined channel #puppet | ||
| [2009/05/03 17:45:42] <Volcane> ah, u need to add 'target => "/home/user1/.ssh/authorized_keys"' to your authorized_keys | ||
| [2009/05/03 17:45:47] <Volcane> that sorts it out | ||
| [2009/05/03 17:46:21] <Volcane> jsm: in your node or in another class u need 'include yum::base' | ||
| [2009/05/03 17:46:42] @ kolla joined channel #puppet | ||
| [2009/05/03 17:47:11] <jsm> wrt to ssh keys, that seems like it should be a default | ||
| [2009/05/03 17:47:26] <jsm> but thanks, will try | ||
| [2009/05/03 17:47:46] <Volcane> indeed, but that solves it for me | ||
| [2009/05/03 17:50:06] <jsm> i might write a module that integrates user & ssh_authorized_key, seems a lot of overlapping information | ||
| [2009/05/03 17:50:31] <Volcane> yeah, use a define | ||
| [2009/05/03 17:51:13] <jsm> oh i can set the usernames as vars? | ||
| [2009/05/03 17:51:20] <jsm> jeesh :) | ||
| [2009/05/03 17:51:55] <Volcane> define my_user($password, $key) { user{$name: ... } ssh_authorized_key{$name: .... } ) | ||
| [2009/05/03 17:52:11] <Volcane> my_user{"jsm" password => foo, key => "bar" } | ||
| [2009/05/03 17:52:46] @ bolt_ joined channel #puppet | ||
| [2009/05/03 17:52:53] <jsm> ah, thanks, good to know | ||
| [2009/05/03 17:53:09] @ bolt_ is now known as bolt | ||
| [2009/05/03 17:53:39] <Volcane> the only gotcha is that the user{} and so forth inside needs to get unique names, so thats why i use the $name bit, which would be whatever u call the my_user resource | ||
| [2009/05/03 18:02:42] @ Quit: gaveen: Read error: 110 (Connection timed out) | ||
| [2009/05/03 18:03:38] @ gaveen joined channel #puppet | ||
| [2009/05/03 18:06:47] @ Quit: aymerick: "kit mais sage" | ||
| [2009/05/03 18:07:22] <gepetto> ::trac:: Using Stored Configuration edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration (by james@lovedthanlost.net) | ||
| [2009/05/03 18:13:29] @ catdude joined channel #puppet | ||
| [2009/05/03 18:13:51] @ Quit: Eghie: Remote closed the connection | ||
| [2009/05/03 18:17:36] @ Quit: jsm: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 18:17:38] @ jsm_ joined channel #puppet | ||
| [2009/05/03 18:25:06] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/03 18:27:02] @ Quit: DavidS1: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 18:37:01] @ ezmob joined channel #puppet | ||
| [2009/05/03 18:49:21] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/03 19:09:09] @ Quit: jason^: Read error: 110 (Connection timed out) | ||
| [2009/05/03 19:14:04] @ Quit: zirpu: Read error: 110 (Connection timed out) | ||
| [2009/05/03 19:14:19] @ kolla joined channel #puppet | ||
| [2009/05/03 19:32:53] @ Quit: flakrat: Read error: 60 (Operation timed out) | ||
| [2009/05/03 19:34:48] @ ezmob_ joined channel #puppet | ||
| [2009/05/03 19:35:53] @ Quit: ezmob: Read error: 110 (Connection timed out) | ||
| [2009/05/03 19:45:57] @ flakrat joined channel #puppet | ||
| [2009/05/03 20:08:23] @ claymation joined channel #puppet | ||
| [2009/05/03 20:25:30] @ ChoHag_ joined channel #puppet | ||
| [2009/05/03 20:26:44] @ Quit: ChoHag: Remote closed the connection | ||
| [2009/05/03 20:32:33] @ Quit: vzctl: Read error: 60 (Operation timed out) | ||
| [2009/05/03 20:33:19] @ Quit: catdude: | ||
| [2009/05/03 20:35:46] @ nakano_ is now known as nakano | ||
| [2009/05/03 20:46:02] @ etaylor joined channel #puppet | ||
| [2009/05/03 20:53:50] @ andrewcshafer_ is now known as andrewcshafer | ||
| [2009/05/03 20:55:59] @ fujin joined channel #puppet | ||
| [2009/05/03 21:04:42] @ Quit: ezmob_: Read error: 110 (Connection timed out) | ||
| [2009/05/03 21:06:09] @ lak joined channel #puppet | ||
| [2009/05/03 21:07:34] @ ribo_ is now known as ribo | ||
| [2009/05/03 21:16:46] @ Quit: lak: | ||
| [2009/05/03 21:23:44] @ Mode +o jamesturnbull by ChanServ | ||
| [2009/05/03 21:25:14] @ jamesturnbull set topic "Puppet 0.25.0beta1 released! http://tinyurl.com/puppet0250b1 | Tickets, bugs and features at http://tinyurl.com/46ryk7" | ||
| [2009/05/03 21:28:37] <jamesturnbull> Hi all - as you can see from the topic change - 0.25.0beta1 has been released! Please test away! | ||
| [2009/05/03 21:29:28] @ cwebber joined channel #puppet | ||
| [2009/05/03 21:34:12] @ maxagaz joined channel #puppet | ||
| [2009/05/03 21:47:24] @ Quit: cwebber: | ||
| [2009/05/03 21:50:54] @ nakano is now known as nakano_ | ||
| [2009/05/03 21:55:31] <jmslagle> Sweet! | ||
| [2009/05/03 21:55:37] <jmslagle> Does the spec build? | ||
| [2009/05/03 22:04:25] @ nakano_ is now known as nakano | ||
| [2009/05/03 22:07:31] @ edwardam joined channel #puppet | ||
| [2009/05/03 22:07:50] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/03 22:09:11] @ verwilst joined channel #puppet | ||
| [2009/05/03 22:09:40] @ edwardam joined channel #puppet | ||
| [2009/05/03 22:15:40] <jamesturnbull> jmslagle: not touched the spec file - that's usually something we let the packagers handle | ||
| [2009/05/03 22:18:40] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/03 22:20:19] @ edwardam joined channel #puppet | ||
| [2009/05/03 22:21:35] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/05/03 22:24:18] @ Quit: andrewcshafer: | ||
| [2009/05/03 22:26:07] @ andrewcshafer joined channel #puppet | ||
| [2009/05/03 22:30:25] @ rellis_ joined channel #puppet | ||
| [2009/05/03 22:31:26] @ Quit: sharms: "Leaving" | ||
| [2009/05/03 22:42:16] @ Quit: bgupta: Read error: 104 (Connection reset by peer) | ||
| [2009/05/03 22:42:52] @ bgupta joined channel #puppet | ||
| [2009/05/03 22:47:47] @ chip__ joined channel #puppet | ||
| [2009/05/03 22:52:05] @ Quit: rellis_: Remote closed the connection | ||
| [2009/05/03 22:53:02] @ Quit: etaylor: "ChatZilla 0.9.84 [Firefox 3.0.4/2008111319]" | ||
| [2009/05/03 22:54:59] @ Quit: andrewcshafer: | ||
| [2009/05/03 23:04:04] @ Quit: atlan_: Read error: 110 (Connection timed out) | ||
| [2009/05/03 23:09:47] @ Quit: egerlach: Read error: 110 (Connection timed out) | ||
| [2009/05/03 23:29:03] @ incommon_ike joined channel #puppet | ||
| [2009/05/03 23:29:30] @ Quit: incommon_ike: Client Quit | ||
| [2009/05/03 23:31:12] @ Quit: flakrat: "Leaving" | ||
| [2009/05/03 23:33:04] @ andrewcshafer joined channel #puppet | ||
| [2009/05/03 23:36:59] @ Quit: claymation: | ||
| [2009/05/03 23:52:37] @ Quit: shake-n-bake: | ||
| [2009/05/03 23:57:39] @ Quit: d3vilb0x: |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!