Thursday, 2009-05-07

[2009/05/07 00:01:16] @ Log started by gepetto
[2009/05/07 00:01:16] @ markl__ joined channel #puppet
[2009/05/07 00:01:30] @ Quit: markl__: Client Quit
[2009/05/07 00:01:59] @ Quit: veritas_aequitas: "http://www.mibbit.com ajax IRC Client"
[2009/05/07 00:03:30] @ andrewcshafer joined channel #puppet
[2009/05/07 00:07:57] @ lak joined channel #puppet
[2009/05/07 00:14:28] @ johnw joined channel #puppet
[2009/05/07 00:16:49] @ cwebber joined channel #puppet
[2009/05/07 00:26:39] @ Quit: lak:
[2009/05/07 00:27:35] @ punkcut joined channel #puppet
[2009/05/07 00:37:44] @ Quit: cwebber:
[2009/05/07 00:50:42] @ mfoster joined channel #puppet
[2009/05/07 00:56:48] @ lak joined channel #puppet
[2009/05/07 01:01:32] @ MarlondB joined channel #puppet
[2009/05/07 01:11:21] @ Quit: johnw:
[2009/05/07 01:11:52] @ Quit: lak:
[2009/05/07 01:25:14] @ Quit: kingitchy:
[2009/05/07 01:38:22] @ Quit: alban2: Read error: 113 (No route to host)
[2009/05/07 01:43:02] @ Djeli is now known as Djelibeybi
[2009/05/07 01:47:07] @ degr8hunt joined channel #puppet
[2009/05/07 01:47:19] @ nasrat joined channel #puppet
[2009/05/07 01:48:38] @ pleemans joined channel #puppet
[2009/05/07 02:15:25] @ Quit: pdt:
[2009/05/07 02:17:46] @ pdt joined channel #puppet
[2009/05/07 02:22:26] @ Quit: edwardam: Remote closed the connection
[2009/05/07 02:23:53] @ Quit: johan-s: "Leaving..."
[2009/05/07 02:28:47] @ Demosthenes joined channel #puppet
[2009/05/07 02:31:29] @ Quit: lutter: "Leaving."
[2009/05/07 02:32:12] @ lak joined channel #puppet
[2009/05/07 02:32:45] @ cjbeck joined channel #puppet
[2009/05/07 02:36:02] @ Quit: cjbeck: Client Quit
[2009/05/07 02:40:16] @ Quit: PhabX: "Leaving..."
[2009/05/07 02:42:11] <nasrat> grr facter ip facts broke on os x
[2009/05/07 02:45:27] <andrewcshafer> git blame
[2009/05/07 02:45:30] @ kolla joined channel #puppet
[2009/05/07 02:46:59] <nasrat> it might have been broken
[2009/05/07 02:47:11] <nasrat> 'Facter::Util::IP should return a list two interfaces on Darwin with two interfaces' FAILED
[2009/05/07 02:47:11] <nasrat> expected: ["lo0", "en0"],
[2009/05/07 02:47:12] <nasrat> got: ["lo0:", "en0:"] (using ==)
[2009/05/07 02:47:18] <nasrat> note I just wrote the test :)
[2009/05/07 02:50:52] <andrewcshafer> bad regex or something?
[2009/05/07 02:51:18] <nasrat> well trying to fix something else
[2009/05/07 02:51:50] <nasrat> git show add6d476
[2009/05/07 02:51:58] @ Insyte left channel #puppet ()
[2009/05/07 02:53:01] <nasrat> #2081
[2009/05/07 02:53:02] <gepetto> nasrat: #2081 is http://projects.reductivelabs.com/issues/show/2081 "Facter - Bug #2081: interfaces fact doesn't account for subinterfaces on vlan tagged interfaces - ReductiveLabs.com"
[2009/05/07 02:53:13] @ francois joined channel #puppet
[2009/05/07 02:53:41] @ jedi4ever joined channel #puppet
[2009/05/07 02:55:06] @ Quit: jedi4ever: Client Quit
[2009/05/07 02:55:22] @ johan-s joined channel #puppet
[2009/05/07 02:58:34] @ jedi4ever joined channel #puppet
[2009/05/07 02:59:29] @ Quit: degr8hunt: Read error: 113 (No route to host)
[2009/05/07 03:00:17] <andrewcshafer> show me code and tests
[2009/05/07 03:01:45] <nasrat> indeed
[2009/05/07 03:01:59] <nasrat> that's the problem we keep breaking things when we don't add tests
[2009/05/07 03:02:14] <andrewcshafer> craptacular
[2009/05/07 03:02:38] * nasrat beats jamesturnbull
[2009/05/07 03:02:57] * andrewcshafer helps nasrat
[2009/05/07 03:03:43] * phantez is watching without doing anything to help jamesturnbull
[2009/05/07 03:03:44] <jamesturnbull> nasrat: well we have a choice sometimes - fix a bug or not
[2009/05/07 03:04:11] <jamesturnbull> nasrat: and sometimes we simply don't have a test framework - Facter being one example even for the basics
[2009/05/07 03:04:22] @ Innocenti joined channel #puppet
[2009/05/07 03:04:30] @ Quit: lak: Read error: 113 (No route to host)
[2009/05/07 03:04:39] <nasrat> indeed
[2009/05/07 03:04:45] <jamesturnbull> I'm happy to not accept things without tests - but a lot of bug would go nowehere
[2009/05/07 03:04:46] <nasrat> I need to get more coverage
[2009/05/07 03:05:10] <nasrat> if we got more tests in place around fragile bits it might be an idea
[2009/05/07 03:05:23] <nasrat> the ip stuff is quite brittle as it's got a single codepath atm for some stuff
[2009/05/07 03:05:26] @ Quit: jedi4ever:
[2009/05/07 03:05:35] <andrewcshafer> it's certainly reinforcing behavior, either way
[2009/05/07 03:05:48] <jamesturnbull> and sometimes I simply have to rely on the reporter and whoever else chimes in to the ticket to test for me as I simply don't have access to the required platform :(
[2009/05/07 03:05:50] <andrewcshafer> without tests, it's hard to require them
[2009/05/07 03:05:58] <nasrat> jamesturnbull: sure
[2009/05/07 03:06:06] @ aymerick joined channel #puppet
[2009/05/07 03:06:17] <nasrat> when I get into work I'll see if I have a solaris box with tagged interfaces
[2009/05/07 03:06:45] <nasrat> else I'll just edit the ifconfig output to put the desired format for tagged interfaces from the bug in
[2009/05/07 03:06:50] <nasrat> and fix it up
[2009/05/07 03:07:25] @ jedi4ever joined channel #puppet
[2009/05/07 03:07:50] @ degr8hunt joined channel #puppet
[2009/05/07 03:10:12] <nasrat> should I send the rebase of 2214 to list?
[2009/05/07 03:10:39] @ x_dimitri joined channel #puppet
[2009/05/07 03:12:11] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/05/07 03:12:39] <jamesturnbull> nasrat: please
[2009/05/07 03:13:10] <nasrat> that's what made me notice as I reran all the tests after rebasing :)
[2009/05/07 03:13:30] <nasrat> jamesturnbull: I should have more time for facter now again I'm more settled into a routine
[2009/05/07 03:18:03] @ Quit: kibahop: Remote closed the connection
[2009/05/07 03:18:33] @ Quit: andrewcshafer:
[2009/05/07 03:21:38] @ DerekW joined channel #puppet
[2009/05/07 03:21:41] <Djelibeybi> nasrat: thanks for the OVS/OEL patches to Facter, btw. :)
[2009/05/07 03:21:56] <nasrat> Djelibeybi: np
[2009/05/07 03:22:19] <nasrat> Djelibeybi: just looking at #2131
[2009/05/07 03:22:19] <gepetto> nasrat: Djelibeybi: #2131 is http://projects.reductivelabs.com/issues/show/2131 "Facter - Bug #2131: Facter doesn't populate lsbmajdistrelease on OEL - ReductiveLabs.com"
[2009/05/07 03:22:38] <nasrat> can you test a quick patch?
[2009/05/07 03:22:53] <Djelibeybi> nasrat: Probably not until next week.
[2009/05/07 03:23:03] <nasrat> ah ok
[2009/05/07 03:23:17] <Djelibeybi> nasrat: If you point me at the patch, I can try get to it this weekend, though.
[2009/05/07 03:23:24] <Djelibeybi> I kinda sorta destroyed my test lab though
[2009/05/07 03:23:27] <nasrat> http://gist.github.com/107972
[2009/05/07 03:23:29] <Djelibeybi> So I have to rebuild it anyway. )
[2009/05/07 03:23:56] <Djelibeybi> Patch seems simple enough to test
[2009/05/07 03:24:04] <Djelibeybi> One sec, I can try that now in our sandpit
[2009/05/07 03:25:19] <Djelibeybi> nasrat: works on OEL
[2009/05/07 03:25:22] <Djelibeybi> Checking OVS now
[2009/05/07 03:25:40] <nasrat> that might not work until my other patch is applied to identify it
[2009/05/07 03:25:53] <nasrat> oh it will as worst case it'll identify as OVS
[2009/05/07 03:26:03] <Djelibeybi> nasrat: Yeah, OVS doesn't have *any* lsb values
[2009/05/07 03:26:14] <nasrat> ah ok
[2009/05/07 03:27:08] <nasrat> can you paste up a run of facter on OVS?
[2009/05/07 03:27:33] <nasrat> does it have an lsb_release binary?
[2009/05/07 03:27:43] <nasrat> script but whatever
[2009/05/07 03:28:02] <jamesturnbull> nasrat: I am just rewriting the Puppet Rakefile at the moment
[2009/05/07 03:28:07] <jamesturnbull> nasrat: I'll do the Facter one next
[2009/05/07 03:28:17] <nasrat> jamesturnbull: cool - hoe?
[2009/05/07 03:28:41] <nasrat> or to support beta versioning
[2009/05/07 03:29:16] <Djelibeybi> nasrat: OVS does not have lsb_release installed
[2009/05/07 03:29:40] <Djelibeybi> It's also not in the OVS base RPM repository
[2009/05/07 03:29:50] <nasrat> ok so I won't add it
[2009/05/07 03:29:58] @ jedi4ever left channel #puppet ()
[2009/05/07 03:30:15] @ jedi4ever joined channel #puppet
[2009/05/07 03:30:44] <Djelibeybi> Do you still want a paste of the facter output?
[2009/05/07 03:31:47] <Djelibeybi> nasrat: do you still want a paste of the Facter output from OVS?
[2009/05/07 03:33:18] <x_dimitri> I've setup puppet by following the documentation. So I now have the puppetmasterd and puppetd running. However, my manifests don't seem to applied.
[2009/05/07 03:33:30] <x_dimitri> I'd really appreciate any help on this
[2009/05/07 03:35:03] @ Quit: ibt: Read error: 110 (Connection timed out)
[2009/05/07 03:35:28] @ Quit: Demosthenes: "leaving"
[2009/05/07 03:35:43] @ Demosthenes joined channel #puppet
[2009/05/07 03:36:36] <jamesturnbull> nasrat: hoe is proving annoying
[2009/05/07 03:36:47] <jamesturnbull> nasrat: we actually don't have very complicated requirements
[2009/05/07 03:36:57] <jamesturnbull> nasrat: the out of the box rake tasks will do most of it
[2009/05/07 03:37:29] <jamesturnbull> x_dimitri: puppet version? pastie some logs?
[2009/05/07 03:37:41] <jamesturnbull> x_dimitri: bit hard for people here to help without more information
[2009/05/07 03:37:41] <nasrat> Djelibeybi: no it's probably ok
[2009/05/07 03:37:59] <x_dimitri> ok
[2009/05/07 03:38:57] <jamesturnbull> Djelibeybi: you free to take a call re that opther styff?
[2009/05/07 03:39:35] <Djelibeybi> nasrat: http://pastie.org/470918 if you do
[2009/05/07 03:39:44] <Djelibeybi> jamesturnbull: sure, you can call me as I walk to my car. :)
[2009/05/07 03:40:38] <pastie> jamesturnbull: http://pastie.org/470919 by x_dimitri.
[2009/05/07 03:41:23] <x_dimitri> jamesturnbull: the only log I've got is /var/log/puppet/masterhttp.log, which I've pasted there
[2009/05/07 03:42:45] <jamesturnbull> x_dimitri: can you run puppetmasterd and puppetd with --verbose --trace --debug please
[2009/05/07 03:42:58] <x_dimitri> ok
[2009/05/07 03:43:51] @ Quit: Djelibeybi: "Leaving"
[2009/05/07 03:48:37] <x_dimitri> jamesturnbull: please see http://pastie.org/470924 and http://pastie.org/470923
[2009/05/07 03:53:44] <jamesturnbull> x_dimitri: that's second one can't be right
[2009/05/07 03:54:20] <jamesturnbull> x_dimitri: and what Puppet version?
[2009/05/07 03:55:08] <x_dimitri> lemme check
[2009/05/07 03:55:39] <x_dimitri> jamesturnbull: version 0.24.8
[2009/05/07 03:55:47] <x_dimitri> what's wrong with the second one?
[2009/05/07 03:57:46] <jamesturnbull> x_dimitri: that is what came out with you ran # puppetmasterd --verbose --debug --trace on the command line? try adding --no-daemonize to both
[2009/05/07 03:57:52] @ edwardam joined channel #puppet
[2009/05/07 03:58:01] @ MattyM joined channel #puppet
[2009/05/07 03:58:05] <x_dimitri> jamesturnbull: ok...
[2009/05/07 03:58:41] @ Quit: nasrat: "work ..."
[2009/05/07 03:59:42] @ phips joined channel #puppet
[2009/05/07 03:59:50] @ zeroXten joined channel #puppet
[2009/05/07 04:01:10] @ glaw joined channel #puppet
[2009/05/07 04:01:45] @ HarryCalahan joined channel #puppet
[2009/05/07 04:01:54] @ Quit: shake-n-bake:
[2009/05/07 04:02:38] <x_dimitri> jamesturnbull: please see http://pastie.org/470926 and http://pastie.org/470928
[2009/05/07 04:03:20] <jamesturnbull> x_dimitri: you sure you have configuration defined for the node?
[2009/05/07 04:05:49] <x_dimitri> jamesturnbull: these are contents of /etc/puppet/manifests/site.pp - http://pastie.org/470931
[2009/05/07 04:07:01] <jamesturnbull> x_dimitri: add a space after node default{ to node default {
[2009/05/07 04:07:10] <x_dimitri> ok
[2009/05/07 04:07:19] <jamesturnbull> and try again
[2009/05/07 04:09:53] <jamesturnbull> failing that define the specific node by name in the site.pp file node "xanax.ubusha.co.za" { } and notice("This is a test") as the contents
[2009/05/07 04:11:16] <x_dimitri> if it works, the target file should get the appropriate permissions, right?
[2009/05/07 04:13:52] @ Llama joined channel #puppet
[2009/05/07 04:14:42] <jamesturnbull> I have to run though - Volcane or andrewshafer may be able to help if they are around and free or someone else may jump in
[2009/05/07 04:14:46] <jamesturnbull> but yes
[2009/05/07 04:14:47] <jamesturnbull> if it works
[2009/05/07 04:15:01] <jamesturnbull> you should entries on the console for th resource being executed
[2009/05/07 04:16:37] <x_dimitri> jamesturnbull: thank a lot for your time
[2009/05/07 04:16:43] <x_dimitri> I'll keep trying to figure it out
[2009/05/07 04:16:47] <JD> is there any app that will display me a table of facts from across the cluster?
[2009/05/07 04:18:05] <huggie> JD: puppetview sort of (but it's facts per host rather than tell me the value of this fact across all servers). The data is all there though.
[2009/05/07 04:18:18] <zeroXten> morning all
[2009/05/07 04:18:41] <Volcane> x_dimitri: what happens if you say node "your.box.com" { ... } instead of default? also after doing that, just touch site.pp before running it
[2009/05/07 04:18:50] @ jrisch joined channel #puppet
[2009/05/07 04:18:55] <Volcane> though i guess in your case the touch wont be needed
[2009/05/07 04:19:02] <JD> huggie: :(
[2009/05/07 04:19:23] <JD> I had a quick look at iclassify, but that doesn't seem to do what I want
[2009/05/07 04:19:35] <Volcane> x_dimitri: also add into the node block "notice("Configuring ${fqdn}")" and also something similar in your class
[2009/05/07 04:19:53] <Volcane> JD: its so easy to write. just trawl all the yaml files in /var/lib/puppet/yaml on the master and display
[2009/05/07 04:20:00] <JD> Volcane: yeah, I know
[2009/05/07 04:20:04] <JD> I'm just lazy
[2009/05/07 04:20:11] <Volcane> :)
[2009/05/07 04:20:18] <JD> and was hoping not to reinvent the wheel
[2009/05/07 04:20:27] <Volcane> yeah
[2009/05/07 04:20:33] <HarryCalahan> JD: outsource to india ;)
[2009/05/07 04:20:38] <jrisch> Hi everyone
[2009/05/07 04:20:45] <Volcane> wouldnt a table of all the facts for all the nodes be quite massive?
[2009/05/07 04:21:00] <jrisch> Anyone of you running a Passengerbased Puppetmaster...?
[2009/05/07 04:21:32] <jrisch> I'm having big time troubles getting my setup to work...
[2009/05/07 04:22:28] <JD> Volcane: perhaps, but something that displayed a subset and then allowed you to view an individual node would be useful
[2009/05/07 04:22:39] <JD> Volcane: quick and easy asset management
[2009/05/07 04:22:47] <Volcane> nods
[2009/05/07 04:24:04] <JD> what more information? write a fact :)
[2009/05/07 04:24:26] @ Quit: x_dimitri: Read error: 60 (Operation timed out)
[2009/05/07 04:24:27] <Volcane> yeah, i use this thing called machdb as a stop gap till iget to finish something better
[2009/05/07 04:24:41] <HarryCalahan> i would try to do assets collection using snmp
[2009/05/07 04:25:07] <JD> HarryCalahan: why bother? facter is a lot simpler
[2009/05/07 04:25:25] <HarryCalahan> jd: but snmp is also running on my switches and routers ;)
[2009/05/07 04:25:26] <Volcane> i patched puppetview into it, so once i see something on that asset list i can then go see the puppetview stuff for that node
[2009/05/07 04:26:23] * monachus is in limbo.
[2009/05/07 04:26:47] <Volcane> and i should patch my update checker thing into it too, so i can see what security updates need doing
[2009/05/07 04:28:28] @ dyresen joined channel #puppet
[2009/05/07 04:28:43] <JD> we need disk facts
[2009/05/07 04:29:05] <JD> and it would be awesome to have installed package facts too
[2009/05/07 04:29:06] <Volcane> easy to write, PITA to write sanely for multiple OS
[2009/05/07 04:29:18] <JD> yeah, thankfully we're 100% ubuntu
[2009/05/07 04:29:20] <Volcane> (disks i mean)
[2009/05/07 04:29:28] <Volcane> nothing to be thankful about 100% ubuntu :P
[2009/05/07 04:29:39] <JD> (well 95% ubuntu, 5% debian, but like that makes a difference)
[2009/05/07 04:31:00] <JD> Volcane: it's debian, but works just that little better
[2009/05/07 04:31:14] * JD notes he is nominally a debian maintainer
[2009/05/07 04:31:29] * Volcane 's a debian loather :P
[2009/05/07 04:31:51] <JD> well now that's just silly :)
[2009/05/07 04:31:53] <zeroXten> nooo!!
[2009/05/07 04:32:10] <JD> zeroXten: has your world just come crashing down?
[2009/05/07 04:32:13] <zeroXten> yup
[2009/05/07 04:32:21] <zeroXten> let the distro war start
[2009/05/07 04:32:23] * zeroXten hides
[2009/05/07 04:32:51] <Volcane> anyway, package facts, wouldnt that be like way overkill?
[2009/05/07 04:33:11] @ bajan joined channel #puppet
[2009/05/07 04:33:22] <JD> Volcane: depends if you turn facter into an asset management agent or not
[2009/05/07 04:33:31] * Volcane wonders if there will be a noticable delay in dealing with all the new facts and how package managers will cope
[2009/05/07 04:33:44] <zeroXten> what is your distro of choice Volcane ?
[2009/05/07 04:33:58] <JD> zeroXten: really, let's not get into this
[2009/05/07 04:34:02] <zeroXten> hehe
[2009/05/07 04:34:09] <Volcane> well, I was going to use facts too etc, but I'll write an agent that submit to a central server, so only at that point gather the packages rather than on all puppet runs etc
[2009/05/07 04:35:21] <Volcane> zeroXten: yeah, lets not :) but I like redhat, I started using SLS, then Slackware, then every RedHat since then from first beta onward. So I am very comfortable with it, and love how its pretty much very very consistant even between major releases. like my RedHat 5 (non ent) book is still very valid today even. Which isn't something I find in mnay other distros
[2009/05/07 04:35:38] <zeroXten> fair enough
[2009/05/07 04:35:48] <Volcane> zeroXten: I do have about an equal amount of Redhat and Debian machihnes, so I am not just ranting unknowingly though :)
[2009/05/07 04:35:49] <zeroXten> i was just curious
[2009/05/07 04:35:54] <zeroXten> heh
[2009/05/07 04:36:28] <zeroXten> i presume i can do something like 'if $array == ["false"]', right?
[2009/05/07 04:36:43] <Volcane> zeroXten: i think you'd be wrong :)
[2009/05/07 04:36:50] <JD> I had a conversation with someone where I told them that I had dogma and that the operating system just isn't that interesting to me and that what you do on top was more interesting
[2009/05/07 04:37:27] <JD> he proceeded to tell me how I was an idiot and unlikely to get a girlfriend because I didn't run freebsd
[2009/05/07 04:37:42] <Volcane> JD: agree, but it helps to have a non moving target foundation to build on, else things like using puppet in a very heterogeneous place becomes a nightmare of note
[2009/05/07 04:38:03] <zeroXten> i can't do array comparisons?
[2009/05/07 04:38:11] <Volcane> zeroXten: not afaik
[2009/05/07 04:38:21] <JD> Volcane: heterogeneous is a little crazy. Glad I don't have to deal with that
[2009/05/07 04:38:23] <zeroXten> balls
[2009/05/07 04:38:33] <Volcane> zeroXten: try though, I've not tried it
[2009/05/07 04:39:09] <Volcane> jd: yeah, i have either redhat machines, or debian machines, never both. the only place where i have a slight mix is in OEL and RHEL but they're basically the same anyway
[2009/05/07 04:39:22] <Volcane> forcing that to be the case helps a whole lot
[2009/05/07 04:39:28] <JD> yeah
[2009/05/07 04:40:02] @ x_dimitri joined channel #puppet
[2009/05/07 04:40:13] <JD> we have different versions of ubuntu, but the majority are dapper or hardy, which reduces the headache too
[2009/05/07 04:40:32] @ Quit: Kindred: Read error: 104 (Connection reset by peer)
[2009/05/07 04:40:41] @ Kindred joined channel #puppet
[2009/05/07 04:40:49] <JD> and most of our puppet stuff is just hardy
[2009/05/07 04:40:50] <Volcane> yeah, still on the older debian here and finding it a real pain to do updates on it for example
[2009/05/07 04:41:15] <Volcane> you apt-get and it changes so much, packages working a bit different, new major versions of things, its just impossible
[2009/05/07 04:41:25] <Volcane> even between same major version
[2009/05/07 04:43:34] <JD> Volcane: you mean security updates or between debian releases?
[2009/05/07 04:43:59] <Volcane> same release, just whatever updates are available.
[2009/05/07 04:44:03] <mgk> hello, can somone help? im trying to find a list of commands for puppet eg path, owner group, mode notify, ensure. I have looked at the language guide which has a lot of them in, however is there a definiative resource like the typeRefernce on the wiki?
[2009/05/07 04:44:32] <Volcane> mgk: language tutorial, type reference, function reference. see those wiki pages
[2009/05/07 04:44:46] <JD> Volcane: debian should never change behaviour between security updates. It's a surprise that you have that problem :S
[2009/05/07 04:45:38] <Volcane> JD: yeh, i dont know, we tried updating the dev environment (no updates for like a year) and it was just a nightmare. See i dont mind so much if they change things slightly, but its partly our fault for not doing more updates
[2009/05/07 04:45:52] <Volcane> like. i can deal with change in small bundled, but try and update after a year and its just too unpredicatable
[2009/05/07 04:45:59] <JD> Volcane: maybe :)
[2009/05/07 04:46:18] <mgk> thanks volcane
[2009/05/07 04:46:19] <JD> this conversation reminded me to kick our junior admin into updating our security update class
[2009/05/07 04:46:25] @ alban2 joined channel #puppet
[2009/05/07 04:46:48] <JD> now there's a puppetty abuse if ever I saw one
[2009/05/07 04:47:38] @ DavidS joined channel #puppet
[2009/05/07 04:49:58] * Volcane wants to have all his package resources use the extlookup thing to determine desired version
[2009/05/07 04:50:13] <Volcane> but really need to be able to create virtual resources using a define and still later be able to override them
[2009/05/07 04:50:19] <Volcane> but i cant seem to figure out a way to do that
[2009/05/07 04:50:24] @ mikepea joined channel #puppet
[2009/05/07 04:50:26] @ mfladischer joined channel #puppet
[2009/05/07 04:55:30] <DavidS> pastie: url
[2009/05/07 04:55:40] @ gebi_ is now known as gebi
[2009/05/07 04:55:46] <pastie> http://pastie.org/470949 by DavidS.
[2009/05/07 04:56:13] <DavidS> ^ can someone replicate that? or am i just doing something wron?
[2009/05/07 04:56:18] <DavidS> <<-- just started with ralsh
[2009/05/07 04:56:36] <Volcane> works for me
[2009/05/07 04:56:53] <Volcane> 0.24.8
[2009/05/07 04:57:06] <DavidS> strange ...
[2009/05/07 04:57:29] <DavidS> ah! the target has to exist
[2009/05/07 04:57:32] <DavidS> :-/
[2009/05/07 04:58:16] @ buggs joined channel #puppet
[2009/05/07 04:58:20] <buggs> hoi
[2009/05/07 04:58:36] <buggs> deny * does in fileserver.conf doesn't work
[2009/05/07 04:58:38] <Volcane> DavidS: hmm, the directory maybe? my file didnt exist just the dir
[2009/05/07 04:58:50] <buggs> so what is one supposed to use?
[2009/05/07 04:59:01] <DavidS> Volcane: after a touch $target it worked
[2009/05/07 04:59:21] <Volcane> odd, i just used /tmp/nagios.test.cfg and it did the job
[2009/05/07 04:59:26] <Volcane> without touching
[2009/05/07 04:59:51] <Volcane> anyway, gotta go to the office
[2009/05/07 04:59:54] <DavidS> buggs: there is a implicit deny * at the end anyways
[2009/05/07 05:00:03] <DavidS> Volcane: thanks anyways
[2009/05/07 05:00:26] <buggs> then i don't see the point of deny lines at all
[2009/05/07 05:00:43] <buggs> anyways thanks
[2009/05/07 05:01:29] <buggs> also the clients connect to a host puppet by default?
[2009/05/07 05:01:30] <DavidS> buggs: read the wiki:FileServingConfiguration for details, but e.g. if you have allow *.example.com; deny *.prod.example.com
[2009/05/07 05:01:31] <gepetto> DavidS: buggs: wiki:FileServingConfiguration is http://reductivelabs.com/trac/puppet/wiki/FileServingConfiguration
[2009/05/07 05:01:35] <DavidS> yes
[2009/05/07 05:04:00] @ Quit: DavidS1: Read error: 113 (No route to host)
[2009/05/07 05:05:30] <buggs> ok, no point in my case i mean, i just drop it
[2009/05/07 05:06:06] <buggs> the other thing with the default puppet host, is that mentioned in the simple config page?
[2009/05/07 05:06:14] <buggs> did i miss that?
[2009/05/07 05:06:49] <buggs> if not i'd suggest adding that
[2009/05/07 05:07:11] <DavidS> buggs: feel free, it's a wiki
[2009/05/07 05:07:29] <zeroXten> hmm, in this case array comparison seems to work
[2009/05/07 05:10:40] @ verwilst joined channel #puppet
[2009/05/07 05:12:11] <zeroXten> although i now seem to have a strange bug
[2009/05/07 05:19:01] <jedi4ever> greetings, oh great puppetmasters! I'm wondering if there is a way to query the puppetmasterd to know which recipes apply to a certain puppet client.
[2009/05/07 05:26:44] @ Quit: Berge: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:45] @ Quit: barn: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:45] @ Quit: madduck: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:46] @ Quit: chadh: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:46] @ Quit: FiXion: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:46] @ Quit: duritong: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:48] @ Quit: zoeloelip: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:48] @ Quit: elijahwright: brown.freenode.net irc.freenode.net
[2009/05/07 05:26:48] @ Quit: avleen_: brown.freenode.net irc.freenode.net
[2009/05/07 05:29:14] @ chadh joined channel #puppet
[2009/05/07 05:29:14] @ FiXion joined channel #puppet
[2009/05/07 05:29:14] @ elijahwright joined channel #puppet
[2009/05/07 05:29:14] @ zoeloelip joined channel #puppet
[2009/05/07 05:29:15] @ Berge joined channel #puppet
[2009/05/07 05:29:15] @ avleen_ joined channel #puppet
[2009/05/07 05:29:15] @ barn joined channel #puppet
[2009/05/07 05:29:15] @ duritong joined channel #puppet
[2009/05/07 05:29:15] @ madduck joined channel #puppet
[2009/05/07 05:30:50] @ Quit: Kindred: Read error: 54 (Connection reset by peer)
[2009/05/07 05:31:40] @ Kindred joined channel #puppet
[2009/05/07 05:34:57] @ mconigliaro1 joined channel #puppet
[2009/05/07 05:37:56] <mgk> im having trouble with ensuring a service is running
[2009/05/07 05:38:02] <mgk> http://pastie.org/470974
[2009/05/07 05:38:13] <mgk> it says that running is an invalid parameter
[2009/05/07 05:38:26] <mgk> can anyone point out what ive missed?
[2009/05/07 05:39:27] <HarryCalahan> it is ensure => "running"
[2009/05/07 05:40:16] <HarryCalahan> (line 38)
[2009/05/07 05:42:12] @ Quit: Kindred: Read error: 54 (Connection reset by peer)
[2009/05/07 05:42:22] @ Kindred joined channel #puppet
[2009/05/07 05:43:11] <mgk> thanks, i think thats what i had originally, but i still doesnt start the service as far as i can tell
[2009/05/07 05:43:14] <mgk> i have updated the pastie
[2009/05/07 05:43:45] <HarryCalahan> pastie not updated
[2009/05/07 05:43:56] <HarryCalahan> run puppetd on client including --debug --test
[2009/05/07 05:45:01] @ descala joined channel #puppet
[2009/05/07 05:45:48] <mgk> ok i have put the results here http://pastie.org/470978
[2009/05/07 05:46:13] <mgk> that seems to have resulted in more info
[2009/05/07 05:46:37] <HarryCalahan> your service is named ssh.
[2009/05/07 05:46:46] <mgk> oh yes
[2009/05/07 05:46:48] <HarryCalahan> so puppet will check for a process named ssh
[2009/05/07 05:46:59] <HarryCalahan> and finds your remote login to the system
[2009/05/07 05:47:11] <HarryCalahan> so it decides is is running
[2009/05/07 05:47:14] <HarryCalahan> (pid 1888)
[2009/05/07 05:47:33] <HarryCalahan> (lines 94 and 95)
[2009/05/07 05:47:43] <mgk> i see that thanks
[2009/05/07 05:47:56] <mgk> that helps alot cheers
[2009/05/07 05:48:06] <HarryCalahan> either name service to sshd, fix the debian startscript to have a status command, or add a pattern to your service
[2009/05/07 05:49:04] <mgk> brill, thanks for that
[2009/05/07 05:49:34] @ degr8hun1 joined channel #puppet
[2009/05/07 05:51:09] <zeroXten> hmmm, puppet user->groups management isn't so hot it seems
[2009/05/07 05:51:50] <DavidS> zeroXten: use cases where you have complex group memberhip requirements are better served with dedicated user/group management software. yes.
[2009/05/07 05:52:44] <zeroXten> heh. In this case its not very complex, but a testuser has been added to a group and puppet doesn't want to remove it
[2009/05/07 05:52:46] @ Quit: mconigliaro: Read error: 110 (Connection timed out)
[2009/05/07 05:53:34] @ Quit: degr8hunt: Read error: 60 (Operation timed out)
[2009/05/07 05:56:02] @ nakano is now known as nakano_
[2009/05/07 05:56:27] <Llama> Hello.
[2009/05/07 05:56:39] <Llama> How can I manage group membership using puppet ?
[2009/05/07 05:57:01] <Llama> docs tell me, that it is copletly impossible, is it true ?
[2009/05/07 05:57:23] <mgk> thanks harry, i have managed that with a case switch on operatingsystem to change the anem to ssh on debian
[2009/05/07 05:57:36] <mgk> and renaming it to sshd
[2009/05/07 05:57:38] <mgk> cheers
[2009/05/07 05:57:40] <zeroXten> which docs Llama ?
[2009/05/07 05:57:52] <Llama> TypeReference#id23
[2009/05/07 05:58:04] <Llama> "Group membership must be managed on individual users."
[2009/05/07 05:58:33] <Llama> I have generic class which create user accounts on hosts.
[2009/05/07 05:59:14] <f3ew> zeroXten ensure => absent?
[2009/05/07 05:59:20] <Llama> I'd like to include users in groups. List of group for each user (or list of group members) will be different for each host.
[2009/05/07 05:59:25] @ keithlard joined channel #puppet
[2009/05/07 05:59:49] <Llama> So I see no smart way to manage group membership on per-host basis
[2009/05/07 06:00:23] <zeroXten> heh Llama, i am trying something similar, but using....
[2009/05/07 06:00:46] <Llama> The only dumb solution is to use something like "case $host = 'host1' ... user {"user": groups="g1"}
[2009/05/07 06:01:04] <Llama> but this is very ugly
[2009/05/07 06:01:10] <zeroXten> http://nephilim.ml.org/~rip/puppet/extlookup.rb
[2009/05/07 06:01:13] <Volcane> virtual users, and classes that override the groups, then u just include those groups on the machines
[2009/05/07 06:01:42] <keithlard> morning
[2009/05/07 06:02:13] <Llama> Volcane, ghm... could you point me to any exmaple ?
[2009/05/07 06:02:31] <Llama> I'm not ruby or OOP geek.
[2009/05/07 06:02:42] <Volcane> this is pure puppet inheritance and virtual resources :)
[2009/05/07 06:02:46] <zeroXten> f3ew: but where would I apply that? At the group and it would destory the whole group, at the user and it removes the user
[2009/05/07 06:03:09] <Llama> Volcane, never used such magick things
[2009/05/07 06:03:23] <Volcane> Llama: something along these lines http://reductivelabs.com/trac/puppet/wiki/VirtualResources
[2009/05/07 06:03:55] <Volcane> and some here http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice#managing-users
[2009/05/07 06:06:02] @ Quit: mconigliaro1: Read error: 104 (Connection reset by peer)
[2009/05/07 06:09:39] @ Quit: zeroXten: Remote closed the connection
[2009/05/07 06:09:45] <Llama> brr....
[2009/05/07 06:10:08] <Llama> such difficult and overflexible thing for a such trivial purpose...
[2009/05/07 06:10:38] <Volcane> user management is one of hte most complex things
[2009/05/07 06:11:24] @ zeroXten joined channel #puppet
[2009/05/07 06:12:25] * tim|imac agrees with Volcane
[2009/05/07 06:14:57] <zeroXten> what did i miss?
[2009/05/07 06:16:40] <Llama> Volcane, Ok, I'll define user as visrtual in generic class. I'll not sepcify
[2009/05/07 06:16:57] <Llama> I'll not specify any groups for virtual user
[2009/05/07 06:17:38] <Llama> How can I set group list in reslize() call ?
[2009/05/07 06:18:38] <Volcane> u need to make a class "foousers" that inherits from the one that made the virtual users
[2009/05/07 06:18:42] <Volcane> then you do somethin glike
[2009/05/07 06:18:54] <Volcane> User["john"] { groups +> wheel }
[2009/05/07 06:18:55] <Volcane> or whatever
[2009/05/07 06:19:09] <Volcane> and then realize(User["john"])
[2009/05/07 06:19:17] <Volcane> something along those lines, i am not 100% on the syntax
[2009/05/07 06:19:42] <Llama> ...
[2009/05/07 06:20:28] @ d3vilb0x joined channel #puppet
[2009/05/07 06:21:05] <Llama> for now, I use a fuctions which execute few things for me: create user, create dirs, create autorized_keys with apropriate content. Doe it possinble to have virtual function ?
[2009/05/07 06:21:29] <Volcane> a define you mean?
[2009/05/07 06:21:53] <Llama> yes
[2009/05/07 06:22:00] <Volcane> its possible
[2009/05/07 06:24:37] * monachus is in limbo.
[2009/05/07 06:29:42] @ Quit: TREllis: "leaving"
[2009/05/07 06:31:08] @ PsychoSid joined channel #puppet
[2009/05/07 06:31:59] @ TREllis joined channel #puppet
[2009/05/07 06:44:18] @ PsychoSid1 joined channel #puppet
[2009/05/07 06:45:06] @ Quit: keithlard: Read error: 110 (Connection timed out)
[2009/05/07 06:49:34] @ ohadlevy left channel #puppet ()
[2009/05/07 06:50:39] <sts> i don't get it.
[2009/05/07 06:51:06] <zeroXten> its official: groups and puppet don't mix
[2009/05/07 06:51:35] <sts> i've two classes: class postgresql and class postgresql::v8-3 inherits posgresql, in the same file and i get: Could not find class parent posgresql. any ideas whats wrong with this?
[2009/05/07 06:52:04] <Volcane> fix the typo
[2009/05/07 06:52:25] <sts> hahaha
[2009/05/07 06:52:27] <sts> harrr
[2009/05/07 06:53:54] @ nasrat joined channel #puppet
[2009/05/07 06:54:05] @ Quit: PsychoSid: Read error: 110 (Connection timed out)
[2009/05/07 06:55:15] <zeroXten> is there no way for puppet to remove a user from a group without absenting either?
[2009/05/07 06:55:33] <sts> zeroXten: which groups?
[2009/05/07 06:56:53] <zeroXten> hmm, any?
[2009/05/07 06:58:35] @ nakano_ is now known as nakano
[2009/05/07 06:59:15] @ dyresen is now known as Dyresen
[2009/05/07 07:04:44] <Volcane> sts: was that it? :)
[2009/05/07 07:09:44] @ monzie joined channel #puppet
[2009/05/07 07:14:00] <zeroXten> heh
[2009/05/07 07:21:41] @ Quit: glaw: Remote closed the connection
[2009/05/07 07:33:10] <mgk> can puppet use multi dimensional arrays?
[2009/05/07 07:34:33] @ keithlard joined channel #puppet
[2009/05/07 07:37:21] @ Quit: d3vilb0x:
[2009/05/07 07:42:00] <jamesturnbull> nasrat: ping
[2009/05/07 07:44:04] <sts> Volcane: yeah, that fixed it.
[2009/05/07 07:45:46] * monachus is in limbo.
[2009/05/07 07:46:33] <mgk> how do you create an array and assign values to it?
[2009/05/07 07:47:03] @ glaw joined channel #puppet
[2009/05/07 07:47:46] <Volcane> $foo = [1, 2, 3]
[2009/05/07 07:48:15] <mgk> thanks
[2009/05/07 07:48:33] <mgk> call then with $foo[1] ?
[2009/05/07 07:48:58] <Volcane> cant do that
[2009/05/07 07:49:19] <Volcane> only way to iterate arrays is with defines or in a template
[2009/05/07 07:49:33] <Volcane> define yourthing() { }
[2009/05/07 07:49:40] <Volcane> yourthing{$foo: }
[2009/05/07 07:49:49] <Volcane> is the same as
[2009/05/07 07:50:02] <Volcane> yourthing{"1": } etc
[2009/05/07 07:50:20] <mgk> ok, i think i see, thanks :)
[2009/05/07 07:50:40] <Volcane> can also pass the array into other place where it makes sense, like files etc
[2009/05/07 07:51:13] <Volcane> but you cant say foreach $foo { <do stuff> } or yourthing{$foo[1]: }
[2009/05/07 07:52:39] <mgk> right, i will give it a play, thanks for that
[2009/05/07 07:57:21] @ Quit: keithlard: Read error: 110 (Connection timed out)
[2009/05/07 07:58:41] @ Quit: PsychoSid1: "Leaving."
[2009/05/07 08:00:22] <DavidS> is there some official recommendation for variable suffixes like _dir, _file, etc.. ?#
[2009/05/07 08:01:23] @ mib_v2y0kg joined channel #puppet
[2009/05/07 08:02:33] @ Quit: mib_v2y0kg: Client Quit
[2009/05/07 08:03:27] @ Quit: maxagaz: Remote closed the connection
[2009/05/07 08:05:59] @ DarkFlib joined channel #puppet
[2009/05/07 08:16:01] @ Quit: fujin:
[2009/05/07 08:16:14] @ fujin joined channel #puppet
[2009/05/07 08:20:57] <DavidS> does anyone has a good example for virtual resources (except the ubiquituos user management)?
[2009/05/07 08:21:21] <DavidS> has anyone ...
[2009/05/07 08:21:39] @ Quit: descala:
[2009/05/07 08:24:44] <zeroXten> man, my define is stupid
[2009/05/07 08:24:56] <zeroXten> sorry DavidS, not beyond user management yet :)
[2009/05/07 08:31:24] @ mconigliaro joined channel #puppet
[2009/05/07 08:32:33] @ Quit: jrisch: Read error: 110 (Connection timed out)
[2009/05/07 08:33:25] <zeroXten> well, stuck on group management =(
[2009/05/07 08:35:48] @ degr8hunt joined channel #puppet
[2009/05/07 08:36:14] @ squiddle joined channel #puppet
[2009/05/07 08:40:51] <Volcane> DavidS: i found them only really useful for users and packages really
[2009/05/07 08:42:59] <monzie> is there any way I can load the puppet environment in irb and fiddle around with it?
[2009/05/07 08:43:14] <Volcane> require 'puppet'
[2009/05/07 08:44:03] <Volcane> that generally autoloads most of what u need etc, have a look at hte puppetd and see what it does
[2009/05/07 08:45:36] <fluxdude> I've got a bunch of packages that I don't want installed on my systems, but in a few cases I want to override those package absent definitions to enable the package, what is the best way of doing this?
[2009/05/07 08:46:04] <Volcane> fluxdude: virtual resources
[2009/05/07 08:46:06] <fluxdude> At the moment I am making a class for a service inherit the package and the override the ensure => absent to ensure => installed
[2009/05/07 08:46:11] @ Quit: nigelk_:
[2009/05/07 08:47:14] <fluxdude> Volcane: just looked up the doc, do not understand how that will help
[2009/05/07 08:47:25] @ kambiz_away is now known as kambiz
[2009/05/07 08:47:35] @ kambiz is now known as kambiz_away
[2009/05/07 08:47:38] <fluxdude> i have a bunch of packages with ensure => absent in a large basic class of things to uninstall across my infrastructure if found
[2009/05/07 08:48:10] <fluxdude> and I want specific exceptions to override this, ie nfs is uninstalled everywhere, but in my nfs class i need to have package ensure => enabled.
[2009/05/07 08:48:35] <fluxdude> the only way I can see is to make nfs inherit packages and then Package["nfs-blah"]{ ensure => installed }
[2009/05/07 08:48:44] <Volcane> thats basically it yeah
[2009/05/07 08:48:46] <monzie> i want to write something which uses both base.rb and parsed.rb
[2009/05/07 08:48:48] <fluxdude> but this means I have random inheritance all over the place
[2009/05/07 08:48:53] <monzie> How do I go ahead in doing it?
[2009/05/07 08:49:22] <Volcane> fluxdude: with default puppet stuff, thats about the best option
[2009/05/07 08:50:10] <monzie> Basically I need a monit service type .. it needs to do two things 1) populate the monitrc config file 2) restart the monit service.. how do you suggest I go about doing it?
[2009/05/07 08:50:17] @ Quit: degr8hun1: Read error: 113 (No route to host)
[2009/05/07 08:51:13] @ kambiz_away is now known as kambiz
[2009/05/07 08:57:01] @ d3vilb0x joined channel #puppet
[2009/05/07 08:57:29] @ degr8hunt left channel #puppet ()
[2009/05/07 08:58:57] <DavidS> fluxdude: I usually do it like this: class defaults { package{... ensure => purged} class defaults::with_nfs inherits defaults { Package['nfs']{ensure installed}
[2009/05/07 08:59:24] <DavidS> now you can do "include defaults::with_nfs" and do not need the random inheritance all over the place
[2009/05/07 08:59:29] @ Quit: x_dimitri: Read error: 113 (No route to host)
[2009/05/07 08:59:48] <DavidS> of course mostly syntactic change, but it reads much better imho
[2009/05/07 09:00:09] <DavidS> and you can do include multiple with_* classes
[2009/05/07 09:01:29] @ joe-mac joined channel #puppet
[2009/05/07 09:04:01] @ x_dimitri joined channel #puppet
[2009/05/07 09:04:19] @ Quit: x_dimitri: Client Quit
[2009/05/07 09:04:29] @ jrisch joined channel #puppet
[2009/05/07 09:04:41] @ Quit: mellen: Read error: 110 (Connection timed out)
[2009/05/07 09:04:56] @ mellen joined channel #puppet
[2009/05/07 09:06:01] @ glaw_ joined channel #puppet
[2009/05/07 09:06:57] @ Quit: glaw: Remote closed the connection
[2009/05/07 09:14:15] @ kymas joined channel #puppet
[2009/05/07 09:18:29] <nasrat> jamesturnbull: pong
[2009/05/07 09:18:55] <jamesturnbull> nasrat: I worked it out - was that constant error you were getting
[2009/05/07 09:19:09] <jamesturnbull> nasrat: I worked out why Luke called PUPPETVERSION and not VERSION
[2009/05/07 09:24:51] <nasrat> ah ok
[2009/05/07 09:24:58] <nasrat> what's the gorey detail
[2009/05/07 09:26:51] @ brothers joined channel #puppet
[2009/05/07 09:27:21] <jamesturnbull> well for some reason renaming PUPPETVERSION to VERSION and then using the constant Puppet::VERSION then Ruby thinks the constant is already defined. Change it to PUPPETVERSION and it works okay
[2009/05/07 09:27:53] <jamesturnbull> so somewhere in rake/ruby/the magic land of the fairies - a VERSION constant is getting replicated
[2009/05/07 09:28:20] <jamesturnbull> Same thing happens when you call the Puppet.version method
[2009/05/07 09:28:42] <jamesturnbull> not sure exactly WHY but since the change wasn't critical I reverted that portion and all is good
[2009/05/07 09:29:11] <monzie> jamesturnbull: Need help
[2009/05/07 09:29:26] <monzie> jamesturnbull: I am writing a monit service provider following your book
[2009/05/07 09:29:46] <monzie> as of now, it populates the /etc/blah/monitrc file correctly
[2009/05/07 09:29:55] <monzie> (it subclasses from parsedfile.rb )
[2009/05/07 09:29:59] <jamesturnbull> monzie: oh cool - using Parsedfile?
[2009/05/07 09:30:21] <monzie> After it has done it's work.. i need it to start/stop/restart monit
[2009/05/07 09:30:29] <monzie> (depending upon user permit )
[2009/05/07 09:30:49] <monzie> s/permit/optoins
[2009/05/07 09:31:53] <jamesturnbull> ok
[2009/05/07 09:32:06] <jamesturnbull> also if you want to bring into mainline you;ll need tests
[2009/05/07 09:32:40] <Volcane> wouldnt it be more puppetlike to just let your service subscribe to the thing thats doing the work?
[2009/05/07 09:32:50] @ Quit: mikepea: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:51] @ Quit: pleemans: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:51] @ Quit: PsychoTrahe: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:51] @ Quit: rabbit7: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:52] @ Quit: saloxin: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:53] @ Quit: danp: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:53] @ Quit: mecca_: brown.freenode.net irc.freenode.net
[2009/05/07 09:32:55] @ Quit: proton: brown.freenode.net irc.freenode.net
[2009/05/07 09:33:01] @ mikepea joined channel #puppet
[2009/05/07 09:33:01] @ pleemans joined channel #puppet
[2009/05/07 09:33:01] @ mecca_ joined channel #puppet
[2009/05/07 09:33:01] @ saloxin joined channel #puppet
[2009/05/07 09:33:01] @ PsychoTrahe joined channel #puppet
[2009/05/07 09:33:02] @ danp joined channel #puppet
[2009/05/07 09:33:02] @ proton joined channel #puppet
[2009/05/07 09:33:02] @ rabbit7 joined channel #puppet
[2009/05/07 09:34:47] <monzie> jamesturnbull: http://pastebin.ca/1415271
[2009/05/07 09:34:53] <monzie> ^^ is the input the provider takes
[2009/05/07 09:35:40] <jamesturnbull> monzie: as Volcane says why not use a service to restart monit?
[2009/05/07 09:36:07] <monzie> Volcane / jamesturnbull http://pastebin.ca/1415274 <-- is the resource type
[2009/05/07 09:36:46] <monzie> in the site.pp, i want to put something like
[2009/05/07 09:36:49] * Volcane cant write types, but i know what I'd expect to be puppetlike behaviour from a type :)
[2009/05/07 09:36:56] <monzie> restart => "all"
[2009/05/07 09:37:02] <monzie> or restart => "mongrel"
[2009/05/07 09:37:09] <monzie> to effect a restart.. how to do that?
[2009/05/07 09:37:47] @ Quit: brothers:
[2009/05/07 09:39:09] @ kngus joined channel #puppet
[2009/05/07 09:40:05] @ descala joined channel #puppet
[2009/05/07 09:40:09] @ devcodus joined channel #puppet
[2009/05/07 09:41:09] <monzie> jamesturnbull: any idea?
[2009/05/07 09:41:57] <jamesturnbull> monzie: I lean toward NOT doing in that the type
[2009/05/07 09:41:59] <monzie> ( I have posted this to the puppet-users list as well, hopefully someone will help me out )
[2009/05/07 09:42:05] <jamesturnbull> monzie: mongrel is a service in its own right
[2009/05/07 09:42:12] <jamesturnbull> monzie: monit is a resource in its own right
[2009/05/07 09:42:20] <monzie> right
[2009/05/07 09:42:26] <jamesturnbull> they have a relationships but Puppet already has logic to manage that relationship
[2009/05/07 09:42:45] <SyTonnerre> jamesturnbull, ah, is it possible to dump part of a puppet config into monit?
[2009/05/07 09:43:09] <SyTonnerre> jamesturnbull, i.e. service { "sshd": ensure => running } will create a monit rule to restart sshd if it goes away?
[2009/05/07 09:43:12] <SyTonnerre> That would be just too cool
[2009/05/07 09:43:18] <jamesturnbull> SyTonnerre: well monzie is writing a type
[2009/05/07 09:43:22] @ Quit: MarlondB:
[2009/05/07 09:43:25] <jamesturnbull> SyTonnerre: you currently can't do that directly
[2009/05/07 09:43:52] <monzie> jamesturnbull: my type is ready.. its able to handle monitrc files
[2009/05/07 09:44:22] <monzie> after handling it. i need it to it to restart monit.
[2009/05/07 09:47:06] @ rasputnik joined channel #puppet
[2009/05/07 09:47:13] <monzie> jamesturnbull: my basic need is to handle everything for monit. what would be the best approach of doing it?
[2009/05/07 09:47:29] <jamesturnbull> monzie: I must be missing something but what's wrong with require => Service["monit"]
[2009/05/07 09:47:37] @ bobbyz joined channel #puppet
[2009/05/07 09:47:48] <monzie> there are two parts to the problem.. populating the monit config file and then giving commands to monit
[2009/05/07 09:47:50] <monzie> as in
[2009/05/07 09:47:55] <monzie> 1) put "foo" in monitrc
[2009/05/07 09:48:03] <monzie> 2) run a "monit restart all"
[2009/05/07 09:48:12] <monzie> am I making sense?
[2009/05/07 09:49:06] <rasputnik> anyway to set a default Package {....} that will tell Solaris not to bother trying? I still want CentOS etc. to pull in RPMs as needed, but the Sun boxes kickstart what they need.
[2009/05/07 09:49:15] <jamesturnbull> I get the first part of the problem - your type solves that .. okay got that
[2009/05/07 09:49:21] <jamesturnbull> I don't get the second part
[2009/05/07 09:49:42] <monzie> let's say i put some apache related stuff into monitrc
[2009/05/07 09:49:58] <monzie> i would then want to do a "monit restart apache" right?
[2009/05/07 09:50:09] <jamesturnbull> yep
[2009/05/07 09:50:11] <monzie> this is my problem
[2009/05/07 09:50:13] <rasputnik> monzie : are you saying you need to run a custom command if the config changes?
[2009/05/07 09:50:21] <monzie> rasputnik: yes
[2009/05/07 09:51:10] <jamesturnbull> okay ... I get what you mean but I wouldn't do it that way
[2009/05/07 09:51:35] <jamesturnbull> one - what if a user doesn't want to apply the config straight away?
[2009/05/07 09:51:45] <rasputnik> nonzie have a look at the /etc/aliases -> newaliases examples on the wiki. You want an exec {"monit restart all"} and then a file {"monitrc" : notifiy => Exec['monit'} , rightL
[2009/05/07 09:51:56] <rasputnik> s/rightL/right?/
[2009/05/07 09:52:17] <rasputnik> notify => seems to be the magic bit.
[2009/05/07 09:52:38] <jamesturnbull> two - you would almost certainly have a monit service and a bunch of monit resources - why duplicate the service resource internally in the monit type?
[2009/05/07 09:52:44] <FiXion> rasputnik: I don't know that you can have a generic "ignore package if $operatingsystem ="solaris".. I think you have to do case $operatingsystem.. in your individual modules that setup package requirements
[2009/05/07 09:53:40] <FiXion> rasputnik: maybe define @package in main class and then do a case calling a class::subclass pr. OS - and then have the Solaris one NOT realize Package..
[2009/05/07 09:53:47] <rasputnik> FiXion, that's the impression I was getting. Really wanted to do it once in a 'global' Package {} up in sites.pp rather than cluttering every class with it.
[2009/05/07 09:54:16] <rasputnik> FiXion, ok, now you're scaring me. I'm still at the 'ntp.conf' level here :)
[2009/05/07 09:54:20] <FiXion> rasputnik: doing a global package would be wrong imho. better than each module knows which OS's it supports - and handles that correctly.
[2009/05/07 09:54:45] <FiXion> rasputnik: I was too - not many weeks ago :)
[2009/05/07 09:54:50] <rasputnik> hmm, think I'll punt on it for now. Will figure out templating first :)
[2009/05/07 09:55:04] <FiXion> rasputnik: http://reductivelabs.com/trac/puppet/wiki/VirtualResources
[2009/05/07 09:55:25] <FiXion> rasputnik: and do yourself a favor and make a module for each thing you control (like apache etc.) - see the recommendations
[2009/05/07 09:56:08] <jamesturnbull> rasputnik: will also pimp my book - http://tinyurl.com/puppetbook - it's a beginners intro to Puppet
[2009/05/07 09:56:18] <rasputnik> FiXion, no offfence to the puppeteers, but virtual resources seems like a code smell to me. working around non-intuitive scoping.
[2009/05/07 09:56:29] <rasputnik> jamesturnbull, just finished it over this weekend , thanks :D
[2009/05/07 09:56:43] <FiXion> rasputnik: it's IMHO really cool - and needed when man modules need to depend on the same package.
[2009/05/07 09:56:45] <rasputnik> jamesturnbull, is there a second edition on the way.
[2009/05/07 09:57:02] <FiXion> rasputnik: puppet won't stand for two definitions of the same Package, Service etc. - so you need virtualresources.
[2009/05/07 09:57:10] <jamesturnbull> rasputnik: later in the year
[2009/05/07 09:57:20] <jamesturnbull> rasputnik: virtual resources isn't a scoping issue as such
[2009/05/07 09:57:31] <rasputnik> jamesturnbull, cool, will watch out for it. doing a fair bit of evangelizing atm.
[2009/05/07 09:57:33] <FiXion> rasputnik: use the modules that have already been created.. helps you a lot
[2009/05/07 09:58:54] * jamesturnbull is to sleep - later all
[2009/05/07 09:59:36] @ Quit: DerekW: Read error: 104 (Connection reset by peer)
[2009/05/07 09:59:59] @ veritas_aequitas joined channel #puppet
[2009/05/07 10:00:10] <rasputnik> take no notice of me, I'm a guest in your fair city. I can see modules are the way to go but it's a big jump from here to there, so I'm starting with just some classes and nodes.
[2009/05/07 10:00:44] @ DerekW joined channel #puppet
[2009/05/07 10:04:22] <Volcane> modules are just classes thats differently laid out
[2009/05/07 10:04:28] <Volcane> nothing fancy about them
[2009/05/07 10:04:44] <Volcane> people do class apache-install { ... } and then class apache-service { } type stuff often
[2009/05/07 10:05:17] <Volcane> from there to a module is just class apache::install { } and class apache::service { } and slightly different way of finding files on the file server
[2009/05/07 10:07:38] @ rdaugherty joined channel #puppet
[2009/05/07 10:10:39] <rasputnik> Volcane : gotcha, I'd just rather figure out the basics before diving straight in, that's all.
[2009/05/07 10:10:40] @ x_dimitri joined channel #puppet
[2009/05/07 10:11:09] <FiXion> rasputnik: in regards to figureing out templating - you have seen: http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating
[2009/05/07 10:11:28] <FiXion> rasputnik: and here's a module example using it: http://reductivelabs.com/trac/puppet/wiki/Recipes/sshdconfigTemplate
[2009/05/07 10:11:29] <ashp> the only way I managed to figure out the basics was to dive straight in :)
[2009/05/07 10:13:05] <rasputnik> thanks, I know ERB pretty well (was writing mod_ruby code before Rails existed :) ). It's more how they get served, will figure it out before the end of today.
[2009/05/07 10:13:31] @ Quit: monzie:
[2009/05/07 10:14:08] @ Quit: mfladischer: "Ex-Chat"
[2009/05/07 10:16:30] @ Quit: d3vilb0x: Remote closed the connection
[2009/05/07 10:16:40] @ Quit: glaw_: Read error: 60 (Operation timed out)
[2009/05/07 10:17:04] @ d3vilb0x joined channel #puppet
[2009/05/07 10:30:47] @ kngus left channel #puppet ()
[2009/05/07 10:34:38] @ brothers joined channel #puppet
[2009/05/07 10:40:42] @ Quit: jrisch:
[2009/05/07 10:47:14] @ axisys joined channel #puppet
[2009/05/07 10:54:08] @ Quit: kolla: Remote closed the connection
[2009/05/07 10:55:37] <zeroXten> whats the point in user { groups } if it only half works =(....grrrr
[2009/05/07 10:56:11] @ jmarki joined channel #puppet
[2009/05/07 11:00:52] @ MarlondB joined channel #puppet
[2009/05/07 11:01:51] @ Quit: MarlondB: Client Quit
[2009/05/07 11:02:52] @ nakano is now known as nakano_
[2009/05/07 11:04:27] @ nakano_ is now known as nakano
[2009/05/07 11:04:37] @ nakano is now known as nakano_
[2009/05/07 11:07:38] @ MarlondB joined channel #puppet
[2009/05/07 11:07:58] @ rgsteele||work joined channel #puppet
[2009/05/07 11:08:40] <rgsteele||work> So, I'm running a copy of 0.24.8, but I don't see the DocumentRoot of the embedded Rails puppetmaster anywhere
[2009/05/07 11:08:41] <joe-mac> zeroXten: you mean how you can't manage group membvers withina group resource?
[2009/05/07 11:08:42] <rgsteele||work> A dpkg -L doesn't show it as being part of the package
[2009/05/07 11:08:56] @ Quit: alban2: Read error: 110 (Connection timed out)
[2009/05/07 11:13:19] <rgsteele||work> I see rack.rb in /usr/lib/ruby/1.8/puppet/network/http_server, but that's about it
[2009/05/07 11:14:00] <rgsteele||work> Ugh, nevermind. I just clue-batted myself.
[2009/05/07 11:14:02] @ Quit: mccune: Remote closed the connection
[2009/05/07 11:14:59] <zeroXten> rahhhhh
[2009/05/07 11:15:24] <joe-mac> ugh my master is swapping like half a gig
[2009/05/07 11:15:32] <zeroXten> joe-mac: no. I can happily use the user resource. My problem is that once i add a group for a user, i can't remove it
[2009/05/07 11:15:35] * joe-mac stares at the memory upgrade kit he hasn't installed yet
[2009/05/07 11:15:52] @ dnice joined channel #puppet
[2009/05/07 11:15:58] <HarryCalahan> joe-mac: put water on it. i might grow another megabyte
[2009/05/07 11:16:00] <joe-mac> yea, that's why it would be nice if the unix groupadd provider supported membership lists
[2009/05/07 11:16:01] <rgsteele||work> It's amazing how well those cluebats work. I should quit my day-job and start selling them.
[2009/05/07 11:16:12] <joe-mac> HarryCalahan: intriguing. do you have a newsletter?
[2009/05/07 11:16:14] <zeroXten> chaging 'groups => "testgroup",' to 'groups => "onlythis",' results in '/usr/sbin/usermod -G onlythis,testgroup wtfuser' being executed
[2009/05/07 11:16:14] <joe-mac> :-D
[2009/05/07 11:16:27] @ claymation joined channel #puppet
[2009/05/07 11:16:34] <HarryCalahan> joe-mac: stupid_ideas@spam.net
[2009/05/07 11:16:45] <rgsteele||work> jamesturnbull: How's the beta going?
[2009/05/07 11:17:05] <zeroXten> i just want it to run "/usr/sbin/usermod -G onlythis wtfuser"... is that soooo hard?
[2009/05/07 11:19:31] @ Quit: dnice: Client Quit
[2009/05/07 11:19:36] @ Quit: slap_stick: Read error: 60 (Operation timed out)
[2009/05/07 11:19:41] @ ags joined channel #puppet
[2009/05/07 11:19:46] @ slap_stick joined channel #puppet
[2009/05/07 11:28:04] <joe-mac> i'm thinking of giving splunk a go, anybody got anything to say about it?
[2009/05/07 11:28:30] <HarryCalahan> joe-mac: it's nice.
[2009/05/07 11:28:52] <HarryCalahan> like surfing the web. You might find useful stuff.
[2009/05/07 11:29:02] <HarryCalahan> or you might just wast your time
[2009/05/07 11:29:05] <Volcane> i cant get used to the UI, but also cant think of a better way of doing it
[2009/05/07 11:29:08] <joe-mac> lol
[2009/05/07 11:29:42] <joe-mac> Volcane: but all your data ius aggregated thanks to splunk, isn't it easier to get a big picture view of what was going on at a certain time?
[2009/05/07 11:29:42] <zeroXten> think i should report a bug?
[2009/05/07 11:29:51] <joe-mac> or does the interface suck too much for that
[2009/05/07 11:30:00] <HarryCalahan> and then i needed to buy a license and it went the way of a lot of paid websites ;)
[2009/05/07 11:30:28] <Volcane> joe-mac: yeah thats what it does, its good at it too, it just feels a bit cluttered ui wise i guess, i dont know, its fine
[2009/05/07 11:30:30] <joe-mac> HarryCalahan: i'm curious, how many boxes were yuio sending logs from before you hit the 500 MB point?
[2009/05/07 11:31:01] * Volcane 's apps have only one setting, LOG TOO MUCH
[2009/05/07 11:31:08] <Volcane> 500meg wouldnt last a hour
[2009/05/07 11:31:18] <HarryCalahan> i had it running with about 50 hosts.
[2009/05/07 11:31:18] <Volcane> actulaly maybe 3, still, madness
[2009/05/07 11:31:44] <joe-mac> jesus christ 500 MB of data every 3 hours?
[2009/05/07 11:31:56] * ricky wonders if there is currently any workaround to http://projects.reductivelabs.com/issues/2014.
[2009/05/07 11:31:58] <Volcane> yeah, thats being fixed though, but takes time :(
[2009/05/07 11:33:18] <Volcane> like every web request produce a stream of junk
[2009/05/07 11:33:33] <Volcane> simply tagged with DEBUG or NOTICE or whatever in the text, ugh
[2009/05/07 11:33:56] <Volcane> syslog-ng on the loghost to filter them what a awesome way to turn debugging on / off :P
[2009/05/07 11:34:20] <HarryCalahan> Volcane: and that was the sytem i kept (syslog-ng) ;)
[2009/05/07 11:35:16] <joe-mac> hrm, 'w' is showign 2 users on my puppet box, but i am the only one logged in. anybody know what can cause that?
[2009/05/07 11:35:30] <Volcane> dodgy wtmp/utmp ?
[2009/05/07 11:35:30] <gebi> Volcane: i've fixed the strange error from yesterday, i've just wrapped a class arround all my user/group statements and included the class instead of imported the file with all the statements
[2009/05/07 11:35:37] @ cwebber joined channel #puppet
[2009/05/07 11:35:53] <Volcane> gebi: yeah thats the better way to do it
[2009/05/07 11:36:16] @ Quit: cwebber: Read error: 54 (Connection reset by peer)
[2009/05/07 11:36:16] @ cwebber_ joined channel #puppet
[2009/05/07 11:36:17] <joe-mac> i'm rebooting the box
[2009/05/07 11:36:49] <joe-mac> only way i know of that can cause that is being owned
[2009/05/07 11:36:57] <joe-mac> really hoping that's not the case, since it's my puppet master
[2009/05/07 11:37:30] @ tyuns9090 joined channel #puppet
[2009/05/07 11:38:35] <tyuns9090> hello, quick question for anyone who is able to answer it. Can puppet be used as a replacement for tripwire?
[2009/05/07 11:38:41] @ Quit: MarlondB:
[2009/05/07 11:38:51] @ pica joined channel #puppet
[2009/05/07 11:38:51] <tyuns9090> to provide notificaiton of files that have been changed/editied
[2009/05/07 11:38:55] <tyuns9090> ?
[2009/05/07 11:39:19] <Volcane> only for files it knows about
[2009/05/07 11:39:28] @ Quit: pica: Client Quit
[2009/05/07 11:39:34] <Volcane> its not really a good choice
[2009/05/07 11:39:58] @ Quit: d3vilb0x: Read error: 145 (Connection timed out)
[2009/05/07 11:40:08] <joe-mac> i think the system was in a bad state or something Volcane, cause it was swapping so much maybe. i've never actually seen a machine swap so much. i really need to get down to the DC and install this ram
[2009/05/07 11:40:19] @ gaveen joined channel #puppet
[2009/05/07 11:40:57] @ lak joined channel #puppet
[2009/05/07 11:41:05] <tyuns9090> so for tripwire type funcionality, I should look elsewhere?
[2009/05/07 11:41:17] <gebi> how does the rrdgraph in puppet play together with multiple puppetmasters with mongrel?
[2009/05/07 11:41:30] <tyuns9090> but if puppet does know about a file, it can send email notification of file changes?
[2009/05/07 11:41:30] <Volcane> gebi: it just works
[2009/05/07 11:41:54] <Volcane> gebi: since the report is sent from the client to the master - the client builds the report
[2009/05/07 11:42:20] <Volcane> lak: pfft! so i was all thinking up schemes to ship reports to the central master yesterday, then notices --reportserver :) always impressed at how configurable things are!
[2009/05/07 11:42:35] <lak> :)
[2009/05/07 11:43:18] <Volcane> now i have regional masters with reports on just one of them, nice++
[2009/05/07 11:43:57] @ Quit: Innocenti: Client Quit
[2009/05/07 11:44:33] <gebi> a complete manpage would be nice for puppet tools
[2009/05/07 11:44:40] <joe-mac> puppetdoc
[2009/05/07 11:45:31] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/05/07 11:48:49] @ Quit: tyuns9090: "http://www.mibbit.com ajax IRC Client"
[2009/05/07 11:48:50] @ alfism joined channel #puppet
[2009/05/07 11:50:23] @ Quit: johan-s: Read error: 145 (Connection timed out)
[2009/05/07 11:54:25] @ Quit: cwebber_:
[2009/05/07 11:54:42] @ Quit: verwilst: "Ex-Chat"
[2009/05/07 11:55:58] <rgsteele||work> Hm. TypeReference fubar'ed?
[2009/05/07 11:56:08] <rgsteele||work> Ah, just deathly slow
[2009/05/07 11:56:36] <Volcane> mirror of type/function refs: http://nephilim.ml.org/~rip/puppet/historical/
[2009/05/07 11:56:46] <gebi> joe-mac: ah thx
[2009/05/07 11:57:08] <joe-mac> np
[2009/05/07 11:57:41] @ Ju` is now known as Ju
[2009/05/07 11:58:04] @ Quit: rasputnik: "Leaving"
[2009/05/07 12:02:09] @ Quit: lak:
[2009/05/07 12:04:25] @ devcodus left channel #puppet ("Ex-Chat")
[2009/05/07 12:05:56] <zeroXten> whats the best way to debug/trace puppetd? --debug isn't verbos enough
[2009/05/07 12:07:18] @ andrewcshafer joined channel #puppet
[2009/05/07 12:07:27] <DerekW> Well, the 0.25 beta has been quite easy to get going and fast
[2009/05/07 12:07:34] <DerekW> Much less aggro than 0.24.x
[2009/05/07 12:09:47] <andrewcshafer> DerekW: Sweet
[2009/05/07 12:10:14] @ Quit: andrewcshafer: Client Quit
[2009/05/07 12:14:14] <DerekW> Only the really hacky test suite I wrote doesn't work
[2009/05/07 12:14:26] <DerekW> The main manifest just does it's job properly
[2009/05/07 12:14:54] <DerekW> Only niggles are to do with the new client yaml dir not getting automatically created
[2009/05/07 12:15:10] <DerekW> I will no doubt report back later :-)
[2009/05/07 12:16:39] @ ibt joined channel #puppet
[2009/05/07 12:19:16] @ Quit: DavidS: Read error: 113 (No route to host)
[2009/05/07 12:22:12] @ jedi4ever_ joined channel #puppet
[2009/05/07 12:22:26] <DerekW> I speak too soon, just a typo, even the hacky stuff Just Works
[2009/05/07 12:22:27] @ Quit: jedi4ever_: Client Quit
[2009/05/07 12:23:32] @ Quit: jedi4ever: Read error: 60 (Operation timed out)
[2009/05/07 12:23:59] * Volcane just pointed his entire manifest at it, and it failed :P
[2009/05/07 12:24:29] <Volcane> mostly works though i am sure the tickets i opened should be minor things
[2009/05/07 12:28:42] @ MarlondB joined channel #puppet
[2009/05/07 12:29:48] <DerekW> Volcane, did you find it created $libdir/client_yaml/catalog automatically or did you have to do that manually?
[2009/05/07 12:30:02] @ ChoHag joined channel #puppet
[2009/05/07 12:30:04] <Volcane> i didnt need to create that no
[2009/05/07 12:30:19] <ChoHag> How can you determine the order a node's classes are impremented in?
[2009/05/07 12:30:28] @ Quit: bajan: "Leaving."
[2009/05/07 12:30:55] <Volcane> ChoHag: you need to use require => or before => in your resources
[2009/05/07 12:31:02] @ shake-n-bake joined channel #puppet
[2009/05/07 12:31:14] <ChoHag> Isn't that only for types?
[2009/05/07 12:31:31] <Volcane> require => Class["foo"]
[2009/05/07 12:33:56] <ChoHag> And how do you put that in a class/define?
[2009/05/07 12:34:12] <Volcane> well you cant have a class depend on another class just yet
[2009/05/07 12:35:18] <Volcane> but you can set it on indivbidual resources, and if you have a define, mydefine{"foo": require => Class["other"] } also works
[2009/05/07 12:35:34] <ChoHag> So the order in which classes are realised can't be influenced?
[2009/05/07 12:36:05] @ Quit: ags: Read error: 104 (Connection reset by peer)
[2009/05/07 12:36:07] <Volcane> only by having resources inside a class depend on other classes
[2009/05/07 12:37:14] <ChoHag> Right.
[2009/05/07 12:37:19] @ Eghie joined channel #puppet
[2009/05/07 12:37:42] @ Quit: Eghie: SendQ exceeded
[2009/05/07 12:38:09] @ Eghie joined channel #puppet
[2009/05/07 12:38:27] <Volcane> what are you trying to do?
[2009/05/07 12:38:51] @ Quit: Eghie: SendQ exceeded
[2009/05/07 12:39:19] @ Eghie joined channel #puppet
[2009/05/07 12:39:48] @ Quit: x_dimitri: "Leaving."
[2009/05/07 12:39:51] @ x_dimitri joined channel #puppet
[2009/05/07 12:39:59] @ Quit: Eghie: SendQ exceeded
[2009/05/07 12:40:25] @ Eghie joined channel #puppet
[2009/05/07 12:41:07] @ Quit: Eghie: SendQ exceeded
[2009/05/07 12:41:34] @ Eghie joined channel #puppet
[2009/05/07 12:42:27] @ Quit: DerekW: Remote closed the connection
[2009/05/07 12:43:28] @ Quit: mgk: Remote closed the connection
[2009/05/07 12:44:12] @ Quit: MattyM: Remote closed the connection
[2009/05/07 12:51:47] @ barnum joined channel #puppet
[2009/05/07 12:51:47] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 12:51:59] @ d3vilb0x joined channel #puppet
[2009/05/07 12:52:10] @ descala joined channel #puppet
[2009/05/07 12:53:35] <ChoHag> I want to ensure apt gets configured correctly before any packages are installed.
[2009/05/07 12:54:19] <Volcane> so make a class apt
[2009/05/07 12:54:23] <Volcane> and in your site.pp do
[2009/05/07 12:54:27] <sigmonsays> puppet depends on augeas now?
[2009/05/07 12:54:30] <Volcane> Package{ require => Class["apt"] }
[2009/05/07 12:54:49] <Volcane> sigmonsays: only in the little over zealous hearts of epel packagers
[2009/05/07 12:54:57] <sigmonsays> hehe, that's what i'm seeing
[2009/05/07 12:54:59] <sigmonsays> just making sure
[2009/05/07 12:55:06] <sigmonsays> didn't wanna smack anyone too hard for the wrong reasons
[2009/05/07 12:55:21] <Volcane> yeah the 0.25.0 packages lets you build --without-augeas or something
[2009/05/07 12:55:32] <Volcane> for 0.24 just edit it out and live improves immediately
[2009/05/07 12:55:32] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 12:55:40] <Volcane> life even
[2009/05/07 12:56:22] <sigmonsays> heh
[2009/05/07 12:56:40] @ descala joined channel #puppet
[2009/05/07 12:57:49] @ Quit: alfism: "Connection reset by beer"
[2009/05/07 12:57:51] @ x_dimitri left channel #puppet ()
[2009/05/07 13:02:24] @ Quit: d3vilb0x:
[2009/05/07 13:02:25] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:02:45] @ descala joined channel #puppet
[2009/05/07 13:04:46] @ erm__ joined channel #puppet
[2009/05/07 13:08:28] @ erm___ joined channel #puppet
[2009/05/07 13:08:28] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:08:51] @ descala joined channel #puppet
[2009/05/07 13:10:56] @ schwagal1 joined channel #puppet
[2009/05/07 13:10:57] @ Quit: schwagala: Read error: 54 (Connection reset by peer)
[2009/05/07 13:11:14] @ hexasoft joined channel #puppet
[2009/05/07 13:11:23] <hexasoft> 'lo
[2009/05/07 13:11:29] <hexasoft> Volcane: are you here?
[2009/05/07 13:11:36] <Volcane> ya
[2009/05/07 13:11:37] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:11:40] <Volcane> london
[2009/05/07 13:11:51] <Volcane> arg, stupid focus
[2009/05/07 13:11:58] <hexasoft> Volcane: I found the openssl sequence to create needed data on a puppet node.
[2009/05/07 13:12:05] <Volcane> nice
[2009/05/07 13:12:10] <Volcane> and a master?
[2009/05/07 13:12:25] <hexasoft> I still have to check how to sign it "by my side"
[2009/05/07 13:12:38] @ francois left channel #puppet ()
[2009/05/07 13:12:42] <Volcane> you'll need to do all the CA junk that the master needs too
[2009/05/07 13:12:49] <hexasoft> yep
[2009/05/07 13:12:52] @ d3vilb0x joined channel #puppet
[2009/05/07 13:13:14] <hexasoft> let say that if you use "autosign" this first part is enough :)
[2009/05/07 13:13:21] @ descala joined channel #puppet
[2009/05/07 13:13:42] <hexasoft> but I will go further to try to handle all the process outside the client/server
[2009/05/07 13:17:09] <sigmonsays> anyone intersted in fixing a exec{} error on FC4 with puppet 0.24.8 ?
[2009/05/07 13:17:10] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:17:24] @ Quit: erm___: "leaving"
[2009/05/07 13:17:31] <sigmonsays> it appears all kinds of exec { } fails. rpm, exec resources themselves
[2009/05/07 13:17:52] @ descala joined channel #puppet
[2009/05/07 13:18:19] @ johan-s joined channel #puppet
[2009/05/07 13:18:44] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/05/07 13:21:19] @ Quit: nasrat: "Ex-Chat"
[2009/05/07 13:21:19] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:21:44] @ alban2 joined channel #puppet
[2009/05/07 13:22:22] @ descala joined channel #puppet
[2009/05/07 13:23:13] @ Quit: Demosthenes: "leaving"
[2009/05/07 13:24:00] @ erm_ joined channel #puppet
[2009/05/07 13:26:13] @ Quit: d3vilb0x:
[2009/05/07 13:26:14] @ Quit: erm__: Read error: 110 (Connection timed out)
[2009/05/07 13:26:37] @ schwagala joined channel #puppet
[2009/05/07 13:26:38] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:26:38] <tmz> sigmonsays: FC4 is ancient and unsupported, it hasn't seen any updates in years. odds are, that's a large part of the problem.
[2009/05/07 13:28:27] @ descala joined channel #puppet
[2009/05/07 13:29:56] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/05/07 13:33:33] <Volcane> whats the error?
[2009/05/07 13:33:33] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:34:31] @ Quit: schwagal1: Read error: 60 (Operation timed out)
[2009/05/07 13:34:32] @ descala joined channel #puppet
[2009/05/07 13:34:40] @ Quit: squiddle: Read error: 145 (Connection timed out)
[2009/05/07 13:38:08] <hexasoft> Volcane: I managed to sign a own create client cert.
[2009/05/07 13:38:09] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:38:45] <hexasoft> of course you need to take most of the private stuff of your existing puppet master for that.
[2009/05/07 13:38:59] <hexasoft> (which is quite normal)
[2009/05/07 13:39:03] @ descala joined channel #puppet
[2009/05/07 13:39:04] <Volcane> I'd have thought you wanted to reuse an existing CA
[2009/05/07 13:39:21] <Volcane> but yeah if you just want to take what the puppet CA has then its not hard
[2009/05/07 13:39:30] @ mikepea joined channel #puppet
[2009/05/07 13:39:43] <hexasoft> want I want is to be able to create from void a signed cert for an incoming machine.
[2009/05/07 13:40:13] * Volcane has a CA and all machines get certs in /etc/pki signed by it etc
[2009/05/07 13:40:14] <hexasoft> in order to put it in advance on the private data server
[2009/05/07 13:40:21] <Volcane> but dont use that for puppet atm
[2009/05/07 13:40:37] <hexasoft> atm?
[2009/05/07 13:40:43] <Volcane> at the moment
[2009/05/07 13:41:01] <hexasoft> ok
[2009/05/07 13:41:05] <hexasoft> why?
[2009/05/07 13:41:13] <Volcane> havnt bothered yet :P
[2009/05/07 13:41:18] <Volcane> happy with puppets ca for that
[2009/05/07 13:41:19] @ Quit: descala: Read error: 104 (Connection reset by peer)
[2009/05/07 13:41:34] <hexasoft> ah, (you) dont use...
[2009/05/07 13:41:35] <hexasoft> ok
[2009/05/07 13:41:41] <Volcane> yeah
[2009/05/07 13:42:22] <hexasoft> well, with that, I will be able to make new nodes ready-to-use-puppet at installation stage
[2009/05/07 13:42:46] @ Quit: mikepea: Client Quit
[2009/05/07 13:42:59] <hexasoft> which will allow me to remove "autosign", which is not a good option to use I think.
[2009/05/07 13:43:20] <Volcane> i use this to generate, sign etcetc http://pastie.org/471344
[2009/05/07 13:43:31] @ Quit: gaveen: Success
[2009/05/07 13:43:33] @ descala joined channel #puppet
[2009/05/07 13:43:42] @ gaveen_ joined channel #puppet
[2009/05/07 13:43:50] <Volcane> along with this makefile http://sial.org/howto/openssl/ca/
[2009/05/07 13:44:29] <Volcane> CA is stored in an encfs encrypted image that someone needs to mount, knowing the password etc, before they can make any new certs or sign them etc
[2009/05/07 13:45:17] @ alfism joined channel #puppet
[2009/05/07 13:45:43] @ ZummiG777 joined channel #puppet
[2009/05/07 13:46:11] <ZummiG777> What does it mean when ruby crashes with an error like this " /usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired (Timeout::Error)"
[2009/05/07 13:46:13] <hexasoft> Volcane: nice script.
[2009/05/07 13:46:29] <hexasoft> Volcane: btw now I know (and understand) how to do it myslef :)
[2009/05/07 13:46:59] <Volcane> yeah good learning experience for sure, very few people "get" how ssl works :)
[2009/05/07 13:47:02] <hexasoft> Volcane: in our case the private data server is a trusted on.
[2009/05/07 13:47:10] <hexasoft> one
[2009/05/07 13:48:23] @ Quit: schwagala: Read error: 54 (Connection reset by peer)
[2009/05/07 13:48:27] <hexasoft> the only way to access it is using the net console (which is on a private subnet for sysadmins) and from the installation machine
[2009/05/07 13:48:38] <Volcane> ah, nice
[2009/05/07 13:48:58] <hexasoft> this last can only inform the data server that a new node is allowed to exists, and so to create the private data for it.
[2009/05/07 13:49:17] <Volcane> yeha my machines are all on the net at tons of little isps
[2009/05/07 13:49:20] <Volcane> so no such luxuries :)
[2009/05/07 13:49:35] <hexasoft> :)
[2009/05/07 13:49:41] <Volcane> well these ones anyways, but where i have proper colo machines etc, i do the same CA setup
[2009/05/07 13:51:58] @ Quit: elijahwright: Read error: 104 (Connection reset by peer)
[2009/05/07 13:52:40] @ elijahwright joined channel #puppet
[2009/05/07 13:54:35] @ schwagala joined channel #puppet
[2009/05/07 13:58:58] * monachus is in limbo.
[2009/05/07 14:03:13] @ pleemans joined channel #puppet
[2009/05/07 14:06:44] @ Quit: zeroXten: Remote closed the connection
[2009/05/07 14:07:46] @ Quit: fruitcake: Read error: 110 (Connection timed out)
[2009/05/07 14:08:43] <Tuf8> this may seem like a stupid question, but does puppet look for its confs by defatult in /etc/puppet if you install from source?
[2009/05/07 14:08:57] <Tuf8> I've only ever used a binary
[2009/05/07 14:09:25] <joe-mac> it looks in confdir
[2009/05/07 14:09:31] <joe-mac> which is by default AFAIK /etc/puppet
[2009/05/07 14:11:22] <Tuf8> where would you configure that?
[2009/05/07 14:11:38] @ Jonny joined channel #puppet
[2009/05/07 14:12:00] <Jonny> Hi all - is there a way to run a command on the puppetmaster when a file on the client changes (for pushing files over via rsync)
[2009/05/07 14:12:56] <Tuf8> lib/puppet/reference/configuration.rb: confdir = /private/puppet
[2009/05/07 14:12:59] <Tuf8> really?
[2009/05/07 14:17:06] <joe-mac> Tuf8: wtf? ahh no clue what that's all about, however you can set confdir= in /etc/puppet/puppet.conf
[2009/05/07 14:17:29] <Tuf8> thats the egg before the chicken
[2009/05/07 14:17:32] <Tuf8> kinda
[2009/05/07 14:17:41] <Tuf8> im digging
[2009/05/07 14:17:54] <Jonny> guys?
[2009/05/07 14:19:56] <Tuf8> jonny there is I believe..you can force a push down to all the clients
[2009/05/07 14:20:00] <Tuf8> is that what youre asking?
[2009/05/07 14:20:16] @ Quit: themurph: Read error: 110 (Connection timed out)
[2009/05/07 14:21:34] <joe-mac> jonny what are you trying to do exactly?
[2009/05/07 14:22:21] <Jonny> joe-mac, have a directory of files be copied over from the puppetmaster to the client
[2009/05/07 14:22:29] <Jonny> I'm using file{} with recurse, but it's very slow
[2009/05/07 14:23:03] <Jonny> I read that it's because it needs to checksum every file... in addition, the directory that it's coming from on the puppetmaster is NFS-mounted, which also probably slows things down a bit
[2009/05/07 14:23:16] <Jonny> So I wanted to use rsync instead, but I'd rather have it initiated by the server
[2009/05/07 14:23:32] <joe-mac> so use an exec{} with rsync like you want
[2009/05/07 14:23:44] <Jonny> Wouldn't that execute on the client machine?
[2009/05/07 14:25:07] <Jonny> If the clients initiate the rsync, over SSH, say, then they need SSH keys for that server... I'd rather not do that incase they fall into the wrong hands
[2009/05/07 14:25:32] <Jonny> (unless you can lock down sftp access for certain SSH clients?)
[2009/05/07 14:25:35] @ Quit: jmarki: Remote closed the connection
[2009/05/07 14:26:00] <rgsteele||work> Hm, if you're using Passenger as your server type, how is that specified to puppermasterd? It looks like --servertype only accepts 'mongrel' and 'webrick' as option parameters.
[2009/05/07 14:27:21] <Jonny> Gotta go - joe-mac if you have a solution could you paste it in pm? Cheers
[2009/05/07 14:27:42] <joe-mac> Jonny: just ping me when you're back and wanna talk more about it, i am a little busy so not fully in this with my head
[2009/05/07 14:27:56] <rgsteele||work> Oh, I see.... the puppetmaster is embedded.
[2009/05/07 14:29:13] <ch> rgsteele||work: yep, it's running embedded in this case
[2009/05/07 14:30:02] @ graynor joined channel #puppet
[2009/05/07 14:35:24] @ fbe joined channel #puppet
[2009/05/07 14:35:55] @ Quit: fbe: Read error: 104 (Connection reset by peer)
[2009/05/07 14:36:59] <rgsteele||work> ch: Do I have to regenerate the cert since the protocol is now HTTPS?
[2009/05/07 14:37:20] <ch> rgsteele||work: if you already have certs, they should work fine
[2009/05/07 14:37:44] <rgsteele||work> Hm - for some reason, I'm getting this: err: Could not retrieve catalog: Certificates were not trusted: unknown protocol
[2009/05/07 14:38:10] <ch> is this 0.24.8 or 0.25 beta?
[2009/05/07 14:38:14] <rgsteele||work> 0.24.8
[2009/05/07 14:38:22] <ch> and, did you try https://puppetmaster:8140/ in your browser?
[2009/05/07 14:39:23] <ch> if this gives a shiny passenger error, something is deeply wrong
[2009/05/07 14:39:36] <rgsteele||work> No, it gave an SSL error.
[2009/05/07 14:39:42] <rgsteele||work> "SSL received a record that exceeded the maximum permissible length."
[2009/05/07 14:40:16] <ch> it's probably not talking SSL then
[2009/05/07 14:41:55] <ch> may want to recheck your apache config and verify that it's not talking just plain http
[2009/05/07 14:44:04] @ Quit: Disconnect: Read error: 104 (Connection reset by peer)
[2009/05/07 14:44:10] <rgsteele||work> Ah, well I did have an Apache issue, which I fixed.
[2009/05/07 14:44:41] <rgsteele||work> Although, I got an internal server error. Not sure that's much better :)
[2009/05/07 14:44:47] @ Disconnect joined channel #puppet
[2009/05/07 14:44:47] <rgsteele||work> Time to go log combing
[2009/05/07 14:50:38] <rgsteele||work> Looks like it's complaining about missing ruby gems... fastthread apparently.
[2009/05/07 14:50:52] <ZummiG777> Question: On one server I'm having puppetd die with a timeout, dropping our ruby errors as it terminates. Can someone help debug what is wrong?
[2009/05/07 14:52:09] <ch> rgsteele||work: yeah for some braindead reason you need fastthread installed, and maybe some other gems, but the passenger gem should have taken care of that
[2009/05/07 14:52:13] @ fbe joined channel #puppet
[2009/05/07 14:52:44] <rgsteele||work> I didn't install passenger as a gem
[2009/05/07 14:52:54] <rgsteele||work> I installed it as a .deb package
[2009/05/07 14:52:54] <ch> that'd explain it :)
[2009/05/07 14:53:17] <ch> if you can produce a list of missing gems, maybe you could update the wiki then?
[2009/05/07 14:54:50] <rgsteele||work> Sure
[2009/05/07 14:55:02] @ Quit: pdt:
[2009/05/07 15:03:51] @ justindossey joined channel #puppet
[2009/05/07 15:18:39] @ Quit: ZummiG777: "Leaving"
[2009/05/07 15:22:29] @ Quit: gaveen_: Connection timed out
[2009/05/07 15:27:11] <hexasoft> hmmm... is there a doc/howto about using apache with puppet master?
[2009/05/07 15:27:22] <hexasoft> don't remember to see it on the puppet page
[2009/05/07 15:27:31] <joe-mac> hexasoft: there is a recipe that is pretty self-documenting, but it's for debian
[2009/05/07 15:27:41] <joe-mac> i use it, works well. it allows pupept to create itself. it's almosty perverse
[2009/05/07 15:27:51] @ gaveen_ joined channel #puppet
[2009/05/07 15:28:51] <hexasoft> joe-mac: ok thlks. I will check the recipes
[2009/05/07 15:29:09] <joe-mac> it uses mod_proxy_balancer to go out to the default of ten puppet masters
[2009/05/07 15:29:22] <hexasoft> we use RHEL-like machines, but my own machine is debian, so I should be able to adapt things.
[2009/05/07 15:29:30] @ cwebber joined channel #puppet
[2009/05/07 15:29:46] <danp> joe-mac: curious, how many clients do you have hitting your puppetmasters and how often?
[2009/05/07 15:30:14] <joe-mac> only 30 at my DC right now, just a handful in the office
[2009/05/07 15:30:51] <joe-mac> the 10 is kinda overkill, but we're growing pretty fast, so i wanted to make sure i was ready
[2009/05/07 15:32:08] <jrojas> hexasoft: look for the passenger info on the wiki
[2009/05/07 15:32:16] <hexasoft> Recipes/DebianApache2Recipe I guess
[2009/05/07 15:32:33] <hexasoft> jrojas: I will check.
[2009/05/07 15:33:07] @ Quit: cwebber: Read error: 104 (Connection reset by peer)
[2009/05/07 15:34:46] <rgsteele||work> ch: Got it working, after I created a .deb for fastthread
[2009/05/07 15:35:19] <ch> rgsteele||work: cool.
[2009/05/07 15:35:27] <ch> I just installed fastthread as a gem :/
[2009/05/07 15:35:34] <Volcane> hexasoft: are you looking to run apache infront of the master or to configure apaches on clients?
[2009/05/07 15:35:59] <Volcane> plenty of apache+mongrel docs on the wiki and even rhel ones i think
[2009/05/07 15:37:15] <rgsteele||work> ch: Boo, package it ;)
[2009/05/07 15:38:19] <hexasoft> Volcane: the 1st
[2009/05/07 15:38:35] <hexasoft> do my previous recipe is not the good one :)
[2009/05/07 15:38:56] <Volcane> http://reductivelabs.com/trac/puppet/wiki/UsingMongrel and http://reductivelabs.com/trac/puppet/wiki/UsingMongrelOnEnterpriseLinux
[2009/05/07 15:38:57] <hexasoft> s/do/so
[2009/05/07 15:39:15] <ch> rgsteele||work: yeah. I might switch to REE though, and then wouldnt need it
[2009/05/07 15:39:18] <joe-mac> hexasoft: yea that's the one i followed
[2009/05/07 15:43:42] <rgsteele||work> ch: Hm, I'm guessing that restarting the puppetmaster now boils down to reloading apache?
[2009/05/07 15:44:07] <ch> yes
[2009/05/07 15:44:18] <ch> rgsteele||work, yes, if you really need to do that
[2009/05/07 15:44:37] <hexasoft> oh. to be noted for future problems :)
[2009/05/07 15:44:38] <ch> rgsteele||work, I seldom need that, usually a touch site.pp solves all my problems :)
[2009/05/07 15:44:55] <Volcane> no it doesnt
[2009/05/07 15:45:10] <Volcane> apache just proxies to puppetmaster, if u want to restart the master u need to restart the aster
[2009/05/07 15:45:13] <ch> alternatively you could kill all that "Rack: puppetmasterd" processes
[2009/05/07 15:45:26] <Volcane> and if you're on a recent apache you need to restart apapche too - or wait for its silly proxy failure timeouts
[2009/05/07 15:45:37] @ Quit: joe-mac: "Leaving."
[2009/05/07 15:45:42] <Volcane> ah, you guys are running iunder rack, right different story
[2009/05/07 15:45:55] @ joe-mac joined channel #puppet
[2009/05/07 15:46:54] @ joe-mac left channel #puppet ()
[2009/05/07 15:47:24] @ Quit: jason^: Read error: 110 (Connection timed out)
[2009/05/07 15:48:00] @ joe-mac joined channel #puppet
[2009/05/07 15:50:34] <rgsteele||work> Yeah
[2009/05/07 15:50:54] <hexasoft> funny: I created a new cert for an existing node, and signed it with the server CA.
[2009/05/07 15:50:57] <rgsteele||work> Running it as a rack, so I would think a restart would work.
[2009/05/07 15:51:21] <hexasoft> I ran the client and it works fine, even if I don't update the corresp. certs for the node on the server.
[2009/05/07 15:51:47] <rgsteele||work> ch: Do you run a second rack for fileserving?
[2009/05/07 15:52:23] * rgsteele||work realizes that out of context, that could mean something completely different, like a SAN or something :)
[2009/05/07 15:52:27] <ch> rgsteele||work: no, didn't try that
[2009/05/07 15:56:46] <jmslagle> Anyone know if any example recipes that build an app from source?
[2009/05/07 15:57:02] <joe-mac> jmslagle: i nmade one
[2009/05/07 15:57:09] <joe-mac> however
[2009/05/07 15:57:14] <joe-mac> file serving is so slow it's unusable
[2009/05/07 15:57:28] <joe-mac> well, because fiel serving is so slow, and because file resources don't havea n onlyif
[2009/05/07 15:57:37] <jmslagle> I wasn't going to get the file from there :)
[2009/05/07 15:57:40] <jmslagle> It's coming out of CVS
[2009/05/07 15:57:50] <joe-mac> ah let me se if i still have that
[2009/05/07 15:58:30] <hexasoft> on a RHEL5-like 64bit, the ruby from facter (facter-1.5.2-1.x86_64) seems to make some strange check on the local filesystem.
[2009/05/07 15:58:51] <hexasoft> /usr/lib/ruby/site_ruby/1.8/facter/util/resolution.rb:46: warning: Insecure world writable dir /usr/afsws, mode 040777
[2009/05/07 15:58:51] <hexasoft> /usr/lib/ruby/site_ruby/1.8/facter/util/ip.rb:22: warning: Insecure world writable dir /usr/afsws, mode 040777
[2009/05/07 15:59:31] <hexasoft> lrwxrwxrwx 1 root root 41 Apr 29 13:25 /usr/afsws -> /afs/in2p3.fr/system/@sys/openafs-1.4.10/
[2009/05/07 16:00:40] <hexasoft> not really important, but it makes noise in the logs, and it makes no sense as the targeted directory is in AFS, so unix modes are not relevant...
[2009/05/07 16:02:05] @ Quit: aymerick: "kit mais sage"
[2009/05/07 16:02:47] <joe-mac> jmslagle: http://www.pastie.org/471507 idk how i used to call it cause i removed that functionality really early in my puppeteering cause of the file serving issues
[2009/05/07 16:03:29] <joe-mac> i would do like source_package { "nagios": makeopts => [ "install", "install-init" ], } etc etc
[2009/05/07 16:04:09] @ jason^ joined channel #puppet
[2009/05/07 16:05:45] <joe-mac> i'm sure that can be cleaned up a little or there might be a logic error or two in there, but i think that's the right idea, just need to change the file serve resource to be from your cvs
[2009/05/07 16:10:18] @ gaveen__ joined channel #puppet
[2009/05/07 16:11:21] <rgsteele||work> Holy crap
[2009/05/07 16:11:27] @ Quit: descala:
[2009/05/07 16:11:33] <rgsteele||work> run time for one node went from 693 secs to 17
[2009/05/07 16:11:44] <rgsteele||work> After switching from webrick->passenger
[2009/05/07 16:11:56] <Volcane> heh
[2009/05/07 16:12:43] <joe-mac> LMAO, i believe it
[2009/05/07 16:12:54] <joe-mac> i abandoned shitbrick when i hit like 3 nodes
[2009/05/07 16:13:47] <rgsteele||work> Puppet just stopped working for me - I have 83 currently
[2009/05/07 16:13:58] <rgsteele||work> I had no choice, I needed a new serving model.
[2009/05/07 16:13:59] <Volcane> heh 83 on webrick, madness
[2009/05/07 16:14:01] @ barnum left channel #puppet ()
[2009/05/07 16:14:37] <joe-mac> WOW
[2009/05/07 16:14:46] <rgsteele||work> And, as a bonus, I got to build my first Ruby .debs. Which actually turned out to be pretty simple.
[2009/05/07 16:14:48] <joe-mac> i didn't think it was possible to hit that number. you may have set a world record
[2009/05/07 16:15:08] * Volcane goes home
[2009/05/07 16:15:14] <joe-mac> see ya Volcane
[2009/05/07 16:16:12] <jmslagle> Ok
[2009/05/07 16:16:20] <jmslagle> Thats what I was thinking of doing
[2009/05/07 16:16:53] <joe-mac> nice
[2009/05/07 16:17:24] @ briandquinn joined channel #puppet
[2009/05/07 16:19:34] @ Quit: gaveen_: No route to host
[2009/05/07 16:27:31] <jmslagle> Hrm
[2009/05/07 16:27:33] <jmslagle> What's ralsh
[2009/05/07 16:28:25] <jmslagle> Thats pretty handy!
[2009/05/07 16:31:16] @ mvn071 joined channel #puppet
[2009/05/07 16:32:42] @ Quit: rgsteele||work: Remote closed the connection
[2009/05/07 16:35:16] @ k0001 joined channel #puppet
[2009/05/07 16:37:03] <k0001> Guys, I'm getting the following error when running puppetd: "err: Could not retrieve catalog: Could not parse for environment development: Could not find file /etc/puppet/manifests/site.pp", however, i'm not sure why it says that since on my puppetmasters' puppet.conf i've set "manifestdir=/home/poppp/manifests" under the [puppetmasterd] section.. any hints?
[2009/05/07 16:39:45] <hexasoft> k0001: did you check the config file on the node?
[2009/05/07 16:40:07] @ Innocenti joined channel #puppet
[2009/05/07 16:41:04] @ cwebber joined channel #puppet
[2009/05/07 16:43:16] <k0001> hexasoft: is the default one... http://gist.github.com/108352, should it say something else?
[2009/05/07 16:43:48] @ kambiz is now known as kambiz_away
[2009/05/07 16:45:09] <k0001> btw, i'm testing this on that node by running: ptw, puppetd --server puppet --test --onetime --no-daemonize
[2009/05/07 16:45:22] <k0001> s/ptw,//
[2009/05/07 16:45:59] <hexasoft> k0001: by default on client manifest dir is $confdir/manifests
[2009/05/07 16:46:08] <hexasoft> and confdir is /etc/puppet
[2009/05/07 16:46:26] <hexasoft> so your client may ask for that to the server.
[2009/05/07 16:46:30] <hexasoft> I guess.
[2009/05/07 16:46:49] <k0001> hexasoft: oh i see, so the manifestdir should be set in both puppetmaster and puppet clients?
[2009/05/07 16:47:00] <hexasoft> manifestdir = ...
[2009/05/07 16:47:21] <hexasoft> don't really know for the server, but on the node certainly
[2009/05/07 16:59:40] * hexasoft go to sleep
[2009/05/07 16:59:43] @ hexasoft left channel #puppet ()
[2009/05/07 17:04:19] @ Quit: briandquinn:
[2009/05/07 17:10:21] @ Quit: Jonny: Read error: 110 (Connection timed out)
[2009/05/07 17:10:43] @ Jonny joined channel #puppet
[2009/05/07 17:19:38] @ Demosthenes joined channel #puppet
[2009/05/07 17:20:32] @ Quit: k0001: Nick collision from services.
[2009/05/07 17:20:53] @ k00011 joined channel #puppet
[2009/05/07 17:21:21] @ k00011 is now known as k0001
[2009/05/07 17:28:14] @ Djelibeybi joined channel #puppet
[2009/05/07 17:28:35] @ Quit: Innocenti: Client Quit
[2009/05/07 17:32:27] @ fbe_ joined channel #puppet
[2009/05/07 17:32:56] @ ranfo joined channel #puppet
[2009/05/07 17:39:21] @ Quit: ranfo: Read error: 60 (Operation timed out)
[2009/05/07 17:39:30] @ Quit: Jonny: Read error: 110 (Connection timed out)
[2009/05/07 17:39:30] @ Quit: Eghie: Client Quit
[2009/05/07 17:39:47] @ Jonny joined channel #puppet
[2009/05/07 17:40:35] @ Quit: kymas: Remote closed the connection
[2009/05/07 17:48:35] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/05/07 17:52:41] @ Quit: ghenry: Remote closed the connection
[2009/05/07 17:55:47] @ Quit: axisys: "leaving"
[2009/05/07 17:56:54] @ verwilst joined channel #puppet
[2009/05/07 18:03:59] @ nasrat joined channel #puppet
[2009/05/07 18:06:40] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2009/05/07 18:06:44] @ Quit: wakko666: Read error: 54 (Connection reset by peer)
[2009/05/07 18:07:07] @ mikearr joined channel #puppet
[2009/05/07 18:07:10] @ wakko666 joined channel #puppet
[2009/05/07 18:09:04] @ Quit: mvn071: Remote closed the connection
[2009/05/07 18:10:56] @ Quit: nasrat:
[2009/05/07 18:12:49] <bevans5446> I'm a little confused with the recurse option for the file{} type
[2009/05/07 18:12:51] <bevans5446> Whether and how deeply to do recursive management. Valid values are true, false, inf. Values can also match /^[0-9]+$/.
[2009/05/07 18:13:29] <bevans5446> I don't get the "Values can also match /^[0-9]+$/"
[2009/05/07 18:13:37] <Volcane> true = recurse til the deepest, false=dont, 5=recurse 5 levels
[2009/05/07 18:14:16] <bevans5446> ok. I set it to 1 and it doesn't seem to be working. Let me double check what I'm doing
[2009/05/07 18:14:44] * Volcane 's not actually used the 0-9 option, so I'm kind of guessing
[2009/05/07 18:15:18] <bevans5446> ok, I just set it to 2 and it's working
[2009/05/07 18:15:36] <Volcane> kewl
[2009/05/07 18:15:47] <bevans5446> thank you sir
[2009/05/07 18:15:52] <jamesturnbull> bevans5446: what version is that?
[2009/05/07 18:16:53] <bevans5446> 0.24.8
[2009/05/07 18:16:57] <Volcane> james: if i write many facts, like drivelist=xvda,hda,sda and drivesize_hda, drivesize_sda, drivemodel_sda, drivemodel_hda etc. should I model it around the way ip is done? with a utility class that gets used?
[2009/05/07 18:17:08] <jamesturnbull> Volcane: yes please
[2009/05/07 18:17:12] <Volcane> k
[2009/05/07 18:17:14] <Volcane> almost done with that
[2009/05/07 18:17:26] <Volcane> works on linux, knows ide, scsi and xen
[2009/05/07 18:17:45] <Volcane> might make it for the next facter release still
[2009/05/07 18:17:45] <jamesturnbull> Volcane: also you can see that basic tests are starting to appear and ip has some
[2009/05/07 18:19:23] <Volcane> hmm, willl need to think about testing, cos this walks through all sorts of dirs in /proc and /sys
[2009/05/07 18:19:28] <jrojas> Volcane: when you say it knows xen, does it recognize iso files and xvda?
[2009/05/07 18:19:38] <Volcane> jrojas: it runs inside the vms
[2009/05/07 18:19:43] <jrojas> ah
[2009/05/07 18:19:45] <jamesturnbull> bevans5446: what you've seen is a bug (#2100) - it's fixed in master I think
[2009/05/07 18:19:45] <gepetto> jamesturnbull: bevans5446: #2100 is http://projects.reductivelabs.com/issues/show/2100 "Puppet - Bug #2100: recurse off by one - ReductiveLabs.com"
[2009/05/07 18:19:51] <jrojas> what about lvm
[2009/05/07 18:20:03] <Volcane> jrojas: drives
[2009/05/07 18:20:08] <Volcane> jrojas: xvda
[2009/05/07 18:20:57] <jrojas> hm
[2009/05/07 18:22:05] <Volcane> http://pastie.org/471673
[2009/05/07 18:22:20] <Volcane> thats just me testing that it works, but u get the idea
[2009/05/07 18:22:33] <bevans5446> jamesturnbull: ah, that looks like my issue
[2009/05/07 18:22:44] <bevans5446> I'm fine with setting it to 2 in this case
[2009/05/07 18:27:06] @ fbe_ is now known as fbe
[2009/05/07 18:37:21] @ Quit: tmz: "leaving"
[2009/05/07 18:39:51] @ egh joined channel #puppet
[2009/05/07 18:40:45] <egh> updating tickets on puppet redmine gives me an error. anybody else see this?
[2009/05/07 18:41:15] @ Quit: flakrat: "Leaving"
[2009/05/07 18:44:38] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/05/07 18:48:05] @ marti_martinez joined channel #puppet
[2009/05/07 18:48:45] @ Quit: cwebber:
[2009/05/07 18:50:33] <marti_martinez> Just pushed out an Ssh_authorized_key, and now it updates authorized_keys every time puppet runs... is this normal behaviour?
[2009/05/07 18:51:20] <marti_martinez> Sorry, that's pretty minimal info, let me pastie the manifest snippet and output when puppet runs...
[2009/05/07 18:52:23] <marti_martinez> http://mibbit.com/pb/F1o6Wv
[2009/05/07 18:54:10] <Volcane> my disk drive facts: http://pastie.org/471699
[2009/05/07 18:55:32] <Volcane> marti_martinez: its pretty full of shit, you need to get all the stuff just right and also set target =>
[2009/05/07 18:57:56] <Volcane> jamesturnbull: do those look about right?
[2009/05/07 18:58:08] <Volcane> jamesturnbull: any suggestion on fact names other than that?
[2009/05/07 18:58:17] @ tmz joined channel #puppet
[2009/05/07 18:58:28] <marti_martinez> Volcan: UI'll try setting target
[2009/05/07 19:00:10] <marti_martinez> volcane: worked like a charm; thanks!
[2009/05/07 19:00:18] <Volcane> marti_martinez: nice one
[2009/05/07 19:00:48] <jamesturnbull> Volcane: looks good
[2009/05/07 19:01:06] <Volcane> jamesturnbull: can i send you my code just for a quick once over?
[2009/05/07 19:03:26] <jamesturnbull> Volcane: the -dev list is the best place but if you like me to look before that that
[2009/05/07 19:03:29] <jamesturnbull> s cool too
[2009/05/07 19:03:47] <Volcane> http://nephilim.ml.org/~rip/puppet/diskdrives/facter/
[2009/05/07 19:04:06] <Volcane> yeah i just want someone to look at the util stuff, its maybe not the most clean way to do it
[2009/05/07 19:04:13] <Volcane> but cant really think of a better way
[2009/05/07 19:07:26] <Volcane> so each new type of drive, like i dont know maybe some solaris type would just add get_foo_models, get_foo_sizes, get_foo_list and then add 'foo' to the constant
[2009/05/07 19:07:32] <Volcane> should be fairly easy then
[2009/05/07 19:12:33] @ Quit: claymation:
[2009/05/07 19:18:42] @ Quit: marti_martinez: "http://www.mibbit.com ajax IRC Client"
[2009/05/07 19:21:45] @ Quit: Jonny: Read error: 60 (Operation timed out)
[2009/05/07 19:26:36] <jamesturnbull> Volcane: looks good
[2009/05/07 19:27:38] <jamesturnbull> Volcane: perhaps generic methods with constants for drive types and a map for commands - like ip does - perhaps?
[2009/05/07 19:28:32] <Volcane> yeah, need to figure out whats going on there, will see
[2009/05/07 19:28:42] <Volcane> but i think for now i hsould mail -users and ask for a few testers while i figure that out
[2009/05/07 19:28:57] <Volcane> see if we can cover some others like maybe openvz or something like that
[2009/05/07 19:29:03] <jamesturnbull> Volcane: or you could mail -dev and get some feedback too
[2009/05/07 19:29:26] <Volcane> k
[2009/05/07 19:31:23] <Volcane> just attach the rb files?
[2009/05/07 19:31:33] * Volcane 's not really been looking at what people do on the dev list for this kind ot hing
[2009/05/07 19:43:18] * Volcane 's going to bed, almost 1am
[2009/05/07 19:49:29] <jamesturnbull> Volcane: patch diffs
[2009/05/07 19:49:40] <jamesturnbull> Volcane: or inline code is easiest
[2009/05/07 19:49:44] <jamesturnbull> Volcane: night mate
[2009/05/07 19:53:24] @ Quit: Demosthenes: "leaving"
[2009/05/07 19:55:14] @ Quit: fujin:
[2009/05/07 20:00:23] @ Quit: verwilst: "Ex-Chat"
[2009/05/07 20:13:32] @ blahdeblah joined channel #puppet
[2009/05/07 20:15:46] @ Quit: alfism: "Connection reset by beer"
[2009/05/07 20:16:18] @ Quit: brothers: Read error: 110 (Connection timed out)
[2009/05/07 20:19:37] @ Quit: euclid: Read error: 60 (Operation timed out)
[2009/05/07 20:20:09] @ Quit: justindossey: "Leaving."
[2009/05/07 20:20:42] @ k0001 left channel #puppet ("Leaving.")
[2009/05/07 20:21:03] @ euclid joined channel #puppet
[2009/05/07 20:21:12] @ BMDan joined channel #puppet
[2009/05/07 20:23:24] @ Quit: BMDan1: Read error: 104 (Connection reset by peer)
[2009/05/07 20:31:43] @ graynor left channel #puppet ()
[2009/05/07 20:52:54] @ Quit: rdaugherty: "Leaving."
[2009/05/07 21:07:06] @ brothers joined channel #puppet
[2009/05/07 21:18:35] @ nakano_ is now known as nakano
[2009/05/07 21:26:03] @ Quit: ricky: Client Quit
[2009/05/07 21:26:21] @ ricky joined channel #puppet
[2009/05/07 21:34:52] @ PhabX joined channel #puppet
[2009/05/07 21:45:31] @ ohadlevy joined channel #puppet
[2009/05/07 21:51:12] @ cwebber joined channel #puppet
[2009/05/07 21:55:22] <sigmonsays> How do I clear a item from a dict in python?
[2009/05/07 21:56:47] <sigmonsays> ah I got it
[2009/05/07 22:01:47] @ chip__ joined channel #puppet
[2009/05/07 22:17:49] @ maxagaz joined channel #puppet
[2009/05/07 22:18:00] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/05/07 22:29:32] @ Demosthenes joined channel #puppet
[2009/05/07 23:00:09] @ atlan_ joined channel #puppet
[2009/05/07 23:15:35] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/05/07 23:18:52] @ Quit: edwardam: Remote closed the connection
[2009/05/07 23:20:56] @ Quit: ethan_rowe: "Lack of interest wins out."
[2009/05/07 23:21:08] * monachus is in limbo.
[2009/05/07 23:22:52] @ pdt joined channel #puppet
[2009/05/07 23:37:31] @ nigelk joined channel #puppet
[2009/05/07 23:40:04] @ nigelk_ joined channel #puppet
[2009/05/07 23:55:09] @ Quit: cwebber:
[2009/05/07 23:55:59] @ Quit: nigelk: Read error: 110 (Connection timed out)

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