Thursday, 2008-05-08

[2008/05/08 00:01:06] @ Quit: MrProper_: Read error: 104 (Connection reset by peer)
[2008/05/08 00:01:19] @ MrProper_ joined channel #puppet
[2008/05/08 00:11:35] @ Quit: jvanzyl_: Read error: 110 (Connection timed out)
[2008/05/08 00:12:40] @ lak joined channel #puppet
[2008/05/08 00:14:02] @ huangmingyou joined channel #puppet
[2008/05/08 00:15:25] @ Quit: jvanzyl: Read error: 113 (No route to host)
[2008/05/08 00:28:20] @ Quit: Volcane: kubrick.freenode.net irc.freenode.net
[2008/05/08 00:28:22] @ Quit: phips: kubrick.freenode.net irc.freenode.net
[2008/05/08 00:29:51] @ Volcane joined channel #puppet
[2008/05/08 00:29:53] @ Quit: Volcane: Read error: 60 (Operation timed out)
[2008/05/08 00:30:18] @ phips joined channel #puppet
[2008/05/08 00:31:16] @ jvanzyl joined channel #puppet
[2008/05/08 00:31:45] @ Arri joined channel #puppet
[2008/05/08 00:32:43] @ jli joined channel #puppet
[2008/05/08 00:33:01] @ Quit: huangmingyou: Read error: 113 (No route to host)
[2008/05/08 00:33:59] @ huangmingyou joined channel #puppet
[2008/05/08 00:34:07] <jli> is there a way to force a package to be uninstalled? i.e., I want to replace sysklogd with rsyslog, but "ensure => absent" doesn't work because yum returns on error about it being required by other packages
[2008/05/08 00:34:36] <jli> I don't see a way to force the command - should I use exec to run a yum command manually?
[2008/05/08 00:36:21] @ Quit: huangmingyou: Remote closed the connection
[2008/05/08 00:36:25] @ Quit: jvanzyl__: Read error: 110 (Connection timed out)
[2008/05/08 00:36:59] @ shenson_not_here is now known as shenson
[2008/05/08 00:45:31] <ashp> holoway_: Hey this reminds me, do you have a puppet class that does all the hard work of installing iclassify? :)
[2008/05/08 00:46:23] @ brscott joined channel #puppet
[2008/05/08 00:46:28] @ brscott left channel #puppet ()
[2008/05/08 00:46:31] @ windowsrefund joined channel #puppet
[2008/05/08 00:46:34] <windowsrefund> greets
[2008/05/08 00:46:42] @ mikearr joined channel #puppet
[2008/05/08 00:52:04] @ nward_ joined channel #puppet
[2008/05/08 00:55:48] @ Quit: a-priori: Remote closed the connection
[2008/05/08 00:56:25] @ a-priori joined channel #puppet
[2008/05/08 00:56:47] @ huangmingyou joined channel #puppet
[2008/05/08 00:59:49] @ Quit: strerror_work:
[2008/05/08 01:01:17] @ martha joined channel #puppet
[2008/05/08 01:08:54] @ Quit: kolla: Read error: 104 (Connection reset by peer)
[2008/05/08 01:09:23] @ Quit: nward: Read error: 110 (Connection timed out)
[2008/05/08 01:15:16] @ Quit: a-priori:
[2008/05/08 01:15:18] <windowsrefund> should /var/run/puppet/puppetd.pid be owned by root.root?
[2008/05/08 01:15:34] @ Quit: glaw: Remote closed the connection
[2008/05/08 01:15:39] <lak> yes
[2008/05/08 01:16:46] @ brscott joined channel #puppet
[2008/05/08 01:18:28] <windowsrefund> hmmm
[2008/05/08 01:18:31] <windowsrefund> mine is
[2008/05/08 01:18:45] <windowsrefund> I'm just trying to figure out why I keep seeing this in my logs
[2008/05/08 01:19:02] @ Quit: andyhold: Remote closed the connection
[2008/05/08 01:19:04] <windowsrefund> May 7 10:46:49 e5cen11tf21 puppetd[1976]: Could not create PID file: /var/run/puppet/puppetd.pid
[2008/05/08 01:19:50] @ andyhold joined channel #puppet
[2008/05/08 01:20:47] @ brscott left channel #puppet ()
[2008/05/08 01:22:11] <ashp> Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:968:in `parse_file': Could not match line [production-active] at /etc/puppet/puppet.conf:[production-active] (Puppet::Error)
[2008/05/08 01:22:15] <ashp> Uh oh.
[2008/05/08 01:23:43] <windowsrefund> I don't see the point of envioronments
[2008/05/08 01:24:21] <windowsrefund> when it's so easy to just run a 2nd instance of puppetmasterd on a different port and have it use a testing branch
[2008/05/08 01:25:50] <ashp> makes it easy to move stuff between environments by changing the tag in ldap?
[2008/05/08 01:26:11] <ashp> I'm not sure what I'm doing wrong, I thought I could just make up environment names and slap them in the puppet.conf however
[2008/05/08 01:28:25] <Arri> ashp: maybe it doesnt like "-"
[2008/05/08 01:28:34] @ Arri is now known as Volcane
[2008/05/08 01:28:43] <ashp> Oh hmm, that would be a pain, that makes sense possibly
[2008/05/08 01:28:51] * Volcane is of course guessing
[2008/05/08 01:29:19] <ashp> wow that is..
[2008/05/08 01:29:22] <ashp> that is the worst thing ever.
[2008/05/08 01:29:37] <windowsrefund> the "ease" of switching environments is kinda pointless though because I'm suggesting that environments don't even need to exist
[2008/05/08 01:29:52] <windowsrefund> so who cares how easy it is to switch between them
[2008/05/08 01:30:06] <Volcane> windowsrefund: they're very useful
[2008/05/08 01:30:21] <windowsrefund> Volcano: not really
[2008/05/08 01:30:22] <RainDoctor> hey windowsrefund
[2008/05/08 01:30:26] <RainDoctor> hmm
[2008/05/08 01:30:27] <windowsrefund> the end result may be
[2008/05/08 01:30:35] <RainDoctor> you got answer for your old question on puppet-users
[2008/05/08 01:30:48] <windowsrefund> but I don't see the point of that "style" over running another puppetmaster on port 8141
[2008/05/08 01:30:53] <Volcane> windowsrefund: perhaps your environment and experience dont encompass the sum total of humanities, I assure you they are useful to some people :)
[2008/05/08 01:30:56] <windowsrefund> there's an old doc on it somewhere
[2008/05/08 01:31:24] <windowsrefund> Volcane, yes that's great but I'm suggesting that there's a better way to achieve the same result
[2008/05/08 01:31:34] * Volcane would never consider 2 puppetmasters on different ports to do something so trivial
[2008/05/08 01:31:35] <ashp> I'm trying to find the puppet code that parses the [] bits
[2008/05/08 01:32:02] @ Quit: thegcat:
[2008/05/08 01:32:13] @ Quit: Innocenti:
[2008/05/08 01:32:17] <Volcane> 2 puppetmasters on one box pretty much means you arent using packages from your distribution for example
[2008/05/08 01:32:23] <Volcane> and all sorts of nastyness
[2008/05/08 01:32:24] <windowsrefund> Volcane, what?
[2008/05/08 01:32:40] @ Quit: paul-afk: Read error: 110 (Connection timed out)
[2008/05/08 01:32:41] <Volcane> nevermind.
[2008/05/08 01:33:11] @ Quit: huangmingyou: "Leaving."
[2008/05/08 01:33:17] @ huangmingyou joined channel #puppet
[2008/05/08 01:33:48] <windowsrefund> my production stuff is in trunk and my changes are in a testing branch. Moving from testing to production is simply a matter of merging
[2008/05/08 01:34:07] <windowsrefund> that way I don't have to alter the state of the code as I'd have to when using environments
[2008/05/08 01:34:13] @ Quit: huangmingyou: Client Quit
[2008/05/08 01:34:19] @ huangmingyou joined channel #puppet
[2008/05/08 01:34:29] <windowsrefund> let me see if I can find this old doc
[2008/05/08 01:36:33] <windowsrefund> http://reductivelabs.com/trac/puppet/wiki/BranchTesting
[2008/05/08 01:36:55] @ Quit: mikearr: "I am Joe's quit message."
[2008/05/08 01:37:06] <ashp> Hmm, I need lak on this one!
[2008/05/08 01:37:06] @ mikearr joined channel #puppet
[2008/05/08 01:38:22] <Volcane> 2 puppetmasters, still an insane idea in my book, but each to their own :)
[2008/05/08 01:38:53] <Volcane> if it works for you, thats great, tool does its job
[2008/05/08 01:39:45] @ a-priori joined channel #puppet
[2008/05/08 01:40:15] @ Quit: mikearr: Remote closed the connection
[2008/05/08 01:41:48] @ mikearr joined channel #puppet
[2008/05/08 01:44:17] <ashp> http://reductivelabs.com/trac/puppet/ticket/486
[2008/05/08 01:44:22] <ashp> Well, guess I have no choice but to run iclassify.
[2008/05/08 01:45:54] @ Quit: mikearr: Remote closed the connection
[2008/05/08 01:45:55] <ashp> As the tagging won't be fixed anytime soon. :/
[2008/05/08 01:46:32] @ mikearr joined channel #puppet
[2008/05/08 01:50:54] @ Quit: zobbo_: Read error: 113 (No route to host)
[2008/05/08 01:51:05] @ Quit: mikearr: Remote closed the connection
[2008/05/08 01:51:57] @ keithlard joined channel #puppet
[2008/05/08 01:51:59] @ mikearr joined channel #puppet
[2008/05/08 01:59:31] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/08 02:09:31] @ Quit: huangmingyou: Remote closed the connection
[2008/05/08 02:10:51] @ huangmingyou joined channel #puppet
[2008/05/08 02:12:09] @ sigmonsays_ joined channel #puppet
[2008/05/08 02:19:05] <lak> anyone feel like fixing all of the links on the wiki:PuppetRecipes page?
[2008/05/08 02:19:09] <gepetto> lak: wiki:PuppetRecipes is http://reductivelabs.com/trac/puppet/wiki/PuppetRecipes
[2008/05/08 02:19:15] <lak> jamesturnbull moved them all to Recipes/, but didn't fix that page
[2008/05/08 02:19:58] @ Quit: lutter: "Leaving."
[2008/05/08 02:25:24] @ Quit: tim|mb: "This computer has gone to sleep"
[2008/05/08 02:26:16] @ Quit: DerekW: "Leaving"
[2008/05/08 02:29:40] @ Quit: jvanzyl:
[2008/05/08 02:42:30] @ Quit: keithlard:
[2008/05/08 02:44:15] @ \ask joined channel #puppet
[2008/05/08 02:50:08] <gepetto> ::puppet:: Ticket #1216 (defect created): Parse error in crontab provider @ http://reductivelabs.com/trac/puppet/ticket/1216 (by francois@ctrlaltdel.ch)
[2008/05/08 02:51:41] @ jfluhmann joined channel #puppet
[2008/05/08 02:52:45] @ jvanzyl joined channel #puppet
[2008/05/08 02:52:52] @ Vivek joined channel #puppet
[2008/05/08 02:53:06] @ jfluhmann left channel #puppet ("Open Source Symposium - http://www.texasoss.org/")
[2008/05/08 02:57:01] @ VivekVC joined channel #puppet
[2008/05/08 03:00:27] @ plathrop joined channel #puppet
[2008/05/08 03:04:25] @ lutter joined channel #puppet
[2008/05/08 03:04:43] <ashp> I am busy trying to convince my boss
[2008/05/08 03:04:48] <ashp> that he wants to buy a support contract for puppet
[2008/05/08 03:06:04] <Wakko666> does anyone have a few minutes to look over the test cases I've created for ticket #1155? I'm new to ruby, so I'd like to make sure I'm doing this right.
[2008/05/08 03:06:06] <gepetto> Wakko666: #1155 is http://reductivelabs.com/trac/puppet/ticket/1155 "PATCH: SELinux enhancements."
[2008/05/08 03:06:45] <Wakko666> http://pastie.org/193086
[2008/05/08 03:06:54] <ashp> What I really want from lak is a list of TODO features and a dollar amount to implement them, but maybe I can swing a support contract.
[2008/05/08 03:07:15] <lak> ashp: it's very difficult to do that
[2008/05/08 03:07:24] <lak> for one, it's expensive to come up with that list
[2008/05/08 03:07:32] @ kolla joined channel #puppet
[2008/05/08 03:07:53] <ashp> lak: I sent my boss the details on the support contract and told him I'd rather buy this than splunk, so he might listen.
[2008/05/08 03:07:59] <ashp> We were considering exactly the same price just to buy splunk, so.
[2008/05/08 03:08:06] <lak> for two, the answers change pretty frequently -- right now a feature might be expensive, but if i get X refactoring done then it gets cheaper
[2008/05/08 03:08:11] <lak> ah, cool
[2008/05/08 03:08:28] <lak> i'm actively working on a good external nodes solution
[2008/05/08 03:08:34] <ashp> I don't know why I assume he'll have a problem buying this, I work for harvard who are insanely rich
[2008/05/08 03:08:37] <lak> and really, that's the "right" answer
[2008/05/08 03:08:42] <lak> ah
[2008/05/08 03:08:44] <lak> heh
[2008/05/08 03:08:45] <ashp> I've just worked for tight fisted bosses in the past
[2008/05/08 03:08:54] <lak> stanford has been quite supportive :)
[2008/05/08 03:09:00] <lak> maybe some healthy rivalry would be good :)
[2008/05/08 03:09:07] @ golak_ joined channel #puppet
[2008/05/08 03:09:18] <ashp> well I think we could be a great example to the rest of the harvard schools of how to automate an environment
[2008/05/08 03:09:35] <ashp> I think for us at this stage improved external node support and tagging are the major pieces left to finish up all our initial tasks
[2008/05/08 03:10:02] @ golak_ is now known as golak
[2008/05/08 03:10:16] <ashp> So if I can get my boss to buy a contract it'll make it easier for you to get that done hopefully.
[2008/05/08 03:10:30] <ashp> As I said to him, if we're using puppet as our infrastructure backbone it's probably the most critical thing we have
[2008/05/08 03:10:55] <lak> yeah, it would
[2008/05/08 03:16:37] <sigmonsays_> How do i look at which nodes havn't "phoned home"
[2008/05/08 03:16:46] <ashp> oh yeah, one more thing
[2008/05/08 03:16:54] <ashp> is there a reason I can't use -'s in the name of environment tags in puppet.conf?
[2008/05/08 03:17:04] <ashp> I stumbled over this earlier today, and went through settings.rb and puppet.rb
[2008/05/08 03:17:16] <ashp> but I couldn't see anything that was blocking them on purpose
[2008/05/08 03:17:34] <ashp> I setup [production-active] and it blew up until I removed the -
[2008/05/08 03:19:15] <lak> i guess i just try to stick to alpha when i can, and - isn't traditionally in the alpha characters
[2008/05/08 03:20:12] <ashp> Ahh, that's probably it, it was a minor thing that I stumbled over
[2008/05/08 03:20:19] <ashp> my boss wanted production-active, -passive and also pre-prod so
[2008/05/08 03:23:30] <sigmonsays_> how do I test a manifest?
[2008/05/08 03:33:10] @ dysinger joined channel #puppet
[2008/05/08 03:34:55] @ brscott joined channel #puppet
[2008/05/08 03:38:04] @ brscott left channel #puppet ()
[2008/05/08 03:45:24] @ golak_ joined channel #puppet
[2008/05/08 03:47:40] @ Quit: oxtail: Read error: 110 (Connection timed out)
[2008/05/08 03:52:21] @ shake-n-bake_ joined channel #puppet
[2008/05/08 03:53:11] @ shake-n-bake__ joined channel #puppet
[2008/05/08 04:01:52] @ Quit: golak: Read error: 110 (Connection timed out)
[2008/05/08 04:06:22] <plathrop> lak: You around?
[2008/05/08 04:06:32] <lak> yeah, basically
[2008/05/08 04:07:01] <plathrop> Cool. How hard do you estimate it would be to add the ability to use "http" as a URI for file sources?
[2008/05/08 04:07:46] <plathrop> I'm trying to decide whether the right solution for us is to add the capability to puppet or to find another solution...
[2008/05/08 04:10:13] <holoway_> plathrop: it would be an easy define hack, short term
[2008/05/08 04:10:19] <lak> how much of a hurry are you in?
[2008/05/08 04:10:38] <lak> because (and i know everyone's getting tired of this refrain) it'll be at least straightforward, if not easy, in 0.25
[2008/05/08 04:10:44] <holoway_> long term, I thihnk the 0.25.x series will make it much easier to give you what you want
[2008/05/08 04:10:46] <lak> but it'd be relatively annoying in the current code base
[2008/05/08 04:10:48] <plathrop> holoway_: Yeah, that's basically what we're trying to decide between.
[2008/05/08 04:10:50] <lak> brb
[2008/05/08 04:10:55] @ holoway_ is now known as holoway
[2008/05/08 04:10:56] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/05/08 04:11:02] <plathrop> lak: Not a huge hurry.
[2008/05/08 04:11:18] <plathrop> lak: Hmm... Okay, well I think we can live with the define hack until .25
[2008/05/08 04:11:20] <holoway> plathrop: if you need it in the next couple months, I would probably just roll a define
[2008/05/08 04:11:26] <holoway> and then move to "the right thing" later
[2008/05/08 04:11:29] <plathrop> holoway: Yeah, good call.
[2008/05/08 04:11:38] * plathrop wishes he had more time for puppet hacking.
[2008/05/08 04:12:21] <ashp> I wish I had more brains for puppet hacking. :)
[2008/05/08 04:12:27] @ plathrop is now known as paul-afk
[2008/05/08 04:20:32] @ Quit: nward_:
[2008/05/08 04:29:30] @ Quit: mikearr: Remote closed the connection
[2008/05/08 04:30:48] @ Quit: RainDoctor: Client Quit
[2008/05/08 04:31:28] @ mikearr joined channel #puppet
[2008/05/08 04:31:40] @ ezralini joined channel #puppet
[2008/05/08 04:47:46] <sigmonsays_> for the life of me I can't get around RubySSL issue
[2008/05/08 04:47:56] <sigmonsays_> http://reductivelabs.com/trac/puppet/wiki/RubySSL-2007-006 everything here still fails
[2008/05/08 04:48:11] <sigmonsays_> anyone have any pointers?
[2008/05/08 04:48:24] <sigmonsays_> i'm using /etc/hosts to program my puppet master
[2008/05/08 04:49:50] @ Quit: VivekVC: "Leaving"
[2008/05/08 04:51:55] @ Quit: Vivek: "Leaving"
[2008/05/08 04:55:44] @ bwiechman joined channel #puppet
[2008/05/08 04:56:05] <benp-> whats happening?
[2008/05/08 04:56:14] <benp-> did it work and then you upgraded ruby and everything went to hell?
[2008/05/08 04:56:24] <sigmonsays_> this is a initial setup
[2008/05/08 04:56:43] <sigmonsays_> but it's my matching version of ruby is affected
[2008/05/08 04:56:56] <sigmonsays_> doing their openssl_ca test shows the mistmatch too
[2008/05/08 04:57:18] <sigmonsays_> err.. openssl s_client -connect puppet:8140 -- shows different names
[2008/05/08 04:57:33] <benp-> did you do the server side fix?
[2008/05/08 04:57:41] <sigmonsays_> attempting to do so
[2008/05/08 04:58:03] <benp-> you might have to use fqdn's where you used to use hostnames
[2008/05/08 04:58:27] <sigmonsays_> in the bug notes I read abotu certdnsnames
[2008/05/08 04:58:33] <sigmonsays_> but i'm not sure what version that was introduced in
[2008/05/08 04:59:15] <benp-> it's probably easiest to get going if you clear out all the ssl data on your master and nodes
[2008/05/08 04:59:21] <sigmonsays_> yeah.
[2008/05/08 04:59:24] <sigmonsays_> that's what i've noticed
[2008/05/08 04:59:37] <sigmonsays_> changing params generates different ssl certs
[2008/05/08 04:59:40] <benp-> hopefully you don't have a lot of nodes
[2008/05/08 04:59:52] <benp-> fortunately you probably won't need to do it again
[2008/05/08 04:59:56] <sigmonsays_> hehe
[2008/05/08 05:00:01] <sigmonsays_> I can't use fqdn though
[2008/05/08 05:00:29] @ Quit: golak_: "ChatZilla 0.9.82 [Firefox 2.0.0.14/2008040413]"
[2008/05/08 05:01:39] @ bwiechman is now known as bwiechman_
[2008/05/08 05:01:49] @ bwiechman_ is now known as bwiechman
[2008/05/08 05:02:13] @ bwiechman is now known as bwiechman_
[2008/05/08 05:02:23] @ paul-afk is now known as plathrop
[2008/05/08 05:03:13] <sigmonsays_> is /var/lib/puppet/ssl all I need to rm -rf to clear ssl data?
[2008/05/08 05:04:11] @ bwiechman_ is now known as bwiechman
[2008/05/08 05:05:20] @ Quit: bwiechman:
[2008/05/08 05:05:40] @ bwiechman joined channel #puppet
[2008/05/08 05:06:28] @ mmestnik joined channel #puppet
[2008/05/08 05:07:12] <mmestnik> Hello, were should a starter go to find a good full-featured puppet config?
[2008/05/08 05:07:39] <ashp> mmestnik: http://reductivelabs.com/trac/puppet/wiki/Lab42Infrastructure
[2008/05/08 05:08:29] <mmestnik> Awsome, thank you.
[2008/05/08 05:11:10] <plathrop> holoway: ping?
[2008/05/08 05:12:08] <ashp> he's in hiding as he knows I want to steal a puppet module capable of installing iclassify ;)
[2008/05/08 05:13:17] <plathrop> ashp: Ah. I want to bother him about Capistrano.
[2008/05/08 05:13:25] <plathrop> So we'll have to stalk him :-P
[2008/05/08 05:14:05] <ashp> I was hoping someone has an iclassify module that does the hard work so I can test it out
[2008/05/08 05:14:20] <ashp> considering how combined the two are it would seem impossible for that module to not exist
[2008/05/08 05:15:01] <plathrop> I think this weekend I'll be packaging my modules and pushing them to github
[2008/05/08 05:15:18] <plathrop> But I don't have iclassify
[2008/05/08 05:15:26] <ashp> I'm probably going to do that as well, leaving out just my users
[2008/05/08 05:15:37] <ashp> We don't have any thing exciting, clever, or confidental
[2008/05/08 05:15:43] <ashp> but maybe it'll help someone somewhere
[2008/05/08 05:15:56] <ashp> maybe one day someone will fix them all to be great and recommit them :)
[2008/05/08 05:17:03] <sigmonsays_> Isn't there a puppetweb interface?
[2008/05/08 05:17:08] <sigmonsays_> I can't recall the name of the project
[2008/05/08 05:17:15] <benp-> puppetshow
[2008/05/08 05:17:23] <sigmonsays_> that's the ol pepper
[2008/05/08 05:17:25] <sigmonsays_> thx benp
[2008/05/08 05:17:30] <sigmonsays_> anyone find it useful?
[2008/05/08 05:19:07] @ zobbo_ joined channel #puppet
[2008/05/08 05:19:21] <sigmonsays_> ymmv i'm sure. i'll cehck i tout
[2008/05/08 05:22:49] @ jvanzyl_ joined channel #puppet
[2008/05/08 05:23:08] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/08 05:24:49] <holoway> plathrop: pong
[2008/05/08 05:24:53] @ _newbie_ joined channel #puppet
[2008/05/08 05:24:58] <plathrop> holoway: Hiya!
[2008/05/08 05:25:15] <plathrop> holoway: I was going to bug you about Capistrano and deploying non-rails stuff.
[2008/05/08 05:25:31] <plathrop> Can you point me to some good docs, because the Capistrano docs are starving to death.
[2008/05/08 05:26:42] <plathrop> I've found some decent stuff via Google, but like many Ruby blog posts, it doesn't address certain issues like how to avoid a 50+ node web cluster trying to hit your SVN server all at once to do the Capistrano deployment.
[2008/05/08 05:27:09] @ rizwank joined channel #puppet
[2008/05/08 05:28:26] <mmestnik> hmm, lab42 sounds good and all, but there are some vary large pieces missing. For instance it's demonstrated that puppet can be used for creating localusers, but the mysql module(provided by lab42) is ??missing?? this feature. The nagios module should also support being configured from puppet, the erb tool seams like it's good enough to simplify our nagios config... I'll just ask my question.
[2008/05/08 05:28:58] <sigmonsays_> i'm bran new to writing manifests. I wnat to ensure a directory is created but I can't get it working correctly
[2008/05/08 05:29:09] <sigmonsays_> i'm trying to include a class in the node { } block
[2008/05/08 05:29:17] <holoway> plathrop: Capistrano 2.2.0 handles that by having a :max_hosts option
[2008/05/08 05:29:33] <holoway> so you could say :max_hosts 10, and it'll do 10 at a time
[2008/05/08 05:29:33] <mmestnik> I'm trying to fire off a one-liner from puppet. echo "GRANT USAGE ON *.* TO" \'test\'\@\'localhost\'\; | mysql -u admin --password=$(cat /etc/psa/.psa.shadow)
[2008/05/08 05:29:57] <plathrop> holoway: That's cool. Do you have links to any resources or did you just read the code?
[2008/05/08 05:30:04] <ashp> aha, it's holoway! :)
[2008/05/08 05:30:10] <ashp> holoway: did you see my earlier pleas? :D
[2008/05/08 05:30:12] <holoway> it's in the changelog
[2008/05/08 05:30:19] <rizwank> mmenstink, I'm curious as to how you'd keep it safe - that would run every single time puppet runs right now...
[2008/05/08 05:30:25] <rizwank> (to my understanding)
[2008/05/08 05:30:26] <plathrop> sigmonsays_: I can pastie you a snippet
[2008/05/08 05:30:26] <holoway> ashp: oddly enough, we don't have a puppet recipe for installing iclassify
[2008/05/08 05:30:32] <holoway> because we bootstrap it before we bootstrap puppet
[2008/05/08 05:30:33] <ashp> wow, really? that's crazy
[2008/05/08 05:30:36] <ashp> ahhhh
[2008/05/08 05:30:49] <holoway> (so not so crazy)
[2008/05/08 05:30:50] <plathrop> pastie: link me
[2008/05/08 05:31:13] <ashp> damn, that ruined my hopes for an easy life :)
[2008/05/08 05:31:24] <holoway> yeah, installation still sucks
[2008/05/08 05:31:43] <ashp> it's not really THAT bad i just don't like the idea of gems
[2008/05/08 05:31:44] <holoway> hopefully I can get some tuits to work on documentation and examples
[2008/05/08 05:31:46] <ashp> as i have no idea how to manage those
[2008/05/08 05:31:49] <mmestnik> rizwank: Yes it would be much safer if I used a file to transmit the password. Since this server is not a shell box and the password is in plain text, there is little security gained.
[2008/05/08 05:31:51] <ashp> if it doesn't come in rpms it's going to bug me :)
[2008/05/08 05:31:54] <rizwank> mmenstik, I'm curious because I'm needing to solve that problem in the next 48 hours as I setup password
[2008/05/08 05:32:01] <holoway> ashp: totally understandable
[2008/05/08 05:32:14] <pastie> http://pastie.org/193181 by plathrop.
[2008/05/08 05:32:18] <rizwank> I'm less concerned about hte password, so much as the fact that it needs to be ... what's theword? idempotent?
[2008/05/08 05:32:26] <rizwank> You need to see if the user is there already or not
[2008/05/08 05:32:59] <holoway> ashp: you can get me on gtalk with adamhjk, or adam@hjksolutions.com on msn
[2008/05/08 05:33:04] <holoway> (same goes for anyone else)
[2008/05/08 05:33:08] <holoway> just ping me if you get stuck
[2008/05/08 05:33:14] <mmestnik> rizwank: This is what I do on MUSs... what do I use for pastbin?
[2008/05/08 05:33:27] <ashp> cool, I'll add you on msn as i use that all the time, we're looking to swap to iclassify after the recent tagging() discussion on the list
[2008/05/08 05:33:34] <plathrop> sigmonsays_: Check out that paste. It's really simple
[2008/05/08 05:33:40] <sigmonsays_> thx a ton
[2008/05/08 05:33:48] <holoway> ashp: yeah, it will make that easier
[2008/05/08 05:33:49] <sigmonsays_> I think I just figured it out but any help is greatful
[2008/05/08 05:34:08] <mmestnik> rizwank: I think that could be run a few times... would mySQL truely add a row every time?
[2008/05/08 05:34:26] <holoway> ashp: right now, iclassify just has a bunch of dependencies
[2008/05/08 05:34:38] <holoway> mysql, solr, rails
[2008/05/08 05:35:00] <holoway> luckily, solr is included
[2008/05/08 05:36:07] <sigmonsays_> so when I get ramped up here, do people usually do node 'fqdn' { # blah blah } x300
[2008/05/08 05:37:07] <rizwank> mmestinik, unsure, but now that you think about it, probably not.
[2008/05/08 05:37:23] <plathrop> sigmonsays_: I think most people start using an external node tool pretty early on.
[2008/05/08 05:37:23] <holoway> sigmonsays_: often people use external node tools
[2008/05/08 05:37:25] <rizwank> it's keyed to host and user
[2008/05/08 05:37:31] <holoway> LDAP, iClassify, roll your own
[2008/05/08 05:37:32] <rizwank> so no, multple grants sould be ok
[2008/05/08 05:37:35] <plathrop> holoway: Great minds think alike :-P
[2008/05/08 05:37:43] <windowsrefund> is this clean?
[2008/05/08 05:37:45] <windowsrefund> http://pastebin.com/m5b446d70
[2008/05/08 05:37:51] <holoway> plathrop: you doing php?
[2008/05/08 05:37:52] <holoway> right?
[2008/05/08 05:37:59] <plathrop> holoway: Yeah
[2008/05/08 05:38:20] <mmestnik> http://pastie.org/193186 <--- for securely accessing mysql, when you have the password in a file(that's not secure.)
[2008/05/08 05:39:09] <sigmonsays_> for people like me [new to ruby and puppet] writing manifests can be daunting w/o real snippets to look at. Is there a page besides the type reference wiki page for good examples?
[2008/05/08 05:39:14] <mmestnik> rizwank: I ran that a few times with no problems, a few hundred may be a different story.
[2008/05/08 05:39:17] <plathrop> windowsrefund: I don't see any red flags
[2008/05/08 05:39:35] <rizwank> It should be fine then.
[2008/05/08 05:39:43] <plathrop> sigmonsays_: My blog has some good simple stuff in it: http://plathrop.tertiusfamily.net/blog
[2008/05/08 05:40:05] <ashp> Tomorrow I'm going to tackle iclassify as i'm lazy today :)
[2008/05/08 05:40:13] <windowsrefund> plathrop, thanks
[2008/05/08 05:40:20] <plathrop> windowsrefund: np
[2008/05/08 05:40:22] <ashp> maybe if i get super ambitious i'll see if puppet can manage gems and make a module
[2008/05/08 05:40:25] <mmestnik> rizwank: So there is no-reason that puppet should not be able to add users. So what's with lab42 and is there a more complete example out there?
[2008/05/08 05:40:31] <sigmonsays_> sweet
[2008/05/08 05:40:34] <plathrop> holoway: In fact, I'm considering writing a PEAR provider.
[2008/05/08 05:41:19] <mmestnik> ... ohh, so how can I add a once liner to my puppet?
[2008/05/08 05:43:40] @ Quit: randybias:
[2008/05/08 05:44:31] <ashp> mmestnik: http://reductivelabs.com/trac/puppet/tags/puppet%2Crecipe
[2008/05/08 05:44:37] <ashp> Other than that, you're probably out of luck
[2008/05/08 05:47:08] <mmestnik> For templates, where does ERB run? can I make system calls from a template?
[2008/05/08 05:47:46] <holoway> mmestnik: it runs on the server
[2008/05/08 05:47:56] @ nigelk joined channel #puppet
[2008/05/08 05:47:57] <holoway> you can make system calls, but they'll be on the server, not the client
[2008/05/08 05:49:01] <mmestnik> hmm, is it possible for a client to execute code on the server? Is that not vary dangerous? The other way is presumed, the puppetmaster is able to hack the clients.
[2008/05/08 05:49:35] <plathrop> mmestnik: That's why there's a trust relationship, but no the client really can't execute code on the server.
[2008/05/08 05:49:40] <mmestnik> I'm my environment we have VARY untrusted puppet clients.
[2008/05/08 05:50:15] @ jli left channel #puppet ()
[2008/05/08 05:50:46] <nigelk> lak: jamesturnbull or any of the other people familiar with the puppet code, have a few seconds for something?
[2008/05/08 05:50:50] <ashp> i hate it when something stalls a puppet run, but i didn't use --debug so i have no idea why :/
[2008/05/08 05:51:33] <mmestnik> I may look at running the templates in a chroot, any pointers?
[2008/05/08 05:51:49] <ashp> debug: Puppet::Type::Package::ProviderYum: Not suitable: false value
[2008/05/08 05:51:54] <ashp> i wonder what on earth it's passing to yum
[2008/05/08 05:52:42] <mmestnik> ...Suggesting that the templates is what we are protecting the client from, so the code needs to pipe the data in.
[2008/05/08 05:54:20] <gepetto> ::puppet:: Changeset [67dc268fae0489de93f247b08fdaf7b1eec0e15d]: The CA now initializes itself. I realized that... @ http://reductivelabs.com/trac/puppet/changeset/67dc268fae0489de93f247b08fdaf7b1eec0e15d (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:20] <gepetto> ::puppet:: Changeset [ce6d5787aaefc4c980e51c394328c2ddc2f7cb9c]: The SSL::Host class now uses the CA to generat... @ http://reductivelabs.com/trac/puppet/changeset/ce6d5787aaefc4c980e51c394328c2ddc2f7cb9c (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:20] <gepetto> ::puppet:: Changeset [160f9d99e33b051d40f00971683cf54a0ff00c32]: Fixing a critical problem in how CRLs were sav... @ http://reductivelabs.com/trac/puppet/changeset/160f9d99e33b051d40f00971683cf54a0ff00c32 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:21] <gepetto> ::puppet:: Changeset [e596bc5267bdbbe2e4ea0e7722047d1354f10826]: Fixing some tests that were insufficiently moc... @ http://reductivelabs.com/trac/puppet/changeset/e596bc5267bdbbe2e4ea0e7722047d1354f10826 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:21] <gepetto> ::puppet:: Changeset [a3b88041570a35827c82993d7559d3583b31232c]: The http pool manager now uses new-style certi... @ http://reductivelabs.com/trac/puppet/changeset/a3b88041570a35827c82993d7559d3583b31232c (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:21] <gepetto> ::puppet:: Changeset [137e29ff0e33ff5cbb4032d452abc5a5aef2c941]: Moving some http configuration values to the m... @ http://reductivelabs.com/trac/puppet/changeset/137e29ff0e33ff5cbb4032d452abc5a5aef2c941 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:21] <gepetto> ::puppet:: Changeset [e57436f1056cceb8ecdfadfa618911c5595c72e2]: The Settings class now clears the 'used' secti... @ http://reductivelabs.com/trac/puppet/changeset/e57436f1056cceb8ecdfadfa618911c5595c72e2 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:21] <gepetto> ::puppet:: Changeset [62f1f5e1514b4283750558f0019331de8e9460a4]: The Certificate Authority now automatically cr... @ http://reductivelabs.com/trac/puppet/changeset/62f1f5e1514b4283750558f0019331de8e9460a4 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [51ce6746bc4c865b307af77b0967b345bf095aa8]: Fixing the webrick integration tests to use th... @ http://reductivelabs.com/trac/puppet/changeset/51ce6746bc4c865b307af77b0967b345bf095aa8 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [6e0d6ddf5ef1cd6b23a672020bb657744b5a2c59]: The REST infrastructure now correctly the SSL ... @ http://reductivelabs.com/trac/puppet/changeset/6e0d6ddf5ef1cd6b23a672020bb657744b5a2c59 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [38e2dcf35a1d9b19970d1fb253f6c09b0529e083]: The master is now functionally serving REST an... @ http://reductivelabs.com/trac/puppet/changeset/38e2dcf35a1d9b19970d1fb253f6c09b0529e083 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [a822ef9ce5c6d603f4a98b9dda0dbf4661528128]: Moving the CA Interface class to a separate fi... @ http://reductivelabs.com/trac/puppet/changeset/a822ef9ce5c6d603f4a98b9dda0dbf4661528128 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [d78b4ba48a0fdf63906fb0ede2cd8c2e634ef442]: Adding autosigning to the new CA. Now the CSR ... @ http://reductivelabs.com/trac/puppet/changeset/d78b4ba48a0fdf63906fb0ede2cd8c2e634ef442 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:22] <gepetto> ::puppet:: Changeset [57c753419ac4700ab87689a3e3c3eb7302fff693]: Adding REST terminuses for the SSL-related ind... @ http://reductivelabs.com/trac/puppet/changeset/57c753419ac4700ab87689a3e3c3eb7302fff693 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [dd4d8684fc19adcb68c681ba1c446a737498cda0]: Fixing the Http Pool? module to get rid of an ... @ http://reductivelabs.com/trac/puppet/changeset/dd4d8684fc19adcb68c681ba1c446a737498cda0 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [8fd68e388aa0b26d2dacc201086960385ff5c834]: Adding pidfile management and daemonization to... @ http://reductivelabs.com/trac/puppet/changeset/8fd68e388aa0b26d2dacc201086960385ff5c834 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [330359015602eba83077fccaa708c819d2d78b53]: The master and client now successfully speak x... @ http://reductivelabs.com/trac/puppet/changeset/330359015602eba83077fccaa708c819d2d78b53 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [0365184aaec4d71f7fa93fc1534ae10f8f842bb7]: Removing obsolete tests @ http://reductivelabs.com/trac/puppet/changeset/0365184aaec4d71f7fa93fc1534ae10f8f842bb7 (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [1cfb0215a4d56af9ac1e0c672d9ae597dfde846e]: The CRL is now automatically used or ignored. ... @ http://reductivelabs.com/trac/puppet/changeset/1cfb0215a4d56af9ac1e0c672d9ae597dfde846e (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:23] <gepetto> ::puppet:: Changeset [e936ef2426464b901638bf338c1c42590245b58f]: Fixing some broken tests. The Http Pool? modul... @ http://reductivelabs.com/trac/puppet/changeset/e936ef2426464b901638bf338c1c42590245b58f (by Luke Kanies <luke@madstop.com>)
[2008/05/08 05:54:36] <sigmonsays_> gah. pasties!
[2008/05/08 05:54:44] <lak> hrm
[2008/05/08 05:54:47] <lak> that's a bug, i think
[2008/05/08 05:54:54] <lak> gepetto shouldn't paste all of them on a merge
[2008/05/08 05:55:05] <ashp> Hmm, bizarre
[2008/05/08 05:55:07] <lak> sorry, guys, but you've got a lot of these coming :)
[2008/05/08 05:55:15] <ashp> my puppet run paused for minutes with no reason
[2008/05/08 05:55:33] <ashp> it then just started up with no errors, odd
[2008/05/08 05:55:59] <ashp> between two Service statments, weird, must have been a 60 second pause
[2008/05/08 05:58:00] <ashp> debug: Stored state in 29.70 seconds
[2008/05/08 05:58:04] <ashp> now another massive pause
[2008/05/08 05:58:38] <ashp> puppet has a virt of 648M, res of 564M and is using 100% cpu for no reason
[2008/05/08 06:00:06] <ashp> notice: Finished catalog run in 508.91 seconds
[2008/05/08 06:00:40] <ashp> That was a very long time to do effectively nothing (change one password entry)
[2008/05/08 06:03:37] @ martha left channel #puppet ()
[2008/05/08 06:04:51] @ randybias joined channel #puppet
[2008/05/08 06:07:38] @ Quit: jvanzyl_: Read error: 110 (Connection timed out)
[2008/05/08 06:17:02] <fsweetser> is there anyone around who could possibly reopen a closed ticket for me? (#1214 specifically)
[2008/05/08 06:17:04] <gepetto> fsweetser: #1214 is http://reductivelabs.com/trac/puppet/ticket/1214 "Enhanced RedHat init script wth mongrel support"
[2008/05/08 06:17:25] <fsweetser> oops - wrong one, I mean #1095
[2008/05/08 06:17:27] <gepetto> fsweetser: #1095 is http://reductivelabs.com/trac/puppet/ticket/1095 "Puppetmaster leaving half-open connections"
[2008/05/08 06:17:44] <lak> done
[2008/05/08 06:18:24] <ashp> lak: Is there any way to get more info than --debug and strace to see what on earth it's doing?
[2008/05/08 06:18:36] <lak> strace?
[2008/05/08 06:18:37] <ashp> Every run takes 500 seconds and it's not doing anything other than my baseclass and installing two services
[2008/05/08 06:18:50] <fsweetser> lak: thanks - I'm waiting for the problem to reocurr, I'll post the info as soon as it happens
[2008/05/08 06:18:50] <lak> or truss or whatever you're local flavor is
[2008/05/08 06:18:53] <ashp> It just seems to 'freeze' using 100% cpu with no output for minutes
[2008/05/08 06:19:03] <ashp> I used strace but it just gave me:
[2008/05/08 06:19:03] <ashp> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[2008/05/08 06:19:03] <ashp> rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[2008/05/08 06:19:06] <ashp> (repeat foreveR)
[2008/05/08 06:19:20] <fsweetser> ashp: you could alsy try ltrace for a different view
[2008/05/08 06:19:23] <lak> you can ignore those; that's ruby's idle command
[2008/05/08 06:19:28] <lak> basically
[2008/05/08 06:19:30] <fsweetser> it traces library calls instead of system calls
[2008/05/08 06:19:39] <plathrop> ashp: Are you using sotred configs?
[2008/05/08 06:19:49] <ashp> I'll try ltrace
[2008/05/08 06:19:54] <ashp> because all I get is procmask and that's it
[2008/05/08 06:19:58] <ashp> plathrop: sotred configs?
[2008/05/08 06:20:06] <fsweetser> also, try strace -f to follow forks
[2008/05/08 06:20:15] <ashp> yeah with -ff it just does microthreads of nothing
[2008/05/08 06:20:24] <ashp> [pid 21989] rt_sigprocmask(SIG_BLOCK, NULL, <unfinished ...>
[2008/05/08 06:20:25] <ashp> [pid 22054] <... nanosleep resumed> {0, 5583000}) = 0
[2008/05/08 06:20:25] <ashp> [pid 21989] <... rt_sigprocmask resumed> [], 8) = 0
[2008/05/08 06:20:25] <ashp> [pid 22054] nanosleep({0, 10000000}, <unfinished ...>
[2008/05/08 06:20:48] <plathrop> ashp: sorry stored configs
[2008/05/08 06:21:05] @ Quit: lutter: "Leaving."
[2008/05/08 06:21:16] <ashp> oh, er, no I don't think so? I don't even know what that is
[2008/05/08 06:21:31] <plathrop> ashp: Then you probably aren't using it :-P
[2008/05/08 06:21:58] <ashp> ltrace gives me 0 output
[2008/05/08 06:22:03] <ashp> but puppet is still at 100% of cpu usage
[2008/05/08 06:22:16] <ashp> root@hlsbuild01(~)$ ltrace -f -p 21989
[2008/05/08 06:22:24] <ashp> -f -p should be enough, right?
[2008/05/08 06:22:50] <ashp> Ok, with -dd -f -p I still just get sigprocmask over and over
[2008/05/08 06:23:09] <ashp> this is during a puppet -tv run
[2008/05/08 06:23:28] <ashp> it ramps up to 56% of my available memory to do this 'idle' stuff
[2008/05/08 06:23:32] <lak> it's waiting for a subproc
[2008/05/08 06:23:35] <lak> it's got two pids there
[2008/05/08 06:23:39] @ Quit: felix_da_catz: Connection timed out
[2008/05/08 06:23:52] <lak> and it looks like they're talking, or the parent proc is waiting and the child is doing something or sleeping
[2008/05/08 06:24:34] <ashp> I'll run it again as it finally finished (after 588) seconds and try to find the other process
[2008/05/08 06:25:29] <mmestnik> Still I'd love to chat all day, but does anyone send at-jobs via puppet? How do scripts get run? For instance the packaging statements must run yum/up2date/apt-get/ect... but how? where is this defined?
[2008/05/08 06:26:06] <fsweetser> mmestnik: the raw commands are defined in the providers
[2008/05/08 06:26:29] <fsweetser> for example, for the package type, there's a yum provider, a up2date provider, etc
[2008/05/08 06:26:53] <ashp> Hmm how bizarre, I just filtered out the sigprocmask
[2008/05/08 06:27:04] <ashp> and it is stating like everything on one of my mountpoints, how weird
[2008/05/08 06:27:27] <ashp> I wonder what my coworker has done.
[2008/05/08 06:27:29] <fsweetser> did a file resource accidentally get flagged as recursive?
[2008/05/08 06:27:57] <ashp> aha
[2008/05/08 06:27:58] <ashp> file {"/srv/media/content/":
[2008/05/08 06:27:58] <ashp> ensure => directory,
[2008/05/08 06:27:58] <ashp> recurse => true,
[2008/05/08 06:27:58] <ashp> }
[2008/05/08 06:27:58] <lak> ashp: there you go :)
[2008/05/08 06:28:02] <lak> hah
[2008/05/08 06:28:07] <ashp> I found out I can do strace -e !rt_sigprocmask
[2008/05/08 06:28:15] <lak> nice
[2008/05/08 06:28:21] <ashp> this was intended to create the directory for mounting to
[2008/05/08 06:28:22] <fsweetser> cool - I always just grep -v that kind of stuff =)
[2008/05/08 06:28:22] <lak> i always just grep -v, much less efficient
[2008/05/08 06:28:32] <ashp> but if the directory exists then it decides to walk down the tree
[2008/05/08 06:28:34] <lak> that 'recurse => true' gets expensive :)
[2008/05/08 06:28:37] <lak> ayup
[2008/05/08 06:28:50] <lak> and if that's nfs... well, let's just say it's slow :)
[2008/05/08 06:28:52] <ashp> I think what happened was if /srv/ didn't exist, this would fail
[2008/05/08 06:28:56] <ashp> oh yeah, nfs for sure
[2008/05/08 06:29:13] <ashp> there was no way to make it create /srv/media/content/ without the other directories existing, was what he's saying
[2008/05/08 06:30:54] <ashp> notice: Finished catalog run in 27.77 seconds
[2008/05/08 06:30:55] <ashp> Tada!
[2008/05/08 06:36:36] <mmestnik> fsweetser: Thank you, what I needed was to read "/usr/lib/ruby/1.8/puppet/type/exec.rb"
[2008/05/08 06:37:01] <fsweetser> mmestnik: no prob
[2008/05/08 06:40:09] @ jvanzyl joined channel #puppet
[2008/05/08 06:42:15] <holoway> lak: gave puppet a good mention on the IT Conversations podcast this morning with Jesse
[2008/05/08 06:42:26] <lak> coolness
[2008/05/08 06:42:31] <holoway> you got the "Puppet is like the shift from shell scripting to perl"
[2008/05/08 06:42:34] <holoway> quote
[2008/05/08 06:42:37] <holoway> out of me
[2008/05/08 06:43:08] <lak> heh
[2008/05/08 06:43:36] <holoway> I hadn't thought of it before I said it, but the more it sits with me, the more true I think it is
[2008/05/08 06:43:49] <lak> huh; i thought i'd heard you say that before
[2008/05/08 06:44:00] <holoway> maybe I did and just forgot about it :)
[2008/05/08 06:44:08] * holoway is getting old, obviously
[2008/05/08 06:44:30] <holoway> mentally deficient at 30
[2008/05/08 06:44:33] <holoway> never a good sign
[2008/05/08 06:45:01] <ashp> So er, we're saying shifting to puppet
[2008/05/08 06:45:06] <ashp> will warp your brain and make you want to cry?
[2008/05/08 06:45:09] <ashp> Because that's how perl made me feel
[2008/05/08 06:45:44] <holoway> Perl 5 was a huge leap forward in systems administators toolsets
[2008/05/08 06:46:28] <holoway> all ya'll per haters are wussies
[2008/05/08 06:46:31] <ashp> that's true :)
[2008/05/08 06:46:32] * holoway sighs
[2008/05/08 06:46:33] <holoway> perl
[2008/05/08 06:49:53] <plathrop> lak: Looks like one of my coworkers will be coming to training too. Expect an email to training@reductivelabs.com from him...
[2008/05/08 06:50:05] <lak> great!
[2008/05/08 06:54:07] <ashp> I'm still sad the training is so far away, as there's no other training i'm interested in currently
[2008/05/08 06:57:45] @ Quit: mellen: Read error: 110 (Connection timed out)
[2008/05/08 07:00:05] @ mellen joined channel #puppet
[2008/05/08 07:10:18] @ felix_da_catz joined channel #puppet
[2008/05/08 07:12:13] @ Quit: kenvandine: "Ex-Chat"
[2008/05/08 07:12:32] @ Quit: jeckersb: "Leaving"
[2008/05/08 07:13:12] @ shenson is now known as shenson_not_here
[2008/05/08 07:16:41] @ lutter joined channel #puppet
[2008/05/08 07:19:37] <fujin> looks like you're making good progress on RESTfulness, lak
[2008/05/08 07:19:50] <fujin> good to see you got the xmlrpc stuff serving out proper
[2008/05/08 07:20:07] @ Quit: nigelk:
[2008/05/08 07:23:05] <randybias> holoway: yer nutz
[2008/05/08 07:23:15] <randybias> in a good way
[2008/05/08 07:23:16] <randybias> ;)
[2008/05/08 07:23:33] <holoway> randybias: what's up? what did I do? :)
[2008/05/08 07:23:58] @ Quit: jvanzyl: Remote closed the connection
[2008/05/08 07:24:38] @ jvanzyl joined channel #puppet
[2008/05/08 07:27:23] @ Quit: Wakko666: "Leaving."
[2008/05/08 07:35:11] @ Wakko666 joined channel #puppet
[2008/05/08 07:40:26] @ shadoi joined channel #puppet
[2008/05/08 07:40:36] <fujin> 'lo shadoi !
[2008/05/08 07:40:39] <shadoi> jamesturnbull: you around?
[2008/05/08 07:40:42] <shadoi> fujin: yo
[2008/05/08 07:40:47] <fujin> sup dude?
[2008/05/08 07:41:11] <lak> fujin: yeah, i'm finally making progress
[2008/05/08 07:41:13] <shadoi> one of my facts isn't showing up, can't figure out why
[2008/05/08 07:41:16] <lak> some of this code is almost in use :)
[2008/05/08 07:41:21] <fujin> wo0t!
[2008/05/08 07:46:25] <shadoi> http://pastie.org/193283
[2008/05/08 07:46:29] <shadoi> there's nothing wrong with that right?
[2008/05/08 07:46:56] <shadoi> FACTERLIB="/var/puppet/facts" facter cs_nat_ip
[2008/05/08 07:46:58] <shadoi> returns nada
[2008/05/08 07:48:28] <shadoi> facter v1.3.6
[2008/05/08 07:49:08] @ fastjay joined channel #puppet
[2008/05/08 07:49:29] <lak> looks right
[2008/05/08 07:49:40] <lak> you're sure that value exists?
[2008/05/08 07:49:43] <lak> try 'p node'
[2008/05/08 07:49:44] * shadoi cornfused
[2008/05/08 07:49:49] <shadoi> yeah it does
[2008/05/08 07:50:02] <shadoi> I've tried it in IRB, and facter says the value is nil?
[2008/05/08 07:50:07] <shadoi> even though I can print it
[2008/05/08 07:51:20] @ \ask_ joined channel #puppet
[2008/05/08 07:51:31] @ Quit: jvanzyl: Read error: 113 (No route to host)
[2008/05/08 07:52:13] <shadoi> lak: http://pastie.org/193283
[2008/05/08 07:52:52] <lak> right, but what's the node set to?
[2008/05/08 07:52:58] <lak> mostly, you sure that's a symbol and not a string?
[2008/05/08 07:53:05] <shadoi> yup
[2008/05/08 07:53:06] <lak> that thing you're parsing from yaml, i mean
[2008/05/08 07:53:15] <fujin> shadoi: works fine here
[2008/05/08 07:53:24] <lak> and note that that file will never get reparsed; it probably makes more sense to have the parsing in the fact, rather than outside it
[2008/05/08 07:53:30] <fujin> pastie: gimme
[2008/05/08 07:53:46] <shadoi> hmm, maybe that's it
[2008/05/08 07:53:48] <pastie> http://pastie.org/193288 by fujin.
[2008/05/08 07:54:02] <shadoi> I did it that way initially because I wanted to add facts for all hash members
[2008/05/08 07:54:28] <shadoi> fujin: that's not exactly working. :)
[2008/05/08 07:54:35] <fujin> sure it is
[2008/05/08 07:54:35] <fujin> !
[2008/05/08 07:54:37] <fujin> lol
[2008/05/08 07:55:30] @ jvanzyl joined channel #puppet
[2008/05/08 07:55:32] <shadoi> hrmm, so moving it into the setcode block didn't change anything
[2008/05/08 07:56:14] <shadoi> I've never had a problem with a fact like this, but I think all the others I've done use %x{} to get the value
[2008/05/08 07:56:41] <lak> again, can you paste what the contents of 'node' are?
[2008/05/08 07:56:46] <lak> the actual results of the yaml parsing?
[2008/05/08 07:56:52] <lak> say, inside and outside the fact?
[2008/05/08 07:58:09] <shadoi> http://pastie.org/193291
[2008/05/08 07:58:15] <shadoi> k
[2008/05/08 08:03:41] <shadoi> http://pastie.org/193295
[2008/05/08 08:04:11] <shadoi> doesn't make sense to me.
[2008/05/08 08:07:34] <shadoi> this doesn't work either!
[2008/05/08 08:07:34] <shadoi> http://pastie.org/193300
[2008/05/08 08:07:38] <shadoi> I'm losing my mind or something
[2008/05/08 08:08:33] @ jvanzyl_ joined channel #puppet
[2008/05/08 08:09:50] <fujin> wtf?
[2008/05/08 08:10:01] @ Quit: felix_da_catz: Connection timed out
[2008/05/08 08:12:26] <shadoi> oh shit, I know what it is.
[2008/05/08 08:13:11] <shadoi> funkiness with our ruby environment. Sorry for the noise. :)
[2008/05/08 08:13:50] @ jeckersb joined channel #puppet
[2008/05/08 08:14:59] @ Quit: vinci: Read error: 101 (Network is unreachable)
[2008/05/08 08:15:13] <fujin> get out shadoi !
[2008/05/08 08:15:30] <jamesturnbull> shadoi: here
[2008/05/08 08:15:54] <ezralini> lak, on a ticket I filed yesterday, you told me that you wanted to see the client's catalog. I wasn't sure what you meant, you want to see the whole config on the server that would apply to that client?
[2008/05/08 08:16:39] <ezralini> http://reductivelabs.com/trac/puppet/ticket/1215#comment:3
[2008/05/08 08:16:42] <lak> there's a line in the log that says "caching config (or maybe catalog) at X"
[2008/05/08 08:16:46] <lak> i want that cached catalog
[2008/05/08 08:16:49] <lak> or really, i don't
[2008/05/08 08:16:50] <shadoi> jamesturnbull: nevermind, weird issue with ruby in our environment
[2008/05/08 08:16:55] <lak> i want you to look at it and see if it makes sense
[2008/05/08 08:17:31] <lak> ohhh, i know what's happening
[2008/05/08 08:17:48] <lak> the client isn't getting an exception because the server has a valid, non-broken parser in memory
[2008/05/08 08:17:51] <lak> this isn't a bug, i think
[2008/05/08 08:18:10] <lak> basically, the server will propagate fatal exceptions, but in this case, it had a completely functional parser that had already parsed the whole tree
[2008/05/08 08:18:28] <lak> so it wasn't a fatal exception -- it just used the old parser
[2008/05/08 08:18:30] <lak> make sense?
[2008/05/08 08:18:40] <jamesturnbull> lak: I did fix that page
[2008/05/08 08:18:44] <jamesturnbull> lak: the issue is with the tags
[2008/05/08 08:18:51] <lak> i don't understand
[2008/05/08 08:18:59] <lak> the links on that page seem to not point to the right spot...
[2008/05/08 08:19:24] <jamesturnbull> lak: the page is created by slecting all the tags
[2008/05/08 08:19:31] <lak> oh, it's automatic
[2008/05/08 08:19:33] <lak> i didn't realize that
[2008/05/08 08:19:36] <jamesturnbull> lak: the rename/move didn't update the tags table
[2008/05/08 08:19:39] <lak> then we should probably remove it, shouldn't we?
[2008/05/08 08:19:42] <jamesturnbull> so the old links are hanging around
[2008/05/08 08:19:55] <lak> because the Recipes/ index page does the same thing, right?
[2008/05/08 08:19:59] <lak> provides a full list, i mean
[2008/05/08 08:20:08] <jamesturnbull> what I was hoping you would do is purge the tabl - I didn't want to mess with the db
[2008/05/08 08:20:16] <lak> ah, i can do that
[2008/05/08 08:20:21] <lak> i think :)
[2008/05/08 08:20:26] <jamesturnbull> that page has same issue
[2008/05/08 08:20:27] <lak> any idea how i should do that?
[2008/05/08 08:20:30] <lak> oh
[2008/05/08 08:21:23] <jamesturnbull> lak: ah
[2008/05/08 08:21:53] <jamesturnbull> hmmm query of any tags != recipes/value with tag=recipe?
[2008/05/08 08:22:33] <jamesturnbull> stupid trac
[2008/05/08 08:23:30] <fujin> rm -rf trac/
[2008/05/08 08:23:35] <fujin> redmine trac/
[2008/05/08 08:23:41] <fujin> ;>
[2008/05/08 08:23:44] <fujin> jamesturnbull: how's your redmien going?
[2008/05/08 08:23:47] <fujin> wiki implemenation
[2008/05/08 08:23:54] <fujin> (fwiw, what's wrong with the existing redmine wiki?)
[2008/05/08 08:24:00] <fujin> no RST?
[2008/05/08 08:24:10] @ Quit: jvanzyl: Read error: 113 (No route to host)
[2008/05/08 08:24:21] <jamesturnbull> fujin: no RST
[2008/05/08 08:25:04] <fujin> boo :\
[2008/05/08 08:25:05] @ Quit: bwiechman: Read error: 110 (Connection timed out)
[2008/05/08 08:25:38] <ashp> i still hate this iptables method :/
[2008/05/08 08:25:44] <gepetto> ::puppet:: Recipes/Download File Recipe edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Recipes/DownloadFileRecipe (by james@lovedthanlost.net)
[2008/05/08 08:25:44] <gepetto> ::puppet:: Recipes/Template Validation Function edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Recipes/TemplateValidationFunction (by james@lovedthanlost.net)
[2008/05/08 08:25:57] <lak> ashp: how many hours have you already wasted on the tagging method? :)
[2008/05/08 08:25:57] <ashp> because i now have to distribute a script to build the end file
[2008/05/08 08:26:10] <ashp> well, i got bored and just bundled up postfix instead
[2008/05/08 08:26:10] <lak> or just have a one-liner in an exec
[2008/05/08 08:26:20] <ashp> true i can probably just cat * >> blah
[2008/05/08 08:26:42] <ashp> i'm going to try it because you keep recommending it and there's no way i'm going to get what i want :)
[2008/05/08 08:26:53] <jamesturnbull> lak: though i have written a little rails app (my first) to add a tab to the redmine menu in wghich you can imbed an iframe which could link to the trac wiki
[2008/05/08 08:27:09] <lak> heh
[2008/05/08 08:27:24] <lak> ashp: sure you could get what you want -- just fix the language :)
[2008/05/08 08:27:51] <lak> jamesturnbull: well, that's a start
[2008/05/08 08:27:51] <jamesturnbull> bbl all
[2008/05/08 08:27:56] <jamesturnbull> lak: yeah
[2008/05/08 08:28:03] <lak> couldn't we just have an external compiler?
[2008/05/08 08:28:09] <lak> it'd need to be static, of course
[2008/05/08 08:28:14] <lak> but that's not so hard, i'd think
[2008/05/08 08:28:37] <jamesturnbull> we probably need a chat about how that might work
[2008/05/08 08:29:07] <jamesturnbull> I'll wait until you're not deep in code ... oh wait... hell is never going to freeze over... :P
[2008/05/08 08:29:36] <fujin> I dunno if I really like the lack-of-src browsing for Git in redmine
[2008/05/08 08:30:49] <jamesturnbull> fujin: ah it's a git version thing isn't it - works in the current version
[2008/05/08 08:30:57] <jamesturnbull> but really bll
[2008/05/08 08:31:10] <shiruken> lack of src browsing?
[2008/05/08 08:31:28] <shiruken> oh in that redmine thing
[2008/05/08 08:31:36] <shiruken> I'm so used to using gitweb
[2008/05/08 08:32:15] <fujin> jamesturnbull: oh. ok.. I jus trecall not being able to browse the repo from your instance
[2008/05/08 08:32:21] <fujin> I'll install it locally and have a play, quite interested
[2008/05/08 08:33:54] <jamesturnbull> fujin: that was my issue - older git version
[2008/05/08 08:34:23] <jamesturnbull> fujin: try that instance again wormwood.lovedthanlost:3000
[2008/05/08 08:34:31] <jamesturnbull> fujin: um admin/admin
[2008/05/08 08:35:14] <jamesturnbull> fujin: or not - ummm
[2008/05/08 08:35:23] <jamesturnbull> fujin: working now
[2008/05/08 08:35:26] <fujin> yea
[2008/05/08 08:35:27] <fujin> cool
[2008/05/08 08:35:53] <fujin> oh nice
[2008/05/08 08:35:55] <fujin> that's WAY better
[2008/05/08 08:36:11] <fujin> heh, so there is no native rST for Ruby?
[2008/05/08 08:36:14] <fujin> that makes this quite a lot harder
[2008/05/08 08:37:17] <jamesturnbull> fujin: yep
[2008/05/08 08:37:20] <fujin> bloody rST, let's use markdown w/ smartypants
[2008/05/08 08:37:20] <fujin> :)
[2008/05/08 08:37:27] @ M- joined channel #puppet
[2008/05/08 08:40:08] @ keithlard joined channel #puppet
[2008/05/08 08:44:23] @ Quit: jvanzyl_: Read error: 113 (No route to host)
[2008/05/08 08:44:31] @ Quit: _newbie_: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/08 08:56:46] @ Quit: ezralini:
[2008/05/08 08:59:38] @ fbe joined channel #puppet
[2008/05/08 09:02:46] @ johnf joined channel #puppet
[2008/05/08 09:07:48] @ jvanzyl joined channel #puppet
[2008/05/08 09:11:07] @ Quit: Volcane: kubrick.freenode.net irc.freenode.net
[2008/05/08 09:12:27] @ vinci joined channel #puppet
[2008/05/08 09:14:03] <infinity3> any tips on getting puppet running on RHEL3 ?
[2008/05/08 09:14:15] <infinity3> i can't even fidn ruby packages
[2008/05/08 09:14:27] <lak> search for david lutterkort yum
[2008/05/08 09:14:36] <lak> pretty sure he's got a yum repo with them in it
[2008/05/08 09:16:18] <infinity3> EL 4 and 5
[2008/05/08 09:16:26] <infinity3> whats fc5 considered?
[2008/05/08 09:16:33] <infinity3> is the same libs and el3?
[2008/05/08 09:17:09] <lak> that, you'd have to ask of someone who knew rhel :)
[2008/05/08 09:17:26] <holoway> infinity3: EL3 was late October 2003
[2008/05/08 09:17:40] <ashp> holoway: nice email!
[2008/05/08 09:17:46] <infinity3> hmmmmmmmmmm
[2008/05/08 09:19:01] <ashp> I'm going to hire holoway to write things I want to say much clearer than I'd ever write them. :)
[2008/05/08 09:19:43] <infinity3> holoway: whats this email
[2008/05/08 09:20:09] <holoway> in the "tagging and templates" thread, in a somewhat mild defense of template usage in puppet
[2008/05/08 09:20:31] <holoway> an old news discussion if you've been around here for a while :)
[2008/05/08 09:22:35] @ Arri joined channel #puppet
[2008/05/08 09:24:05] <infinity3> i'll have to subscribe to check the archive
[2008/05/08 09:25:41] <infinity3> i give up :/ looks like to much work to get it working with rhel3.
[2008/05/08 09:25:49] <infinity3> i only have 4 rhel3 servers
[2008/05/08 09:26:48] @ bwiechman joined channel #puppet
[2008/05/08 09:27:36] <holoway> well, rhel3 is about in maintenacne mode anyway
[2008/05/08 09:27:41] <holoway> (June)
[2008/05/08 09:27:49] <holoway> so you should probably upgrade anyway
[2008/05/08 09:31:50] <fujin> why do people always try do things wrong?
[2008/05/08 09:32:07] <holoway> fujin: entropy?
[2008/05/08 09:32:13] <fujin> heh
[2008/05/08 09:32:50] <plathrop> fujin: Because we like to complain?
[2008/05/08 09:32:58] <holoway> plathrop++
[2008/05/08 09:33:15] @ Quit: randybias:
[2008/05/08 09:33:27] @ randybias joined channel #puppet
[2008/05/08 09:34:27] <ashp> who's doing what wrong?
[2008/05/08 09:34:43] <fujin> Everyone
[2008/05/08 09:36:03] <fujin> ;(
[2008/05/08 09:36:35] <ashp> :(
[2008/05/08 09:36:46] <fujin> including YOU!
[2008/05/08 09:36:47] <fujin> get out!
[2008/05/08 09:36:55] * fujin waits for Dell to pick up the phone
[2008/05/08 09:37:02] <lak> fujin: that's why i wrote puppet -- it let me redefine right :)
[2008/05/08 09:37:33] * lak assumes fujin is being a bit sarcastic today or something...
[2008/05/08 09:37:57] <shadoi> fujin: OY! SHUTIT!
[2008/05/08 09:38:32] @ Quit: chillitom: Connection timed out
[2008/05/08 09:38:38] <lak> um
[2008/05/08 09:38:49] <lak> you guys seem to be short on smileys today or something
[2008/05/08 09:38:55] <holoway> lak: :)
[2008/05/08 09:39:29] @ chillitom joined channel #puppet
[2008/05/08 09:39:34] <shadoi> :)
[2008/05/08 09:39:35] <shadoi> :)
[2008/05/08 09:40:04] <ashp> :)
[2008/05/08 09:40:48] <infinity3> fujin: just because you're on the fone with dell doesn't mean you can yell at everyone
[2008/05/08 09:41:03] <infinity3> fujin: yell at the indian dell guy
[2008/05/08 09:41:16] <infinity3> fujin: and don't be racist!
[2008/05/08 09:41:20] <ashp> sir, have you tried rebooting your server?
[2008/05/08 09:41:23] <infinity3> oh ...now i'm talking to myself
[2008/05/08 09:42:02] <infinity3> lak: you must have rhel3 rpms somewhere
[2008/05/08 09:42:08] <lak> me?
[2008/05/08 09:42:11] <lak> why would i?
[2008/05/08 09:42:15] <infinity3> i attempted to compile ...but i was backporting and backporting
[2008/05/08 09:42:19] <infinity3> and backporting.
[2008/05/08 09:42:27] <infinity3> so i gave up. ruby is the real problem.
[2008/05/08 09:42:27] <holoway> lak: when did you start writing puppet?
[2008/05/08 09:42:41] <infinity3> lak: cuz you're the uber puppet
[2008/05/08 09:43:03] <fujin> infinity3: I don't deal with Indian dell.
[2008/05/08 09:43:07] <fujin> We've a gold contract with em
[2008/05/08 09:43:16] <fujin> I get put through to true blue australian or new zealanders
[2008/05/08 09:43:17] <fujin> asap
[2008/05/08 09:43:19] * fujin <3 dell
[2008/05/08 09:43:25] <infinity3> fujin: oh. well, then. just cuz you have cheap dell hardware, you don't have to get mad at us
[2008/05/08 09:43:29] <infinity3> heh
[2008/05/08 09:43:34] <fujin> uh?
[2008/05/08 09:43:36] <fujin> go smoke a cock
[2008/05/08 09:43:49] <fujin> I'm talking about 1 mil worth of ESX farm & SAN here
[2008/05/08 09:43:59] <benp-> capistrano users: can i set it up to log in as a non-root user w/ public key and su (not sudo) to run commands as root?
[2008/05/08 09:44:13] <infinity3> fujin: relax
[2008/05/08 09:44:14] <holoway> fujin: I should have bought you a cock-and-balls shaped pipe in Mexico.. they were everywhere
[2008/05/08 09:44:26] <holoway> benp-: sure
[2008/05/08 09:44:39] <fujin> awesome
[2008/05/08 09:44:59] <lak> holoway: mid-2004
[2008/05/08 09:45:04] <lak> or something like that
[2008/05/08 09:45:05] <holoway> apparently, american tourists love to get drunk and smoke weed out of enormous cocks
[2008/05/08 09:45:08] <holoway> go figure
[2008/05/08 09:45:24] <holoway> lak: that's what I thought.. so the odds of a RHEL 3 rpm are pretty low. :)
[2008/05/08 09:45:42] <holoway> (of any version of puppet)
[2008/05/08 09:46:01] <lak> that, and i've never been a rhel user (or red hat of any kind)
[2008/05/08 09:46:03] @ Quit: jvanzyl: Remote closed the connection
[2008/05/08 09:46:20] <lak> and lutter showed up pretty early, so he's basically always handled that
[2008/05/08 09:46:30] * fujin fires redhat
[2008/05/08 09:46:42] @ jvanzyl joined channel #puppet
[2008/05/08 09:46:52] @ Quit: keithlard:
[2008/05/08 09:46:57] <holoway> I'm kind of amazed you missed the ubiquity that was RedHat 6.2
[2008/05/08 09:47:08] <fujin> I think my first ever leenux was redhat 7.0
[2008/05/08 09:47:10] <fujin> or 7.x
[2008/05/08 09:47:23] <fujin> I quite rapidly transitioned to Debian, thoug h;>
[2008/05/08 09:47:28] * fujin goes out to the DC
[2008/05/08 09:47:55] <lutter> holoway: I think most people wind up building a newer ruby rpm for RHEL3 and then installing puppet using that newer ruby
[2008/05/08 09:48:20] <lutter> holoway: might be worth asking on the list .. I am pretty sure there's people that have done that
[2008/05/08 09:49:48] <benp-> my problem with debian is you have to choose between ancient packages and brokenness
[2008/05/08 09:50:51] <lak> holoway: i didn't *miss* it, i just didn't like it
[2008/05/08 09:50:56] <holoway> :)
[2008/05/08 09:51:05] <lak> i think i was a beos user during those days, and went from there to debian
[2008/05/08 09:51:45] @ Quit: jvanzyl:
[2008/05/08 09:55:35] @ patobrien joined channel #puppet
[2008/05/08 09:58:15] <ashp> i started with slackware 2.3 :O
[2008/05/08 09:58:26] <ashp> i had no idea what the hell and deleted the vmlinux within about 5 minutes
[2008/05/08 09:58:36] <ashp> that was back when the installer would ask you y/n to every package
[2008/05/08 09:58:38] <ashp> LIBC Y/N
[2008/05/08 09:58:49] <ashp> n, sounds boring!
[2008/05/08 09:58:54] <benp-> heh
[2008/05/08 10:02:21] <kolla> we got a bebox at work, running the netpositive browser with a calendar showing who's at work and who's not :)
[2008/05/08 10:02:33] <ashp> beos was really nice :)
[2008/05/08 10:03:50] <plathrop> G'night, everyone.
[2008/05/08 10:03:54] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)"
[2008/05/08 10:05:07] <kolla> ashp: well, there's haiku :)
[2008/05/08 10:05:29] <ashp> Is that still going?
[2008/05/08 10:06:46] <kolla> afaik yes
[2008/05/08 10:07:21] <kolla> http://www.haiku-os.org/
[2008/05/08 10:07:24] <ashp> hmm they are trying to get it to selfhost now
[2008/05/08 10:07:27] <ashp> guess it's still alive
[2008/05/08 10:10:48] <kolla> "As of April 2008, Haiku has become self-hosting, which means Haiku can be built from within itself."
[2008/05/08 10:12:02] @ Quit: bwiechman: Read error: 113 (No route to host)
[2008/05/08 10:12:40] <kolla> might not be correct though.. and they're still using ancient gcc-2.95.3 I think
[2008/05/08 10:15:04] @ Quit: lak:
[2008/05/08 10:17:13] @ jvanzyl joined channel #puppet
[2008/05/08 10:30:31] @ bwiechman joined channel #puppet
[2008/05/08 10:33:48] @ Quit: benp-: Remote closed the connection
[2008/05/08 10:51:54] @ Quit: bwiechman: Read error: 113 (No route to host)
[2008/05/08 10:53:15] @ Quit: huangmingyou: "Leaving."
[2008/05/08 10:53:23] @ huangmingyou joined channel #puppet
[2008/05/08 10:59:01] @ jvanzyl_ joined channel #puppet
[2008/05/08 10:59:03] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/08 11:04:30] @ lak joined channel #puppet
[2008/05/08 11:05:10] @ kenvandine joined channel #puppet
[2008/05/08 11:08:32] @ felix_da_catz joined channel #puppet
[2008/05/08 11:15:32] @ Quit: Arri: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:34] @ Quit: yure: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:35] @ Quit: phips: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:37] @ Quit: markl__: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:38] @ Quit: wrobel: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:40] @ Quit: barnbarn: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:41] @ Quit: thijso: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:43] @ Quit: shadoi: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:15:45] @ Quit: zobbo_: kubrick.freenode.net irc.freenode.net
[2008/05/08 11:16:16] @ Arri joined channel #puppet
[2008/05/08 11:16:17] @ shadoi joined channel #puppet
[2008/05/08 11:16:18] @ zobbo_ joined channel #puppet
[2008/05/08 11:16:19] @ phips joined channel #puppet
[2008/05/08 11:16:21] @ yure joined channel #puppet
[2008/05/08 11:16:22] @ markl__ joined channel #puppet
[2008/05/08 11:16:23] @ wrobel joined channel #puppet
[2008/05/08 11:16:25] @ barnbarn joined channel #puppet
[2008/05/08 11:16:27] @ thijso joined channel #puppet
[2008/05/08 11:27:23] @ a-priori_ joined channel #puppet
[2008/05/08 11:29:41] @ fredlaforge joined channel #puppet
[2008/05/08 11:30:35] @ fredlaforge left channel #puppet ("Leaving")
[2008/05/08 11:33:48] @ Quit: huangmingyou: "Leaving."
[2008/05/08 11:33:57] @ huangmingyou joined channel #puppet
[2008/05/08 11:34:17] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:34:19] @ \ask__ joined channel #puppet
[2008/05/08 11:34:36] @ huangmingyou joined channel #puppet
[2008/05/08 11:34:39] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:35:44] @ huangmingyou joined channel #puppet
[2008/05/08 11:35:52] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:36:11] @ Quit: jvanzyl_: Read error: 113 (No route to host)
[2008/05/08 11:37:16] @ huangmingyou joined channel #puppet
[2008/05/08 11:37:49] @ Quit: jeckersb: "Leaving"
[2008/05/08 11:39:35] @ Quit: a-priori: Read error: 110 (Connection timed out)
[2008/05/08 11:41:24] @ Gwayne joined channel #puppet
[2008/05/08 11:41:43] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:41:50] @ huangmingyou joined channel #puppet
[2008/05/08 11:41:51] @ huangmingyou left channel #puppet ()
[2008/05/08 11:41:53] @ Quit: \ask_: Read error: 104 (Connection reset by peer)
[2008/05/08 11:42:04] @ huangmingyou joined channel #puppet
[2008/05/08 11:42:08] @ huangmingyou left channel #puppet ()
[2008/05/08 11:42:43] <Gwayne> Good morning :)
[2008/05/08 11:44:45] @ huangmingyou joined channel #puppet
[2008/05/08 11:49:16] @ Quit: randybias:
[2008/05/08 11:51:38] @ randybias joined channel #puppet
[2008/05/08 11:52:10] @ Quit: lak:
[2008/05/08 11:52:43] @ Quit: felix_da_catz: No route to host
[2008/05/08 11:52:44] @ Quit: huangmingyou: "Leaving."
[2008/05/08 11:52:50] @ huangmingyou joined channel #puppet
[2008/05/08 11:53:10] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:53:16] @ huangmingyou joined channel #puppet
[2008/05/08 11:53:21] @ Quit: huangmingyou: Client Quit
[2008/05/08 11:53:35] @ huangmingyou joined channel #puppet
[2008/05/08 12:07:23] <hacim> how do I remove something from storedconfigs?
[2008/05/08 12:07:39] <hacim> do I need to actually just mysql tweak?
[2008/05/08 12:08:03] <fujin> yea
[2008/05/08 12:08:07] <fujin> there's some rb on the wiki
[2008/05/08 12:08:15] <shadoi> hacim: there's a script I wrote on the storeconfigs wiki page
[2008/05/08 12:10:09] <hacim> shadoi: found it: http://reductivelabs.com/trac/puppet/attachment/wiki/UsingStoredConfiguration/kill_node_in_storedconfigs_db.rb
[2008/05/08 12:10:12] <hacim> thanks
[2008/05/08 12:10:37] <fujin> shadoi: what's up with the socket = pm_conf[:dbsocket] logic there?
[2008/05/08 12:10:48] <shadoi> dbsocket is optional
[2008/05/08 12:10:56] <fujin> Can't you just args[:socket] = pm_conf[:dbsocket] unless pm_conf[:dbsocket].empty like the rest of your stuff?
[2008/05/08 12:10:59] <fujin> ah, right.
[2008/05/08 12:11:09] <fujin> does it default to nil?
[2008/05/08 12:11:18] <shadoi> yeah
[2008/05/08 12:11:32] <fujin> so why not do it on oneline?
[2008/05/08 12:12:03] <shadoi> because I just cut'n'pasted crap from rails.rb that someone else wrote a long time ago. :)
[2008/05/08 12:12:07] <fujin> ah
[2008/05/08 12:12:08] <fujin> sexy
[2008/05/08 12:12:14] <fujin> hey
[2008/05/08 12:12:19] <shadoi> I was very annoyed about the Puppet[:dbadapter] thing so it was just a quick hack
[2008/05/08 12:12:40] <fujin> does that Puppet.settigns.instance_variable_get.. stuff actually work?
[2008/05/08 12:12:44] <shadoi> yup
[2008/05/08 12:12:46] <fujin> for grabbing the seperate section
[2008/05/08 12:13:07] <Gwayne> Well I like puppet
[2008/05/08 12:13:16] <fujin> did you ever work out why you can't just do Puppet.parse_config and then Puppet[:dbuser] ?
[2008/05/08 12:13:21] <fujin> lak said it was cause it was reading the main section
[2008/05/08 12:13:37] <fujin> and you should be able to change it with Puppet[:name] = "puppetmasterd"
[2008/05/08 12:13:40] <fujin> but htat didn't work for me
[2008/05/08 12:13:42] <shadoi> I don't think so, in that case moving it to main would fix it.
[2008/05/08 12:13:44] <shadoi> and it doesn't
[2008/05/08 12:13:47] <fujin> ah right
[2008/05/08 12:13:48] <fujin> weird
[2008/05/08 12:14:23] @ Quit: shake-n-bake__: Read error: 110 (Connection timed out)
[2008/05/08 12:14:25] <shadoi> it's something about the setdefaults order I think, but I don't have time to track it down right now.
[2008/05/08 12:14:52] @ shake-n-bake joined channel #puppet
[2008/05/08 12:16:41] <fujin> ah yep
[2008/05/08 12:16:58] <fujin> cool though
[2008/05/08 12:17:06] <fujin> your code is prettier than my/your initial storeconfigs purger
[2008/05/08 12:18:31] @ Quit: thijso: Remote closed the connection
[2008/05/08 12:18:43] @ thijso joined channel #puppet
[2008/05/08 12:20:29] @ Quit: patobrien: "Leaving"
[2008/05/08 12:25:58] @ Quit: randybias:
[2008/05/08 12:29:04] <hacim> weird
[2008/05/08 12:29:04] <hacim> ./kill_node_in_storedconfigs_db.rb petrel
[2008/05/08 12:29:05] <hacim> : No such file or directory
[2008/05/08 12:29:21] @ Quit: wrobel: Read error: 110 (Connection timed out)
[2008/05/08 12:30:23] <hacim> i guess if I run it with: ruby kill_node_in_storedconfigs_db.rb petrel it maybe is better
[2008/05/08 12:30:35] <hacim> shadoi: although it gives me:
[2008/05/08 12:30:36] <hacim> kill_node_in_storedconfigs_db.rb:23: undefined method `empty?' for nil:NilClass (NoMethodError)
[2008/05/08 12:32:21] <hacim> well, I dont have a socket in my puppet.conf defined for my db, so I'll just remove those lines
[2008/05/08 12:34:22] <shadoi> hacim: heh, yeah it should be nil? not empty?
[2008/05/08 12:34:24] <shadoi> or both
[2008/05/08 12:34:26] @ Quit: Xteven: Remote closed the connection
[2008/05/08 12:34:36] @ Xteven joined channel #puppet
[2008/05/08 12:37:04] @ lak joined channel #puppet
[2008/05/08 12:37:35] <fujin> what does the @object do in Ruby?
[2008/05/08 12:37:36] <fujin> ah
[2008/05/08 12:37:36] <fujin> instance variables
[2008/05/08 12:37:37] @ Quit: M-: "This computer has gone to sleep"
[2008/05/08 12:38:26] <waawaamilk> yar
[2008/05/08 12:38:30] <waawaamilk> watch out for @@vars
[2008/05/08 12:38:38] <waawaamilk> global
[2008/05/08 12:39:45] <fujin> @@vars?
[2008/05/08 12:39:49] @ Quit: \ask__: Read error: 110 (Connection timed out)
[2008/05/08 12:39:53] <fujin> global instance variables?
[2008/05/08 12:39:55] * fujin gets confused
[2008/05/08 12:40:52] <fujin> nevermind, I'll look it up
[2008/05/08 12:40:54] <waawaamilk> no, just global
[2008/05/08 12:41:41] @ Quit: Arri: Read error: 60 (Operation timed out)
[2008/05/08 12:42:28] @ Arri joined channel #puppet
[2008/05/08 12:45:33] <fujin> What's the point of saying blah = {:poo => "poo"}? what's the : for
[2008/05/08 12:46:19] <fujin> oh shnap, you can when /regex/ in a ruby case
[2008/05/08 12:46:20] <fujin> that's epic
[2008/05/08 12:46:50] <waawaamilk> fujin: the : means 'symbol'
[2008/05/08 12:46:52] <waawaamilk> it's a datatype
[2008/05/08 12:46:56] <waawaamilk> it's very similar to a string
[2008/05/08 12:47:18] <fujin> I see
[2008/05/08 12:47:30] <waawaamilk> iirc, there's only ever one of them in memory by that name or something
[2008/05/08 12:47:32] <waawaamilk> like...
[2008/05/08 12:47:34] <waawaamilk> foo = "hi"
[2008/05/08 12:47:35] <fujin> I've seen it used here and there.. (Puppet[:dbsocket])
[2008/05/08 12:47:36] <waawaamilk> bar = "hi"
[2008/05/08 12:47:42] <waawaamilk> foo and bar reference different memory
[2008/05/08 12:47:46] <waawaamilk> foo = :hi
[2008/05/08 12:47:49] <waawaamilk> bar = :hi
[2008/05/08 12:47:52] <waawaamilk> they are both the same
[2008/05/08 12:47:54] <fujin> ah
[2008/05/08 12:47:56] <fujin> I see
[2008/05/08 12:47:59] <waawaamilk> something like that
[2008/05/08 12:48:05] <fujin> thanks, <3
[2008/05/08 12:48:10] <waawaamilk> :)
[2008/05/08 12:55:02] @ nigelk joined channel #puppet
[2008/05/08 12:58:42] @ wrobel joined channel #puppet
[2008/05/08 13:14:00] <hacim> lak: aha! you had to do something to get the gmane group working!
[2008/05/08 13:14:16] <hacim> lak: I've been requesting the -dev group to be resubscribed over and over and over
[2008/05/08 13:14:21] <lak> for the dev group?
[2008/05/08 13:14:34] <lak> the user was subscribed but hadn't verified
[2008/05/08 13:14:38] <lak> so i just added it manually
[2008/05/08 13:15:25] <hacim> yeah, the dev group
[2008/05/08 13:15:30] <hacim> I wonder why it wasn't being verified
[2008/05/08 13:15:42] <hacim> anyways, finally! :)
[2008/05/08 13:16:03] @ Quit: nigelk:
[2008/05/08 13:16:23] @ M- joined channel #puppet
[2008/05/08 13:22:11] @ \ask_ joined channel #puppet
[2008/05/08 13:22:21] <fujin> anyone recommend a ruby tut?
[2008/05/08 13:22:23] <fujin> using http://www.rubyist.net/~slagell/ruby/index.html now
[2008/05/08 13:22:30] <fujin> prob. should buy some books
[2008/05/08 13:24:10] <fujin> heh, overrides in ruby are so intuitive
[2008/05/08 13:24:12] * fujin swoons
[2008/05/08 13:27:02] <Gwayne> hehehehe
[2008/05/08 13:31:51] <fujin> waawaamilk: I can't find anything on @@
[2008/05/08 13:31:53] <fujin> $var is a global
[2008/05/08 13:31:57] <fujin> @var is an instance variable
[2008/05/08 13:32:07] <fujin> and then, well there are local vars and constant vars
[2008/05/08 13:34:13] @ Quit: Xteven: Remote closed the connection
[2008/05/08 13:34:23] @ Xteven joined channel #puppet
[2008/05/08 13:37:07] <fujin> wow, it's dumb that you can reassign a constant and it only throws an error
[2008/05/08 13:42:14] @ Quit: mikearr: "I am Joe's quit message."
[2008/05/08 13:42:29] @ mikearr joined channel #puppet
[2008/05/08 13:43:14] <waawaamilk> fujin: it's possible, I haven't done ruby for about a year now :)
[2008/05/08 13:43:22] <waawaamilk> and didn't know it fully when I finished with it ;)
[2008/05/08 13:43:31] <fujin> ah right
[2008/05/08 13:43:36] <fujin> I recall someone in here talking about @@vars a while back
[2008/05/08 13:43:47] <fujin> trying to find docs regarding it is proving to be difficult though
[2008/05/08 13:47:55] @ Quit: M-: "Leaving"
[2008/05/08 13:51:01] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/05/08 13:52:33] @ Quit: andrewcshafer:
[2008/05/08 13:54:23] @ benp- joined channel #puppet
[2008/05/08 13:54:52] <benp-> capistrano users here?
[2008/05/08 13:57:07] <benp-> can you use capify for projects that arent rails?
[2008/05/08 14:03:09] <shadoi> you'd probably have to hack it
[2008/05/08 14:03:22] <shadoi> it just generates a skeleton cap config
[2008/05/08 14:17:53] @ Quit: rabbit7: Remote closed the connection
[2008/05/08 14:17:58] @ rabbit7 joined channel #puppet
[2008/05/08 14:18:16] <benp-> im deploying php, perl, so i don't need to deal with mongrel or fastcgi. everything else it does for webapp deployment is useful for me..
[2008/05/08 14:22:51] <shadoi> You can definitely use it
[2008/05/08 14:22:55] <shadoi> just maybe not capify
[2008/05/08 14:22:57] <shadoi> *shrug*
[2008/05/08 14:23:13] <shadoi> capify a rails app and replace all the rails-specific stuff with your stuff
[2008/05/08 14:23:18] <benp-> i want to replace a shell script that calls rsync and other adhoc ways of updating code like we have a guy that logs into 5 machines and runs cvs update
[2008/05/08 14:24:10] <benp-> ah so you don't need to capify to get all the deployment stuff?
[2008/05/08 14:24:14] <shadoi> really though, if you take out all the rails-specific stuff, capistrano doesn't have anything over puppet
[2008/05/08 14:24:32] <shadoi> your app is a tarball then, everything is handled by puppet
[2008/05/08 14:24:34] <benp-> im still just looking at it btw, and yeah, the docs arent that great
[2008/05/08 14:25:19] <benp-> i'd use it for running commands
[2008/05/08 14:25:36] <benp-> puppet doesn't do that
[2008/05/08 14:25:41] <shadoi> I'd use rush for that
[2008/05/08 14:25:49] <benp-> is that like dssh?
[2008/05/08 14:26:02] <shadoi> no it's like ruby and SSH mashed together
[2008/05/08 14:26:02] <benp-> or distributed ssh or whatever
[2008/05/08 14:26:06] <benp-> or some perl script some guy wrote
[2008/05/08 14:26:20] @ plathrop joined channel #puppet