| [2008/06/20 00:00:47] @ Quit: lak: | ||
| [2008/06/20 00:11:42] @ lak joined channel #puppet | ||
| [2008/06/20 00:22:02] @ Quit: Maliuta: Connection timed out | ||
| [2008/06/20 00:27:01] @ Quit: edibrac1: Read error: 113 (No route to host) | ||
| [2008/06/20 00:32:15] @ Quit: lak: | ||
| [2008/06/20 00:44:30] @ jsgotangco joined channel #puppet | ||
| [2008/06/20 00:48:28] @ Quit: minaural: | ||
| [2008/06/20 00:50:33] @ edibrac1 joined channel #puppet | ||
| [2008/06/20 00:51:26] @ neh joined channel #puppet | ||
| [2008/06/20 01:02:11] @ Quit: kambiz: Read error: 54 (Connection reset by peer) | ||
| [2008/06/20 01:14:49] @ Joined channel #puppet | ||
| [2008/06/20 01:14:49] @ Topic is "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues" | ||
| [2008/06/20 01:14:49] @ Topic set by jamesturnbull on Tue Jun 03 01:57:42 -0400 2008 | ||
| [2008/06/20 01:21:13] @ Joined channel #puppet | ||
| [2008/06/20 01:21:13] @ Topic is "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues" | ||
| [2008/06/20 01:21:13] @ Topic set by jamesturnbull on Tue Jun 03 01:57:42 -0400 2008 | ||
| [2008/06/20 01:28:21] @ Quit: gepetto: Read error: 113 (No route to host) | ||
| [2008/06/20 01:41:29] @ Quit: Binford: "Leaving" | ||
| [2008/06/20 01:58:25] @ runlevel joined channel #puppet | ||
| [2008/06/20 02:01:47] <runlevel> how can i get facter to show an updated FQDN variable? its showing incorrect info | ||
| [2008/06/20 02:04:35] <zipkid> runlevel: i assume it is not correct on the host.... | ||
| [2008/06/20 02:05:02] <runlevel> im new to facter, so im not really even sure where it gets its particular info | ||
| [2008/06/20 02:05:27] <zipkid> you can just go to the host and run # facter | ||
| [2008/06/20 02:05:43] <zipkid> it gets the info there and then... | ||
| [2008/06/20 02:05:59] <zipkid> that way you can see what it will pass to puppet | ||
| [2008/06/20 02:06:20] <zipkid> not the server! | ||
| [2008/06/20 02:06:37] <mcbride> runlevel: what does the 'hostname' command show if you run it on the host? | ||
| [2008/06/20 02:07:46] <runlevel> tatooine (fqdn needs to be tatooine.domain.com but it instead is showing tatooine.domain.net) | ||
| [2008/06/20 02:10:01] <Volcane> what does hostname -f say? | ||
| [2008/06/20 02:10:31] <runlevel> i actually got it now. thanks | ||
| [2008/06/20 02:10:42] <mcbride> hah, on my system that says: hostname: unknown option -- f | ||
| [2008/06/20 02:11:01] <Volcane> mcbride: heh, what u on? | ||
| [2008/06/20 02:11:17] <mcbride> OpenBSD | ||
| [2008/06/20 02:11:22] <Volcane> ah | ||
| [2008/06/20 02:11:28] <mcbride> anyways, that's apparantly not what facter uses. | ||
| [2008/06/20 02:11:37] <Volcane> yeah | ||
| [2008/06/20 02:11:51] <zipkid> Goodmorning btw! :-) | ||
| [2008/06/20 02:11:53] <Volcane> prolly not, but its a good way to verify what the host htings on linux anyway | ||
| [2008/06/20 02:12:19] <mcbride> it tries to run 'dnstomainame' and 'domainname', then falls back to parsing resolv.conf | ||
| [2008/06/20 02:12:30] <Volcane> freebsd also doesnt have the -f option, but well its a mostly safe assumption thesedays that ppl are on linux :) | ||
| [2008/06/20 02:12:42] <mcbride> ARGH! | ||
| [2008/06/20 02:12:49] <Volcane> lol | ||
| [2008/06/20 02:12:59] <mcbride> got lots of s/Unix/Linux/ to do on the puppet wiki, then. | ||
| [2008/06/20 02:13:08] * Volcane ditched loads of bsd machines recently :( | ||
| [2008/06/20 02:14:33] <Volcane> anyway, time to go home, 6am b/w cutover done, at the dc at 6am just sux | ||
| [2008/06/20 02:19:48] <runlevel> ok so i can write my own facts now and deliver them to clients but how can i change default facts such as "fqdn" | ||
| [2008/06/20 02:27:38] @ Maliuta joined channel #puppet | ||
| [2008/06/20 02:30:01] @ Quit: hessml: "Leaving..." | ||
| [2008/06/20 02:36:03] <Volcane> runlevel: change the source - convince your box it has a new hostname. | ||
| [2008/06/20 02:41:20] @ hessml joined channel #puppet | ||
| [2008/06/20 02:44:39] <Volcane> (not the source code i mean :P) | ||
| [2008/06/20 03:02:11] @ Quit: Ol_: | ||
| [2008/06/20 03:05:40] @ Quit: hessml: "Leaving..." | ||
| [2008/06/20 03:12:32] <zipkid> are the facter facts RO or RW variables...? | ||
| [2008/06/20 03:16:26] <Volcane> ro | ||
| [2008/06/20 03:16:51] <Volcane> in puppet generally when somethings assigned, you cant change the assignment anyway | ||
| [2008/06/20 03:18:47] <zipkid> brb | ||
| [2008/06/20 03:18:50] @ Quit: zipkid: "leaving" | ||
| [2008/06/20 03:20:20] @ zipkid joined channel #puppet | ||
| [2008/06/20 03:20:30] <zipkid> hi | ||
| [2008/06/20 03:22:24] @ Quit: zipkid: Client Quit | ||
| [2008/06/20 03:23:03] @ zipkid joined channel #puppet | ||
| [2008/06/20 03:24:47] <Volcane> runlevel: http://pastie.org/218650 its totally up to your hostname. | ||
| [2008/06/20 03:25:29] <runlevel> excellant, thats all i needed to know. thanks | ||
| [2008/06/20 03:26:25] @ tim|macbook joined channel #puppet | ||
| [2008/06/20 03:36:37] @ Quit: jvanzyl: | ||
| [2008/06/20 03:38:43] @ DerekW joined channel #puppet | ||
| [2008/06/20 03:45:16] <Volcane> runlevel: if you have nscd on your machine you might need to clear its cache before facter will pick up the change | ||
| [2008/06/20 04:32:10] @ Quit: rcoup: | ||
| [2008/06/20 04:33:12] @ Quit: randybias: | ||
| [2008/06/20 04:49:37] @ Quit: DerekW: Read error: 110 (Connection timed out) | ||
| [2008/06/20 05:01:28] @ rakslice joined channel #puppet | ||
| [2008/06/20 05:01:36] @ Quit: rakslice_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 05:05:33] @ Quit: Soahc_: Remote closed the connection | ||
| [2008/06/20 05:05:37] @ Soahc joined channel #puppet | ||
| [2008/06/20 05:05:43] @ Quit: auxesis: Remote closed the connection | ||
| [2008/06/20 05:05:51] @ Quit: evil_steve: Remote closed the connection | ||
| [2008/06/20 05:05:55] @ auxesis joined channel #puppet | ||
| [2008/06/20 05:05:57] @ evil_steve joined channel #puppet | ||
| [2008/06/20 05:06:49] @ Quit: e^ipi: Remote closed the connection | ||
| [2008/06/20 05:07:32] @ e^ipi joined channel #puppet | ||
| [2008/06/20 05:08:55] @ yure joined channel #puppet | ||
| [2008/06/20 05:10:28] @ e^ipi left channel #puppet ("Leaving") | ||
| [2008/06/20 05:31:35] @ Quit: jsgotangco: "don't" | ||
| [2008/06/20 05:47:19] @ DerekW joined channel #puppet | ||
| [2008/06/20 05:52:23] @ glaw joined channel #puppet | ||
| [2008/06/20 06:30:57] @ keithlard joined channel #puppet | ||
| [2008/06/20 06:31:21] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/06/20 06:31:40] @ shadoi joined channel #puppet | ||
| [2008/06/20 06:37:21] @ Quit: neh: Read error: 110 (Connection timed out) | ||
| [2008/06/20 06:41:55] @ sparanjape joined channel #puppet | ||
| [2008/06/20 06:42:41] @ rcoup joined channel #puppet | ||
| [2008/06/20 06:44:27] @ Quit: DerekW: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 06:45:20] @ DerekW joined channel #puppet | ||
| [2008/06/20 06:46:15] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/06/20 06:48:40] @ tim|mb joined channel #puppet | ||
| [2008/06/20 06:54:33] @ Quit: raphink: "Ichthux - Linux for Christians - http://www.ichthux.com" | ||
| [2008/06/20 06:59:06] @ Quit: tim|macbook: Read error: 110 (Connection timed out) | ||
| [2008/06/20 07:00:04] @ raphink joined channel #puppet | ||
| [2008/06/20 07:04:43] @ Quit: shadoi: Read error: 110 (Connection timed out) | ||
| [2008/06/20 07:14:45] @ kambiz joined channel #puppet | ||
| [2008/06/20 07:17:26] @ Quit: glaw: | ||
| [2008/06/20 07:29:00] @ _zsh joined channel #puppet | ||
| [2008/06/20 07:46:45] @ Quit: kambiz: "Leaving" | ||
| [2008/06/20 07:48:00] @ Quit: mikearr: Read error: 110 (Connection timed out) | ||
| [2008/06/20 07:49:29] @ mikearr joined channel #puppet | ||
| [2008/06/20 08:00:23] <silent-ion> Hi | ||
| [2008/06/20 08:00:25] <silent-ion> has this irc channel the archive ? | ||
| [2008/06/20 08:00:40] <f3ew> no | ||
| [2008/06/20 08:02:06] <silent-ion> :-( bad | ||
| [2008/06/20 08:09:30] <zipkid> Westvleteren !!!!!!!! | ||
| [2008/06/20 08:13:30] <DerekW> Waar?!? | ||
| [2008/06/20 08:22:19] <tim|mb> Wanneer?!? | ||
| [2008/06/20 08:25:40] @ kenvandine joined channel #puppet | ||
| [2008/06/20 08:26:43] @ Gh0sty joined channel #puppet | ||
| [2008/06/20 08:26:56] <Gh0sty> hello | ||
| [2008/06/20 08:27:45] <Gh0sty> I have also the problem that my puppets give "server certificate invalid" | ||
| [2008/06/20 08:28:01] <Gh0sty> i tried to add in the puppetmasterd: certname=ppm | ||
| [2008/06/20 08:28:23] <Gh0sty> but even after a restart of the puppetmasterdaemon is still see the "normal" hostname of the box ... | ||
| [2008/06/20 08:29:28] <Gh0sty> the box is called in reality servera.company.com but its also known in dns as ppm.company.com | ||
| [2008/06/20 08:29:40] <Gh0sty> http://reductivelabs.com/trac/puppet/wiki/RubySSL-2007-006 | ||
| [2008/06/20 08:29:46] <Gh0sty> running centos 5.1 | ||
| [2008/06/20 08:30:59] <Gh0sty> any pointers in the right direction would be welcome :| | ||
| [2008/06/20 08:31:04] <Volcane> Gh0sty: not yet gotten it to work with anything other than certname=puppet and cnames everywhere so stuff can access it as 'puppet' | ||
| [2008/06/20 08:31:26] <Volcane> everytime i tried to change it to use any other hostname, its failed | ||
| [2008/06/20 08:31:44] <Volcane> so now i just make it 'puppet' and try not to think about it :) | ||
| [2008/06/20 08:32:34] <Gh0sty> oh so if i define certname=puppet and change dns to puppet.company.com that should work? | ||
| [2008/06/20 08:32:48] <Gh0sty> ok lets give it a try ... | ||
| [2008/06/20 08:34:57] @ MrProper__ joined channel #puppet | ||
| [2008/06/20 08:35:45] @ LBo joined channel #puppet | ||
| [2008/06/20 08:36:05] <LBo> Hi all, I run this line on the client: puppetd --no-daemonize --environment development --test --noop true | ||
| [2008/06/20 08:36:17] <LBo> And I expected it to not sync the config | ||
| [2008/06/20 08:36:30] <LBo> But it does create the files, et cetera | ||
| [2008/06/20 08:36:50] <LBo> I thought -noop prevented that | ||
| [2008/06/20 08:37:08] <LBo> It outputs: | ||
| [2008/06/20 08:37:09] <LBo> notice: Starting catalog run | ||
| [2008/06/20 08:37:12] <LBo> notice: //Node[basil.vanutsteen.nl]/custom_scripts/File[/usr/local/sbin/installedpackages]/ensure: created | ||
| [2008/06/20 08:37:46] <zipkid> DerekW: tim|mb hier op mijn bureau! | ||
| [2008/06/20 08:38:11] <MrProper__> what checks does puppet do for ssl, ie i do puppetd --test (on the client, it generates the client cert) then on the puppetmaster: puppetca --sign server.domainname.com, then on the client run puppetd --test again, i see it gets the signed certificate then gets: "Certificates were not trusted: certificate verify failed" | ||
| [2008/06/20 08:42:13] <Gh0sty> MrProper__: i just posted here the same | ||
| [2008/06/20 08:42:18] <Gh0sty> 1 min before you came in | ||
| [2008/06/20 08:42:22] <Gh0sty> http://reductivelabs.com/trac/puppet/wiki/RubySSL-2007-006 | ||
| [2008/06/20 08:42:42] <MrProper__> oh really, thanks | ||
| [2008/06/20 08:43:02] <Gh0sty> looking into the same problem :/ | ||
| [2008/06/20 08:44:05] <tim|mb> LBo: did you check if the file was actually created or if puppet just says it's created? | ||
| [2008/06/20 08:44:46] <LBo> tim|mb: it is created | ||
| [2008/06/20 08:44:53] <LBo> and the permission are all set | ||
| [2008/06/20 08:44:59] <LBo> Just how I set it up in the config | ||
| [2008/06/20 08:45:08] <LBo> Except is shouldn't do that :) | ||
| [2008/06/20 08:45:20] <tim|mb> spank it hard!! | ||
| [2008/06/20 08:45:21] <tim|mb> er | ||
| [2008/06/20 08:45:28] <tim|mb> i mean, sorry, no idea why it does that, then... | ||
| [2008/06/20 08:45:46] <LBo> I've now got the ubuntu package installed | ||
| [2008/06/20 08:45:51] <LBo> I'll try the gem | ||
| [2008/06/20 08:46:01] <tim|mb> which version does ubuntu ship? | ||
| [2008/06/20 08:46:15] <LBo> 0.24.3 I believe | ||
| [2008/06/20 08:46:27] <LBo> 0.24.4-3 | ||
| [2008/06/20 08:46:28] <tim|mb> that's latest, or close to latest | ||
| [2008/06/20 08:55:39] @ Quit: rcoup: | ||
| [2008/06/20 08:56:54] <MrProper__> Gh0sty, what version are you running though? | ||
| [2008/06/20 08:59:58] <MrProper__> the issue i was saying about "certificate verify failed" is not related to that | ||
| [2008/06/20 09:08:41] <Gh0sty> 0.24.4 | ||
| [2008/06/20 09:09:02] <Gh0sty> but the affected systems contains rhel 5.1 and thats what i am running ... | ||
| [2008/06/20 09:09:51] <MrProper__> Gh0sty, mines a strange one, i ran this client signed it fine. then moved these boxes to different ip's now it gives me this error | ||
| [2008/06/20 09:10:23] <Gh0sty> hm ok thats something else | ||
| [2008/06/20 09:10:31] <Gh0sty> mine works now | ||
| [2008/06/20 09:10:33] <Gh0sty> thx Volcane | ||
| [2008/06/20 09:11:42] @ kambiz joined channel #puppet | ||
| [2008/06/20 09:15:13] <MrProper__> this is bizarre, i've changed my hostname on my puppet server to be puppet.domainname.com stripped both the client and puppetmasters /var/lib/puppet/ssl directories | ||
| [2008/06/20 09:15:23] <MrProper__> generated new ssl certs for ca and client | ||
| [2008/06/20 09:15:30] <MrProper__> get the signed cert | ||
| [2008/06/20 09:15:39] <MrProper__> then the client still says err: Could not retrieve catalog: Certificates were not trusted: certificate verify failed | ||
| [2008/06/20 09:24:05] @ strerror_work joined channel #puppet | ||
| [2008/06/20 09:30:00] <tim|mb> what's the puppet way to remove some external resources from mysql? | ||
| [2008/06/20 09:30:33] <zipkid> MrProper__: i am having an ungoing battle with puppet certificates too.... | ||
| [2008/06/20 09:30:39] <zipkid> oops | ||
| [2008/06/20 09:30:44] <zipkid> s/un/on/ | ||
| [2008/06/20 09:31:14] <MrProper__> zipkid, aye it seems its usually the biggest problems i have a cert related | ||
| [2008/06/20 09:37:58] @ Innocenti joined channel #puppet | ||
| [2008/06/20 09:39:17] @ shenson_not_here is now known as shenson | ||
| [2008/06/20 09:48:09] <MrProper__> lol i found my issue | ||
| [2008/06/20 09:48:41] <MrProper__> if your client clock is out too far you will get Certificates were not trusted: certificate verify failed | ||
| [2008/06/20 09:49:27] @ gozippycmc joined channel #puppet | ||
| [2008/06/20 09:50:31] @ jvanzyl joined channel #puppet | ||
| [2008/06/20 09:57:51] <MrProper__> ie the client im looking at has a time in 2002 some where so the cert it recieves signed is not yet valid | ||
| [2008/06/20 09:58:04] <Gh0sty> lol MrProper__ if your clocks are out too far the whole company can go down ... | ||
| [2008/06/20 09:58:09] <Gh0sty> at least in my business :p | ||
| [2008/06/20 09:58:29] <Gh0sty> first thing i was actually fixing here with puppet is an ntpdclass ;) | ||
| [2008/06/20 09:58:54] <MrProper__> Gh0sty, lol yeah thats usually the first thing i do at a new company, | ||
| [2008/06/20 09:59:02] <MrProper__> problem is this box must have a bad cmos | ||
| [2008/06/20 09:59:14] <MrProper__> and when its that far out, ntp doesnt resolve that | ||
| [2008/06/20 10:00:38] @ lak joined channel #puppet | ||
| [2008/06/20 10:01:20] @ Quit: svend: Remote closed the connection | ||
| [2008/06/20 10:07:02] <Disconnect> ntpdate, then ntp | ||
| [2008/06/20 10:07:13] <Disconnect> afaik ubuntu is set that way automatically if you install both | ||
| [2008/06/20 10:07:19] <Disconnect> covers just that problem :) | ||
| [2008/06/20 10:09:39] @ LBo left channel #puppet ("WeeChat 0.2.6") | ||
| [2008/06/20 10:11:16] @ Quit: Innocenti: Client Quit | ||
| [2008/06/20 10:23:40] @ jbrothers joined channel #puppet | ||
| [2008/06/20 10:26:00] @ llamech is now known as lamech | ||
| [2008/06/20 10:30:58] @ hiffy joined channel #puppet | ||
| [2008/06/20 10:31:07] @ Quit: hiffy: Client Quit | ||
| [2008/06/20 10:31:34] @ hiffy joined channel #puppet | ||
| [2008/06/20 10:41:29] @ brscott joined channel #puppet | ||
| [2008/06/20 10:42:59] <Disconnect> grr. any ideas? it was working yesterday and afaik nothing actually got changed re munin support. "Exported resource File[/var/lib/puppet/modules/munin/nodes/beta.foo_4949] cannot override local resource on node mgmt-master.foo" | ||
| [2008/06/20 10:43:03] @ brscott left channel #puppet () | ||
| [2008/06/20 10:44:11] @ shenson is now known as shenson_not_here | ||
| [2008/06/20 10:45:30] <MrProper__> Disconnect, i get that when i've changed ssl certs | ||
| [2008/06/20 10:45:36] <Disconnect> hmm | ||
| [2008/06/20 10:45:46] <Disconnect> whats your fix? --clean and resign? | ||
| [2008/06/20 10:45:49] <MrProper__> Disconnect, havent found a way around it | ||
| [2008/06/20 10:45:53] <Disconnect> ah | ||
| [2008/06/20 10:46:06] <MrProper__> Disconnect, i only collect ssh host keys so i usually disable that collection.... | ||
| [2008/06/20 10:46:18] <Disconnect> thats not good. its the master server, which is the only one in this test that can't even pretend to be rebuilt with puppet :( | ||
| [2008/06/20 10:46:32] <MrProper__> ouch | ||
| [2008/06/20 10:46:40] <MrProper__> im off, very late here | ||
| [2008/06/20 10:46:47] <MrProper__> good luck | ||
| [2008/06/20 10:46:50] <Disconnect> thanks | ||
| [2008/06/20 10:46:51] <Disconnect> ttyl | ||
| [2008/06/20 10:49:20] @ markl__ joined channel #puppet | ||
| [2008/06/20 10:50:44] @ Quit: sparanjape: "When the chips are down, well, the buffalo is empty" | ||
| [2008/06/20 10:51:31] @ shenson_not_here is now known as shenson | ||
| [2008/06/20 10:53:03] @ Quit: gozippycmc: "Leaving" | ||
| [2008/06/20 10:54:06] <Disconnect> oooooh. i've got beta.foo and beta.test.foo listed somehow | ||
| [2008/06/20 10:54:18] <Disconnect> hmmm | ||
| [2008/06/20 10:54:50] @ ski98033 joined channel #puppet | ||
| [2008/06/20 11:01:29] <Disconnect> MrProper__: fyi removing the offending file (and key) and restarting puppetmaster seems to have worked. but we'll see.. | ||
| [2008/06/20 11:02:54] @ muerr joined channel #puppet | ||
| [2008/06/20 11:06:19] <Disconnect> hmm. any way to say "if its already mounted don't screw with it"? getting tons of failed dependencies because the mounts are already mounted (by the fstab entries puppet itself created, I might add..) | ||
| [2008/06/20 11:08:08] @ LBo joined channel #puppet | ||
| [2008/06/20 11:08:26] <LBo> Hi all | ||
| [2008/06/20 11:08:36] <LBo> Could somebody help me with some issue I am having? | ||
| [2008/06/20 11:08:51] <LBo> I just can't figure out why it doesn't work | ||
| [2008/06/20 11:09:33] <lak> Disconnect: what kind of errors? puppet shouldn't change the mounts if they're configured correctly... | ||
| [2008/06/20 11:09:40] <lak> LBo: what kind of issue? | ||
| [2008/06/20 11:09:51] <LBo> With the commandline switches of puppetd | ||
| [2008/06/20 11:10:16] <LBo> I've tried the ubuntu package and I installed the gem: both give the same behaviour | ||
| [2008/06/20 11:10:25] <LBo> For example, when I do: puppetd --no-daemonize --noop | ||
| [2008/06/20 11:10:31] <LBo> It still daemonizes | ||
| [2008/06/20 11:11:48] <LBo> And I have one recipe: to make sure a file exists | ||
| [2008/06/20 11:11:53] @ hessml joined channel #puppet | ||
| [2008/06/20 11:12:02] <LBo> And it still creates the file if I use --noop | ||
| [2008/06/20 11:12:23] <LBo> Looks like if puppetd is ignoring my switches | ||
| [2008/06/20 11:13:06] <lak> then, um, you must have something really strange going on | ||
| [2008/06/20 11:13:16] <lak> that's not puppet, that's something in your environment | ||
| [2008/06/20 11:13:44] <LBo> lak: I'll try with a new user | ||
| [2008/06/20 11:28:06] @ hessml is now known as hessml|away | ||
| [2008/06/20 11:31:08] <LBo> lak: --onetime does what I want | ||
| [2008/06/20 11:31:16] <lak> you should probably just use --test | ||
| [2008/06/20 11:31:22] <lak> that will get you nearly everything you want, i expect | ||
| [2008/06/20 11:31:50] <LBo> lak: that's what I want indeed | ||
| [2008/06/20 11:32:09] <LBo> lak: it think I was just using the wrong commandline switches mixed | ||
| [2008/06/20 11:33:42] <LBo> lak: but --noop still won't listen to me | ||
| [2008/06/20 11:33:57] <lak> i still think there's something weird going on, then | ||
| [2008/06/20 11:34:04] <lak> i dunno what, but i know that works normally | ||
| [2008/06/20 11:34:14] <lak> do you have a vanilla install? | ||
| [2008/06/20 11:34:26] <LBo> Yes, installed yesterday | ||
| [2008/06/20 11:34:33] <LBo> Commandline + puppet | ||
| [2008/06/20 11:35:03] <Disconnect> sorry, was in a meeting discussing puppet :) back now, the errors are "Jun 20 11:30:21 beta puppetd[7400]: (//Node[default]/webserver/webserver-mounts/Mount[host60]/ensure) change from present to mounted failed: Execution of '/bin/mount -o ro,defaults /mnt/host60/' returned 8192: mount.nfs: /mnt/host60 is busy or already mounted" | ||
| [2008/06/20 11:35:06] <Disconnect> ..cuz its already mounted | ||
| [2008/06/20 11:35:07] <LBo> The class uses "source => puppet://", is that maybe why --noop is ignored? | ||
| [2008/06/20 11:37:13] <Disconnect> hmm. umounted it, reran puppet, it mounted it and was happy. reran puppet and it went back to blowing up. | ||
| [2008/06/20 11:42:40] <Disconnect> and since several services and mounts (legitimately) depend on that one.. its kinda hosing up everything :( | ||
| [2008/06/20 11:42:43] <muerr> Disconnect: pastie your manifest with your mount resource. | ||
| [2008/06/20 11:43:54] <Disconnect> http://pastie.org/218894 | ||
| [2008/06/20 11:44:12] <lak> Disconnect: what platform? it's clear that puppet is not realizing that the mount is already mounted | ||
| [2008/06/20 11:44:21] <Disconnect> had user/group on the mountpoint but since its set by the far side that upset it quite a bit | ||
| [2008/06/20 11:44:24] <Disconnect> ubuntu | ||
| [2008/06/20 11:44:28] <lak> you can check lib/puppet/provider/mount.rb to see how it checks | ||
| [2008/06/20 11:45:00] @ Quit: hessml|away: "Leaving..." | ||
| [2008/06/20 11:45:09] <Disconnect> 'change from present to mounted'.. i wonder if the "create the mountpoint, then use it" is confusing it | ||
| [2008/06/20 11:46:39] <lak> i don't think so | ||
| [2008/06/20 11:46:51] <lak> it's just confused, it's not getting good info back on whether the fs is mounted | ||
| [2008/06/20 11:48:09] <lak> it just reads the output of 'mount' to see if it's mounted | ||
| [2008/06/20 11:48:18] <lak> looks for ' on <name> ' in the output | ||
| [2008/06/20 11:48:24] <lak> is that present, on the host? | ||
| [2008/06/20 11:49:45] <Disconnect> yep | ||
| [2008/06/20 11:50:24] <Disconnect> and there are 11 other mounts that work fine | ||
| [2008/06/20 11:50:40] <Disconnect> there's a symlink assocated, lemme add that to the pastie | ||
| [2008/06/20 11:51:10] <Disconnect> updated | ||
| [2008/06/20 11:55:23] <Gh0sty> can i define things myself? something like that "mode" command used in puppet? :/ | ||
| [2008/06/20 11:55:48] <lak> Disconnect: seems like it should work, i don't know | ||
| [2008/06/20 11:55:58] <Disconnect> ya :( | ||
| [2008/06/20 11:56:07] <Gh0sty> because for selinux not only mode is important, it changes also selinux stuff when it fetches a new file from the puppet fileserver ... :/ | ||
| [2008/06/20 11:57:03] @ hessml joined channel #puppet | ||
| [2008/06/20 11:57:21] @ magnachef_ joined channel #puppet | ||
| [2008/06/20 11:59:11] @ magnachef__ joined channel #puppet | ||
| [2008/06/20 12:01:17] @ Quit: LBo: "WeeChat 0.2.6" | ||
| [2008/06/20 12:08:06] @ Quit: tim|mb: "This computer has gone to sleep" | ||
| [2008/06/20 12:11:56] @ Quit: jvanzyl: | ||
| [2008/06/20 12:13:55] <Volcane> Gh0sty: yes | ||
| [2008/06/20 12:16:24] @ Quit: magnachef_: Read error: 110 (Connection timed out) | ||
| [2008/06/20 12:16:58] @ magnachef_ joined channel #puppet | ||
| [2008/06/20 12:21:16] @ Quit: Wakko666: "Leaving." | ||
| [2008/06/20 12:23:09] <Gh0sty> hm i found i can just do it with restorecon filename | ||
| [2008/06/20 12:23:32] <Gh0sty> but in a file { "filename" ... construct can i define there something like: | ||
| [2008/06/20 12:24:00] <Gh0sty> notify => Exec[restorecon $filename] | ||
| [2008/06/20 12:24:35] <Gh0sty> with $filename the name which you can find in the file definition? :/ | ||
| [2008/06/20 12:25:12] <Volcane> you can make a securefile define of your own | ||
| [2008/06/20 12:25:17] <Volcane> so like | ||
| [2008/06/20 12:25:19] <Gh0sty> am looking around a bit for examples, but it seems its not used a lot (if it is possible) | ||
| [2008/06/20 12:25:28] <Volcane> securefile{"/etc/blah": source => ..... } | ||
| [2008/06/20 12:25:50] <Volcane> and in the define, you can call file{$name: ....} and exec{"restorecon-$name":....} | ||
| [2008/06/20 12:26:55] @ Quit: hessml: "Leaving..." | ||
| [2008/06/20 12:26:57] <Volcane> http://nephilim.ml.org/~rip/puppet/apache/manifests/vhost.pp thats a sample define that creates several file etc | ||
| [2008/06/20 12:27:58] <Volcane> so you can do something similar, make file, set pers etc | ||
| [2008/06/20 12:28:55] @ jvanzyl joined channel #puppet | ||
| [2008/06/20 12:29:21] <Gh0sty> hm ok i think i follow you, came accross something similar just a minute ago ... | ||
| [2008/06/20 12:29:59] <Volcane> official doco on the idea is here http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#definitions | ||
| [2008/06/20 12:31:09] @ Quit: DerekW: "Leaving" | ||
| [2008/06/20 12:32:36] @ Quit: runlevel: "Leaving" | ||
| [2008/06/20 12:33:31] @ Quit: magnachef_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 12:34:59] @ Wakko666 joined channel #puppet | ||
| [2008/06/20 12:36:41] @ Quit: magnachef__: Read error: 110 (Connection timed out) | ||
| [2008/06/20 12:37:50] @ jlord joined channel #puppet | ||
| [2008/06/20 12:43:26] @ plathrop joined channel #puppet | ||
| [2008/06/20 12:48:41] <Gh0sty> Volcane: something like this then: http://pastie.org/218936 | ||
| [2008/06/20 12:49:47] <Gh0sty> with the resetpolicy then being universal usable by each file definition i make (well if i put it outside the class that is) | ||
| [2008/06/20 12:56:49] <Volcane> you need to give those exec's unique names | ||
| [2008/06/20 12:56:52] <Volcane> so | ||
| [2008/06/20 12:57:05] <Volcane> "${name}-restorecon" | ||
| [2008/06/20 12:57:08] <Volcane> or some such | ||
| [2008/06/20 12:57:17] <Volcane> else if you use that define more than once, you'll have clashing defines | ||
| [2008/06/20 12:57:33] @ Quit: jvanzyl: | ||
| [2008/06/20 12:57:46] <Volcane> and you've some missing }'s in there i think | ||
| [2008/06/20 12:58:15] <Volcane> or I am having end-of-day-reading-issues :) | ||
| [2008/06/20 13:04:09] @ Quit: lak: Read error: 110 (Connection timed out) | ||
| [2008/06/20 13:04:36] @ Quit: kambiz: "Leaving" | ||
| [2008/06/20 13:13:06] @ magnachef__ joined channel #puppet | ||
| [2008/06/20 13:17:44] @ Quit: hacim: Remote closed the connection | ||
| [2008/06/20 13:19:50] @ Quit: tim|imac: "Leaving" | ||
| [2008/06/20 13:19:52] @ hessml joined channel #puppet | ||
| [2008/06/20 13:21:05] @ Quit: hessml: Client Quit | ||
| [2008/06/20 13:22:34] @ shake-n-bake joined channel #puppet | ||
| [2008/06/20 13:23:16] @ tim|imac joined channel #puppet | ||
| [2008/06/20 13:23:40] @ hessml joined channel #puppet | ||
| [2008/06/20 13:24:47] @ jvanzyl joined channel #puppet | ||
| [2008/06/20 13:31:51] @ Quit: hessml: "Leaving..." | ||
| [2008/06/20 13:32:27] @ brscott joined channel #puppet | ||
| [2008/06/20 13:33:40] @ neh joined channel #puppet | ||
| [2008/06/20 13:34:20] @ brscott left channel #puppet () | ||
| [2008/06/20 13:43:16] @ Quit: magnachef__: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 13:43:33] <tim|imac> hey all... i know this is not a general help channel, but i know there are some knowledgable people here... is there an rfc condition that specifically disallows rfc1918 addresses from public dns? | ||
| [2008/06/20 13:46:08] @ Quit: jshar1: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 13:46:29] * plathrop is relatively RFC-ignorant | ||
| [2008/06/20 13:46:31] @ Quit: _zsh: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 13:47:31] <Gh0sty> Volcane: hmm it seems i cannot use that define inside my file class? :/ | ||
| [2008/06/20 13:48:02] <Gh0sty> i fixed the things you mentioned but get back that it expect a } before i start using that resetpolicy | ||
| [2008/06/20 13:49:03] <Gh0sty> http://pastie.org/218980 | ||
| [2008/06/20 13:51:28] @ jshare joined channel #puppet | ||
| [2008/06/20 13:51:40] @ hessml joined channel #puppet | ||
| [2008/06/20 13:52:37] @ Quit: jlord: | ||
| [2008/06/20 13:54:00] @ jlord joined channel #puppet | ||
| [2008/06/20 13:55:07] @ sjmh joined channel #puppet | ||
| [2008/06/20 14:03:00] <Volcane> Gh0sty: its a syntax error, you're missing {}s | ||
| [2008/06/20 14:03:12] <Volcane> Gh0sty: also, dont define it inside a class, just put it soewhere and import it | ||
| [2008/06/20 14:03:46] <Volcane> Gh0sty: so the concept is, define soething that doe a few things, say, fetch a file then run restorecon on that file, then in your class all you do is | ||
| [2008/06/20 14:03:56] <Volcane> resetpolicy{"/etc/blah": } | ||
| [2008/06/20 14:04:11] <Volcane> it will then go through the stuff thats in the define, pull in the file, run restorecon | ||
| [2008/06/20 14:04:14] @ kambiz joined channel #puppet | ||
| [2008/06/20 14:04:54] <Volcane> yeah you're syntax there is all screwed, hold on | ||
| [2008/06/20 14:11:31] <Volcane> so I've not tested this, but it should be roughly right http://pastie.org/218999 | ||
| [2008/06/20 14:11:45] <Volcane> so the last line is all you'd go and put in your class | ||
| [2008/06/20 14:12:16] <Volcane> and you can make it more generic by for example making it so you can pass the service name as an argument rather than hardcode ssh | ||
| [2008/06/20 14:12:47] <Volcane> then you have a method to distribute any service config that require restorecon | ||
| [2008/06/20 14:13:23] <Volcane> or remove the service stuff all together and just use it to distribute files needing restorecon, making the service bits depend on this or be notified by this | ||
| [2008/06/20 14:13:41] <emerose> hm. can someone remind me of what --waitforcert is supposed to do? | ||
| [2008/06/20 14:14:26] <plathrop> emerose: If it is set to a value > 0 it makes puppetd wake up and ask for a cert every N minutes | ||
| [2008/06/20 14:14:41] <emerose> yeah, that's what I thought. hm | ||
| [2008/06/20 14:14:48] <plathrop> emerose: If set to 0, it makes puppetd just shutdown if it doesn't get a cert | ||
| [2008/06/20 14:14:53] <emerose> so if I have --waitforcert 30 and --test (which includes --onetime), is that supposed to exit after failing to get a cert? | ||
| [2008/06/20 14:14:58] <emerose> (because it does) | ||
| [2008/06/20 14:15:04] <plathrop> emerose: Probably | ||
| [2008/06/20 14:15:16] <emerose> grumble | ||
| [2008/06/20 14:15:19] <plathrop> I think the --onetime overrides it | ||
| [2008/06/20 14:15:24] <Volcane> Gh0sty: something like this http://pastie.org/219005 | ||
| [2008/06/20 14:15:45] <emerose> is there a way to get the thing to wait for a cert, and *then* run once? | ||
| [2008/06/20 14:16:21] <emerose> basically, I'm trying to run puppet as part of an install process -- and I'd like puppet to run once before the box reboots into the new OS | ||
| [2008/06/20 14:16:22] <plathrop> emerose: Not that I am immediately aware of. What problem are you trying to solve? | ||
| [2008/06/20 14:16:33] <plathrop> Gotcha. | ||
| [2008/06/20 14:16:46] <Volcane> surely waitforcert is a blocking operation, ance once its done you can just run puppet again? | ||
| [2008/06/20 14:16:48] <plathrop> What we do is put the manifests on the machine and run puppet (no d) | ||
| [2008/06/20 14:16:51] <emerose> this is debian -- so, I want to run puppet at the end of the d-i process... | ||
| [2008/06/20 14:17:01] <emerose> ah | ||
| [2008/06/20 14:17:36] * Volcane goes home, 19:15 on a friday and still at work, pft. | ||
| [2008/06/20 14:17:42] <emerose> Volcane: no, it's not blocking... | ||
| [2008/06/20 14:17:51] <Volcane> emerose: --no-daemonize :P | ||
| [2008/06/20 14:17:54] @ Quit: edibrac1: Read error: 110 (Connection timed out) | ||
| [2008/06/20 14:18:17] <Volcane> maybe it'll exit after getting a cert then? | ||
| [2008/06/20 14:18:17] <emerose> hm | ||
| [2008/06/20 14:18:21] <Volcane> try it, i am not sure | ||
| [2008/06/20 14:18:22] <emerose> (tsting) | ||
| [2008/06/20 14:18:27] <plathrop> There are other approaches if you don't want to have the manifests on the machine | ||
| [2008/06/20 14:18:37] <plathrop> Why is it important to run it exactly once? | ||
| [2008/06/20 14:19:54] <emerose> doesn't need to be exact -- just that puppet is what sets up the networking stuff among other things, so if it doesn't run at least once, the box won't boot right | ||
| [2008/06/20 14:20:07] <emerose> and it has to stop running at some point, or else the install will never finish | ||
| [2008/06/20 14:21:10] <emerose> Volcane: brilliant! that seems to be working... | ||
| [2008/06/20 14:21:27] @ AimanA joined channel #puppet | ||
| [2008/06/20 14:22:10] <emerose> i think | ||
| [2008/06/20 14:22:12] <emerose> hm | ||
| [2008/06/20 14:26:54] <emerose> no, it never seems to exit then | ||
| [2008/06/20 14:26:55] <emerose> nuts | ||
| [2008/06/20 14:29:12] <jason^> if i want to create a directory tree /usr/local/snort/etc/rules, can i do this? file { "/usr","/usr/local","/usr/local/snort","/usr/local/snort/etc","/usr/local/snort/etc/rules": ensure => directory } it didn't seem to work | ||
| [2008/06/20 14:32:47] @ edibrac1 joined channel #puppet | ||
| [2008/06/20 14:32:50] <emerose> now that's weird. --test exits immediately after failing to get a cert. but --verbose --onetime --no-daemonize seems to keep trying | ||
| [2008/06/20 14:40:55] <rakslice> hey all... | ||
| [2008/06/20 14:41:38] <spheromak> --no-daemonize just forces it to the foreground doesn't change the behavior (i..e. run on a schedule) | ||
| [2008/06/20 14:41:58] <rakslice> if the packaging provider I'm using is versionable, can I access the version info of an installed package from within the manifest? | ||
| [2008/06/20 14:49:44] @ edibrac2 joined channel #puppet | ||
| [2008/06/20 14:49:54] <rakslice> spheromak: could you just have it explicitly loop and retry with --onetime until it succeeds? | ||
| [2008/06/20 14:50:28] <spheromak> rakslice i dunno was looking into ways to get it to run once and exit | ||
| [2008/06/20 14:52:01] @ Quit: edibrac1: Read error: 113 (No route to host) | ||
| [2008/06/20 14:56:53] @ hessml is now known as hessml|away | ||
| [2008/06/20 14:57:11] @ pleemans joined channel #puppet | ||
| [2008/06/20 14:57:25] <spheromak> puppetd --verbose --onetime --no-daemonize worked for me | ||
| [2008/06/20 14:57:34] <spheromak> ran once and exited | ||
| [2008/06/20 14:58:09] <spheromak> emerose: if you jsut need to run some specific classes you can add in --tags as well | ||
| [2008/06/20 14:59:17] <emerose> yeah. i'm just surprised that the behavior of --verbose --onetime --no-daemonize is different from --test | ||
| [2008/06/20 15:04:24] <spheromak> ah | ||
| [2008/06/20 15:10:36] @ flakrat joined channel #puppet | ||
| [2008/06/20 15:17:31] @ hessml|away is now known as hessml | ||
| [2008/06/20 15:20:02] @ LBo joined channel #puppet | ||
| [2008/06/20 15:20:06] <LBo> Hi all | ||
| [2008/06/20 15:20:12] <LBo> I had this noop that didn't work for me | ||
| [2008/06/20 15:20:21] <LBo> So I looked at the source code | ||
| [2008/06/20 15:20:27] <LBo> And I've placed a p Puppet[:noop]; exit just before "if Puppet[:noop]" | ||
| [2008/06/20 15:20:33] <LBo> Ow, this is in bin/puppetd | ||
| [2008/06/20 15:20:40] <LBo> Now I run: /var/lib/gems/1.8/gems/puppet-0.24.4/bin/puppetd --test --verbose --debug --noop | ||
| [2008/06/20 15:20:49] <LBo> And it prints "false" | ||
| [2008/06/20 15:21:02] <LBo> why isn't the --noop argument parsed? | ||
| [2008/06/20 15:21:21] <LBo> If I do a "p options.inspect", there's no :noop item | ||
| [2008/06/20 15:21:47] @ Quit: keithlard: | ||
| [2008/06/20 15:26:14] <Gh0sty> Volcane: i see | ||
| [2008/06/20 15:26:20] <Gh0sty> hmm have a lot to learn ... :p | ||
| [2008/06/20 15:27:05] @ Quit: kambiz: "Leaving" | ||
| [2008/06/20 15:27:10] <Gh0sty> just getting started with puppet, the examples on the site could be simpler though :p | ||
| [2008/06/20 15:35:10] <Volcane> Gh0sty: get the book | ||
| [2008/06/20 15:36:20] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/06/20 15:36:22] <Gh0sty> there is a book? :p | ||
| [2008/06/20 15:37:17] <fsweetser> http://www.amazon.com/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780/ref=sr_1_1?ie=UTF8&s=books&qid=1213990623&sr=8-1 | ||
| [2008/06/20 15:37:35] <LBo> If I print $* I get: ["--test", "--verbose", "--debug", "--noop"] | ||
| [2008/06/20 15:38:51] <Gh0sty> hm cool, monday i'll order it | ||
| [2008/06/20 15:39:02] <Gh0sty> want to get the bottom out of it ... :p | ||
| [2008/06/20 15:53:56] @ magnachef__ joined channel #puppet | ||
| [2008/06/20 15:56:06] @ Quit: barnbarn_: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 15:56:13] @ barnbarn joined channel #puppet | ||
| [2008/06/20 15:58:07] <LBo> Ok, before "Puppet.parse_config" the value of Puppet[:noop] is OK | ||
| [2008/06/20 15:58:14] <LBo> After that line, it is changed back to "false" | ||
| [2008/06/20 15:58:20] <LBo> That's not OK | ||
| [2008/06/20 16:00:13] <LBo> So, somewhere in Puppet.parse_config() it goes wrong | ||
| [2008/06/20 16:01:06] @ ashp joined channel #puppet | ||
| [2008/06/20 16:01:24] <ashp> Hmm, redhat open sourced rhn, I wonder if it'll be made less terrible. :) | ||
| [2008/06/20 16:03:11] <LBo> Yes | ||
| [2008/06/20 16:03:15] <LBo> Got it | ||
| [2008/06/20 16:03:38] <LBo> I had to files: /etc/puppet/puppetd.conf & /etc/puppet/puppet.conf | ||
| [2008/06/20 16:04:14] <LBo> puppet first parses /etc/puppet/puppetd.cond (which was almost empty) and then the noop parameter is skipped | ||
| [2008/06/20 16:04:28] <LBo> I've removed the puppetd.conf and it all works well now | ||
| [2008/06/20 16:06:07] <Volcane> ashp: pity it needs oracle atm :( | ||
| [2008/06/20 16:06:19] <jlord> any ideas why the client might be doing this over and over? | ||
| [2008/06/20 16:06:19] <jlord> debug: Calling fileserver.describe | ||
| [2008/06/20 16:06:20] <jlord> debug: Calling fileserver.describe | ||
| [2008/06/20 16:06:20] <jlord> debug: Calling fileserver.list | ||
| [2008/06/20 16:06:33] <Volcane> jlord: thats what it does | ||
| [2008/06/20 16:06:41] <Volcane> jlord: its normal | ||
| [2008/06/20 16:06:43] <jlord> sure | ||
| [2008/06/20 16:07:05] <jlord> we have really high load on the server | ||
| [2008/06/20 16:07:06] <jlord> currently 4+ | ||
| [2008/06/20 16:07:14] <jlord> and i am troubleshooting why that is | ||
| [2008/06/20 16:07:16] <Volcane> the client or the master? | ||
| [2008/06/20 16:07:21] <jlord> the master | ||
| [2008/06/20 16:07:24] <Volcane> how many clients | ||
| [2008/06/20 16:07:31] <jlord> and really high compiled config times | ||
| [2008/06/20 16:07:33] <jlord> approx 76 | ||
| [2008/06/20 16:07:40] <Volcane> running under webrick or mongrel | ||
| [2008/06/20 16:07:43] <jlord> running mongrel + apache | ||
| [2008/06/20 16:07:54] <Volcane> well, compiling configs is a big job | ||
| [2008/06/20 16:07:57] <jlord> 4 mongrels + 4 puppetmasterd | ||
| [2008/06/20 16:08:14] <Volcane> how many clients do you have hitting the master at once? | ||
| [2008/06/20 16:08:27] @ Quit: LBo: "WeeChat 0.2.6" | ||
| [2008/06/20 16:08:32] <jlord> have not determined that yet | ||
| [2008/06/20 16:08:49] @ LBo joined channel #puppet | ||
| [2008/06/20 16:08:54] <jlord> Compiled configuration for vzw15-sea.prod.msrch in 464.83 seconds | ||
| [2008/06/20 16:08:55] <Volcane> well, with 70 odd clients running frequently, a high load like that was fairly normal in the past for me :( | ||
| [2008/06/20 16:09:01] <Volcane> jlord: wow | ||
| [2008/06/20 16:09:06] <jlord> yeah | ||
| [2008/06/20 16:09:14] <jlord> my thoughts exactly | ||
| [2008/06/20 16:09:46] <Volcane> jlord: though i have seen that before, going for mongrel did help in that case though :( but thats pretty bad | ||
| [2008/06/20 16:10:19] <jlord> yes i am thinking it might be something to do with our classes/configs structure | ||
| [2008/06/20 16:10:36] <jlord> perhaps they can be optimized a bit | ||
| [2008/06/20 16:10:43] <Volcane> how many classes per client? | ||
| [2008/06/20 16:11:31] <jlord> on avg. 10 | ||
| [2008/06/20 16:11:56] <Volcane> thats nothing | ||
| [2008/06/20 16:12:04] <jlord> yeah | ||
| [2008/06/20 16:12:08] <jlord> agreed | ||
| [2008/06/20 16:12:47] <Volcane> grep "ruby/object:Puppet::TransObject" /var/lib/puppet/localconfig.yaml|wc -l | ||
| [2008/06/20 16:12:50] <Volcane> one one of your clients | ||
| [2008/06/20 16:13:19] @ lutter joined channel #puppet | ||
| [2008/06/20 16:13:52] <ashp> Volcane: It needs oracle? Ew! | ||
| [2008/06/20 16:14:05] <Volcane> ashp: hopefully someone will fix thsat | ||
| [2008/06/20 16:14:34] <ashp> I'm sure someone will tackle mysql support fast enough, nobody wants to run oracle! | ||
| [2008/06/20 16:14:49] <ashp> I just want a local mirror of RHEL without paying for the service, so I was hoping I could grab this and off I went | ||
| [2008/06/20 16:15:04] <Volcane> ashp: yeah i want to manage my centos boxen, would love it | ||
| [2008/06/20 16:15:50] * Volcane wonders whats up with his GServer based server not logging properly | ||
| [2008/06/20 16:15:50] <jlord> are you suggesting i run that on the master? | ||
| [2008/06/20 16:16:01] <Volcane> jlord: nah just on a client, to confirm your class count | ||
| [2008/06/20 16:16:12] <Volcane> well, resource count really | ||
| [2008/06/20 16:17:00] <jlord> ps13-sea ~]# grep "ruby/object:Puppet::TransObject" /var/lib/puppet/localconfig.yaml|wc -l | ||
| [2008/06/20 16:17:00] <jlord> 111 | ||
| [2008/06/20 16:17:25] <Volcane> jlord: not too bad, shouldnt take 400 seconds to build that | ||
| [2008/06/20 16:17:42] <Volcane> jlord: send mail to the the list :( | ||
| [2008/06/20 16:17:56] <jlord> yup | ||
| [2008/06/20 16:18:00] <jlord> thx for your help | ||
| [2008/06/20 16:18:04] <Volcane> np | ||
| [2008/06/20 16:19:45] @ Quit: lutter: "Leaving." | ||
| [2008/06/20 16:25:55] <ashp> i have to look into zenoss more seriously now | ||
| [2008/06/20 16:26:00] <ashp> they are planning puppet integration | ||
| [2008/06/20 16:26:54] <Volcane> ashp: interesting, link? | ||
| [2008/06/20 16:27:42] @ \ask_ joined channel #puppet | ||
| [2008/06/20 16:28:00] <ashp> puppet-users :) | ||
| [2008/06/20 16:28:14] <ashp> Some guy there said they are pondering a puppet extension to zenoss | ||
| [2008/06/20 16:28:30] <Volcane> ah | ||
| [2008/06/20 16:28:36] <ashp> it would be able to detect when a new host is added to puppet and set up monitoring automatically, and then in reverse alert puppet of any server not managed by it, things like that | ||
| [2008/06/20 16:29:57] <Volcane> sounds like nagios+collect/export | ||
| [2008/06/20 16:30:14] <Volcane> ashp: hows learning ruby going/ | ||
| [2008/06/20 16:30:44] <ashp> well, i had my baby two nights ago | ||
| [2008/06/20 16:30:46] <ashp> so slowly :) | ||
| [2008/06/20 16:30:47] <Volcane> hehe | ||
| [2008/06/20 16:30:57] <holoway> ashp: yay! | ||
| [2008/06/20 16:30:58] <ashp> instead i am learning how to change diapers and swaddle babies | ||
| [2008/06/20 16:31:19] <holoway> http://www.flickr.com/photos/allspaw/2592579909/ | ||
| [2008/06/20 16:31:23] <ashp> i think she got my temper, as she sure gets mad easily :) | ||
| [2008/06/20 16:31:36] <holoway> is for you, ash | ||
| [2008/06/20 16:32:29] <ashp> hahah, excellent :) | ||
| [2008/06/20 16:33:41] <Volcane> ashp: I'm doing pretty well about finished writing my multi threaded xml policy server thingy, am really loving it | ||
| [2008/06/20 16:34:07] <ashp> Volcane: Now you're putting me to shame, I hadn't even touched an editor yet, I was just reading the book :) | ||
| [2008/06/20 16:34:45] <Volcane> ashp: hehe, i do need someone though to review some code i wrote i guess | ||
| [2008/06/20 16:41:21] <rakslice> How do I use the read-only parameters in resources? | ||
| [2008/06/20 16:41:55] <rakslice> (for instance, the instance parameter of package) | ||
| [2008/06/20 16:48:17] <Volcane> what do you want to do with it? | ||
| [2008/06/20 16:51:13] <sjmh> ashp, oracle isn't sooooo bad. | ||
| [2008/06/20 16:51:25] <sjmh> tho' we have a huge dba team that takes care of it all, so i don't have to end up dealing with it. :) | ||
| [2008/06/20 16:51:34] <rakslice> Volcane: I want to find the version of the package installed and use it elsewhere in my manifest | ||
| [2008/06/20 16:52:20] @ shadoi joined channel #puppet | ||
| [2008/06/20 16:53:13] <Volcane> rakslice: ah, i doubt you can do that... | ||
| [2008/06/20 16:56:31] <LBo> I'm trying to do something like this: http://pastie.org/219138 | ||
| [2008/06/20 16:56:35] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/06/20 16:56:39] <LBo> But I doubt if it's the right way | ||
| [2008/06/20 16:56:51] <LBo> I want to include custom_scripts in a node | ||
| [2008/06/20 16:57:27] <Volcane> why create nested classes? | ||
| [2008/06/20 16:57:44] <LBo> Volcane: what's a better way? | ||
| [2008/06/20 16:57:48] <Volcane> do one class and just pop all the resources in there | ||
| [2008/06/20 16:58:02] <Volcane> the BEST way is to use modules, but figure classes out first :) | ||
| [2008/06/20 16:58:08] <LBo> Volcane: oh, ok. But I liked the idea of it being modular | ||
| [2008/06/20 16:58:21] <Volcane> LBo: so with modules you can do somethig like yo have there | ||
| [2008/06/20 16:58:35] <LBo> Volcane: If I use classes, could I do something like: include custom_scripts::getip ? | ||
| [2008/06/20 16:58:40] <Volcane> LBo: scripts::installedpackage, scripts::getip etc | ||
| [2008/06/20 16:58:47] <LBo> Nice | ||
| [2008/06/20 16:58:50] <Volcane> LBo: that works with modules :) | ||
| [2008/06/20 16:58:54] <LBo> Gonna look at the modules then :) | ||
| [2008/06/20 16:58:56] <LBo> Thanks! | ||
| [2008/06/20 16:59:01] <Volcane> np | ||
| [2008/06/20 16:59:23] <Volcane> modules are nice, they are contained entities with files, templates and manifests all related in one distinct bundle | ||
| [2008/06/20 16:59:33] <Volcane> that you can reuse or share with others (assuming they're well written) | ||
| [2008/06/20 17:00:52] <shadoi> yay for ruby sploits | ||
| [2008/06/20 17:01:09] <shadoi> http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/ | ||
| [2008/06/20 17:11:30] <Volcane> great | ||
| [2008/06/20 17:18:20] <Gh0sty> hm yeah whats the security of puppet? :/ | ||
| [2008/06/20 17:18:40] @ kambiz joined channel #puppet | ||
| [2008/06/20 17:18:48] @ edibrac3 joined channel #puppet | ||
| [2008/06/20 17:19:08] <Gh0sty> cause it already requires to open a port, okay it only accepts ssl connections but for the rest if you puppetmaster gets compromised they have access to every server in the company ... | ||
| [2008/06/20 17:21:05] @ Quit: edibrac2: Read error: 110 (Connection timed out) | ||
| [2008/06/20 17:23:51] @ jvanzyl_ joined channel #puppet | ||
| [2008/06/20 17:24:40] <benp-> huh, how come theres no info on the vulns? | ||
| [2008/06/20 17:24:52] <Volcane> Gh0sty: i firewall and only allow known clients in (my master is on the public internet) | ||
| [2008/06/20 17:25:16] <Volcane> Gh0sty: but yes, u want to make sure the master is pretty well locked odnww | ||
| [2008/06/20 17:25:19] <Gh0sty> yes but i work in a sector where security is top priority | ||
| [2008/06/20 17:25:43] <Gh0sty> not that i see anyone enter the master because it'll be on the same level as the domaincontrollers | ||
| [2008/06/20 17:26:07] <Gh0sty> but i am wondering if i allow my front-end customer facing webservers access to the master | ||
| [2008/06/20 17:26:26] <Gh0sty> how easy it would be for a hacker to gain access to the master itself :| | ||
| [2008/06/20 17:26:31] <Volcane> in a big secure environment where i work i have several masters | ||
| [2008/06/20 17:26:34] <Volcane> one in each environments | ||
| [2008/06/20 17:26:48] <Volcane> with whatever secure means thats acceptable to get svn checkouts onto the masters | ||
| [2008/06/20 17:26:49] <benp-> Gh0sty: you're only really exposing a web server | ||
| [2008/06/20 17:27:02] @ andrewcshafer_ left channel #puppet () | ||
| [2008/06/20 17:27:06] <Gh0sty> yes but i am thinking in layers | ||
| [2008/06/20 17:27:29] <Gh0sty> assuming a webserver get hacked ... | ||
| [2008/06/20 17:27:40] <Gh0sty> how easy would it be to reach the master | ||
| [2008/06/20 17:27:41] <Volcane> Gh0sty: and with using environments feature you never even have to put the production modules or nodes on the dev network, and no svn etc access to those manifests | ||
| [2008/06/20 17:27:52] <Gh0sty> i know its supposed to only read data from the master ... | ||
| [2008/06/20 17:28:12] <Gh0sty> yes i am thinking also for such a layered setup | ||
| [2008/06/20 17:28:43] <Gh0sty> but that would mean it kinda defeats the point in having a central management unit if you have several for your production | ||
| [2008/06/20 17:28:59] <muerr> Volcane, ashp: sent my ridiculous time tracking/reporting script out to my team this week, dunno if anyone's trying it yet. | ||
| [2008/06/20 17:29:03] <Gh0sty> some things i only allow svn with a ssh tunnel first ;) | ||
| [2008/06/20 17:29:24] <Volcane> muerr: which one? :) | ||
| [2008/06/20 17:29:44] * Volcane 's centralised puppet report viewer is about ready for some testing if anyone are php fans | ||
| [2008/06/20 17:29:59] <muerr> Volcane: I think I'd mentioned here before in talking about Ruby. | ||
| [2008/06/20 17:30:17] <Gh0sty> report viewer? :o | ||
| [2008/06/20 17:30:19] <muerr> I think my new company uses something in the ticket tracking tool for time. | ||
| [2008/06/20 17:30:21] <Volcane> muerr: ah :) i am really loving ruby, its a very kewl app | ||
| [2008/06/20 17:30:32] <Volcane> app/language | ||
| [2008/06/20 17:31:09] <Volcane> Gh0sty: puppet support sending its log output and performance metrics to the master after each tru | ||
| [2008/06/20 17:31:13] <Volcane> tru=run | ||
| [2008/06/20 17:31:43] <Volcane> and supports making rrds etc of time to build configs, time to run configs, changes, resource counts etc | ||
| [2008/06/20 17:31:52] <Volcane> i wrote something to view those | ||
| [2008/06/20 17:32:10] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/06/20 17:32:18] <Gh0sty> btw (i know i am asking a lot of questions) yo dont happen to have a good howto on puppetrun | ||
| [2008/06/20 17:32:33] <Gh0sty> as far as i understood it should be possible with puppetrun to push out new configs | ||
| [2008/06/20 17:32:44] <Volcane> yes | ||
| [2008/06/20 17:32:50] <Gh0sty> similar to restarting the puppet clients on remote | ||
| [2008/06/20 17:32:53] <Volcane> thats it | ||
| [2008/06/20 17:33:01] <Gh0sty> but for some reason that needs ldap? :/ | ||
| [2008/06/20 17:33:10] <Volcane> does it? doubt it | ||
| [2008/06/20 17:33:25] <Gh0sty> or at least it did when i tried it some month ago ... | ||
| [2008/06/20 17:33:41] <benp-> puppetrun? | ||
| [2008/06/20 17:33:49] <Volcane> oh | ||
| [2008/06/20 17:33:50] <Gh0sty> did a preliminary test a month or 2 ago but haven't had time up until now | ||
| [2008/06/20 17:33:58] <Volcane> so it needs ldap (well it helps to have it) | ||
| [2008/06/20 17:34:04] <Gh0sty> fridays are the best to try out new stuff ... | ||
| [2008/06/20 17:34:09] <Volcane> cos then you can say puppetrun <all these kind of hosts> | ||
| [2008/06/20 17:34:16] <Volcane> it will then find out via puppet which hosts match yhour query | ||
| [2008/06/20 17:34:17] <benp-> puppetrun doesnt need ldap | ||
| [2008/06/20 17:34:26] <Volcane> but nothing prevents you from just for looping it with hostnames | ||
| [2008/06/20 17:34:32] <Gh0sty> yes but have not really found much explanation about it ... | ||
| [2008/06/20 17:34:41] <Gh0sty> oh does it? :/ | ||
| [2008/06/20 17:34:41] <benp-> the important thing to know about puppetrun is it doesnt push configs but tells clients to pull them | ||
| [2008/06/20 17:34:43] <Gh0sty> hmm | ||
| [2008/06/20 17:34:49] <Gh0sty> yes i know :p | ||
| [2008/06/20 17:34:52] <Gh0sty> i mean it that way | ||
| [2008/06/20 17:34:53] <Volcane> Gh0sty: the man page seems good :P | ||
| [2008/06/20 17:34:56] <benp-> well, maybe thats not "the important thing" | ||
| [2008/06/20 17:34:58] <Gh0sty> but that would be the best | ||
| [2008/06/20 17:35:09] <benp-> theres not much to it | ||
| [2008/06/20 17:35:15] <Gh0sty> well puppetrun --help gives me i should install rdoc first :/ | ||
| [2008/06/20 17:35:23] <Volcane> so install rdoc :) | ||
| [2008/06/20 17:35:29] <Volcane> http://linux.die.net/man/8/puppetrun | ||
| [2008/06/20 17:36:12] <Volcane> the redhat rpms come with man pages | ||
| [2008/06/20 17:36:27] <Volcane> hmm, maybe not, supposed too | ||
| [2008/06/20 17:37:30] <Gh0sty> dno should have a better look | ||
| [2008/06/20 17:37:46] <Gh0sty> it's been a while since i tried it all first ... | ||
| [2008/06/20 17:38:48] <Gh0sty> hope monday will also be a bit quiet ... :| | ||
| [2008/06/20 17:38:57] <Gh0sty> so i can continue my stuff ... | ||
| [2008/06/20 17:39:31] <Gh0sty> but servers also tend to have the monday morning syndrome from time to time ... | ||
| [2008/06/20 17:39:42] <Volcane> you can contract me in to come fix it :P | ||
| [2008/06/20 17:40:06] @ Quit: LBo: Read error: 110 (Connection timed out) | ||
| [2008/06/20 17:40:13] <Gh0sty> you do it as a job? :) | ||
| [2008/06/20 17:40:51] <Volcane> nods | ||
| [2008/06/20 17:41:44] @ catdude joined channel #puppet | ||
| [2008/06/20 17:42:11] @ Quit: Maliuta: Remote closed the connection | ||
| [2008/06/20 17:42:40] <Gh0sty> oh well it's a bit of a project which would be "nice to have" | ||
| [2008/06/20 17:42:41] <Volcane> i do general contracting but mostly about managing lots of machines easily, building stable easy to manage systems etc | ||
| [2008/06/20 17:42:51] @ jvanzyl joined channel #puppet | ||
| [2008/06/20 17:42:58] <Gh0sty> bit tired of going over 20 - 30 servers to change 1 stupid file :/ | ||
| [2008/06/20 17:43:07] <Volcane> hehe yeah | ||
| [2008/06/20 17:43:10] @ shenson is now known as shenson_not_here | ||
| [2008/06/20 17:44:14] <Gh0sty> and you are from where exactly? :p | ||
| [2008/06/20 17:45:02] <Volcane> london | ||
| [2008/06/20 17:45:13] <Gh0sty> oh thats still doable :) | ||
| [2008/06/20 17:45:16] <Volcane> nods :) | ||
| [2008/06/20 17:45:33] <Gh0sty> will ask my colleague if he can stand a second english guy ;p | ||
| [2008/06/20 17:45:34] @ runlevel joined channel #puppet | ||
| [2008/06/20 17:45:55] <Volcane> lol | ||
| [2008/06/20 17:46:02] * Volcane is a south african | ||
| [2008/06/20 17:46:06] <Gh0sty> teamlead is also from england but living in belgium :) | ||
| [2008/06/20 17:46:19] <ashp> i used to work with two south africans, both crazy :) | ||
| [2008/06/20 17:46:31] <Volcane> ashp: no surprises in london/england :P | ||
| [2008/06/20 17:46:34] <ashp> they would bike up to scotland on the weekend for fun (and i mean, a regular old bike with pedals) | ||
| [2008/06/20 17:46:48] <ashp> they used to bring in awesome beef jerky from their fathers farm back home | ||
| [2008/06/20 17:47:00] <Volcane> ashp: called Biltong :) | ||
| [2008/06/20 17:47:18] <ashp> :) i miss that stuff | ||
| [2008/06/20 17:47:33] <Gh0sty> hm english guys have strange habbits | ||
| [2008/06/20 17:47:42] <Gh0sty> like beans for breakfast ... :p | ||
| [2008/06/20 17:47:59] <Volcane> yeah my g/f is english, plenty of beans, wont eat beef sausages | ||
| [2008/06/20 17:48:09] <Volcane> if its not pork, its not a sausage | ||
| [2008/06/20 17:48:16] <Gh0sty> :s | ||
| [2008/06/20 17:48:29] <Gh0sty> cant even imagine eating such a thing in the morning :| | ||
| [2008/06/20 17:48:37] <Volcane> hehe | ||
| [2008/06/20 17:49:31] @ Quit: jvanzyl_: Connection timed out | ||
| [2008/06/20 17:50:35] <muerr> wow i can't even imagine trying to manage this with puppet :-o | ||
| [2008/06/20 17:50:42] <muerr> (Red Hat Cluster, Zimbra). | ||
| [2008/06/20 17:51:10] <Volcane> muerr: oh someone here builds just that with puppet, plathorp maybe | ||
| [2008/06/20 17:51:27] <muerr> he's a braver man than i. | ||
| [2008/06/20 17:51:35] <Volcane> heh | ||
| [2008/06/20 17:51:39] <muerr> RHCS is probably the most fragile cluster package I've used. | ||
| [2008/06/20 17:51:51] <Volcane> not used it, but been quite keen to try | ||
| [2008/06/20 17:52:11] <Gh0sty> is it better with 5.2 ? | ||
| [2008/06/20 17:52:15] <Volcane> using linux-ha for some ha stuff atm | ||
| [2008/06/20 17:52:19] <Gh0sty> 5.1 kinda worked | ||
| [2008/06/20 17:52:26] <Gh0sty> but it sometimes does strange things | ||
| [2008/06/20 17:52:42] <muerr> heh, using RHEL 4 with RHCS 4.6, so I don't know how it is with 5.x | ||
| [2008/06/20 17:52:48] <muerr> Zimbra requires RHEL / RHCS 4. | ||
| [2008/06/20 17:53:07] <muerr> Otherwise its the dreaded "unsupported" | ||
| [2008/06/20 17:53:07] <Gh0sty> i dont use it for zimbra ;) | ||
| [2008/06/20 17:53:35] <Gh0sty> just tried a ramsan for shared storage rhel storage cluster setup | ||
| [2008/06/20 17:54:13] <Gh0sty> but mpath daemon sometimes acting strange :| | ||
| [2008/06/20 17:55:00] <Gh0sty> but most fixes in 5.2 over 5.1 should be multipath and cluster related | ||
| [2008/06/20 17:56:25] <Gh0sty> so much fun stuff to test, so little time :( | ||
| [2008/06/20 17:56:34] <Volcane> hehe | ||
| [2008/06/20 17:57:22] <Volcane> right, well flashpolicy daemon thing is done i guess, really loving ruby+gserver | ||
| [2008/06/20 17:57:35] <Volcane> but i guess now i need to find out first what these vulns are about | ||
| [2008/06/20 17:57:58] <Gh0sty> flashpolicy daemon? :o | ||
| [2008/06/20 17:58:10] <Gh0sty> sounds evil :p | ||
| [2008/06/20 17:58:41] <runlevel> Volcane: can you help me out again, im getting the following error: Syntax error at '.'; expected '}' at /etc/puppet/manifests/classes/cronclasses.pp:3 this is my definition: http://pastebin.com/m26f5a4a4 | ||
| [2008/06/20 17:58:43] <Volcane> 7~adobe junk | ||
| [2008/06/20 17:59:17] <muerr> Gh0sty: at this point, i don't particularly find anything to do with clusters to be fun, at all :-x | ||
| [2008/06/20 17:59:31] <muerr> generally speaking, cluster software just plain sucks. | ||
| [2008/06/20 17:59:47] <Volcane> runlevel: quote the "floyd....." | ||
| [2008/06/20 18:00:00] <runlevel> tried that, same issue | ||
| [2008/06/20 18:00:08] <runlevel> i used double quotes | ||
| [2008/06/20 18:00:22] <runlevel> lemme make sure tho | ||
| [2008/06/20 18:00:30] <Gh0sty> muerr: its fun to mess wit | ||
| [2008/06/20 18:00:41] <Gh0sty> not if you have to use it for production maybe ;) | ||
| [2008/06/20 18:00:45] <Volcane> Gh0sty: newest adobe flash needs to connect to port 842 and retrieve some xml using their own protocol if you want to make socket conns | ||
| [2008/06/20 18:00:45] <muerr> :) | ||
| [2008/06/20 18:01:03] <Gh0sty> oh nothing to do with puppet :p | ||
| [2008/06/20 18:01:14] <Gh0sty> i was thinking managing flash with puppet or something :x | ||
| [2008/06/20 18:01:32] <Volcane> Gh0sty: no but i am learning ruby, so wrote this as my first proper bit of ruby code | ||
| [2008/06/20 18:01:52] <Gh0sty> hm that part is for software engineers :p | ||
| [2008/06/20 18:02:02] <Gh0sty> i look at it from a pure sysengineer point ... | ||
| [2008/06/20 18:02:19] <Gh0sty> my knowledge goes as far as some toplevel perl or python | ||
| [2008/06/20 18:02:46] <Gh0sty> the software junkies read c++ like it's a book :/ | ||
| [2008/06/20 18:03:01] <Volcane> ah no, see i've done commercial programming in 15 or so languages, i just dont like it anymore been programming for ages, but well if you're a sysadmin u need to code | ||
| [2008/06/20 18:03:49] <Gh0sty> i am not capable of writing code like guys with us do | ||
| [2008/06/20 18:04:05] <Gh0sty> one of em is developing applications for the iphone right now ... | ||
| [2008/06/20 18:04:22] <Gh0sty> some maintain the idea of learning a new language each year :o | ||
| [2008/06/20 18:04:34] * Volcane likes coding, but dont generally do it commercially anymore, more for own amusement, but this flash thing is for client. abode supplies a server but it sux | ||
| [2008/06/20 18:04:52] <Gh0sty> i don't really code | ||
| [2008/06/20 18:05:17] <Gh0sty> set up servers, break down servers, hack a bit of code here and there ... | ||
| [2008/06/20 18:05:18] <Gh0sty> but thats about it :p | ||
| [2008/06/20 18:05:26] <Volcane> and clients coders are all java ppl, and well thats just overkill for this litle thing | ||
| [2008/06/20 18:05:33] @ Quit: jvanzyl: | ||
| [2008/06/20 18:05:35] <Gh0sty> oh and curse on puppet not to forget ;p | ||
| [2008/06/20 18:05:47] <Gh0sty> oh no we dont do java | ||
| [2008/06/20 18:06:00] <Gh0sty> we need speed so its c++ all the way | ||
| [2008/06/20 18:06:03] <runlevel> Volcane: thanks, works. i must have not been paying attention | ||
| [2008/06/20 18:06:11] <Volcane> runlevel:) | ||
| [2008/06/20 18:06:33] <Volcane> Gh0sty: well i want to learn ruby so i can write some stuff for puppet etc | ||
| [2008/06/20 18:06:38] <Volcane> Gh0sty: and cos i am sick of perl | ||
| [2008/06/20 18:07:03] <Gh0sty> i tend to like python lately | ||
| [2008/06/20 18:09:07] <Gh0sty> not worked with it that much, but tried it few times and its actually readable afterwards ;p | ||
| [2008/06/20 18:10:25] <muerr> Gh0sty: i feel that way about ruby. | ||
| [2008/06/20 18:10:35] <Gh0sty> my problem is ... | ||
| [2008/06/20 18:10:36] <muerr> and am learning it for the same reasons as Volcane :-) | ||
| [2008/06/20 18:10:43] <Gh0sty> ruby is so highlevel ... | ||
| [2008/06/20 18:10:49] <Gh0sty> and you have to install it extra | ||
| [2008/06/20 18:11:04] <Gh0sty> while most boxes have either perl or python installed by default | ||
| [2008/06/20 18:11:05] <Volcane> but all your machines already have puppet right? :) | ||
| [2008/06/20 18:11:10] <Gh0sty> hehe | ||
| [2008/06/20 18:11:17] <Gh0sty> installed it on like 3 machines today :p | ||
| [2008/06/20 18:11:23] @ Quit: plathrop: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 18:11:38] <Gh0sty> 2 xen testboxes and a master on a centralised server :) | ||
| [2008/06/20 18:12:40] <Gh0sty> if i nuke such a xen i just rebuild it in 20 min ... | ||
| [2008/06/20 18:13:08] <Gh0sty> but i want to put some easy stuff in production soon | ||
| [2008/06/20 18:14:13] <Gh0sty> have to replace like 20 - 30 files on a bunch of servers, in stead of doing that by hand i am going to deploy puppet on all of them and do it "the way it should be" | ||
| [2008/06/20 18:15:02] @ Quit: flakrat: "Leaving" | ||
| [2008/06/20 18:15:51] <Gh0sty> then see for some changes in my buildserver so it installs puppet on every new server and see to add more stuff in puppet for building a nice "initial setup automation" | ||
| [2008/06/20 18:18:02] <Gh0sty> the hardest part will be teaching colleagues how to use it :p | ||
| [2008/06/20 18:19:31] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/06/20 18:20:33] @ LBo joined channel #puppet | ||
| [2008/06/20 18:22:46] <muerr> Gh0sty: thats been the biggest problem for puppet here. :-x | ||
| [2008/06/20 18:23:41] <Gh0sty> dno i am thinking (also wondering if it does not exist?) people will tend to want a gui around it | ||
| [2008/06/20 18:23:55] <Gh0sty> maybe create some webstuff to create configs easily | ||
| [2008/06/20 18:26:06] <LBo> Hi, I've created a module with several classes | ||
| [2008/06/20 18:26:07] <Gh0sty> cause my idea most configs are similar | ||
| [2008/06/20 18:26:24] <LBo> Is it possible to do something like: include custom_scripts::* ? | ||
| [2008/06/20 18:26:29] <LBo> I've done include custom_scripts | ||
| [2008/06/20 18:26:40] <Gh0sty> you have a general file on the fileserver which you want to see spread among some servers, and define which service should be notified ... | ||
| [2008/06/20 18:26:44] <LBo> But then the classes in the module don't get executed | ||
| [2008/06/20 18:27:38] @ Maliuta joined channel #puppet | ||
| [2008/06/20 18:28:35] <LBo> I did something like: | ||
| [2008/06/20 18:28:36] <LBo> class custom_scripts { | ||
| [2008/06/20 18:28:38] <LBo> include custom_scripts::* | ||
| [2008/06/20 18:28:40] <LBo> } | ||
| [2008/06/20 18:29:14] <Gh0sty> not sure about this but isnt it enought if you put your custom_script::* in a file | ||
| [2008/06/20 18:29:29] <Volcane> LBo: no | ||
| [2008/06/20 18:29:33] <Gh0sty> and put in site.pp import custom_scripts_file.pp | ||
| [2008/06/20 18:30:00] <Gh0sty> (making wild assumptions) | ||
| [2008/06/20 18:35:20] <muerr> http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation | ||
| [2008/06/20 18:36:07] <Volcane> muerr: still cant mass include resources by wildcards even with those :) | ||
| [2008/06/20 18:36:42] <muerr> indeed. | ||
| [2008/06/20 18:37:06] <LBo> This is my module: | ||
| [2008/06/20 18:37:08] <LBo> http://pastie.org/219202 | ||
| [2008/06/20 18:37:17] <LBo> And this is my node: http://pastie.org/219203 | ||
| [2008/06/20 18:37:41] <LBo> And I would like to include the custom_scripts::getip & custom_scripts::installedpackages in that node | ||
| [2008/06/20 18:37:49] <Volcane> no | ||
| [2008/06/20 18:38:18] <Volcane> you need to add include custom_scripts::getip and include custom_scripts::installedpackages into the class custom_scripts {....} | ||
| [2008/06/20 18:38:23] <Volcane> for that to work | ||
| [2008/06/20 18:38:31] <jamesturnbull> LBo: you need to include the specific classes | ||
| [2008/06/20 18:38:33] <LBo> Ah, ok | ||
| [2008/06/20 18:38:49] @ Quit: AimanA: Read error: 104 (Connection reset by peer) | ||
| [2008/06/20 18:38:51] <LBo> Thanks | ||
| [2008/06/20 18:39:09] <LBo> Is there going to be support for something like: include custom_scripts::* ? | ||
| [2008/06/20 18:39:16] <Volcane> cant imagine so | ||
| [2008/06/20 18:39:34] <jamesturnbull> LBo: if you'd like a feature then log a tcket | ||
| [2008/06/20 18:39:35] <LBo> Volcane: ow :p I thought it would be a nice feature :) | ||
| [2008/06/20 18:40:10] <jlord> Volcane: I think we figured out the high load avg/compile time | ||
| [2008/06/20 18:40:17] <Volcane> jlord: yeah? | ||
| [2008/06/20 18:40:18] <LBo> jamesturnbull: if I would submit a patch, would it get included? | ||
| [2008/06/20 18:40:38] <jlord> we use an external node classifier script | ||
| [2008/06/20 18:40:52] <ski98033> Quick question for puppet folks | ||
| [2008/06/20 18:40:53] <jlord> and it gives the nodes a list of classes based on the node name | ||
| [2008/06/20 18:41:04] <ski98033> I need to assure that a file does not suid set | ||
| [2008/06/20 18:41:05] <jlord> one of the classes was no longer available on the master | ||
| [2008/06/20 18:41:18] <ski98033> is it best to use exec or the file type | ||
| [2008/06/20 18:41:28] <Volcane> jlord: thats weird, you'd expect a erorr then surely? | ||
| [2008/06/20 18:41:38] <shadoi> ski98033: file with a mode => | ||
| [2008/06/20 18:41:45] <Volcane> ski98033: file {"/blah": mode => xxx } | ||
| [2008/06/20 18:41:47] <jlord> well...the script just hands back a list of classes | ||
| [2008/06/20 18:41:53] <ski98033> thanks | ||
| [2008/06/20 18:41:58] <jlord> regardless of whether they actually exist | ||
| [2008/06/20 18:42:03] <jamesturnbull> LBo: sure - add your patch to the ticket or wiki:DevelopmentLifecycle | ||
| [2008/06/20 18:42:09] <gepetto_> jamesturnbull: LBo: wiki:DevelopmentLifecycle is http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle | ||
| [2008/06/20 18:42:10] <Volcane> jlord: nods, but i mean the puppetmaster should complain :) | ||
| [2008/06/20 18:42:13] <jlord> so i think the client was looking for the class over and over | ||
| [2008/06/20 18:42:22] <jlord> x77 nodes | ||
| [2008/06/20 18:42:41] <jamesturnbull> jlord: that should throw an exception | ||
| [2008/06/20 18:42:58] <jlord> hmmm | ||
| [2008/06/20 18:43:05] <Volcane> jamesturnbull: his load is 4, compile time 400 seconds, 70 nodes only, seems mad | ||
| [2008/06/20 18:43:14] @ Quit: muerr: "h8 rhcs" | ||
| [2008/06/20 18:43:16] <jlord> not anymore :) | ||
| [2008/06/20 18:43:16] <jamesturnbull> Volcane: yeah damn weird | ||
| [2008/06/20 18:44:18] <LBo> jamesturnbull, gepetto_: thanks! I'm gonna look into it tomorrow | ||
| [2008/06/20 18:44:30] <jamesturnbull> LBo: gepetto_ is a bot BTW | ||
| [2008/06/20 18:46:43] @ Joined channel #puppet | ||
| [2008/06/20 18:46:43] @ Topic is "Welcome to Puppet on Redmine (http://tinyurl.com/48ek6g) | Please see http://snurl.com/1udr1 for channel guidelines | See http://snurl.com/1udr3 and http://snurl.com/2901u about two SSL issues" | ||
| [2008/06/20 18:46:43] @ Topic set by jamesturnbull on Tue Jun 03 01:57:42 -0400 2008 | ||
| [2008/06/20 18:46:59] <jamesturnbull> Gh0sty: this one isn't - he is a little wooden boy | ||
| [2008/06/20 18:47:26] <Gh0sty> no its not | ||
| [2008/06/20 18:47:26] <Gh0sty> all computer stuff is female :p | ||
| [2008/06/20 18:47:27] <runlevel> \q | ||
| [2008/06/20 18:47:27] <runlevel> uh | ||
| [2008/06/20 18:47:28] <runlevel> :) | ||
| [2008/06/20 18:47:28] @ Quit: runlevel: "leaving" | ||
| [2008/06/20 18:47:30] <Gh0sty> it has its tampers :p | ||
| [2008/06/20 18:47:41] <Gh0sty> euh mood swings | ||
| [2008/06/20 18:47:45] <Gh0sty> or how should i say ... :p | ||
| [2008/06/20 18:47:50] <jamesturnbull> Gh0sty: actually he is the puppetmaster - Gepetto - Pinnocio was the wooden boy wasn't he? damn memory | ||
| [2008/06/20 18:48:02] * Volcane needs more info about these ruby vulns | ||
| [2008/06/20 18:48:07] <Volcane> apparently also fixes a webrick one | ||
| [2008/06/20 18:48:16] <Gh0sty> gepetto was the father of pinnocio | ||
| [2008/06/20 18:48:30] <Gh0sty> which was a guy ... | ||
| [2008/06/20 18:48:40] <Gh0sty> but still ... :p | ||
| [2008/06/20 18:49:15] <Gh0sty> didnt think it was comming from that, nice catch ;) | ||
| [2008/06/20 18:50:05] <LBo> jamesturnbull: ah thanks. Yesterday I was talking to a bot also :) | ||
| [2008/06/20 18:50:50] <LBo> Nice conversation though | ||
| [2008/06/20 18:50:50] <Gh0sty> lol sterk ;p | ||
| [2008/06/20 18:50:58] @ Ol_ joined channel #puppet | ||
| [2008/06/20 18:51:04] <LBo> :) | ||
| [2008/06/20 18:52:35] @ plathrop joined channel #puppet | ||
| [2008/06/20 18:52:54] <Gh0sty> seems a lot of people from the netherlands here also :p | ||
| [2008/06/20 18:53:37] <LBo> What's the .ra file in the puppet sources? Ragel or something? | ||
| [2008/06/20 18:54:40] @ shake-n-bake_ joined channel #puppet | ||
| [2008/06/20 18:54:50] <Gh0sty> lol, if you look up .ra filetype: real audio ;p | ||
| [2008/06/20 18:54:54] <Gh0sty> i guess thats not it :) | ||
| [2008/06/20 18:54:58] <jamesturnbull> LBo: where's the file? | ||
| [2008/06/20 18:55:39] <LBo> puppet/parser/grammar.ra | ||
| [2008/06/20 18:56:14] <jamesturnbull> LBo: oh that the racc grammar | ||
| [2008/06/20 18:56:38] @ rcoup joined channel #puppet | ||
| [2008/06/20 18:56:48] <sjmh> james, any idea what's going on with the that timeout stuff? | ||
| [2008/06/20 18:56:53] <sjmh> -the | ||
| [2008/06/20 18:56:57] <jamesturnbull> sjmh: no bloody idea | ||
| [2008/06/20 18:56:59] <Volcane> wow, wonder why i never saw/played with ralsh | ||
| [2008/06/20 18:57:09] <jamesturnbull> sjmh: it's driving me nuts | ||
| [2008/06/20 18:57:31] <sjmh> same :/ especially yesterday when just accessing the timeout var was making it work. | ||
| [2008/06/20 18:58:04] <sjmh> oh well, my intro to ruby shall be a trial by fire. :) | ||
| [2008/06/20 18:59:07] <sjmh> and i was just hoping it was something else stupid that AIX did. | ||
| [2008/06/20 18:59:26] <jamesturnbull> sjmh: nope - happens to me also | ||
| [2008/06/20 19:00:11] <sjmh> yeah i saw your note. actually the weirder thing is that right after i change the code to set the timeout to 2 for the puppetversion, i occasionally get a timeout on the hostname fact | ||
| [2008/06/20 19:00:18] <sjmh> but it goes away after the second run | ||
| [2008/06/20 19:02:39] <LBo> I thought the puppet-language was some sort of ruby, but is't not | ||
| [2008/06/20 19:07:46] @ Quit: markl__: "Lost terminal" | ||
| [2008/06/20 19:09:00] @ hessml is now known as hessml|away | ||
| [2008/06/20 19:11:15] <jamesturnbull> LBo: it's a racc (like yacc) based grammar with some nods toward ruby | ||
| [2008/06/20 19:13:32] @ edibrac3 is now known as edibrac | ||
| [2008/06/20 19:15:01] <sjmh> god i hate aix.. grr | ||
| [2008/06/20 19:15:36] <sjmh> fusion3:/# uname -p | ||
| [2008/06/20 19:15:36] <sjmh> uname: Not a recognized flag: p | ||
| [2008/06/20 19:15:37] <sjmh> Usage: uname [-snlrvmaxuMS:T:] | ||
| [2008/06/20 19:15:41] <sjmh> !@# | ||
| [2008/06/20 19:16:14] @ Quit: ski98033: "Leaving." | ||
| [2008/06/20 19:17:53] <LBo> jamesturnbull: I've looked at it, but for now grammar.ra is really over my head | ||
| [2008/06/20 19:18:20] <LBo> I thouht I could adjust the "newfunction(:include" part | ||
| [2008/06/20 19:18:32] <LBo> But it trips over the "::*" grammaer | ||
| [2008/06/20 19:19:06] <LBo> I'll look at racc tomorrow, but I thinks it's just too much :) | ||
| [2008/06/20 19:19:12] <LBo> For now at least | ||
| [2008/06/20 19:19:47] <LBo> Pfff, it's the beer I think | ||
| [2008/06/20 19:24:34] @ Quit: jlord: | ||
| [2008/06/20 19:24:38] @ Quit: rcoup: | ||
| [2008/06/20 19:25:45] <sjmh> it's always the beer :/ | ||
| [2008/06/20 19:25:50] <jamesturnbull> LBo: hav a chat with lak | ||
| [2008/06/20 19:26:05] <jamesturnbull> LBo: he wil point you in the right direction | ||
| [2008/06/20 19:26:26] <LBo> Thanks! | ||
| [2008/06/20 19:26:30] @ hessml|away is now known as hessml | ||
| [2008/06/20 19:26:38] @ rcoup joined channel #puppet | ||
| [2008/06/20 19:27:27] <LBo> Sorry, about all the questions. But I'm just starting with puppet and it's really nice, so I would like to know all of it :) | ||
| [2008/06/20 19:27:34] <Gh0sty> well. i'm off to bed | ||
| [2008/06/20 19:27:38] <LBo> Last question before I go to bed | ||
| [2008/06/20 19:27:41] <Gh0sty> seeya guys tomorrow maybe | ||
| [2008/06/20 19:27:43] <LBo> Ah, great minds | ||
| [2008/06/20 19:27:45] <Gh0sty> nn | ||
| [2008/06/20 19:28:02] <Gh0sty> ;p | ||
| [2008/06/20 19:28:23] <LBo> Is it possible to revert a transaction? | ||
| [2008/06/20 19:28:35] <LBo> Gh0sty: welterusten | ||
| [2008/06/20 19:34:50] <LBo> Well, I'll ask tomorrow again | ||
| [2008/06/20 19:35:01] <LBo> Thanks for all the help today! | ||
| [2008/06/20 19:35:06] @ Quit: falsch: | ||
| [2008/06/20 19:38:21] <dysinger> Git question - is it more flex to write each module as a git project of it's own ? I see some modules like that on github. | ||
| [2008/06/20 19:38:52] <jamesturnbull> LBo: it;s not | ||
| [2008/06/20 19:39:28] <jamesturnbull> LBo: it's a future aspiration | ||
| [2008/06/20 19:39:41] <jamesturnbull> dysinger: that's the way Luke has doen it | ||
| [2008/06/20 19:39:45] <jamesturnbull> dysinger: YMMV | ||
| [2008/06/20 19:39:51] <dysinger> I think I like it | ||
| [2008/06/20 19:39:59] <dysinger> it's kind of overkill for a small module | ||
| [2008/06/20 19:40:10] <dysinger> but it also means you can assemble modules at will | ||
| [2008/06/20 19:40:34] @ keithlard joined channel #puppet | ||
| [2008/06/20 19:40:36] <dysinger> instead of a monolithic mega-puppet project | ||
| [2008/06/20 19:40:41] @ Quit: keithlard: Remote closed the connection | ||
| [2008/06/20 19:41:35] <jamesturnbull> dysinger: whatever works for you | ||
| [2008/06/20 19:42:16] <dysinger> it depends on how "modular" modules are | ||
| [2008/06/20 19:42:18] <dysinger> I am still noob | ||
| [2008/06/20 19:42:32] @ Quit: Wicky656: | ||
| [2008/06/20 19:50:47] <jamesturnbull> dysinger: well they are fairly modular :) certainly in terms of a number of potential manifests, files and templates being grouped into a directory structure | ||
| [2008/06/20 19:51:11] <jamesturnbull> dysinger: but I recommend having a read of wiki:PuppetBestPractise | ||
| [2008/06/20 19:51:52] <jamesturnbull> dysinger: wiki:PuppetBestPractice | ||
| [2008/06/20 19:51:55] <gepetto> jamesturnbull: dysinger: wiki:PuppetBestPractice is http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice | ||
| [2008/06/20 19:52:24] <dysinger> ok - yeah I bought the book from firstPress too | ||
| [2008/06/20 19:52:27] @ Quit: LBo: Read error: 110 (Connection timed out) | ||
| [2008/06/20 19:52:38] <dysinger> how do you go about tackling something like apache config ? | ||
| [2008/06/20 19:52:54] @ Quit: shake-n-bake_: | ||
| [2008/06/20 19:52:55] <holoway> dysinger: using definitions | ||
| [2008/06/20 19:52:56] <holoway> and templates | ||
| [2008/06/20 19:53:09] <dysinger> so you just template the whole httpd.conf | ||
| [2008/06/20 19:53:17] <holoway> pretty much | ||
| [2008/06/20 19:53:20] <holoway> what platform are you on? | ||
| [2008/06/20 19:53:20] <dysinger> ok | ||
| [2008/06/20 19:53:24] <dysinger> ubuntu | ||
| [2008/06/20 19:53:32] <dysinger> debian / ubunut | ||
| [2008/06/20 19:53:32] <holoway> there are great apache2 modules | ||
| [2008/06/20 19:53:34] <holoway> that you can use | ||
| [2008/06/20 19:53:48] <dysinger> oh - where is that ? | ||
| [2008/06/20 19:54:10] <dysinger> I want to try to assemble mod_rails puppet module this weekend | ||
| [2008/06/20 19:54:12] <jamesturnbull> dysinger: wiki:PuppetModules | ||
| [2008/06/20 19:54:14] <gepetto> jamesturnbull: dysinger: wiki:PuppetModules is http://reductivelabs.com/trac/puppet/wiki/PuppetModules | ||
| [2008/06/20 19:54:19] <dysinger> but that requires I mess with apache2 | ||
| [2008/06/20 19:54:19] <dysinger> ok | ||
| [2008/06/20 19:54:21] <dysinger> thanks | ||
| [2008/06/20 19:54:37] <jamesturnbull> dysinger: wiki:CompleteConfiguration | ||
| [2008/06/20 19:54:40] <gepetto> jamesturnbull: dysinger: wiki:CompleteConfiguration is http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration | ||
| [2008/06/20 19:55:10] <dysinger> awesome | ||
| [2008/06/20 19:55:17] <jamesturnbull> dysinger: that last link has an Apache2 module but it'd be easy enough to slice-and-dice into an apache module | ||
| [2008/06/20 19:55:42] <dysinger> I'll just fork :) | ||
| [2008/06/20 19:55:46] <dysinger> and steal | ||
| [2008/06/20 19:55:48] <dysinger> :) | ||
| [2008/06/20 19:55:56] <dysinger> god I love BSD license and Git | ||
| [2008/06/20 19:57:55] <holoway> jamesturnbull: you are a puppet wiki master, sir | ||
| [2008/06/20 19:58:23] <jamesturnbull> holoway: me and the wiki are like this | ||
| [2008/06/20 19:58:24] * jamesturnbull crosses his fingers | ||
| [2008/06/20 20:00:19] <holoway> I think we should call it the Turnbull Wiki | ||
| [2008/06/20 20:00:20] <holoway> or perhaps we can start giving away the Turnbull PRize | ||
| [2008/06/20 20:00:27] <holoway> to people who are great wiki gardeners | ||
| [2008/06/20 20:07:21] @ Quit: sjmh: Read error: 110 (Connection timed out) | ||
| [2008/06/20 20:07:53] <gepetto> ::puppet:: Puppet Modules edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by james@lovedthanlost.net) | ||
| [2008/06/20 20:07:57] <jamesturnbull> holoway: I'd make a prize if I could get more people to add to the wiki | ||
| [2008/06/20 20:15:13] @ Quit: rcoup: | ||
| [2008/06/20 20:17:31] <hessml> i tried to add a page to the wiki put nothing seemed to happen | ||
| [2008/06/20 20:17:41] <hessml> i was able to edit an existing page | ||
| [2008/06/20 20:30:09] @ Quit: hessml: "Leaving..." | ||
| [2008/06/20 20:33:45] <gepetto> ::puppet:: Puppet Modules edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by james@lovedthanlost.net) | ||
| [2008/06/20 20:33:45] <gepetto> ::puppet:: Puppet Modules edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by james@lovedthanlost.net) | ||
| [2008/06/20 20:37:09] <gepetto> ::puppet:: Puppet Modules edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by james@lovedthanlost.net) | ||
| [2008/06/20 20:37:38] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/06/20 20:53:21] <gepetto> ::puppet:: Puppet Modules edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by james@lovedthanlost.net) | ||
| [2008/06/20 20:54:56] <jamesturnbull> duritong: I just updated the Puppet Modules page I note you have a bunch of modules on github - feel free to add them to the page | ||
| [2008/06/20 20:55:11] @ rcoup joined channel #puppet | ||
| [2008/06/20 20:57:12] @ jbrothers left channel #puppet () | ||
| [2008/06/20 21:00:13] @ Quit: dysinger: | ||
| [2008/06/20 21:06:38] <msf> are you guys going to apply the patch for 1345 ? | ||
| [2008/06/20 21:06:51] <msf> or is there an issue with it ? | ||
| [2008/06/20 21:06:56] @ Quit: shadoi: "Lost terminal" | ||
| [2008/06/20 21:15:35] <jamesturnbull> msf: I am still hoping someone will fix the underlying issue | ||
| [2008/06/20 21:15:57] <jamesturnbull> msf: I also confess I've had other Facter bugs that have been occupying my time | ||
| [2008/06/20 21:19:40] <edibrac> i guess tying puppet into windows is a PITA because of how windows tracks things via the registry, and WMI? | ||
| [2008/06/20 21:19:56] <edibrac> is that the technical challenge to it, or is it something else? | ||
| [2008/06/20 21:23:41] <jamesturnbull> edibrac: that's part of it | ||
| [2008/06/20 21:23:52] <jamesturnbull> edibrac: Puppet is also very Unix centric | ||
| [2008/06/20 21:24:20] <jamesturnbull> edibrac: it'd need to be substantial rewritten to work as a client on Windows | ||
| [2008/06/20 21:24:41] <jamesturnbull> edibrac: erhaps integrated with cygwin somehow but a lot of new provider would need to be written | ||
| [2008/06/20 21:26:20] <msf> jamesturnbull: what do you mean by the underlying issue ? | ||
| [2008/06/20 21:26:44] <msf> the issue that an interface may have multiple ip addresses assigned to it ? | ||
| [2008/06/20 21:26:49] <jamesturnbull> msf: yep | ||
| [2008/06/20 21:27:16] <msf> well, the way i see it there's two approaches we can take | ||
| [2008/06/20 21:27:31] <msf> one is to just reutrn a comman separated list of values | ||
| [2008/06/20 21:27:36] <msf> which is really easy to do | ||
| [2008/06/20 21:27:55] <msf> but harder for the user to deal with without having gsub | ||
| [2008/06/20 21:28:08] <msf> and split | ||
| [2008/06/20 21:28:24] <msf> or we can do something like | ||
| [2008/06/20 21:28:56] <msf> ipaddress_if0 ipaddress_if0_alias0 | ||
| [2008/06/20 21:31:58] @ Quit: mikearr: "I am Joe's quit message." | ||
| [2008/06/20 21:36:38] <jamesturnbull> msf: that's the simple part | ||
| [2008/06/20 21:37:22] <jamesturnbull> msf: how do we return the name of the alias? how does facter know one interface has multiple values? because the Facter fact name value needs to be populated | ||
| [2008/06/20 21:39:17] <jamesturnbull> msf: needs another refactor - let me think on it today | ||
| [2008/06/20 21:39:21] <msf> ipaddress_if0_aliases = alias0,alias1 | ||
| [2008/06/20 21:40:37] <msf> the ipaddress with the shortest netmask is always the "main" ip address, everything else is an alias | ||
| [2008/06/20 21:41:01] <jamesturnbull> msf: yeah | ||
| [2008/06/20 21:45:58] @ hessml joined channel #puppet | ||
| [2008/06/20 21:47:29] <msf> yeah... I can see how this complicates the code somewhat | ||
| [2008/06/20 21:48:00] <msf> wouldn't it be acceptable to just ship out the tmeporary fix for 1.5.0 | ||
| [2008/06/20 21:48:12] <msf> and then work on the more complicated case for the next release ? | ||
| [2008/06/20 21:48:21] <msf> as it's going to churn the code quite a bit ? | ||
| [2008/06/20 21:52:45] <jamesturnbull> msf: hmmm okay | ||
| [2008/06/20 21:52:54] <jamesturnbull> msf: you've tested this right? | ||
| [2008/06/20 21:53:19] <mcbride> I've tested it as well | ||
| [2008/06/20 21:57:27] <jamesturnbull> msf: okay pushed to Luke for inclusion in 1.5 | ||
| [2008/06/20 22:01:54] @ Quit: edibrac: Read error: 113 (No route to host) | ||
| [2008/06/20 22:02:24] <msf> do you know of any netbsd users ? | ||
| [2008/06/20 22:02:51] <msf> I would have liked to see results from netbsd | ||
| [2008/06/20 22:02:53] <jamesturnbull> you and mcbride? | ||
| [2008/06/20 22:03:06] <msf> openbsd both of us | ||
| [2008/06/20 22: |