Saturday, 2008-06-14

[2008/06/14 00:10:39] <fujin> holoway: that's what I thought. I was just stepping through the binary, and it looks like it loads them up individually when you specify it
[2008/06/14 00:10:47] <holoway> that seems wrong
[2008/06/14 00:10:57] <fujin> and because ipaddress_eth0 etc are created magically when `facter` is called (it relies on the interfaces fact, and other stuff)
[2008/06/14 00:10:58] <holoway> if I knew what facts I wanted, why would I be running facter?
[2008/06/14 00:11:18] <fujin> but, it does work from a manifest
[2008/06/14 00:11:26] <fujin> that's because when used with puppet it loads them all up - i think
[2008/06/14 00:11:44] <fujin> the executable just needs a little tweaking
[2008/06/14 00:11:49] <holoway> it seems like facter's standalone behavior should be whatever puppet's default behavior is
[2008/06/14 00:12:01] <holoway> since the only person using facter outside of puppet, to my knowledge, is me ;)
[2008/06/14 00:12:18] <holoway> anything besides that seems totally confusing
[2008/06/14 00:13:04] <fujin> pastie:
[2008/06/14 00:13:13] @ Quit: rcoup:
[2008/06/14 00:13:18] <pastie> http://pastie.org/214918 by fujin.
[2008/06/14 00:13:23] <fujin> ^
[2008/06/14 00:13:50] <holoway> what's that from? puppet or facter?
[2008/06/14 00:13:54] <fujin> facter.
[2008/06/14 00:14:24] <fujin> That'll be the broken bit, I think. We should probably just facts = Facter.to_hash and if names are supplied, filter based on those
[2008/06/14 00:14:32] <holoway> yep
[2008/06/14 00:14:34] <fujin> if no names, spit em all
[2008/06/14 00:14:43] <holoway> eah
[2008/06/14 00:14:45] <holoway> er yeah
[2008/06/14 00:14:50] * fujin patches
[2008/06/14 00:15:40] <fujin> what I can't understand, is why no exception is being thrown there like it should be
[2008/06/14 00:19:44] @ rcoup joined channel #puppet
[2008/06/14 00:20:08] @ Quit: rcoup: Client Quit
[2008/06/14 00:42:32] <fujin> wth, send-email is no such git command
[2008/06/14 00:53:06] <jamesturnbull> fujin: hu?
[2008/06/14 01:04:14] <fujin> must be missing a package or something
[2008/06/14 01:04:17] <fujin> http://github.com/fujin/facter/commit/1e0dd5b890df95ad1acf8a18d8bbb4d99e9ca6ba
[2008/06/14 01:04:19] <fujin> jamesturnbull: ^
[2008/06/14 01:04:54] <fujin> anyone use a CLI mailer?
[2008/06/14 01:07:32] @ sparanjape joined channel #puppet
[2008/06/14 01:14:49] <waawaamilk> yes
[2008/06/14 01:15:02] <waawaamilk> are you talking about mailx-style or mutt-style?
[2008/06/14 01:15:08] <waawaamilk> fujin: ^^
[2008/06/14 01:15:10] @ Quit: dysinger: Read error: 110 (Connection timed out)
[2008/06/14 01:20:10] @ ski98033 joined channel #puppet
[2008/06/14 01:21:31] @ Quit: Kindred: Connection reset by peer
[2008/06/14 01:21:39] @ Kindred joined channel #puppet
[2008/06/14 01:23:45] @ Quit: ski98033: Client Quit
[2008/06/14 01:24:20] @ Demosthenes joined channel #puppet
[2008/06/14 01:45:05] <jamesturnbull> fujin: you need git-email for git-mail or something for git send-email
[2008/06/14 01:53:37] @ john1 joined channel #puppet
[2008/06/14 01:54:31] @ Quit: johnf: Read error: 101 (Network is unreachable)
[2008/06/14 02:19:01] @ john1 is now known as johnf
[2008/06/14 03:12:07] <fujin> waawaamilk: I prefer mutt style, but mutt always breaks on terminals
[2008/06/14 03:12:13] <fujin> funny output, breaks my screen sessions
[2008/06/14 03:14:02] @ fbe joined channel #puppet
[2008/06/14 03:20:26] @ Quit: shenson_not_here: Read error: 110 (Connection timed out)
[2008/06/14 03:20:30] <fujin> jamesturnbull: ah yep, got it - thanks!@
[2008/06/14 03:20:35] <fujin> patch sent
[2008/06/14 03:20:51] <fujin> waawaamilk: so, any good mutt style ones?
[2008/06/14 03:20:55] @ Quit: andrewcshafer:
[2008/06/14 03:30:40] <waawaamilk> fujin: mutt
[2008/06/14 03:30:41] <waawaamilk> :P
[2008/06/14 03:31:03] <waawaamilk> mutt shouldn't break on random terms..
[2008/06/14 03:31:06] <waawaamilk> I use urxvt
[2008/06/14 03:35:20] @ aymerick joined channel #puppet
[2008/06/14 03:35:32] @ aymerick left channel #puppet ()
[2008/06/14 03:41:47] @ shenson_not_here joined channel #puppet
[2008/06/14 04:00:43] @ mikepea joined channel #puppet
[2008/06/14 04:03:41] <fujin> waawaamilk: putty->screen
[2008/06/14 04:03:44] <fujin> always plays up, lol
[2008/06/14 04:06:21] <waawaamilk> heh
[2008/06/14 04:21:12] @ Quit: mikepea: Read error: 113 (No route to host)
[2008/06/14 04:25:36] <jamesturnbull> fujin: what's your putty->screen issue?
[2008/06/14 04:40:31] <Volcane> this is driving me insane, one host, says it cant find my define apache::vhost first time i change anything on the master
[2008/06/14 04:40:34] <Volcane> 2nd run it works fine
[2008/06/14 04:41:31] <Volcane> apache::vhost is defined in a sep file in the module called vhost.pp
[2008/06/14 04:58:16] @ Quit: jvanzyl:
[2008/06/14 04:58:25] @ Quit: gileswork: SendQ exceeded
[2008/06/14 05:08:47] @ Ol__ joined channel #puppet
[2008/06/14 05:11:51] @ Quit: Ol__: Read error: 104 (Connection reset by peer)
[2008/06/14 05:38:19] @ aymerick joined channel #puppet
[2008/06/14 05:46:06] @ zoeloeli1 is now known as zoeloelip
[2008/06/14 06:01:48] @ docelic joined channel #puppet
[2008/06/14 06:02:59] <fujin> jamesturnbull: just mutt.. displays characters weird
[2008/06/14 06:03:36] <fujin> irssi works sweet, but mutt is all munged
[2008/06/14 06:03:47] <fujin> bleh I'll just keep using roundcube+thunderbird
[2008/06/14 06:10:38] @ Quit: sparanjape: "Do fish get thirsty?"
[2008/06/14 06:13:08] <fujin> bleh, my #1365 fix didn't work as well as I'd hoped
[2008/06/14 06:13:12] <gepetto> fujin: bleh: #1365 is http://reductivelabs.com/redmine/issues/show/1365
[2008/06/14 06:13:15] <fujin> emailed and deleted my redmine comment
[2008/06/14 06:16:16] @ aymerick left channel #puppet ()
[2008/06/14 06:26:12] @ Quit: _NiC: Read error: 110 (Connection timed out)
[2008/06/14 06:35:29] <jamesturnbull> fujin: what;s broken?
[2008/06/14 06:37:11] <fujin> I was doing a names.each based delete_if on the hash of facts that Facter.to_hash returns
[2008/06/14 06:37:19] <fujin> and well, when you specified more than one thing, it deleted everything
[2008/06/14 06:37:23] <fujin> but when you specified one thing it worked fine
[2008/06/14 06:37:35] <fujin> for now, I'm holding off. Have to think about abetter way to do it
[2008/06/14 06:37:49] <fujin> shame you can't do Hash1 - Hash2 = Hash3
[2008/06/14 06:38:04] <fujin> that'd be the easy way
[2008/06/14 06:38:16] <fujin> jamesturnbull: although reading Lukes comments, I'm not sure I should be bothering with it at all
[2008/06/14 06:40:05] <jamesturnbull> fujin: okay
[2008/06/14 07:05:59] @ keithlard joined channel #puppet
[2008/06/14 08:30:22] @ a-priori joined channel #puppet
[2008/06/14 08:30:41] @ _NiC joined channel #puppet
[2008/06/14 08:38:56] @ Quit: a-priori:
[2008/06/14 08:44:29] @ Quit: _NiC: Remote closed the connection
[2008/06/14 08:46:29] @ _NiC joined channel #puppet
[2008/06/14 08:47:20] @ Quit: Demosthenes: "leaving"
[2008/06/14 09:48:00] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/06/14 09:50:13] @ Quit: ricky: Read error: 110 (Connection timed out)
[2008/06/14 09:56:29] @ aymerick joined channel #puppet
[2008/06/14 09:59:39] @ verwilst joined channel #puppet
[2008/06/14 10:17:08] @ Quit: verwilst: "Ex-Chat"
[2008/06/14 10:32:07] @ jvanzyl joined channel #puppet
[2008/06/14 10:34:38] @ Innocenti joined channel #puppet
[2008/06/14 10:42:46] @ Quit: lazzurs: Read error: 113 (No route to host)
[2008/06/14 10:53:00] @ andrewcshafer joined channel #puppet
[2008/06/14 11:02:19] @ ricky joined channel #puppet
[2008/06/14 11:06:01] @ dysinger joined channel #puppet
[2008/06/14 11:19:52] @ Quit: docelic: "Departed"
[2008/06/14 11:38:52] @ lak joined channel #puppet
[2008/06/14 11:41:23] @ kolla_ joined channel #puppet
[2008/06/14 11:44:39] @ Quit: kolla_: Remote closed the connection
[2008/06/14 11:49:38] @ johnf joined channel #puppet
[2008/06/14 12:18:01] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/06/14 12:43:38] @ jvanzyl left channel #puppet ()
[2008/06/14 13:09:59] @ ski98033 joined channel #puppet
[2008/06/14 13:16:22] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/06/14 13:19:14] @ catdude joined channel #puppet
[2008/06/14 13:21:44] <catdude> hey, i have question about adding users with puppet. I'm playing with puppet on a freebsd client.
[2008/06/14 13:22:03] <catdude> does puppet use the standard OS scripts to add users, or does it do so itself?
[2008/06/14 13:22:44] <Volcane> uses the os scripts
[2008/06/14 13:23:27] <catdude> actually, my real question is - does puppet by default create the home directory for a user? On freebsd 7, if you do a minimal install and don't create any other users, there is no /home (actually links to /usr/home) until you run adduser
[2008/06/14 13:23:43] <catdude> in my test, puppet created the user, but not the home dir
[2008/06/14 13:24:29] <Volcane> its generally does, but i think its depends on the defaults of the adduser on bsd
[2008/06/14 13:28:00] <catdude> hmm .... i see from another test I ran yesterday that puppet did not create a home dir even after I created a user at install time ...
[2008/06/14 13:28:49] <catdude> something isn't quite right, then
[2008/06/14 13:31:28] <catdude> basically, i'm wondering if this is something i'm not doing right (more likely) or a problem with puppet
[2008/06/14 13:32:02] <catdude> on freebsd at least, which I gather doesn't get a lot of puppet love. (The standard package, for example, is at 22, though I've been playing with 24)
[2008/06/14 13:33:50] @ Quit: Disconnect: Read error: 110 (Connection timed out)
[2008/06/14 13:43:06] <Volcane> if adduser on the cmd line isnt adding homedirs then puppet prolly wont either
[2008/06/14 13:43:13] <Volcane> or useradd
[2008/06/14 13:47:37] <catdude> http://reductivelabs.com/trac/puppet/wiki/TypeReference#id199 says .. parameter home .. "The home directory of the user. The directory must be created separately and is not currently checked for existence."
[2008/06/14 13:48:00] <catdude> i guess that's my answer
[2008/06/14 13:48:03] <Volcane> ah
[2008/06/14 13:48:04] <Volcane> hmm
[2008/06/14 13:48:21] <Volcane> not had puppet on freebsd, ditched freebsd before puppet
[2008/06/14 13:49:18] <catdude> heh .. i hear ya on freebsd
[2008/06/14 13:50:07] <catdude> but the nice thing about freebsd re puppet is that you can quickly install a minimal system (under vmware, in my case)
[2008/06/14 13:50:12] <catdude> and play with letting puppet build it up
[2008/06/14 13:50:14] <Volcane> when the ssh vuln came out and i had to buildworld countless machines, i rather just firewalled port 22 and moved off it
[2008/06/14 13:50:26] <Volcane> thus end 8 years of freebsd use :P
[2008/06/14 13:50:50] <Volcane> catdude: quicker to snapshot a host as it was prior to puppet, any OS :P
[2008/06/14 13:51:24] <catdude> freebsd was my preferred os for the server that hosts my domain, but then I moved to a hosted virtual server - and freebsd wasn't available. so now i'm on centos.
[2008/06/14 13:51:40] <catdude> true, volcane
[2008/06/14 13:51:41] <Volcane> nods, also prefer centos
[2008/06/14 13:52:14] @ verwilst joined channel #puppet
[2008/06/14 13:52:17] <catdude> running vmware fusion on a mac, which also doesn't have quite as nice snapshot/cloning features as vmware workstation on pc
[2008/06/14 13:52:29] <Volcane> ah
[2008/06/14 13:52:41] <catdude> i'm not sure I prefer centos, but it's certainly much Much more commonly used than freebsd
[2008/06/14 13:52:47] <Volcane> quite quick to install centos off a cd with a kickstart file
[2008/06/14 13:56:07] @ Quit: windowsrefund: Read error: 110 (Connection timed out)
[2008/06/14 13:56:37] <catdude> cool . never played with kickstart, but it's obviously something I need to get more familar with if i'm playing around with puppet. Kickstart is a part of the sysadmin's good breakfast?
[2008/06/14 13:56:38] <catdude> hmm
[2008/06/14 13:57:09] <Volcane> look in /root/anaconda-ks.cfg on your centos box
[2008/06/14 13:57:13] <Volcane> should have that file
[2008/06/14 13:57:21] <Volcane> thats a kickstart file to reinstall your machine quick quick
[2008/06/14 14:01:20] @ a-priori joined channel #puppet
[2008/06/14 14:02:18] @ Quit: a-priori: Client Quit
[2008/06/14 14:04:44] @ a-priori joined channel #puppet
[2008/06/14 14:16:31] @ shake-n-bake joined channel #puppet
[2008/06/14 14:39:22] @ Quit: a-priori:
[2008/06/14 14:51:57] @ roald joined channel #puppet
[2008/06/14 15:02:29] * Volcane thinks the php yaml parser is braindead
[2008/06/14 15:03:48] @ Quit: \ask:
[2008/06/14 15:03:57] @ Quit: shake-n-bake:
[2008/06/14 15:19:50] @ Innocenti joined channel #puppet
[2008/06/14 15:21:21] @ kambiz joined channel #puppet
[2008/06/14 15:35:10] @ Quit: kambiz: "Leaving"
[2008/06/14 16:16:43] @ aymerick left channel #puppet ()
[2008/06/14 16:39:48] @ catdude left channel #puppet ()
[2008/06/14 17:09:00] <madduck> is the reductivelabs.com website offline?
[2008/06/14 17:11:31] <madduck> seems like it.
[2008/06/14 17:11:54] <madduck> could someone please paste a recipe for installing a file from the fileserver, using the FQDN of the client as part of the filename?
[2008/06/14 17:14:26] <madduck> hm, website is back
[2008/06/14 17:17:45] <lak> ok, redmine is back
[2008/06/14 17:19:07] <madduck> do the fileserver acls use the CN in the certs?
[2008/06/14 17:19:12] <madduck> like if I say *.madduck.net?
[2008/06/14 17:19:21] <madduck> Does it use the CNs? Or reverse DNS?
[2008/06/14 17:36:32] @ Quit: lak: Read error: 113 (No route to host)
[2008/06/14 17:49:22] <gepetto> ::puppet:: Changeset [6a61198f9293674a4bf0aa75bfbca10e20f64d20]: Merge branch '0.24.x' Also added the fixes to ... @ http://reductivelabs.com/trac/puppet/changeset/6a61198f9293674a4bf0aa75bfbca10e20f64d20 (by Luke Kanies <luke@madstop.com>)
[2008/06/14 17:56:47] @ Ned joined channel #puppet
[2008/06/14 18:01:35] @ Quit: shenson_not_here: Read error: 104 (Connection reset by peer)
[2008/06/14 18:01:38] @ shenson_not_here joined channel #puppet
[2008/06/14 18:19:19] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2008/06/14 18:22:59] @ LBo joined channel #puppet
[2008/06/14 18:35:43] * Volcane is writing something to view yaml reports on a web frontend and boy the php class for parsing yaml sux
[2008/06/14 18:39:20] <waawaamilk> the php classes for parsing anything suck
[2008/06/14 18:39:58] <Volcane> heh
[2008/06/14 18:40:08] <Volcane> it makes an array like, hmm
[2008/06/14 18:40:29] <Volcane> $arr[metrics][time][values] and then under there hsould a array of values
[2008/06/14 18:40:32] <Volcane> but instead they end up
[2008/06/14 18:40:40] <Volcane> $arr[metrics][time][0] etc
[2008/06/14 18:40:44] <Volcane> one level too high
[2008/06/14 18:40:57] <Volcane> should be $arr[metrics][time][values][0]
[2008/06/14 18:41:03] <waawaamilk> yeah...
[2008/06/14 18:41:57] <waawaamilk> yet another failure in api design in a third party library
[2008/06/14 18:42:09] <waawaamilk> oss has this problem
[2008/06/14 18:42:19] <Volcane> nods
[2008/06/14 18:42:32] <waawaamilk> (though naturally oss can solve it too.. if people get angry enough ;)
[2008/06/14 18:42:43] <Volcane> anyway, i fixed it with a quick for loop in my code to move things to the right place
[2008/06/14 18:43:06] <Volcane> and now i can see yaml reports for all my hosts etc
[2008/06/14 18:59:13] @ Quit: verwilst: "Ex-Chat"
[2008/06/14 19:06:25] @ Quit: jmeeuwen: Dead socket
[2008/06/14 19:06:35] @ jmeeuwen joined channel #puppet
[2008/06/14 19:06:49] @ Quit: andrewcshafer:
[2008/06/14 19:09:46] @ johnf joined channel #puppet
[2008/06/14 19:10:04] @ AimanA joined channel #puppet
[2008/06/14 19:27:09] @ tim|imac_ is now known as tim|imac
[2008/06/14 19:32:38] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/06/14 19:33:43] @ andrewcshafer joined channel #puppet
[2008/06/14 19:34:44] @ Quit: LBo: "WeeChat 0.2.6"
[2008/06/14 19:36:42] @ Quit: dysinger:
[2008/06/14 20:10:39] <fujin> Volcane: your language of choice or something?
[2008/06/14 20:10:42] @ marcoecc joined channel #puppet
[2008/06/14 20:18:19] @ johnf joined channel #puppet
[2008/06/14 20:36:47] @ Quit: keithlard:
[2008/06/14 20:39:17] @ keithlard_ joined channel #puppet
[2008/06/14 20:46:45] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/06/14 21:13:01] @ Quit: AimanA: Read error: 110 (Connection timed out)
[2008/06/14 21:28:40] @ rcoup joined channel #puppet
[2008/06/14 21:46:34] @ Quit: roald: Remote closed the connection
[2008/06/14 22:09:02] @ lak joined channel #puppet
[2008/06/14 22:19:33] @ Gwayne joined channel #puppet
[2008/06/14 22:20:19] @ Quit: Gwayne: Read error: 104 (Connection reset by peer)
[2008/06/14 22:20:28] @ a-priori joined channel #puppet
[2008/06/14 22:35:49] @ dysinger joined channel #puppet
[2008/06/14 22:35:53] <gepetto> ::puppet:: Changeset [7b10c39bdc20cad3d4652008c404d576461d75e1]: Merge branch … @ http://reductivelabs.com/trac/puppet/changeset/7b10c39bdc20cad3d4652008c404d576461d75e1 (by Luke Kanies <luke@madstop.com>)
[2008/06/14 22:43:37] @ Quit: lak:
[2008/06/14 23:12:07] @ AimanA joined channel #puppet
[2008/06/14 23:17:21] @ Quit: AimanA: Remote closed the connection
[2008/06/14 23:29:11] @ duffbeer703 joined channel #puppet
[2008/06/14 23:38:14] @ Quit: kolla: Read error: 104 (Connection reset by peer)

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