Friday, 2008-04-18

[2008/04/18 00:00:08] <jamesturnbull> lak: will need more tests... :)
[2008/04/18 00:04:02] <flakrat> I have a class that updates the puppet client (via yum on RHEL), is there a way to configure the class to restart the client if it gets updated? (i.e. service puppet restart)?
[2008/04/18 00:06:13] <flakrat> maybe if I use "subcribe => package["puppet"] in the service definition?
[2008/04/18 00:06:32] <qubix> flakrat: add a service resource for puppet and then add a "notify => Service[puppetd]" to your update resource
[2008/04/18 00:06:52] <flakrat> qubix, ah thanks
[2008/04/18 00:07:06] <qubix> subscribe should also work i guess
[2008/04/18 00:07:40] @ Quit: patobrien: Read error: 110 (Connection timed out)
[2008/04/18 00:08:43] @ Quit: nigelk_:
[2008/04/18 00:10:47] @ ezralini joined channel #puppet
[2008/04/18 00:15:04] @ Quit: shenson: Read error: 110 (Connection timed out)
[2008/04/18 00:15:26] <flakrat> qubix, thanks that did the trick
[2008/04/18 00:22:02] <jason^> i'm not using modules right now, i didn't see anything about using a module outside of specific use. is there any documentation about using a module for the entire site configuration?
[2008/04/18 00:25:20] @ stick joined channel #puppet
[2008/04/18 00:26:43] @ nigelk joined channel #puppet
[2008/04/18 00:30:02] @ Quit: mikearr: Remote closed the connection
[2008/04/18 00:31:21] @ skoog joined channel #puppet
[2008/04/18 00:33:49] @ Quit: kolla: Remote closed the connection
[2008/04/18 00:35:52] @ Quit: _lunix_: Read error: 113 (No route to host)
[2008/04/18 00:35:59] @ mikearr joined channel #puppet
[2008/04/18 00:37:23] @ Quit: nigelk:
[2008/04/18 00:37:35] @ skoog is now known as rskoog
[2008/04/18 00:39:55] <ezralini> Something is wrong with this, and I can't figure out what: exec { "/usr/bin/pear channel-discover pear.symfony-project.com": unless => "/bin/false" }
[2008/04/18 00:40:23] <ezralini> pastie: yo
[2008/04/18 00:40:32] @ rskoog is now known as skoog
[2008/04/18 00:40:41] <pastie> http://pastie.org/182353 by ezralini.
[2008/04/18 00:41:16] @ skoog left channel #puppet ("Leaving")
[2008/04/18 00:41:28] <ezralini> puppet gives me that back, and I can't figure out why. I want to use a real value for the unless, but that's not working either
[2008/04/18 00:42:06] <duritong> what is the error code if you run this by hand?
[2008/04/18 00:42:12] @ shenson_not_here joined channel #puppet
[2008/04/18 00:42:17] @ shenson_not_here is now known as shenson
[2008/04/18 00:43:48] @ nigelk joined channel #puppet
[2008/04/18 00:45:02] @ Quit: _patobrien_: Read error: 104 (Connection reset by peer)
[2008/04/18 00:45:34] @ _lunix_ joined channel #puppet
[2008/04/18 00:47:16] @ skoog joined channel #puppet
[2008/04/18 00:52:25] <ezralini> duritong: it's what's in the pastie
[2008/04/18 00:52:41] @ markl__ joined channel #puppet
[2008/04/18 00:53:36] <ezralini> duritong: I misuderstood what you meant, let me try that
[2008/04/18 00:53:45] <duritong> nope i meant what is the result if you run "/usr/bin/pear channel-discover pear.symfony-project.com; echo $?" in the console
[2008/04/18 00:55:12] <ezralini> 0 (true)
[2008/04/18 00:55:36] @ Quit: nigelk:
[2008/04/18 00:56:28] <ezralini> duritong: it actually works fine if I drop the unless portion. I just need it to not run every time puppet runs
[2008/04/18 00:58:59] <ashp> urgh, I hate dells, why are their servers so terrible
[2008/04/18 00:59:07] <ashp> there's like 10 seperate bits of firmware I have to update, no single updater either
[2008/04/18 00:59:53] @ a-priori joined channel #puppet
[2008/04/18 01:05:15] @ nigelk joined channel #puppet
[2008/04/18 01:26:16] @ Quit: tim|macbook: "This computer has gone to sleep"
[2008/04/18 01:26:23] @ andrewcshafer joined channel #puppet
[2008/04/18 01:32:00] @ phips joined channel #puppet
[2008/04/18 01:32:02] @ patobrien joined channel #puppet
[2008/04/18 01:37:15] @ jvanzyl joined channel #puppet
[2008/04/18 01:44:34] <benp-> i'm heading out for coffee, anyone need some?
[2008/04/18 01:44:53] <shiruken> where to?
[2008/04/18 01:45:59] <hacim> i need some, thanks
[2008/04/18 01:46:22] @ Quit: Innocenti: Client Quit
[2008/04/18 01:51:37] <benp-> i'm still trying to decide where.. theres the fancy place that makes a leaf pattern in the latte foam or theres the tim hortons, both involve queuing at this hour of the morning :(
[2008/04/18 01:51:50] <benp-> things get complicated when the office runs out of coffee
[2008/04/18 01:52:56] <benp-> or when the office coffee runs out
[2008/04/18 01:57:10] @ kposs joined channel #puppet
[2008/04/18 01:59:38] <Demosthenes> aeropress
[2008/04/18 02:04:00] <hacim> fancy place
[2008/04/18 02:04:23] <ezralini> duritong: I figured out my mistake. I knew it was me and not puppet. I was grepping the channel-discover line in my unless to see if the package was installed, not realizing that doing so would cause the package to be installed, which causes the unless to return false, causing the exec to run, which, because it is already installed, to fail.
[2008/04/18 02:04:28] * hacim places benp- in canada due to the tim hortons :)
[2008/04/18 02:04:33] <ezralini> convoluted, but my fault
[2008/04/18 02:05:36] @ Quit: a-priori:
[2008/04/18 02:05:49] <stick> mmmm tim hortons....
[2008/04/18 02:05:56] <stick> maple cream donut...
[2008/04/18 02:05:56] <benp-> yeah i went to the tims :(
[2008/04/18 02:07:25] <benp-> i think tim hortons has expanded south of the border a little
[2008/04/18 02:08:31] <benp-> but i'm in vancouver
[2008/04/18 02:10:37] @ jvanzyl_ joined channel #puppet
[2008/04/18 02:11:32] <hacim> benp-: I dont think tims would succeed in seattle
[2008/04/18 02:11:45] <hacim> too much specialty coffee requirements there :)
[2008/04/18 02:12:25] @ dysinger joined channel #puppet
[2008/04/18 02:13:42] @ Quit: patobrien: Read error: 110 (Connection timed out)
[2008/04/18 02:15:06] @ Quit: stick: "Leaving"
[2008/04/18 02:15:29] @ stick joined channel #puppet
[2008/04/18 02:20:52] @ plathrop joined channel #puppet
[2008/04/18 02:26:37] @ Quit: jvanzyl: Read error: 110 (Connection timed out)
[2008/04/18 02:26:38] @ shake-n-bake joined channel #puppet
[2008/04/18 02:26:53] <Demosthenes> benp-: there's tims in northern NY, buffalo and the like
[2008/04/18 02:38:43] @ Quit: DerekW: "Leaving"
[2008/04/18 02:39:43] @ Quit: griznog: "Lost terminal"
[2008/04/18 02:50:31] @ Quit: jvanzyl_: Read error: 104 (Connection reset by peer)
[2008/04/18 02:51:09] @ jvanzyl joined channel #puppet
[2008/04/18 02:53:55] @ Quit: malikeye|work: "Lost terminal"
[2008/04/18 02:57:23] @ pleemans joined channel #puppet
[2008/04/18 02:58:28] <benp-> Demosthenes: found a map, http://en.wikipedia.org/wiki/Image:Tim_stores_wiki.png
[2008/04/18 02:59:15] <Demosthenes> wow, what were they thinking expanding into west virginia and kentucky?
[2008/04/18 02:59:49] <benp-> they bought out a few chain restaurants and converted them, according to wikipedia
[2008/04/18 03:00:26] <benp-> Rax, Hardee's, Bess Eatons
[2008/04/18 03:02:12] <Demosthenes> hardee's has been dying since the 80's
[2008/04/18 03:11:09] <kposs> is it possible to subscribe a service to a file in a different class?
[2008/04/18 03:11:39] <kposs> would it be subscribe => class::File[<file>]
[2008/04/18 03:11:49] <Volcane> just File[...]
[2008/04/18 03:11:58] <Volcane> as long as the other class is included into the current node etc
[2008/04/18 03:12:04] <kposs> right
[2008/04/18 03:12:07] <benp-> but it might be clearer to attach a notify to your file
[2008/04/18 03:12:37] <kposs> and leave out the subscribe, or have both?
[2008/04/18 03:12:46] * Volcane prefers the subscribe pattern
[2008/04/18 03:13:07] <Volcane> but its mostly the same
[2008/04/18 03:13:10] <Volcane> one or the other
[2008/04/18 03:13:13] <benp-> use one of the other
[2008/04/18 03:13:27] <benp-> its a matter of preference
[2008/04/18 03:21:09] @ Quit: lak:
[2008/04/18 03:42:10] @ jtimberman joined channel #puppet
[2008/04/18 03:43:08] @ Quit: oxtail: "Bye for now..."
[2008/04/18 03:43:26] @ jtimberman left channel #puppet ()
[2008/04/18 03:47:44] @ cmoates- joined channel #puppet
[2008/04/18 03:48:00] @ cmoates-_ joined channel #puppet
[2008/04/18 03:48:22] @ cmoates-_ is now known as cmoates
[2008/04/18 03:55:41] @ statik joined channel #puppet
[2008/04/18 03:56:25] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by jtimberman @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/18 04:00:52] <stick> puppet types need to be unique across your entire compiled configuration or just across classes on a single host?
[2008/04/18 04:04:11] @ Quit: cmoates-: Read error: 110 (Connection timed out)
[2008/04/18 04:05:47] @ wibbit joined channel #puppet
[2008/04/18 04:06:16] @ shake-n-bake_ joined channel #puppet
[2008/04/18 04:08:41] @ a-priori joined channel #puppet
[2008/04/18 04:09:57] @ Quit: gileswork: Read error: 113 (No route to host)
[2008/04/18 04:11:26] @ Quit: lutter: "Leaving."
[2008/04/18 04:13:37] @ Quit: a-priori: Client Quit
[2008/04/18 04:17:17] @ shadoi joined channel #puppet
[2008/04/18 04:20:33] @ lak joined channel #puppet
[2008/04/18 04:21:19] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2008/04/18 04:26:52] @ genehack joined channel #puppet
[2008/04/18 04:27:18] @ ezralini_ joined channel #puppet
[2008/04/18 04:33:14] @ lutter joined channel #puppet
[2008/04/18 04:35:04] @ martha left channel #puppet ()
[2008/04/18 04:39:28] @ malikeye|work joined channel #puppet
[2008/04/18 04:41:31] @ Quit: ezralini: Read error: 110 (Connection timed out)
[2008/04/18 04:46:09] @ Quit: plathrop:
[2008/04/18 04:46:19] @ Quit: jvanzyl:
[2008/04/18 04:47:55] @ jvanzyl joined channel #puppet
[2008/04/18 04:51:34] @ randybias joined channel #puppet
[2008/04/18 04:53:57] @ stevil joined channel #puppet
[2008/04/18 05:05:24] @ shake-n-bake_ left channel #puppet ()
[2008/04/18 05:12:27] @ Quit: jeckersb: "Leaving"
[2008/04/18 05:18:28] @ zobbo joined channel #puppet
[2008/04/18 05:21:19] @ steinmb joined channel #puppet
[2008/04/18 05:28:32] <lutter> lak: is it ok if I send an announcement for Augeas to puppet-users ? ( I assume it is, just wanted to make sure)
[2008/04/18 05:29:45] <flakrat> how do I get wildcards to work in a case statement, for ex: case $hostname { "workstation0*": {
[2008/04/18 05:29:56] <flakrat> or is this not supported?
[2008/04/18 05:31:09] <lak> lutter: sure
[2008/04/18 05:36:16] @ skoog left channel #puppet ("Leaving")
[2008/04/18 05:39:27] @ plathrop joined channel #puppet
[2008/04/18 05:51:16] @ Quit: pleemans: "Ex-Chat"
[2008/04/18 05:53:28] <chadh> lak: still at 3 signed up for training?
[2008/04/18 05:53:36] <lak> yeah, unfortunately
[2008/04/18 05:53:45] <lak> i had someone say he had two he should be able to bring
[2008/04/18 05:53:50] <lak> but i haven't heard anything since then
[2008/04/18 05:53:53] <lak> things aren't looking good
[2008/04/18 05:53:59] <lak> we had so much interest early on
[2008/04/18 05:54:35] <chadh> :(
[2008/04/18 05:54:45] <lak> yeah
[2008/04/18 05:54:45] <flakrat> where's training?
[2008/04/18 05:54:51] <lak> portland, or
[2008/04/18 05:54:52] <lak> first week in june
[2008/04/18 05:55:11] <flakrat> ah, too bad my dept is out of money, I'd like to go
[2008/04/18 05:55:55] <flakrat> we were just told to cut 9% from our budget, so naturally that comes out of training and equipment first
[2008/04/18 05:58:02] <lak> nice
[2008/04/18 06:01:40] * plathrop is disappointed.
[2008/04/18 06:02:12] <Gareth> hmm...am I able to use a puppet function I wrote in an unless clause?
[2008/04/18 06:03:29] <lak> plathrop: it's not impossible yet, it might still happen
[2008/04/18 06:05:55] @ Quit: malikeye|work: "Lost terminal"
[2008/04/18 06:06:45] @ malikeye|work joined channel #puppet
[2008/04/18 06:09:50] @ shake-n-bake_ joined channel #puppet
[2008/04/18 06:12:40] @ Quit: jvanzyl: Read error: 110 (Connection timed out)
[2008/04/18 06:23:15] @ jvanzyl joined channel #puppet
[2008/04/18 06:24:45] @ Quit: jvanzyl: Client Quit
[2008/04/18 06:28:54] @ plathrop_ joined channel #puppet
[2008/04/18 06:34:46] @ Quit: plathrop_:
[2008/04/18 06:35:18] @ oxtail joined channel #puppet
[2008/04/18 06:41:19] <thecat> lak: come to SF
[2008/04/18 06:44:46] @ jcollie left channel #puppet ("Ex-Chat")
[2008/04/18 06:48:53] <lak> thecat: care to be a bit more specific? :)
[2008/04/18 06:49:27] @ gh joined channel #puppet
[2008/04/18 06:51:34] @ sknight joined channel #puppet
[2008/04/18 06:51:41] <sknight> hey all
[2008/04/18 06:52:01] <sknight> so, I bought the puppet book, am following it pretty closely, and am running into some issues
[2008/04/18 06:52:31] <sknight> this is puppet 0.24.4, puppetmaster and puppetd both on Debian Etch
[2008/04/18 06:52:46] @ shenson is now known as shenson_not_here
[2008/04/18 06:53:43] <sknight> I've got site.pp including templates.pp, nodes.pp, classes/*, and os/* (root of /etc/puppet/manifests)
[2008/04/18 06:53:56] <Demosthenes> ooo, http://augeas.net/ is very interesting
[2008/04/18 06:54:20] <sknight> my client is connecting to vpuppet01, I've got the certificate signed and everything. client's hostname is 'vnagios01.eigvps.net'
[2008/04/18 06:54:48] <sknight> I start puppetd with --verbose --no-daemonize, and get this:
[2008/04/18 06:54:49] <sknight> err: Could not retrieve catalog: Could not parse for environment development: Syntax error at 'inherits' at /etc/puppet/manifests/nodes.pp:12
[2008/04/18 06:55:04] <flakrat> Demosthenes, I was wondering about that, saw a bunch of augeas rpms on dlutter
[2008/04/18 06:55:12] <Demosthenes> slick idea
[2008/04/18 06:55:14] <sknight> that particular snippet refers to this node definition: node 'vnagios01.eigvps.net',
[2008/04/18 06:55:14] <sknight> inherits basenode{}
[2008/04/18 06:55:27] <Demosthenes> and i LIKE using directory trees and files as data representations.
[2008/04/18 06:55:47] <sknight> basenode{} is defined in templates.pp, but yet it still fails
[2008/04/18 06:56:01] <sknight> any ideas?
[2008/04/18 06:56:27] <flakrat> could you pastebin your nodes.pp file?
[2008/04/18 06:56:37] <sknight> sure
[2008/04/18 06:56:51] @ Quit: lutter: "Leaving."
[2008/04/18 06:57:08] <sknight> I commented out a BUNCH of stuff to isolate this, btw
[2008/04/18 06:57:18] <flakrat> haha, lutter leaves just as we discover augeas
[2008/04/18 06:57:27] <sknight> http://pastebin.com/d7a4841ca
[2008/04/18 06:58:04] <sknight> here'e templates.pp too, just in case: http://pastebin.com/d5f470af4
[2008/04/18 06:58:27] <sknight> and site.pp: http://pastebin.com/d1a423b88
[2008/04/18 06:59:53] <flakrat> try putting a space between basenode and {} and possibly inside the { }
[2008/04/18 07:00:13] <sknight> wow, ruby's that picky?
[2008/04/18 07:00:42] <flakrat> sknight, not sure (new to ruby) but thats how I have my nodes.pp
[2008/04/18 07:01:22] <flakrat> I bet it's the space missing between the template and the first bracket"basenode{"
[2008/04/18 07:01:53] <sknight> which files are you referring to?
[2008/04/18 07:01:55] <sknight> nodes.pp?
[2008/04/18 07:02:01] <flakrat> nodes.pp
[2008/04/18 07:02:25] <flakrat> http://pastebin.com/m5751ce16
[2008/04/18 07:02:26] <sknight> nope, no love
[2008/04/18 07:02:47] <sknight> yeah, I tried it that way and with a space inside the {}
[2008/04/18 07:02:53] <sknight> both ways I get the same error
[2008/04/18 07:02:54] <flakrat> what about this http://pastebin.com/m710e3183
[2008/04/18 07:03:30] <sknight> nope, no love there either
[2008/04/18 07:03:35] <sknight> same error
[2008/04/18 07:03:41] <flakrat> sheesh
[2008/04/18 07:05:01] <sknight> hehe that was my reaction too
[2008/04/18 07:05:16] <sknight> lak, you awake?
[2008/04/18 07:05:25] <lak> unfortunately, yes
[2008/04/18 07:05:32] <sknight> got a minute? :-D
[2008/04/18 07:06:06] <lak> no trailing comma between the last node name and the 'inherits' key word?
[2008/04/18 07:06:31] <lak> i can basically guarantee that trailing comma is invalid
[2008/04/18 07:06:32] <sknight> ...
[2008/04/18 07:06:38] <lak> i assume that's your question
[2008/04/18 07:06:38] <sknight> well slap mah fro and call me 'stupid'
[2008/04/18 07:06:45] <sknight> goddammit :-p
[2008/04/18 07:06:47] <sknight> thanks man!
[2008/04/18 07:06:47] <lak> i would if you were here :/
[2008/04/18 07:06:51] <Demosthenes> sally! ;]
[2008/04/18 07:06:56] <lak> heh, no problem
[2008/04/18 07:09:44] <flakrat> sknight, I thought that's what this one had http://pastebin.com/m710e3183 :)
[2008/04/18 07:09:52] <flakrat> node 'vnagios01.eigvps.net' inherits basenode {}
[2008/04/18 07:11:18] <sknight> yeah, that's what I get for not copying and pasting
[2008/04/18 07:12:21] <ashp> so which ne of you is responsible for augeas :)
[2008/04/18 07:12:51] <lak> ashp: that would be lutter
[2008/04/18 07:14:40] <ashp> it looks interesting
[2008/04/18 07:14:49] <ashp> i might wait for everyone else to find all the problems first :D
[2008/04/18 07:21:05] @ Quit: sknight: "Leaving"
[2008/04/18 07:24:11] @ Quit: josb:
[2008/04/18 07:29:39] @ jvanzyl joined channel #puppet
[2008/04/18 07:30:44] @ gh left channel #puppet ()
[2008/04/18 07:33:36] @ Quit: mccune: "Leaving"
[2008/04/18 07:44:28] <fujin> jamesturnbull: updated that puppetlast script, handles errors now
[2008/04/18 07:44:49] <fujin> (lazy error handling though
[2008/04/18 07:46:30] <jamesturnbull> fujin: k
[2008/04/18 07:48:16] @ Quit: keithlard:
[2008/04/18 07:55:07] <flakrat> jamesturnbull, are there any errata or suppliments to your Pulling Strings book? I'm looking through the custom facts section and it appears everything has changed in .0.24
[2008/04/18 07:55:29] <jamesturnbull> flakrat: everything?
[2008/04/18 07:55:40] <jamesturnbull> flakrat: but yes - wiki:PuppetBookErrata
[2008/04/18 07:55:43] <gepetto_> jamesturnbull: flakrat: wiki:PuppetBookErrata is http://reductivelabs.com/trac/puppet/wiki/PuppetBookErrata
[2008/04/18 07:56:43] <flakrat> jamesturnbull, according to the puppet site, you now use this approach rather than factsync, PluginsInModules
[2008/04/18 07:57:07] <jamesturnbull> flakrat: it's still up in the air
[2008/04/18 07:57:31] <jamesturnbull> flakrat: no final solution has been decided and it's not clear which method with be deprecated
[2008/04/18 07:57:37] <jamesturnbull> flakrat: both work though
[2008/04/18 07:57:58] <flakrat> ah, ok, then I'll follow the book for now, thanks
[2008/04/18 07:59:00] @ a-priori joined channel #puppet
[2008/04/18 08:07:36] @ Quit: baard1973: Remote closed the connection
[2008/04/18 08:08:54] @ baard1973 joined channel #puppet
[2008/04/18 08:10:08] @ Quit: wibbit: Read error: 110 (Connection timed out)
[2008/04/18 08:11:38] @ wibbit joined channel #puppet
[2008/04/18 08:19:08] @ lutter joined channel #puppet
[2008/04/18 08:19:29] <fujin> lak: any suggestions on furthering my Ruby fu?
[2008/04/18 08:19:45] <lak> yeah, fix a bunch of bugs :)
[2008/04/18 08:19:49] <shadoi> haha
[2008/04/18 08:19:54] <lak> you can only learn by trying
[2008/04/18 08:20:07] <shadoi> fujin: I found doing rails apps had a nice steady learning curve.
[2008/04/18 08:20:24] <fujin> well, supplied code for #1188 ehancement
[2008/04/18 08:20:26] <gepetto_> fujin: well: #1188 is http://reductivelabs.com/trac/puppet/ticket/1188 "'puppetwhen' - list when puppet was last successfully run for each node"
[2008/04/18 08:20:30] <fujin> my first attempts ;>
[2008/04/18 08:20:32] <shadoi> All depends on how you like to learn though
[2008/04/18 08:20:33] <fujin> shadoi: cool!
[2008/04/18 08:20:45] <fujin> I had an idea for a rails app late last night, but I've bloody forgotten it now
[2008/04/18 08:21:07] <fujin> I'm so tired, I slept through all three alarm clocks this morning
[2008/04/18 08:21:50] * fujin grumbles
[2008/04/18 08:21:55] <shadoi> I can't switch my brain off sometimes either, keeps me up 72hrs straight sometimes
[2008/04/18 08:22:03] @ Quit: a-priori:
[2008/04/18 08:22:12] <shadoi> thankfully it doesn't happen very often
[2008/04/18 08:25:38] <hacim> i hate that
[2008/04/18 08:25:42] <hacim> thats why I'm exhausted today
[2008/04/18 08:25:55] <shadoi> must be in the air :)
[2008/04/18 08:26:10] <plathrop> fujin: Write tests. It helps a lot!
[2008/04/18 08:26:24] <pietros> it's the moon phase
[2008/04/18 08:26:49] <shadoi> pietros: yeah? I'd love to blame it on astrology. ;)
[2008/04/18 08:27:11] <fujin> bloody astrology
[2008/04/18 08:27:14] * fujin shakes first
[2008/04/18 08:27:20] <fujin> s/first/fist/
[2008/04/18 08:30:36] @ Quit: ezralini_:
[2008/04/18 08:31:39] <flakrat> question about using a custom fact, when I start my puppetd client daemon, I see that it downloads my new custom fact to $vardir/facts, but it doesn't appear that the fact is loading. Do I need to add code to, forexample, templates.pp to include the .rb file before I can use the new fact?
[2008/04/18 08:33:08] <fujin> factpath =
[2008/04/18 08:38:43] @ Quit: randybias:
[2008/04/18 08:39:08] <flakrat> fujin, added 'factpath = $vardir/facts' to the [main] section in my clients /etc/puppet/puppet.conf file, restarted the daemon and no joy
[2008/04/18 08:42:18] <flakrat> oh well, I'll work on it tomorrow, time for the drive home
[2008/04/18 08:42:22] <shadoi> flakrat: facter is independent of puppet
[2008/04/18 08:42:37] <shadoi> flakrat: you have to set FACTERLIB environment variable to that path and then run facter
[2008/04/18 08:44:00] <flakrat> shadoi, ah, ok I was under the assumption that puppet read the custom facts in and overrode the default facter variables, thanks
[2008/04/18 08:46:23] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by dhaveconfig @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/18 08:52:58] <nigelk> woot. approved to add google to the site :)
[2008/04/18 08:53:22] <shadoi> sweet :)
[2008/04/18 08:53:26] <thecat> "the site"?
[2008/04/18 08:54:09] <shadoi> nigelk: can you say roughly how many clients on there?
[2008/04/18 08:54:27] <nigelk> that particular fact is being discussed by lawyers
[2008/04/18 08:54:31] <nigelk> sigh
[2008/04/18 08:54:31] <shadoi> ah I see
[2008/04/18 08:54:41] <shadoi> hooray for behemothism
[2008/04/18 08:54:43] <lak> nigelk: nice!
[2008/04/18 08:54:44] <shadoi> ;)
[2008/04/18 08:55:05] <nigelk> I was approved to say a while ago that we passed 5,000 clients a long time ago
[2008/04/18 08:55:40] <nigelk> a LONG time ago
[2008/04/18 08:55:43] <shadoi> haha
[2008/04/18 08:55:47] <shadoi> nice
[2008/04/18 08:56:02] <thecat> can you get that many clients on a single master?
[2008/04/18 08:57:01] <shadoi> no.
[2008/04/18 08:57:03] <nigelk> no
[2008/04/18 08:57:17] <thecat> what's a good rule of thumb for master/client ratios?
[2008/04/18 08:57:29] <shadoi> really depends on the manifests
[2008/04/18 08:57:30] <nigelk> things got unhappy around 5000
[2008/04/18 08:57:43] <nigelk> we had pound balancing the non-CA part between two servers
[2008/04/18 08:57:44] <thecat> and are there ways to improve scaling? multiple master threads?
[2008/04/18 08:57:47] <nigelk> moving to dns views instead
[2008/04/18 08:57:49] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by jkrauska @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/18 08:58:11] <shadoi> thecat: we've got over 700 classes, over a hundred modules... I don't think we could support 1000 clients
[2008/04/18 08:58:16] <thecat> I found splay helped me out the best
[2008/04/18 08:58:23] <thecat> I wish that was on by default
[2008/04/18 08:58:42] @ Quit: plathrop:
[2008/04/18 08:59:26] @ Quit: markl__: "Lost terminal"
[2008/04/18 08:59:26] <shadoi> thecat: are you starting up loads of clients all at once all the time?
[2008/04/18 08:59:35] <shadoi> splay would really only help in that case
[2008/04/18 08:59:50] <thecat> I often have to, so I insert a random sleep before the restart
[2008/04/18 09:00:02] <shadoi> *nod*
[2008/04/18 09:00:04] <thecat> but splay doesn't hurt in the normal use case really
[2008/04/18 09:01:03] <thecat> makes things a little less cyclic, but you still get the job done withing a window
[2008/04/18 09:03:40] <nigelk> the biggest problem for us is the YAML performance and then escaping it
[2008/04/18 09:03:45] <nigelk> other than that it would be fine
[2008/04/18 09:08:05] @ Quit: stick: Read error: 110 (Connection timed out)
[2008/04/18 09:09:42] <_lunix_> I am the gatekeeper
[2008/04/18 09:09:57] <_lunix_> bah sorry peeps...wrong window :S
[2008/04/18 09:15:27] @ keithlard joined channel #puppet
[2008/04/18 09:15:34] @ Quit: keithlard: Remote closed the connection
[2008/04/18 09:16:20] [msg(#puppet)] ::puppet:: Whos Using Puppet edited by jkrauska @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet
[2008/04/18 09:16:36] @ Quit: wibbit: Read error: 110 (Connection timed out)
[2008/04/18 09:20:47] @ Quit: oxtail: Read error: 113 (No route to host)
[2008/04/18 09:29:30] <thecat> anyone doing resursive directory syncs?
[2008/04/18 09:29:38] <thecat> I'm finding it to be very very slow
[2008/04/18 09:29:56] <thecat> transfer speed wise
[2008/04/18 09:30:37] <thecat> like almost 500kB/sec
[2008/04/18 09:30:52] <thecat> seems it wasn't built for io speed
[2008/04/18 09:31:26] <thecat> much less than that actually
[2008/04/18 09:32:03] <thecat> more like 30kB/sec
[2008/04/18 09:35:01] <fastjay> evenin
[2008/04/18 09:43:57] <thecat> howdy
[2008/04/18 09:49:14] <shadoi> thecat: you shouldn't use puppet to manage anything but really small text files.
[2008/04/18 09:49:18] <shadoi> thecat: at least for now.
[2008/04/18 09:49:25] <shadoi> use rsync
[2008/04/18 09:50:03] <shadoi> thecat: currently it has to CGI.escape everything to send it to the clients over XML-RPC
[2008/04/18 09:50:30] <shadoi> bbl
[2008/04/18 09:50:31] @ Quit: shadoi: "leaving"
[2008/04/18 09:57:00] <thecat> anyone got a good exec example?
[2008/04/18 09:57:08] <thecat> I've got the rsync syntax I need
[2008/04/18 09:57:15] <thecat> I just need to properly trigger and run
[2008/04/18 09:58:39] @ Quit: yure: Read error: 110 (Connection timed out)
[2008/04/18 10:02:32] @ jvanzyl_ joined channel #puppet
[2008/04/18 10:02:42] @ Gareth is now known as Morph
[2008/04/18 10:03:29] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/04/18 10:30:44] @ Quit: nigelk:
[2008/04/18 10:30:57] @ johnf joined channel #puppet
[2008/04/18 10:33:40] @ Quit: ashp: Remote closed the connection
[2008/04/18 10:33:44] @ ashp joined channel #puppet
[2008/04/18 10:38:09] @ Quit: jvanzyl_: Read error: 110 (Connection timed out)
[2008/04/18 10:39:48] @ Quit: zobbo: Read error: 110 (Connection timed out)
[2008/04/18 10:48:38] @ john1 joined channel #puppet
[2008/04/18 10:54:55] @ stick joined channel #puppet
[2008/04/18 11:01:06] @ Quit: johnf: Read error: 101 (Network is unreachable)
[2008/04/18 11:10:20] @ Quit: john1: Read error: 101 (Network is unreachable)
[2008/04/18 11:12:24] @ johnf joined channel #puppet
[2008/04/18 11:13:26] @ Rainhead joined channel #puppet
[2008/04/18 11:13:29] <Rainhead> hey all
[2008/04/18 11:13:40] <Rainhead> anyone know a good alternative to daemontools?
[2008/04/18 11:13:55] <_lunix_> runit or monit
[2008/04/18 11:14:46] <_lunix_> runit is a sysv replacement that monitors process'
[2008/04/18 11:15:00] <Rainhead> oh, yeah, I saw this once a while ago
[2008/04/18 11:15:21] <_lunix_> monit runs without the need to hack up your entire sysv process
[2008/04/18 11:15:38] <Rainhead> yeah, monit wouldn't be bad, I use that on a few things
[2008/04/18 11:15:41] <_lunix_> or then there's god
[2008/04/18 11:16:00] <Rainhead> was just looking at god, but it seemed a little rediculous
[2008/04/18 11:16:35] <_lunix_> I like it the best
[2008/04/18 11:16:59] <Rainhead> hmm, well, I'll look at it some more
[2008/04/18 11:17:22] <_lunix_> thats just my personal liking but
[2008/04/18 11:17:32] <Rainhead> the guy seemed kind of.. untrustworthy? narcissistic?
[2008/04/18 11:17:59] <Rainhead> I need something that runs on OSX as well, so I guess runit is out
[2008/04/18 11:19:29] <_lunix_> never used osX so cant give advise on that
[2008/04/18 11:19:46] <z00dax> there are some serious issues with god at the moment
[2008/04/18 11:19:47] <_lunix_> but I will say I like GOD because it is soo flexible
[2008/04/18 11:19:53] <z00dax> some that render it worthless in real life
[2008/04/18 11:20:02] <_lunix_> ouch
[2008/04/18 11:20:04] <z00dax> it can do much, and isnt that hard to get your head around
[2008/04/18 11:20:18] <z00dax> its got atleast a couple of ruby mem leak issues
[2008/04/18 11:20:30] <z00dax> I've had it run into 500MB+ in under a days uptime
[2008/04/18 11:20:36] <_lunix_> dam
[2008/04/18 11:21:38] @ Quit: dysinger: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:38] @ Quit: pawalls: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:40] @ Quit: Demosthenes: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:41] @ Quit: zirpu: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:41] @ Quit: markl_: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:42] @ Quit: holoway: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:42] @ Quit: charlieS: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:42] @ Quit: Hunnur: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:42] @ Quit: ssm_: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:43] @ Quit: blblack: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:43] @ Quit: fux: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:43] @ Quit: jcastro: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:44] @ Quit: falsch: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:44] @ Quit: z00dax: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:21:44] <_lunix_> I havent got it running on anything huge yet have just been trying it out in a few kvm VE's
[2008/04/18 11:21:44] @ Hunnur_ joined channel #puppet
[2008/04/18 11:21:45] @ markl__ joined channel #puppet
[2008/04/18 11:21:45] @ charlieS joined channel #puppet
[2008/04/18 11:21:45] @ falsch joined channel #puppet
[2008/04/18 11:21:45] @ fux_ joined channel #puppet
[2008/04/18 11:21:46] @ blblack joined channel #puppet
[2008/04/18 11:21:46] @ zirpu joined channel #puppet
[2008/04/18 11:21:46] @ Demosthenex joined channel #puppet
[2008/04/18 11:21:47] @ jcastro joined channel #puppet
[2008/04/18 11:21:48] @ ssm joined channel #puppet
[2008/04/18 11:21:52] <thecat> 5330 puppet 15 0 202m 135m 2500 S 0 1.7 406:34.81 puppetmasterd
[2008/04/18 11:21:53] @ z00dax joined channel #puppet
[2008/04/18 11:21:54] @ Quit: kposs:
[2008/04/18 11:21:56] @ pawalls joined channel #puppet
[2008/04/18 11:21:59] <thecat> my puppetmasted is about 135M res
[2008/04/18 11:22:23] @ plathrop joined channel #puppet
[2008/04/18 11:22:34] <thecat> I find that a little larger than I'd wish
[2008/04/18 11:23:39] @ Quit: shiruken: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:40] @ Quit: tlockney: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:40] @ Quit: lefant: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:41] @ Quit: morfoh: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:42] @ Quit: macbar: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:42] @ Quit: bda: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:43] @ Quit: benp-: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:43] @ Quit: jamesturnbull: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:44] @ Quit: grim_radical: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:45] @ Quit: rabbit7: heinlein.freenode.net irc.freenode.net
[2008/04/18 11:23:45] @ shiruken joined channel #puppet
[2008/04/18 11:23:45] @ jamesturnbull joined channel #puppet
[2008/04/18 11:23:46] @ macbar joined channel #puppet
[2008/04/18 11:23:46] @ rabbit7 joined channel #puppet
[2008/04/18 11:23:46] @ lefant joined channel #puppet
[2008/04/18 11:23:47] @ morfoh joined channel #puppet
[2008/04/18 11:23:48] @ bda joined channel #puppet
[2008/04/18 11:23:48] @ benp- joined channel #puppet
[2008/04/18 11:23:56] @ grim_radical joined channel #puppet
[2008/04/18 11:23:58] @ tlockney joined channel #puppet
[2008/04/18 11:26:41] @ holoway joined channel #puppet
[2008/04/18 11:27:23] <Rainhead> z00dax: that's good to hear about, thanks
[2008/04/18 11:30:29] @ shadoi joined channel #puppet
[2008/04/18 11:47:46] @ jvanzyl joined channel #puppet
[2008/04/18 11:53:09] @ Quit: tlockney: "leaving"
[2008/04/18 12:03:07] @ Quit: lak: Read error: 110 (Connection timed out)
[2008/04/18 12:03:23] @ lak joined channel #puppet
[2008/04/18 12:13:04] @ Quit: shake-n-bake_:
[2008/04/18 12:15:29] @ sknight joined channel #puppet
[2008/04/18 12:16:54] @ Quit: andrewcshafer:
[2008/04/18 12:23:29] <sknight> hey all
[2008/04/18 12:23:43] <sknight> does 24.4 handle modules slightly differently than others?
[2008/04/18 12:23:48] <sknight> *other versions
[2008/04/18 12:25:03] <sknight> I've defined a class inside a module's init.pp, with a file object set up like this:
[2008/04/18 12:25:12] <sknight> source => "puppet:///ntp/ntp.conf"
[2008/04/18 12:26:01] <sknight> I include it in my base node definition with an "include ntp", and I get this error:
[2008/04/18 12:27:33] <sknight> err: Could not find server puppet: getaddrinfo: Name or service not known
[2008/04/18 12:27:34] <sknight> err: //Node[basenode]/ntp/File[/etc/ntp.conf]/source: change from {md5}97deededa708b92ebcf676625966dcfe to puppet:///ntp/ntp.conf failed: Could not find server puppet
[2008/04/18 12:28:01] <sknight> and yes, I do have the puppet server (vpuppet01.eigbox.net) defined in /etc/puppet/puppetd.conf
[2008/04/18 12:28:04] <sknight> :-p
[2008/04/18 12:28:12] <windowsrefund> why work that hard?
[2008/04/18 12:28:19] <windowsrefund> just use a cname in your dns
[2008/04/18 12:28:34] <sknight> meh, I like to to be clean :-p
[2008/04/18 12:28:45] <windowsrefund> the cname approach is much cleaner
[2008/04/18 12:28:58] <windowsrefund> because puppetd looks for it by default
[2008/04/18 12:29:13] <sknight> well, what if I want to have multiple puppetmaster servers in the future?
[2008/04/18 12:29:38] <windowsrefund> plus you're able to slap up another puppet box if that one fails and not have to manipulate clients
[2008/04/18 12:29:52] <windowsrefund> what are you going to do with multiple puppetmaster boxes?
[2008/04/18 12:29:59] <sknight> load-balance for file-serving
[2008/04/18 12:29:59] <windowsrefund> clients only can connect to one
[2008/04/18 12:30:15] <windowsrefund> load-balancing is still gonna resolve to one dns name
[2008/04/18 12:30:21] <waawaamilk> heh
[2008/04/18 12:30:27] <sknight> bahhh
[2008/04/18 12:30:28] <waawaamilk> indeed
[2008/04/18 12:30:33] <windowsrefund> ok
[2008/04/18 12:30:40] <windowsrefund> just telling ya something that makes sense
[2008/04/18 12:31:09] <sknight> hey, docs say it's supposed to go to what the client has as it's master doggonit! :-p
[2008/04/18 12:31:35] <windowsrefund> I'm just saying that you're working harder than you need to
[2008/04/18 12:31:52] <windowsrefund> and while you're doing it, you're depriving yourself of the benefits offered by DNS
[2008/04/18 12:33:01] <windowsrefund> what I like to do is to add a puppet cname to every dns zone I have that contains boxes that are puppetized
[2008/04/18 12:33:13] <windowsrefund> then I slap up a puppet master box in each zone
[2008/04/18 12:34:09] <windowsrefund> they get hooked into subversion and everything is sweet
[2008/04/18 12:34:10] <fujin> sknight: don't use puppetd.conf
[2008/04/18 12:35:11] <sknight> ...fujin?
[2008/04/18 12:35:18] <fujin> It's deprecated.
[2008/04/18 12:35:26] <sknight> ahhh!
[2008/04/18 12:35:28] <windowsrefund> ah, that's true
[2008/04/18 12:35:35] <windowsrefund> it's just puppet.conf now
[2008/04/18 12:35:37] <sknight> well, what's the 'proper' way to do it? CNAME in DNS?
[2008/04/18 12:35:38] <fujin> Put it under a put a puppetd section in puppet.conf
[2008/04/18 12:35:43] <fujin> no, you don't need a cname
[2008/04/18 12:35:55] <windowsrefund> of course you don't *need* to use dns
[2008/04/18 12:35:57] <sknight> I do have puppet.conf, sorry. i had a typo
[2008/04/18 12:36:22] <sknight> I've got a [main] section, and server is defined there
[2008/04/18 12:36:30] <fujin> sknight: http://rafb.net/p/TaGJfi50.html
[2008/04/18 12:36:33] <fujin> is what mine looks like
[2008/04/18 12:36:36] <windowsrefund> I'm just explaining why using a cname is a better idea than managing the same information in puppet.conf
[2008/04/18 12:36:55] <fujin> I actually prefer managing /etc/hosts with Puppet vs. using a cname
[2008/04/18 12:37:02] <fujin> but I use puppet.domain.tld
[2008/04/18 12:37:13] <windowsrefund> /etc/hosts?
[2008/04/18 12:37:15] <windowsrefund> :)
[2008/04/18 12:37:21] <fujin> Yeah.
[2008/04/18 12:37:31] <fujin> That's what *nix checks for name resolution before actually querying DNS.
[2008/04/18 12:37:49] <windowsrefund> I've heard of it :)
[2008/04/18 12:38:04] <windowsrefund> anyway, you're doing a poor man's dns
[2008/04/18 12:38:26] <fujin> no. I'm not doing DNS at all.
[2008/04/18 12:38:30] <fujin> One less point of failure
[2008/04/18 12:38:34] <windowsrefund> and that's still working harder than you need to
[2008/04/18 12:38:39] <fujin> Nope.
[2008/04/18 12:38:40] <windowsrefund> dns is not a point of failure
[2008/04/18 12:38:44] <fujin> Sure it is
[2008/04/18 12:38:45] <sknight> I beg to differ
[2008/04/18 12:38:46] <fujin> no dns = no resolve
[2008/04/18 12:38:49] <windowsrefund> not when it's set up correctly
[2008/04/18 12:38:52] <fujin> Nope.
[2008/04/18 12:38:54] <shadoi> hehe
[2008/04/18 12:39:00] <windowsrefund> wow
[2008/04/18 12:39:05] <sknight> someone done about to get sk00l3d
[2008/04/18 12:39:05] <fujin> Both of my recursive boxes just died
[2008/04/18 12:39:08] <fujin> Now I've got no DNS.
[2008/04/18 12:39:10] <fujin> => no dns
[2008/04/18 12:39:10] * sknight pops some popcorn
[2008/04/18 12:39:13] <fujin> = no DNS
[2008/04/18 12:39:15] <fujin> = no resolution
[2008/04/18 12:39:20] <fujin> = /etc/hosts would still work
[2008/04/18 12:39:20] <waawaamilk> NO PORN!
[2008/04/18 12:39:22] <fujin> EOF
[2008/04/18 12:39:27] <windowsrefund> then you need to fix your b0rked dns setup
[2008/04/18 12:39:40] <waawaamilk> indeed...
[2008/04/18 12:39:42] <fujin> There's nothing wrong with my DNS. It's an unecessary point of failure
[2008/04/18 12:39:54] <windowsrefund> hell, if you're worried about dns failing.... you've got bigger problems to solve than your puppet rollout :)
[2008/04/18 12:39:56] <fujin> (and besides, I can provision a new recursive DNS server in <1min w/ Puppet)
[2008/04/18 12:40:12] <windowsrefund> managing /etc/hosts is micro-managing
[2008/04/18 12:40:23] <waawaamilk> the whole _point_ of dns is that it has redundancy
[2008/04/18 12:40:25] <windowsrefund> we stopped using /etc/hosts what....... 30+ years ago?
[2008/04/18 12:40:31] <windowsrefund> waawaamilk, exactly
[2008/04/18 12:40:34] <waawaamilk> that's why we have ns1|2|3.sitename.com etc...
[2008/04/18 12:40:37] <shadoi> windowsrefund: it's part of a build process like FAI, nothing micro about it.
[2008/04/18 12:40:52] <waawaamilk> and you can do tertiary dns with someone else offsite
[2008/04/18 12:40:56] <shadoi> managed by puppet after that
[2008/04/18 12:40:58] <waawaamilk> in exchange for doing theirs...
[2008/04/18 12:41:03] <fujin> How are you going to resolve anything without configuring DNS first?
[2008/04/18 12:41:08] <fujin> (Bootstrap)
[2008/04/18 12:41:12] <sknight> and.. .why are you doing offsite DNS for your internal addresses?
[2008/04/18 12:41:30] <waawaamilk> fujin: well in theory you boot them on a network where they can get a dhcp lease...
[2008/04/18 12:41:39] <fujin> lol sif
[2008/04/18 12:41:40] <windowsrefund> well this has certainly turned into an interesting discussion :)
[2008/04/18 12:41:54] <fujin> I don't run DHCP on routable addressing
[2008/04/18 12:42:21] <fujin> Semantics anyway
[2008/04/18 12:42:26] <fujin> I prefer the ability to configure nodes without the need for DNS
[2008/04/18 12:42:29] <waawaamilk> I think your setup is now outside the scope of my understanding, so I will keep quiet :)
[2008/04/18 12:42:30] <fujin> ot to configure DNS for nodes based on facts
[2008/04/18 12:42:38] <fujin> s/ot/or/
[2008/04/18 12:42:54] <sknight> fujin: I'm still getting that same error, unfortunately
[2008/04/18 12:42:59] <sknight> maybe I'm calling the module wrong?
[2008/04/18 12:43:14] <sknight> here's basenode:
[2008/04/18 12:43:15] <fujin> no, that's not it
[2008/04/18 12:43:16] <sknight> node basenode {
[2008/04/18 12:43:16] <sknight> case $operatingsystem {
[2008/04/18 12:43:16] <sknight> centos: { include centos }
[2008/04/18 12:43:16] <sknight> debian: { include debian }
[2008/04/18 12:43:16] <sknight> default: { include debian }
[2008/04/18 12:43:17] <sknight> }
[2008/04/18 12:43:19] <sknight> include baseapps, sshd, ntp
[2008/04/18 12:43:20] <windowsrefund> how does it make sense to point your puppet clients to mypuppetbox.domain.tld via their puppetd.conf only to have to update every file again when you want to move the service over to myotherpuppetbox.domain.tld?
[2008/04/18 12:43:23] <sknight> }
[2008/04/18 12:43:25] <sknight> d'oh, that was... too large
[2008/04/18 12:43:27] <sknight> '
[2008/04/18 12:43:32] <sknight> 'ntp' is my module
[2008/04/18 12:43:47] <fujin> windowsrefund: Because I can update every file again with one differential and a global puppet synchro run.
[2008/04/18 12:43:48] <sknight> can I 'include' it like that, or do I need to 'import' it?
[2008/04/18 12:43:53] <shadoi> sknight: stick this in before it: notice "server = ${server}"
[2008/04/18 12:44:08] <fujin> sknight: include basenode should be fine. It's trying to resolve 'puppet', but can't.
[2008/04/18 12:44:18] <windowsrefund> fujin, so you'd rather update *every* puppet.conf on your network over just updating 1 cname record?
[2008/04/18 12:44:24] <fujin> I don't use puppet.conf
[2008/04/18 12:44:24] <windowsrefund> that makes no sense
[2008/04/18 12:44:26] <fujin> At all.
[2008/04/18 12:44:29] <windowsrefund> same thing
[2008/04/18 12:44:32] <fujin> Apart from my puppetmaster.
[2008/04/18 12:44:36] <windowsrefund> if you're updating many /etc/hosts files
[2008/04/18 12:44:47] <sknight> shadoi: in which file?
[2008/04/18 12:44:52] <fujin> I manage /etc/hosts with puppet (the host{} type)
[2008/04/18 12:44:53] <waawaamilk> fujin: and what happens if puppet upstream changes the default config for something? :)
[2008/04/18 12:44:57] <windowsrefund> you're suggesting that it makes more sense to update many things over updating 1 thing
[2008/04/18 12:45:02] <shadoi> sknight: anything that gets parsed before that module
[2008/04/18 12:45:04] <windowsrefund> that's called "working harder"
[2008/04/18 12:45:28] <sknight> I dunno man, I'm gonna have to go with fujin on this one
[2008/04/18 12:45:40] <shadoi> I can't remember.. is it $server or $servername?
[2008/04/18 12:45:52] <fujin> the DNS layer for me is superfluous. It's all quite easily manageable via puppet
[2008/04/18 12:45:54] <fujin> shadoi: $servername
[2008/04/18 12:45:59] <shadoi> sknight: there ya go
[2008/04/18 12:46:21] <fujin> shadoi: although, puppet:///<module>/<file> should work, it's based on server=.. setting
[2008/04/18 12:46:40] <shadoi> windowsrefund: he only updates 1 thing, the manifest. :)
[2008/04/18 12:46:48] <fujin> Doesn't puppet:/// connect to the puppetmaster you're currently talking to?
[2008/04/18 12:46:57] <fujin> sknight: do you have pluginsource= or anything funny like that?
[2008/04/18 12:47:02] <shadoi> fujin: yeah it's supposed to, but seeing what the var is set to would be enlightening
[2008/04/18 12:47:17] <windowsrefund> fujin, the difference is that you're "managing" the situation of where your puppet clients look for their manifests...... because I've chosen to leverge DNS, I don't even have to manage it
[2008/04/18 12:47:18] <fujin> sknight: pastie your puppet.conf
[2008/04/18 12:47:21] <windowsrefund> that's my point
[2008/04/18 12:47:26] <sknight> no love, guys
[2008/04/18 12:47:42] <fujin> you *do* have to manage it
[2008/04/18 12:47:46] <fujin> I change a manifest
[2008/04/18 12:47:48] <fujin> you update a cname
[2008/04/18 12:47:52] <fujin> I'm right, you're wrong. Get out.
[2008/04/18 12:47:57] <shadoi> hah
[2008/04/18 12:47:59] <sknight> http://pastebin.com/d775cb788
[2008/04/18 12:48:03] <sknight> there's puppet.conf
[2008/04/18 12:48:05] <fujin> Thanks
[2008/04/18 12:48:06] <fujin> sec.
[2008/04/18 12:48:15] <windowsrefund> work harder if you want to
[2008/04/18 12:48:23] <sknight> we will, thanks
[2008/04/18 12:48:29] <windowsrefund> does not affect me in the slightest
[2008/04/18 12:48:29] <sknight> HAND, HTH
[2008/04/18 12:48:46] <fujin> windowsrefund: `sed -i 's/puppet/puppetnew/' puppet.conf && git commit -a && git push && ./globalrun`
[2008/04/18 12:48:52] <windowsrefund> but at least take a step back when others have a chance to learn how to do things more efficiently
[2008/04/18 12:48:54] <lak> calm down, guys, geez
[2008/04/18 12:49:08] <sknight> hey lak, how's it going?
[2008/04/18 12:49:12] <lak> eh
[2008/04/18 12:49:17] <fujin> sknight: Looks fine, I can't see why that'd be happening
[2008/04/18 12:49:18] <lak> trying to get this damn ssl stuff refactored
[2008/04/18 12:49:22] <lak> i've been so close so many times
[2008/04/18 12:49:25] <lak> i think
[2008/04/18 12:49:30] <fujin> sknight: Try set pluginsource=vpuppet01.eigpvs.net
[2008/04/18 12:49:34] <fujin> (worth as hot..)
[2008/04/18 12:49:35] <lak> the wall between me and success keeps getting thinner
[2008/04/18 12:49:39] <sknight> here's templates.pp, too: http://pastebin.com/d5eed9a10
[2008/04/18 12:49:39] <lak> but doesn't quite go away :/
[2008/04/18 12:50:36] <sknight> fujin: ooooh, new error:
[2008/04/18 12:50:43] <sknight> err: Could not create /var/lib/puppet/lib: Parameter source failed: Got other URL type '' from vpuppet01.eigvps.net
[2008/04/18 12:50:43] <sknight> err: Could not retrieve catalog: Parameter source failed: Got other URL type '' from vpuppet01.eigvps.net
[2008/04/18 12:51:06] <fujin> o_0
[2008/04/18 12:51:33] <sknight> lak? any ideas?
[2008/04/18 12:51:42] <sknight> what simple, retarded typo do I have now? :-p
[2008/04/18 12:51:53] <lak> you specified a template to a 'source' attribute?
[2008/04/18 12:51:58] <lak> that's what it looks like
[2008/04/18 12:52:05] <sknight> jigga-what?
[2008/04/18 12:52:06] <fujin> sknight: take that pluginsource out
[2008/04/18 12:52:12] @ a-priori joined channel #puppet
[2008/04/18 12:52:40] <lak> oh
[2008/04/18 12:52:46] <lak> sorry, yeah; listen to fujin
[2008/04/18 12:52:52] <lak> i'm too preoccupied to really pay attention
[2008/04/18 12:52:55] <fujin> heh
[2008/04/18 12:52:59] <fujin> was my suggestion to add it
[2008/04/18 12:53:13] <fujin> lak: It's like his puppet:/// syntax isn't picking up the current puppetmaster he's talking to like it should
[2008/04/18 12:53:24] <fujin> sknight: pop a notify { ${servername}: } in your basenode
[2008/04/18 12:53:40] <lak> i don't absolutely know that the puppet:/// syntax works in pluginsync?
[2008/04/18 12:53:52] <fujin> alternatively, modify your NTP module so that it talks to puppet://${servername}/../..
[2008/04/18 12:53:56] <fujin> lak: works fine here
[2008/04/18 12:53:58] <lak> and its working in a manifest would not indicate it works in pluginsync, since one is serverside and one is client
[2008/04/18 12:53:59] <lak> ah
[2008/04/18 12:53:59] <sknight> fujin: like this?
[2008/04/18 12:54:00] <sknight> http://pastebin.com/d5eed9a10
[2008/04/18 12:54:16] <lak> i can nearly guarantee you that servername doesn't work in pluginsync...
[2008/04/18 12:54:16] <fujin> nah, notify not notice
[2008/04/18 12:54:32] <lak> but, heh, i could definitely be wrong
[2008/04/18 12:54:46] <fujin> I do 'source => "puppet:///apache/junglist.gen.nz";' here
[2008/04/18 12:54:47] <fujin> and it works fine
[2008/04/18 12:54:52] * fujin wonders
[2008/04/18 12:55:13] <fujin> sknight: show me your NTP module
[2008/04/18 12:55:16] <fujin> the source => line
[2008/04/18 12:55:59] <fujin> I bet it's DavidS' module, and has ${servername} in there
[2008/04/18 12:56:52] <fujin> or something
[2008/04/18 12:56:56] @ sknight42 joined channel #puppet
[2008/04/18 12:58:00] <sknight42> arrrrgggh
[2008/04/18 12:58:02] <sknight42> shitty wireless connections dropping my ssh session to production pisses me off
[2008/04/18 12:58:06] <sknight42> *headdesk*
[2008/04/18 13:02:23] @ Quit: jvanzyl: Remote closed the connection
[2008/04/18 13:02:32] @ jvanzyl joined channel #puppet
[2008/04/18 13:12:17] <thecat> anyone else running puppetlast?
[2008/04/18 13:12:20] <thecat> it's nice
[2008/04/18 13:12:32] <sknight42> so, this is fun
[2008/04/18 13:12:33] <sknight42> err: Could not retrieve catalog: Could not parse for environment development: Could not match '${servername}:' at /etc/puppet/manifests/templates.pp:8
[2008/04/18 13:12:40] @ Quit: sknight: Read error: 110 (Connection timed out)
[2008/04/18 13:12:49] <sknight42> that's with notify { ${servername}: }
[2008/04/18 13:16:43] <fujin> wtf?
[2008/04/18 13:16:47] <sknight42> yah
[2008/04/18 13:20:09] <sknight42> lak?
[2008/04/18 13:20:20] <lak> what?
[2008/04/18 13:20:32] <sknight42> why's this thang done be broke?
[2008/04/18 13:20:36] <lak> how far back do i have to read?
[2008/04/18 13:20:48] <sknight42> less than a screen, I'd wager
[2008/04/18 13:20:53] <lak> you don't use ${} outside of a string
[2008/04/18 13:20:57] <lak> just use $
[2008/04/18 13:22:42] <sknight42> now I have this:
[2008/04/18 13:22:43] <sknight42> err: Could not retrieve catalog: Could not parse for environment development: Syntax error at '}'; expected '}' at /etc/puppet/manifests/templates.pp:8
[2008/04/18 13:24:15] <fujin> notify { $servername: }
[2008/04/18 13:24:19] <lak> sknight42: the best approach is to step back and understand exactly what you're trying to do
[2008/04/18 13:24:29] <lak> you're specifying a notify resource whose name $servername
[2008/04/18 13:24:41] <sknight42> I'm just doing what fujin told me to do
[2008/04/18 13:24:48] <lak> if you just copy fujin's code w/out being conscious of that, then you'll skip simple things like the :
[2008/04/18 13:24:54] <lak> which is probably what you did in this case
[2008/04/18 13:25:14] <lak> right, but if you both understand what you're trying to do, then you're more likely to be able react quickly to any mistakes
[2008/04/18 13:25:22] <sknight42> I want to make "puppet:///ntp/ntp.conf" resolve to "puppet//vnagios01.eigvps.net/ntp/ntp.conf"
[2008/04/18 13:25:41] <lak> we're always surprised when it comes up, but apparently fujin isn't infallible :)
[2008/04/18 13:25:48] <fujin> ;>
[2008/04/18 13:26:02] <lak> during pluginsync specifically? or during a normal compile?
[2008/04/18 13:26:05] <fujin> sknight42: you still didn't paste me your manifest
[2008/04/18 13:26:07] <fujin> the NTP one
[2008/04/18 13:26:20] <sknight42> lak: a normal compile
[2008/04/18 13:26:34] <lak> what version of puppet?
[2008/04/18 13:26:49] <sknight42> 24.4
[2008/04/18 13:27:01] <sknight42> fujin: coming right up
[2008/04/18 13:27:33] <sknight42> http://pastebin.com/d10f8a621
[2008/04/18 13:28:12] <lak> and the client is 24.4 also?
[2008/04/18 13:28:18] <lak> or at least 0.23?
[2008/04/18 13:28:21] <sknight42> yes
[2008/04/18 13:28:29] <sknight42> freshly downloaded from the site this afternoon
[2008/04/18 13:28:38] <fujin> heh
[2008/04/18 13:28:41] <fujin> weird, that looks fine
[2008/04/18 13:28:49] <fujin> and show me the error again?
[2008/04/18 13:29:06] <lak> yeah, looks fine
[2008/04/18 13:29:27] <sknight42> here's the whole thing:
[2008/04/18 13:29:27] <sknight42> http://pastebin.com/df8110dd
[2008/04/18 13:29:52] <fujin> run that with --debug and paste again
[2008/04/18 13:30:04] <sknight42> want me to get the puppetmasterd debug as well?
[2008/04/18 13:30:06] <fujin> no
[2008/04/18 13:30:15] <fujin> its' the client that's having the issue
[2008/04/18 13:30:41] <lak> ok, it's time for me to quit
[2008/04/18 13:30:47] <lak> got enough hours in today, i think
[2008/04/18 13:30:49] <lak> laters all
[2008/04/18 13:30:51] <fujin> right
[2008/04/18 13:30:52] @ Quit: lak:
[2008/04/18 13:30:52] <fujin> seeya Luke :)
[2008/04/18 13:30:59] <sknight42> http://pastebin.com/m3e8c372b
[2008/04/18 13:31:02] <fujin> he always quits so rapidly I can never say goodbye ;>
[2008/04/18 13:31:11] <sknight42> man, the dude always peaces out whenever *I* come in with a problem :-p
[2008/04/18 13:31:19] <fujin> heh
[2008/04/18 13:31:19] <fujin> err: /File[/var/lib/puppet/lib]/source: Could not describe /plugins: can't convert nil into String
[2008/04/18 13:31:24] <fujin> sknight42: show me your fileserver.conf
[2008/04/18 13:31:29] <fujin> That's where the issue is.
[2008/04/18 13:31:51] <sknight42> http://pastebin.com/d4f7028b6
[2008/04/18 13:32:15] <fujin> You don't have a plugins section, or a modules section. Both are required for pluginsync.
[2008/04/18 13:32:26] <fujin> [plugins]\n allow 10.200.0.0/16
[2008/04/18 13:32:29] <sknight42> I... don't think I need pluginsync
[2008/04/18 13:32:31] <fujin> [modules]\n allow 10.200.0.0/16
[2008/04/18 13:32:34] <fujin> You're trying to use pluginsync.
[2008/04/18 13:32:40] <sknight42> O_o
[2008/04/18 13:32:40] <fujin> wiki:PluginsInModules
[2008/04/18 13:32:54] <gepetto_> fujin: wiki: wiki:PluginsInModules is http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
[2008/04/18 13:33:23] @ Quit: a-priori:
[2008/04/18 13:34:05] <sknight42> I added that, and it's still the same error
[2008/04/18 13:34:14] <fujin> Did you restart your master?
[2008/04/18 13:34:18] @ Quit: johnf: Read error: 113 (No route to host)
[2008/04/18 13:34:18] <sknight42> ahh, no
[2008/04/18 13:34:42] <sknight42> still the same error, after restarting the master
[2008/04/18 13:35:11] <sknight42> http://pastebin.com/d65b0e58a
[2008/04/18 13:35:28] <fujin> It didn't pickup the plugins mount
[2008/04/18 13:35:32] <fujin> show me your fileserver.conf again
[2008/04/18 13:35:43] @ Quit: qubix:
[2008/04/18 13:35:59] <sknight42> http://pastebin.com/d792c2939
[2008/04/18 13:36:12] <sknight42> puppetmasterd is showing this on verbose:
[2008/04/18 13:36:22] <sknight42> vpuppet01:/home/logins/law# puppetmasterd --verbose --no-daemonize
[2008/04/18 13:36:22] <sknight42> info: Starting server for Puppet version 0.24.4
[2008/04/18 13:36:22] <sknight42> info: mount[files]: allowing 10.200.0.0/16 access
[2008/04/18 13:36:22] <sknight42> info: mount[plugins]: allowing 10.200.0.0/16 access
[2008/04/18 13:36:22] <sknight42> info: mount[modules]: allowing 10.200.0.0/16 access
[2008/04/18 13:36:22] <sknight42> info: Listening on port 8140
[2008/04/18 13:36:41] <fujin> have you got pluginsync=true? or --pluginsync ?
[2008/04/18 13:36:46] <fujin> do puppetd --pluginsync
[2008/04/18 13:37:15] <fujin> puppetd --configprint pluginsync
[2008/04/18 13:37:58] <sknight42> vnagios01:/home/logins/law# puppetd --configprint pluginsync
[2008/04/18 13:37:58] <sknight42> true
[2008/04/18 13:38:31] <fujin> hrm
[2008/04/18 13:39:26] <fujin> #
[2008/04/18 13:39:26] <fujin> err: /File[/var/lib/puppet/lib]/source: Could not describe /plugins: can't convert nil into String
[2008/04/18 13:39:29] <fujin> #
[2008/04/18 13:39:32] <fujin> warning: /File[/var/lib/puppet/lib]/ensure: No specified sources exist
[2008/04/18 13:39:33] <fujin> you've definitely got something funny going on with pluginsync
[2008/04/18 13:39:50] <sknight42> path is commented out
[2008/04/18 13:39:53] <sknight42> is that bad?
[2008/04/18 13:40:04] <fujin> no, the [plugins] and [modules] section should *not* have paths
[2008/04/18 13:40:18] <fujin> Do you see this?:
[2008/04/18 13:40:19] <fujin> debug: No path given for plugins mount; creating a special PluginMount
[2008/04/18 13:40:25] <fujin> on puppetmasterd --no-daemonize --debug
[2008/04/18 13:40:30] <fujin> right underneath allowing acess to bla
[2008/04/18 13:40:39] <sknight42> no
[2008/04/18 13:40:43] <sknight42> I have this:
[2008/04/18 13:40:54] <fujin> msut be running in --debug
[2008/04/18 13:41:08] <sknight42> http://pastebin.com/d46519aec
[2008/04/18 13:41:09] @ zobbo joined channel #puppet
[2008/04/18 13:41:25] <fujin> There must be a path in there
[2008/04/18 13:41:44] <fujin> http://rafb.net/p/j7qxNU29.html
[2008/04/18 13:41:51] <sknight42> try this
[2008/04/18 13:41:52] <sknight42> http://pastebin.com/d475b59f4
[2008/04/18 13:42:20] <fujin> right
[2008/04/18 13:42:21] <fujin> there we go
[2008/04/18 13:42:22] <fujin> debug: No path given for plugins mount; creating a special PluginMount
[2008/04/18 13:42:30] <fujin> try your puppetd now
[2008/04/18 13:42:41] <sknight42> same error
[2008/04/18 13:44:42] <sknight42> let me restart everything and give you a fresh pastebin
[2008/04/18 13:44:58] <sknight42> here's puppetmasterd: http://pastebin.com/db76ef2e
[2008/04/18 13:45:05] @ Quit: tim|imac: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:05] @ Quit: bda: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: morfoh: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: raphink: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: Pockets_: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: londo: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: machpo: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: sdodson: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:06] @ Quit: wwalker: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:45:07] @ sdodson_ joined channel #puppet
[2008/04/18 13:45:08] @ machpo joined channel #puppet
[2008/04/18 13:45:12] @ bda joined channel #puppet
[2008/04/18 13:45:12] @ wwalker joined channel #puppet
[2008/04/18 13:45:16] @ londo joined channel #puppet
[2008/04/18 13:45:22] @ Pockets_ joined channel #puppet
[2008/04/18 13:45:31] @ raphink joined channel #puppet
[2008/04/18 13:45:33] <sknight42> and here;s puppetd: http://pastebin.com/d8937b5f
[2008/04/18 13:45:40] <sknight42> goddammit
[2008/04/18 13:45:50] @ tim|imac joined channel #puppet
[2008/04/18 13:45:58] <sknight42> still with me, fujin?
[2008/04/18 13:46:01] <sknight42> looks like netsplit-city
[2008/04/18 13:46:10] <fujin> yea
[2008/04/18 13:46:15] <sknight42> cool
[2008/04/18 13:46:16] <shadoi> sknight42: are you using ensure => present with source => by any chance?
[2008/04/18 13:46:24] <sknight42> you get both of the fresh pastebins?
[2008/04/18 13:46:43] <fujin> shadoi: err: /File[/var/lib/puppet/lib]/source: Could not describe /plugins: can't convert nil into String
[2008/04/18 13:46:48] <fujin> that's just freakin weird
[2008/04/18 13:46:57] <fujin> sknight42: do --trace on your puppetd and show me the traceback for that err ^
[2008/04/18 13:47:00] <sknight42> shadoi: I don't believe so
[2008/04/18 13:47:12] <sknight42> fujin: with debug as well?
[2008/04/18 13:47:13] @ Quit: sknight42: "Leaving"
[2008/04/18 13:47:35] <fujin> lol?
[2008/04/18 13:47:35] @ sknight joined channel #puppet
[2008/04/18 13:47:37] <sknight> much profanity
[2008/04/18 13:47:38] <shadoi> fujin: yeah, when you use ensure => present and source => together it can corrupt the stack.. causes weird issues
[2008/04/18 13:47:38] <sknight> sorry
[2008/04/18 13:48:29] <sknight> fujin: here's the trace
[2008/04/18 13:48:30] <sknight> http://pastebin.com/d2d22072b
[2008/04/18 13:49:07] <fujin> why the fuck is it defaulting to puppet like that
[2008/04/18 13:49:18] <sknight> shadoi: just grepped through the whole puppet directory, I'm not using ensure => present at all
[2008/04/18 13:49:46] <shadoi> ensure => anything with source => ...
[2008/04/18 13:50:00] <shadoi> or content
[2008/04/18 13:50:09] @ Quit: tim|imac: heinlein.freenode.net irc.freenode.net
[2008/04/18 13:50:09] <fujin> sknight: puppetd --configprint pluginsource
[2008/04/18 13:50:12] @ morfoh joined channel #puppet
[2008/04/18 13:50:27] <sknight> vpuppet01:/etc/puppet# grep -R present ./*
[2008/04/18 13:50:27] <sknight> vpuppet01:/etc/puppet# grep -R content ./*
[2008/04/18 13:50:27] <sknight> vpuppet01:/etc/puppet# grep -R source ./*
[2008/04/18 13:50:27] <sknight> ./modules/ntp/manifests/init.pp: source => "puppet:///ntp/ntp.conf"
[2008/04/18 13:50:27] <sknight> vpuppet01:/etc/puppet#
[2008/04/18 13:50:27] @ tim|imac joined channel #puppet
[2008/04/18 13:50:42] <sknight> I got nothign
[2008/04/18 13:50:44] <sknight> *nothing
[2008/04/18 13:50:47] <fujin> root@junglist (branch: master) /etc/puppet# puppetd --configprint pluginsource
[2008/04/18 13:50:47] <fujin> puppet://junglist.gen.nz/plugins
[2008/04/18 13:50:48] <sknight> (for shadoi)
[2008/04/18 13:51:06] <fujin> pluginsource should default to puppet://$servername/plugins afaics
[2008/04/18 13:51:08] <sknight> fujin: vnagios01:/home/logins/law# puppetd --configprint pluginsource
[2008/04/18 13:51:08] <sknight> puppet://vpuppet01.eigvps.net/plugins
[2008/04/18 13:51:13] <fujin> WTF!
[2008/04/18 13:51:32] * sknight boggles
[2008/04/18 13:51:52] <shadoi> sknight: output of ls /etc/puppet/puppet.conf
[2008/04/18 13:52:03] <shadoi> sknight: output of ls /etc/puppet/*
[2008/04/18 13:52:05] <shadoi> I meant to say
[2008/04/18 13:52:24] <sknight> vnagios01:/home/logins/law# ls /etc/puppet/*
[2008/04/18 13:52:24] <sknight> /etc/puppet/puppet.conf
[2008/04/18 13:52:24] <sknight> /etc/puppet/files:
[2008/04/18 13:54:06] * fujin waits
[2008/04/18 13:54:16] <sknight> I sent it
[2008/04/18 13:55:00] <shadoi> sknight: try blowing away the state.yaml file on the client
[2008/04/18 13:55:27] <sknight> done
[2008/04/18 13:55:38] <sknight> same error
[2008/04/18 13:56:45] <fujin> rm -rf /var/lib/puppet
[2008/04/18 13:56:53] <fujin> restart puppetmaster
[2008/04/18 13:56:56] <fujin> run puppet again
[2008/04/18 13:56:56] <shadoi> http://reductivelabs.com/trac/puppet/wiki/PluginsInModules
[2008/04/18 13:57:00] <fujin> nuke the whole shit
[2008/04/18 13:57:00] <shadoi> I'd go with that
[2008/04/18 13:57:10] <shadoi> stop tryng to use pluginsync=true
[2008/04/18 13:58:03] <fujin> pluginsinmodules === pluginsync=true
[2008/04/18 13:58:08] <fujin> the only difference is the plugins mount on the server
[2008/04/18 13:58:33] <shadoi> yeah, we're technically trying to help with a deprecated feature. ;)
[2008/04/18 13:58:36] <sknight> should I zap /var/lib/puppet on the puppetmaster?
[2008/04/18 13:58:42] <sknight> or on the client?
[2008/04/18 13:59:10] @ f--z joined channel #puppet
[2008/04/18 13:59:13] <fujin> shadoi: not really..
[2008/04/18 13:59:38] <fujin> the new pluginsinmodules behaviour still uses the pluginsync model, the puppetmaster has that magical plugins mount
[2008/04/18 14:00:28] @ johnf joined channel #puppet
[2008/04/18 14:00:34] <fujin> sknight: I dunno why, but it looks like your client is tryign to contact puppet://puppet/plugins instead of puppet://$servername/plugins like it should
[2008/04/18 14:00:39] <fujin> even though --configprint pluginsource says otherwise
[2008/04/18 14:00:59] <shadoi> I'm thinking it's just the fileserver.conf, it doesn't like the subnet bidnez
[2008/04/18 14:01:08] <fujin> really?
[2008/04/18 14:01:17] <fujin> [plugins] allow 123.100.70.0/29 allow 127.0.0.0/8
[2008/04/18 14:01:20] <fujin> mine doesn't mind it..
[2008/04/18 14:01:50] <fujin> I've got a staff meeting, sorry to leave you in a lurch
[2008/04/18 14:01:53] <shadoi> hmm.. I dunno, I've just never used it, always retrict based on dns
[2008/04/18 14:02:00] <sknight> hoy
[2008/04/18 14:02:14] <sknight> well, there goes three hours down the tubes
[2008/04/18 14:02:28] <sknight> thanks anyway fujin
[2008/04/18 14:02:37] <sknight> how about you, shadoi? any ideas?
[2008/04/18 14:02:47] <shadoi> what OS is this? what ruby version?
[2008/04/18 14:03:00] <sknight> Debian 4.0, ruby 1.8
[2008/04/18 14:03:44] <sknight> on both the puppetmaster and puppetd
[2008/04/18 14:03:46] <shadoi> and you get that plugin source error when puppetmasterd starts or when a client connects?
[2008/04/18 14:04:05] <sknight> yup
[2008/04/18 14:04:19] <shadoi> which?
[2008/04/18 14:04:27] <sknight> uhhhh
[2008/04/18 14:04:29] <sknight> when a client connects
[2008/04/18 14:04:35] <sknight> would you like some fresh debug output?
[2008/04/18 14:05:18] <shadoi> this started when you just tried to use a module for ntp?
[2008/04/18 14:05:32] <sknight> yes
[2008/04/18 14:05:45] <sknight> here's the puppet client: http://pastebin.com/d4cf29e99
[2008/04/18 14:05:47] <shadoi> is this module from David Schmidt's repo?
[2008/04/18 14:06:16] <sknight> and here's puppetmaster: http://pastebin.com/d27a45e21
[2008/04/18 14:06:16] <sknight> no
[2008/04/18 14:06:21] <sknight> this is one I wrote myself
[2008/04/18 14:06:42] <sknight> it's... fairly straightforward. I basically cribbed the mysql one out of the puppet book, and made the approprirate changes
[2008/04/18 14:06:54] <shadoi> pastie the ntp/manifests
[2008/04/18 14:07:19] <sknight> http://pastebin.com/d63375004
[2008/04/18 14:08:54] <shadoi> remove the replace => true
[2008/04/18 14:09:03] <shadoi> that should be the default anyway, just curious if it effects t
[2008/04/18 14:09:04] <shadoi> it
[2008/04/18 14:09:48] <sknight> no love
[2008/04/18 14:10:49] <shadoi> I swear I've seen this before
[2008/04/18 14:10:58] <shadoi> it was something to do with namespaceauth.conf or fileserver.conf
[2008/04/18 14:11:16] <sknight> ...namespaceauth.conf?
[2008/04/18 14:11:27] <shadoi> yeah, it shouldn't exist
[2008/04/18 14:11:35] <sknight> on the puppetmaster or the client?
[2008/04/18 14:11:41] <shadoi> either
[2008/04/18 14:12:09] <shadoi> have you tried just commenting out pluginsync=true?
[2008/04/18 14:12:10] <sknight> I have one copy in an examples directory
[2008/04/18 14:12:20] <sknight> vnagios01:/var/lib# find / -name "namespaceauth.conf"
[2008/04/18 14:12:20] <sknight> /usr/share/doc/puppet/examples/root/etc/puppet/namespaceauth.conf
[2008/04/18 14:12:32] <shadoi> yeah that should be harmless
[2008/04/18 14:12:51] <sknight> yes, these last several runs, I have totally removed pluginsync=true from the client
[2008/04/18 14:13:15] <shadoi> let's see puppet.conf from both again
[2008/04/18 14:14:05] <sknight> http://pastebin.com/d1ff6cf64
[2008/04/18 14:14:11] <sknight> I did both in one this time
[2008/04/18 14:15:17] <shadoi> take pluginsync out of the master too
[2008/04/18 14:16:03] <sknight> same error
[2008/04/18 14:16:18] <shadoi> you restarted both I assume
[2008/04/18 14:16:22] <sknight> yes
[2008/04/18 14:17:25] <shadoi> man.. I'm stymied.. I think something must be corrupt somewhere, this is really odd behavior. I'd try purging both packages, clearing out dirs and starting again (obviously just backup your manifests)
[2008/04/18 14:19:32] <sknight> oy
[2008/04/18 14:19:50] @ a-priori joined channel #puppet
[2008/04/18 14:19:57] <sknight> alrighty, here we go
[2008/04/18 14:20:10] <sknight> I should just be able to tar up /etc/puppet and untar afterwards, right?
[2008/04/18 14:20:40] <shadoi> yeah as long as no DNS names change
[2008/04/18 14:20:52] <shadoi> for the certs
[2008/04/18 14:21:06] <sknight> I was just gonna blow those away too and recreate
[2008/04/18 14:22:11] <shadoi> ah nevermind, I store my SSL certs in /etc/puppet, sorry. :)
[2008/04/18 14:24:17] @ Quit: a-priori: Client Quit
[2008/04/18 14:25:04] <sknight> alright, here we go
[2008/04/18 14:25:06] <sknight> fresh start
[2008/04/18 14:26:30] <sknight> same blessed error
[2008/04/18 14:26:41] <shadoi> what else is in your manifests?
[2008/04/18 14:26:54] @ a-priori joined channel #puppet
[2008/04/18 14:26:56] <sknight> my manifests. let me show you them
[2008/04/18 14:29:37] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/04/18 14:30:30] <sknight> http://pastebin.com/d12ffa039
[2008/04/18 14:30:36] <sknight> that's everything
[2008/04/18 14:30:53] @ Quit: a-priori: Client Quit
[2008/04/18 14:36:22] @ shake-n-bake joined channel #puppet
[2008/04/18 14:36:23] <sknight> thoughts?
[2008/04/18 14:36:56] <shadoi> hmm.. only the filebucket thing stands out
[2008/04/18 14:37:02] <shadoi> bucket => main
[2008/04/18 14:37:07] <shadoi> try commenting those out
[2008/04/18 14:38:16] <sknight> HOOOOOOLY CHRIST
[2008/04/18 14:38:19] <sknight> that did it!
[2008/04/18 14:38:24] * sknight does the happy dance
[2008/04/18 14:38:26] <shadoi> File["main"] perhaps
[2008/04/18 14:38:33] <shadoi> I don't use that
[2008/04/18 14:38:38] <sknight> I'd wager filebucket {main: server => puppet }
[2008/04/18 14:38:40] <shadoi> so I'm not certain
[2008/04/18 14:38:49] <shadoi> phew
[2008/04/18 14:38:58] <sknight> sweet. leaping. jeebus
[2008/04/18 14:39:01] <shadoi> haha
[2008/04/18 14:40:04] <sknight> yup, that was it:
[2008/04/18 14:40:05] <sknight> err: //Node[basenode]/ntp/File[/etc/ntp.conf]/source: change from {md5}3b2e010239e891bbbe7414886c1926fa to puppet:///ntp/ntp.conf failed: Could not find server shazbot
[2008/04/18 14:40:15] <shadoi> cool
[2008/04/18 14:40:29] <sknight> my god, what a nightmare
[2008/04/18 14:42:02] <sknight> thank you so much, shadoi!
[2008/04/18 14:42:06] <sknight> I really appreciate it!
[2008/04/18 14:44:09] @ e^ipi joined channel #puppet
[2008/04/18 14:45:27] <sknight> alright guys, I'm outta here. bedtime
[2008/04/18 14:45:30] @ Quit: sknight: "Leaving"
[2008/04/18 14:54:27] @ andrewcshafer joined channel #puppet
[2008/04/18 14:55:34] @ [newbie] joined channel #puppet
[2008/04/18 14:55:42] @ Quit: f--z: Read error: 110 (Connection timed out)
[2008/04/18 14:59:48] @ Quit: stick: "Leaving"
[2008/04/18 15:00:08] @ stick joined channel #puppet
[2008/04/18 15:07:42] <fujin> heh.
[2008/04/18 15:07:46] <fujin> Good to see you guys sorted it, shadoi
[2008/04/18 15:08:19] <fujin> evidently I've returned from my staff meeting
[2008/04/18 15:08:25] <fujin> waiting for traffic->town to die down a little
[2008/04/18 15:08:37] <shadoi> where you at fujin?
[2008/04/18 15:09:30] <fujin> in Albany, north of auckland
[2008/04/18 15:09:31] <fujin> (NZ)
[2008/04/18 15:10:02] <fujin> http://maps.google.co.nz/maps?hl=en&client=firefox-a&q=Albany,+Auckland,+New+Zealand&ie=UTF8&z=15&iwloc=addr
[2008/04/18 15:10:43] <shadoi> ah cool
[2008/04/18 15:10:47] * shadoi is jealous
[2008/04/18 15:11:21] <fujin> specifically; http://maps.google.co.nz/maps?f=q&hl=en&geocode=&q=7a+Parkhead+place,+Albany,+Auckland,+New+Zealand&jsv=107&sll=-36.750409,174.696618&sspn=0.002678,0.005879&ie=UTF8&ll=-36.750817,174.697047&spn=0.005356,0.011759&t=h&z=17&iwloc=addr
[2008/04/18 15:11:27] <fujin> that's our datacentre
[2008/04/18 15:12:14] * Cuchulain dials in the ICBM
[2008/04/18 15:12:32] <fujin> ;>
[2008/04/18 15:12:49] * hacim dials in the star wars anti-ICBM
[2008/04/18 15:13:10] <fujin> that'll learn ya Cuchulain - micah has my back
[2008/04/18 15:13:22] * fujin pulls gang signs
[2008/04/18 15:13:48] * hacim responds in complicated gang hand sign response
[2008/04/18 15:13:59] <fujin> LOL
[2008/04/18 15:14:10] <fujin> hey Cuchulain, what's up with yarcles? the dude always bans me in nzadsl
[2008/04/18 15:14:16] <fujin> maybe it's cause I work where he used to work
[2008/04/18 15:14:23] <fujin> and have access to all of the shit solutions he built
[2008/04/18 15:14:29] @ plathrop left channel #puppet ()
[2008/04/18 15:16:51] @ Quit: stick: "Leaving"
[2008/04/18 15:17:16] @ stick joined channel #puppet
[2008/04/18 15:17:27] @ Quit: zobbo: Read error: 110 (Connection timed out)
[2008/04/18 15:19:21] @ Quit: stick: Client Quit
[2008/04/18 15:21:14] @ randybias joined channel #puppet
[2008/04/18 15:25:00] @ stick joined channel #puppet
[2008/04/18 15:25:21] @ ckm joined channel #puppet
[2008/04/18 15:26:12] <fujin> ehm, anywho. Leaving now.
[2008/04/18 15:27:03] @ Quit: ckm: Client Quit
[2008/04/18 15:27:07] @ Quit: stick: Client Quit
[2008/04/18 15:27:25] @ stick joined channel #puppet
[2008/04/18 15:29:15] @ stick is now known as st1ck
[2008/04/18 15:31:42] @ Quit: st1ck: Client Quit
[2008/04/18 15:31:52] @ stick joined channel #puppet
[2008/04/18 15:41:28] @ Quit: stick: "Coyote finally caught me"
[2008/04/18 15:41:32] @ stick joined channel #puppet
[2008/04/18 15:41:39] @ Quit: [newbie]: Read error: 110 (Connection timed out)
[2008/04/18 15:43:54] @ [newbie] joined channel #puppet
[2008/04/18 15:50:18] @ Innocenti joined channel #puppet
[2008/04/18 16:00:16] @ Quit: Innocenti: Client Quit
[2008/04/18 16:02:56] @ zobbo joined channel #puppet
[2008/04/18 16:07:43] @ nigelk joined channel #puppet
[2008/04/18 16:08:19] @ nigelk_ joined channel #puppet
[2008/04/18 16:08:46] @ fantix joined channel #puppet
[2008/04/18 16:09:17] <fantix> hi, any suggestion about how to run puppetrunner manually? thx
[2008/04/18 16:09:54] @ Quit: \ask:
[2008/04/18 16:18:39] @ \ask joined channel #puppet
[2008/04/18 16:23:56] @ Quit: nigelk: Read error: 110 (Connection timed out)
[2008/04/18 16:24:11] <fantix> since there's no puppetrun in 0.20, could anyone please give me some suggestion about triggering? thanks
[2008/04/18 16:27:21] <fantix> please?
[2008/04/18 16:28:42] <f3ew> upgrade?
[2008/04/18 16:29:19] <fantix> f3ew: yep maybe, but we prefer a stable version on Debian Etch
[2008/04/18 16:29:38] <f3ew> Hmmmm
[2008/04/18 16:29:43] <f3ew> cronjob?
[2008/04/18 16:29:48] <f3ew> ssh in a for loop?
[2008/04/18 16:30:22] <fantix> f3ew: that's the only way I've got ... so no hope above runner? :(
[2008/04/18 16:30:31] <f3ew> fantix not AFAIK
[2008/04/18 16:31:01] <fantix> f3ew: okay, thanks a lot ;)
[2008/04/18 16:33:04] <fujin> fantix: I use a noop cron that emails me
[2008/04/18 16:33:34] <fujin> puppetd --test --noop|mail -s 'puppetrun on `hostname`' aj@..
[2008/04/18 16:33:45] <fujin> --color=none etc etc
[2008/04/18 16:33:50] <fantix> fujin: hmm...
[2008/04/18 16:35:33] <fujin> fantix: http://rafb.net/p/OdOLwb91.html
[2008/04/18 16:35:36] <fujin> those are the two scripts
[2008/04/18 16:35:49] <fujin> runpuppet-noop runs out of cron and emails to the 'puppet' local alias (which is my work email, and a colleagues)
[2008/04/18 16:35:51] <fantix> fujin: thanks reading :)
[2008/04/18 16:36:07] <fujin> you could also trigger via ssh.
[2008/04/18 16:36:43] <fujin> fantix: like this, http://rafb.net/p/nCrAOb47.html
[2008/04/18 16:37:26] <fujin> note: you must be in a copy of the /etc/puppet dir, with the 'manifests' folder for that globalrun script to work
[2008/04/18 16:37:49] <fantix> fujin: wow, that helps a lot
[2008/04/18 16:38:06] <fujin> heh, I've been meaning to rewrite it in Ruby
[2008/04/18 16:38:19] <fantix> fujin: the perl script?
[2008/04/18 16:39:03] <fujin> yeah
[2008/04/18 16:39:13] @ johnf joined channel #puppet
[2008/04/18 16:40:08] <fantix> fujin: that'll be nice. I've also got a similar bash script like this ... well, thanks a lot guys
[2008/04/18 16:47:37] @ yure joined channel #puppet
[2008/04/18 16:52:46] @ Quit: zobbo: "Enough no more 'tis not as sweet as it was before"
[2008/04/18 16:55:35] @ Pockets__ joined channel #puppet
[2008/04/18 16:55:36] @ Quit: Pockets_: Read error: 104 (Connection reset by peer)
[2008/04/18 16:58:00] @ zobbo joined channel #puppet
[2008/04/18 16:59:51] @ Quit: nigelk_: