Monday, 2008-06-30

[2008/06/30 00:07:21] @ hessml is now known as hessml|away
[2008/06/30 00:12:13] @ jvanzyl joined channel #puppet
[2008/06/30 00:12:27] @ Quit: jvanzyl: Remote closed the connection
[2008/06/30 00:12:58] @ jvanzyl joined channel #puppet
[2008/06/30 00:13:17] @ ski98033 joined channel #puppet
[2008/06/30 00:16:04] @ hessml|away is now known as hessml
[2008/06/30 00:44:55] <MrProper_> backups suck
[2008/06/30 00:47:07] @ f3ew joined channel #puppet
[2008/06/30 00:54:54] <jamesturnbull> MrProper_: backups suck but no backups suck more
[2008/06/30 00:55:14] <MrProper_> jamesturnbull, agreed
[2008/06/30 00:55:35] <MrProper_> jamesturnbull, telling users you have backups also sucks
[2008/06/30 00:55:51] <f3ew> No one cares about backups
[2008/06/30 00:56:08] * f3ew suggests changing terminology to restores
[2008/06/30 00:56:31] <MrProper_> f3ew, heh, restores makes an assumption that they would successfully restore
[2008/06/30 00:57:49] <f3ew> MrProper_, but then you can get a budget for it
[2008/06/30 00:59:44] <MrProper_> f3ew, true
[2008/06/30 01:05:15] <Pockets> Does anyone know if there is a higher resolution version of the new Puppet logo available?
[2008/06/30 01:07:59] <holoway> jamesturnbull: how is your talk for OSCON coming along?
[2008/06/30 01:08:13] <jamesturnbull> holoway: done
[2008/06/30 01:13:13] <holoway> jamesturnbull: cool - I might wind up coming after all, so I'll give support :)
[2008/06/30 01:13:28] @ holoway is now known as holaway
[2008/06/30 01:13:49] @ Quit: hessml: "Leaving..."
[2008/06/30 01:14:32] <andrewcshafer> Pockets: How big do you want one?
[2008/06/30 01:18:50] <andrewcshafer> If you do the digg thing http://digg.com/linux_unix/Nice_high_level_article_about_the_systems_admin_tool_Puppet
[2008/06/30 01:26:01] @ Quit: ricky: Read error: 110 (Connection timed out)
[2008/06/30 01:26:22] <jamesturnbull> holaway: that'd be cool
[2008/06/30 01:34:46] @ ricky joined channel #puppet
[2008/06/30 01:36:38] @ Quit: andrewcshafer:
[2008/06/30 01:46:49] @ pleemans joined channel #puppet
[2008/06/30 01:52:44] @ Quit: Guign0l: "leaving"
[2008/06/30 01:55:35] @ Quit: Ol_:
[2008/06/30 02:03:40] @ Quit: fbe: Read error: 110 (Connection timed out)
[2008/06/30 02:35:30] @ shake-n-bake joined channel #puppet
[2008/06/30 02:45:52] @ Quit: ski98033: "Leaving."
[2008/06/30 03:01:16] @ aymerick joined channel #puppet
[2008/06/30 03:15:23] @ tim|macbook joined channel #puppet
[2008/06/30 03:32:57] @ DerekW joined channel #puppet
[2008/06/30 03:33:17] @ DerekW_ joined channel #puppet
[2008/06/30 03:38:05] @ fbe joined channel #puppet
[2008/06/30 03:55:31] <Volcane> z00dax: some people use RHEL cos they actually need the support, upgrading random system components with random rpms found elsewhere isn't really a good idea in that case
[2008/06/30 03:55:48] @ meandtheshell joined channel #puppet
[2008/06/30 04:01:37] @ Quit: silk: Read error: 113 (No route to host)
[2008/06/30 04:32:35] @ Quit: fbe: Read error: 104 (Connection reset by peer)
[2008/06/30 04:32:42] @ fbe joined channel #puppet
[2008/06/30 04:38:21] <jamesturnbull> Volcane: understand - will try to dig up why there were issue with 1.8.1
[2008/06/30 04:41:08] <Volcane> redhat does lots of weird backporting and stuff, no doubt their 1.8.1 is a thrown together combination of stuff
[2008/06/30 04:48:20] <msf> jamesturnbull: with external nodes... is parentnode considered to be a parameter ?
[2008/06/30 04:51:02] @ Quit: randybias:
[2008/06/30 05:03:12] <jamesturnbull> msf: hmmm I think so but you'd have to test that
[2008/06/30 05:05:02] @ bepernoot joined channel #puppet
[2008/06/30 05:11:59] @ cabbiepete joined channel #puppet
[2008/06/30 05:14:19] <jamesturnbull> msf: hmmmm perhaps not - I don't think it's available as a variable
[2008/06/30 05:16:32] <jamesturnbull> msf: test it - hard to work out but seems to be limited to LDAP perhaps
[2008/06/30 05:17:37] <msf> k
[2008/06/30 05:18:00] <msf> look at the indirector it seems it doesn't try to find it
[2008/06/30 05:18:08] <msf> looking at exe.rb
[2008/06/30 05:18:32] <msf> err exec.rb.. also environment seems to be separate from parameters
[2008/06/30 05:42:09] @ glaw joined channel #puppet
[2008/06/30 05:51:16] <duritong> jamesturnbull: your debugging of the interface type is currently at the same state where my debugging have been
[2008/06/30 05:51:58] <duritong> it looks like someone tried something automagically to send every line entry
[2008/06/30 05:52:11] <duritong> but for me this is something, which might be quite buggy
[2008/06/30 05:52:31] <duritong> maybe it would be better to have the methods fixed
[2008/06/30 05:53:33] <jamesturnbull> duritong: I agree
[2008/06/30 05:53:45] <jamesturnbull> duritong: I can't see how the interface.send can possilby work
[2008/06/30 05:53:58] * duritong too
[2008/06/30 05:54:12] <jamesturnbull> I think the prefetch needs to be re-written
[2008/06/30 05:56:30] <duritong> yeah this was my conclusion as well
[2008/06/30 05:56:35] <jamesturnbull> but I lack the tuits to do it now
[2008/06/30 05:57:02] <duritong> then I didn't have enough time to sort out which parameters might be necessar
[2008/06/30 05:57:21] <duritong> tuits?
[2008/06/30 05:58:09] <jamesturnbull> ah sorry - perl speak - http://www.perlfoundation.org/perl5/index.cgi?tuit
[2008/06/30 05:59:43] <duritong> ah ok :)
[2008/06/30 05:59:48] * duritong lunch
[2008/06/30 06:17:38] <z00dax> Volcane: i would not call either ruby or the centos repo's as being random
[2008/06/30 06:22:47] <kjetilho> z00dax: they will still make your system unsupported
[2008/06/30 06:25:53] <z00dax> kjetilho: that sounds like opinion rather than fact
[2008/06/30 06:26:13] <z00dax> it depends a lot on the relationship you have with your support guys at RH
[2008/06/30 06:27:12] <z00dax> they might not support ruby itself, but its not really going to make your whole setup unsupported
[2008/06/30 06:28:20] <kjetilho> right. it's going to be mostly OK since RH themselves don't use Ruby.
[2008/06/30 06:28:43] <kjetilho> if you upgrade the system's Python (or even worse, Perl!), on the other hand ...
[2008/06/30 06:29:24] <kjetilho> but most shops who pay for RH support are not going to risk getting into suppliers pointing fingers at eachother
[2008/06/30 06:29:41] <kjetilho> YMMV, obviously
[2008/06/30 06:29:46] <z00dax> so talk to them first, say you need ruby-1.8.5 and they should give you the best way to achieve that
[2008/06/30 06:29:57] <z00dax> dont spring it as a surprise when you need support, just ask them
[2008/06/30 06:33:24] <jamesturnbull> z00dax: I tend to agree with kjetilho - RH are fairly reasonable - but catch the wrong support person and it's "sorry not supported - go away"
[2008/06/30 06:33:42] * jamesturnbull has been there, done that and owns that t-shirt
[2008/06/30 06:33:52] @ Quit: DerekW_: "Leaving"
[2008/06/30 06:33:54] <z00dax> jamesturnbull: issues like this should go through your sales guys, not support guys
[2008/06/30 06:34:24] <z00dax> let your account manager sort it out, why should you be splitting hair over the issue, when they are paid to!
[2008/06/30 06:41:19] <pftqg> random RH question... how do I find out what version of RHEL is installed? I've got an old box (well, 3 years old), but no idea which version of RHEL was installed on it.
[2008/06/30 06:41:31] <z00dax> lsb_release -a
[2008/06/30 06:41:41] <jamesturnbull> pftqg: /etc/redhat-release or something like that works too
[2008/06/30 06:43:07] @ Quit: Gwayne: Remote closed the connection
[2008/06/30 06:44:09] <pftqg> "Red Hat Enterprise Linux ES release 3 (Taroon Update 9)" by gum, that certainly seems old :) thanks jamesturnbull
[2008/06/30 06:45:37] <z00dax> pftqg: its still supported and works quite well.
[2008/06/30 06:46:00] <z00dax> people still use rhel2.1 in the thousands
[2008/06/30 06:50:17] <pftqg> I'm not usually a redhat kind of guy, preferring debian for my linux needs, so don't tend to follow its releases/supportedness/etc. (Our main web/db servers are all RHEL ES4, but I don't worry about their support... that's someone elses problem TM, our office servers which are mine all run debian)
[2008/06/30 06:51:31] <z00dax> pft
[2008/06/30 06:51:50] <kjetilho> jamesturnbull: on CentOS, they didn't bother to update /etc/redhat-release in the 5.1 version...
[2008/06/30 06:52:04] <z00dax> umm... thats not quite the whole story :D
[2008/06/30 06:52:30] <z00dax> I should write a detailed explanation about the /etc/redhat-release story in CentOS-5
[2008/06/30 06:52:39] <pftqg> they run debian because that's what I'm used to, and by gum if I have to support them remotely they're going to run a distro I know well :)
[2008/06/30 06:52:46] <kjetilho> z00dax: oh, I'd be interested to read that :)
[2008/06/30 06:53:03] <kjetilho> I just swore and started using rpm -q redhat-release etc. instead
[2008/06/30 06:53:24] <Volcane> z00dax: or just admit that the way you do it in 5.0 and 5.2 is better than whatever you did in 5.1 :P
[2008/06/30 06:53:49] <z00dax> Volcane: 5.0 didnt have 5.0 in the redhat-release either
[2008/06/30 06:54:25] <Volcane> oh yeah i remember now, few noticed though cos the problem only bit when 5.1 came out
[2008/06/30 06:54:37] <z00dax> its mostly an issue based around the 5.X.z situation, and what was to become of the z-release, and if CentOS had enough people doing the work to support it
[2008/06/30 06:54:58] <z00dax> Volcane: and no one really reads the release notes :D
[2008/06/30 06:55:40] <kjetilho> it's annoying that the LSB stuff isn't a required install -- it's not even in the default :-(
[2008/06/30 06:55:50] <z00dax> kjetilho: its in 'base'
[2008/06/30 06:56:08] <kjetilho> hrm.
[2008/06/30 06:56:20] <z00dax> so even if you do a minimal install, you should get it. its only when you 'nobase' in the ks.cfg or unselect base by force, does it go away
[2008/06/30 06:56:46] <z00dax> its not in 'core' though, that might be a bit harsh. As it is people dont want cups on a minimal remote server :D
[2008/06/30 06:56:53] <Volcane> most ppl are happy its not in base cos of cups :P
[2008/06/30 06:57:16] * Volcane was going to make a stub rpm that links /bin/true to the lp and lpr stuff and have it do the right provides
[2008/06/30 06:57:23] <z00dax> heh
[2008/06/30 06:57:33] <kjetilho> perhaps it should be split, then. I want stuff like the init.d helper functions
[2008/06/30 06:59:33] <z00dax> personally, i think lsb itself needs a lot more traction before its taken seriously outside the few fans its got now
[2008/06/30 07:04:46] @ strerror_work joined channel #puppet
[2008/06/30 07:07:03] @ Quit: kenvandine: "Ex-Chat"
[2008/06/30 07:14:47] @ Quit: fbe: Read error: 110 (Connection timed out)
[2008/06/30 07:22:47] @ Quit: wibbit: Remote closed the connection
[2008/06/30 07:27:16] @ Quit: tmz: Read error: 110 (Connection timed out)
[2008/06/30 07:35:59] <nico> I'm a beginner in using puppet and I'd like to know if it is possible to override a file path : for example /etc/shadow does not exists on freebsd (replaced by /etc/master.passwd) and I can't find how to specify this in the docs
[2008/06/30 07:36:33] <nico> I'm making a class 'freebsd', that inherits a class 'unix'
[2008/06/30 07:38:11] <nico> back to rtfm, i've missed something... sorry for the noise
[2008/06/30 07:39:59] <Volcane> sigh, heres a little tale about puppet.
[2008/06/30 07:40:07] <Volcane> start setting up exim on 32 machines
[2008/06/30 07:40:18] <Volcane> puppetmaster stops picking up changes mid way through so config never arrives
[2008/06/30 07:40:49] <Volcane> mail queues up, no1 notices that crons are sending ltos of mail....puppetmaster wakes up this morning exim config goes out
[2008/06/30 07:40:52] <Volcane> heh
[2008/06/30 07:40:56] <Volcane> outlook doesnt like 32 x 8000 emails arriving
[2008/06/30 07:41:44] @ fbe joined channel #puppet
[2008/06/30 07:42:13] @ mdray joined channel #puppet
[2008/06/30 07:42:18] <mdray> hey
[2008/06/30 07:42:41] <mdray> are there any puppet-related slides or other material from velocity last week?
[2008/06/30 07:43:12] * Volcane 's not seen any
[2008/06/30 07:43:45] <jamesturnbull> mdray: not yet
[2008/06/30 07:43:54] <jamesturnbull> mdray: andrew shafer said he'd get some up shortly
[2008/06/30 07:44:28] <mdray> jamesturnball: righty-oh, thanks!
[2008/06/30 07:44:39] <mdray> ooh, s/a/u/
[2008/06/30 07:45:29] <jamesturnbull> mdray: it's okay you're not the first one to mispell it :)
[2008/06/30 07:45:47] <mdray> :~)
[2008/06/30 07:46:01] <madduck_> hi jamesturnbull!
[2008/06/30 07:46:06] @ madduck_ is now known as madduck
[2008/06/30 07:46:36] <jamesturnbull> madduck: hey martin how are you?
[2008/06/30 07:47:11] <madduck> pretty good. looking forward to lca, i decided i am going again. and otherwise trying to find time to get back to puppet
[2008/06/30 07:47:22] <madduck> unfortunately, i encountered this requirement we have
[2008/06/30 07:47:29] <madduck> and i can't figure out how to do it in puppet
[2008/06/30 07:47:46] <madduck> i've reduced it to a simple task though :)
[2008/06/30 07:48:44] <jamesturnbull> madduck: well it'd be cool to catch up - we need to have like 20 beers and bitch about open standards... :P
[2008/06/30 07:49:06] <madduck> 20 beers each, i assume.
[2008/06/30 07:49:18] <madduck> will you be in hobart?
[2008/06/30 07:49:25] <jamesturnbull> madduck: happy to help figure out how to do whatever it is you want to do
[2008/06/30 07:49:28] <jamesturnbull> madduck: yeah
[2008/06/30 07:50:29] <madduck> jamesturnbull: well, take /etc/motd, which I want to be generated from a template, unless the fileserver has /etc/motd.$hostname ...
[2008/06/30 07:51:16] <jamesturnbull> case statement?
[2008/06/30 07:51:29] <madduck> see, i don't know ruby nor puppet. :)
[2008/06/30 07:51:39] <jamesturnbull> madduck: hang on and I'll try to write something
[2008/06/30 07:51:39] <madduck> but if there are case statements, then i guess i can have a look
[2008/06/30 07:51:45] <madduck> jamesturnbull: sec
[2008/06/30 07:52:06] <madduck> http://git.madduck.net/v/puppet/modules/motd.git?a=blob;f=manifests/init.pp;hb=HEAD
[2008/06/30 07:52:30] <Volcane> madduck: yeah also want to do that
[2008/06/30 07:52:38] <Volcane> choose templates like you can with an array on file
[2008/06/30 07:52:41] <Volcane> for source
[2008/06/30 07:52:53] <madduck> exactly
[2008/06/30 07:53:02] <madduck> and i also want a regexp-based line thingie
[2008/06/30 07:54:03] <Volcane> have never used the template concat feature but would have used the ability to choose template like 10s of times
[2008/06/30 07:56:19] <jamesturnbull> pastie: url me
[2008/06/30 07:56:46] <madduck> pastie: url me
[2008/06/30 07:56:50] * madduck <- curious
[2008/06/30 07:57:39] <jamesturnbull> madduck: pastie bot but I think it's broken
[2008/06/30 07:57:43] <jamesturnbull> madduck: http://pastebin.ca/1058961
[2008/06/30 07:57:47] <madduck> the website seems broken
[2008/06/30 07:57:59] <madduck> why would i ask the paste bot for a url?
[2008/06/30 07:58:16] <jamesturnbull> madduck: it gives you a URL - you paste into it and then the bot returns your URL
[2008/06/30 07:58:19] <madduck> what's wrong with e.g. rafb.net/paste
[2008/06/30 07:58:23] <jamesturnbull> to the channel
[2008/06/30 07:58:32] <jamesturnbull> madduck: just saves a few seconds I guess
[2008/06/30 07:58:52] <madduck> p () { local url eval url="$($BINDIR/rafb -n $USERNAME -d 'paste by $USERNAME' $*)" [[ -z $url ]] && return 1 echo "${url:r}.txt"
[2008/06/30 07:58:52] <madduck> }
[2008/06/30 07:58:54] <madduck> hardly. :)
[2008/06/30 07:59:14] <jamesturnbull> madduck: so that paste should work - it's a little odd but I think that'll achieve what you want - I sort of tested it and it seemed to work
[2008/06/30 07:59:59] <Volcane> yeah that'll work
[2008/06/30 08:00:17] <madduck> motd::template -- is that a file 'template'
[2008/06/30 08:00:18] <madduck> ?
[2008/06/30 08:00:28] <madduck> in directory templates?
[2008/06/30 08:00:33] <madduck> modules/motd/templates/template?
[2008/06/30 08:00:37] <jamesturnbull> madduck: a class called motd::template
[2008/06/30 08:01:14] <jamesturnbull> madduck: class motd::template { file blah blah content => template("blah"), } }
[2008/06/30 08:01:17] <madduck> ah, ok, so then I have to define a class for each host I want to overwrite?
[2008/06/30 08:01:37] <jamesturnbull> madduck: well no you could specify a resource in there too
[2008/06/30 08:03:07] <jamesturnbull> madduck: like case $hostname { $hostname: { file resources with source => $server/motd/motd.$hostname }
[2008/06/30 08:03:11] <madduck> like "$hostname: { file { ...: source => "motd/etc/motd.$hostname" } } ?
[2008/06/30 08:03:19] <jamesturnbull> madduck: bingo
[2008/06/30 08:03:34] <madduck> okay, will have to play with that... thanks a lot!
[2008/06/30 08:04:05] <madduck> but wait, doesn't case $hostname { $hostname: ... *always* match?
[2008/06/30 08:04:17] <jamesturnbull> madduck: hmmmm yes
[2008/06/30 08:04:19] <madduck> and wouldn't it then try to find $server/motd/motd.$hostname and fail?
[2008/06/30 08:04:20] <jamesturnbull> madduck: um
[2008/06/30 08:04:33] <jamesturnbull> madduck: yes that just occurred to me
[2008/06/30 08:05:47] @ Quit: pastie: Read error: 104 (Connection reset by peer)
[2008/06/30 08:06:04] <jamesturnbull> madduck: okay alternative - hang on
[2008/06/30 08:07:09] <jamesturnbull> madduck: how many hosts are we talking?
[2008/06/30 08:08:02] @ hessml joined channel #puppet
[2008/06/30 08:08:30] <madduck> about 400
[2008/06/30 08:08:53] <madduck> and it's not /etc/motd but other files
[2008/06/30 08:08:57] <madduck> but the scenario is the same
[2008/06/30 08:09:03] <madduck> and /etc/motd was a simple test case
[2008/06/30 08:09:25] <jamesturnbull> madduck: yeah just trying to find an easy way to do this
[2008/06/30 08:10:44] @ roald joined channel #puppet
[2008/06/30 08:11:46] <jamesturnbull> madduck: perhaps - http://pastebin.ca/1058970
[2008/06/30 08:12:46] <jamesturnbull> madduck: wiki:FunctionReference#generate
[2008/06/30 08:12:49] <gepetto> jamesturnbull: madduck: wiki:FunctionReference#generate is http://reductivelabs.com/trac/puppet/wiki/FunctionReference#generate
[2008/06/30 08:14:35] <madduck> jamesturnbull: with that I'd have to maintain a list of hosts and a set of files. I was thinking about something like that too, but would really rather avoid redundancy.
[2008/06/30 08:15:07] <jamesturnbull> madduck: another idea is a custom fact - only on those hosts that require a motd - then if/else (see wiki:LanguageTutorial) if $fact exists then file resource etc
[2008/06/30 08:15:14] <gepetto> jamesturnbull: madduck: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial
[2008/06/30 08:15:21] <jamesturnbull> madduck: but you've got particular motds for particular hosts right?
[2008/06/30 08:15:29] <madduck> yes
[2008/06/30 08:15:32] <madduck> and not for all
[2008/06/30 08:15:36] <madduck> and they might change often
[2008/06/30 08:15:45] <madduck> set set as well as the content
[2008/06/30 08:15:53] <jamesturnbull> madduck: so have you script scan the direcotry containing the file and return all the hostnames
[2008/06/30 08:16:46] <jamesturnbull> madduck: so you've got a directory with motd.host1, motd.host2 and motd.host3 - have the script parse the directory list and populate the $listofhosts variable as "host1,host2,host3"
[2008/06/30 08:17:04] <jamesturnbull> each run it'd pick up new motd files and any changes
[2008/06/30 08:17:12] <madduck> k
[2008/06/30 08:17:22] <jamesturnbull> madduck: a custom fact would also work
[2008/06/30 08:17:36] <jamesturnbull> madduck: or someone on the channel might have an idea I've totally missed :)
[2008/06/30 08:21:41] <jamesturnbull> madduck: external nodes would also make this easier too
[2008/06/30 08:21:50] <jamesturnbull> madduck: wiki:ExternalNodes
[2008/06/30 08:21:52] <gepetto> jamesturnbull: madduck: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2008/06/30 08:23:18] <jamesturnbull> madduck: because you could define a parameter in the external node definition which would then be available as a variable - have a read of the page
[2008/06/30 08:23:59] <jamesturnbull> madduck: motd_file: motd_host1 and then use the $motd_file variable in your manifests
[2008/06/30 08:24:03] @ kenvandine joined channel #puppet
[2008/06/30 08:24:22] <madduck> nice feature
[2008/06/30 08:24:42] <jamesturnbull> madduck: I back-end mine to a MySQL database
[2008/06/30 08:24:53] <jamesturnbull> madduck: and you can also use wiki:LDAPNodes
[2008/06/30 08:24:56] <gepetto> jamesturnbull: madduck: wiki:LDAPNodes is http://reductivelabs.com/trac/puppet/wiki/LDAPNodes
[2008/06/30 08:25:09] <jamesturnbull> madduck: which is the same concept back-ended to an LDAP server
[2008/06/30 08:25:14] <msf> good luck with that ;-)
[2008/06/30 08:27:51] <jamesturnbull> madduck: this is a variation of my MySQL external nodes script in Perl - http://pastie.org/224722
[2008/06/30 08:28:22] <jamesturnbull> madduck: very crude but works
[2008/06/30 08:30:48] <madduck> hm.
[2008/06/30 08:30:58] <madduck> neither mysql nor ldap are really things I'd like to do
[2008/06/30 08:31:05] <madduck> i'd consider both a slippery slope. :)
[2008/06/30 08:31:11] <madduck> postgresql on the other hand...
[2008/06/30 08:31:18] <msf> a slippery slope to what ?
[2008/06/30 08:31:21] <madduck> but i'd *much* rather do everything on the filesystem with Git
[2008/06/30 08:31:32] <madduck> msf: to damnation? doom? hell? pain?
[2008/06/30 08:31:34] <jamesturnbull> madduck: well you could adapt that script to do postgresql easily enough
[2008/06/30 08:31:35] @ Quit: Ned: Connection timed out
[2008/06/30 08:31:47] <msf> doing nodes by hand doesn't scale past 50 nodes very well
[2008/06/30 08:31:52] <jamesturnbull> madduck: and you can do external nodes with a yaml file in a Git reo
[2008/06/30 08:32:01] <jamesturnbull> s/reo/repo even
[2008/06/30 08:32:13] <madduck> msf: true
[2008/06/30 08:32:21] <madduck> jamesturnbull: yeah, this is what I will try
[2008/06/30 08:32:30] <madduck> msf: except if I strive for consistency
[2008/06/30 08:32:44] <madduck> anyway, this has to rest a bit, I have more pressing commitments
[2008/06/30 08:32:57] <madduck> I am looking forward to meeting one of you puppet people in person one day
[2008/06/30 08:32:59] <madduck> like jamesturnbull :)
[2008/06/30 08:33:11] <msf> I suck at consistency, ldap schema's keep me a bit more honest ;-)
[2008/06/30 08:33:15] <madduck> i'll buy the beers and get to pick your brains about strategies...
[2008/06/30 08:33:35] <madduck> thanks for now
[2008/06/30 08:33:42] <madduck> bbanotherday
[2008/06/30 08:33:54] <jamesturnbull> madduck: later mate
[2008/06/30 08:34:10] <jamesturnbull> madduck: there is a great book on Puppet too mate :)
[2008/06/30 08:34:14] <f3ew> heh
[2008/06/30 08:34:27] <msf> heh
[2008/06/30 08:34:49] <madduck> yours? :)
[2008/06/30 08:34:55] <jamesturnbull> madduck: why yes!
[2008/06/30 08:34:56] <madduck> ok, bought.
[2008/06/30 08:35:10] <madduck> provided amazon.de has it
[2008/06/30 08:35:21] <madduck> http://www.amazon.de/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780/ref=sr_1_1?ie=UTF8&s=books-intl-de&qid=1214829313&sr=8-1
[2008/06/30 08:36:13] <madduck> done
[2008/06/30 08:36:40] <madduck> jamesturnbull: i'll make sure to have that read before i come to hobart
[2008/06/30 08:40:09] <jamesturnbull> madduck: no worries - hope it helps
[2008/06/30 08:44:26] <jamesturnbull> madduck: reviews always welcome too
[2008/06/30 08:44:48] <jamesturnbull> and that goes for the rest of you slackers - Amazon reviews = good for James' sales :)
[2008/06/30 08:51:35] @ Quit: hessml: "Leaving..."
[2008/06/30 08:58:51] <tim|macbook> is there a way to tell puppet which repo to use? like the "-t etch-backports" part in "apt-get install -t etch-backports install mypackage"?
[2008/06/30 08:59:38] <tim|macbook> jamesturnbull: will write a review after i've actually took the time to read the book :P
[2008/06/30 09:00:06] <jamesturnbull> tim|macbook: that'd be great thanks
[2008/06/30 09:01:56] <Gh0sty> how much do you earn per book? :p
[2008/06/30 09:02:16] <jamesturnbull> Gh0sty: not enough to reture :)
[2008/06/30 09:02:24] <jamesturnbull> Gh0sty: retire even
[2008/06/30 09:02:54] <Gh0sty> oh you wanted to make a living out of the book :p
[2008/06/30 09:03:10] <Gh0sty> hmm no amazon.be :\
[2008/06/30 09:03:10] <jamesturnbull> Gh0sty: god no - this is my third and the fourth is in progress
[2008/06/30 09:03:16] <Gh0sty> oh is it
[2008/06/30 09:03:21] <Gh0sty> when is it comming out? :p
[2008/06/30 09:03:25] <jamesturnbull> Gh0sty: I have no expectations of retirning on it
[2008/06/30 09:03:37] <jamesturnbull> Gh0sty: the next one will be next year I suspect
[2008/06/30 09:03:45] <Gh0sty> pff thats too long
[2008/06/30 09:03:53] <Gh0sty> i'll order the old one ... :p
[2008/06/30 09:04:18] <jamesturnbull> Gh0sty: probably more relevant to Puppet too - the new one is Puppet unrelated
[2008/06/30 09:04:23] <Gh0sty> amazon.co.uk then i guess, since there is none over here ...
[2008/06/30 09:04:58] <jamesturnbull> Gh0sty: amazon.de has copies
[2008/06/30 09:05:21] <Gh0sty> hm yes but do they deliver to belgium? (never ordered anything with amazon before)
[2008/06/30 09:05:43] <jamesturnbull> Gh0sty: from memory isn't Belgium right next door to Germany? :)
[2008/06/30 09:06:17] <jamesturnbull> Gh0sty: they do deliver there - madduck might be able to confirm - I've never ordered from the .de flavour
[2008/06/30 09:07:39] <madduck> they deliver everywhere in europe
[2008/06/30 09:08:30] @ Quit: Londo_:
[2008/06/30 09:08:53] <tim|macbook> I'm in NL and i order from amazon.de all the time
[2008/06/30 09:09:00] <tim|macbook> usually cheaper than amazon.co.uk
[2008/06/30 09:09:05] * tim|macbook blames conversion rates
[2008/06/30 09:12:22] <Gh0sty> hm k
[2008/06/30 09:13:39] @ kambiz joined channel #puppet
[2008/06/30 09:16:12] @ shenson_not_here is now known as shenson
[2008/06/30 09:20:32] <madduck> amazon.de does free shipping too
[2008/06/30 09:22:42] @ stevenjenkins joined channel #puppet
[2008/06/30 09:23:47] @ Londo_ joined channel #puppet
[2008/06/30 09:33:07] @ lak joined channel #puppet
[2008/06/30 09:34:34] <tim|macbook> not abroad
[2008/06/30 09:34:51] <jamesturnbull> tim|macbook: does Belgium count as abroad?
[2008/06/30 09:35:01] <tim|macbook> yes, it's not .de :)
[2008/06/30 09:35:12] <tim|macbook> i think they do free shipping to .at, but not anywhere else
[2008/06/30 09:35:16] <tim|macbook> at least not .nl
[2008/06/30 09:38:50] <jamesturnbull> tim|macbook: that's annoying - you'd figure they'd do free shipping in Europe
[2008/06/30 09:39:13] <jamesturnbull> lak: hey mate - how you doing?
[2008/06/30 09:41:22] <jamesturnbull> alright - night all - lak later! IM me.
[2008/06/30 09:44:13] <f3ew> night jamesturnbull
[2008/06/30 09:45:37] @ jbrothers joined channel #puppet
[2008/06/30 09:51:07] <raphink> hi
[2008/06/30 09:51:07] <raphink> :)
[2008/06/30 09:51:27] <raphink> lak: a colleague of mine introduced me to augeas a few days ago. Have you heard of it?
[2008/06/30 09:51:38] <lak> yeah
[2008/06/30 09:51:42] <lak> it's by lutter
[2008/06/30 09:52:24] <raphink> ok, it seemed to me that it would be a great way to solve the editfiles issue
[2008/06/30 09:52:33] <lak> yep
[2008/06/30 09:53:05] <raphink> :)
[2008/06/30 09:54:17] <duritong> so who writes a augeas -> puppet bridge?! :)
[2008/06/30 09:55:14] <raphink> that would be cool
[2008/06/30 09:55:15] <raphink> :)
[2008/06/30 10:03:25] <jbrothers> i thought file editing was a cfengine misfeature?
[2008/06/30 10:04:43] <kjetilho> depends on how much of the configuration you want to delegate to the OS itself
[2008/06/30 10:05:26] <kjetilho> it can be painful to track changes made by your distro in your templates
[2008/06/30 10:07:58] <raphink> jbrothers: depends also on how you do it
[2008/06/30 10:08:19] <raphink> jbrothers: and augeas has a very interesting way of doing it, which is not as painful as the cfengine way
[2008/06/30 10:08:26] <raphink> s/painful/harmful/
[2008/06/30 10:09:05] <raphink> jbrothers: using a specific grammar for the file (which you can write), it converts the file into an XML tree, lets you modify the XML tree and then converts the file back into its format
[2008/06/30 10:09:27] <jbrothers> i'm reading that in the faq now
[2008/06/30 10:09:29] <raphink> so you're not as likely to break the conf as if you were using sed or so
[2008/06/30 10:15:44] @ lazzurs is now known as white_van_man
[2008/06/30 10:16:09] <tim|macbook> hiya raphink :)
[2008/06/30 10:16:23] <f3ew> Ouch@ XML
[2008/06/30 10:16:29] @ brscott joined channel #puppet
[2008/06/30 10:16:32] <raphink> hi tim|macbook
[2008/06/30 10:16:33] @ brscott left channel #puppet ()
[2008/06/30 10:16:44] * raphink is not a big fan of XML either
[2008/06/30 10:16:55] * tim|macbook can honestly say he hates XML
[2008/06/30 10:16:56] <raphink> f3ew: that said, you don't get to interact with the XML yourself
[2008/06/30 10:17:07] <raphink> it's only an internal process
[2008/06/30 10:18:41] <Disconnect> the only thing worse than xml is everything else..
[2008/06/30 10:18:58] <raphink> lol
[2008/06/30 10:19:13] @ andrewcshafer joined channel #puppet
[2008/06/30 10:19:52] <f3ew> raphink not all files have a grammar
[2008/06/30 10:19:59] <f3ew> Disconnect wrong :)
[2008/06/30 10:20:15] <f3ew> See Luke's older blogs for the Puppet language design discussions
[2008/06/30 10:20:22] <raphink> f3ew: you mean augeas doesn't provide a grammar for all files, or you know files that are fully anarchic ?
[2008/06/30 10:20:36] <f3ew> raphink the second
[2008/06/30 10:20:39] <raphink> ok
[2008/06/30 10:21:44] <ashp> morning guys :)
[2008/06/30 10:22:42] @ Quit: pleemans: "Ex-Chat"
[2008/06/30 10:23:19] <Volcane> xml's great, as long as a human doesnt need to touch it :)
[2008/06/30 10:23:27] <Volcane> computer2computer, awesome
[2008/06/30 10:28:25] <andrewcshafer> computer2computer, xml is chatty and redundant = not so awesome, xml is what it is, but awesome it is not
[2008/06/30 10:28:44] @ Llama joined channel #puppet
[2008/06/30 10:30:12] * raphink prefers YAML
[2008/06/30 10:31:08] <raphink> great for computer2computer, yet very human readable
[2008/06/30 10:31:24] <raphink> and lighter and not so redundant
[2008/06/30 10:31:48] @ tmz joined channel #puppet
[2008/06/30 10:31:55] * f3ew prefers key=value for simple stuff, and hashes for more complex stuff
[2008/06/30 10:31:55] <jbrothers> yaml ftw
[2008/06/30 10:32:16] <Volcane> well part of what makes xml great for c2c is that every language speaks it well - not the case with yaml yet - its widely accepted and audited and widely understaood
[2008/06/30 10:32:38] @ tmz_ joined channel #puppet
[2008/06/30 10:32:42] <Volcane> so its not the best technically, but its great today cos it works everywhere with everything
[2008/06/30 10:33:15] <Volcane> thing is developers think, oh great its so easy to parse programatically, must be the best form of config file possible
[2008/06/30 10:33:42] <Llama> Hi all. I have a strange issue with puppet. I have dhcp configs splitted to small files under puppet. When I update configs, puppet actually update file, but do not refresh service. In second run, it catch changes in directory and really reload service.
[2008/06/30 10:34:03] <Llama> Here goes some logs from first and second run and part of config
[2008/06/30 10:34:05] <Llama> http://pastebin.ca/1059063
[2008/06/30 10:34:30] @ Maliuta joined channel #puppet
[2008/06/30 10:34:36] @ Quit: tmz_: Client Quit
[2008/06/30 10:38:43] <mdray> llama: ah, yeah, i have the same thing
[2008/06/30 10:38:55] <mdray> llama: which might have fixed itself but i can't remember how
[2008/06/30 10:38:55] <Llama> mdray, and how did you fix it ?
[2008/06/30 10:39:03] <Llama> oh... :(((
[2008/06/30 10:39:05] <mdray> yeah!
[2008/06/30 10:39:26] <mdray> it notices the directory mtime has changed on the second run and then bumps the service
[2008/06/30 10:40:10] <mdray> can you do Service["dhcpd"] { subscribe => File["/etc/dhcpd"] }
[2008/06/30 10:40:59] <ashp> http://arstechnica.com/news.media/ub3.png
[2008/06/30 10:41:10] <ashp> this is probably the vilest color scheme a linux distribution has ever used
[2008/06/30 10:41:31] <windowsrefund> so I'm trying to write a define that will handle the contents of /etc/exports
[2008/06/30 10:41:39] <Llama> mdray, thanx, let me try :)
[2008/06/30 10:41:55] @ markl_ joined channel #puppet
[2008/06/30 10:42:08] <mdray> llama: if you use subscribe you could remove the notify
[2008/06/30 10:42:22] <windowsrefund> my approach so far, has been to use a template but I suddenly realized that it will only be possible to maintain 1 share using the approach
[2008/06/30 10:43:30] @ Quit: lak:
[2008/06/30 10:46:03] @ hessml joined channel #puppet
[2008/06/30 10:46:54] <Volcane> ashp: its the debian inner beauty shining through :P
[2008/06/30 10:47:13] <ashp> Volcane: Black text on brown.. I wonder what they are thinking. :)
[2008/06/30 10:50:47] <kjetilho> ashp: did you see this? http://www.theregister.co.uk/2008/04/14/linux_manual/
[2008/06/30 10:51:22] <kjetilho> "I wondered if you perhaps had trod in some ubuntu?" :-D
[2008/06/30 10:52:48] <ashp> haha
[2008/06/30 10:52:50] @ ski98033 joined channel #puppet
[2008/06/30 11:00:28] @ teyo joined channel #puppet
[2008/06/30 11:00:41] @ teyo left channel #puppet ()
[2008/06/30 11:01:38] @ white_van_man is now known as lazzurs
[2008/06/30 11:06:07] @ Quit: tim|macbook: "This computer has gone to sleep"
[2008/06/30 11:11:01] @ martha joined channel #puppet
[2008/06/30 11:22:09] <Aji-Dahaka> are there any example puppet setups for blastwave? I see it mentioned in the packages part of the reference, but I'm not sure how to define "source" for it
[2008/06/30 11:23:39] @ _zsh joined channel #puppet
[2008/06/30 11:30:14] @ Quit: madduck:
[2008/06/30 11:33:35] @ madduck joined channel #puppet
[2008/06/30 11:41:40] @ Quit: roald: Remote closed the connection
[2008/06/30 11:44:59] @ Quit: kambiz: "This computer has gone to sleep"
[2008/06/30 11:45:21] @ kambiz joined channel #puppet
[2008/06/30 11:46:19] @ jon_ joined channel #puppet
[2008/06/30 11:50:16] @ Quit: hessml: "Leaving..."
[2008/06/30 11:53:20] @ cabbiepete_ joined channel #puppet
[2008/06/30 11:59:09] @ lutter joined channel #puppet
[2008/06/30 12:01:16] @ Quit: meandtheshell: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:20] @ Quit: ricky: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:24] @ Quit: erikh: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:26] @ Quit: Wicky656: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:33] @ Quit: pftqg: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:37] @ Quit: mcbride: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:41] @ Quit: hacim: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:44] @ Quit: choffee: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:01:47] @ Quit: lefant: kubrick.freenode.net irc.freenode.net
[2008/06/30 12:02:42] <mmcgrath> anyone know why puppetd -t --debug would freeze at -
[2008/06/30 12:02:42] <mmcgrath> debug: Finishing transaction 23456260305860 with 0 changes
[2008/06/30 12:02:43] <mmcgrath> debug: Loaded state in 0.01 seconds
[2008/06/30 12:03:08] @ hacim joined channel #puppet
[2008/06/30 12:05:06] @ meandtheshell joined channel #puppet
[2008/06/30 12:05:11] @ ricky joined channel #puppet
[2008/06/30 12:05:14] @ erikh joined channel #puppet
[2008/06/30 12:05:16] @ pftqg joined channel #puppet
[2008/06/30 12:05:18] @ Wicky656 joined channel #puppet
[2008/06/30 12:05:20] @ lefant joined channel #puppet
[2008/06/30 12:05:24] @ mcbride joined channel #puppet
[2008/06/30 12:05:27] @ choffee joined channel #puppet
[2008/06/30 12:05:30] @ Quit: mcbride: Remote closed the connection
[2008/06/30 12:05:32] @ Quit: lefant: Remote closed the connection
[2008/06/30 12:05:34] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/06/30 12:05:35] @ mcbride joined channel #puppet
[2008/06/30 12:05:37] @ lefant_ joined channel #puppet
[2008/06/30 12:05:41] @ Quit: ricky: Broken pipe
[2008/06/30 12:05:44] @ ricky joined channel #puppet
[2008/06/30 12:05:49] @ Quit: bepernoot: Remote closed the connection
[2008/06/30 12:09:29] @ Quit: cabbiepete: No route to host
[2008/06/30 12:10:36] @ lak joined channel #puppet
[2008/06/30 12:11:01] @ spheromak_ joined channel #puppet
[2008/06/30 12:20:25] @ Quit: spheromak: Read error: 110 (Connection timed out)
[2008/06/30 12:27:21] @ lefant_ is now known as lefant
[2008/06/30 12:29:14] @ cote joined channel #puppet
[2008/06/30 12:30:50] @ Quit: mikearr: Read error: 113 (No route to host)
[2008/06/30 12:33:27] @ Quit: fbe: Read error: 110 (Connection timed out)
[2008/06/30 12:33:29] <Disconnect> ...splay really shouldn't cause puppetd to not exit. thats just insane.
[2008/06/30 12:33:32] @ Quit: hacim: Remote closed the connection
[2008/06/30 12:35:18] @ Quit: mdray: "Leaving"
[2008/06/30 12:36:42] @ Quit: DerekW: "Leaving"
[2008/06/30 12:44:36] <Disconnect> wow neat. puppetmaster sucked down all my ram.
[2008/06/30 12:45:15] @ Quit: lak: Remote closed the connection
[2008/06/30 12:45:30] <Disconnect> http://pastie.org/224850
[2008/06/30 12:45:54] @ lak joined channel #puppet
[2008/06/30 12:45:59] <Disconnect> the links entry really upset it (its 'script' and a bunch of foo -> script symlinks)
[2008/06/30 12:46:39] <Disconnect> ..recurse is misspelled but that shouldn't break it
[2008/06/30 12:46:59] @ hessml joined channel #puppet
[2008/06/30 12:53:47] <Llama> Hi all again.I have a strange issue with puppet. I have dhcp configs splitted to small files under puppet. When I update configs, puppet actually update file, but do not refresh service. In second run, it catch changes in directory and really reload service.
[2008/06/30 12:53:52] <Llama> Here goes some logs from first and second run and part of config
[2008/06/30 12:53:54] <Llama> http://pastebin.ca/1059063
[2008/06/30 12:54:02] @ Quit: kambiz: "This computer has gone to sleep"
[2008/06/30 12:54:19] @ kambiz joined channel #puppet
[2008/06/30 12:54:23] <Disconnect> ...this is getting really annoying. how do I tell puppet "take all these files and links and add them to that directory" without telling it "but first, eat all my ram and trash the system"
[2008/06/30 12:54:39] <Volcane> lol
[2008/06/30 12:54:55] <Disconnect> as soon as i get it back i'll pastie the second, still-broken, config
[2008/06/30 12:55:02] <Volcane> exec rsync :P
[2008/06/30 12:58:29] @ plathrop joined channel #puppet
[2008/06/30 12:59:06] <Disconnect> http://pastie.org/224857
[2008/06/30 12:59:29] <Disconnect> that should work according to the docs. "make sure /usr/local/bin is a directory, then copy the contents of puppet::///instantclient/bin to it recursively, don't delete existing files"
[2008/06/30 13:00:00] <Disconnect> ....wait. thats not even getting run. its breaking on the other half. sigh.
[2008/06/30 13:00:25] <Disconnect> 100M of oracle client is blowing it sky high.
[2008/06/30 13:02:18] <Volcane> dont copy big things with puppet:///
[2008/06/30 13:02:36] @ shake-n-bake_ joined channel #puppet
[2008/06/30 13:03:05] <Gh0sty> :D
[2008/06/30 13:03:21] <Gh0sty> how come we cant just copy "server.img" ? :p
[2008/06/30 13:03:42] <Disconnect> 100M (actually 30M is the file it hates) is hardly big
[2008/06/30 13:03:50] <Gh0sty> or wait, that would make puppet a backup tool ...
[2008/06/30 13:03:53] <Gh0sty> never minder :p
[2008/06/30 13:04:13] <Volcane> Disconnect: i wouldnt copy like 2MB with it
[2008/06/30 13:05:03] <Gh0sty> jamesturnbull: does the book also explain how you should setup your subversion to work with puppet?
[2008/06/30 13:05:18] <Gh0sty> or better how you should layout your svn
[2008/06/30 13:06:44] <Volcane> Gh0sty: nope
[2008/06/30 13:11:36] @ aymerick left channel #puppet ()
[2008/06/30 13:21:14] @ Quit: glaw: Remote closed the connection
[2008/06/30 13:30:37] @ Quit: cabbiepete_:
[2008/06/30 13:33:14] @ jY joined channel #puppet
[2008/06/30 13:34:08] <jY> on one of my redhat 5.2 boxes facter lost all the lsb* entries
[2008/06/30 13:34:15] <jY> anyone know how or why that happens?
[2008/06/30 13:34:37] @ Quit: kambiz: "Leaving"
[2008/06/30 13:34:46] <Volcane> sure you're runnign it as root with roots path? sure you have lsb installed?
[2008/06/30 13:35:18] <Volcane> though lsb_release is in /usr/bin so probably not path related
[2008/06/30 13:36:10] <jY> ok thanks.. lsb_release isn't there for some reason.. have to re-install it
[2008/06/30 13:36:16] <Volcane> kewl
[2008/06/30 13:36:30] <Volcane> comes in redhat-lsb rpm
[2008/06/30 13:37:33] <jY> ok new admin must of removed cups which is a dependency of lsb_release for some reason
[2008/06/30 13:38:11] <Aji-Dahaka> hmm...wonder why I have to set packagesource manually for blastwave packages
[2008/06/30 13:39:48] @ flakrat joined channel #puppet
[2008/06/30 13:48:50] @ Quit: _zsh: Read error: 104 (Connection reset by peer)
[2008/06/30 13:49:59] <Gh0sty> Volcane: how do you do versioning of 1 file which is like server specific?
[2008/06/30 13:51:17] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/06/30 13:51:23] @ Quit: hessml: "Leaving..."
[2008/06/30 13:51:53] <Gh0sty> for example we have virtualhosts with a server alias added with the hostname inside (so we can internally also check the host with the specific hostname)
[2008/06/30 13:52:18] <Gh0sty> cause they are part of a loadbalanced cluster of hosts which are normally all called by clustername.domain.com
[2008/06/30 13:52:26] <Gh0sty> so how do you do that with puppet?
[2008/06/30 13:52:39] <Disconnect> templates
[2008/06/30 13:53:01] * Gh0sty is looking for templates on the puppet site
[2008/06/30 13:53:02] <Gh0sty> thx
[2008/06/30 13:59:31] @ Quit: shadowvice: Read error: 54 (Connection reset by peer)
[2008/06/30 14:01:24] @ bk joined channel #puppet
[2008/06/30 14:01:30] @ bk left channel #puppet ()
[2008/06/30 14:03:44] @ bk joined channel #puppet
[2008/06/30 14:03:49] @ shake-n-bake joined channel #puppet
[2008/06/30 14:22:34] @ Quit: andrewcshafer:
[2008/06/30 14:23:08] @ Quit: plathrop: Remote closed the connection
[2008/06/30 14:26:21] @ plathrop joined channel #puppet
[2008/06/30 14:29:24] @ catdude joined channel #puppet
[2008/06/30 14:42:49] @ aymerick joined channel #puppet
[2008/06/30 14:48:13] <windowsrefund> many of my clients are taking 15-25 seconds to compile their manifests
[2008/06/30 14:48:25] <windowsrefund> which.. feels very slow
[2008/06/30 14:48:56] <windowsrefund> other clients on the same network are taking only 2-3 seconds
[2008/06/30 14:52:27] @ Quit: emerose_: Read error: 104 (Connection reset by peer)
[2008/06/30 14:53:13] <holaway> windowsrefund: what's different between the clients?
[2008/06/30 14:53:16] <holaway> are you running storeconfigs?
[2008/06/30 14:53:21] <holaway> export/collect?
[2008/06/30 14:53:31] <windowsrefund> I am not
[2008/06/30 14:53:44] <windowsrefund> and am not passing around many files from puppet -> clients
[2008/06/30 14:53:58] <holaway> template rendering that's complex?
[2008/06/30 14:54:09] <windowsrefund> I use many templates
[2008/06/30 14:54:15] <windowsrefund> but they're not complicated
[2008/06/30 14:54:24] <windowsrefund> they only make use of facts and variables
[2008/06/30 14:54:30] <windowsrefund> since I don't know ruby :)
[2008/06/30 14:55:03] <windowsrefund> I'm getting a yellow "execution expired" when I run puppetd --test manually from a problematic client
[2008/06/30 14:55:15] <windowsrefund> could be the network.....
[2008/06/30 14:58:03] @ eventi joined channel #puppet
[2008/06/30 14:58:46] <holaway> windowsrefund: maybe - have you tried voodoo, like restarting the puppetmasterd?
[2008/06/30 14:59:27] <eventi> need help tracking down a service that won't restart
[2008/06/30 15:00:14] @ emerose joined channel #puppet
[2008/06/30 15:00:39] <eventi> http://pastebin.com/m242fab5e shouldn't this work?
[2008/06/30 15:02:19] <windowsrefund> holoway, yes I have
[2008/06/30 15:06:09] @ eventi left channel #puppet ()
[2008/06/30 15:18:13] @ Quit: flakrat: "Leaving"
[2008/06/30 15:21:16] @ emerose_ joined channel #puppet
[2008/06/30 15:26:04] @ shadowvice joined channel #puppet
[2008/06/30 15:26:58] <stevenjenkins> lak around?
[2008/06/30 15:27:05] <lak> vaguely
[2008/06/30 15:27:11] <lak> working my way to your email, i promise :)
[2008/06/30 15:27:15] <stevenjenkins> heh.
[2008/06/30 15:27:20] <stevenjenkins> I have an offer for you...
[2008/06/30 15:27:23] <stevenjenkins> should I call you?
[2008/06/30 15:27:51] <stevenjenkins> or put it in email?
[2008/06/30 15:28:36] <lak> call me, i guess; gimme 5 mins?
[2008/06/30 15:28:46] <stevenjenkins> sure. will do.
[2008/06/30 15:28:50] <lak> hmm, actually, i'll call you
[2008/06/30 15:28:55] <lak> lost my phone this weekend :/
[2008/06/30 15:29:11] <shadowvice> But it was a good weekend right?
[2008/06/30 15:30:11] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/06/30 15:30:18] <lak> shadowvice: maybe not so much: http://twitter.com/puppetmasterd/statuses/846610929
[2008/06/30 15:31:07] <lak> and it was at the end of the weekend, so no bonus for being cut off
[2008/06/30 15:31:25] <stevenjenkins> yowsa! seriously?
[2008/06/30 15:31:43] <shadowvice> ASHHH
[2008/06/30 15:31:54] <lak> yep :/
[2008/06/30 15:32:02] <thom> lak: oh good grief :( i hope you're both ok
[2008/06/30 15:32:04] <shadowvice> I thought you had some cool conference you were going to be at?
[2008/06/30 15:32:09] <lak> in the end it was just a pain in the ass
[2008/06/30 15:32:16] <shadowvice> ouch Im sorry to hear that
[2008/06/30 15:32:17] <lak> shadowvice: got back at midnight on fri
[2008/06/30 15:32:20] <stevenjenkins> sorry to hear that -- hope you & your wife are ok. glad it wasn't worse.
[2008/06/30 15:32:35] <lak> yep, just trying to get cards and IDs remade and such
[2008/06/30 15:32:41] <shadowvice> that really sucks Im sorry :(
[2008/06/30 15:32:55] <lak> finding a stop-gap phone until i can decide if i want to try to hack the new iphone to work on tmobile
[2008/06/30 15:33:40] <shadowvice> eeoooouuu ... have you looked at the shadow?
[2008/06/30 15:33:48] <lak> no?
[2008/06/30 15:33:52] <lak> i guess not
[2008/06/30 15:34:07] <lak> but i'm *probably* going to get the iphone, even if i have to do some jailbreaking
[2008/06/30 15:34:14] <lak> who's it by?
[2008/06/30 15:34:54] <holaway> lak: did you get that book I mailed you? small consolation for being mugged, but still :)
[2008/06/30 15:34:57] <shadowvice> the shadow's a t-mobile thing here
[2008/06/30 15:35:15] <shadowvice> kinda looks like a iphone
[2008/06/30 15:35:16] <lak> holaway: yep, i did; sorry, thought i mentioned it at velocity -- it was my flight book on the way there
[2008/06/30 15:35:39] <holaway> ah, cool
[2008/06/30 15:35:44] <holaway> hope you like it
[2008/06/30 15:35:45] <holaway> I dug it
[2008/06/30 15:35:46] <holaway> :)
[2008/06/30 15:36:17] <lak> i, um, hope i'm not to the good parts yet
[2008/06/30 15:36:20] <shadowvice> hehe nm may not be that great :D http://www.t-mobileshadow.com/
[2008/06/30 15:36:41] <lak> could be a bit more succinct, so far, but the bits you talk about seem more interesting than what's been covered so far
[2008/06/30 15:36:52] <lak> shadowvice: yeah, winmobile? not so much more me
[2008/06/30 15:37:37] <holaway> lak: he takes a while to build to the point (it may also be that, having read much of his supporting work, I liked his conclusions more.. that would not be the first time for me)
[2008/06/30 15:37:56] <lak> i can't argue with his conclusions, just his lack of brevity
[2008/06/30 15:38:03] <holaway> ah, yeah, he's a chatty guy
[2008/06/30 15:44:42] @ mikearr joined channel #puppet
[2008/06/30 15:46:14] <Disconnect> random side note, i hated the iphone as a phone and wasn't wild about it as an mp3 player.. but that was just me. (the hacking-it part was simple)
[2008/06/30 15:47:02] <thom> i think, as with all apple things, it's very divisive. i love my iphone, but would never use an apple computer
[2008/06/30 15:47:28] <shadowvice> Im currently using the @home feature with tmobile so Im kinda stuck with options
[2008/06/30 15:47:39] * Disconnect is on tmob also
[2008/06/30 16:01:08] @ devdas joined channel #puppet
[2008/06/30 16:04:50] @ Chaos joined channel #puppet
[2008/06/30 16:04:52] @ Quit: Soahc: Read error: 104 (Connection reset by peer)
[2008/06/30 16:05:21] @ andrewcshafer joined channel #puppet
[2008/06/30 16:12:12] @ Quit: zoeloelip: Read error: 104 (Connection reset by peer)
[2008/06/30 16:17:49] @ zoeloelip joined channel #puppet
[2008/06/30 16:20:13] @ Quit: zoeloelip: Read error: 104 (Connection reset by peer)
[2008/06/30 16:22:48] @ zoeloelip joined channel #puppet
[2008/06/30 16:32:15] @ ezralini joined channel #puppet
[2008/06/30 16:32:47] @ simmerz joined channel #puppet
[2008/06/30 16:33:21] <simmerz> when i try and gem install --remote .... the facter and puppet gems from reductivelabs, I get an error saying RubyGems 1.2+ index not found
[2008/06/30 16:43:54] @ aymerick left channel #puppet ()
[2008/06/30 16:47:15] * Volcane use packages
[2008/06/30 16:48:26] <ezralini> On the redhat/Centos/Fedora flavors (at least), w/ the RPM packages of puppet, if you are an unprivileged user and you check the puppet daemon's status, it'll say stopped,m even when running
[2008/06/30 16:49:50] <ezralini> I almost just got burned on a production server because of it. Of course, it was my mistake, but still, puppet shouldn't lie
[2008/06/30 16:51:05] <jY> you mean doing like service puppet status?
[2008/06/30 16:51:13] <ezralini> jY: yes
[2008/06/30 16:51:33] <jY> more of a fault of the checkproc function probably
[2008/06/30 16:51:36] <jY> cause it is running
[2008/06/30 16:51:56] <ezralini> jY: yeah, I know I should have looked more deeply into it, and I didn't
[2008/06/30 16:53:23] <lak> anyone have any idea how to rename redmine tickets? i can't seem to find a way to do so
[2008/06/30 16:58:16] <ezralini> hmmm, the init scripts are confusing me. Do you know how this works: "puppetd=${PUPPETD-/usr/sbin/puppetd}" ? (the outer quotes are mine)
[2008/06/30 16:59:01] <ezralini> jY: ^^
[2008/06/30 16:59:10] <Volcane> the pidof isnt returning the pid for puppetd unless you're root
[2008/06/30 17:00:10] <ezralini> Volcane: aha
[2008/06/30 17:00:13] <jY> you don't need them around that
[2008/06/30 17:00:55] <ezralini> Volcane: Do you know why apache does return the correct status, then?
[2008/06/30 17:01:02] <Volcane> no
[2008/06/30 17:01:08] <lak> ezralini: it's basically shell magic -- ${VAR-value} returns either the value of VAR, or the specified value
[2008/06/30 17:01:12] <Volcane> just saying if you slap a -x in the init script
[2008/06/30 17:01:14] <lak> i.e., it's default values in the shell
[2008/06/30 17:01:14] <Volcane> and compare the diff
[2008/06/30 17:01:19] <Volcane> thats where it goes pear shape
[2008/06/30 17:01:53] <ezralini> lak: : thanks
[2008/06/30 17:02:37] <ezralini> Volcane: "pear shape" ? as in, "that's where it fails?"
[2008/06/30 17:02:41] <Volcane> yes
[2008/06/30 17:04:46] <ezralini> Well, I figured out the problem, not how to fix it, though.
[2008/06/30 17:05:06] <Volcane> whats the problem?
[2008/06/30 17:05:15] <ezralini> oh, wait, no, my explanation doesn't make sense
[2008/06/30 17:05:50] @ Quit: kenvandine: "Ex-Chat"
[2008/06/30 17:10:53] <fujin> lak: update -> change properties (more) press the more button -> subject box
[2008/06/30 17:11:00] <lak> ah
[2008/06/30 17:11:01] <lak> thanks
[2008/06/30 17:11:16] <fujin> np
[2008/06/30 17:11:35] <lak> wow, that's subtle
[2008/06/30 17:11:41] <lak> that 'more' is wicked-small
[2008/06/30 17:11:48] @ Quit: bk: "Leaving."
[2008/06/30 17:16:00] @ fbe joined channel #puppet
[2008/06/30 17:18:51] <pftqg> is there a way of making puppetd run a script when it finishes it's periodic run?
[2008/06/30 17:19:33] <ezralini> Volcane: It's like you said, pidof can't get the pid. I haven't tried to figure out why something like httpd works
[2008/06/30 17:20:09] @ nasrat joined channel #puppet
[2008/06/30 17:21:38] <devdas> ezralini: probably permissions on the PID file
[2008/06/30 17:24:30] <ezralini> ah! Got it!
[2008/06/30 17:25:07] <devdas> what was it?
[2008/06/30 17:25:40] <ezralini> It works with apache because if the pidof check fails, it goes on to check status by pid file which works for unprivileged users for apache, and doesn't work for puppet
[2008/06/30 17:26:00] <ezralini> I'm looking at /etc/rc.d/init.d/functions
[2008/06/30 17:26:19] <Volcane> puppet's pid file gets written in a place the script doesnt look for it
[2008/06/30 17:26:25] <ezralini> Yup
[2008/06/30 17:26:52] <Volcane> which you can fix
[2008/06/30 17:26:53] <ezralini> it get's written to /var/run/puppet/puppet.pid and the script is looking for /var/run/puppetd.pid
[2008/06/30 17:26:59] <Volcane> by setting PIDFILE in /etc/sysconfig/puppet
[2008/06/30 17:27:00] <ezralini> Entirely fixable
[2008/06/30 17:27:26] <ezralini> Thanks, I hadn't realized that could be set there
[2008/06/30 17:27:43] <Volcane> I've not tried, but should be able too
[2008/06/30 17:29:08] <fujin> lak: uncommon operations I suppose - at least you don't have to dig through the database to modify the original description etc
[2008/06/30 17:29:30] <lak> fujin: true dat
[2008/06/30 17:30:39] @ Quit: jY: Remote closed the connection
[2008/06/30 17:36:34] @ emerose joined channel #puppet
[2008/06/30 17:37:15] @ shake-n-bake_ joined channel #puppet
[2008/06/30 17:38:05] @ Quit: lak:
[2008/06/30 17:38:31] @ ezralini left channel #puppet ()
[2008/06/30 17:40:08] @ shenson is now known as shenson_not_here
[2008/06/30 17:40:21] @ Quit: emerose_: Read error: 104 (Connection reset by peer)
[2008/06/30 17:45:40] @ jbrothers left channel #puppet ()
[2008/06/30 17:53:32] @ emerose_ joined channel #puppet
[2008/06/30 17:54:09] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/06/30 17:55:43] <cuchulain> http://www.debian-administration.org/articles/600
[2008/06/30 17:59:27] @ marti joined channel #puppet
[2008/06/30 18:01:14] <marti> Got a question; given the following snippet from my openbsd.pp file, I get an error "err: Could not apply complete configuration: Could not retrieve dependency 'Class[openbsd_bash]' at /etc/puppet/manifests/os/openbsd.pp:175"
[2008/06/30 18:01:20] <marti> class openbsd_bash {
[2008/06/30 18:01:21] <marti> openbsd_package { "bash-3.2.33": }
[2008/06/30 18:01:21] <marti> }
[2008/06/30 18:01:21] <marti> ...
[2008/06/30 18:01:21] <marti> file { "/usr/local/bin/addtorc":
[2008/06/30 18:01:21] <marti> ensure => present,
[2008/06/30 18:01:23] <marti> mode => 0755,
[2008/06/30 18:01:25] <marti> owner => root,
[2008/06/30 18:01:27] <marti> group => wheel,
[2008/06/30 18:01:29] <marti> content => template("/etc/puppet/templates/scripts/addtorc"),
[2008/06/30 18:01:31] <marti> require => Class['openbsd_bash'],
[2008/06/30 18:01:33] <marti> }
[2008/06/30 18:01:35] <marti> Any ideas?
[2008/06/30 18:01:46] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/06/30 18:02:48] <fujin> marti: I believe the Class[] syntax came in a later version, like 0.24.xish
[2008/06/30 18:03:38] <marti> Ahh, so I can't do dependencies based on class without updating puppet to a newer version?
[2008/06/30 18:03:56] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)"
[2008/06/30 18:04:30] <fujin> don' tthink so - what version are you running?
[2008/06/30 18:05:09] <marti> 0.22.4, it's what's currently packaged by the openbsd folks
[2008/06/30 18:05:14] <fujin> ah
[2008/06/30 18:05:16] <fujin> not ideal, no
[2008/06/30 18:05:41] <marti> no it's not. I'll look at upgrading it, in the meantime, that answers my question, I'll work around it.
[2008/06/30 18:05:57] <marti> Thanks for the help!
[2008/06/30 18:06:02] <fujin> np, have fun
[2008/06/30 18:13:30] @ kambiz joined channel #puppet
[2008/06/30 18:42:21] @ Quit: nasrat:
[2008/06/30 19:00:36] @ Quit: marti:
[2008/06/30 19:07:04] @ Quit: ski98033: "Leaving."
[2008/06/30 19:08:48] @ refuseresisted joined channel #puppet
[2008/06/30 19:10:10] @ refuseresisted left channel #puppet ("Leaving")
[2008/06/30 19:11:18] @ refuseresisted_ joined channel #puppet
[2008/06/30 19:13:20] <refuseresisted_> anyone know if it's possible to reference a User object from a define within a class?
[2008/06/30 19:13:32] @ refuseresisted_ is now known as refuseresisted
[2008/06/30 19:20:46] <Pockets> Hey andrewcshafer, sorry, I had to run off yesterday to fix a few things. A copy of the puppet logo around 300 pixels high would be great if you could dig one up :)
[2008/06/30 19:21:41] @ sigmonsays joined channel #puppet
[2008/06/30 19:22:01] <andrewcshafer> you want a vertical one with the logo over the word or a horizontal one or just the logo?
[2008/06/30 19:34:48] @ Quit: Chaos: Remote closed the connection
[2008/06/30 19:38:43] @ Chaos joined channel #puppet
[2008/06/30 19:44:55] <Pockets> andrewcshafer, the horizontal one would be great, as it is for some documentation
[2008/06/30 19:46:13] @ plathrop joined channel #puppet
[2008/06/30 19:48:51] @ Quit: devdas: Read error: 104 (Connection reset by peer)
[2008/06/30 19:53:23] @ Quit: meandtheshell: "Leaving."
[2008/06/30 19:54:14] @ emerose joined channel #puppet
[2008/06/30 19:54:43] @ Quit: emerose_: Read error: 104 (Connection reset by peer)
[2008/06/30 19:55:36] @ holaway is now known as holoway
[2008/06/30 19:58:56] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/06/30 20:13:16] <docta_v> any iclassify users in here? i'm having what i think is a pretty simple problem trying to install
[2008/06/30 20:13:24] @ martha left channel #puppet ()
[2008/06/30 20:13:29] @ marti joined channel #puppet
[2008/06/30 20:13:41] <docta_v> i run rake db:migrate
[2008/06/30 20:13:52] <docta_v> and get No such file or directory - /tmp/mysql.sock
[2008/06/30 20:13:57] <docta_v> so presumably it can't connect to the db
[2008/06/30 20:15:39] <holoway> anyone with redmine admin privs around?
[2008/06/30 20:15:53] <holoway> I can't seem to reset my password - login never works, even after going through the reset process
[2008/06/30 20:16:12] <marti> puppet newbie here; I've been using puppet-0.22.4 on openbsd, but want to use the latest version. So I installed 0.24.4 using the gem installer. Now when I run puppetd --help, I get the following unhelpful message; does anyone knoe what I need to do to get useful usage info?
[2008/06/30 20:16:12] <marti> This file was generated by RubyGems.
[2008/06/30 20:16:12] <marti> The application 'puppet' is installed as part of a gem, and this file is
[2008/06/30 20:16:13] <marti> here to facilitate running it.
[2008/06/30 20:17:32] <holoway> marti: that's a side-effect of rubygems
[2008/06/30 20:17:38] <holoway> nothing to be done about it, actually
[2008/06/30 20:17:45] <holoway> other than install from source instead
[2008/06/30 20:17:56] <refuseresisted> docta_v, sounds like you need to change the socket in your databases.yml
[2008/06/30 20:18:08] <marti> really? So there's no way to trigger the --help function inside puppet itself now? That kinda sucks ;)
[2008/06/30 20:18:10] <refuseresisted> err database.yml
[2008/06/30 20:19:39] @ shake-n-bake__ joined channel #puppet
[2008/06/30 20:20:33] <holoway> marti: it's a gem-ism
[2008/06/30 20:20:36] <holoway> lame, huh?
[2008/06/30 20:21:04] <marti> OK, well, thanks for the info; more significantly, --waitforcert doesn't seem to be working; "puppetd --verbose --onetime --waitforcert 15 --server foo.com" returns immediately and there's a note in syslog about no cert
[2008/06/30 20:23:04] <docta_v> refuseresisted: hmm but i can connect to the db with username/password listed in that file
[2008/06/30 20:25:18] @ emerose_ joined channel #puppet
[2008/06/30 20:31:01] @ Quit: marti:
[2008/06/30 20:32:13] <refuseresisted> docta_v, it's configured to use a unix socket instead of tcp/ip
[2008/06/30 20:32:41] <refuseresisted> docta_v, is your database on the same host?
[2008/06/30 20:33:24] <jamesturnbull> morning team!
[2008/06/30 20:33:31] <jamesturnbull> andrewcshafer: did you get my email re CSS?
[2008/06/30 20:33:34] @ Quit: emerose: Read error: 110 (Connection timed out)
[2008/06/30 20:34:23] <andrewcshafer> 'CSS for Redmine'?
[2008/06/30 20:35:01] <andrewcshafer> Pockets: What is your email? or send me something at andrew at reductivelabs
[2008/06/30 20:36:14] <docta_v> refuseresisted: yes, on the same host
[2008/06/30 20:36:46] @ Quit: shake-n-bake__: Read error: 110 (Connection timed out)
[2008/06/30 20:37:05] <refuseresisted> docta_v, okay so where is the mysql socket at? (run: grep socket /etc/my.cnf)
[2008/06/30 20:37:21] <Pockets> Email send andrewcshafer, cheers :)
[2008/06/30 20:37:37] <docta_v> in /var/run/mysqld/mysqld.sock
[2008/06/30 20:38:02] <docta_v> i could make a symlink
[2008/06/30 20:38:02] <refuseresisted> so change any occurence of /tmp/mysql.sock to that path in your database.yml
[2008/06/30 20:38:30] <refuseresisted> not sure you can symlink unix sockets
[2008/06/30 20:39:03] <docta_v> there is no mysql.sock anywhere in the iclassify dir
[2008/06/30 20:39:08] <docta_v> did a recursive grep
[2008/06/30 20:39:15] <docta_v> so it must be coming from a default value somewhere else
[2008/06/30 20:39:22] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)"
[2008/06/30 20:39:27] <docta_v> can i specify a socket in that file?
[2008/06/30 20:39:29] <refuseresisted> can you pastebin your database.yml (without user/pass)
[2008/06/30 20:39:47] <jamesturnbull> andrewcshafer: yes that email
[2008/06/30 20:40:06] <jamesturnbull> andrewcshafer: do what you will with it - or not - I haven't got time just right now and I imagine you be busy also
[2008/06/30 20:40:11] <holoway> jamesturnbull: can you either kill or reset my redmine account? seems to be not doing the password reset dance
[2008/06/30 20:40:20] <jamesturnbull> holoway: sure
[2008/06/30 20:40:23] <holoway> adamhjk
[2008/06/30 20:40:34] <holoway> jamesturnbull: thanks!
[2008/06/30 20:41:46] <jamesturnbull> holoway: that user seems not to exist - hang on
[2008/06/30 20:41:58] <jamesturnbull> holoway: I have an "adam" with your email
[2008/06/30 20:47:38] <docta_v> refuseresisted: symlink worked... even when i changed all the socket definitions to the correct locations it still errored out
[2008/06/30 20:48:36] <holoway> jamesturnbull: that'll do
[2008/06/30 20:48:37] <holoway> thanks!
[2008/06/30 20:52:47] @ Gwayne joined channel #puppet
[2008/06/30 20:52:57] <fujin> rofl @ #1381
[2008/06/30 20:52:59] <gepetto> fujin: #1381 is http://reductivelabs.com/redmine/issues/show/1381
[2008/06/30 20:53:04] <jamesturnbull> holoway: you beat me to that ticket
[2008/06/30 20:53:05] * fujin glares at exec { "nice 15 gcc test.cc": }
[2008/06/30 20:53:12] <fujin> ^5 holoway
[2008/06/30 20:53:32] <fujin> was lludwig burning the midnight oil perhaps
[2008/06/30 20:54:04] <fujin> a more sensibile idea, I feel
[2008/06/30 20:54:07] <fujin> would be to have a fork option to exec
[2008/06/30 20:54:26] <fujin> where puppet actually forks for execution of the subprocess, not caring about the return value.. this obviously doesn't allow you to notify/require/subscribe etc though
[2008/06/30 20:54:37] <fujin> but would allow this background style compilation
[2008/06/30 20:55:31] <holoway> fujin: that's not waht he's asking for
[2008/06/30 20:55:45] <fujin> no, I know
[2008/06/30 20:56:03] <fujin> does puppetd block on long calls to exec{} resources?
[2008/06/30 20:56:21] <fujin> nicing them down is even worse, if so
[2008/06/30 20:56:34] <holoway> fujin: yes, and it should
[2008/06/30 20:56:41] <holoway> anything else leads to chaos
[2008/06/30 20:56:52] <fujin> yeah
[2008/06/30 20:57:02] <jamesturnbull> fujin: I don't think you'd ever want to fork would you? hmmm perhaps you would but surely one should just write better scripts - that spawn processes if they need to be long running ;)
[2008/06/30 20:57:07] <fujin> ^
[2008/06/30 20:57:15] * fujin retracts previous statement
[2008/06/30 20:57:28] <holoway> that kind of asynchronous long running job
[2008/06/30 20:57:50] <holoway> is ideal for gearman, or any other of the gazillion sorts of systems that support simple producer/consumer execs
[2008/06/30 20:58:18] <fujin> hrm
[2008/06/30 20:58:37] <andrewcshafer> Pockets: Let me know if that works
[2008/06/30 20:58:55] <Pockets> Perfect andrewcshafer :)
[2008/06/30 20:59:09] <andrewcshafer> jamesturnbull: I'll do the reductivelabs site first, then redmine
[2008/06/30 21:01:45] <jamesturnbull> andrewcshafer: sure - that'd be great
[2008/06/30 21:01:56] <jamesturnbull> andrewcshafer: let me know if you want nay help and I'll see how my time goes
[2008/06/30 21:02:14] <andrewcshafer> sounds good
[2008/06/30 21:09:34] @ Quit: simmerz: "Leaving."
[2008/06/30 21:48:07] @ lak joined channel #puppet
[2008/06/30 21:56:45] @ Quit: kambiz: "Leaving"
[2008/06/30 22:12:31] @ teyo joined channel #puppet
[2008/06/30 22:18:38] @ Quit: andrewcshafer:
[2008/06/30 22:22:21] @ Quit: ConSeannery: Read error: 113 (No route to host)
[2008/06/30 22:28:36] @ hessml joined channel #puppet
[2008/06/30 22:35:31] @ randybias joined channel #puppet
[2008/06/30 22:44:17] @ Soahc joined channel #puppet
[2008/06/30 22:44:19] @ Quit: Chaos: Read error: 104 (Connection reset by peer)
[2008/06/30 22:46:37] @ shake-n-bake joined channel #puppet
[2008/06/30 22:48:17] @ Quit: machpo: Read error: 104 (Connection reset by peer)
[2008/06/30 22:49:24] @ machpo joined channel #puppet
[2008/06/30 22:52:07] @ andrewcshafer joined channel #puppet
[2008/06/30 23:00:16] @ Quit: jvanzyl:
[2008/06/30 23:08:06] @ Quit: andrewcshafer:
[2008/06/30 23:08:09] @ rizwank joined channel #puppet
[2008/06/30 23:09:46] <rizwank> Hey there. I'd like to execute some code as part of my Puppet setup to provide variables... for instance, if the network is 10.0.0.0/22 (as specificed as a variable in the node description), I'd like to be able to write code (ruby?) that'd be able to do work on that and provide it as variables, for instance, firstip = 10.0.0.1 or last ip = 10.0.3.255, etc.
[2008/06/30 23:09:50] <rizwank> Any ideas how I could approach that?
[2008/06/30 23:20:43] <jamesturnbull> rizwank: wiki:AddingFacts
[2008/06/30 23:20:45] <gepetto> jamesturnbull: rizwank: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts
[2008/06/30 23:22:49] <fujin> rizwank: and/or templates
[2008/06/30 23:23:03] <rizwank> I had down 'consider facter'
[2008/06/30 23:23:11] <fujin> if you want to pass $blah = "10.0.0.0/22" into a file{}, then you're looking at a template
[2008/06/30 23:23:19] <rizwank> but I dont know about how I could write code *in* a template
[2008/06/30 23:23:26] <fujin> <% code goes here %>
[2008/06/30 23:23:26] <rizwank> except putting all that logic into each erb template
[2008/06/30 23:23:29] <rizwank> = repeated code = bad
[2008/06/30 23:23:40] <fujin> heh
[2008/06/30 23:23:46] <fujin> yeah, there isn't any _partial style support yet
[2008/06/30 23:23:55] <fujin> facter is strictly output only, though
[2008/06/30 23:24:05] <fujin> you can't say facter blah with_my_data="blabhblabhl"
[2008/06/30 23:24:27] <rizwank> but if it was something it had already? ip address of ethernet 0? contents of /etc/facterinfo
[2008/06/30 23:26:10] <jamesturnbull> fujin: but you could feed a fact into a generate function
[2008/06/30 23:26:26] <fujin> mm, true
[2008/06/30 23:26:45] <fujin> rizwank: what are you actually trying to achieve
[2008/06/30 23:26:47] <fujin> I suppose is the correct question
[2008/06/30 23:26:56] <rizwank> generate function?
[2008/06/30 23:27:02] <fujin> aye, generate()
[2008/06/30 23:27:14] <fujin> runs a command on the server and outputs a string, you can use it for rvalue params
[2008/06/30 23:27:23] <rizwank> ah that's a facter thing?
[2008/06/30 23:27:28] <fujin> no, puppet manifest lang
[2008/06/30 23:27:34] <fujin> nothing to do with facter
[2008/06/30 23:27:41] <rizwank> oh... is there an example perchance?
[2008/06/30 23:27:44] <rizwank> as far as what I'm trying todo
[2008/06/30 23:27:56] <rizwank> we're going to have lots of small networks each with a server managed by puppet
[2008/06/30 23:28:13] <fujin> piss, sorry I've gotta run - meeting
[2008/06/30 23:28:14] <rizwank> no reason I have to manually key in various items that are the same for each server (relative to the ip address of the network)
[2008/06/30 23:28:14] <fujin> back in 15
[2008/06/30 23:28:19] <rizwank> .254 is always the router, etc.
[2008/06/30 23:31:17] @ Quit: markl_: Read error: 104 (Connection reset by peer)
[2008/06/30 23:32:58] <jamesturnbull> rizwank: wiki:FunctionReference#generate
[2008/06/30 23:33:00] <gepetto> jamesturnbull: rizwank: wiki:FunctionReference#generate is http://reductivelabs.com/trac/puppet/wiki/FunctionReference#generate
[2008/06/30 23:33:50] <jamesturnbull> rizwank: should be some examples in various modules floating around
[2008/06/30 23:34:14] <rizwank> cool
[2008/06/30 23:34:14] <rizwank> thanks.
[2008/06/30 23:36:55] @ Quit: teyo:
[2008/06/30 23:37:48] @ Quit: mikearr: Remote closed the connection
[2008/06/30 23:38:23] @ mikearr joined channel #puppet
[2008/06/30 23:51:41] @ Quit: rizwank:
[2008/06/30 23:54:48] @ andrewcshafer joined channel #puppet

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