Thursday, 2008-04-17

[2008/04/17 00:04:05] @ Quit: tim|macbook: Read error: 110 (Connection timed out)
[2008/04/17 00:07:05] @ lak joined channel #puppet
[2008/04/17 00:12:13] * Volcane 's a bit dissapointed that the book doesnt go into manifest version control etc
[2008/04/17 00:12:56] <f3ew> Volcane, vesion control is a separate topic
[2008/04/17 00:13:35] @ nigelk joined channel #puppet
[2008/04/17 00:14:40] <Volcane> it would def fit in well in the advanced section of the book
[2008/04/17 00:15:12] <nigelk> lak: quick question before i delve into the code to try and do it.... I take it you can't have an external node provider where nodes inherit from a node defined the 'normal' way, but is it likely to be possible to modify puppet to work this way?
[2008/04/17 00:15:36] <lak> hmm
[2008/04/17 00:15:43] <lak> you're right that you can't right now
[2008/04/17 00:15:51] <lak> and i think it would be relatively difficult to make it work
[2008/04/17 00:16:01] <nigelk> ok.
[2008/04/17 00:16:09] <lak> they're at completely different phases -- external node stuff happens before the compiling every starts
[2008/04/17 00:16:22] <nigelk> basically we're looking at using external nodes for self-service software installations via a web page, and I was hoping that I'd be able to solve that problem this way using puppet
[2008/04/17 00:16:37] <lak> yeah, you should
[2008/04/17 00:16:41] <nigelk> There are other alternatives though. I'll go back to the drawing board.
[2008/04/17 00:17:15] <nigelk> I've been testing my patch for posix user/groups by the way, just need to finish off patching and doing the unit tests and I'll submit it
[2008/04/17 00:18:33] <nigelk> I *think* I've followed the general puppet code style with it, but I imagine there will be some back and forth over it. All the user/group stuff is now in Puppet::Util posix.rb, not in the file/owner types themselves.
[2008/04/17 00:18:57] @ ckm joined channel #puppet
[2008/04/17 00:20:29] <lak> cool
[2008/04/17 00:20:48] <nigelk> we've also got an article coming up on the Google Mac blog about our use of puppet
[2008/04/17 00:20:51] <nigelk> just getting cleared by the lawyers
[2008/04/17 00:21:00] <nigelk> as is us getting added to the WhoIsUsingPuppet page
[2008/04/17 00:22:34] @ Quit: baard1973: "Disconnecting from stoned server."
[2008/04/17 00:27:19] @ jfluhmann joined channel #puppet
[2008/04/17 00:30:12] @ a-priori joined channel #puppet
[2008/04/17 00:31:37] <ashp> I should really add us to the whoisusingpuppet page
[2008/04/17 00:36:48] @ Quit: kolla: Remote closed the connection
[2008/04/17 00:41:26] @ brscott joined channel #puppet
[2008/04/17 00:41:42] @ brscott left channel #puppet ()
[2008/04/17 00:44:45] <nigelk> maybe we'll just have another puppet client config on the clients that talks to a server that uses the external node provider
[2008/04/17 00:45:00] <nigelk> that might be simplest in the end, and make sure the clients don't stomp on each other
[2008/04/17 00:48:50] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by thom @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/17 00:50:18] * thom decides not to bother asking PR if he can admit to using puppet :)
[2008/04/17 00:52:05] <ashp> easier to ask forgiveness than permission ;)
[2008/04/17 00:52:29] <thom> yeah
[2008/04/17 00:52:45] @ mccune joined channel #puppet
[2008/04/17 00:55:42] @ rickbradley joined channel #puppet
[2008/04/17 00:57:21] @ Quit: ckm: "Leaving"
[2008/04/17 00:58:47] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/04/17 00:59:09] @ stick joined channel #puppet
[2008/04/17 00:59:13] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by devdas @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/17 00:59:51] @ Quit: lak: heinlein.freenode.net irc.freenode.net
[2008/04/17 00:59:51] @ Quit: tmz_: heinlein.freenode.net irc.freenode.net
[2008/04/17 01:01:12] @ lak joined channel #puppet
[2008/04/17 01:01:12] @ tmz_ joined channel #puppet
[2008/04/17 01:02:22] <stick> lak: so what's the current situation with the puppet training/meetup ?
[2008/04/17 01:02:45] <lak> on the phone, but the plan is first week of june in portland
[2008/04/17 01:02:54] <lak> only three confirmed attendees so far, so it's up in the air
[2008/04/17 01:03:00] <stick> portland, whoa :)
[2008/04/17 01:03:51] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/04/17 01:05:05] <rickbradley> pr0tland!
[2008/04/17 01:05:22] <rickbradley> lak: dude, get some of the railsconf wankers to stay over
[2008/04/17 01:05:36] <rickbradley> lak: ironically we might be in PDX at the same time
[2008/04/17 01:06:05] <lak> that'd be funny
[2008/04/17 01:06:18] * rickbradley pulls up that tripit thing
[2008/04/17 01:07:57] @ Quit: Innocenti: Client Quit
[2008/04/17 01:08:00] <stick> hmm I had thought there was some discussion about atl (which would have worked great for me :) )
[2008/04/17 01:09:43] <rickbradley> yep, definite overlap
[2008/04/17 01:11:06] <rickbradley> lak: question to ponder (I'm going to head out for a hike but thought you might like to think about it) ... is the functionality we'd looked at regarding sharing puppet snippets as modules / patches... is it obviated by github?
[2008/04/17 01:11:21] <rickbradley> just really getting into using github, I think it's a game-changer for open source projects
[2008/04/17 01:11:41] <lak> i don't think it's obviated, but it would certainly make sense to use it as a back-end
[2008/04/17 01:12:00] <rickbradley> yeah, it's making things almost trivial when you want to commit to an open source project
[2008/04/17 01:12:11] <lak> yeah
[2008/04/17 01:12:38] <rickbradley> we've gotten patches already for stuff ogc has on there, and I just got a patch into ruby-processing because I was playing with it and decided to click "pull request" on the github site; woke up and my code was in the main tree
[2008/04/17 01:14:40] * rickbradley hikes
[2008/04/17 01:15:56] @ martha joined channel #puppet
[2008/04/17 01:17:06] <shiruken> so it just processes email like Linus' scripts?
[2008/04/17 01:17:21] <shiruken> or...
[2008/04/17 01:17:28] @ dysinger joined channel #puppet
[2008/04/17 01:18:25] @ agile joined channel #puppet
[2008/04/17 01:19:12] <lak> shiruken: no, it's basically just a place people can publish their git repos
[2008/04/17 01:19:32] <lak> altho it apparently has some ability to relate one repo to another
[2008/04/17 01:19:42] <shiruken> hrm
[2008/04/17 01:19:52] * lak coffee &
[2008/04/17 01:20:22] <shiruken> just a general purpose git.kernel.org then :)
[2008/04/17 01:20:48] @ Quit: jeckersb: "Leaving"
[2008/04/17 01:22:41] <chillitom> with the 'mount' type does atboot default to true or false?
[2008/04/17 01:23:59] <ashp> god i'm starting to really hate vmware, it's making testing puppet so frustrating
[2008/04/17 01:25:20] @ oxtail joined channel #puppet
[2008/04/17 01:26:03] <duritong> actually I'd appreciate some place with modules as git repos. DavidS once proposed wiki:CommonModules however it might need some people who'd really like to start it
[2008/04/17 01:26:05] <gepetto_> duritong: wiki:CommonModules is http://reductivelabs.com/trac/puppet/wiki/CommonModules
[2008/04/17 01:27:05] <thom> a project on github to aggregate them would seem reasonable
[2008/04/17 01:28:39] <duritong> yeah and some people willing them to maintain, as well a defined process for it
[2008/04/17 01:30:19] @ Quit: stevil: Connection timed out
[2008/04/17 01:32:06] <thom> aye
[2008/04/17 01:47:38] @ Quit: tim|mb: "This computer has gone to sleep"
[2008/04/17 01:50:07] @ kposs joined channel #puppet
[2008/04/17 01:54:20] <lak> thom: yeah, that's what i'm thinking -- host them at github, but have a site tracking them elsewhere
[2008/04/17 01:54:24] <lak> unless github makes it easy
[2008/04/17 01:57:57] @ mikepea joined channel #puppet
[2008/04/17 01:58:19] <duritong> could we use one github-repo for all modules or for each module one github-repo?
[2008/04/17 01:59:00] <lak> one repo per module, definitely
[2008/04/17 02:00:01] <duritong> and one maintainer therefor?
[2008/04/17 02:01:05] @ stevil joined channel #puppet
[2008/04/17 02:06:09] @ patobrien joined channel #puppet
[2008/04/17 02:06:46] <lak> per module, yes, i assume so
[2008/04/17 02:06:52] <lak> altho github makes it wicked-easy to fork
[2008/04/17 02:06:58] <duritong> yeah
[2008/04/17 02:07:28] <duritong> but how about a wiki list with modules and git-repos of people using the module?
[2008/04/17 02:10:54] <duritong> actually this might get to less maintained modules
[2008/04/17 02:11:42] <duritong> so maybe there should be one maintained github-repo for the maintainer of the module and people should be free to add their git-repos as additional links to the list
[2008/04/17 02:13:20] @ Quit: patobrien: "Leaving"
[2008/04/17 02:14:12] @ Quit: markl__: "Lost terminal"
[2008/04/17 02:16:49] @ zobbo joined channel #puppet
[2008/04/17 02:18:44] @ kolla joined channel #puppet
[2008/04/17 02:20:35] @ \ask joined channel #puppet
[2008/04/17 02:20:41] @ Quit: \ask: Read error: 104 (Connection reset by peer)
[2008/04/17 02:21:15] @ \ask joined channel #puppet
[2008/04/17 02:21:21] @ jfluhmann left channel #puppet ("Open Source Symposium - http://www.texasoss.org/")
[2008/04/17 02:26:03] @ Quit: DerekW: "Leaving"
[2008/04/17 02:36:38] @ randybias joined channel #puppet
[2008/04/17 02:45:22] @ Quit: skopii_: Read error: 113 (No route to host)
[2008/04/17 02:47:19] @ mikearr joined channel #puppet
[2008/04/17 02:47:39] @ cmoates- joined channel #puppet
[2008/04/17 02:47:45] @ Quit: cmoates-: Client Quit
[2008/04/17 02:50:31] @ Quit: jvanzyl:
[2008/04/17 02:52:42] @ Quit: cmoates_: Read error: 110 (Connection timed out)
[2008/04/17 02:53:02] @ stahnma joined channel #puppet
[2008/04/17 02:56:31] @ lwilke joined channel #puppet
[2008/04/17 02:56:36] @ Quit: stahnma_: Read error: 104 (Connection reset by peer)
[2008/04/17 02:56:44] <ballpointpenthie> I used ralsh to generate my yum repositories, and now I get the following error:
[2008/04/17 02:56:45] <ballpointpenthie> (//Node[ipa.unrulymedia.com]/yum/Yumrepo[livna]) Failed to retrieve current state of resource: /etc/yum.repos.d/livna-development-debuginfo.repo:5: Can't parse 'http://livna.cat.pdx.edu/fedora/development/$basearch/debug/'
[2008/04/17 02:58:09] @ Quit: tmz: Remote closed the connection
[2008/04/17 02:58:14] @ tmz joined channel #puppet
[2008/04/17 02:59:38] <lwilke> hi i just setup a new puppet installation and get this error msg
[2008/04/17 02:59:42] <lwilke> Denying authenticated client ad03.cluster.local(192.168.243.23) access to fileserver.describe
[2008/04/17 03:00:09] <lwilke> Allowing authenticated client ad03.cluster.local(192.168.243.23) access to puppetmaster.freshness
[2008/04/17 03:00:09] <lwilke> debug: Allowing authenticated client ad03.cluster.local(192.168.243.23) access to puppetmaster.getconfig
[2008/04/17 03:00:11] <lwilke> debug: Our client is remote
[2008/04/17 03:00:37] <lwilke> can anybody help me? in the fileserver.conf i have allow *
[2008/04/17 03:00:58] <lwilke> this is puppet 0.23.2
[2008/04/17 03:01:43] @ cmoates- joined channel #puppet
[2008/04/17 03:02:01] @ cmoates- is now known as cmoates
[2008/04/17 03:02:15] @ Quit: tmz_: "leaving"
[2008/04/17 03:03:56] @ Quit: ballpointpenthie: "Leaving"
[2008/04/17 03:06:35] <duritong> lwkile: what do you have in your fileserver.conf?
[2008/04/17 03:08:02] <lwilke> ah just found it, i forgot the [fileserver] allow stuff in namespaceauth.conf
[2008/04/17 03:08:12] <lwilke> *puh*
[2008/04/17 03:08:50] @ Quit: mikepea: Read error: 113 (No route to host)
[2008/04/17 03:09:42] @ Quit: a-priori:
[2008/04/17 03:10:44] @ muerr joined channel #puppet
[2008/04/17 03:16:20] @ shake-n-bake joined channel #puppet
[2008/04/17 03:18:33] @ brscott joined channel #puppet
[2008/04/17 03:34:06] @ shadoi joined channel #puppet
[2008/04/17 03:37:09] @ Quit: zobbo: Read error: 110 (Connection timed out)
[2008/04/17 03:37:37] @ plathrop joined channel #puppet
[2008/04/17 03:41:57] <shadoi> lak: hey I wrote a parser function for s3, it works fine on 0.24.4 but on 0.23.2 I get this: http://pastie.caboo.se/pastes/181539
[2008/04/17 03:42:05] @ rickbradley left channel #puppet ()
[2008/04/17 03:42:15] <lak> shadoi: brb
[2008/04/17 03:45:55] <randybias> lak: yer help with shadoi's issue there will be greatly appreciated by yours truly. it's blocking us at the moment
[2008/04/17 03:48:40] @ jvanzyl joined channel #puppet
[2008/04/17 03:53:01] @ heydrick joined channel #puppet
[2008/04/17 03:53:05] @ heydrick left channel #puppet ()
[2008/04/17 04:00:52] @ Quit: lutter: "Leaving."
[2008/04/17 04:01:48] @ brscott left channel #puppet ()
[2008/04/17 04:05:15] <plathrop> Argh.
[2008/04/17 04:06:19] @ markl__ joined channel #puppet
[2008/04/17 04:06:31] @ mikepea joined channel #puppet
[2008/04/17 04:07:40] <shadoi> lunch, bbl
[2008/04/17 04:10:32] @ flakrat joined channel #puppet
[2008/04/17 04:13:27] <flakrat> I need to use a case statement to selectively do something on CentOS 5 and RHEL 5 systems and not do it on other systems (default: { }) , what's the best facter var to use for this?
[2008/04/17 04:14:28] <flakrat> I see lsbdistrelease => 4 for RHEL4 and 5 for CentOS5 systems, but I'm not sure if this might conflict with other distributions, like Fedora or SLES
[2008/04/17 04:15:06] <duritong> $operatingsystem
[2008/04/17 04:15:57] @ Quit: jvanzyl:
[2008/04/17 04:16:04] @ ckm joined channel #puppet
[2008/04/17 04:17:10] <flakrat> that only returns RedHat or CentOS, but not the release, can I do something like: case $operatingsystem$lsbdistrelease { CentOS5: { something }
[2008/04/17 04:17:27] <flakrat> concatinate two vars in a case statement
[2008/04/17 04:18:05] <duritong> why not do a nested case statement?
[2008/04/17 04:18:16] <duritong> or write your own fact?
[2008/04/17 04:18:33] <duritong> which will simply concatenate the two?
[2008/04/17 04:18:46] <muerr> writing facts is pretty easy :)
[2008/04/17 04:18:50] <windowsrefund> my puppetmasterd logs are saying that my file server mounts are not mounted
[2008/04/17 04:18:54] <flakrat> duritong, oh yeah I forgot about that
[2008/04/17 04:19:17] <muerr> windowsrefund: are you using mount resource types?
[2008/04/17 04:19:21] <windowsrefund> even though i've already verified the contents of my puppet.conf file
[2008/04/17 04:19:47] <windowsrefund> muerr, I don't understand the question
[2008/04/17 04:20:19] <muerr> oh - you're talking about like, /etc/puppet/fileserver.conf mounts?
[2008/04/17 04:20:27] <windowsrefund> yes
[2008/04/17 04:20:28] <muerr> not mount resources in a manifest (/etc/fstab entries)
[2008/04/17 04:20:31] <muerr> okay nm.
[2008/04/17 04:20:32] <windowsrefund> right
[2008/04/17 04:21:06] <windowsrefund> could have something to do with the server name
[2008/04/17 04:21:08] @ Quit: mikepea:
[2008/04/17 04:21:09] <windowsrefund> Apr 16 14:09:25 e4kickstart1 puppetd[16202]: (//Node[e4kickstart1]/east4/Ldap_client[oastechops]/File[system-auth]/source) Could not describe /dist/ldap_client/system-auth: Fileserver module 'dist' not mounted
[2008/04/17 04:22:09] @ bch joined channel #puppet
[2008/04/17 04:22:20] <bch> /join #python
[2008/04/17 04:22:24] <bch> oops
[2008/04/17 04:23:17] <muerr> bch you mean s/python/ruby/ right? :-)
[2008/04/17 04:23:45] @ bch is now known as bch820
[2008/04/17 04:24:01] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/17 04:24:21] <bch820> :) I develop in both
[2008/04/17 04:24:39] <bch820> i suck at both equally
[2008/04/17 04:25:51] <muerr> I've written more Python than Ruby and Perl combined, but I'm still terrible at it.
[2008/04/17 04:26:53] <flakrat> muerr, duritong, on the wiki page AddingFacts, they mention having to start puppetd with --factsync, or adding factsync = true to puppetd.conf, is this on the puppetmaster or the clients, or both?
[2008/04/17 04:27:14] <windowsrefund> ah, figured it out
[2008/04/17 04:28:18] <muerr> flakrat: not sure, i don't see that on any of my systems... though the only place we're using a custom fact isn't fully implemented yet.
[2008/04/17 04:31:28] <flakrat> muerr, are you using a custom fact by setting a system environment variable, or by adding it the puppet way (creating an .rb file in /var/lib/puppet/facts)?
[2008/04/17 04:32:16] @ lutter joined channel #puppet
[2008/04/17 04:33:40] <muerr> puppet way - /var/lib/puppet/facts/yule.rb
[2008/04/17 04:36:30] <flakrat> hmm, I'll try that without messing with the config file changes
[2008/04/17 04:38:24] @ verwilst joined channel #puppet
[2008/04/17 04:42:19] <plathrop> pastie: show me some love
[2008/04/17 04:42:20] @ andrewcshafer joined channel #puppet
[2008/04/17 04:45:18] <pastie> http://pastie.org/181845 by plathrop.
[2008/04/17 04:45:48] <plathrop> So, I'm still having this maddening problem with openntpd
[2008/04/17 04:46:11] <plathrop> I've pasted my manifest above.
[2008/04/17 04:46:17] <plathrop> Does anyone see a problem with that?
[2008/04/17 04:46:50] <plathrop> What's happening is this:
[2008/04/17 04:47:07] <plathrop> We use FAI to bootstrap a node just to the point where Puppet can take over.
[2008/04/17 04:47:24] <plathrop> When puppet runs it installs all the things we want on our basic node.
[2008/04/17 04:47:37] <plathrop> Since we are using Kerberos, it is pretty critical that the clock gets set.
[2008/04/17 04:48:41] <plathrop> But with the manifest I pasted, Puppet gives:
[2008/04/17 04:48:41] <plathrop> Apr 15 06:55:43 ash023 puppetd[3220]: (//Node[default]/digg::basic-node/openntpd::common/Package[openntpd]/ensure) ensure changed 'purged' to 'present'
[2008/04/17 04:48:42] <plathrop> Apr 15 06:55:43 ash023 puppetd[3220]: (//Node[default]/digg::basic-node/File[/etc/default/openntpd]/content) changed file contents from {md5}1eb683e1707d264e3f91da135b2593a8 to {md5}2c9769ab8cc1e18b696550fe7c7bfdd2
[2008/04/17 04:48:42] <plathrop> Apr 15 06:55:43 ash023 puppetd[3220]: (//Node[default]/digg::basic-node/openntpd::common/File[/etc/openntpd/ntpd.conf]/content) changed file contents from {md5}5d281f0dbf2de00a8ca380daf0821173 to {md5}d58cba063072bc15e42b172774f460b3
[2008/04/17 04:48:43] <plathrop> Apr 15 06:55:43 ash023 puppetd[3220]: (//Node[default]/digg::basic-node/openntpd::common/Service[openntpd]) Triggering 'refresh' from 2 dependencies
[2008/04/17 04:48:46] <plathrop> Apr 15 06:55:43 ash023 puppetd[3220]: (//Node[default]/digg::basic-node/openntpd::common/Service[openntpd]) Failed to call refresh on Service[openntpd]: Could not start Service[openntpd]: Execution of '/etc/init.d/openntpd start' returned 256: at /etc/puppet/modules/openntpd/manifests/init.pp:17
[2008/04/17 04:49:07] <plathrop> Running the command /etc/init.d/openntpd start by hand works fine
[2008/04/17 04:49:15] <plathrop> The second run of Puppet works fine.
[2008/04/17 04:49:39] <muerr> yeah kerberos is a little picky about clock settings :)
[2008/04/17 04:50:10] <plathrop> I've even tried taking out the "service" resource, bootstrapping a machine, and seeing if the first run fails by hand... it doesn't.
[2008/04/17 04:50:28] <plathrop> It only happens when the service is started by Puppet, and only the first time on any given node.
[2008/04/17 04:50:53] <muerr> does this happen every time you run puppet or just the first time
[2008/04/17 04:50:57] <plathrop> Also, I've checked and this is really a failure, not just a weird return code.
[2008/04/17 04:51:10] <plathrop> muerr: Only the first time.
[2008/04/17 04:51:50] <muerr> so it fails on the bootstrap/initial run of puppet, but when puppetd runs again say 30 minutes later (or manually via shelL), its fine?
[2008/04/17 04:51:55] <plathrop> Maybe I stress about it too much and I should just wait until puppet runs again, but it is really strange
[2008/04/17 04:51:58] <plathrop> muerr: Yes
[2008/04/17 04:52:49] <muerr> plathrop: i've had similar issues with user accounts in our config. we use ssh keys and no passwords, so users can't login if the key isn't there. sometimes the initial run of puppet doesn't get the key copied over :-\
[2008/04/17 04:53:21] [msg(#puppet)] ::puppet:: Reports And Reporting edited by RNHurt @ http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting
[2008/04/17 04:53:55] <plathrop> muerr: It's ., isn't it?
[2008/04/17 04:54:00] <plathrop> infuriating
[2008/04/17 04:54:06] <plathrop> grr. I can type today
[2008/04/17 04:54:41] @ jvanzyl joined channel #puppet
[2008/04/17 04:54:47] <muerr> Well, I don't think we've had an issue with our ntp module. we're using the native ntp package installed w/ CentOS.
[2008/04/17 04:55:22] <muerr> http://pastie.org/181855
[2008/04/17 04:57:47] <plathrop> Well, for now I think I'm just going to move on.
[2008/04/17 04:58:08] @ shenson is now known as shenson_not_here
[2008/04/17 04:58:55] @ shenson_not_here is now known as shenson
[2008/04/17 05:00:48] @ a-priori joined channel #puppet
[2008/04/17 05:09:25] @ stick joined channel #puppet
[2008/04/17 05:12:41] @ Quit: oxtail: Read error: 110 (Connection timed out)
[2008/04/17 05:16:16] @ Quit: ckm: Read error: 110 (Connection timed out)
[2008/04/17 05:20:51] <ashp> I. Have. Defeated. LDAP.
[2008/04/17 05:20:57] <ashp> I win, after a long and terrible 4 day battle.
[2008/04/17 05:22:04] <muerr> Congratulations. Did you get a level and some loot?
[2008/04/17 05:22:33] <ashp> If ldap gave out experience I'd be level 18 by now. :)
[2008/04/17 05:22:46] <ashp> I forced it to let me define roles under uid=name, and use those to construct groups
[2008/04/17 05:22:54] <muerr> At least, I'm pretty sure LDAP is an epic-level encounter.
[2008/04/17 05:22:54] <ashp> I can't get a list of members of a unix group anymore, but I'm hoping nothing uses that
[2008/04/17 05:23:05] <ashp> LDAP drops terrible loot, :)
[2008/04/17 05:29:02] @ Quit: kolla: Read error: 104 (Connection reset by peer)
[2008/04/17 05:29:02] @ kolla joined channel #puppet
[2008/04/17 05:29:02] @ Quit: Ned_: Read error: 104 (Connection reset by peer)
[2008/04/17 05:29:27] @ Ned joined channel #puppet
[2008/04/17 05:33:53] @ kolla_ joined channel #puppet
[2008/04/17 05:34:48] @ Quit: kolla: Read error: 104 (Connection reset by peer)
[2008/04/17 05:36:09] @ Quit: Ned: Remote closed the connection
[2008/04/17 05:38:03] @ Quit: thecat: "Leaving."
[2008/04/17 05:39:30] <Demosthenes> in exec, can creates not be an array of files (ie: more than one file?)
[2008/04/17 05:39:57] @ Quit: kolla_: Read error: 104 (Connection reset by peer)
[2008/04/17 05:41:27] @ strerror_ joined channel #puppet
[2008/04/17 05:41:47] @ kolla_ joined channel #puppet
[2008/04/17 05:42:33] @ Ned joined channel #puppet
[2008/04/17 05:44:55] @ wibbit joined channel #puppet
[2008/04/17 05:45:16] <flakrat> so here's a question, I'm creating a custom fact by concatinating two facter facts, how do I do that? like this: setcode do $fact1$fact2 end?
[2008/04/17 05:45:34] <flakrat> or do I need to do some fancy ruby code
[2008/04/17 05:45:36] <flakrat> :-)
[2008/04/17 05:50:54] <benp-> i dont know if you can use other facts in custom facts, but it should be easy if you can
[2008/04/17 05:52:02] <nigelk> Facter.value(:foo)
[2008/04/17 05:52:16] <nigelk> that's how you use one fact inside another
[2008/04/17 05:52:24] <benp-> oh right
[2008/04/17 05:52:28] <flakrat> cool, thanks nigelk
[2008/04/17 05:52:35] <nigelk> np
[2008/04/17 05:54:50] <benp-> this is strange, when i run an apache or nginx proxy on debian- the proxied requests always come from 127.0.0.1, on centos with the same proxy config the requests hit the puppetmaster with the server's addresses.
[2008/04/17 05:55:29] @ Quit: Ned: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:30] @ Quit: strerror_: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:30] @ Quit: shake-n-bake: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:30] @ Quit: stevil: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:30] @ Quit: nigelk: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:30] @ Quit: strerror_work: heinlein.freenode.net irc.freenode.net
[2008/04/17 05:55:40] <shadoi> benp-: they usually add an X-Forwarded-For header with the real IP
[2008/04/17 05:55:45] <benp-> are people that use nginx/pound/apache & mongrel on debian using 127.0.0.1 in namespaceauth.conf?
[2008/04/17 05:56:03] @ Ned joined channel #puppet
[2008/04/17 05:56:03] @ strerror_ joined channel #puppet
[2008/04/17 05:56:03] @ shake-n-bake joined channel #puppet
[2008/04/17 05:56:03] @ stevil joined channel #puppet
[2008/04/17 05:56:04] @ nigelk joined channel #puppet
[2008/04/17 05:56:04] @ strerror_work joined channel #puppet
[2008/04/17 05:56:10] <shadoi> I'm surprised centos passes the real IP, maybe that's a patch
[2008/04/17 05:56:30] @ kolla_ is now known as kolla
[2008/04/17 05:56:52] <benp-> ahh, that explains it, thanks shadoi
[2008/04/17 05:58:05] @ Quit: duritong: Read error: 110 (Connection timed out)
[2008/04/17 06:04:22] @ Quit: kposs:
[2008/04/17 06:10:00] @ Quit: strerror_work: Connection timed out
[2008/04/17 06:10:01] @ pawalls joined channel #puppet
[2008/04/17 06:11:06] @ shake-n-bake_ joined channel #puppet
[2008/04/17 06:14:25] @ Quit: wibbit: "Ex-Chat"
[2008/04/17 06:15:28] <flakrat> Thanks for the help and suggestions on custom facts, really cool. here's what I came up with to create a redhatrelease fact: setcode { Facter.value('operatingsystem') + Facter.value('lsbdistrelease') }
[2008/04/17 06:18:29] <nigelk> cool
[2008/04/17 06:23:52] <benp-> heh i have a fact with the same name
[2008/04/17 06:24:40] <flakrat> cool
[2008/04/17 06:24:52] <benp-> http://pastie.caboo.se/181914 i didnt want to install lsb but i needed the release number
[2008/04/17 06:25:37] <flakrat> hey, that one is fancy
[2008/04/17 06:26:19] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/04/17 06:35:47] @ Quit: dysinger:
[2008/04/17 06:43:53] @ thecat joined channel #puppet
[2008/04/17 06:44:17] <nigelk> confine :kernel => foo
[2008/04/17 06:44:23] <nigelk> is one of the nicest syntax statements ever
[2008/04/17 06:44:44] <nigelk> i was playing around though, and it looks like you can confine to any built-in facter fact, but not anything you've defined
[2008/04/17 06:46:26] * plathrop doesn't know about confine
[2008/04/17 06:46:32] <lak> nigelk: if so, it's just a loading order problem
[2008/04/17 06:46:52] <lak> either that, or the server's not loading your custom fact, even though the clients are
[2008/04/17 06:47:03] <nigelk> hmmm.
[2008/04/17 06:47:13] @ nevele left channel #puppet ()
[2008/04/17 06:47:20] <lak> there's nothing about it that inherently only supports builtin facts
[2008/04/17 06:47:42] <nigelk> ok. will poke around more. we can't enforce loading order for facts though can we?
[2008/04/17 06:47:52] @ yure joined channel #puppet
[2008/04/17 06:48:01] <lak> this is on the client?
[2008/04/17 06:48:05] <nigelk> yeah
[2008/04/17 06:48:28] <nigelk> I was just testing standalone with FACTERLIB=/var/foo facter
[2008/04/17 06:49:13] <lak> you're getting a failure you don't expect, or the opposite? either way, when?
[2008/04/17 06:49:26] <nigelk> lemme test one now in between on call pages
[2008/04/17 06:53:16] <nigelk> I have no idea what I was doing wrong before, but it works fine now. You're right
[2008/04/17 06:53:18] <nigelk> that's even nicer
[2008/04/17 06:53:27] <nigelk> you can have a fact that is confined to the result of another fact
[2008/04/17 06:53:37] <nigelk> which is quite common for us
[2008/04/17 06:53:46] <nigelk> like: confine :hardware_class => "laptop"
[2008/04/17 06:54:27] <plathrop> Where is the documentation for this?
[2008/04/17 06:57:18] * lak laughs
[2008/04/17 06:57:44] <nigelk> plathrop: the community hasn't written it yet I think is the right answer :)
[2008/04/17 06:57:45] <plathrop> Oh, I see :-P
[2008/04/17 06:58:13] <nigelk> I noticed it in other facts, and so it crept into how we do all our facts here
[2008/04/17 06:58:27] <lak> providers use a very similar syntax
[2008/04/17 06:58:42] @ Quit: andrewcshafer:
[2008/04/17 07:06:47] @ Quit: stevil:
[2008/04/17 07:08:32] @ \ask_ joined channel #puppet
[2008/04/17 07:14:06] @ shenson is now known as shenson_not_here
[2008/04/17 07:14:06] @ Quit: lutter: "Leaving."
[2008/04/17 07:19:26] @ Quit: waawaamilk: "leaving"
[2008/04/17 07:20:17] @ Quit: \ask_:
[2008/04/17 07:22:53] @ dysinger joined channel #puppet
[2008/04/17 07:24:29] @ Quit: \ask: Read error: 104 (Connection reset by peer)
[2008/04/17 07:28:35] @ \ask joined channel #puppet
[2008/04/17 07:29:50] @ Quit: mccune: "Leaving"
[2008/04/17 07:30:13] @ Quit: sigmonsays: Remote closed the connection
[2008/04/17 07:33:36] <randybias> lak: you around?
[2008/04/17 07:33:44] <lak> kind of
[2008/04/17 07:34:33] <lak> what's up?
[2008/04/17 07:34:44] <randybias> sending in a pm
[2008/04/17 07:36:22] @ Quit: muerr: "Leaving."
[2008/04/17 07:36:36] <randybias> maybe you aren't seeing my private messages
[2008/04/17 07:36:52] <lak> i'm not
[2008/04/17 07:37:04] <fujin> You've gotta get a registered nick
[2008/04/17 07:37:09] <lak> you have to be registered and identified with nickserv
[2008/04/17 07:37:36] <randybias> ya
[2008/04/17 07:37:42] <randybias> I thought that was auto-setup with my client
[2008/04/17 07:37:51] <randybias> but now I'm thinking I changed my nick and never reset it
[2008/04/17 07:40:19] @ Quit: dysinger:
[2008/04/17 07:40:33] @ Quit: jvanzyl:
[2008/04/17 07:40:47] <randybias> 1sec
[2008/04/17 07:40:50] @ Quit: randybias:
[2008/04/17 07:41:04] @ randybias joined channel #puppet
[2008/04/17 07:41:11] <randybias> OK
[2008/04/17 07:41:13] <randybias> very good
[2008/04/17 07:45:31] @ martha left channel #puppet ()
[2008/04/17 07:45:46] @ kposs joined channel #puppet
[2008/04/17 07:46:14] @ Quit: verwilst: "Ex-Chat"
[2008/04/17 07:49:01] @ ezralini_ joined channel #puppet
[2008/04/17 07:49:01] @ Quit: ezralini: Read error: 104 (Connection reset by peer)
[2008/04/17 07:50:08] <kposs> on a current thread on the mailing list there is syntax I have never seen before
[2008/04/17 07:50:16] <kposs> class ssh::disable inherits ssh
[2008/04/17 07:50:45] <kposs> I looked in the style guide, language tutorial, etc for :: and what it does
[2008/04/17 07:50:53] <kposs> anyone care to explain it to me?
[2008/04/17 07:51:09] @ Quit: stick: "Leaving"
[2008/04/17 07:51:21] @ stick joined channel #puppet
[2008/04/17 07:52:02] <fujin> It's namespacing.
[2008/04/17 07:52:13] <jamesturnbull> kposs: namespacing
[2008/04/17 07:52:20] @ dysinger joined channel #puppet
[2008/04/17 07:52:23] <fujin> jamesturnbull: does it actually achieve anything?
[2008/04/17 07:52:27] <jamesturnbull> fujin: lol - great minds... :)
[2008/04/17 07:52:34] <fujin> you could just as likely say class b inherits a {}
[2008/04/17 07:52:58] <jamesturnbull> fujin: yeah - but it's great with modules and the like to describe structure
[2008/04/17 07:53:18] <fujin> mm guess so
[2008/04/17 07:53:19] <kposs> dig it, that is what I have been doing. I was just wondering if there was something more that it did that I might use
[2008/04/17 07:53:31] <kposs> I havent dove into modules yet
[2008/04/17 07:53:41] <fujin> they're worth looking at
[2008/04/17 07:53:56] <jamesturnbull> fujin: for example you might have ten "server" classes in a module
[2008/04/17 07:54:10] <jamesturnbull> fujin: this allows that by "mysql::server", postfix::server etc etc
[2008/04/17 07:54:10] <fujin> Yeah, i use it for my postfix module
[2008/04/17 07:54:17] <fujin> postfix::relay, postfix::filter, postfix::host
[2008/04/17 07:54:52] <plathrop> I just wish namespacing allowed me to do things like site::ldap::client inherits ldap::client
[2008/04/17 07:55:21] <fujin> that's just class inheritance - no reason for that to not work
[2008/04/17 07:55:39] <kposs> I am working on ldap client config in puppet right now
[2008/04/17 07:55:39] @ lutter joined channel #puppet
[2008/04/17 07:56:47] * fujin moved away from LDAP
[2008/04/17 07:56:56] <plathrop> fujin: It doesn't work because of a naming constraint
[2008/04/17 07:57:00] <kposs> plathrop: are you talking about different servers in the configs based on what location the server is in
[2008/04/17 07:58:17] <jamesturnbull> plathrop: what's the constraint and is there a ticket for it>
[2008/04/17 07:58:40] <plathrop> kposs: No I'm not. I wrote a module for ldap that includes ldap::master and ldap::client. Then there is some site-specific stuff I want to do. So in my "site" module I want a class site::ldap::client (for example)
[2008/04/17 07:58:45] <plathrop> jamesturnbull: There is a ticket.
[2008/04/17 07:58:48] * plathrop goes to find it.
[2008/04/17 07:58:52] @ Quit: randybias: "bbiaw"
[2008/04/17 08:00:06] @ jvanzyl joined channel #puppet
[2008/04/17 08:00:52] <fujin> Parent classes must have dissimilar names at /tmp/./test.pp:13 on node junglist
[2008/04/17 08:00:58] <fujin> heh - that's the constraint
[2008/04/17 08:01:04] <fujin> pastie: hit me wit ya riddim stick
[2008/04/17 08:01:05] <pastie> fujin: are you sure, it might hurt?
[2008/04/17 08:01:14] <fujin> pastie: !
[2008/04/17 08:01:21] @ Quit: lak:
[2008/04/17 08:01:30] * plathrop spit-takes.
[2008/04/17 08:01:35] <plathrop> What the damn!?!?
[2008/04/17 08:01:35] <pastie> http://pastie.org/181989 by fujin.
[2008/04/17 08:02:22] <plathrop> jamesturnbull: Yeah fujin got it. I can't find the ticket, though
[2008/04/17 08:03:04] <fujin> instead of doing node::class namespacing plathrop I tend to build 'nodeclasses', which is pretty much a class which includes all the classes for that node
[2008/04/17 08:03:10] <fujin> easily duplicatable
[2008/04/17 08:03:23] <fujin> dns::node:recursive mail::node::filter
[2008/04/17 08:03:42] <plathrop> fujin: I'm not sure I follow
[2008/04/17 08:03:48] <plathrop> What I'm doing has nothing to do with nodes
[2008/04/17 08:03:55] <fujin> oh
[2008/04/17 08:03:56] <fujin> nm then
[2008/04/17 08:03:58] @ Quit: flakrat: "Leaving"
[2008/04/17 08:04:28] <plathrop> I'm just trying to maintain the distinction between modules (meant to be shared) and site-specific stuff (would get me fired to share)
[2008/04/17 08:04:42] <plathrop> I thought the best way to do this would be classical inheritance.
[2008/04/17 08:04:51] <plathrop> Maybe I'm misunderstanding the purpose of namespacing though
[2008/04/17 08:04:53] @ Quit: dysinger: Read error: 104 (Connection reset by peer)
[2008/04/17 08:06:17] <plathrop> For now, I work around it by calling it site::ldap-client instead of site::ldap::client
[2008/04/17 08:06:48] <fujin> ah, here there is no distinction
[2008/04/17 08:06:54] <fujin> everythign would get me fired to share
[2008/04/17 08:06:56] <fujin> (here = work)
[2008/04/17 08:08:20] <plathrop> fujin: Ah, that kinds sucks.
[2008/04/17 08:16:18] @ steinmb joined channel #puppet
[2008/04/17 08:22:58] @ andrewcshafer joined channel #puppet
[2008/04/17 08:28:06] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/17 08:28:47] @ Quit: jvanzyl:
[2008/04/17 08:39:08] @ Quit: ezralini_:
[2008/04/17 08:56:54] @ jvanzyl joined channel #puppet
[2008/04/17 09:00:43] @ jeckersb joined channel #puppet
[2008/04/17 09:19:41] @ jeckersb_ joined channel #puppet
[2008/04/17 09:20:24] @ Quit: jeckersb: Read error: 113 (No route to host)
[2008/04/17 09:22:27] @ Quit: kolla: Remote closed the connection
[2008/04/17 09:23:21] @ Quit: markl__: "Lost terminal"
[2008/04/17 09:27:40] @ johnf joined channel #puppet
[2008/04/17 09:32:30] @ Quit: jeckersb_: Read error: 113 (No route to host)
[2008/04/17 09:34:41] <plathrop> I figured out the problem!
[2008/04/17 09:34:46] <plathrop> (with openntpd)
[2008/04/17 09:38:15] @ jeckersb joined channel #puppet
[2008/04/17 09:39:35] <benp-> what was the prob
[2008/04/17 09:39:56] <plathrop> Part of what I was doing was forcing openntpd to reset the clock.
[2008/04/17 09:40:04] <benp-> -s ?
[2008/04/17 09:40:18] <plathrop> Yes. And that caused the init script to freak out
[2008/04/17 09:40:28] <plathrop> Not sure why, but I can reproduce the problem by hand
[2008/04/17 09:40:36] <benp-> weird
[2008/04/17 09:42:04] @ shake-n-bake joined channel #puppet
[2008/04/17 09:42:58] @ lak joined channel #puppet
[2008/04/17 09:43:03] <fujin> plathrop: why'd you opt for openntpd instead of ntpd?
[2008/04/17 09:43:17] <plathrop> fujin: Existing convention
[2008/04/17 09:43:26] <plathrop> Already in place
[2008/04/17 09:43:32] <plathrop> Just Puppetizing :-)
[2008/04/17 09:45:49] <fujin> ah right
[2008/04/17 09:46:01] <fujin> we used to use openntpd aswell, but the init script is kinda funky in Ubuntu
[2008/04/17 09:46:12] <fujin> puppet would always be trying to start the daemon
[2008/04/17 09:49:45] <plathrop> This is great; I'll just set the time using ntpdate during the bootstrap and then I don't have to worry about the time suddenly changing and causing a failure
[2008/04/17 09:51:06] @ steinmb_ joined channel #puppet
[2008/04/17 09:59:20] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out)
[2008/04/17 09:59:26] <Demosthenes> lab42?
[2008/04/17 10:03:44] @ Quit: steinmb: Connection timed out
[2008/04/17 10:04:38] @ Quit: jvanzyl:
[2008/04/17 10:08:38] @ Quit: steinmb_: Connection timed out
[2008/04/17 10:09:00] @ steinmb joined channel #puppet
[2008/04/17 10:09:41] @ Quit: kposs:
[2008/04/17 10:13:03] @ steinmb_ joined channel #puppet
[2008/04/17 10:15:25] @ Quit: shake-n-bake:
[2008/04/17 10:16:28] @ Quit: lwilke: "Has to sleep"
[2008/04/17 10:20:08] @ Quit: a-priori:
[2008/04/17 10:21:41] @ jvanzyl joined channel #puppet
[2008/04/17 10:23:26] @ shake-n-bake joined channel #puppet
[2008/04/17 10:24:05] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/04/17 10:26:22] @ a-priori joined channel #puppet
[2008/04/17 10:28:37] @ Quit: a-priori: Client Quit
[2008/04/17 10:28:54] @ Quit: steinmb: No route to host
[2008/04/17 10:30:01] @ Quit: lak:
[2008/04/17 10:32:10] @ Quit: shake-n-bake:
[2008/04/17 10:35:41] @ Quit: trombik_: Client Quit
[2008/04/17 10:39:25] @ Quit: plathrop:
[2008/04/17 10:39:26] @ a-priori joined channel #puppet
[2008/04/17 10:44:25] @ Quit: genehack: Remote closed the connection
[2008/04/17 10:48:41] @ Quit: a-priori:
[2008/04/17 10:51:55] @ Quit: agile: Remote closed the connection
[2008/04/17 10:52:58] @ Quit: steinmb_: Read error: 110 (Connection timed out)
[2008/04/17 11:02:45] @ steinmb joined channel #puppet
[2008/04/17 11:07:16] @ Quit: shadoi: "leaving"
[2008/04/17 11:13:17] @ steinmb_ joined channel #puppet
[2008/04/17 11:23:14] @ cmoates_ joined channel #puppet
[2008/04/17 11:26:07] @ Quit: steinmb: Read error: 113 (No route to host)
[2008/04/17 11:33:51] @ steinmb joined channel #puppet
[2008/04/17 11:34:12] @ Quit: steinmb_: Read error: 113 (No route to host)
[2008/04/17 11:39:44] @ Quit: cmoates: Read error: 110 (Connection timed out)
[2008/04/17 11:49:57] @ steinmb_ joined channel #puppet
[2008/04/17 11:50:31] @ Quit: steinmb: Read error: 113 (No route to host)
[2008/04/17 12:11:48] @ a-priori joined channel #puppet
[2008/04/17 12:12:29] @ Quit: a-priori: Client Quit
[2008/04/17 12:14:09] @ stick joined channel #puppet
[2008/04/17 12:16:48] @ Quit: fujin: "leaving"
[2008/04/17 12:17:59] <zirpu> cheezy.
[2008/04/17 12:18:04] @ johnf joined channel #puppet
[2008/04/17 12:21:33] @ Quit: jeckersb: "Leaving"
[2008/04/17 12:24:31] @ fujin joined channel #puppet
[2008/04/17 12:27:28] @ Quit: fujin: Client Quit
[2008/04/17 12:30:05] @ fujin joined channel #puppet
[2008/04/17 12:33:56] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/17 12:35:16] @ shadoi joined channel #puppet
[2008/04/17 12:35:31] @ stick joined channel #puppet
[2008/04/17 13:00:40] @ a-priori joined channel #puppet
[2008/04/17 13:24:19] @ patobrien joined channel #puppet
[2008/04/17 13:25:12] @ randybias joined channel #puppet
[2008/04/17 13:25:19] <randybias> booya
[2008/04/17 13:26:01] <fujin> kasha
[2008/04/17 13:26:10] * fujin boh bohs
[2008/04/17 13:42:09] @ lak joined channel #puppet
[2008/04/17 13:48:19] @ Quit: shadoi: "Lost terminal"
[2008/04/17 13:49:04] @ shadoi joined channel #puppet
[2008/04/17 13:52:23] @ Quit: a-priori:
[2008/04/17 13:55:16] @ a-priori joined channel #puppet
[2008/04/17 13:55:57] @ Quit: a-priori: Client Quit
[2008/04/17 14:08:34] @ Quit: nigelk:
[2008/04/17 14:08:52] @ sparanjape joined channel #puppet
[2008/04/17 14:18:31] @ Quit: lak:
[2008/04/17 14:29:31] <jamesturnbull> lak ... ah damn
[2008/04/17 14:29:46] <fujin> lol
[2008/04/17 14:29:57] <jamesturnbull> I think trac is sick
[2008/04/17 14:30:01] <fujin> oh?
[2008/04/17 14:30:13] <fujin> I noticed the commit diff stat pages were doing the weird text overlay thing again.
[2008/04/17 14:33:10] <jamesturnbull> fujin: db was reporting as locked
[2008/04/17 14:38:27] @ zobbo joined channel #puppet
[2008/04/17 14:48:11] @ nigel_ joined channel #puppet
[2008/04/17 14:48:24] <nigel_> jamesturnbull: yes, someone had mentioned this
[2008/04/17 14:48:29] @ nigel_ is now known as waawaamilk
[2008/04/17 14:49:22] <waawaamilk> (wrt: bug 1188)
[2008/04/17 14:49:25] <jamesturnbull> waawaamilk: must have missed that
[2008/04/17 14:49:35] <jamesturnbull> waawaamilk: just become a father...?
[2008/04/17 14:49:40] <waawaamilk> ?
[2008/04/17 14:49:43] <waawaamilk> the nick?
[2008/04/17 14:49:45] <waawaamilk> hehe
[2008/04/17 14:49:57] <waawaamilk> no, I'm a big baby
[2008/04/17 14:50:02] <waawaamilk> ^_^
[2008/04/17 14:50:33] @ Quit: andrewcshafer:
[2008/04/17 14:50:48] <waawaamilk> damnit, I don't have irclogs
[2008/04/17 14:51:18] <jamesturnbull> waawaamilk: wormwood.lovedthanlost.net/puppet/
[2008/04/17 14:51:32] <jamesturnbull> waawaamilk: one of my many services... :)
[2008/04/17 14:51:39] @ dysinger joined channel #puppet
[2008/04/17 14:51:41] @ Pockets joined channel #puppet
[2008/04/17 14:51:51] <waawaamilk> ah, nice
[2008/04/17 14:51:52] @ Pockets is now known as Darkarnium
[2008/04/17 14:51:54] @ Darkarnium is now known as Darkarnium_
[2008/04/17 14:52:08] <waawaamilk> jamesturnbull: do you analyse them with that 'who insulted who the most' software? :)
[2008/04/17 14:54:24] @ lak joined channel #puppet
[2008/04/17 14:54:58] <waawaamilk> jamesturnbull: found it
[2008/04/17 14:55:01] <waawaamilk> it was fastjay
[2008/04/17 14:55:19] <waawaamilk> he said he'd attach it to the ticket, but didn't
[2008/04/17 14:57:27] <fujin> ha
[2008/04/17 14:57:32] <fujin> I was just about to rewrite it in Ruby
[2008/04/17 14:57:46] <waawaamilk> it's really short... shouldn't take very long
[2008/04/17 14:57:52] @ Quit: lak: Client Quit
[2008/04/17 14:57:58] <waawaamilk> might be faster than waiting :)
[2008/04/17 14:58:18] <fujin> really short, shame I don't know any/much ruby.
[2008/04/17 14:58:23] <fujin> puts debug
[2008/04/17 14:58:25] <fujin> puts debug
[2008/04/17 14:58:28] <fujin> lol
[2008/04/17 14:58:29] <jamesturnbull> thom: ping - re #1193 - any idea why all hosts are consistently getting that error?
[2008/04/17 14:58:31] <gepetto_> jamesturnbull: thom: #1193 is http://reductivelabs.com/trac/puppet/ticket/1193 "Resource types don't accept created_at"
[2008/04/17 15:19:03] @ nigelk joined channel #puppet
[2008/04/17 15:21:12] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/17 15:21:19] @ hacim joined channel #puppet
[2008/04/17 15:23:43] @ SMP joined channel #puppet
[2008/04/17 15:24:11] <fujin> kls
[2008/04/17 15:25:09] @ Quit: sparanjape: Read error: 104 (Connection reset by peer)
[2008/04/17 15:27:35] @ shake-n-bake joined channel #puppet
[2008/04/17 15:42:14] <hacim> krs
[2008/04/17 15:42:41] <jamesturnbull> kxs?
[2008/04/17 15:43:14] <hacim> does subscribe/notify only work for File types?
[2008/04/17 15:43:37] <hacim> ob: k.s: kos
[2008/04/17 15:44:50] <jamesturnbull> hacim: no works for all resources
[2008/04/17 15:46:15] <hacim> hrm, it didn't seem to work for a define
[2008/04/17 15:46:22] <hacim> (ie. when a define fires)
[2008/04/17 15:48:16] * jamesturnbull scratches head
[2008/04/17 15:48:39] @ sparanjape joined channel #puppet
[2008/04/17 15:50:21] @ Quit: SMP: Read error: 104 (Connection reset by peer)
[2008/04/17 15:52:37] * hacim scratches too
[2008/04/17 15:53:58] @ Quit: patobrien: "This computer has gone to sleep"
[2008/04/17 15:55:48] <jamesturnbull> hacim: should work
[2008/04/17 15:55:55] <jamesturnbull> hacim: any errors?
[2008/04/17 15:56:31] <Darkarnium_> Hey there, I'm having some issues with a class I quickly put together to grab the sshd_config from my puppetmaster and restart the service. The configuration I am using is: http://pastebin.com/m598ae17d
[2008/04/17 15:57:26] <jamesturnbull> Darkarnium_: what's the issue?
[2008/04/17 15:57:33] <Darkarnium_> At the moment, it attempts to start sshd before grabbing the configuration file, which fails if the daemon is already running.
[2008/04/17 15:57:39] @ Quit: shake-n-bake:
[2008/04/17 15:58:09] <jamesturnbull> Darkarnium_: subscribe/require metaparams - wiki:TypeReference
[2008/04/17 15:58:23] <gepetto_> jamesturnbull: Darkarnium_: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2008/04/17 15:58:23] <hacim> jamesturnbull: yeah I think it works, I was just misinterpreting
[2008/04/17 15:58:39] <jamesturnbull> Darkarnium_: oh and before
[2008/04/17 15:58:40] <Darkarnium_> I'll give that a read, cheers jamesturnbull :)
[2008/04/17 16:17:04] <jamesturnbull> fujin: you use Puppet with RRD right?
[2008/04/17 16:17:20] <jamesturnbull> fujin: what's the RRD bindings library called - RRD or RRDtool?
[2008/04/17 16:19:00] @ Quit: nigelk:
[2008/04/17 16:19:14] <jamesturnbull> or anyone else for that matter... RRD or RRDtool?
[2008/04/17 16:25:10] @ Quit: zobbo: "Enough no more 'tis not as sweet as it was before"
[2008/04/17 16:40:30] [msg(#puppet)] ::puppet:: Ticket #1194 (defect created): RRDtool ruby bindings library @ http://reductivelabs.com/trac/puppet/ticket/1194
[2008/04/17 16:45:23] @ Quit: steinmb_:
[2008/04/17 16:45:34] [msg(#puppet)] ::puppet:: Ticket #1194 (defect closed): RRDtool ruby bindings library @ http://reductivelabs.com/trac/puppet/ticket/1194#comment:1
[2008/04/17 16:52:03] @ Innocenti joined channel #puppet
[2008/04/17 16:52:32] @ andrewcshafer joined channel #puppet
[2008/04/17 16:54:01] <jamesturnbull> fujin: ignore me - Rubyforge versus other bindings
[2008/04/17 16:54:08] @ Quit: andrewcshafer: Client Quit
[2008/04/17 16:54:59] @ andrewcshafer joined channel #puppet
[2008/04/17 17:06:16] @ Quit: randybias:
[2008/04/17 17:07:26] @ andrewcshafer_ joined channel #puppet
[2008/04/17 17:11:43] @ DerekW joined channel #puppet
[2008/04/17 17:16:00] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2008/04/17 17:27:47] @ f--z joined channel #puppet
[2008/04/17 17:38:59] @ Quit: andrewcshafer_:
[2008/04/17 17:44:51] @ steinmb joined channel #puppet
[2008/04/17 17:48:32] @ tim|macbook joined channel #puppet
[2008/04/17 18:05:06] @ Quit: shadoi: "leaving"
[2008/04/17 18:39:50] @ Quit: gileswork: Read error: 104 (Connection reset by peer)
[2008/04/17 18:42:40] @ Quit: dysinger:
[2008/04/17 18:55:33] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/04/17 19:33:47] @ duritong joined channel #puppet
[2008/04/17 19:37:09] @ baard1973 joined channel #puppet
[2008/04/17 19:38:29] @ Quit: fujin: "leaving"
[2008/04/17 19:38:42] @ fujin joined channel #puppet
[2008/04/17 19:40:06] <fujin> jamesturnbull: how's your Ruby?
[2008/04/17 19:42:59] @ Quit: f--z: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/04/17 19:44:26] <fujin> pastie: Gimme
[2008/04/17 19:45:37] <pastie> http://pastie.org/182254 by fujin.
[2008/04/17 19:46:17] <fujin> Anyone care to shine some light?
[2008/04/17 19:46:19] * fujin is a ruby nub
[2008/04/17 19:50:23] <jamesturnbull> fujin: getting better
[2008/04/17 19:50:31] [msg(#puppet)] ::puppet:: Ticket #1195 (enhancement created): Patch to make the Gentoo puppetmaster rc-script openrc compatibl... @ http://reductivelabs.com/trac/puppet/ticket/1195
[2008/04/17 19:51:23] <fujin> Any idea on how I'd use YAML::load_file?
[2008/04/17 19:56:09] @ kolla joined channel #puppet
[2008/04/17 20:05:56] @ gileswork joined channel #puppet
[2008/04/17 20:06:22] <gileswork> msg NickServ IDENTIFY benjamin
[2008/04/17 20:06:37] <gileswork> oops heh
[2008/04/17 20:06:42] <waawaamilk> hehe
[2008/04/17 20:06:48] <waawaamilk> password change time?
[2008/04/17 20:07:01] <gileswork> i doubt my nick is in demand lol
[2008/04/17 20:07:30] <waawaamilk> on the other hand, mine is in high demand
[2008/04/17 20:07:35] <jamesturnbull> fujin: you're using the wrong call
[2008/04/17 20:07:41] <gileswork> heh
[2008/04/17 20:08:06] <jamesturnbull> fujin: you're using YAML::load in the pastie
[2008/04/17 20:08:16] <jamesturnbull> fujin: you need to use YAML::load_file
[2008/04/17 20:08:17] <gileswork> I don't really go in for hacker aliases
[2008/04/17 20:08:24] <gileswork> it's more of a functional nic
[2008/04/17 20:08:43] <waawaamilk> fujin: is that puppetlast?
[2008/04/17 20:09:06] <waawaamilk> gileswork: I didn't use to either
[2008/04/17 20:09:15] <waawaamilk> .. and then an Event happened
[2008/04/17 20:11:30] [msg(#puppet)] ::puppet:: Puppet Infrastructure edited by al @ http://reductivelabs.com/trac/puppet/wiki/PuppetInfrastructure
[2008/04/17 20:11:54] <fujin> waawaamilk: That's my failing attempt to rebuild puppetlast in Ruby, yeah.
[2008/04/17 20:11:59] <fujin> Getting there though, THink I've cracked it.
[2008/04/17 20:12:30] <waawaamilk> :)
[2008/04/17 20:12:41] <fujin> Heh. Got it.
[2008/04/17 20:12:55] <fujin> Now I just need to figure out what operators I can use on a Time type
[2008/04/17 20:13:34] <waawaamilk> puts Time.methods.sort
[2008/04/17 20:13:35] <waawaamilk> ?
[2008/04/17 20:14:42] * Volcane wonders if there is anything out there yet to parse, lets say /etc/facts.txt on each node and define facts based on the contents of that file? I am thinking something like country=uk in /etc/facts.txt which will then result in a $country fact
[2008/04/17 20:14:43] <fujin> What does that do? :>
[2008/04/17 20:15:11] * waawaamilk assumes you are joking
[2008/04/17 20:15:12] <waawaamilk> ?
[2008/04/17 20:15:13] <waawaamilk> :)
[2008/04/17 20:16:04] <fujin> I'm serious, this is my first attempt at Ruby.
[2008/04/17 20:16:12] [msg(#puppet)] ::puppet:: Puppet Infrastructure edited by al @ http://reductivelabs.com/trac/puppet/wiki/PuppetInfrastructure
[2008/04/17 20:16:20] <fujin> I'm goign to assume it puts a sorted list of methods for the Time class to the screen.
[2008/04/17 20:16:28] <f3ew> yup
[2008/04/17 20:16:32] <Volcane> fujin: I am guessing it prints a sorted lists of methods of the Time object
[2008/04/17 20:16:39] <waawaamilk> lol
[2008/04/17 20:16:42] * Volcane also doesnt know ruby
[2008/04/17 20:16:42] <waawaamilk> you both win
[2008/04/17 20:16:55] <fujin> I'm more of a Perl man
[2008/04/17 20:17:09] <fujin> It's fast, i always use it, therefore I'm fast at using it
[2008/04/17 20:17:17] <waawaamilk> heh
[2008/04/17 20:17:19] <fujin> although, Ruby seems nice so far ;>
[2008/04/17 20:17:22] <jamesturnbull> Volcane: why do you want to do that?
[2008/04/17 20:17:44] <fujin> Is there a way to push stuff into an array, in Ruby?
[2008/04/17 20:18:02] <waawaamilk> array.push(thing)
[2008/04/17 20:18:09] <fujin> Actually?
[2008/04/17 20:18:20] <waawaamilk> ___
[2008/04/17 20:18:21] <waawaamilk> {-.-}
[2008/04/17 20:18:21] <waawaamilk> |)_(|
[2008/04/17 20:18:21] <waawaamilk> -"-"-
[2008/04/17 20:18:21] <waawaamilk> YA RLY
[2008/04/17 20:18:26] <Volcane> jamesturnbull: cos currently i have node "blah" { $country = "uk" } which sux a bit, looking for something a bit more robust than that
[2008/04/17 20:18:27] <fujin> Capital a on array, or not?
[2008/04/17 20:18:34] <jamesturnbull> Volcane: you could do that with environment facts
[2008/04/17 20:18:43] <waawaamilk> array == the array variable
[2008/04/17 20:18:49] <fujin> heh cool
[2008/04/17 20:18:54] <fujin> hat's freakin awesome
[2008/04/17 20:19:22] <Volcane> jamesturnbull: hmm, well my machines are all over the show and even change countries at time
[2008/04/17 20:19:44] <jamesturnbull> Volcane: then change the env variable
[2008/04/17 20:19:58] <jamesturnbull> Volcane: or you could distribute a file
[2008/04/17 20:20:05] <jamesturnbull> Volcane: and use a custom fact
[2008/04/17 20:20:17] <Volcane> jamesturnbull: yeah i wanted to distribute a file and do the custom facts as I described
[2008/04/17 20:20:19] <fujin> waawaamilk: what about a 2d array (hash?)
[2008/04/17 20:20:36] <waawaamilk> a hash?
[2008/04/17 20:20:39] <waawaamilk> or a 2d array?
[2008/04/17 20:20:41] <waawaamilk> they're different :)
[2008/04/17 20:20:43] <Volcane> jamesturnbull: but then i figured, if i want a fact now I'll prolly want 5 fact next week, so parsing that file in fact=value pairs is prolly kewl
[2008/04/17 20:20:45] <fujin> well, a hash
[2008/04/17 20:20:52] <fujin> k=>v, k=>v, k=>v
[2008/04/17 20:20:59] <waawaamilk> hash = {}
[2008/04/17 20:21:03] <waawaamilk> hash[key] = value
[2008/04/17 20:21:04] <waawaamilk> ...
[2008/04/17 20:21:16] <fujin> magic
[2008/04/17 20:21:17] <jamesturnbull> Volcane: easy enough to do
[2008/04/17 20:21:29] <jamesturnbull> Volcane: parse the file and loop over the pairs and get the facts
[2008/04/17 20:21:47] <Volcane> yeah
[2008/04/17 20:21:56] <jamesturnbull> Volcane: check the Facter source - it has some code you can probably crab off
[2008/04/17 20:22:00] <Volcane> looking at your one code snippet in the book it should be easy to adjust
[2008/04/17 20:22:39] <Volcane> the 'A More Complex Fact' example, will work well enough with a change to the regex
[2008/04/17 20:23:18] <waawaamilk> oh lol, jamesturnbull wrote the book
[2008/04/17 20:23:24] * waawaamilk twigs
[2008/04/17 20:23:31] <Volcane> waawaamilk: handy :P
[2008/04/17 20:25:34] <jamesturnbull> waawaamilk: I am?
[2008/04/17 20:25:38] * jamesturnbull looks confused
[2008/04/17 20:25:47] <waawaamilk> ?
[2008/04/17 20:25:48] <jamesturnbull> waawaamilk: oh wait - yes I did write that
[2008/04/17 20:25:51] <jamesturnbull> :)
[2008/04/17 20:25:54] <waawaamilk> hehe
[2008/04/17 20:26:07] <waawaamilk> I have it as an ebook
[2008/04/17 20:26:20] <waawaamilk> and I'm sure the office has it as a hard copy somewhere
[2008/04/17 20:26:29] <waawaamilk> someone might have lost it though
[2008/04/17 20:26:33] <waawaamilk> that someone might have been me
[2008/04/17 20:26:36] * waawaamilk whistles
[2008/04/17 20:26:41] <jamesturnbull> waawaamilk: safer to buy two then
[2008/04/17 20:27:00] <waawaamilk> heh
[2008/04/17 20:32:34] * Volcane nearly left his in the starbucks on day one already
[2008/04/17 20:33:22] <Volcane> had to go back and fetch it, someone had already handed it in at the counter
[2008/04/17 20:35:37] [msg(#puppet)] ::puppet:: Lab42Infrastructure edited by al @ http://reductivelabs.com/trac/puppet/wiki/Lab42Infrastructure
[2008/04/17 20:35:37] [msg(#puppet)] ::puppet:: Lab42Infrastructure edited by al @ http://reductivelabs.com/trac/puppet/wiki/Lab42Infrastructure
[2008/04/17 20:35:37] [msg(#puppet)] ::puppet:: Documentation Start edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DocumentationStart
[2008/04/17 20:35:37] [msg(#puppet)] ::puppet:: Lab42Infrastructure edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Lab42Infrastructure
[2008/04/17 20:35:37] [msg(#puppet)] ::puppet:: Documentation Start edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DocumentationStart
[2008/04/17 20:37:06] <fujin> pastie: again
[2008/04/17 20:38:12] <pastie> http://pastie.org/182275 by fujin.
[2008/04/17 20:38:43] <fujin> ^
[2008/04/17 20:39:15] <waawaamilk> you from nz?
[2008/04/17 20:39:23] * waawaamilk too
[2008/04/17 20:39:52] <waawaamilk> does that script leave you chdir'd into the facts dir?
[2008/04/17 20:39:53] * waawaamilk tests
[2008/04/17 20:40:47] <fujin> Yeah. I'm in auckland.
[2008/04/17 20:40:57] <waawaamilk> works ok, although they all say '.5'
[2008/04/17 20:41:14] <fujin> Weird
[2008/04/17 20:41:21] <fujin> Not sure what that was - I copied the math from the Perl one
[2008/04/17 20:41:33] <waawaamilk> sure there wasn't a cast in the perl one?
[2008/04/17 20:41:33] <fujin> $age = int($age/60 + 0.5);
[2008/04/17 20:41:37] <waawaamilk> yeah
[2008/04/17 20:41:40] <waawaamilk> a cast :)
[2008/04/17 20:41:46] <fujin> oh right, it floors it
[2008/04/17 20:41:51] <waawaamilk> yes
[2008/04/17 20:42:01] <waawaamilk> I just tried floor() and Math.floor() around it without success
[2008/04/17 20:42:10] * waawaamilk knows the ruby syntax, but not the libraries so much
[2008/04/17 20:42:34] <waawaamilk> ah
[2008/04/17 20:42:42] <waawaamilk> (age / 60 + 0.5).round()
[2008/04/17 20:42:47] <fujin> Simply minutes.floor.to_s :)
[2008/04/17 20:42:56] <fujin> Or that.
[2008/04/17 20:42:56] <waawaamilk> heh
[2008/04/17 20:43:06] <waawaamilk> yours is betterer(tm)
[2008/04/17 20:43:25] <waawaamilk> do you need to chdir to the factsdir to do the glob?
[2008/04/17 20:44:14] <fujin> No idea! seemed like a good idea
[2008/04/17 20:44:30] <fujin> first shot at ruby
[2008/04/17 20:44:33] <fujin> and I'm high as a motherfucker
[2008/04/17 20:44:54] * waawaamilk takes that out of context
[2008/04/17 20:45:05] * waawaamilk runs
[2008/04/17 20:46:02] <fujin> I'm sooo out of context
[2008/04/17 20:46:13] <waawaamilk> it seems to get angry if I try putting it in one bit
[2008/04/17 20:46:19] <waawaamilk> Dir.glob(pm_conf[:vardir] + "/yaml/facts/*.yaml").each do |yaml|
[2008/04/17 20:46:26] @ f--z joined channel #puppet
[2008/04/17 20:46:27] <waawaamilk> doesn't seem to do anything
[2008/04/17 20:47:12] <fujin> heh
[2008/04/17 20:48:17] <fujin> I do think you have to chdir first
[2008/04/17 20:48:24] <waawaamilk> yeah.. seems so
[2008/04/17 20:48:36] <fujin> Cause the param to glob is a pattern, not a file
[2008/04/17 20:48:40] <fujin> io thingy
[2008/04/17 20:48:43] <waawaamilk> suck0r
[2008/04/17 20:48:50] <fujin> So what's it like to work at catalyst?
[2008/04/17 20:48:57] <waawaamilk> ?!
[2008/04/17 20:49:04] <waawaamilk> how did you work that out?
[2008/04/17 20:49:14] <fujin> 22:49 [Freenode] -!- waawaamilk [n=nigel@leibniz.catalyst.net.nz]
[2008/04/17 20:49:22] <waawaamilk> oh, I just hack in there
[2008/04/17 20:49:25] <waawaamilk> ;)
[2008/04/17 20:49:31] <fujin> ah.
[2008/04/17 20:49:32] <waawaamilk> nah, I actually work for them
[2008/04/17 20:49:35] <fujin> lol
[2008/04/17 20:49:44] <fujin> I was playing with your guys SRS GPG thing here at maxnet recently
[2008/04/17 20:50:05] <waawaamilk> oh yes.. srs is one of our big clients
[2008/04/17 20:50:10] <jamesturnbull> god help us - two Kiwis
[2008/04/17 20:50:15] <fujin> yeah!!!
[2008/04/17 20:50:18] <fujin> takin over james!
[2008/04/17 20:50:24] <waawaamilk> a kiwi and a guy from the hutt
[2008/04/17 20:50:29] <waawaamilk> I'm not sure which is more dangerous
[2008/04/17 20:50:35] <fujin> jamesturnbull: see #1188 when you get a chance, I put up a ruby version of that puppetwhen/last script
[2008/04/17 20:50:37] <gepetto_> fujin: jamesturnbull: #1188 is http://reductivelabs.com/trac/puppet/ticket/1188 "'puppetwhen' - list when puppet was last successfully run for each node"
[2008/04/17 20:50:57] <waawaamilk> working for catalyst is cool for me, cos they pay me to work on an oss project full time ;)
[2008/04/17 20:51:02] <fujin> yeah!!
[2008/04/17 20:51:11] <fujin> You guys are based in wlg yeah?
[2008/04/17 20:51:18] <waawaamilk> yep
[2008/04/17 20:51:22] <waawaamilk> we have one guy up in auckland
[2008/04/17 20:51:25] <waawaamilk> vik olliver
[2008/04/17 20:51:27] <waawaamilk> you might know him
[2008/04/17 20:51:31] <waawaamilk> he does the RepRap thing
[2008/04/17 20:51:34] <fujin> hrm
[2008/04/17 20:51:36] <fujin> Doesn't ring a bell
[2008/04/17 20:51:49] <fujin> I don't now many people, I've only been engineering in the ISP side of stuff for a year now
[2008/04/17 20:51:55] <fujin> know even fark
[2008/04/17 20:52:02] <fujin> I forgot what I was fuckin' doing man
[2008/04/17 20:52:17] <fujin> jamesturnbull: Ruby's quite a nice language eh?
[2008/04/17 20:52:17] <thom> jamesturnbull: unfortunately it's not even that easy (#1193) - some hosts will *always* get that error, and some won't. the ones that do get it, never go into the DB at all
[2008/04/17 20:52:18] <gepetto_> thom: jamesturnbull: #1193 is http://reductivelabs.com/trac/puppet/ticket/1193 "Resource types don't accept created_at"
[2008/04/17 20:52:46] <waawaamilk> fujin: but you've heard of catalyst?
[2008/04/17 20:53:06] <fujin> yes, well
[2008/04/17 20:53:08] <jamesturnbull> waawaamilk: ha I know Vik
[2008/04/17 20:53:21] <fujin> waawaamilk: only from playing with the SRS stuff
[2008/04/17 20:53:44] <fujin> and uh, the Perl mirror :>
[2008/04/17 20:53:47] <waawaamilk> jamesturnbull: heh. the funniest part about him is, every now and then he yells FIRE!!! in the irc chan and disappears for an hour... he's a volunteer firefighter :)
[2008/04/17 20:53:48] <fujin> cpan rather
[2008/04/17 20:53:52] <jamesturnbull> fujin: come to LCA next year - you'll met a bunch of people
[2008/04/17 20:53:59] <fujin> jamesturnbull: where is it?
[2008/04/17 20:54:00] <waawaamilk> heh. and the debian, and linux mirrors...
[2008/04/17 20:54:06] <jamesturnbull> fujin: Tassie
[2008/04/17 20:54:18] * fujin googles
[2008/04/17 20:54:20] <waawaamilk> I wanna do lca next time
[2008/04/17 20:54:25] <jamesturnbull> thom: yeah - I've pushed the patc
[2008/04/17 20:54:28] <waawaamilk> my colleagues all went this time
[2008/04/17 20:54:29] <jamesturnbull> h
[2008/04/17 20:54:31] <thom> i saw, thanks :)
[2008/04/17 20:54:34] <waawaamilk> that's how we found out about puppet
[2008/04/17 20:54:40] <fujin> tasmania james?
[2008/04/17 20:54:43] <jamesturnbull> waawaamilk: Evan/Ewen and those guys?
[2008/04/17 20:54:45] * thom hasn't been to LCA for ages :(
[2008/04/17 20:55:04] <waawaamilk> jamesturnbull: I don't know ewen
[2008/04/17 20:55:12] <waawaamilk> jamesturnbull: but evan yes
[2008/04/17 20:55:15] <jamesturnbull> thom: was good this year - spent quite a lot of time beding Martin Krafft ear abou Debian packaging
[2008/04/17 20:55:17] <waawaamilk> jamesturnbull: and martyn, peterb, alex
[2008/04/17 20:55:35] <waawaamilk> lol, and I know martin krafft
[2008/04/17 20:55:38] <jamesturnbull> s/beding/bending/
[2008/04/17 20:55:43] <waawaamilk> small world
[2008/04/17 20:55:55] <jamesturnbull> waawaamilk: Evan helped with the syadmin mini-conf
[2008/04/17 20:56:09] <waawaamilk> jamesturnbull: and andrew mac? guy with a big beard?
[2008/04/17 20:56:23] <jamesturnbull> waawaamilk: yeah
[2008/04/17 20:56:48] <thom> martin's a good guy
[2008/04/17 20:56:50] <jamesturnbull> waawaamilk: I was the LCA Treasurer and organised the mini-confs - those guys were great - very well prepared
[2008/04/17 20:56:58] <waawaamilk> he was probably prattling on about ipv6 ;)
[2008/04/17 20:57:38] <jamesturnbull> thom: yeah got some good ideas - be interested to see how his work pans out
[2008/04/17 20:57:50] <jamesturnbull> fujin: est.rb:19: undefined method `+' for nil:NilClass (NoMethodError)
[2008/04/17 20:58:09] <fujin> jamesturnbull: ?
[2008/04/17 20:58:09] <thom> nods
[2008/04/17 20:58:27] <jamesturnbull> fujin: error from the script
[2008/04/17 20:58:32] <fujin> WTH?
[2008/04/17 20:58:39] <fujin> From the ticket?
[2008/04/17 20:58:42] <fujin> I just ran it and it worked here
[2008/04/17 20:58:43] * fujin boggles
[2008/04/17 20:58:55] <waawaamilk> ruby --version? :)
[2008/04/17 20:59:13] <fujin> hardy; ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
[2008/04/17 20:59:21] <jamesturnbull> ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
[2008/04/17 20:59:40] <jamesturnbull> fujin: from the ticket
[2008/04/17 20:59:48] <fujin> wow, that's insane
[2008/04/17 20:59:52] <fujin> heh
[2008/04/17 21:00:00] <fujin> You don't have a 'vardir' in your main section of puppet.conf, do ya?
[2008/04/17 21:00:05] <fujin> I wonder how I'd test against that
[2008/04/17 21:00:38] <waawaamilk> I would have thought that it would have been canonicalised by the puppet module
[2008/04/17 21:01:27] <fujin> well, I don't test for nil of pm_conf[:vardir] before using it
[2008/04/17 21:03:13] <fujin> hrm, now how do I do that? :>
[2008/04/17 21:03:36] <waawaamilk> if nil == thing
[2008/04/17 21:03:37] <waawaamilk> I guess
[2008/04/17 21:03:45] <waawaamilk> you'd have to get the default from somewhere..
[2008/04/17 21:03:54] <jamesturnbull> fujin: defaults.rb
[2008/04/17 21:04:04] <waawaamilk> it does surprise me that the puppet config doesn't normalise it
[2008/04/17 21:04:05] @ Quit: sparanjape: "Leaving"
[2008/04/17 21:04:21] <fujin> jamesturnbull: What's that?
[2008/04/17 21:04:43] @ Quit: stahnma: Remote closed the connection
[2008/04/17 21:04:54] <jamesturnbull> fujin: it's where defaults are set
[2008/04/17 21:05:05] <jamesturnbull> fujin: work out how Puppet queries those defualts and script will work
[2008/04/17 21:06:15] <fujin> mm
[2008/04/17 21:06:21] <fujin> I feel ya
[2008/04/17 21:06:22] * Volcane 's factsync isnt happening
[2008/04/17 21:06:30] <fujin> Dunno how; but heh I'll play with it
[2008/04/17 21:07:12] <waawaamilk> it's almost a shame it has to be written in ruby
[2008/04/17 21:07:19] <waawaamilk> the perl one performs much better
[2008/04/17 21:07:22] @ stahnma joined channel #puppet
[2008/04/17 21:08:11] <fujin> lol
[2008/04/17 21:08:28] <fujin> I didn't say it had to be, I just wanted to try it
[2008/04/17 21:08:30] <fujin> y'no, something new?
[2008/04/17 21:08:59] <waawaamilk> heh
[2008/04/17 21:11:59] <jamesturnbull> fujin: Puppet.parse_config
[2008/04/17 21:12:14] <fujin> yeah dude I'm already parsing the config
[2008/04/17 21:12:18] <fujin> but ti didn't detect your default
[2008/04/17 21:13:29] <fujin> ah, got it, sec
[2008/04/17 21:18:51] <Volcane> oh, custom fact thingy works 100%
[2008/04/17 21:19:04] <chillitom> has anyone done any work on getting the useradd provider to support password setting?
[2008/04/17 21:21:35] <jamesturnbull> chillitom: shouldn't that work?
[2008/04/17 21:21:52] <jamesturnbull> chillitom: the useradd.rb provider supports the password feature
[2008/04/17 21:22:03] <jamesturnbull> chillitom: you just need libshadow
[2008/04/17 21:23:31] <chillitom> ahh okay, I was going by the matrix http://reductivelabs.com/trac/puppet/wiki/TypeReference#id199
[2008/04/17 21:23:57] @ Quit: steinmb:
[2008/04/17 21:24:01] @ chillitom left channel #puppet ("Leaving")
[2008/04/17 21:24:07] @ trombik_ joined channel #puppet
[2008/04/17 21:24:08] @ chillitom joined channel #puppet
[2008/04/17 21:24:39] <jamesturnbull> chillitom: that's based on when the wiki was re-genned - I think Luke did it on a host without libshadow - the doco checks fir it from memory
[2008/04/17 21:27:22] <chillitom> does it just require the libshadow.so or the ruby one as well?
[2008/04/17 21:27:34] <Volcane> nice++ custom facts are kewl
[2008/04/17 21:27:49] [msg(#puppet)] ::puppet:: Lab42Infrastructure edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/Lab42Infrastructure
[2008/04/17 21:28:08] <jamesturnbull> chillitom: ruby one
[2008/04/17 21:29:25] <jamesturnbull> chillitom: what platform?
[2008/04/17 21:29:51] <chillitom> centos5
[2008/04/17 21:34:11] <fujin> jamesturnbull: alright, fixed it; http://reductivelabs.com/trac/puppet/attachment/ticket/1188/puppetlast
[2008/04/17 21:34:17] <jamesturnbull> then ruby-libshadow
[2008/04/17 21:34:25] <fujin> doesn't test for directory existence, but neither does the Perl one
[2008/04/17 21:34:27] <fujin> might add that later
[2008/04/17 21:34:35] <fujin> going to watch a movie or somethin
[2008/04/17 21:35:15] <jamesturnbull> fujin: hmmm that won't work if vardir is found though right?
[2008/04/17 21:35:24] <jamesturnbull> fujin: if you don't have vadir - you just won't get any output
[2008/04/17 21:36:39] <jamesturnbull> fujin: or not... :)
[2008/04/17 21:37:48] <chillitom> hmm might have to check my repos.. can't find any mention of libshadow anywhere
[2008/04/17 21:40:19] <jamesturnbull> chillitom: damn ruby-shadow
[2008/04/17 21:51:50] <chillitom> seems ruby-shadow may well be missing from centos 5 http://www.redhat.com/archives/epel-devel-list/2008-February/msg00101.html
[2008/04/17 22:05:54] <fujin> jamesturnbull: Yeah. I'll need to test for directory existence I guess.
[2008/04/17 22:05:59] <fujin> Just have to work out the best way of doing it
[2008/04/17 22:06:15] <fujin> I tried doing File.directory? yfdir do .. end
[2008/04/17 22:06:26] <fujin> and trying to else a do block, I dunno if you can do that
[2008/04/17 22:06:35] <fujin> like, do .. else .. end
[2008/04/17 22:06:55] @ martha joined channel #puppet
[2008/04/17 22:12:48] <jamesturnbull> fujin: actually it seemed to work with your current script
[2008/04/17 22:13:03] <jamesturnbull> fujin: this one didn;t return an error and returned the last runs
[2008/04/17 22:35:18] <fujin> cool mate
[2008/04/17 22:35:27] <fujin> Ready for checkin, or does it need extending?
[2008/04/17 22:49:17] @ Quit: tim|macbook: "Leaving"
[2008/04/17 22:51:01] @ mccune joined channel #puppet
[2008/04/17 22:54:00] @ tim|macbook joined channel #puppet
[2008/04/17 22:57:23] @ oxtail joined channel #puppet
[2008/04/17 23:08:07] @ keithlard joined channel #puppet
[2008/04/17 23:11:59] @ jeckersb joined channel #puppet
[2008/04/17 23:13:07] @ baard1973 left channel #puppet ()
[2008/04/17 23:13:49] @ baard1973 joined channel #puppet
[2008/04/17 23:14:29] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/04/17 23:17:56] @ nigelk joined channel #puppet
[2008/04/17 23:19:34] <jamesturnbull> fujin: let me think on it
[2008/04/17 23:19:44] <jamesturnbull> fujin: want to do a couple more tests
[2008/04/17 23:19:50] <jamesturnbull> fujin: maybe add some error handling
[2008/04/17 23:22:00] @ patobrien joined channel #puppet
[2008/04/17 23:23:52] @ baard1973 left channel #puppet ()
[2008/04/17 23:24:48] @ flakrat joined channel #puppet
[2008/04/17 23:26:02] @ Quit: jvanzyl:
[2008/04/17 23:26:49] @ Quit: flakrat: Client Quit
[2008/04/17 23:26:57] @ Quit: jason^: "Changing server"
[2008/04/17 23:27:46] @ flakrat joined channel #puppet
[2008/04/17 23:33:15] @ nigelk_ joined channel #puppet
[2008/04/17 23:37:25] @ qubix joined channel #puppet
[2008/04/17 23:39:36] @ baard1973 joined channel #puppet
[2008/04/17 23:41:02] <qubix> quick question: if i'm using 'allow *' in my fileserver.conf and namespaceauth.conf then only my puppet nodes with a valid certificate are allowed, right? (of course all of them)
[2008/04/17 23:41:30] <qubix> any other foreign puppet nodes are denied? is this correct?
[2008/04/17 23:41:40] <Volcane> just dont set autosign on your ca :P
[2008/04/17 23:41:53] @ baard1973 left channel #puppet ()
[2008/04/17 23:43:00] <qubix> sure :-) but the rest is a correct assumption?
[2008/04/17 23:43:21] <Volcane> well, i wouldnt trust it but thats just me
[2008/04/17 23:44:00] @ baard1973 joined channel #puppet
[2008/04/17 23:44:12] <qubix> ok - documentation is a bit sparse on that one - thx anyway
[2008/04/17 23:45:20] @ baard1973 left channel #puppet ("Leaving")
[2008/04/17 23:48:58] @ lak joined channel #puppet
[2008/04/17 23:49:25] @ baard1973 joined channel #puppet
[2008/04/17 23:51:10] @ Quit: nigelk: Read error: 110 (Connection timed out)
[2008/04/17 23:52:29] @ shenson_not_here is now known as shenson
[2008/04/17 23:56:54] <jamesturnbull> lak: common modules - that'll be a challenge to manage
[2008/04/17 23:57:01] @ Quit: phips: "Changing server"
[2008/04/17 23:57:08] <lak> what do you mean?

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