Thursday, 2011-11-03

[2011/11/03 00:01:51] @ Log started by gepetto
[2011/11/03 00:01:51] <blahdeblah> DSpair: I think the ? selector is case insensitive by default - could you use that instead
[2011/11/03 00:01:52] @ Quit: nated: Read error: Connection reset by peer
[2011/11/03 00:03:02] <blahdeblah> s/instead/instead?/
[2011/11/03 00:03:15] <DSpair> blahdeblah: I just tried the selector and got an error, but I used the selector anyhow because the regex syntax is still MUCH shorter.
[2011/11/03 00:03:53] @ derjohn_mob joined channel #puppet
[2011/11/03 00:03:59] <DSpair> I was able to use something like "/(Debian|debian|Ubuntu|ubuntu)/"
[2011/11/03 00:04:01] <blahdeblah> I often find myself changing ifs to selectors just because it seems more elegant.
[2011/11/03 00:04:21] <DSpair> blahdeblah: When I originally wrote that class I had not learned about selectors yet.
[2011/11/03 00:04:28] <blahdeblah> heh
[2011/11/03 00:04:38] <DSpair> That's one of my oldest puppet classes.
[2011/11/03 00:04:52] <blahdeblah> I find myself looking at classes i wrote a year ago and throwing up in my mouth just a little... ;-)
[2011/11/03 00:06:06] <DSpair> blahdeblah: No doubt... Even worse is my boss who keeps looking at everything I wrote getting puppet up and running and then tried to hack his own stuff together without reading the docs.
[2011/11/03 00:06:22] <blahdeblah> It's only due to the help of the folks in this channel that i've made puppet work for me. Otherwise i would have given up long ago.
[2011/11/03 00:06:46] <DSpair> I spent a good 3 months getting up to speed with puppet and he thinks that after 3 days he can go in and rewrite all of the manifests.
[2011/11/03 00:07:00] <blahdeblah> Oh dear. :-\
[2011/11/03 00:07:11] <blahdeblah> Hopefully not on production systems...
[2011/11/03 00:07:12] <DSpair> The first couple of weeks he did that, our systems were SO broken... He's getting better now.
[2011/11/03 00:07:42] <blahdeblah> Need to get him looking at puppet dashboard regularly and pointing the finger if there are lots of broken reports... ;-)
[2011/11/03 00:07:56] <DSpair> When he first started to use puppet, I had not yet implemented environments, so it did impact production quite a bit.
[2011/11/03 00:08:12] <DSpair> We use TheForeman, but same concept.
[2011/11/03 00:08:19] <blahdeblah> I still haven't implemented environments. Got any good tutorials on it?
[2011/11/03 00:08:45] <DSpair> blahdeblah: I'm in the process of writing a series of blog posts about just that... Implementing puppet/mcollective from start to finish.
[2011/11/03 00:08:57] <blahdeblah> DSpair: Link please! :-)
[2011/11/03 00:09:05] <DSpair> blahdeblah: It's not published yet.
[2011/11/03 00:09:12] <blahdeblah> At the moment i manage environments by pointing different puppetmasters at different branches of my master repo.
[2011/11/03 00:09:19] <DSpair> But when it comes out, it will be at http://devenphillips.blogspot.com/
[2011/11/03 00:09:35] <blahdeblah> I'll just stick it in my feeds and wait for it... ;-)
[2011/11/03 00:10:01] <DSpair> blahdeblah: Yeah, I don't post a whole lot, so it should be the very next thing that comes out of my blog.
[2011/11/03 00:10:07] <blahdeblah> Cool
[2011/11/03 00:10:23] @ Quit: jason^: Ping timeout: 258 seconds
[2011/11/03 00:10:25] <DSpair> BRB, need a smoke...
[2011/11/03 00:10:27] <blahdeblah> BTW, s/end user's/end users/ :-P
[2011/11/03 00:12:57] @ jedi4ever joined channel #puppet
[2011/11/03 00:14:11] @ willemb joined channel #puppet
[2011/11/03 00:14:45] <willemb> Aha! I don't know if anyone remembers me asking about failed puppet resources when run under mcollective recently? Anyway, I have some more to go one now.
[2011/11/03 00:15:01] <willemb> I have this: Could not evaluate: 'test' is not executable
[2011/11/03 00:16:14] <willemb> I found one very good lead about a version of test lying around in root's home directory, but alas, it was not that. Any clues about where else to look? what would be the first path to evaluate?
[2011/11/03 00:18:33] @ ckauhaus joined channel #puppet
[2011/11/03 00:22:01] @ jason^ joined channel #puppet
[2011/11/03 00:24:20] <DSpair> willemb: That would depend on how your manifests are written.
[2011/11/03 00:24:27] <willemb> thanks, found a binary 'test' in /
[2011/11/03 00:24:40] <willemb> dunno who put it there, but now it is gone
[2011/11/03 00:24:47] <blahdeblah> willemb: Compromised machine, perhaps?
[2011/11/03 00:25:01] <DSpair> Why in the world is "/" in your executable path?!?!?!
[2011/11/03 00:25:56] <DSpair> willemb: FYI, in the top of your site.pp file you can put something like : Exec { path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin" }
[2011/11/03 00:26:10] <DSpair> That will define the executable path for all of your manifests.
[2011/11/03 00:26:57] <willemb> thanks. i don't know why it is. really shouldn't be.
[2011/11/03 00:27:06] <willemb> found that 'test' on 4 boxes
[2011/11/03 00:27:49] <DSpair> willemb: Doh!!! Doesn't sound good!
[2011/11/03 00:28:12] <blahdeblah> I've seen that happen when someone uses a wrong variable name in a manifest. e.g. file { "$dire/test": ...} when they really meant $dir
[2011/11/03 00:28:57] <DSpair> blahdeblah: That part I can understand, but "/" being in your executable path is REALLY strange...
[2011/11/03 00:29:06] <blahdeblah> indeed
[2011/11/03 00:29:17] <blahdeblah> I was merely commenting on how the file might have ended up there
[2011/11/03 00:30:24] @ tremble joined channel #puppet
[2011/11/03 00:30:31] @ Quit: tremble: Changing host
[2011/11/03 00:30:31] @ tremble joined channel #puppet
[2011/11/03 00:31:45] @ Quit: jaytaph: Quit: jaytaph
[2011/11/03 00:31:48] @ DJClean joined channel #puppet
[2011/11/03 00:33:06] @ brtl joined channel #puppet
[2011/11/03 00:33:07] @ mmoya joined channel #puppet
[2011/11/03 00:37:32] <DSpair> Crap, it's almost 4AM here... I'm never going to get any sleep tonight.
[2011/11/03 00:38:29] @ walterheck_ is now known as walterheck
[2011/11/03 00:39:25] @ pmorillon joined channel #puppet
[2011/11/03 00:40:40] @ Vulcan[OMNI] joined channel #puppet
[2011/11/03 00:41:20] @ MattyM joined channel #puppet
[2011/11/03 00:41:37] <walterheck> when I call each on a two-dimensional array in an erg template, it goes through every element in the inner array as well, but I don't want that, is that possible?
[2011/11/03 00:42:03] @ Quit: willemb: Ping timeout: 260 seconds
[2011/11/03 00:42:17] <walterheck> *erb
[2011/11/03 00:43:45] @ Quit: caviwipes: Quit: Computer has gone to sleep.
[2011/11/03 00:44:40] @ Stenbryggen joined channel #puppet
[2011/11/03 00:46:05] <whack> walterheck: puppet has a tendency to flatten arrays
[2011/11/03 00:46:55] <whack> though this works for me: % puppet apply -e '$a = [1,2,3] $b = [3,4,5] $c = [$a,$b] notice(inline_template("<%= c.inspect %>"))'
[2011/11/03 00:46:58] <whack> notice: Scope(Class[main]): [["1", "2", "3"], ["3", "4", "5"]]
[2011/11/03 00:50:10] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/11/03 00:56:47] @ verwilst joined channel #puppet
[2011/11/03 00:57:27] @ caviwipes joined channel #puppet
[2011/11/03 00:57:29] @ Quit: brtl: Remote host closed the connection
[2011/11/03 01:02:32] <walterheck> whack: yeah, it accepts the two-dimensional array, but then when i use each - do in the erg, it just looks like a flat array with [1,2,3,4,5,6]
[2011/11/03 01:02:45] <walterheck> *erb, stupid mac autocorrect!
[2011/11/03 01:03:28] <walterheck> guess I'll go with a one-dimensional array with ugly stuff like ["1;2;3", "4;5;6"]
[2011/11/03 01:03:40] <walterheck> then use split to get my stuff back out
[2011/11/03 01:04:38] <whack> walterheck: eh?
[2011/11/03 01:04:51] @ Quit: hooper: Ping timeout: 252 seconds
[2011/11/03 01:04:53] @ jbraeuer joined channel #puppet
[2011/11/03 01:05:03] <walterheck> well, basically I have a two-dimensional array like this:
[2011/11/03 01:05:24] <walterheck> [['master01','192.168.159.74','master02'], ['master02', '192.168.159.75','master01']]
[2011/11/03 01:05:30] <whack> % puppet apply -e '$a = [1,2,3] $b = [3,4,5] $c = [$a,$b] notice(inline_template("<% c.each do |z| %><%= z.inspect %>, <% end %>"))'
[2011/11/03 01:05:34] <whack> notice: Scope(Class[main]): ["1", "2", "3"], ["3", "4", "5"],
[2011/11/03 01:05:36] <whack> that works for me
[2011/11/03 01:05:59] @ Quit: KaZeR_W: Remote host closed the connection
[2011/11/03 01:06:11] <walterheck> and I need to loop through the outer array, then acces element 0, 1 and 2 separately on the inner array
[2011/11/03 01:06:13] @ Quit: devdas: Ping timeout: 240 seconds
[2011/11/03 01:06:21] <whack> walterheck: taht's exactly what my code shows above
[2011/11/03 01:06:51] @ devdas joined channel #puppet
[2011/11/03 01:06:58] <walterheck> but my array comes in as $c = [[1,2,3],[4,5,6]]
[2011/11/03 01:07:07] <walterheck> let's see if that works indeed :)
[2011/11/03 01:08:03] @ KaZeR_W joined channel #puppet
[2011/11/03 01:08:55] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/11/03 01:08:57] <whack> walterheck: % puppet apply -e '$c = [[1,2,3], [3,4,5]] notice(inline_template("<% c.each do |z| %><%= z.inspect %>, <% end %>"))'
[2011/11/03 01:09:00] <whack> notice: Scope(Class[main]): ["1", "2", "3"], ["3", "4", "5"],
[2011/11/03 01:09:01] <whack> works fine for me still.
[2011/11/03 01:09:36] <walterheck> and how do i access an element of the array? instead of z.inspect i'd like to do z.at(0) or something like that
[2011/11/03 01:09:44] <fragfutter> z[0]
[2011/11/03 01:10:35] <walterheck> fragfutter: that seems to give me the pointer or something like that:
[2011/11/03 01:10:36] <walterheck> # puppet apply -e '$c = [[1,2,3],[4,5,6]] notice(inline_template("<% c.each do |z| %><%= z[0] %>, <% end %>"))'
[2011/11/03 01:10:39] <walterheck> notice: Scope(Class[main]): 49, 50, 51, 52, 53, 54,
[2011/11/03 01:10:58] @ willemb joined channel #puppet
[2011/11/03 01:11:42] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 01:12:05] @ jodok joined channel #puppet
[2011/11/03 01:12:06] @ Quit: jodok: Changing host
[2011/11/03 01:12:06] @ jodok joined channel #puppet
[2011/11/03 01:12:41] <whack> walterheck: what version of puppet?
[2011/11/03 01:12:57] <walterheck> 2.6.2
[2011/11/03 01:13:08] <whack> that might be why, they may have fixed that behavior
[2011/11/03 01:13:22] <walterheck> whack: http://projects.puppetlabs.com/issues/6744
[2011/11/03 01:13:33] <walterheck> that was just closed without good resolution
[2011/11/03 01:13:44] <whack> it works for me in puppet 2.7.5
[2011/11/03 01:13:46] @ brtl joined channel #puppet
[2011/11/03 01:13:46] <whack> as shown above
[2011/11/03 01:14:12] @ raphdg joined channel #puppet
[2011/11/03 01:16:06] <walterheck> whack: so with z[0] it returns 1,4, ?
[2011/11/03 01:16:29] <whack> walterheck: you're seeing a feature of ruby 1.8
[2011/11/03 01:16:44] <whack> your array in puppet really becomes [1,2,3,4,5,6] as strings
[2011/11/03 01:17:04] <whack> "1"[0] in ruby 1.8 is 49.
[2011/11/03 01:17:05] <whack> >> "1"[0]
[2011/11/03 01:17:05] <whack> => 49
[2011/11/03 01:17:23] <whack> because the byte/ascii value of the '1' character is 49.
[2011/11/03 01:17:24] <walterheck> whack: huh, why?
[2011/11/03 01:17:30] <walterheck> oh frack
[2011/11/03 01:17:49] <whack> if you simply do 'c.inspect' you will see the array is flattened
[2011/11/03 01:17:59] <whack> it's a problem in 2.6.2 definitely and I dno't know when it was fixed.
[2011/11/03 01:18:03] <whack> it certainly works fine in 2.7.6
[2011/11/03 01:18:05] <whack> *2.7.5
[2011/11/03 01:18:16] <walterheck> right, and how do i get to a specific element in an array then?
[2011/11/03 01:18:28] <whack> walterheck: c[0] will be "1"
[2011/11/03 01:18:33] <fragfutter> it tink it was fixed in 2.7.0
[2011/11/03 01:18:34] <whack> c[3] will be "4"
[2011/11/03 01:18:49] <whack> walterheck: you need to upgrade to puppet 2.7.x
[2011/11/03 01:18:58] <walterheck> right, but my whole point is that I don't want that array to be flattened
[2011/11/03 01:19:10] @ CAMIR joined channel #puppet
[2011/11/03 01:19:14] <fragfutter> walterheck: it's not flattened.
[2011/11/03 01:19:16] <whack> walterheck: please read :(
[2011/11/03 01:19:28] <whack> walterheck: there's a bug (or feature) in puppet 2.6.2 that is flattening arrays
[2011/11/03 01:19:34] <whack> it is fixed in 2.7.5 or possibly earlier
[2011/11/03 01:19:40] <whack> if you want it to not flatten arrays, please upgrade.
[2011/11/03 01:19:51] <walterheck> ugh, i'm confused now. in 2.7.x you say my array will not be flattened
[2011/11/03 01:19:52] <whack> Alternately, don't try to use a nested array.
[2011/11/03 01:20:04] <whack> 01:18 < walterheck> right, but my whole point is that I don't want that array to be flattened
[2011/11/03 01:20:08] <whack> 01:19 < walterheck> ugh, i'm confused now. in 2.7.x you say my array will not be flattened
[2011/11/03 01:20:12] <whack> you answered your own question :(
[2011/11/03 01:20:28] <walterheck> so I ask how do I get to a specific element in z, not in c
[2011/11/03 01:20:41] <whack> walterheck: ...
[2011/11/03 01:20:46] <whack> please upgrade to 2.7
[2011/11/03 01:21:43] <whack> % puppet apply -e '$c = [[1,2,3],[4,5,6]] notice(inline_template("<% c.each do |z| %><%= z[0] %>, <% end %>"))'
[2011/11/03 01:21:46] <whack> notice: Scope(Class[main]): 1, 4,
[2011/11/03 01:21:58] <walterheck> whack: right, now you have me convinced :)
[2011/11/03 01:22:09] <whack> ...
[2011/11/03 01:22:23] <whack> pretty sure I said it worked the way you are expecting in 2.7 like... many times :(
[2011/11/03 01:22:23] <walterheck> sorry for the confusion :)
[2011/11/03 01:22:28] <whack> no worries :)
[2011/11/03 01:23:20] * walterheck 's vision got a bit blurred by all the c's and z's. Pushing an upgrade asap :)
[2011/11/03 01:23:33] @ Quit: basic`: Ping timeout: 252 seconds
[2011/11/03 01:23:38] @ lkoranda joined channel #puppet
[2011/11/03 01:23:42] <whack> hehe
[2011/11/03 01:23:44] <whack> walterheck: woo :)
[2011/11/03 01:23:57] <walterheck> whack / fragfutter: thanks once again
[2011/11/03 01:24:04] @ Quit: pmorillon: Quit: pmorillon
[2011/11/03 01:25:13] @ jaytaph joined channel #puppet
[2011/11/03 01:26:13] @ Quit: devdas: Ping timeout: 240 seconds
[2011/11/03 01:32:40] <willemb> ok, seems I don't have to worry about it too much. /test ended up being a zipfile with the contents of someone's docroot. Most likely someone screwed up an scp.
[2011/11/03 01:33:23] <greenmang0> hello friends, i just wrote a module - > http://paste.debian.net/142260/ .... on line 13 I get error saying "err: Syntax error at '=>'; expected '}' at /etc/puppet/modules/appserver/manifests/init.pp:13 on node foonode"
[2011/11/03 01:33:45] <greenmang0> syntax looks ok to me
[2011/11/03 01:34:13] <willemb> DSpair: site.pp says path => ["/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/games", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/bin/X11", "/usr/local/hetzner/bin"],
[2011/11/03 01:35:02] <willemb> so that does not explain why / was used as base dir when looking for 'test'
[2011/11/03 01:35:03] <DSpair> willemb: Should be: Exec { path => "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin" }
[2011/11/03 01:35:14] <DSpair> Do you have the "Exec" around it?
[2011/11/03 01:35:23] <willemb> yes
[2011/11/03 01:35:38] <willemb> just multi-lined, and I gave you the middle one
[2011/11/03 01:36:10] <walterheck> greenmang0: afaik a class cannot require another resource
[2011/11/03 01:36:32] <walterheck> that should be include appserver possibly
[2011/11/03 01:36:58] <fragfutter> there is a require function.
[2011/11/03 01:37:06] @ devdas joined channel #puppet
[2011/11/03 01:37:07] <fragfutter> line 13: require appserver
[2011/11/03 01:38:03] @ trickyf joined channel #puppet
[2011/11/03 01:38:04] <willemb> DSpair: so you think that syntax is a problem? array of strings in stead of one string with colon separators?
[2011/11/03 01:38:56] <greenmang0> walterheck, i was referring to this > http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php
[2011/11/03 01:39:01] <DSpair> willemb: Could be.
[2011/11/03 01:39:36] <walterheck> greenmang0: there's no class in that page that requires another class, it just includes it
[2011/11/03 01:40:47] <greenmang0> walterheck, if you check "class ntp::service" you will find this line -> require => Class["ntp::config"],
[2011/11/03 01:41:03] <fragfutter> greenmang0: line 13: require appserver
[2011/11/03 01:41:32] <whack> willemb: require => Class["appserver"],
[2011/11/03 01:41:38] <whack> willemb: that's your problem.
[2011/11/03 01:42:01] <fragfutter> greenmang0: and the "require =>" is inside of a resource not inside of a class.
[2011/11/03 01:42:04] <walterheck> greenmang0: look again. that require is inside the 'service' resource
[2011/11/03 01:42:34] @ Quit: hal-j: Quit: Leaving.
[2011/11/03 01:44:13] @ Quit: devdas: Ping timeout: 240 seconds
[2011/11/03 01:44:32] <greenmang0> fragfutter, walterheck , ok... got it ..
[2011/11/03 01:47:04] @ erthad joined channel #puppet
[2011/11/03 01:48:02] @ jedi4ever joined channel #puppet
[2011/11/03 01:49:14] @ Razique joined channel #puppet
[2011/11/03 01:49:39] @ Quit: erthad: Changing host
[2011/11/03 01:49:39] @ erthad joined channel #puppet
[2011/11/03 01:54:46] <greenmang0> fragfutter, i observed that modules are getting installed in random order... is there a way i can specify order of installation?
[2011/11/03 01:56:02] @ sebnash joined channel #puppet
[2011/11/03 02:00:14] @ Quit: eightyeight: Ping timeout: 260 seconds
[2011/11/03 02:03:15] @ Vulcan[OMNI] joined channel #puppet
[2011/11/03 02:03:34] @ pmorillon joined channel #puppet
[2011/11/03 02:06:53] @ Quit: DSpair: Quit: Leaving
[2011/11/03 02:06:59] @ eightyeight joined channel #puppet
[2011/11/03 02:07:41] @ Quit: flamboz: Ping timeout: 276 seconds
[2011/11/03 02:08:40] @ flamboz joined channel #puppet
[2011/11/03 02:08:45] <willemb> whack: Are you sure you are talking to me? I don't have a appserver require, i have a pathing issue
[2011/11/03 02:10:28] @ Quit: PhilK: Excess Flood
[2011/11/03 02:11:18] @ Holocaine joined channel #puppet
[2011/11/03 02:11:34] @ PhilK joined channel #puppet
[2011/11/03 02:12:08] @ ezryx joined channel #puppet
[2011/11/03 02:14:29] <walterheck> greenmang0: look into runstages
[2011/11/03 02:15:03] <walterheck> but in general it shouldn't matter, and if it does, then make sure you have the appropriate require in place
[2011/11/03 02:16:32] @ Quit: e1mer: Ping timeout: 260 seconds
[2011/11/03 02:18:39] @ duerF joined channel #puppet
[2011/11/03 02:20:02] @ mpdude joined channel #puppet
[2011/11/03 02:20:08] @ _nono_ joined channel #puppet
[2011/11/03 02:22:56] @ e1mer joined channel #puppet
[2011/11/03 02:25:53] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/11/03 02:26:37] @ jedi4ever_ joined channel #puppet
[2011/11/03 02:26:38] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 02:26:40] @ jedi4ever_ is now known as jedi4ever
[2011/11/03 02:29:06] <greenmang0> walterheck, ok
[2011/11/03 02:31:35] <greenmang0> walkeran, i wrote a module for installing "rabbitmq" and another for installing "nginx and openjdk" ... both are placed in /etc/puppet/modules/ as separate dirs rabbitmq/ nginx/ .. now in nodes.pp i wrote this "node somefoonode { include rabbitmq [RET] include nginx }"
[2011/11/03 02:31:48] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/03 02:32:23] <greenmang0> oops, that for walterheck ^^
[2011/11/03 02:32:37] <greenmang0> walterheck, now where do i use "require" here?
[2011/11/03 02:33:32] <_rc> what should the require be requiring?
[2011/11/03 02:33:46] @ Quit: e1mer: Ping timeout: 260 seconds
[2011/11/03 02:35:18] @ Quit: mozzanable: Quit: mozzanable
[2011/11/03 02:36:27] @ Quit: BLZbubba: Read error: Operation timed out
[2011/11/03 02:38:47] <blahdeblah> Hi all. I have a client who wants to migrate a number of 32-bit servers to new hardware and a 64-bit OS. The machines are mostly bare metal and need to maintain their personalities. Is there any reason why one could not install a new OS, copy any machine specific data, and then give the new system the hostname and the /var/lib/puppet of the old host?
[2011/11/03 02:41:43] @ e1mer joined channel #puppet
[2011/11/03 02:41:44] @ Quit: e1mer: Changing host
[2011/11/03 02:41:44] @ e1mer joined channel #puppet
[2011/11/03 02:41:51] @ Quit: pmorillon: Quit: pmorillon
[2011/11/03 02:42:54] @ pmorillon joined channel #puppet
[2011/11/03 02:44:57] @ Quit: CAMIR: Read error: Connection reset by peer
[2011/11/03 02:45:13] @ Quit: jason^: Ping timeout: 258 seconds
[2011/11/03 02:46:30] @ jason^ joined channel #puppet
[2011/11/03 02:47:43] <walterheck> greenmang0: not sure on rabbitmq, does it run on top of nginx?
[2011/11/03 02:48:06] <walterheck> in which case you could add an include nginx inside the rabbtimq module
[2011/11/03 02:48:23] <walterheck> since you cannot install rabbitmq without first having nginx
[2011/11/03 02:49:37] <walterheck> greenmang0: the other option is: http://docs.puppetlabs.com/guides/style_guide#relationship-declarations
[2011/11/03 02:50:31] @ Quit: e1mer: Ping timeout: 244 seconds
[2011/11/03 02:50:58] <dcarley> greenmang0: you can specify order for things that you /really/ care about. but don't over do it. if the order isn't functionally important then just let puppet decide.
[2011/11/03 02:55:38] @ e1mer joined channel #puppet
[2011/11/03 02:55:39] @ Quit: e1mer: Changing host
[2011/11/03 02:55:39] @ e1mer joined channel #puppet
[2011/11/03 02:58:50] @ Ned_ joined channel #puppet
[2011/11/03 02:58:50] @ gunkaaa joined channel #puppet
[2011/11/03 02:58:50] @ unxbm3r1 joined channel #puppet
[2011/11/03 03:02:03] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/03 03:03:02] @ lkoranda joined channel #puppet
[2011/11/03 03:04:31] @ mpdude_ joined channel #puppet
[2011/11/03 03:04:51] @ Quit: mpdude: Read error: Connection reset by peer
[2011/11/03 03:05:16] @ mpdude joined channel #puppet
[2011/11/03 03:06:04] @ Quit: Gwayne: Remote host closed the connection
[2011/11/03 03:08:39] <KaZeR_W> is it possible to use a dns alias for the puppetmaster ?
[2011/11/03 03:08:43] @ Quit: frostynova: Remote host closed the connection
[2011/11/03 03:08:48] @ Quit: mpdude_: Ping timeout: 248 seconds
[2011/11/03 03:09:55] <KaZeR_W> my nodes are setup to use a servername which is only a dns alias to another server
[2011/11/03 03:10:05] <KaZeR_W> the server certification was generated using this alias
[2011/11/03 03:10:18] <KaZeR_W> but on my nodes, i get err: Could not run Puppet configuration client: Parameter name failed: Invalid host name
[2011/11/03 03:12:05] @ Quit: jaminja: Ping timeout: 252 seconds
[2011/11/03 03:16:01] @ lkoranda is now known as lkoranda_lunch
[2011/11/03 03:21:00] @ Quit: mfladischer: Ping timeout: 244 seconds
[2011/11/03 03:22:00] @ mfladischer joined channel #puppet
[2011/11/03 03:22:13] @ Quit: sebnash: Quit: Leaving...
[2011/11/03 03:22:21] @ adimania joined channel #puppet
[2011/11/03 03:23:49] @ Quit: choonming: Quit: Leaving
[2011/11/03 03:26:32] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 03:26:42] @ jedi4ever joined channel #puppet
[2011/11/03 03:27:06] @ Quit: mmoya: Read error: Operation timed out
[2011/11/03 03:29:07] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/03 03:41:25] <walterheck> KaZeR_W: that error sounds more like your hostname -f doesn't return a fully qualified domain name, and/or your /etc/hosts doesn't list it
[2011/11/03 03:42:12] <walterheck> but if you want you can do one of two things: add an alias to /etc/hosts with name 'puppet', this is what clients use by default
[2011/11/03 03:42:17] @ kelseyhightower joined channel #puppet
[2011/11/03 03:42:31] @ sebnash joined channel #puppet
[2011/11/03 03:42:39] <walterheck> the other option si in puppet.conf on your agents add a server=foo.example.com setting under [main]
[2011/11/03 03:43:12] <KaZeR_W> walterheck, hostname -f of the master, or the node ?
[2011/11/03 03:43:58] <walterheck> whack: can I bother you with my two-dimensional arrays stuff one more time? I do something like this in my .erb, but the trailing comma needs to go: '<% scope.lookupvar("masters").each do |master| -%><%= master[0] %>,<% end -%>'. Ideas?
[2011/11/03 03:44:08] <walterheck> KaZeR_W: on the node
[2011/11/03 03:44:12] @ jaminja joined channel #puppet
[2011/11/03 03:44:38] <KaZeR_W> walterheck, mm. on the node, hostname == hostname -f and the entry is correctly listed in /etc/hosts
[2011/11/03 03:45:01] @ Quit: d3c: Ping timeout: 240 seconds
[2011/11/03 03:45:38] <walterheck> KaZeR_W: and can you 'ping puppet' from the nodes?
[2011/11/03 03:45:55] <walterheck> or use the server= setting i told you in your puppet.conf
[2011/11/03 03:51:23] @ lkoranda_lunch is now known as lkoranda
[2011/11/03 03:54:51] <KaZeR_W> walterheck, server is defined in my puppet.conf ( puppetmaster.mydomain.tld)
[2011/11/03 03:55:14] <walterheck> KaZeR_W: and you can reach it from the nodes?
[2011/11/03 03:56:05] @ Stenbryggen joined channel #puppet
[2011/11/03 03:57:41] @ Tribaal joined channel #puppet
[2011/11/03 03:57:53] <KaZeR_W> walterheck, tcpdump shows activity on the puppetmaster from the given node yes
[2011/11/03 03:58:17] <Tribaal> Hi folks
[2011/11/03 03:58:21] <KaZeR_W> hi Tribaal
[2011/11/03 03:58:47] <KaZeR_W> walterheck, the puppet.conf file has the same md5 hash on one node where it works, and on this node
[2011/11/03 03:58:49] <Tribaal> I've been using pupet for a while now, but face my first chanllenge using it today
[2011/11/03 03:59:26] <Tribaal> I'm trying to add a list of stuff (hostnames) to a config file (so far so good)
[2011/11/03 04:00:45] <Tribaal> but that list is dynamic (nodes might pop in or out pretty often), as it's for a cloud environment
[2011/11/03 04:01:21] <Tribaal> and I miss a way to query the puppet master in a way, to say "the list of nodes that have roles suchandsuch"
[2011/11/03 04:01:48] <Tribaal> is there any wizardry around writing a client or the puppetmaster's REST service?
[2011/11/03 04:04:45] <KaZeR_W> walterheck, lunch break. will bbl, thanks for your help so far :)
[2011/11/03 04:06:45] <walterheck> Tribaal: maybe you can write your own function? They execute server side..
[2011/11/03 04:06:51] @ frostynova joined channel #puppet
[2011/11/03 04:07:52] @ Razique_ joined channel #puppet
[2011/11/03 04:07:56] <Tribaal> walterheck: interesting idea, I didn't think of that
[2011/11/03 04:09:17] @ Quit: Razique: Ping timeout: 240 seconds
[2011/11/03 04:09:17] @ Razique_ is now known as Razique
[2011/11/03 04:12:16] <gwmngilfen> Tribaal: exported resources might solve your problem
[2011/11/03 04:12:32] @ gebi joined channel #puppet
[2011/11/03 04:13:11] <Tribaal> how so?
[2011/11/03 04:13:44] <gwmngilfen> each node in role "foo" can export a resource, and the collecting machine can collect all those resources
[2011/11/03 04:14:11] <Tribaal> hum sounds good
[2011/11/03 04:14:30] <Tribaal> ahhh this with the @@ syntax
[2011/11/03 04:14:36] <gwmngilfen> indeed
[2011/11/03 04:14:44] <Tribaal> yeah, I saw it in some other examples somewhere
[2011/11/03 04:14:48] <Tribaal> now I get it
[2011/11/03 04:14:57] <gwmngilfen> of course it requires certain things about your setup - like using a storeconfig db, etc
[2011/11/03 04:15:11] <gwmngilfen> if that's not suitable, then walterheck is spot on with a function :)
[2011/11/03 04:15:54] <gwmngilfen> if you happen to use Foreman, then such a function has already been written by ohadlevy
[2011/11/03 04:16:09] <gwmngilfen> so either approach will work
[2011/11/03 04:16:29] <Tribaal> gotcha
[2011/11/03 04:16:46] @ Quit: pmorillon: Quit: pmorillon
[2011/11/03 04:16:46] <Tribaal> I feel a little guilty - I should have thought of that myself :)
[2011/11/03 04:16:51] <gwmngilfen> :)
[2011/11/03 04:16:53] <Tribaal> Thanks a lot anyway
[2011/11/03 04:16:56] <gwmngilfen> no worries
[2011/11/03 04:17:12] <Tribaal> I'll probably ping in here if I run into any unexpectedness :)
[2011/11/03 04:17:29] @ aditya_ joined channel #puppet
[2011/11/03 04:18:26] @ Quit: mburns: Ping timeout: 260 seconds
[2011/11/03 04:18:30] @ mburns joined channel #puppet
[2011/11/03 04:19:29] @ mukulm joined channel #puppet
[2011/11/03 04:19:48] @ Quit: mukulm: Client Quit
[2011/11/03 04:20:23] @ Quit: aditya_: Client Quit
[2011/11/03 04:20:40] @ aditya_ joined channel #puppet
[2011/11/03 04:20:58] @ choonming joined channel #puppet
[2011/11/03 04:21:12] @ Quit: aditya_: Client Quit
[2011/11/03 04:26:44] @ jedi4ever_ joined channel #puppet
[2011/11/03 04:26:44] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 04:26:45] @ andreaturli joined channel #puppet
[2011/11/03 04:26:45] @ jedi4ever_ is now known as jedi4ever
[2011/11/03 04:27:03] <andreaturli> hey guys
[2011/11/03 04:27:08] <andreaturli> I'm a newbie in puppet
[2011/11/03 04:27:26] @ Quit: themadcanudist: Quit: Leaving.
[2011/11/03 04:27:33] <andreaturli> I'd like to add this module http://forge.puppetlabs.com/puppetlabs/vcsrepo to my puppetmaster and reuse in my env
[2011/11/03 04:27:49] <andreaturli> which is the correct way to do it?
[2011/11/03 04:28:00] @ themadcanudist joined channel #puppet
[2011/11/03 04:28:39] <_rc> put it in $modulepath/vcsrepo. there's a puppet-module-tool that should automate that
[2011/11/03 04:28:59] <_rc> https://github.com/puppetlabs/puppet-module-tool
[2011/11/03 04:29:32] <andreaturli> and then I have to specify import vcsrepo, right?
[2011/11/03 04:29:46] <_rc> no, then it's a type you use
[2011/11/03 04:30:01] <_rc> make sure you have pluginsync on
[2011/11/03 04:30:26] @ Quit: adimania: Ping timeout: 260 seconds
[2011/11/03 04:30:40] <andreaturli> pluginsync on?
[2011/11/03 04:33:58] <Hunner> andreaturli: pluginsync = true in your [agent] section for puppet.conf will make sure that your clients can use the vcsrepo resource type
[2011/11/03 04:38:38] <andreaturli> ok thx
[2011/11/03 04:38:50] <andreaturli> so then I can use svn without any import?
[2011/11/03 04:39:03] <_rc> http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2011/11/03 04:39:17] * RhysMorgan slaps rhysmorgan1 with a large smelly trout
[2011/11/03 04:39:22] <Hunner> andreaturli: You don't need import for anything. Anything ever
[2011/11/03 04:39:27] <Hunner> ;)
[2011/11/03 04:40:11] <andreaturli> great
[2011/11/03 04:40:45] @ Quit: erodriguez: Quit: erodriguez
[2011/11/03 04:40:45] @ jon6000 joined channel #puppet
[2011/11/03 04:41:55] @ Quit: mburns: Ping timeout: 252 seconds
[2011/11/03 04:42:02] @ mburns joined channel #puppet
[2011/11/03 04:47:16] @ Vide80 joined channel #puppet
[2011/11/03 04:47:19] @ dnjaramba joined channel #puppet
[2011/11/03 04:48:36] <Vide80> hi, I was reading http://docs.puppetlabs.com/guides/templating.html and I have a doubt about Combining templates. Does puppet simply "cat" them together in strict order? I guess so, but anyway...
[2011/11/03 04:51:43] @ verwilst joined channel #puppet
[2011/11/03 04:53:04] @ pmorillon joined channel #puppet
[2011/11/03 04:53:33] @ Quit: Razique: Quit: Razique
[2011/11/03 04:56:53] <andreaturli> Hunner: I'm trying to use this code
[2011/11/03 04:56:54] <andreaturli> vcsrepo { "/tmp/vcstest-git-clone":
[2011/11/03 04:56:54] <andreaturli> ensure => present,
[2011/11/03 04:56:54] <andreaturli> provider => git,
[2011/11/03 04:56:54] <andreaturli> source => "git://github.com/bruce/rtex.git"
[2011/11/03 04:56:54] <andreaturli> }
[2011/11/03 04:57:03] <andreaturli> but nothing is cloned on my agent ...
[2011/11/03 05:00:15] @ Quit: sebnash: Ping timeout: 252 seconds
[2011/11/03 05:01:38] <andreaturli> Hunner: any ideas?
[2011/11/03 05:01:49] @ Quit: Holocaine:
[2011/11/03 05:04:29] @ Quit: pjd3: Ping timeout: 276 seconds
[2011/11/03 05:04:31] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/03 05:06:08] @ EL84 left channel #puppet ()
[2011/11/03 05:06:17] <Vide80> does puppet fails hard if a called template file doesn't exist?
[2011/11/03 05:06:42] <_rc> yes
[2011/11/03 05:10:15] <Vide80> so, next question: how to check if the file exists?
[2011/11/03 05:13:04] <_rc> stupid question in response. why would that happen?
[2011/11/03 05:13:27] @ adimania joined channel #puppet
[2011/11/03 05:13:36] <_rc> if you control the modules manifest and templates, why would you have it refer to a template you knew wasn't there?
[2011/11/03 05:13:49] @ Quit: e1mer: Ping timeout: 240 seconds
[2011/11/03 05:14:05] @ lwhalen joined channel #puppet
[2011/11/03 05:15:41] <countskm> where are the providers located? just did a find / -name '*puppet*'|grep provider and got nothing - user error im sure :-)
[2011/11/03 05:17:43] <Vide80> _rc, because it's a "conditional" template.. I have a base template which applies always and special templates which apply only in a few cases... anyway I think that the best way it to create an empty template if I don't need it for that host
[2011/11/03 05:17:45] <_rc> puppet/provider/*/*.rb
[2011/11/03 05:18:12] <countskm> interesting... seems like there missing - i did a gem install of puppet - could explain some issues im having :-)
[2011/11/03 05:18:54] @ e1mer joined channel #puppet
[2011/11/03 05:19:29] @ Ramonster joined channel #puppet
[2011/11/03 05:20:03] <_rc> Vide80: then you probably want this: http://pastie.org/666728
[2011/11/03 05:20:13] @ Quit: kenyon: Ping timeout: 240 seconds
[2011/11/03 05:21:09] @ bretm joined channel #puppet
[2011/11/03 05:26:29] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 05:26:30] @ jedi4ever_ joined channel #puppet
[2011/11/03 05:29:43] @ Quit: martin-: Ping timeout: 256 seconds
[2011/11/03 05:29:43] @ Quit: bolt12: Ping timeout: 256 seconds
[2011/11/03 05:31:41] @ bolt12 joined channel #puppet
[2011/11/03 05:33:03] <countskm> ah its uppercase Puppet/Provider - should have realized its named after a ruby class
[2011/11/03 05:33:48] @ martin- joined channel #puppet
[2011/11/03 05:34:18] @ lkoranda joined channel #puppet
[2011/11/03 05:36:36] @ mmoya joined channel #puppet
[2011/11/03 05:38:29] @ gniks joined channel #puppet
[2011/11/03 05:40:15] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/03 05:41:24] @ kenyon joined channel #puppet
[2011/11/03 05:41:52] @ Quit: bolt12: Ping timeout: 248 seconds
[2011/11/03 05:43:04] @ uphillian joined channel #puppet
[2011/11/03 05:43:34] @ Quit: e1mer: Ping timeout: 256 seconds
[2011/11/03 05:44:26] @ beaknit joined channel #puppet
[2011/11/03 05:45:35] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2011/11/03 05:46:03] @ Quit: rhysmorgan1: Quit: rhysmorgan1
[2011/11/03 05:47:20] @ erthad left channel #puppet ()
[2011/11/03 05:48:22] @ jon6000 left channel #puppet ()
[2011/11/03 05:48:34] @ e1mer joined channel #puppet
[2011/11/03 05:48:35] @ Quit: e1mer: Changing host
[2011/11/03 05:48:35] @ e1mer joined channel #puppet
[2011/11/03 05:51:29] @ astrostl joined channel #puppet
[2011/11/03 05:51:40] @ Quit: jodok: Ping timeout: 255 seconds
[2011/11/03 05:52:11] @ Quit: gniks: Quit: Leaving.
[2011/11/03 05:53:19] @ lkoranda joined channel #puppet
[2011/11/03 05:53:46] @ Quit: e1mer: Ping timeout: 256 seconds
[2011/11/03 05:54:13] @ bolt12 joined channel #puppet
[2011/11/03 05:55:15] @ zorg1 joined channel #puppet
[2011/11/03 05:55:45] @ Quit: zorg1: Read error: Connection reset by peer
[2011/11/03 05:57:30] @ Quit: bobra: Ping timeout: 252 seconds
[2011/11/03 05:57:55] @ e1mer joined channel #puppet
[2011/11/03 05:58:34] @ cliff-hm joined channel #puppet
[2011/11/03 05:58:58] @ lborda joined channel #puppet
[2011/11/03 05:59:35] @ jodok joined channel #puppet
[2011/11/03 06:03:49] <andreaturli> hi guys, I've put vcsrepo in my $modulepath and trying to clone a git repo, no errors, but nothing cloned
[2011/11/03 06:03:59] <andreaturli> any suggestions?
[2011/11/03 06:05:39] @ Espen-_o joined channel #puppet
[2011/11/03 06:06:10] @ rgsteele joined channel #puppet
[2011/11/03 06:11:28] @ Razique joined channel #puppet
[2011/11/03 06:13:21] @ kenperkins joined channel #puppet
[2011/11/03 06:13:41] @ Quit: adimania: Ping timeout: 240 seconds
[2011/11/03 06:13:50] @ blentz joined channel #puppet
[2011/11/03 06:14:58] @ johnston joined channel #puppet
[2011/11/03 06:15:26] @ Quit: kermit: Quit: Leaving.
[2011/11/03 06:15:41] @ kermit joined channel #puppet
[2011/11/03 06:17:14] @ mogitaff joined channel #puppet
[2011/11/03 06:17:51] @ Quit: kenperkins: Ping timeout: 252 seconds
[2011/11/03 06:18:43] @ lborda is now known as lborda_otp
[2011/11/03 06:19:36] <robinbowes> I have several environments defined
[2011/11/03 06:19:37] @ Quit: rgsteele: Remote host closed the connection
[2011/11/03 06:21:31] <countskm> andreaturli: use the --debug flag and u will see what your providers are doing behind the scenes
[2011/11/03 06:22:11] <andreaturli> thx countskm infact Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at /etc/puppet/manifests/nodes.pp:9
[2011/11/03 06:22:29] <andreaturli> so the new resource type has not been found
[2011/11/03 06:22:38] <countskm> ah didnt even get that far (as far as a provider handling the resource)
[2011/11/03 06:22:44] <countskm> gotcha
[2011/11/03 06:23:44] <andreaturli> so I've downloaded this http://forge.puppetlabs.com/puppetlabs/vcsrepo
[2011/11/03 06:24:03] <andreaturli> and copied the untar folder into modules
[2011/11/03 06:24:07] <andreaturli> is not enough?
[2011/11/03 06:24:26] <robinbowes> Each env. sets a module path, eg: Ah, nm - found the prob. Wrong env!
[2011/11/03 06:26:13] @ Quit: e1mer: Ping timeout: 240 seconds
[2011/11/03 06:26:29] @ Quit: jedi4ever_: Read error: Connection reset by peer
[2011/11/03 06:26:32] @ jedi4ever joined channel #puppet
[2011/11/03 06:27:18] <robinbowes> Volcane: yt?
[2011/11/03 06:30:33] @ brandon_dacrib joined channel #puppet
[2011/11/03 06:30:58] <andreaturli> countskm: is not enough?
[2011/11/03 06:31:07] @ e1mer joined channel #puppet
[2011/11/03 06:33:32] <KaZeR_W> hi again. i'm back with my "Invalid host name" issue. i checked with facter , hostname and fqdn are relevant between this host and another host which works correctly
[2011/11/03 06:33:41] <KaZeR_W> in fact i even have two hosts with that issue
[2011/11/03 06:35:37] @ toi joined channel #puppet
[2011/11/03 06:37:32] @ Quit: pmorillon: Quit: pmorillon
[2011/11/03 06:38:46] @ indor joined channel #puppet
[2011/11/03 06:38:49] @ indor left channel #puppet ()
[2011/11/03 06:39:34] @ sebnash joined channel #puppet
[2011/11/03 06:40:53] @ gniks joined channel #puppet
[2011/11/03 06:41:30] @ Quit: e1mer: Ping timeout: 252 seconds
[2011/11/03 06:41:36] @ Quit: andreaturli: Remote host closed the connection
[2011/11/03 06:42:41] @ Quit: themadcanudist: Quit: Leaving.
[2011/11/03 06:44:02] @ rsnhyperion joined channel #puppet
[2011/11/03 06:45:56] @ Quit: zwi: Quit: Leaving.
[2011/11/03 06:46:08] @ zwi joined channel #puppet
[2011/11/03 06:46:33] @ e1mer joined channel #puppet
[2011/11/03 06:46:34] @ Quit: e1mer: Changing host
[2011/11/03 06:46:34] @ e1mer joined channel #puppet
[2011/11/03 06:47:07] @ andreaturli joined channel #puppet
[2011/11/03 06:47:25] @ kangman joined channel #puppet
[2011/11/03 06:50:55] @ mogito joined channel #puppet
[2011/11/03 06:51:12] @ Quit: e1mer: Ping timeout: 248 seconds
[2011/11/03 06:53:21] @ Quit: mogitaff: Read error: Operation timed out
[2011/11/03 06:55:35] @ e1mer joined channel #puppet
[2011/11/03 06:56:40] <Espen-_o> For some reason I can`t search my inventory. I tested /production/facts/<node> with curl and it worked like a charm.
[2011/11/03 06:56:58] <Espen-_o> Any tips on how i can debug why it won`t work from the dashboard?
[2011/11/03 06:59:32] @ nated joined channel #puppet
[2011/11/03 06:59:32] @ Quit: nated: Changing host
[2011/11/03 06:59:32] @ nated joined channel #puppet
[2011/11/03 07:00:52] @ Quit: mpdude: Read error: Operation timed out
[2011/11/03 07:02:19] @ Quit: bretm: Ping timeout: 260 seconds
[2011/11/03 07:04:40] @ ghanima joined channel #puppet
[2011/11/03 07:05:04] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2011/11/03 07:05:11] @ RhysMorgan is now known as Ababcus
[2011/11/03 07:05:29] <Ababcus> I'm trying to deploy a custom fact but struggling with the documentation
[2011/11/03 07:05:59] @ Quit: frostynova: Remote host closed the connection
[2011/11/03 07:06:05] @ Quit: doo: Quit: Leaving.
[2011/11/03 07:06:11] <_rc> this documentation? http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2011/11/03 07:06:44] <Ababcus> I have created the directory structure but the fact isn't part of another module, but I believe I still have to have a valid init.pp file, what do i put in the init.pp file?
[2011/11/03 07:06:52] <Ababcus> yes that documentation
[2011/11/03 07:07:13] <_rc> you don't need to put anything in the init.pp
[2011/11/03 07:07:53] <_rc> just check you have pluginsync = true in your agent configuration, then after a run facter -p should show your new fact
[2011/11/03 07:08:27] @ mpdude joined channel #puppet
[2011/11/03 07:08:46] <Ababcus> OK so the init.pp just needs to be there but can be blank?
[2011/11/03 07:08:55] @ sduchesneau joined channel #puppet
[2011/11/03 07:09:15] <Ababcus> Also where is puppet.conf on windows?
[2011/11/03 07:11:03] <_rc> it doesn't even need to be there for pluginsync
[2011/11/03 07:11:34] <_rc> and I dunno. you can put it on your commandline invocation. puppet agent --pluginsync
[2011/11/03 07:13:58] @ erthad joined channel #puppet
[2011/11/03 07:14:02] @ Quit: nated: Quit: leaving
[2011/11/03 07:14:08] @ Quit: erthad: Changing host
[2011/11/03 07:14:08] @ erthad joined channel #puppet
[2011/11/03 07:14:19] @ bretm joined channel #puppet
[2011/11/03 07:15:17] @ PoOky_ is now known as vStone
[2011/11/03 07:16:00] <KaZeR_W> Espen-_-, which dashboard is it ? (it's mainly curiosity)
[2011/11/03 07:16:11] <KaZeR_W> Espen-_o, in fact
[2011/11/03 07:18:18] @ Quit: e1mer: Ping timeout: 245 seconds
[2011/11/03 07:18:20] @ brandon_dacrib_ joined channel #puppet
[2011/11/03 07:18:37] @ Chesther joined channel #puppet
[2011/11/03 07:19:24] @ Quit: key: Quit: Konversation terminated!
[2011/11/03 07:19:32] <erthad> hiall
[2011/11/03 07:19:44] @ key joined channel #puppet
[2011/11/03 07:19:58] <erthad> is it possible to add nodes to dashboard groups based on some external sources (e.g. facts)?
[2011/11/03 07:20:48] @ Quit: brandon_dacrib: Ping timeout: 245 seconds
[2011/11/03 07:20:48] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/11/03 07:21:11] @ spiette joined channel #puppet
[2011/11/03 07:21:13] @ Quit: jbraeuer: Ping timeout: 258 seconds
[2011/11/03 07:22:52] <Espen-_o> KaZeR_W: puppet dashboard Puppet Dashboard 1.2.2rc2-27-g9856e7b
[2011/11/03 07:23:14] @ asteve joined channel #puppet
[2011/11/03 07:23:15] @ Quit: asteve: Changing host
[2011/11/03 07:23:15] @ asteve joined channel #puppet
[2011/11/03 07:23:15] @ themadcanudist joined channel #puppet
[2011/11/03 07:23:36] @ e1mer joined channel #puppet
[2011/11/03 07:24:55] <KaZeR_W> thanks Espen-_-
[2011/11/03 07:25:16] @ jedi4ever_ joined channel #puppet
[2011/11/03 07:25:57] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 07:25:57] @ jedi4ever_ is now known as jedi4ever
[2011/11/03 07:26:01] @ doo joined channel #puppet
[2011/11/03 07:27:14] @ Quit: cosimo: Quit: leaving
[2011/11/03 07:27:16] @ BLZbubba joined channel #puppet
[2011/11/03 07:27:45] @ Quit: Vasik|work: Remote host closed the connection
[2011/11/03 07:30:44] @ Quit: bretm: Ping timeout: 276 seconds
[2011/11/03 07:31:20] <Ababcus> _rc thanks
[2011/11/03 07:32:17] @ ghg joined channel #puppet
[2011/11/03 07:33:03] @ cosimo joined channel #puppet
[2011/11/03 07:33:22] @ Quit: sebnash: Quit: Leaving...
[2011/11/03 07:35:07] <andreaturli> guys, is there a way ot debug this tool ? https://github.com/puppetlabs/puppet-module-tool
[2011/11/03 07:35:25] @ shortbus- joined channel #puppet
[2011/11/03 07:35:50] <andreaturli> I
[2011/11/03 07:35:52] <andreaturli> got
[2011/11/03 07:35:54] <andreaturli> =====================================
[2011/11/03 07:35:54] <andreaturli> Searching http://forge.puppetlabs.com
[2011/11/03 07:35:54] <andreaturli> -------------------------------------
[2011/11/03 07:35:54] <andreaturli> Could not reach remote repository
[2011/11/03 07:36:00] <andreaturli> but I dont know why
[2011/11/03 07:36:05] <andreaturli> I can wget this url
[2011/11/03 07:37:20] <Espen-_o> Since I can set classes and parameters in the puppet dashboard. Is there a easy way I can use the puppet dashboard as my External Node Classifier?
[2011/11/03 07:38:13] @ Quit: mfladischer: Ping timeout: 240 seconds
[2011/11/03 07:39:10] <dcarley> andreaturli: do you or wget have a proxy configured?
[2011/11/03 07:39:36] <andreaturli> dcarley no proxy in y network
[2011/11/03 07:39:40] @ Quit: e1mer: Ping timeout: 255 seconds
[2011/11/03 07:40:19] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/03 07:42:17] <tim|buntu> anyone know how to do string concats in puppet manifests? got some very long strings that i want to put over multiple lines, without crapping up the end result...
[2011/11/03 07:42:25] @ Razique left channel #puppet ()
[2011/11/03 07:42:42] <kjetilho> tim|buntu: you don't... use templates
[2011/11/03 07:42:54] <tim|buntu> meh :(
[2011/11/03 07:43:12] <kjetilho> in my defines, I usually support that text arguments are arrays
[2011/11/03 07:43:23] <kjetilho> and then I use join on them in the template
[2011/11/03 07:43:45] <kjetilho> but AFAIK, there is no string concatenation in Puppet itself
[2011/11/03 07:44:16] <kjetilho> hmmm....
[2011/11/03 07:44:29] <kjetilho> actually, ["foo", "bar"] will behave as "foobar" in many contexts
[2011/11/03 07:44:32] @ e1mer joined channel #puppet
[2011/11/03 07:44:35] <kjetilho> but I'm not sure I'd want to rely on it
[2011/11/03 07:44:39] <tim|buntu> yeah
[2011/11/03 07:44:49] <semiosis> tim|buntu: inline_template()
[2011/11/03 07:45:01] <kjetilho> oh no, you killed a kitten!
[2011/11/03 07:45:02] <Volcane> if u use an array in string context it concats yes
[2011/11/03 07:45:15] @ illsci joined channel #puppet
[2011/11/03 07:45:17] <Volcane> "${array}" is like array.to_s in ruby
[2011/11/03 07:45:27] @ skm joined channel #puppet
[2011/11/03 07:45:32] @ Quit: cosimo: Remote host closed the connection
[2011/11/03 07:45:33] <kjetilho> yeah, I guess you can depend on that
[2011/11/03 07:45:43] <kjetilho> ie. use a throwaway variable to hold the array
[2011/11/03 07:45:51] <Volcane> heh well i didnt say its a good idea, just describing the behavior :P
[2011/11/03 07:46:45] @ bretm joined channel #puppet
[2011/11/03 07:49:40] <asteve> If i have a module called "cron" and inside of manifests/init.pp I have a class called cron::www; can I directly include cron::www in manifests/site.pp?
[2011/11/03 07:50:09] <dcarley> Array.to_s is analogous to Array.join()? wtfruby.
[2011/11/03 07:50:13] @ Quit: dnjaramba: Ping timeout: 240 seconds
[2011/11/03 07:50:19] @ dnjaramba_ joined channel #puppet
[2011/11/03 07:50:25] <semiosis> asteve: put cron::www in manifests/www.pp
[2011/11/03 07:50:43] <asteve> semiosis: inside the module?
[2011/11/03 07:50:49] <asteve> so modules/cron/manifests/www.pp?
[2011/11/03 07:50:52] <semiosis> exactly
[2011/11/03 07:51:17] <asteve> then I can call cron::www from the main puppet/manifests/site.pp?
[2011/11/03 07:51:24] <semiosis> afaik, yes
[2011/11/03 07:51:31] <asteve> ok, thank you
[2011/11/03 07:51:34] <semiosis> yw
[2011/11/03 07:51:53] @ Quit: mmoya: Ping timeout: 260 seconds
[2011/11/03 07:51:53] <robinbowes> Hey Volcane ...
[2011/11/03 07:52:25] <asteve> can you have an emtpy class?
[2011/11/03 07:52:48] <semiosis> asteve: why?
[2011/11/03 07:52:53] <robinbowes> hiera with puppet - is there an overview of what's required to get up and running?
[2011/11/03 07:53:10] <Volcane> the gem and pluginsync
[2011/11/03 07:53:37] <asteve> semiosis: i'd like to create my cron manifests right now and then add content as the day goes on
[2011/11/03 07:53:41] <robinbowes> So, gem install on master, and ...?
[2011/11/03 07:54:15] @ cosimo joined channel #puppet
[2011/11/03 07:54:32] <Volcane> robinbowes: the "For the moment the Gem install will place the Puppet Parser Function where Puppet cannot find it, you should copy it out and distribute it to your master using Pluginsync or something similar"
[2011/11/03 07:55:41] <Volcane> the hiera-puppet gem has a lib/puppet dir in it - that stuff is a puppet plugin that requires syncing
[2011/11/03 07:55:45] <Volcane> in the normal way
[2011/11/03 07:55:49] <robinbowes> OK
[2011/11/03 07:55:56] <robinbowes> Will work it out and blog it
[2011/11/03 07:55:58] @ jbraeuer joined channel #puppet
[2011/11/03 07:56:23] <Volcane> kewl - sorry docs is so shit, hopefully improve now that a bigger team owns the code
[2011/11/03 07:57:47] @ benjiedmund joined channel #puppet
[2011/11/03 07:58:15] @ Quit: willemb: Quit: leaving
[2011/11/03 07:58:34] @ Quit: scobal: Remote host closed the connection
[2011/11/03 07:58:43] <robinbowes> In unrelated news...
[2011/11/03 07:58:54] <robinbowes> Actually, over on #infratalk...
[2011/11/03 07:59:00] <robinbowes> Actually, over on #infra-talk...
[2011/11/03 07:59:26] @ rcrowley joined channel #puppet
[2011/11/03 08:00:57] @ RhysMorgan joined channel #puppet
[2011/11/03 08:01:10] @ Quit: Ababcus: Read error: Connection reset by peer
[2011/11/03 08:01:10] @ RhysMorgan is now known as Ababcus
[2011/11/03 08:03:53] @ Quit: zwi: Quit: Leaving.
[2011/11/03 08:04:02] @ xover1 joined channel #puppet
[2011/11/03 08:04:09] <fragfutter> can i loop over hash keys?
[2011/11/03 08:04:13] <xover1> hi
[2011/11/03 08:04:25] <xover1> where do i specify the nodes that i want my manifest applied to?
[2011/11/03 08:05:02] @ soh joined channel #puppet
[2011/11/03 08:05:37] <xover1> you should ask when the deposit will be transferred
[2011/11/03 08:06:41] @ Wolfspyre joined channel #puppet
[2011/11/03 08:07:10] @ ckauhaus joined channel #puppet
[2011/11/03 08:07:16] <Espen-_o> Managed to use puppet dashboard as ENC for my classes, but parameteres won`t work. Guessing it`s my shitty modules.
[2011/11/03 08:07:51] <Espen-_o> If I got define motd_conf($motd). Is it enough for me to just add motd as a parameter in my ENC?
[2011/11/03 08:07:58] <Espen-_o> Or do I need to rewrite my module?
[2011/11/03 08:08:32] <_rc> a define isn't a parameterised class, it's a define
[2011/11/03 08:08:38] @ benkevan joined channel #puppet
[2011/11/03 08:09:11] @ Quit: dan__t_: Ping timeout: 260 seconds
[2011/11/03 08:09:38] <Espen-_o> Ok. Guess I will go read the module documentation again.
[2011/11/03 08:09:52] @ Travis-42 joined channel #puppet
[2011/11/03 08:09:53] @ Quit: kainos: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/03 08:10:13] @ rgsteele joined channel #puppet
[2011/11/03 08:11:04] <Travis-42> I'm getting the following error "Uncaught exception: Puppet::Error: Parameter alias failed: /etc/logrotate.d/varloggodlog.conf can not create alias logrotate_varloggodlog: object already exists" -- what does this mean?
[2011/11/03 08:11:09] @ Quit: thenulldevice: Quit: Leaving.
[2011/11/03 08:11:10] <_rc> ttp://docs.puppetlabs.com/learning/modules2.html seems to cover parameterised classes
[2011/11/03 08:13:21] @ lwhalen joined channel #puppet
[2011/11/03 08:18:51] @ nated joined channel #puppet
[2011/11/03 08:18:51] @ Quit: nated: Changing host
[2011/11/03 08:18:51] @ nated joined channel #puppet
[2011/11/03 08:19:07] <xover1> where do i specify the nodes that will have my manifests applied?
[2011/11/03 08:19:45] @ ldlework joined channel #puppet
[2011/11/03 08:20:04] <_rc> that really depends on the organisation of your master. it may be an ENC, it may be a nodes.pp that gets pilled into your site.pp, it may be site.pp itself
[2011/11/03 08:20:14] @ basic` joined channel #puppet
[2011/11/03 08:21:27] @ Quit: e1mer: Quit: Leaving
[2011/11/03 08:21:30] @ hobbeswalsh joined channel #puppet
[2011/11/03 08:21:44] <Espen-_o> _rc that only told me how to create a paramterised class in a module. Any clue on how I define the parameters within my site.pp ?
[2011/11/03 08:22:51] <_rc> Espen-_o: you don't want define them in your site.pp, use your enc
[2011/11/03 08:24:05] @ kenperkins joined channel #puppet
[2011/11/03 08:24:42] @ Quit: jedi4ever: Read error: Connection reset by peer
[2011/11/03 08:24:48] @ jedi4ever joined channel #puppet
[2011/11/03 08:25:40] @ cruzfox joined channel #puppet
[2011/11/03 08:25:51] @ Quit: iamchrisf: Quit: iamchrisf
[2011/11/03 08:26:25] @ iamchrisf joined channel #puppet
[2011/11/03 08:26:32] <Espen-_o> _rc: ok. Do I need to define that a parameter should be included in a class in my ENC? Or do I just need to use unique parameters?
[2011/11/03 08:26:58] <tim|buntu> Espen-_-: class { "my_parameterized_class": para1 => "value", para2 => "value } <-- is that what you're looking for?
[2011/11/03 08:27:10] <Espen-_o> tim|buntu: I already setup my class.
[2011/11/03 08:27:21] @ mcarpent joined channel #puppet
[2011/11/03 08:27:21] <Espen-_o> Now I want to use it for one of my nodes.
[2011/11/03 08:28:11] @ pmorillon joined channel #puppet
[2011/11/03 08:28:25] @ Quit: sduchesneau: Ping timeout: 244 seconds
[2011/11/03 08:28:28] <tim|buntu> yes, instead of include my_parameterized_class you do it the way i describe above
[2011/11/03 08:28:32] <_rc> Espen-_o: all I know about ENCs and param classes comes from http://docs.puppetlabs.com/guides/external_nodes.html
[2011/11/03 08:28:44] <_rc> quite what the UI to your ENC is I don't know
[2011/11/03 08:28:47] <Espen-_o> tim|buntu: ok thanks
[2011/11/03 08:28:58] <Espen-_o> _rc: I am using puppet dashboard as my ENC at the moment
[2011/11/03 08:29:21] <_rc> ok. then I don't know what that ui looks like when you assign a parameterised class
[2011/11/03 08:31:27] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/03 08:32:02] @ labrown joined channel #puppet
[2011/11/03 08:35:27] <lisa> is there a way to loop over the contents of a file in a template?
[2011/11/03 08:35:35] @ neonflux joined channel #puppet
[2011/11/03 08:35:58] <_rc> where's the file from?
[2011/11/03 08:36:26] <lisa> flat text file with a record per line
[2011/11/03 08:36:34] <kjetilho> lisa: yes, a template can use arbitrary Ruby code
[2011/11/03 08:36:53] <kjetilho> but the file needs to be readable on the *master*
[2011/11/03 08:36:58] <_rc> I mean is it on the client or the master? if it's on the master then see kjetilho's answer
[2011/11/03 08:37:00] <Espen-_o> it seems puppet dashboard doesn`t support parameterised classes yet. http://projects.puppetlabs.com/issues/4738
[2011/11/03 08:37:04] <fragfutter> isn't there a shortcut notation to specify multiple resources from hashes? i would like to reduce http://pastie.org/2805020
[2011/11/03 08:37:08] <lisa> kjetilho: works for me.
[2011/11/03 08:38:13] @ scobal joined channel #puppet
[2011/11/03 08:38:26] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/11/03 08:39:21] @ IMROOT joined channel #puppet
[2011/11/03 08:39:47] @ Quit: olof: Ping timeout: 244 seconds
[2011/11/03 08:40:05] @ marrusl joined channel #puppet
[2011/11/03 08:40:11] <robinbowes> Volcane: one issue I hit was that the hiera-json gem fails with: can't find header files for ruby.
[2011/11/03 08:40:50] @ Quit: MattyM: Remote host closed the connection
[2011/11/03 08:40:51] @ Quit: lborda_otp: Remote host closed the connection
[2011/11/03 08:41:32] <nahamu> robinbowes: might that mean you need to install ruby-dev or its equivalent on your OS?
[2011/11/03 08:41:43] @ riha left channel #puppet ()
[2011/11/03 08:41:44] <robinbowes> I guess I need to add ruby-devel
[2011/11/03 08:41:46] <robinbowes> Ha!
[2011/11/03 08:41:50] <fragfutter> create_resources, should do it.
[2011/11/03 08:41:51] <robinbowes> Yeah, I get that
[2011/11/03 08:42:03] @ dan__t_ joined channel #puppet
[2011/11/03 08:42:08] @ newtMcKerr joined channel #puppet
[2011/11/03 08:43:25] @ sumsuch joined channel #puppet
[2011/11/03 08:43:53] @ lborda joined channel #puppet
[2011/11/03 08:45:07] @ Quit: toi: Remote host closed the connection
[2011/11/03 08:48:39] @ tizzo-afk is now known as tizzo
[2011/11/03 08:49:38] @ brandon_dacrib left channel #puppet ()
[2011/11/03 08:50:05] @ Quit: jbraeuer: Ping timeout: 240 seconds
[2011/11/03 08:51:18] @ Quit: marrusl: Quit: Ex-Chat
[2011/11/03 08:51:43] @ Quit: Travis-42: Quit: Ex-Chat
[2011/11/03 08:52:11] @ Quit: Meier: Quit: Leaving.
[2011/11/03 08:53:20] @ onicrom joined channel #puppet
[2011/11/03 08:53:53] <andreaturli> guys, is there a way ot debug this tool ? https://github.com/puppetlabs/puppet-module-tool ?
[2011/11/03 08:53:57] <onicrom> hi all, question about a case statement, does puppet/ruby stop processing the case statements as soon as the first one is met?
[2011/11/03 08:55:13] @ olof joined channel #puppet
[2011/11/03 08:55:39] @ st33v joined channel #puppet
[2011/11/03 08:55:55] @ Quit: trickyf: Quit: Leaving.
[2011/11/03 08:56:39] @ jbraeuer joined channel #puppet
[2011/11/03 08:58:04] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/11/03 08:58:12] @ zwi joined channel #puppet
[2011/11/03 08:58:13] @ Quit: mcarpent: Ping timeout: 252 seconds
[2011/11/03 08:59:37] @ jsm joined channel #puppet
[2011/11/03 09:00:00] @ Quit: gaveen: Remote host closed the connection
[2011/11/03 09:00:13] <xover1> is there a package for centos?
[2011/11/03 09:00:35] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/03 09:00:52] <astrostl> xover1: google for epel
[2011/11/03 09:01:13] @ fir31ight joined channel #puppet
[2011/11/03 09:01:51] @ maes_` joined channel #puppet
[2011/11/03 09:03:35] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/03 09:03:36] @ Quit: astrostl: Read error: Connection reset by peer
[2011/11/03 09:03:36] @ RhysMorgan joined channel #puppet
[2011/11/03 09:03:40] @ Barakas joined channel #puppet
[2011/11/03 09:03:57] @ Quit: maes_: Ping timeout: 258 seconds
[2011/11/03 09:04:05] @ Quit: Ababcus: Ping timeout: 240 seconds
[2011/11/03 09:04:05] @ RhysMorgan is now known as Ababcus
[2011/11/03 09:04:22] <xover1> I still get the dependency problems with that rpm
[2011/11/03 09:04:42] @ sduchesneau joined channel #puppet
[2011/11/03 09:05:59] <onicrom> http://yum.puppetlabs.com/
[2011/11/03 09:06:28] @ lak joined channel #puppet
[2011/11/03 09:06:28] @ Quit: lak: Changing host
[2011/11/03 09:06:29] @ lak joined channel #puppet
[2011/11/03 09:07:12] @ Quit: labrown: Quit: Leaving
[2011/11/03 09:08:43] <xover1> that isnt compatible
[2011/11/03 09:08:49] <xover1> i am using x86_64
[2011/11/03 09:10:02] <bd__> xover1: no source rpms on that site?
[2011/11/03 09:11:13] <xover1> what is the difference between base, el and enterprise linux
[2011/11/03 09:11:39] <jsm> xover1: look in the directories
[2011/11/03 09:12:04] <jsm> enterprise is puppet enterprise
[2011/11/03 09:12:09] <jsm> el is for redhat and clones
[2011/11/03 09:12:22] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/11/03 09:12:43] @ hooper joined channel #puppet
[2011/11/03 09:13:12] <_rc> xover1: what depenency issue are you seeing? we have everything satisfied from centos+epel
[2011/11/03 09:13:56] @ negronjl_mobile joined channel #puppet
[2011/11/03 09:14:43] @ Quit: st33v: Quit: st33v
[2011/11/03 09:15:14] <xover1> i will just use source
[2011/11/03 09:15:14] <larsar_> xover1: I had a yum problem yesterday. Something changed in the yum repo structure at puppetlabs.
[2011/11/03 09:15:34] <xover1> i woud had though puppet would be in the case rpm.
[2011/11/03 09:15:43] <xover1> thought it was around for years.
[2011/11/03 09:15:50] <larsar_> xover1: Had to change my yum URL. Installed it successfully on RHEL 6.1 64 bit.
[2011/11/03 09:16:09] <xover1> how do you access your red hat updates?
[2011/11/03 09:16:14] @ joshcooper joined channel #puppet
[2011/11/03 09:16:22] @ Quit: lak: Quit: Leaving.
[2011/11/03 09:16:38] <xover1> do you have to login or something, i have never used red hat
[2011/11/03 09:16:59] <larsar_> xover1: Do you use yum?
[2011/11/03 09:17:04] <larsar_> ...for package management?
[2011/11/03 09:17:24] <jsm> i'm trying to split up a modules manifest into multiple files.. at the top of my init.pp i put : import "*" but it's failing to findclasses that put in a separate file.. any ideas?
[2011/11/03 09:17:33] @ Asako joined channel #puppet
[2011/11/03 09:17:46] <larsar_> xover1: Centos 6 should be the same as RedHat 6...
[2011/11/03 09:17:59] <xover1> i do
[2011/11/03 09:18:19] <xover1> use yum, but as i cant resolve the dependencies i just downloaded the src
[2011/11/03 09:18:24] <_rc> jsm: don't do that. split the classes into filenames that match the classes they represent
[2011/11/03 09:18:35] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/03 09:18:36] <larsar_> xover1: Have you got a /etc/yum.repos.d/puppetlabs.repo file (or made a similar file)?
[2011/11/03 09:18:45] <_rc> jsm: work with http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2011/11/03 09:18:53] <xover1> larsar_: no
[2011/11/03 09:18:55] <larsar_> /etc/yum.repos.d/puppetlabs.repo
[2011/11/03 09:18:55] <larsar_> [puppetlabs]
[2011/11/03 09:18:55] <larsar_> name=Puppet Labs Packages
[2011/11/03 09:18:56] <larsar_> baseurl=http://yum.puppetlabs.com/el/6/products/x86_64/
[2011/11/03 09:18:58] <larsar_> enabled=0
[2011/11/03 09:18:59] <xover1> thanks
[2011/11/03 09:19:00] <larsar_> gpgcheck=0
[2011/11/03 09:19:02] <jsm> pastebin
[2011/11/03 09:19:14] <Asako> hey, is there a way to inject test reports into dashboard?
[2011/11/03 09:19:31] @ idl0r joined channel #puppet
[2011/11/03 09:19:32] <larsar_> xover1: hmmm...did I just send you the yum-config? Don't see it here.
[2011/11/03 09:19:48] @ Quit: IMROOT: Quit: Page closed
[2011/11/03 09:19:49] <Asako> I tried to zcat the stored report file, didn't work
[2011/11/03 09:19:51] @ jedi4ever joined channel #puppet
[2011/11/03 09:19:59] <idl0r> has anybody a proper/working patch for https://projects.puppetlabs.com/issues/9167 by chance?
[2011/11/03 09:20:04] @ Quit: mogito: Remote host closed the connection
[2011/11/03 09:21:08] <larsar_> xover1: https://gist.github.com/ff93e81523417f6078ef
[2011/11/03 09:21:35] @ Quit: newtMcKerr: Ping timeout: 253 seconds
[2011/11/03 09:21:50] <robinbowes> Volcane: I have installed hiera-json but am struggling to get it working. Any docs you can point me at?
[2011/11/03 09:22:07] @ claussen joined channel #puppet
[2011/11/03 09:22:51] <larsar_> xover1: And another repo you also have to specify, if you don't have it already https://gist.github.com/64684ad08624a26d79bf
[2011/11/03 09:23:19] <larsar_> xover1: Then you can install puppet running this command line: yum --enablerepo=puppetlabs,epel,epel-puppet install puppet-server
[2011/11/03 09:23:26] @ mcarpent joined channel #puppet
[2011/11/03 09:23:58] @ Quit: jaytaph: Quit: jaytaph
[2011/11/03 09:24:38] @ sduchesneau_ joined channel #puppet
[2011/11/03 09:25:05] <robinbowes> <sigh> Looks like it could be E_RUBY_TOO_FUCKING_OLD in RHEL
[2011/11/03 09:25:25] @ Quit: raphdg: Remote host closed the connection
[2011/11/03 09:26:41] <xover1> is puppet.noarch, the agent?
[2011/11/03 09:26:44] <xover1> that is all i require
[2011/11/03 09:27:02] <Asako> RHEL has old everything
[2011/11/03 09:27:28] <larsar_> xover1: Just install the "puppet" package: yum --enablerepo=puppetlabs,epel,epel-puppet install puppet
[2011/11/03 09:27:31] <Asako> had to build my own ruby rpms for it
[2011/11/03 09:27:38] @ onicrom left channel #puppet ()
[2011/11/03 09:27:41] * thedonvaughn makes his own custom puppet rpms
[2011/11/03 09:27:50] @ Quit: sduchesneau: Ping timeout: 244 seconds
[2011/11/03 09:27:50] <thedonvaughn> luckily the ruby that comes with RHEL 5 and 6 suffice for me.
[2011/11/03 09:27:53] <xover1> epel isnt listed in the repo.d dir
[2011/11/03 09:27:56] <thedonvaughn> i don't really use anything extra i suppose
[2011/11/03 09:28:21] <jsm> _rc: thanks for the link... works now
[2011/11/03 09:28:30] <Asako> puppetmasterd[30918]: No report named 'puppet_dashboard'
[2011/11/03 09:28:31] @ Quit: mcarpent: Ping timeout: 260 seconds
[2011/11/03 09:28:41] <Asako> I copied the rb script into /var/lib/puppet/reports
[2011/11/03 09:28:47] @ Vulcan[OMNI] joined channel #puppet
[2011/11/03 09:28:48] <Asako> what else do I need?
[2011/11/03 09:29:10] @ pablo_ joined channel #puppet
[2011/11/03 09:29:13] <_rc> Asako: that's not where you want to copy it
[2011/11/03 09:29:14] <larsar_> xover1: Posted the content of the epel repos here: https://gist.github.com/64684ad08624a26d79bf
[2011/11/03 09:29:20] <pablo_> hello
[2011/11/03 09:29:26] <pablo_> how can i get a puppet t-shirt?
[2011/11/03 09:29:35] <_rc> Asako: it'll be over in /usr/lib/ruby someplace
[2011/11/03 09:29:35] @ Quit: negronjl_mobile: Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )
[2011/11/03 09:29:40] <xover1> v
[2011/11/03 09:29:40] <larsar_> xover1: Just add it to the same file as puppet repo or a new file in the repo dir.
[2011/11/03 09:29:42] <xover1> puppet-2.7.6-2.el6.noarch from puppetlabs has depsolving problems
[2011/11/03 09:29:42] <xover1> --> Missing Dependency: ruby-augeas is needed by package puppet-2.7.6-2.el6.noarch (puppetlabs)
[2011/11/03 09:29:47] <Asako> _rc thanks
[2011/11/03 09:30:08] <walterheck> how do i narrow down where the problem is realizing virtual defines when the error is as generic as "Error 400 on SERVER: Failed to realize virtual resources Users::Ssh_user[foo], Users::Ssh_user[bar] on node ops01.foobar.com"
[2011/11/03 09:30:09] <_rc> xover1: that's a dependency available in epel
[2011/11/03 09:30:09] <Asako> Copy Dashboard’s custom report handler into puppet master’s libdir:
[2011/11/03 09:30:11] <Asako> oh, derp
[2011/11/03 09:30:13] <xover1> ok
[2011/11/03 09:30:31] @ ianbrandt joined channel #puppet
[2011/11/03 09:30:54] <xover1> so i need to add two more repos then
[2011/11/03 09:31:00] <xover1> hmm, i hope this doesnt break the box
[2011/11/03 09:31:17] @ langworthy joined channel #puppet
[2011/11/03 09:32:13] @ jim80net joined channel #puppet
[2011/11/03 09:32:23] <pablo_> Hello, how can i get a puppet t-shirt? :)
[2011/11/03 09:32:25] @ illsci left channel #puppet ()
[2011/11/03 09:32:30] <larsar_> xover1: If you follow my advice you'll not enable the repos. In other words: you are just enabeling the repos running the yum command for now. (with the --enablerepo option)
[2011/11/03 09:33:15] <larsar_> xover1: Next time you install something else using yum, the repos you added now are not used unless you activate them.
[2011/11/03 09:33:17] <xover1> yes i get that part but i need the urls for the repos
[2011/11/03 09:33:26] <xover1> yeah i get it, thanks for that part.
[2011/11/03 09:33:48] <larsar_> xover1: Follow me.... https://gist.github.com/64684ad08624a26d79bf
[2011/11/03 09:34:22] @ danbeck joined channel #puppet
[2011/11/03 09:34:28] <xover1> only i have using 5.7
[2011/11/03 09:35:01] @ tilgovi joined channel #puppet
[2011/11/03 09:35:02] @ Quit: tilgovi: Changing host
[2011/11/03 09:35:02] @ tilgovi joined channel #puppet
[2011/11/03 09:35:52] @ williemach joined channel #puppet
[2011/11/03 09:36:13] <larsar_> xover1: Replace "6" by "5" then. Should work just fine.
[2011/11/03 09:37:34] <xover1> ok thaks
[2011/11/03 09:39:03] @ kinsel joined channel #puppet
[2011/11/03 09:40:14] @ kelseyhightower_ joined channel #puppet
[2011/11/03 09:40:38] <Asako> looks like the docs on the dashboard site are wrong
[2011/11/03 09:41:03] @ lusis joined channel #puppet
[2011/11/03 09:41:40] <jsm> i'm testing some recipes that would usually run on multiple servers depending on role, but i'm putting them all on the same server for testing.. problem is i have a service that is defined twice (once in the app server role, once in the fileserver.. trying to think of a way to accomodate it so puppet doesn't complain
[2011/11/03 09:41:44] @ mitchellh joined channel #puppet
[2011/11/03 09:42:09] <fragfutter> jsm: virtual resources or common-class that gets included in both
[2011/11/03 09:42:15] <_rc> put it in a common class
[2011/11/03 09:42:29] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/11/03 09:42:30] @ kelseyhightower_ is now known as kelseyhightower
[2011/11/03 09:42:39] @ imroot joined channel #puppet
[2011/11/03 09:42:52] <jsm> ok, so a common class can't be called twice?
[2011/11/03 09:42:52] @ Quit: mpdude: Remote host closed the connection
[2011/11/03 09:43:02] <jsm> or it won't complain about it, rather
[2011/11/03 09:43:28] <masterzen> jsm: you can include a class several times, it has no side effects
[2011/11/03 09:43:45] <jsm> groovy
[2011/11/03 09:43:58] @ timyim joined channel #puppet
[2011/11/03 09:44:36] @ Quit: sduchesneau_: Remote host closed the connection
[2011/11/03 09:45:20] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/03 09:45:34] <robinbowes> y'know, I can't work out this damned hiera thing
[2011/11/03 09:45:43] <jsm> robinbowes: i got it all working
[2011/11/03 09:45:44] <erthad> is there a way to turn on debug mode for hiera running inside puppet?
[2011/11/03 09:45:50] <jsm> robinbowes: i can help :)
[2011/11/03 09:45:58] <robinbowes> If I include a puppet backend, it just barfs
[2011/11/03 09:46:04] <robinbowes> jsm: that would be cool!
[2011/11/03 09:46:14] <robinbowes> what OS you on?
[2011/11/03 09:46:18] <robinbowes> And what ruby?
[2011/11/03 09:46:18] <jsm> el6
[2011/11/03 09:46:25] @ Quit: claussen: Quit: claussen
[2011/11/03 09:46:35] * robinbowes has 1.8.5 in el5
[2011/11/03 09:46:37] <jsm> ruby 1.8.7
[2011/11/03 09:46:49] <imroot> hello, I've just installed puppet enterprise to see what it can do for me. I've read through the documentation but yet I have yet to see the point of using the specialized language when I can do this all manually. Can anyone out there tell me if this product is really worthwhile or should I just erase it and move on?
[2011/11/03 09:46:59] @ Quit: Barakas: Quit: Leaving
[2011/11/03 09:47:15] <robinbowes> imroot: how many machines?
[2011/11/03 09:47:24] <jsm> robinbowes: make sure you gem install all the hiera related stuff first
[2011/11/03 09:47:28] @ Quit: langworthy: Quit: langworthy
[2011/11/03 09:47:31] <robinbowes> I did that
[2011/11/03 09:47:33] <imroot> about 1000, mostly rhel
[2011/11/03 09:47:36] <timyim> imroot: depends on how many machines
[2011/11/03 09:47:41] <timyim> then yes
[2011/11/03 09:47:46] <robinbowes> Defoo worth it for 1000 machines
[2011/11/03 09:47:57] <timyim> i use it on ~100
[2011/11/03 09:47:57] <robinbowes> jsm: hiera, hiera-puppet and hiera-json
[2011/11/03 09:48:00] <Asako> heh, how do you manage them without it?
[2011/11/03 09:48:01] @ Quit: Vide80: Quit: Leaving
[2011/11/03 09:48:04] <timyim> and still saves me a ton of time
[2011/11/03 09:48:05] <jsm> imroot: what do you mean you can do this all manually ? you can admin 1000 machines manually?
[2011/11/03 09:48:09] @ the_ramink joined channel #puppet
[2011/11/03 09:48:15] @ newtMcKerr joined channel #puppet
[2011/11/03 09:48:15] <timyim> prolly dsh
[2011/11/03 09:48:38] <imroot> i have a lot of customized scripts to generate them and dsetroy them on the cloud.
[2011/11/03 09:48:51] <fragfutter> timyim: if they are exatly identical you can stick with dsh, if the deviate i would look into puppet.
[2011/11/03 09:49:00] <erthad> jsm: is there a way to turn on debug mode for hiera running inside puppet? it seems hiera does not see gpg backend when run by puppet though it is present in config
[2011/11/03 09:49:09] <robinbowes> Although, hiera-json seems to barf, which I think is due to a ruby 1.8.5 bug
[2011/11/03 09:49:22] <Asako> now I have another issue
[2011/11/03 09:49:25] <robinbowes> So, am sticking to yaml for the moment
[2011/11/03 09:49:32] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/03 09:49:32] <jsm> robinbowes: same here
[2011/11/03 09:49:37] <Asako> dashboard says 101 pending tasks but I see no nodes listed
[2011/11/03 09:49:41] <jsm> erthad: hmm, not sure about that one, ping volcane
[2011/11/03 09:50:08] <erthad> Volcane: is there a way to turn on debug mode for hiera running inside puppet? it seems hiera does not see gpg backend when run by puppet though it is present in config
[2011/11/03 09:50:10] <robinbowes> I have created the heira.yaml config, and hieradata containing the yaml files (several envs and common)
[2011/11/03 09:50:11] <jsm> imroot: i think you'll be best to read some documentation to get an in depth analysis on why you should choose a config management system
[2011/11/03 09:50:25] <Volcane> just run your master in debug mode
[2011/11/03 09:50:43] <robinbowes> All works OK if I don't specify @puppet@ as a backend
[2011/11/03 09:50:53] <erthad> thx, I'll try that
[2011/11/03 09:50:55] <robinbowes> Gah, damn mac! "puppet" as a backend
[2011/11/03 09:50:58] <Asako> do I have to do something to add nodes to dashboard?
[2011/11/03 09:51:07] <jsm> pastbin your hiera.conf
[2011/11/03 09:51:13] <robinbowes> k
[2011/11/03 09:51:54] <imroot> I see an issue with having to set up manifests for each and every server.
[2011/11/03 09:51:58] <erthad> Asako: do you use dashboard 1.2.0?
[2011/11/03 09:52:06] <timyim> imroot: you don't have too
[2011/11/03 09:52:07] <jsm> imroot: you don't do it that way
[2011/11/03 09:52:08] <robinbowes> http://pastie.org/2805386
[2011/11/03 09:52:32] @ djmitche left channel #puppet ()
[2011/11/03 09:52:39] <erthad> Asako: I think you have to run delayed_job workers for that as I have seen no pending states in 1.1.0
[2011/11/03 09:52:43] <Asako> erthad, 1.2.2
[2011/11/03 09:52:56] <jsm> robinbowes: actually i'm using :puppet: in mine
[2011/11/03 09:52:58] <Asako> does dashboard need to use the same db as puppet?
[2011/11/03 09:53:03] <erthad> 1.2.X I meant
[2011/11/03 09:53:04] <jsm> robinbowes: what is that supposed to do ?
[2011/11/03 09:53:13] <Asako> I see a hosts table in puppet
[2011/11/03 09:53:18] <robinbowes> jsm: what do you meean?
[2011/11/03 09:53:21] <Asako> nodes table in dashboard is empty
[2011/11/03 09:53:31] <jsm> robinbowes: i'm not using a puppet datasource
[2011/11/03 09:53:37] <robinbowes> Oh
[2011/11/03 09:53:46] <robinbowes> IT works just fine without the pouppet datasource!
[2011/11/03 09:53:54] <imroot> thanks for the insight.
[2011/11/03 09:54:02] <erthad> Asako: I think it should use its own db but I'm not sure
[2011/11/03 09:54:09] <jsm> robinbowes: this is mine: http://pastie.org/2805401
[2011/11/03 09:54:09] <robinbowes> And it works fine with a puppet datasource if the thing being looked up is found in the yaml backend
[2011/11/03 09:54:21] <erthad> Asako: at least I have nodes appear in dashboard when using separate db's
[2011/11/03 09:54:25] <robinbowes> But, if not found in yaml, it calls the puppet backend and barfs
[2011/11/03 09:54:26] <Asako> hmm
[2011/11/03 09:54:33] @ Quit: imroot: Quit: Page closed
[2011/11/03 09:54:44] @ Quit: jbraeuer: Remote host closed the connection
[2011/11/03 09:54:47] @ jbraeuer joined channel #puppet
[2011/11/03 09:54:59] <jsm> robinbowes: i remember Volcane mentioning something tricky about getting that part to work.
[2011/11/03 09:55:15] @ ba6 joined channel #puppet
[2011/11/03 09:55:18] <erthad> Asako: do you run delayed_job workers? I think I've seen in docs that they are needed to process reports from puppet
[2011/11/03 09:55:31] <robinbowes> Volcane: ? Something tricky? Surely shome mishtake... :)
[2011/11/03 09:55:33] <Asako> erthad, don't think so
[2011/11/03 09:55:40] <Asako> I don't remember the docs saying that
[2011/11/03 09:55:52] <_rc> the puppet backend only works from within puppet iirc
[2011/11/03 09:55:53] <robinbowes> jsm: why are you using yaml and json?
[2011/11/03 09:55:56] <jsm> robinbowes: i have all my stuff in yaml atm, trying to avoid using puppet as a backend
[2011/11/03 09:56:07] <jsm> robinbowes: was just playing around.. this is a test server
[2011/11/03 09:56:12] <robinbowes> k
[2011/11/03 09:56:47] <erthad> robinbowes: I can't hook in puppet backend for standalone hiera so I have to keep 2 versions of configs to use both hiera standalone and puppet backend from inside puppet
[2011/11/03 09:57:08] @ jaymurtii joined channel #puppet
[2011/11/03 09:57:22] <erthad> however for now I'm not sure I need puppet backend for hiera
[2011/11/03 09:57:38] <Asako> never mind, I fail to read
[2011/11/03 09:58:03] <jsm> erthad: yeah.. i'm not sure what the puppet backend for hiera is supposed to do
[2011/11/03 09:58:06] @ Quit: duerF: Quit: Leaving
[2011/11/03 09:58:09] <erthad> Asako: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers
[2011/11/03 09:58:44] <erthad> jsm: I think it is supposed to retrieve data from classes like myclass::data or data::common
[2011/11/03 09:59:00] <Asako> erthad, found it, thanks
[2011/11/03 09:59:07] <jsm> erthad: yeah, i'd rather that stuff be in yaml anyhow
[2011/11/03 09:59:08] @ kenperkins joined channel #puppet
[2011/11/03 09:59:08] <Asako> now I need to find a way to puppetize that
[2011/11/03 09:59:41] @ lak joined channel #puppet
[2011/11/03 09:59:42] @ Quit: lak: Changing host
[2011/11/03 09:59:42] @ lak joined channel #puppet
[2011/11/03 10:00:50] <erthad> jsm: sure. defaults kept in classes are be ok for modules distribution but might produce confusion in some distant future when you keep most your stuff in yaml and forget about classes
[2011/11/03 10:01:10] @ mpdude joined channel #puppet
[2011/11/03 10:01:13] @ mcarpent joined channel #puppet
[2011/11/03 10:01:25] <Asako> erthad, can I run delayed_job through cron?
[2011/11/03 10:01:29] @ Quit: mcarpent: Client Quit
[2011/11/03 10:01:41] @ mcarpent joined channel #puppet
[2011/11/03 10:02:12] <jsm> erthad: good point, but i'm sticking to yaml :)
[2011/11/03 10:02:15] <erthad> Asako: no, delayed_job is a background process -- it watches for incoming data and processes it in background
[2011/11/03 10:02:19] <Asako> hmm
[2011/11/03 10:02:33] <erthad> Asako: at least I've seen that in some other rails projects
[2011/11/03 10:02:35] <Asako> I see
[2011/11/03 10:02:42] <Asako> which means I need to make an init script
[2011/11/03 10:02:45] <Asako> sigh
[2011/11/03 10:03:47] <erthad> Asako: it might already be there in the package you've installed
[2011/11/03 10:03:49] <erthad> Asako: https://github.com/puppetlabs/puppet-dashboard/blob/master/ext/packaging/debian/init
[2011/11/03 10:03:54] <Asako> they sure don't make managing dashboard through puppet very easy
[2011/11/03 10:04:02] <Asako> we run gentoo
[2011/11/03 10:04:09] <joe-mac> then nothing is made easy
[2011/11/03 10:04:14] <joe-mac> so you should be used to it ;-)
[2011/11/03 10:04:17] <Asako> lol
[2011/11/03 10:04:28] <Asako> yeah, I had to make my own ebuild
[2011/11/03 10:07:39] @ alanevans joined channel #puppet
[2011/11/03 10:07:53] @ Quit: derjohn_mob: Ping timeout: 245 seconds
[2011/11/03 10:08:27] @ KaiserBeto1 joined channel #puppet
[2011/11/03 10:08:37] @ agwells0714 joined channel #puppet
[2011/11/03 10:09:17] @ alfism joined channel #puppet
[2011/11/03 10:09:28] <robinbowes> Volcane: your example for hiera-json, where does the data::common class go?
[2011/11/03 10:09:39] @ xover1 left channel #puppet ()
[2011/11/03 10:09:49] @ PedroGomes joined channel #puppet
[2011/11/03 10:10:35] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 10:12:00] <Volcane> the only place it can go where the autloader finds it
[2011/11/03 10:12:07] @ Quit: alfism: Client Quit
[2011/11/03 10:12:51] @ Quit: pmorillon: Quit: pmorillon
[2011/11/03 10:12:53] <robinbowes> Damn you and your educational, cryptic responses...
[2011/11/03 10:13:16] @ lindenle joined channel #puppet
[2011/11/03 10:13:28] <PedroGomes> hi, noob question here. Can I have modules in one folder with templates and files, classes under the manifests folder, etc. and outside have a manifest that can import a class from that module? I was trying several import comands, but the error is always the same
[2011/11/03 10:13:40] <robinbowes> So, in the modules dir, meaning different data for each env?
[2011/11/03 10:14:04] <lindenle> So can I import a directory and pickup all pp files in it?
[2011/11/03 10:15:01] <_rc> PedroGomes: yes that should be possible. is it a guessing game as to the error?
[2011/11/03 10:16:06] @ soh joined channel #puppet
[2011/11/03 10:16:38] @ Quit: Ababcus: Ping timeout: 245 seconds
[2011/11/03 10:17:04] <lindenle> Is there a way to ask puppet what it would do with a node from the master side?
[2011/11/03 10:19:15] <PedroGomes> Could not find class cassandra/manifests/cassandra.pp for pedrogomes.lsd.di.uminho.pt at /etc/puppet/manifests/cassandra_local.pp:1 on node pedrogomes.lsd.di.uminho.pt
[2011/11/03 10:19:29] <PedroGomes> the error is always the same
[2011/11/03 10:19:45] <PedroGomes> varies wih tht import stament
[2011/11/03 10:19:49] @ langworthy joined channel #puppet
[2011/11/03 10:19:52] <joe-mac> lindenle: puppet master --compile nodename
[2011/11/03 10:19:59] <_rc> don't import
[2011/11/03 10:20:03] <joe-mac> it will need to already have the ndoe facts for that to work
[2011/11/03 10:20:16] <joe-mac> very useful feature for automated change testing
[2011/11/03 10:20:18] <_rc> make it include cassandra::cassandra
[2011/11/03 10:20:30] <PedroGomes> ok
[2011/11/03 10:20:33] <joe-mac> I use it as part of my git pre-commit
[2011/11/03 10:20:59] <_rc> assuming cassandra/manifests/cassandra.pp is class cassandra::cassandra (which it should be for http://docs.puppetlabs.com/guides/modules.html#module-autoloading)
[2011/11/03 10:21:17] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2011/11/03 10:22:37] <lindenle> <_rc>: using import for my nodes.pp
[2011/11/03 10:23:31] <_rc> lindenle: that's the only use for it
[2011/11/03 10:23:57] <lindenle> <_rc>: yeah but I want all my nodes to be kept in a directory for each cluster
[2011/11/03 10:23:58] @ ranulf joined channel #puppet
[2011/11/03 10:24:00] <PedroGomes> _rc: many thanks
[2011/11/03 10:24:13] @ Quit: hooper: Ping timeout: 240 seconds
[2011/11/03 10:24:41] <PedroGomes> now leets see if it is working as planed
[2011/11/03 10:25:08] <_rc> lindenle: I'm sorry but I don't know what you mean/was really aiming my don't use import at PedroGomes's use case.
[2011/11/03 10:25:21] <lindenle> oh nm then
[2011/11/03 10:25:28] <lindenle> dont cross the streams
[2011/11/03 10:26:25] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/03 10:29:54] <erthad> re: hiera-gpg plugin not working -- the Craig's docs on setup are incomplete and somewhat incorrect --- you have to import secret keyring but not public one, you have to make sure it is readable by user under which your puppetmaster is running and you have to either import it to /var/lib/puppet/.gnupg or set the homedir in hiera config accordingly
[2011/11/03 10:30:08] <robinbowes> Volcane: I'm still getting this traceback: http://pastie.org/2805579
[2011/11/03 10:30:23] @ ranulf left channel #puppet ()
[2011/11/03 10:30:34] @ jedi4ever joined channel #puppet
[2011/11/03 10:31:19] <erthad> robinbowes: this is because puppet stuff is not 'required' in the backend and ruby knows nothing about it. try putting require 'puppet' line at its start and the error will go away
[2011/11/03 10:31:31] <erthad> but you'll receive some other error, more cryptic than this
[2011/11/03 10:32:13] <robinbowes> OK, so am I missing something here?
[2011/11/03 10:32:39] <erthad> after trying to fix the second or third exception I've decided not to use puppet backend for standalone hiera =)
[2011/11/03 10:32:41] <robinbowes> puppet backend will not work from the cli tool, only from the hiera function within puppet ?
[2011/11/03 10:32:50] @ Quit: mpdude: Ping timeout: 260 seconds
[2011/11/03 10:32:51] <erthad> yes
[2011/11/03 10:34:14] <robinbowes> Hrm, so potentially, hiera (cli) could return different results to hiera (puppet function)
[2011/11/03 10:35:26] @ duerF joined channel #puppet
[2011/11/03 10:36:00] <erthad> putting the ticket in puppetlabs' tracker (http://projects.puppetlabs.com/projects/hiera) might solve the issue eventually but I haven't tried that
[2011/11/03 10:36:42] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/03 10:39:06] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2011/11/03 10:40:12] @ ckauhaus joined channel #puppet
[2011/11/03 10:41:21] <erthad> robinbowes: hey, it turned out to be quite easy
[2011/11/03 10:41:31] <robinbowes> You fixed it?
[2011/11/03 10:41:46] <erthad> just add the --yaml=/var/lib/puppet/yaml/node/NODENAME.yaml to hiera commandline
[2011/11/03 10:42:25] <erthad> or not =)
[2011/11/03 10:42:46] <robinbowes> Well, that returns the same json error I got with the json backend
[2011/11/03 10:43:12] <robinbowes> /usr/bin/ruby: symbol lookup error: /usr/lib/ruby/gems/1.8/gems/json-1.6.1/ext/json/ext/json/ext/parser.so: undefined symbol: RSTRING_PTR
[2011/11/03 10:43:21] <robinbowes> That's a bug in ruby, I think
[2011/11/03 10:44:10] @ Quit: jodok: Quit: jodok
[2011/11/03 10:44:12] <robinbowes> I think I may stick with extlookup for now!
[2011/11/03 10:46:59] @ shadoi joined channel #puppet
[2011/11/03 10:47:03] @ DSpair joined channel #puppet
[2011/11/03 10:47:43] @ los324 joined channel #puppet
[2011/11/03 10:48:03] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 10:51:29] @ soh joined channel #puppet
[2011/11/03 10:51:42] @ adimania joined channel #puppet
[2011/11/03 10:52:18] @ Quit: bmahe: Quit: Leaving
[2011/11/03 10:53:06] @ Quit: RoyK: Read error: Connection reset by peer
[2011/11/03 10:53:12] <erthad> robinbowes: no, the json output is a bug in hiera which is already fixed: https://github.com/puppetlabs/hiera/commit/fb88a3b202238c88c31de25b777639df8eefb40d
[2011/11/03 10:53:35] <erthad> but sadly it seems that hiera-cli does not work with that by design: https://github.com/puppetlabs/hiera/blob/master/bin/hiera#L99
[2011/11/03 10:53:48] @ Quit: jbraeuer: Quit: jbraeuer
[2011/11/03 10:54:25] <erthad> the scope loaded from puppet is Puppet::Node but hiera-cli works only with hashes
[2011/11/03 10:54:49] @ RoyK joined channel #puppet
[2011/11/03 10:55:00] @ Quit: tremble: Quit: Leaving
[2011/11/03 10:59:03] @ Quit: dnjaramba_:
[2011/11/03 10:59:29] @ Quit: semiosis: Quit: Time40
[2011/11/03 11:00:59] @ craftytech joined channel #puppet
[2011/11/03 11:02:06] @ semiosis joined channel #puppet
[2011/11/03 11:03:25] @ RoyK^ joined channel #puppet
[2011/11/03 11:03:48] @ Quit: RoyK: Quit: changing server
[2011/11/03 11:04:33] @ RoyK^ is now known as RoyK
[2011/11/03 11:04:45] @ jodok joined channel #puppet
[2011/11/03 11:04:46] @ Quit: jodok: Changing host
[2011/11/03 11:04:46] @ jodok joined channel #puppet
[2011/11/03 11:06:34] @ Quit: tlocalhos: Remote host closed the connection
[2011/11/03 11:07:33] @ Quit: jodok: Client Quit
[2011/11/03 11:07:53] @ tlocalhos joined channel #puppet
[2011/11/03 11:10:09] @ los324 left channel #puppet ()
[2011/11/03 11:11:07] @ peridot joined channel #puppet
[2011/11/03 11:11:41] <peridot> Hello all
[2011/11/03 11:11:54] <peridot> Any idea what these errors mean: Failed to generate additional resources using 'eval_generate': end of file reached
[2011/11/03 11:17:07] <PedroGomes> hi again, in the example for the autoloader it says that "source => "puppet://$servername/modules/autofs/auto.homes"" fetchs the auto.homes file from the files folder, but I was experimenting with a folder and it seems to not be working
[2011/11/03 11:17:34] <craftytech> hello all, how can I iterate through an array in a class? this what I have $solr_inst = [ "master", "slave", "ssaconfig" ] 6 <% solr_inst.each do |s_inst| %>
[2011/11/03 11:17:53] @ Quit: fr3nd: Quit: boo
[2011/11/03 11:18:01] <PedroGomes> i say : "source => "puppet://puppetmaster/modules/cassandra/apache-cassandra-1.0.0", but it fetchs from "puppet://puppetmaster/modules/cassandra/apache-cassandra-1.0.0"
[2011/11/03 11:20:50] @ Quit: adimania: Ping timeout: 276 seconds
[2011/11/03 11:22:59] @ Quit: tilgovi: Remote host closed the connection
[2011/11/03 11:25:35] @ ghanima left channel #puppet ("Leaving.")
[2011/11/03 11:28:14] @ dcsobralWork joined channel #puppet
[2011/11/03 11:28:36] @ st33v joined channel #puppet
[2011/11/03 11:30:32] @ Quit: ezryx: Remote host closed the connection
[2011/11/03 11:31:44] @ Quit: dan__t_: Ping timeout: 260 seconds
[2011/11/03 11:33:10] @ jodok joined channel #puppet
[2011/11/03 11:33:11] @ Quit: jodok: Changing host
[2011/11/03 11:33:11] @ jodok joined channel #puppet
[2011/11/03 11:37:32] @ tilgovi joined channel #puppet
[2011/11/03 11:39:04] @ Quit: carlasouza: Ping timeout: 255 seconds
[2011/11/03 11:39:10] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2011/11/03 11:39:15] <craftytech> is there a way to specify multiple commands in an exec block?
[2011/11/03 11:39:26] <craftytech> command1, command2 etc
[2011/11/03 11:39:29] @ Quit: failure: Remote host closed the connection
[2011/11/03 11:39:30] <haus> use an array?
[2011/11/03 11:40:26] <craftytech> how would you code it? I'm having a hard time iterating through an array in puppet
[2011/11/03 11:40:39] <joe-mac> you need to use the dsl if you truly need proper arrays
[2011/11/03 11:40:47] <craftytech> inline_template perhaps?
[2011/11/03 11:41:06] <joe-mac> if you need to get the output of one quick thjing inline_template() is usually fine
[2011/11/03 11:41:07] <craftytech> dsl is my next thing that I have learn how to use
[2011/11/03 11:41:20] @ Quit: beaknit: Quit: beaknit
[2011/11/03 11:41:31] <joe-mac> I have used it in very, verty specific cases and typically work hard to not use it since I think most people don't know this feature
[2011/11/03 11:41:43] <joe-mac> I try to do that in all languages really, use stuff most people, evben novices can probably understand
[2011/11/03 11:41:57] <haus> craftytech: you should be able to declare the exec resource and name it using an array of commands
[2011/11/03 11:42:08] @ Quit: JodieC: Read error: Operation timed out
[2011/11/03 11:42:44] <craftytech> haus, if you've done this and have code to share, that'd be great
[2011/11/03 11:43:12] <haus> craftytech: i don't have an example handy, but if you look at http://docs.puppetlabs.com/guides/language_guide.html#arrays
[2011/11/03 11:43:19] <haus> the last array example is a file resource
[2011/11/03 11:43:21] <haus> using arrays
[2011/11/03 11:43:40] <haus> but exec should be very similar, as long as the execs all share the same params
[2011/11/03 11:44:00] <Asako> ooh, neat
[2011/11/03 11:44:26] <Asako> I could clean up some of my manifests that way
[2011/11/03 11:44:26] @ carlasouza joined channel #puppet
[2011/11/03 11:44:42] <haus> but i can do a quick pastie if that isn't clear enough
[2011/11/03 11:46:13] <craftytech> this is what I have http://pastie.org/2805798
[2011/11/03 11:46:53] @ Quit: peridot: Quit: ~ Trillian Astra - www.trillian.im ~
[2011/11/03 11:47:07] <haus> typo in $bsae_dir, line 18
[2011/11/03 11:47:29] @ Ryan_Lane joined channel #puppet
[2011/11/03 11:48:23] <Ryan_Lane> I'm trying to make autofs restart whenever a file is updated, but notify seems to cause a refresh, not a restart of the service. is there any way to force the use of restart?
[2011/11/03 11:48:31] @ Quit: wallblom_: Read error: Operation timed out
[2011/11/03 11:49:28] @ p3rror joined channel #puppet
[2011/11/03 11:50:06] @ Quit: Chesther: Quit: Leaving.
[2011/11/03 11:51:38] <craftytech> thanks, but it didn't work anyway
[2011/11/03 11:51:40] <craftytech> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not match % at /etc/puppet/modules/wcm_solr/manifests/init.pp:6
[2011/11/03 11:51:57] <craftytech> it cannot resolv <% solr_inst.each do |s_inst| %>
[2011/11/03 11:58:09] @ JodieC joined channel #puppet
[2011/11/03 12:00:29] <xeor> Is there anyway I can use a yaml file (or any config type), found on a puppet client as a temporary input for a puppetclass? I am trying to create a puppet class for multipath, which will automaticly create multipath.conf files. But it need to use the output of a command on the client to be able to generate the file
[2011/11/03 12:01:08] <xeor> Is the best solution to use factor for such a thing? factor doesnt support lists/array as I know of.. So there is not really a good way to do a loop for all multipath devices
[2011/11/03 12:02:49] <agaffney> I just separate multiple values with commas with facter
[2011/11/03 12:03:47] <xeor> hmm, yea, that is one idea which might work
[2011/11/03 12:04:20] <Ryan_Lane> anyone know how to make a service force a restart rather than a reload?
[2011/11/03 12:04:28] <xeor> So, thats the way to go if you want to use output from a command inside your puppet template..?
[2011/11/03 12:04:48] <agaffney> Ryan_Lane: by default, a notify on a service will do a stop/start. if you set has_restart => true, it will do a restart
[2011/11/03 12:04:48] <asteve> if $world_oyster == ismy { exit 0 }
[2011/11/03 12:04:57] <agaffney> however, the restart command on the init script may not actually do a restart
[2011/11/03 12:05:05] <Ryan_Lane> autofs does...
[2011/11/03 12:05:22] <Ryan_Lane> puppet says its doing a "refresh", and it definitely is not doing stop/start
[2011/11/03 12:05:29] <agaffney> uhh
[2011/11/03 12:05:34] <agaffney> it always says "refresh"
[2011/11/03 12:05:41] <agaffney> no matter what it's doing under the hood
[2011/11/03 12:05:46] <xeor> provider => 'restart' ?
[2011/11/03 12:05:56] <Ryan_Lane> well, I'm notifying on a change, and it isn't actually restarting the process
[2011/11/03 12:06:09] <agaffney> Ryan_Lane: run the agent with --debug to see what command it's actually running
[2011/11/03 12:06:45] <Ryan_Lane> ah. good idea
[2011/11/03 12:07:36] <Ryan_Lane> bah
[2011/11/03 12:07:47] <Ryan_Lane> it can't tell the service is stopped
[2011/11/03 12:07:58] <Ryan_Lane> Service[autofs]: Skipping restart; service is not running
[2011/11/03 12:07:59] @ claussen joined channel #puppet
[2011/11/03 12:08:38] <Ryan_Lane> autofs status doesn't work.
[2011/11/03 12:09:00] <gniks> autofs is a horrible invention
[2011/11/03 12:09:16] <Ryan_Lane> is there a way to make it force the stop/start, even when it doesn't think the service is not running?
[2011/11/03 12:09:25] <Ryan_Lane> s/not//
[2011/11/03 12:09:53] @ devdas joined channel #puppet
[2011/11/03 12:10:21] <agaffney> Ryan_Lane: use something like 'pattern => "auto_fs"' on the service, so it can look at the running processes
[2011/11/03 12:10:33] <agaffney> the pattern needs to match the name of the process that's running
[2011/11/03 12:11:18] <Ryan_Lane> ah
[2011/11/03 12:11:23] <Ryan_Lane> automount is the name of the process
[2011/11/03 12:11:33] <Ryan_Lane> so, pattern => "automount" ?
[2011/11/03 12:11:56] <Ryan_Lane> gniks: autofs is awesome, if you know how to properly use it ;)
[2011/11/03 12:12:09] @ sduchesneau joined channel #puppet
[2011/11/03 12:12:12] <gniks> lol, i can properly use it, i still don't like it :p
[2011/11/03 12:12:16] <kjetilho> autofs + systemd = awesomeness
[2011/11/03 12:12:42] <Ryan_Lane> autofs + ldap + autofs variables = awesome
[2011/11/03 12:12:55] <Ryan_Lane> http://ryandlane.com/blog/2011/11/01/sharing-home-directories-to-instances-within-a-project-using-puppet-ldap-autofs-and-nova/
[2011/11/03 12:14:42] <agaffney> Ryan_Lane: yes, that pattern should work
[2011/11/03 12:14:48] <Ryan_Lane> cool
[2011/11/03 12:15:12] * Ryan_Lane tries it
[2011/11/03 12:15:53] @ nlew_ joined channel #puppet
[2011/11/03 12:16:09] @ Chesther joined channel #puppet
[2011/11/03 12:17:07] <Ryan_Lane> awesome. it's working. thanks guys
[2011/11/03 12:21:29] @ ken_barber joined channel #puppet
[2011/11/03 12:21:44] @ labrown joined channel #puppet
[2011/11/03 12:21:51] <PedroGomes> cant i have folders inside my files folder? how do i refer to moduleX/conf/init.conf? "puppet://puppetmaster/modules/moduleX/conf/conf.init" doesn't seem to work
[2011/11/03 12:23:24] @ Quit: bosszaru: Read error: Connection reset by peer
[2011/11/03 12:23:52] <agaffney> PedroGomes: your on-disk path should be moduleX/files/conf/init.conf
[2011/11/03 12:26:19] @ Quit: booi: Ping timeout: 255 seconds
[2011/11/03 12:27:05] @ lokke joined channel #puppet
[2011/11/03 12:27:21] <PedroGomes> agaffney: true... the folder organization was diferent from what I tought
[2011/11/03 12:28:00] @ Quit: Ryan_Lane: Read error: Connection reset by peer
[2011/11/03 12:28:05] @ Ryan_Lane joined channel #puppet
[2011/11/03 12:28:23] @ cyflea joined channel #puppet
[2011/11/03 12:29:01] @ Quit: lindenle: Ping timeout: 255 seconds
[2011/11/03 12:29:02] @ raizdepi joined channel #puppet
[2011/11/03 12:29:16] <lokke> is this the proper channel to ask about mcollective errors?
[2011/11/03 12:29:27] @ booi joined channel #puppet
[2011/11/03 12:30:13] <PedroGomes> related to that, how do i refer to a folder to copy it? puppet://puppetmaster/modules/moduleX/folder is not working
[2011/11/03 12:30:30] @ Quit: rew: Quit: Leaving.
[2011/11/03 12:30:58] <agaffney> lokke: nope, that would be #mcollective
[2011/11/03 12:31:07] <lokke> ah, thanks
[2011/11/03 12:31:27] @ lokke left channel #puppet ()
[2011/11/03 12:32:10] <raizdepi> Someone know if I notice a define like 'define def {service "ntpd": ensure=running}' the service will reestart??
[2011/11/03 12:32:34] <PedroGomes> nm, solved... same mistake
[2011/11/03 12:33:35] <raizdepi> Or if the same define subscribe something the service will reestart??
[2011/11/03 12:33:47] @ rhysmorgan1 joined channel #puppet
[2011/11/03 12:34:39] @ lwhalen joined channel #puppet
[2011/11/03 12:34:45] <gniks> you subscribe a service normally to a config file, when that file changes, the daemon restarts
[2011/11/03 12:34:57] <gniks> ensure => running just makes sure that the service is always running
[2011/11/03 12:35:09] @ Quit: rhysmorgan1: Client Quit
[2011/11/03 12:36:08] <Sargun_Screen> raizdepi: Russel?
[2011/11/03 12:37:32] @ Quit: claussen: Quit: claussen
[2011/11/03 12:37:41] <raizdepi> I know, I use subscribe like this, but I want to create a define for the service and its dependencies
[2011/11/03 12:38:29] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 12:38:42] <gniks> nothing changes in the define
[2011/11/03 12:38:43] <raizdepi> and than use this define, but in some cases I have extra files and I need to reestart the httpd if this files are changed
[2011/11/03 12:39:12] @ jedi4ever joined channel #puppet
[2011/11/03 12:39:41] <gniks> set teh defaults in the define, or use a paramaterized class, and +> other deps onto the subscribe, or you can use notify => Service[ "ntpd" ] to have the deps notify the service when it changes
[2011/11/03 12:40:10] <gniks> personally im a fan of class overriding as well
[2011/11/03 12:40:15] <gniks> but others are not due to its complexity
[2011/11/03 12:41:24] @ Quit: joshcooper: Quit: joshcooper
[2011/11/03 12:42:21] <raizdepi> gniks, thanks this helped alot
[2011/11/03 12:42:25] @ soh joined channel #puppet
[2011/11/03 12:42:38] <gniks> no prob
[2011/11/03 12:42:42] @ hooper joined channel #puppet
[2011/11/03 12:42:43] <raizdepi> I'll try
[2011/11/03 12:43:09] @ skm joined channel #puppet
[2011/11/03 12:44:46] <jorhett> puppetlabs appears to be missing the point. Anyone on here know how to affect the logic chosen for runtime? It appears that far too many systems evaluate runinterval and splay and come it with the exact same times.
[2011/11/03 12:45:09] <jorhett> "come it with" == "come up with"
[2011/11/03 12:45:22] <gniks> require and before tend to be the best way
[2011/11/03 12:45:24] <agaffney> with a large number of systems and a small splaylimit, you're going to have lots of concurrent runs
[2011/11/03 12:45:38] <gniks> and a lot of load on the master
[2011/11/03 12:45:59] <jorhett> if I have 500 systems checking in every hour, I shouldn't have more than 100 in the exact same minute
[2011/11/03 12:46:22] <agaffney> that is still quite a lot
[2011/11/03 12:46:27] <gniks> splaylimit should be set in /etc/puppet.conf as max seconds to randomly wait
[2011/11/03 12:46:40] @ miche joined channel #puppet
[2011/11/03 12:46:56] <jorhett> but splay is consistent across runs, and it seems they have all picked runtimes + splaytimes that intersect
[2011/11/03 12:47:04] @ raizdepi left channel #puppet ()
[2011/11/03 12:47:16] <jorhett> and splaytime is incompatible with puppet kick.
[2011/11/03 12:47:27] <gniks> interesting
[2011/11/03 12:47:28] <gniks> what version?
[2011/11/03 12:47:43] <jorhett> #1100
[2011/11/03 12:47:43] <gepetto> jorhett: #1100 is http://projects.puppetlabs.com/issues/show/1100 "Puppet - Feature #1100: client should not sleep for $splay_time when triggered by puppetrun. It has a status of Tests Insufficient and is assigned to -"
[2011/11/03 12:49:19] @ ezmobius joined channel #puppet
[2011/11/03 12:49:33] @ Quit: miche: Client Quit
[2011/11/03 12:49:42] @ paxos joined channel #puppet
[2011/11/03 12:49:48] @ Quit: craftytech: Ping timeout: 265 seconds
[2011/11/03 12:50:08] @ Quit: abetterlie: Ping timeout: 248 seconds
[2011/11/03 12:50:10] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/03 12:51:04] @ ghanima joined channel #puppet
[2011/11/03 12:51:10] @ jongrocho joined channel #puppet
[2011/11/03 12:51:29] @ Quit: ba6: Read error: No route to host
[2011/11/03 12:51:30] @ bag__ joined channel #puppet
[2011/11/03 12:51:47] <aranc23> jorhett: my solution was to modify the puppet code to always splay, even if it's done so before
[2011/11/03 12:51:47] @ abetterlie joined channel #puppet
[2011/11/03 12:52:15] <aranc23> jorhett: puppet kick is still broken, but in my opinion it was already broken
[2011/11/03 12:53:44] <aranc23> jorhett: maybe it isn't feasible to build your puppets but it's a one line change in lib/puppet/agent.rb
[2011/11/03 12:53:57] <aranc23> jorhett: specifically the splayed? function
[2011/11/03 13:01:13] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/03 13:01:17] @ Quit: jedi4ever: Ping timeout: 240 seconds
[2011/11/03 13:01:48] @ tizzo is now known as tizzo-afk
[2011/11/03 13:02:54] @ Quit: brtl: Quit: Leaving.
[2011/11/03 13:03:24] @ claussen joined channel #puppet
[2011/11/03 13:03:53] @ skm joined channel #puppet
[2011/11/03 13:04:20] @ Quit: nlew_: Quit: Lost terminal
[2011/11/03 13:04:48] <jorhett> aranc23: not sure I understand what you mean. always splay even if splayed before?
[2011/11/03 13:05:48] @ Quit: skm: Client Quit
[2011/11/03 13:05:51] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 13:05:53] @ Quit: agwells0714: Quit: Leaving.
[2011/11/03 13:06:01] @ tizzo-afk is now known as tizzo
[2011/11/03 13:06:38] @ Quit: ndietsch_: Quit: Lost terminal
[2011/11/03 13:07:57] @ joe-mac1 joined channel #puppet
[2011/11/03 13:08:23] @ soh joined channel #puppet
[2011/11/03 13:13:41] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2011/11/03 13:16:08] <bag__> anyone in here have recommendations for a good web app deployment tool that i can manage with puppet?
[2011/11/03 13:16:14] <bag__> capistrano etc
[2011/11/03 13:16:37] <paravoid> puppi?
[2011/11/03 13:16:40] <asteve> manage with puppet? capistrano?
[2011/11/03 13:16:50] @ Quit: PedroGomes: Quit: PedroGomes
[2011/11/03 13:17:41] @ rdegges left channel #puppet ()
[2011/11/03 13:17:43] <bag__> looking to config/initialize a user friendly tool i can hand off to web developers here, for them to deploy their code
[2011/11/03 13:18:23] @ mawser joined channel #puppet
[2011/11/03 13:19:05] @ bosszaru joined channel #puppet
[2011/11/03 13:19:31] @ Quit: Wolfspyre: Quit: Leaving.
[2011/11/03 13:19:52] <jbaldridge> I went the route of packaging the webapps into debs
[2011/11/03 13:20:03] <jbaldridge> and use puppet/mcollective to deploy/upgrade the debs
[2011/11/03 13:20:21] <mawser> I'm having an issue where I'm using two environments (dev and production) If I try to apply the production environment to the host it finds all classes, but if I try to apply the dev environment to the host it misses some classes, even tho that class is in a shared did and both environments are pointed to that common dir. Any thoughts?
[2011/11/03 13:27:22] @ Quit: bosszaru: Quit: Leaving.
[2011/11/03 13:27:23] @ rew joined channel #puppet
[2011/11/03 13:29:35] <MattTheRat> can anyone figure out why I have to give the parameter 'project' in this example?
[2011/11/03 13:29:36] <MattTheRat> http://pastie.org/2806415
[2011/11/03 13:31:29] <MattTheRat> if I don't give it, the $artifact variable is null
[2011/11/03 13:32:05] <MattTheRat> is there a weird variable dependency thing that I previously missed?
[2011/11/03 13:32:14] @ bosszaru joined channel #puppet
[2011/11/03 13:33:40] <torrancew> MattTheRat: the $project=$name trick doesn't work very well or consistently
[2011/11/03 13:34:17] @ peridot joined channel #puppet
[2011/11/03 13:34:28] <torrancew> in a handful of cases you can reference a resource's namevar to set its other parameters, but it hasn't worked for me with parameters for parameterized classes
[2011/11/03 13:34:29] <mawser> I'm pretty sure I have my environments set up correctly in my puppet.conf, but when I point to the newer env, I get an eval error, anyone available to point me to where I might have an incorrect setting? "Could not evaluate: Could not retrieve information from environment dev source(s) puppet://puppet/plugins"
[2011/11/03 13:35:14] <peridot> Would you suggest passenger for production or is there something else?
[2011/11/03 13:35:17] @ Quit: tizzo: Ping timeout: 240 seconds
[2011/11/03 13:35:24] @ Quit: Chesther: Quit: Leaving.
[2011/11/03 13:35:26] <huismon> hey
[2011/11/03 13:35:31] <huismon> can erb do nested loops?
[2011/11/03 13:36:33] <eric0> peridot: aye, passenger
[2011/11/03 13:36:41] <gepetto> ::redmine:: Wiki edit: Release_Notes (#142) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=142 (by Nick Fagerlund)
[2011/11/03 13:37:18] @ huismon is now known as nate_h
[2011/11/03 13:37:20] <torrancew> peridot: there are many - passenger is good, we use mongrel coupled with apache at work, and at home I use unicorn with an nginx frontent
[2011/11/03 13:37:30] <nate_h> hey whos coming to the seattle puppet meetup at browers?
[2011/11/03 13:37:34] @ jbraeuer joined channel #puppet
[2011/11/03 13:37:44] <peridot> Would you suggest one that goes well with rhel? I'm having a hell of a time with rpms and passenger.
[2011/11/03 13:37:58] <jamesturnbull> nate_h: it can do nested loops
[2011/11/03 13:38:20] <jamesturnbull> nate_h: Garrett H is coming from our lot - when it is again?
[2011/11/03 13:38:25] @ fredden joined channel #puppet
[2011/11/03 13:38:58] <jabba> hi, I have a .pp file containing about 1200 virtual users and accompanying ssh keys.. when I include this manifest on a node and realize one user, it makes my puppetmaster fall over from too much load
[2011/11/03 13:39:03] <jabba> what am I doing wrong?
[2011/11/03 13:39:25] <MattTheRat> torrancew: thanks. I'll look into using something more stable
[2011/11/03 13:39:27] <jabba> is it because the file is 22000 lines long and it can't handle reading in that much data at a time for each clietn?
[2011/11/03 13:39:35] <jabba> or can it just not handle that many virtual users?
[2011/11/03 13:39:44] <nate_h> nov 8th it hink
[2011/11/03 13:39:49] <nate_h> great location ;)
[2011/11/03 13:40:12] <nate_h> jamesturnbull, ya i have a syntax error somewhere, i'll have to pastie it
[2011/11/03 13:40:13] @ geekbri joined channel #puppet
[2011/11/03 13:41:03] @ jaytaph joined channel #puppet
[2011/11/03 13:42:12] <jabba> anybody deal with that many virtual resources before?
[2011/11/03 13:43:09] <peridot> jabba: You may be having the same problem I'm having. Are you using webrick? I'm trying to install a more efficient server.
[2011/11/03 13:43:45] <jabba> peridot: no, I'm using passenger
[2011/11/03 13:44:04] <jabba> webrick didn't seem to scale past more than a few clients
[2011/11/03 13:44:11] <jabba> I have about 400 clients
[2011/11/03 13:44:38] <jabba> mongrel worked fine for me until version 2.7.x at which point I couldn't get it to work and had to switch to passenger
[2011/11/03 13:45:07] @ bmahe joined channel #puppet
[2011/11/03 13:45:08] @ Quit: bmahe: Changing host
[2011/11/03 13:45:08] @ bmahe joined channel #puppet
[2011/11/03 13:45:51] <jabba> but passenger was a huge pita to set up because I couldn't find working RPMs for it so I think I just set it up from the gem
[2011/11/03 13:46:00] @ Quit: mawser: Quit: mawser
[2011/11/03 13:46:06] <jabba> which is lame because it was a manual install, instead of an automated one using puppet
[2011/11/03 13:46:16] <jabba> peridot: how many clients do you have?
[2011/11/03 13:46:57] <peridot> I'm only in the setup phase with our staging environments with a dozen or so servers. Some of them have some really big files that need transferring, though.
[2011/11/03 13:47:10] <jabba> ah
[2011/11/03 13:47:21] <peridot> Trying to setup passenger to see if that will help.
[2011/11/03 13:47:28] <peridot> but...yeah, having rpm hell :P
[2011/11/03 13:47:29] <jabba> I think you'll be best off using mongrel (if you can get it to work), it was the easiest to set up
[2011/11/03 13:47:59] <jabba> I filed an issue with puppetlabs when it stopped working in version 2.7.x, but they couldn't reproduce
[2011/11/03 13:48:01] <peridot> We'll have at least 200 servers once it's going, and we're growing pretty fast.
[2011/11/03 13:48:14] <the_ramink> jabba: Phusion passenger provides a repo for their own rpms
[2011/11/03 13:48:16] <jabba> so I imagine mongrel is still a working and supported method and it's just me that was having issues
[2011/11/03 13:48:54] <jabba> the_ramink: does the passenger rpm install the apache module, or does it just install the script that needs to be run in order to compile the apache module?
[2011/11/03 13:48:59] <jabba> like the gem does
[2011/11/03 13:49:17] <jabba> or do you run passenger behind nginx or something else?
[2011/11/03 13:50:58] <kjetilho> peridot: I would look into using the vcsrepo module for deploying directories of large files (pass the work onto Git)
[2011/11/03 13:51:28] @ hostdream joined channel #puppet
[2011/11/03 13:51:44] <peridot> kjetilho: thanks, will look into that
[2011/11/03 13:51:51] <jorhett> jabba: if you're using centos, there's just 4 rpms you need. I keep meaning to update the wiki with this information
[2011/11/03 13:52:04] <the_ramink> jabba: you can install mod_passenger, passenger-standalone, or nginx-passenger http://passenger.stealthymonkeys.com/rhel/5/x86_64/
[2011/11/03 13:52:25] <hostdream> hello, I've migrated puppet master from a server to a new one. Now, of course, I'm not able to query server from client because certificates are not good anymore, what is the best to do, generate new cert for clients or migrate ca ? what's easier (I've only few clients)
[2011/11/03 13:52:41] <jabba> so, the issue I'm having isn't serving large files, but rather that I have a manifest that is 22000 lines long, containing 1200 virtual users and their ssh keys. when I include this in my nodes and realize a single user from that manifest, the puppetmaster falls over dealing with the load
[2011/11/03 13:52:50] <jorhett> hostdream: move the entire /var/lib/puppet/ssl directory to the new host
[2011/11/03 13:53:03] <jabba> the_ramink: jorhett thanks, I'll try those
[2011/11/03 13:53:04] <jorhett> jabba: you need more memory
[2011/11/03 13:53:17] <hostdream> jorhett : even if the server's hostname changed ?
[2011/11/03 13:53:18] <kjetilho> jabba: you need an LDAP server :-p
[2011/11/03 13:53:26] <jabba> heh. I *have* an ldap server
[2011/11/03 13:53:31] <jabba> that's where all the users came from
[2011/11/03 13:53:35] <jorhett> hostdream: it wasn't an alias to start with? bad boy.
[2011/11/03 13:54:01] <hostdream> jorhett : hmmm in fact, yes I've used an alias but probably misconfigured ;)
[2011/11/03 13:54:05] <jabba> but for various reasons I don't want to have the hosts authenticate directly to ldap
[2011/11/03 13:54:16] <jorhett> fyi, it seems confirmed that EL5 latest kernel 2.6.18-274.7.1.el5 is causing hell with puppetdlock drama
[2011/11/03 13:54:26] <jabba> instead I have a script that pulls all my users from ldap and their keys and makes a large ldap_users.pp file
[2011/11/03 13:54:48] @ dan__t_ joined channel #puppet
[2011/11/03 13:54:56] <jabba> jorhett: what are the memory guidelines? I've been fine on this host for a long time until just adding this one manifest
[2011/11/03 13:55:06] <jabba> are virtual resources particular memory hogs?
[2011/11/03 13:55:44] <jorhett> it compiles the entire catalog in memory. Look at the size of the ruby process during catalog compilation.
[2011/11/03 13:56:09] <jabba> it does this for each client right?
[2011/11/03 13:56:29] <jabba> because I've been using this method for a while on just a few clients, but when adding to all clients, it fell over
[2011/11/03 13:57:19] <jabba> I'm trying to get a good idea of what kind of hardware I need to support ~800 puppet clients checking in once per half hour
[2011/11/03 13:57:55] <jabba> also, it could be that since my masters are on rhel5, that I have some version of ruby with a memory leak problem to begin with
[2011/11/03 13:58:12] <jabba> seems I heard that was a known issue. can anyone confirm that?
[2011/11/03 13:58:12] @ Quit: Asako: Quit: Client exiting
[2011/11/03 13:58:28] <jabba> ]# ruby --version
[2011/11/03 13:58:29] <jabba> ruby 1.8.5 (2006-08-25) [i386-linux]
[2011/11/03 13:58:44] @ Quit: bosszaru: Quit: Leaving.
[2011/11/03 14:00:48] @ Quit: dwalu: Quit: dwalu
[2011/11/03 14:01:50] @ Quit: pablo_: Quit: Page closed
[2011/11/03 14:02:11] @ Quit: cruzfox: Quit: cruzfox
[2011/11/03 14:05:32] <gepetto> ::redmine:: Wiki edit: Release_Notes (#143) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=143 (by Nick Fagerlund)
[2011/11/03 14:05:38] <hostdream> jorhett : did you ever see this error ? Could not autoload active_record: uninitialized constant ActiveRecord
[2011/11/03 14:06:11] @ Ryan_Lane left channel #puppet ()
[2011/11/03 14:06:40] @ Quit: uphillian: Quit: Leaving.
[2011/11/03 14:07:25] @ imroot joined channel #puppet
[2011/11/03 14:08:07] @ Quit: key: Remote host closed the connection
[2011/11/03 14:08:23] @ bosszaru joined channel #puppet
[2011/11/03 14:08:49] <imroot> hello, I'm doing an eval on puppet. I'm able to do the basics on one server. I need to know how to set up other machines to talk to the master. I cant find this in the docs.
[2011/11/03 14:09:18] <lak> jorhett: i've seen that error, but mostly in dev. are you using storeconfigs? if so, you need rails
[2011/11/03 14:10:02] <lak> imroot: you install puppet on the other machines, set the servername to your server in puppet.conf, and then run puppetd or 'puppet agent'
[2011/11/03 14:10:08] @ Quit: claussen: Quit: claussen
[2011/11/03 14:10:31] @ Quit: caviwipes: Quit: Computer has gone to sleep.
[2011/11/03 14:10:42] <peridot> then you have to sign the client's certs on the server if you don't have it setup to autosign them
[2011/11/03 14:10:57] <imroot> So I install the same pkg on the agent nodes as the master?
[2011/11/03 14:11:02] <optiz0r> is there some magic required to make puppet notice that served files/templates have changed? Not seeing updates on client. Tried touching/modifying the site/node files to no avail
[2011/11/03 14:11:37] <lak> imroot: some platforms separate the server into a separate package, but yeah, it's probably the same package
[2011/11/03 14:11:52] <jabba> optiz0r: I've had that problem using mongrel.. fix was to restart the webserver. haven't had it on passenger
[2011/11/03 14:12:03] <imroot> I'm running rhel6
[2011/11/03 14:12:08] <imroot> ok thanks.
[2011/11/03 14:12:24] @ Quit: imroot: Quit: Page closed
[2011/11/03 14:12:35] <optiz0r> jabba: I've restarted puppetmaster too, that didn't help
[2011/11/03 14:12:47] @ miche joined channel #puppet
[2011/11/03 14:12:50] @ PedroGomes joined channel #puppet
[2011/11/03 14:13:37] <jabba> hmm, then I'm not sure. I guess I'd verify that the client has the correct classes in /var/lib/puppet/classes.txt and read throught those manifests to verify it is doing the right thing
[2011/11/03 14:14:40] <optiz0r> ok, cheers, I'll have a dig
[2011/11/03 14:15:30] @ Quit: jaytaph: Quit: jaytaph
[2011/11/03 14:16:13] @ Quit: st33v: Quit: st33v
[2011/11/03 14:17:27] <hostdream> I've upgraded puppet and now I've the error err: Could not retrieve catalog from remote server: wrong header line format on client. How can I know which template causing this erro r?
[2011/11/03 14:17:32] @ Quit: ken_barber: Quit: Leaving.
[2011/11/03 14:18:36] @ cruzfox joined channel #puppet
[2011/11/03 14:19:28] <the_ramink> hostdream: that sound more like your client is a later version than the master.
[2011/11/03 14:20:05] @ diq joined channel #puppet
[2011/11/03 14:20:28] <hostdream> let me check
[2011/11/03 14:21:48] <hostdream> no the_ramink on client I've puppet-2.6.12-1.el5 and the master is puppet-server-2.7.5-1.el6.rf.noarch
[2011/11/03 14:23:02] <eric0> hostdream: on the server you have both puppet-2.7.5 and puppet-server-2.7.5 rpms right?
[2011/11/03 14:23:10] <hostdream> yes eric0
[2011/11/03 14:23:18] @ Quit: bretm: Quit: Leaving
[2011/11/03 14:24:25] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2011/11/03 14:26:02] @ kwazar- joined channel #puppet
[2011/11/03 14:27:52] <hostdream> even on server itself I've the same error
[2011/11/03 14:28:37] @ caviwipes joined channel #puppet
[2011/11/03 14:29:54] <hajile> anyone available to answer a quick cucumber-puppet question?
[2011/11/03 14:31:05] <the_ramink> hostdream: that still sounds like it's not getting past posting from the client. Anything interesting the master's logs?
[2011/11/03 14:31:42] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/11/03 14:32:09] @ Quit: labrown: Quit: Leaving
[2011/11/03 14:32:38] <eric0> hostdream: i dont see that error in the puppet code at all, weird.
[2011/11/03 14:33:19] <hostdream> err: Could not retrieve catalog from remote server: wrong header line format
[2011/11/03 14:33:24] @ BManojlovic joined channel #puppet
[2011/11/03 14:33:25] @ Quit: BManojlovic: Changing host
[2011/11/03 14:33:25] @ BManojlovic joined channel #puppet
[2011/11/03 14:33:25] <hostdream> the_ramink : no, nothing in master log :-/
[2011/11/03 14:33:45] @ ken_barber joined channel #puppet
[2011/11/03 14:34:01] <hostdream> ok my bad
[2011/11/03 14:34:04] <hostdream> I think I've found
[2011/11/03 14:34:06] <hostdream> it was in messages ;)
[2011/11/03 14:34:17] <hajile> the issue i've seen now is that when you use the default checks to see that all resources resolve, even if you specify an invalid source for a file, it won't complain about it.. dependencies will error out on the other hand. Do the source => lines have to be verified by more granular tests at the module level?
[2011/11/03 14:34:17] <hostdream> Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` (Could not find RubyGem mysql (~> 2.8.1)#012)
[2011/11/03 14:34:18] <gepetto> hostdream: #012 is http://projects.puppetlabs.com/issues/show/012 "Puppet - Feature #12: Support processes in addition to services. It has a status of Closed and is assigned to Luke Kanies"
[2011/11/03 14:34:43] <hostdream> it's a new server I've just installed... I forgot this...
[2011/11/03 14:34:46] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/03 14:35:14] <jorhett> you can make puppet handle processes well by provided status and restart scripts for it ;-)
[2011/11/03 14:35:46] <hostdream> hmmm ERROR: Could not find a valid gem 'activerecord-mysql-adapter' (>= 0) in any repository
[2011/11/03 14:35:57] <hostdream> do you have an idea what is the package name for centos ?
[2011/11/03 14:36:10] @ Holocaine joined channel #puppet
[2011/11/03 14:36:10] <hostdream> jorhett : any tips are welcome :)
[2011/11/03 14:36:23] @ tizzo-afk joined channel #puppet
[2011/11/03 14:36:40] @ jaytaph joined channel #puppet
[2011/11/03 14:37:22] @ rsnhyperion_ joined channel #puppet
[2011/11/03 14:37:31] @ Quit: rsnhyperion_: Client Quit
[2011/11/03 14:38:09] @ Wolfspyre joined channel #puppet
[2011/11/03 14:39:42] @ newtMcKerr joined channel #puppet
[2011/11/03 14:39:49] <the_ramink> hostdream: nah, you need just the mysql gem. gem install mysql or package install it if rubygems-mysql exists for your distro
[2011/11/03 14:40:28] <jorhett> if you like rpms, there are rpms for all of this stuff in epel. This is what I prefer, rather than maintaining gems stuff
[2011/11/03 14:41:00] @ scsinutz joined channel #puppet
[2011/11/03 14:41:06] @ tizzo-afk is now known as tizzo
[2011/11/03 14:41:24] @ Ashutto joined channel #puppet
[2011/11/03 14:41:27] @ Quit: rsnhyperion: Ping timeout: 244 seconds
[2011/11/03 14:41:48] <hostdream> ok thanks I will check that
[2011/11/03 14:42:21] @ Quit: scsinutz: Remote host closed the connection
[2011/11/03 14:42:44] <ldlework> did you guys know there is a Python Puppet?
[2011/11/03 14:42:59] <peridot> is it stable?
[2011/11/03 14:43:14] @ Quit: jaytaph: Quit: jaytaph
[2011/11/03 14:43:32] <ldlework> http://heynemann.github.com/provy/
[2011/11/03 14:43:35] <hostdream> jorhett : do you know the package name ? because I can't find it with yum search (activerecord)
[2011/11/03 14:46:43] @ Quit: blentz: Ping timeout: 255 seconds
[2011/11/03 14:48:22] <eric0> wow >10K bugs in puppet redmine now
[2011/11/03 14:50:40] @ c00p joined channel #puppet
[2011/11/03 14:51:19] <clustermagnet> guys… the exec function… ie…. ldconfig :)
[2011/11/03 14:51:34] <clustermagnet> i have a requirement to place a blah.conf in /etc/ld.so.conf.d/
[2011/11/03 14:51:41] <clustermagnet> after doing so, i would like to run ldconfig :)
[2011/11/03 14:51:46] <clustermagnet> oh, after package installation
[2011/11/03 14:52:07] <clustermagnet> so would i do this by notify=> or something else?
[2011/11/03 14:52:09] @ Quit: gniks: Quit: Leaving.
[2011/11/03 14:52:18] <kinsel> c00p: :D
[2011/11/03 14:53:04] <clustermagnet> kinsel: sorry?
[2011/11/03 14:54:05] <c00p> kinsel: hi mate ;)
[2011/11/03 14:54:17] <c00p> hurry up and get your puppet deployed ...
[2011/11/03 14:54:19] <the_ramink> clustermagnet: yes. I'd make an Exec { 'ldconfig': refreshonly => true, } and then notify it as needed. Keep in mind that it'll only trigger once which might be a problem if you're adding lots of things and want it to update conitinously during a run.
[2011/11/03 14:54:26] <jorhett> yum install rubygems rubygem-rack rubygem-mysql passenger rubygem-rake
[2011/11/03 14:54:29] <jorhett> I think that's it.
[2011/11/03 14:54:46] <clustermagnet> the_ramink: thnks!
[2011/11/03 14:54:51] @ nul0op joined channel #puppet
[2011/11/03 14:54:58] <jorhett> the_ramink: just name all the ldconfigs something different and you can do it multiple times :)
[2011/11/03 14:55:02] <jorhett> stupid, yea
[2011/11/03 14:55:23] <rew> hey all, anyone know offhand the difference between full vs thin storeconfigs? (or point me to the right place to look, couldnt find much online)
[2011/11/03 14:55:48] <Volcane> full puts all resources in the database - even if they're not been exported specifically
[2011/11/03 14:55:52] <Volcane> thin just the exported ones
[2011/11/03 14:56:12] <the_ramink> jorhett: sure and I could have also pointed out that you only need to do this if you're building from source and why not build pakcages instead... :)
[2011/11/03 14:56:13] @ mosen joined channel #puppet
[2011/11/03 14:56:23] <rew> Volcane: ah ok, thanks!
[2011/11/03 14:58:02] <abetterlie> when you guys are running puppet from mcollective, for service puppetd do you have ensure => stopped?
[2011/11/03 14:58:09] <abetterlie> because for me, that's causing some weird behavior
[2011/11/03 14:58:54] <abetterlie> understandbly because puppetd is running at the time, which is ok but I just want it disabled
[2011/11/03 15:00:15] <clustermagnet> the_ramink: hey… got the Exec { 'ldconfig': refreshonly => true, }
[2011/11/03 15:00:20] <clustermagnet> how do i notify this?
[2011/11/03 15:00:40] <eric0> abetterlie: you want enable=>false, not ensure=>stopped then
[2011/11/03 15:00:56] <abetterlie> eric0: right, but then what do I use for ensure?
[2011/11/03 15:01:17] <eric0> nothing
[2011/11/03 15:01:45] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/03 15:01:47] <abetterlie> eric0: cool, thanks
[2011/11/03 15:02:54] <clustermagnet> so how do i call an exec function with notify guys?
[2011/11/03 15:02:55] <clustermagnet> thx
[2011/11/03 15:03:03] @ Quit: asteve: Quit: asteve
[2011/11/03 15:04:47] @ Quit: lborda: Quit: Ex-Chat
[2011/11/03 15:06:37] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2011/11/03 15:06:48] @ Quit: geekbri: Remote host closed the connection
[2011/11/03 15:08:45] @ Quit: ken_barber: Quit: Leaving.
[2011/11/03 15:10:17] @ joe-mac1 joined channel #puppet
[2011/11/03 15:11:30] <clustermagnet> guys, is this ok? http://pastie.org/2806945
[2011/11/03 15:12:41] @ Quit: kwazar-: Quit: Leaving...
[2011/11/03 15:14:21] @ blentz joined channel #puppet
[2011/11/03 15:14:26] @ craftytech joined channel #puppet
[2011/11/03 15:14:58] <craftytech> does anyone know the syntax to subscribe to a defined resource type?
[2011/11/03 15:15:20] <craftytech> or notify for that matter
[2011/11/03 15:15:53] <jabba> subscribe => File["/etc/sshd_config"],
[2011/11/03 15:15:56] <jabba> for example
[2011/11/03 15:16:08] <jabba> notify => Service["sshd"],
[2011/11/03 15:16:31] <agaffney> craftytech: notify => Name::of::your::define["foo"]
[2011/11/03 15:16:49] <jabba> oh defined :) I missed that part
[2011/11/03 15:17:09] <craftytech> hey now... let me try that, It wasn't working for a little while agi
[2011/11/03 15:17:12] <jabba> yeah, key is to capitalize the first word
[2011/11/03 15:17:14] <craftytech> *ago
[2011/11/03 15:18:49] @ erodriguez joined channel #puppet
[2011/11/03 15:19:01] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/11/03 15:19:23] <craftytech> yeah, that works.. thanks... I was capitalizing the first letter just like a regular resource type
[2011/11/03 15:19:27] <craftytech> thanks
[2011/11/03 15:20:52] @ jim80net left channel #puppet ()
[2011/11/03 15:22:16] <optiz0r> jabba: This is eluding me entirely. Nothing in the --debug output to show its even checking the files, but if I delete it restores the old version quite happily.
[2011/11/03 15:23:32] <hostdream> dumb question; I've migrated my puppet master to another server, I've made a dump / import of DB and copied SSL and now when I do a puppetd -vt it says that it cannot get the catalogue because the node doesn't exist, what did I miss ?
[2011/11/03 15:25:25] <hostdream> nevermind I think it's my external node script prob
[2011/11/03 15:26:53] @ newtMcKerr joined channel #puppet
[2011/11/03 15:28:20] @ jsurfer joined channel #puppet
[2011/11/03 15:30:34] @ Quit: danbeck: Quit: danbeck
[2011/11/03 15:30:58] <jabba> optiz0r: can you paste your manifest? I'm not sure what the issue could be without seeing what it is trying to do
[2011/11/03 15:31:14] @ Quit: craftytech: Ping timeout: 265 seconds
[2011/11/03 15:31:27] @ Quit: erodriguez: Quit: erodriguez
[2011/11/03 15:31:33] @ Quit: kelseyhightower: Quit: kelseyhightower
[2011/11/03 15:32:06] <optiz0r> jabba: I'm not chaning the manifest at all. The manifests contain File entities, some with templated content, and some with files served from puppet://module/. I've updated some files and some templates, but these changes are not being pulled onto a client
[2011/11/03 15:32:54] <jabba> so you had one file that gets pushed to the client and then you update the file and it the changes don't get pushed?
[2011/11/03 15:32:58] <jabba> but the original one does?
[2011/11/03 15:33:12] <optiz0r> the original version of the file yes.
[2011/11/03 15:36:51] @ frostynova joined channel #puppet
[2011/11/03 15:37:04] @ Quit: abetterlie: Ping timeout: 248 seconds
[2011/11/03 15:37:21] @ mpdude joined channel #puppet
[2011/11/03 15:39:43] @ Quit: kermit: Quit: Leaving.
[2011/11/03 15:39:57] @ kermit joined channel #puppet
[2011/11/03 15:44:13] <nate_h> hmm can I do array with hashes inside them in yaml? my syntax isn't working
[2011/11/03 15:44:54] @ Quit: caviwipes: Quit: Computer has gone to sleep.
[2011/11/03 15:46:07] @ Quit: diq: Remote host closed the connection
[2011/11/03 15:46:40] @ diq joined channel #puppet
[2011/11/03 15:47:59] @ Quit: themadcanudist: Ping timeout: 276 seconds
[2011/11/03 15:49:54] @ Quit: shadoi: Quit: Leaving.
[2011/11/03 15:51:33] @ skm joined channel #puppet
[2011/11/03 15:53:20] <eric0> nate_h: sure, ruby-1.8.7-p352 :013 > [ { :key => "value" }, { :key2 => "value2" } ].to_yaml │············ => "--- \n- :key: value\n- :key2: value2\n"
[2011/11/03 15:53:35] @ gniks joined channel #puppet
[2011/11/03 15:53:50] <eric0> dont hand-write yaml, its bad :P
[2011/11/03 15:54:04] <nate_h> eric0 well i'm using for input to modules
[2011/11/03 15:54:08] <nate_h> kind of hard not to hand write it right now
[2011/11/03 15:54:11] <nate_h> i don't have a web interface
[2011/11/03 15:54:32] <eric0> see above, write data structures in a programming language and then output yaml from them
[2011/11/03 15:54:38] <nate_h> hmm
[2011/11/03 15:54:54] @ arnihermann joined channel #puppet
[2011/11/03 15:55:10] * countskm programming is data structures w/ a pinch of common sense
[2011/11/03 15:55:16] @ claussen joined channel #puppet
[2011/11/03 15:55:26] <nate_h> can you pastie that, the formatting is all fudged on my screen :P
[2011/11/03 15:55:47] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/03 15:57:59] <arnihermann> there's a config option in puppet for couchdb
[2011/11/03 15:58:04] <arnihermann> has any of you used it?
[2011/11/03 15:58:37] @ Quit: PedroGomes: Ping timeout: 240 seconds
[2011/11/03 15:58:46] @ Kazuhiro joined channel #puppet
[2011/11/03 16:02:42] @ PedroGomes joined channel #puppet
[2011/11/03 16:02:53] @ ukd1 joined channel #puppet
[2011/11/03 16:03:36] <eric0> nate_h: http://codedumper.com/uhode
[2011/11/03 16:03:37] <ianbrandt> Hi all. Is there a way to access config settings as variables? I'm coming up empty with: puppet apply -e 'notice("Config dir is: $confdir")'
[2011/11/03 16:04:17] <hostdream> does anyone know why my puppetmaster is not able to see my report file ? /usr/lib/ruby/site_ruby/1.8/puppet/reports/foreman.rb ?
[2011/11/03 16:04:34] <eric0> ianbrandt: in 2.6 and above you can get at them like "config dir is ${settings::confdir}"
[2011/11/03 16:04:52] <nate_h> eric0, ya i'm making this datastructure way too complex :P
[2011/11/03 16:05:16] <ianbrandt> eric0: Worked perfectly. Thanks!
[2011/11/03 16:05:40] <nate_h> http://www.pastie.org/2807194
[2011/11/03 16:05:44] <nate_h> there's the full datastrucutre
[2011/11/03 16:05:51] <nate_h> it doesn't like line 30
[2011/11/03 16:06:04] <nate_h> where I have both an system of arrays and a singleton under a single key
[2011/11/03 16:06:11] <nate_h> guess that's really just not possible
[2011/11/03 16:06:25] <nate_h> now that I think about it
[2011/11/03 16:06:51] <nate_h> i'll have to rethink it
[2011/11/03 16:07:22] @ Quit: henderb: Quit: leaving
[2011/11/03 16:08:55] <eric0> also yaml cares about indent depth, looks like that line is deeper than the others
[2011/11/03 16:10:10] @ Quit: kangman: Remote host closed the connection
[2011/11/03 16:14:25] @ Quit: langworthy: Quit: langworthy
[2011/11/03 16:17:11] @ ocherno joined channel #puppet
[2011/11/03 16:18:10] <nate_h> i think there is just no way for that to work
[2011/11/03 16:18:15] <nate_h> cause you wouldn't be able to walk the structure
[2011/11/03 16:18:28] @ Quit: gniks: Quit: Leaving.
[2011/11/03 16:18:28] <nate_h> like a non array item and an array at the same key level
[2011/11/03 16:19:03] <nate_h> i'll just have a little data duplication to fix it
[2011/11/03 16:19:44] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/03 16:19:59] @ Quit: jbraeuer: Quit: jbraeuer
[2011/11/03 16:23:11] @ ocherno left channel #puppet ()
[2011/11/03 16:23:14] @ Quit: Ashutto: Ping timeout: 244 seconds
[2011/11/03 16:25:06] @ Quit: PedroGomes: Quit: PedroGomes
[2011/11/03 16:26:06] @ Quit: mpdude: Remote host closed the connection
[2011/11/03 16:27:11] @ Quit: ukd1: Quit: Lost terminal
[2011/11/03 16:27:30] @ Quit: amoe: Ping timeout: 258 seconds
[2011/11/03 16:29:04] @ amoe joined channel #puppet
[2011/11/03 16:29:38] @ Quit: benkevan: Quit: leaving
[2011/11/03 16:30:11] <eric0> fwiw i make all leaf values arrays even if they are just 1 element arrays
[2011/11/03 16:30:28] <eric0> that way you can always iterate with .each / .join and not get type errors from ruby
[2011/11/03 16:30:47] @ CrazyGir joined channel #puppet
[2011/11/03 16:30:51] <CrazyGir> ahoy!
[2011/11/03 16:31:26] <CrazyGir> I have begun using puppet for sysadmin over the last few months, managing what I can in it
[2011/11/03 16:31:41] <CrazyGir> primarily users, groups, packages, files, and services on linux/bsd
[2011/11/03 16:32:03] @ edward joined channel #puppet
[2011/11/03 16:32:46] <CrazyGir> one thing I have not yet figured out how to do gracefully, are the one-time installs and infrequent upgrades
[2011/11/03 16:32:51] <edward> morning all. we are noticing a minute or so delay between adding files to puppet and it being able to reference them from the manifest. is there documentation behind why this happens?
[2011/11/03 16:33:02] <CrazyGir> installing python packages with pip, for example
[2011/11/03 16:33:04] <edward> I imagine it's to do with caching the file and building md5 sums etc
[2011/11/03 16:33:07] <CrazyGir> what is the best way to go about this?
[2011/11/03 16:33:29] @ Quit: jsm: Quit: Leaving.
[2011/11/03 16:33:42] <edward> depends on how many CrazyGir and how well you want to do it. a provider for it is the best way but the hardest/most effort
[2011/11/03 16:34:18] @ djm68 joined channel #puppet
[2011/11/03 16:34:22] <jorhett> CrazyGir: are you using webrick or passenger? What version of puppet?
[2011/11/03 16:34:36] <edward> CrazyGir: http://www.google.com/search?client=ubuntu&channel=fs&q=delay+between+adding+file+and+puppet+being+able+to+push+it&ie=utf-8&oe=utf-8
[2011/11/03 16:34:43] <edward> http://projects.puppetlabs.com/issues/6527
[2011/11/03 16:35:37] <jorhett> seems to be in 2.7.0 according to #6527
[2011/11/03 16:35:37] <gepetto> jorhett: #6527 is http://projects.puppetlabs.com/issues/show/6527 "Puppet - Feature #6527: Pip package provider. It has a status of Closed and is assigned to -"
[2011/11/03 16:36:14] <torrancew> CrazyGir: there is some level of pip support - if you're not on 2.7 you should still be able to find the puppet-pip project/module that was pulled in for 2.7.x
[2011/11/03 16:36:35] <ianbrandt> I see "puppet apply" looks at puppet.conf. If I introduce a syntax error in the file the command fails. Can puppet apply be made to use puppet.conf's environment, modulepath and manifest settings in lieu of having to specify them on the command line? When I try it "puppet apply" just sits there not returning, and with no output.
[2011/11/03 16:36:39] @ Quit: djm68: Client Quit
[2011/11/03 16:36:40] @ Quit: zwi: Quit: Leaving.
[2011/11/03 16:36:46] @ djm68 joined channel #puppet
[2011/11/03 16:37:01] <edward> so no one knows how puppet first adds files to its cache?
[2011/11/03 16:37:37] <torrancew> edward: passenger had an issue for a while, where you had to request the file twice to grab it. past that, nothing else comes to mind, but it could very well be the caching you're thinking of
[2011/11/03 16:37:50] <torrancew> rather, where you had to run puppet 2x to pick up the changes
[2011/11/03 16:38:01] @ mmoya joined channel #puppet
[2011/11/03 16:38:39] <edward> torrancew: in the same push it grabbed two other changed files. it's just the new one added via the manifest
[2011/11/03 16:38:48] <edward> weird
[2011/11/03 16:38:59] <edward> I'll ask someone from puppet labs next week, stump them a little ;)
[2011/11/03 16:39:30] <CrazyGir> jorhett: just puppet directly (webbrick maybe?) and v2.7
[2011/11/03 16:39:36] <CrazyGir> just setup a new master
[2011/11/03 16:39:46] @ tilgovi joined channel #puppet
[2011/11/03 16:39:47] @ Quit: tilgovi: Changing host
[2011/11/03 16:39:47] @ tilgovi joined channel #puppet
[2011/11/03 16:39:59] <CrazyGir> torrancew: even with pip taken care of, the situation still applies to many other places
[2011/11/03 16:40:04] <edward> lucky you, starting with 2.7... we still have to migrate everything from 2.6 :(
[2011/11/03 16:40:17] <CrazyGir> how are one-time installers or things like that handled
[2011/11/03 16:40:31] <CrazyGir> edward: depending on how much conversion is needed, I may be in the same place
[2011/11/03 16:40:40] <CrazyGir> I did not do really advanced stuff though
[2011/11/03 16:41:35] <edward> CrazyGir: a lot of it is an effort:good practice ratio
[2011/11/03 16:41:41] <CrazyGir> yea
[2011/11/03 16:41:44] <CrazyGir> totally
[2011/11/03 16:41:56] <edward> so for a once off that you'll never use again you tend to use an exec that checks a file to see if it's run before
[2011/11/03 16:42:05] <CrazyGir> openbsd does not have/use a /var/lib, where should I tell puppet to look instead?
[2011/11/03 16:42:07] <edward> if it's something you'll use daily you've gotta go with a provider
[2011/11/03 16:42:34] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/03 16:42:37] <edward> we also split the difference a lot and create custom deb packages that do what we want
[2011/11/03 16:42:41] <CrazyGir> edward: check a file? ok, so if you run something sucessfully, you touch an "i am done" file?
[2011/11/03 16:43:03] <CrazyGir> then check later, if it exists?
[2011/11/03 16:43:13] <edward> yep
[2011/11/03 16:43:21] <CrazyGir> or if it is a package with files you can check use them, that makes sense
[2011/11/03 16:43:32] <CrazyGir> feels ugly, but not so bad
[2011/11/03 16:43:53] <edward> it is, it's the worst hack in puppet that holds everything together :P
[2011/11/03 16:44:35] <edward> exec { "install-this": command => "/usr/bin/script.sh", creates => "/tmp/scripthasrun"; }
[2011/11/03 16:44:38] * countskm is tortured with aix 6100-06
[2011/11/03 16:45:14] <CrazyGir> hah
[2011/11/03 16:45:14] <edward> torrancew: thanks for the suggestion. guess it's back to work :S
[2011/11/03 16:45:16] @ edward left channel #puppet ()
[2011/11/03 16:47:43] @ bencc joined channel #puppet
[2011/11/03 16:49:07] @ shadoi joined channel #puppet
[2011/11/03 16:50:23] <CrazyGir> there are large enough differences to use 2.7 off the site over a distro
[2011/11/03 16:50:29] @ Quit: mmoya: Read error: Operation timed out
[2011/11/03 16:50:31] <CrazyGir> there are large enough differences to use 2.7 off the site over a distro's package being out of date
[2011/11/03 16:50:37] <CrazyGir> (2.6.3)
[2011/11/03 16:51:03] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 16:51:28] <peridot> what sort of differences?
[2011/11/03 16:52:43] <CrazyGir> bah, the "there are" should be "are there"
[2011/11/03 16:52:44] @ Quit: neonflux: Quit: Leaving.
[2011/11/03 16:54:31] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/03 16:56:08] @ Quit: duerF: Quit: Leaving
[2011/11/03 16:56:49] @ peridot left channel #puppet ()
[2011/11/03 16:58:31] @ mitchellh joined channel #puppet
[2011/11/03 16:59:07] <torrancew> CrazyGir: depends on if the distro has patched for the 2 recent security issues that were found & resolved
[2011/11/03 17:00:03] <CrazyGir> could be, i see a patch applied
[2011/11/03 17:00:18] <CrazyGir> but yea, I'll stick to the current release and deal with user/groups myself
[2011/11/03 17:03:46] @ Quit: jsurfer: Quit: jsurfer
[2011/11/03 17:04:58] <CrazyGir> two more simple questions: A) is puppet touchy about having the same versions across all clients/masters? B) does the master have the ability to simplify upgrading puppet on a client?
[2011/11/03 17:05:53] <agaffney> CrazyGir: your master should be newer (or the same version) as your agents
[2011/11/03 17:06:07] <agaffney> and the master has no bearing on the ability for puppet to upgrade puppet
[2011/11/03 17:06:19] <the_ramink> CrazyGir: The master needs to be a later version than the client though it's a few minor releases you might be okay, but it's not recommended.
[2011/11/03 17:06:43] @ Quit: ianbrandt: Quit: ianbrandt
[2011/11/03 17:06:57] @ Quit: tilgovi: Ping timeout: 256 seconds
[2011/11/03 17:07:07] @ Quit: cruzfox: Quit: cruzfox
[2011/11/03 17:07:19] @ Quit: cyflea: Read error: Connection reset by peer
[2011/11/03 17:10:19] @ Quit: jodok: Quit: jodok
[2011/11/03 17:10:44] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/03 17:14:13] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/11/03 17:15:17] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2011/11/03 17:17:18] @ Quit: DJClean: Read error: Operation timed out
[2011/11/03 17:21:06] <optiz0r> jabba: resolved at last, and the answer is, I'm an idiot :)
[2011/11/03 17:21:37] <jabba> oh, sorry I dropped offline earlier. I just got back
[2011/11/03 17:21:57] <jabba> what was the issue?
[2011/11/03 17:22:06] @ Quit: paxos: Quit: Leaving.
[2011/11/03 17:22:24] <optiz0r> untidy repo had copies of the same file in both templates/ and files/, and I wasn't editing the copy that was being pushed.
[2011/11/03 17:23:47] @ Quit: alanevans: Remote host closed the connection
[2011/11/03 17:23:48] <jabba> ah. glad you got it resolved :)
[2011/11/03 17:24:29] <optiz0r> thanks your your help anyway. Probably wouldn't have spotted it without a lot more digging than I had been doing previously :)
[2011/11/03 17:26:16] <CrazyGir> good to know
[2011/11/03 17:26:22] @ Quit: mitchellh: Quit: ZOMG BYE
[2011/11/03 17:29:07] @ zwi joined channel #puppet
[2011/11/03 17:32:19] @ oozbooz1 joined channel #puppet
[2011/11/03 17:32:28] @ Quit: lak: Quit: Leaving.
[2011/11/03 17:32:34] @ Quit: zwi: Client Quit
[2011/11/03 17:33:57] @ oozbooz1 left channel #puppet ()
[2011/11/03 17:34:59] @ alanevans joined channel #puppet
[2011/11/03 17:40:37] @ cyflea joined channel #puppet
[2011/11/03 17:43:11] @ Quit: bosszaru: Quit: Leaving.
[2011/11/03 17:43:21] @ jsurfer joined channel #puppet
[2011/11/03 17:44:07] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/03 17:48:29] @ soh joined channel #puppet
[2011/11/03 17:48:32] @ joe-mac1 joined channel #puppet
[2011/11/03 17:49:40] @ ocherno joined channel #puppet
[2011/11/03 17:51:30] @ ocherno left channel #puppet ()
[2011/11/03 17:52:33] @ beaknit joined channel #puppet
[2011/11/03 17:57:14] @ Quit: nanliu: Quit: Lost terminal
[2011/11/03 17:59:47] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/11/03 18:00:52] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 18:01:21] @ illsci joined channel #puppet
[2011/11/03 18:01:41] <illsci> Do you need to restart the master if you edit erb templates?
[2011/11/03 18:01:52] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/11/03 18:02:05] <illsci> I have a template that does server <%= scope.lookupvar('rs_vpn_srv_net') %> 255.255.255.0
[2011/11/03 18:02:28] <illsci> and I have facts on each server that show up with different network prefixes... but everytime I run puppet agent
[2011/11/03 18:02:29] <KaiserBeto1> depends on which version of puppet
[2011/11/03 18:02:43] <illsci> it keeps printing out the previous value... on each host
[2011/11/03 18:02:51] <KaiserBeto1> versions of puppet < .25.5 have an annoying bug where changes in manifests don't get picked up until you restart puppetmaster
[2011/11/03 18:03:00] <illsci> yeah this is the latest version
[2011/11/03 18:03:13] <illsci> its weird... I verified that facter -p shows different values
[2011/11/03 18:04:22] @ Quit: williemach: Quit: Leaving.
[2011/11/03 18:04:26] @ richard joined channel #puppet
[2011/11/03 18:04:27] @ st33v joined channel #puppet
[2011/11/03 18:04:38] @ Quit: richard: Client Quit
[2011/11/03 18:04:51] <illsci> http://pastebin.com/pTD28mSY
[2011/11/03 18:04:54] <illsci> check that out...
[2011/11/03 18:05:03] <illsci> I have no idea why it keeps making the value 10.1.0.0
[2011/11/03 18:06:19] @ Quit: BLZbubba: Remote host closed the connection
[2011/11/03 18:07:51] @ Quit: diq: Ping timeout: 252 seconds
[2011/11/03 18:08:24] @ Quit: st33v: Client Quit
[2011/11/03 18:08:38] @ Ownage joined channel #puppet
[2011/11/03 18:08:50] <Ownage> puppet double mounts cifs? is this a known bug?
[2011/11/03 18:09:21] <Ownage> it almost seems like it's subscribed to itself or something.. it mounts and then says refreshing and mounts again
[2011/11/03 18:09:42] @ cliff-hm joined channel #puppet
[2011/11/03 18:09:59] <illsci> Is there anyway a fact from one host can be over writing a fact from another host?
[2011/11/03 18:10:27] <Ownage> no
[2011/11/03 18:10:32] <illsci> I have a host who had 10.1.0.0 as its value and the rest all increment... but when I render the template it keeps making it 10.1.0.0
[2011/11/03 18:10:54] <Ownage> hmm I see this bug reported even at puppet 0.24.4
[2011/11/03 18:10:58] <illsci> I don't see how the scope.lookupva(myfact) would return the same value...
[2011/11/03 18:11:10] @ abetterlie joined channel #puppet
[2011/11/03 18:11:16] <nevyn> 10.1.0.0 is a valid address...
[2011/11/03 18:11:31] @ st33v joined channel #puppet
[2011/11/03 18:11:37] <illsci> what do you mean?
[2011/11/03 18:11:38] @ Quit: jsurfer: Read error: Connection reset by peer
[2011/11/03 18:11:39] <nevyn> if it's part of 10.0.0.0/15 or larger
[2011/11/03 18:11:44] <illsci> these are hard coded facts..
[2011/11/03 18:11:51] <illsci> like I set these tags in ec2
[2011/11/03 18:11:56] <illsci> and I pull them down into /etc/facts.d/
[2011/11/03 18:11:57] @ jsurfer joined channel #puppet
[2011/11/03 18:11:59] <nevyn> hrm
[2011/11/03 18:12:01] <nevyn> ok.
[2011/11/03 18:12:19] <illsci> they are different on each host and facter -p shows they're different
[2011/11/03 18:12:31] <illsci> but every puppet run keeps putting 10.1.0.0 instead of what the fact shows
[2011/11/03 18:12:38] <illsci> same thing on multiple hosts
[2011/11/03 18:12:49] <nevyn> are you overriding the value in the puppet code somwhere?
[2011/11/03 18:12:59] <nevyn> like is it a variable namespace issue?
[2011/11/03 18:13:40] <illsci> oh I see what's happening
[2011/11/03 18:13:42] <illsci> modules/ovpn/templates/server.erb:server 10.1.0.0 255.255.255.0
[2011/11/03 18:13:53] <illsci> I guess the template path doesn't change
[2011/11/03 18:13:57] <illsci> inside environments
[2011/11/03 18:14:18] <Ownage> is puppet mount type for cifs just broken or what
[2011/11/03 18:14:24] <Ownage> must I make another custom type?
[2011/11/03 18:17:26] <jamesturnbull> Ownage: in what release?
[2011/11/03 18:17:36] <jamesturnbull> Ownage: we rewrote it for 2.7.?
[2011/11/03 18:17:57] <illsci> how do you specify template paths in modules if you're using environments?
[2011/11/03 18:18:43] <Ownage> 2.7.5
[2011/11/03 18:19:33] @ Quit: ohadlevy: Ping timeout: 245 seconds
[2011/11/03 18:22:07] @ tilgovi joined channel #puppet
[2011/11/03 18:22:08] @ Quit: tilgovi: Changing host
[2011/11/03 18:22:08] @ tilgovi joined channel #puppet
[2011/11/03 18:22:15] <illsci> environments/test/modules/ovpn/manifests/config.pp: content => template("ovpn/server.erb"),
[2011/11/03 18:22:29] <illsci> why doesn't it use the environments templates...
[2011/11/03 18:22:39] <illsci> instead of the one I have in the "production" environment
[2011/11/03 18:22:40] @ Quit: jongrocho: Remote host closed the connection
[2011/11/03 18:22:44] @ Quit: tilgovi: Remote host closed the connection
[2011/11/03 18:22:58] @ Quit: justin_donaldson: Quit: Leaving.
[2011/11/03 18:23:36] @ Quit: beaknit: Quit: beaknit
[2011/11/03 18:24:24] <the_ramink> illsci: http://pastie.org/2807711
[2011/11/03 18:24:37] @ skm joined channel #puppet
[2011/11/03 18:24:51] <the_ramink> illsci: er nvm I'm not thinking straight
[2011/11/03 18:25:14] <the_ramink> it should just work if you have environments setup
[2011/11/03 18:26:18] @ Quit: KaiserBeto1: Ping timeout: 260 seconds
[2011/11/03 18:27:05] @ Quit: shadoi: Quit: Leaving.
[2011/11/03 18:28:42] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/03 18:30:33] @ ohadlevy joined channel #puppet
[2011/11/03 18:30:55] <Ownage> jamesturnbull, http://pastebin.com/QaeVnADV
[2011/11/03 18:32:13] <Ownage> as a sidenote, the second mount isn't "real"
[2011/11/03 18:32:35] <Ownage> umount will result in 'not mounted'
[2011/11/03 18:32:37] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/11/03 18:33:56] <jamesturnbull> Ownage: hmmm might be a bug although I had thoght that was resolved - I'd log a ticket I guess
[2011/11/03 18:34:53] @ Quit: illsci: Ping timeout: 240 seconds
[2011/11/03 18:37:17] @ Quit: st33v: Quit: st33v
[2011/11/03 18:40:07] @ st33v joined channel #puppet
[2011/11/03 18:45:15] @ Quit: joe-mac1: Ping timeout: 252 seconds
[2011/11/03 18:47:18] @ Quit: hooper: Ping timeout: 260 seconds
[2011/11/03 18:51:06] @ Pheran1 joined channel #puppet
[2011/11/03 18:51:55] <Pheran1> Anyone have a working puppetmaster implementation under Apache/Passenger? I'm having trouble getting this going, getting 403 errors on everything the client tries to fetch
[2011/11/03 18:53:00] @ Quit: djm68: Quit: leaving
[2011/11/03 18:53:56] @ Quit: Ownage: Ping timeout: 260 seconds
[2011/11/03 18:54:46] @ Ownage joined channel #puppet
[2011/11/03 18:55:56] @ Quit: st33v: Quit: st33v
[2011/11/03 18:56:32] @ st33v joined channel #puppet
[2011/11/03 18:57:00] @ Quit: frostynova: Remote host closed the connection
[2011/11/03 19:01:06] @ neonflux joined channel #puppet
[2011/11/03 19:06:53] @ Quit: sumsuch: Quit: sumsuch
[2011/11/03 19:08:03] @ beaknit joined channel #puppet
[2011/11/03 19:10:57] @ Quit: st33v: Quit: st33v
[2011/11/03 19:14:08] @ st33v joined channel #puppet
[2011/11/03 19:16:02] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/03 19:16:09] @ gniks joined channel #puppet
[2011/11/03 19:16:33] @ tizzo is now known as tizzo-afk
[2011/11/03 19:16:49] @ Moe__ joined channel #puppet
[2011/11/03 19:19:49] @ Quit: bmahe: Quit: Leaving
[2011/11/03 19:19:53] @ Quit: st33v: Quit: st33v
[2011/11/03 19:19:54] @ Pheran1 left channel #puppet ()
[2011/11/03 19:20:44] @ Quit: alanevans: Remote host closed the connection
[2011/11/03 19:22:01] @ frostynova joined channel #puppet
[2011/11/03 19:25:21] @ themadcanudist joined channel #puppet
[2011/11/03 19:30:36] @ erodriguez joined channel #puppet
[2011/11/03 19:32:31] @ sduchesneau joined channel #puppet
[2011/11/03 19:38:12] @ kelseyhightower joined channel #puppet
[2011/11/03 19:40:43] @ newtMcKerr joined channel #puppet
[2011/11/03 19:43:48] @ pjsz joined channel #puppet
[2011/11/03 19:45:17] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/11/03 19:47:04] @ Quit: highclasshole: Read error: Connection reset by peer
[2011/11/03 19:48:35] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/03 19:53:33] @ jongrocho joined channel #puppet
[2011/11/03 20:00:20] @ xuth joined channel #puppet
[2011/11/03 20:00:26] @ xuth left channel #puppet ("Leaving")
[2011/11/03 20:02:40] @ Quit: choonming: Ping timeout: 248 seconds
[2011/11/03 20:03:11] @ Quit: cliff-hm: Ping timeout: 256 seconds
[2011/11/03 20:06:04] @ KaiserBeto1 joined channel #puppet
[2011/11/03 20:11:22] @ kenperkins joined channel #puppet
[2011/11/03 20:12:31] @ pjsz left channel #puppet ()
[2011/11/03 20:16:23] @ Quit: claussen: Quit: claussen
[2011/11/03 20:17:01] @ Quit: beaknit: Quit: beaknit
[2011/11/03 20:20:45] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/03 20:21:36] @ choonming joined channel #puppet
[2011/11/03 20:24:58] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/03 20:25:35] @ soh joined channel #puppet
[2011/11/03 20:29:15] @ Quit: jongrocho: Remote host closed the connection
[2011/11/03 20:34:08] @ Quit: jaymurtii: Ping timeout: 245 seconds
[2011/11/03 20:35:44] @ pjd3 joined channel #puppet
[2011/11/03 20:35:52] @ pjd3 left channel #puppet ()
[2011/11/03 20:38:02] @ sl1kc4t_ joined channel #puppet
[2011/11/03 20:38:10] @ Djelibeybi joined channel #puppet
[2011/11/03 20:39:17] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/11/03 20:40:36] @ joe-mac joined channel #puppet
[2011/11/03 20:40:55] @ alanevans joined channel #puppet
[2011/11/03 20:43:54] @ Quit: kelseyhightower: Quit: kelseyhightower
[2011/11/03 20:50:04] @ benjiedmund joined channel #puppet
[2011/11/03 20:51:34] @ Enf joined channel #puppet
[2011/11/03 20:54:26] @ Vulcan[OMNI] joined channel #puppet
[2011/11/03 20:58:57] @ thisKat joined channel #puppet
[2011/11/03 20:59:24] @ bmahe joined channel #puppet
[2011/11/03 20:59:24] @ Quit: bmahe: Changing host
[2011/11/03 20:59:24] @ bmahe joined channel #puppet
[2011/11/03 21:01:10] @ sl1kc4t_ left channel #puppet ()
[2011/11/03 21:10:17] <CrazyGir> what is the best way to handle package names differing on different OSen?
[2011/11/03 21:14:35] @ sumsuch joined channel #puppet
[2011/11/03 21:16:14] @ Quit: Djelibeybi: Ping timeout: 276 seconds
[2011/11/03 21:18:44] @ claussen joined channel #puppet
[2011/11/03 21:20:05] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/11/03 21:22:29] @ Quit: Vulcan[OMNI]: Ping timeout: 240 seconds
[2011/11/03 21:26:49] @ Vulcan[OMNI] joined channel #puppet
[2011/11/03 21:29:09] @ fredden left channel #puppet ("Leaving")
[2011/11/03 21:32:44] @ carpenoctem joined channel #puppet
[2011/11/03 21:33:04] <carpenoctem> attempting to get the puppetmaster daemon to log to syslog facility local0
[2011/11/03 21:33:07] <carpenoctem> how the hell do I do that
[2011/11/03 21:33:38] <carpenoctem> tried putting: "syslogfacility = local1" under [master] in puppet.conf
[2011/11/03 21:34:01] <carpenoctem> still logging to daemon facility
[2011/11/03 21:36:03] @ lpaul7 joined channel #puppet
[2011/11/03 21:38:25] <carpenoctem> puppet-server-2.7.6-2.el5 FYI
[2011/11/03 21:38:59] @ hobbeswalsh joined channel #puppet
[2011/11/03 21:45:01] @ bobra joined channel #puppet
[2011/11/03 21:46:29] @ jsurfer_ joined channel #puppet
[2011/11/03 21:46:38] <carpenoctem> typo NM the syslogfacility config option works as it should ID10T FTL
[2011/11/03 21:47:32] @ Quit: socomm: Ping timeout: 252 seconds
[2011/11/03 21:50:06] @ shadoi joined channel #puppet
[2011/11/03 21:50:13] @ Quit: jsurfer: Ping timeout: 240 seconds
[2011/11/03 21:50:13] @ jsurfer_ is now known as jsurfer
[2011/11/03 21:50:29] @ Djelibeybi joined channel #puppet
[2011/11/03 21:50:32] @ Quit: Djelibeybi: Changing host
[2011/11/03 21:50:32] @ Djelibeybi joined channel #puppet
[2011/11/03 21:50:53] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/03 21:52:46] @ Quit: lpaul7: Quit: Leaving
[2011/11/03 21:53:37] @ enxio joined channel #puppet
[2011/11/03 21:59:46] @ hooper joined channel #puppet
[2011/11/03 22:00:57] @ Quit: gniks: Quit: Leaving.
[2011/11/03 22:01:10] @ Quit: neonflux: Quit: Leaving.
[2011/11/03 22:02:45] @ Quit: sduchesneau: Remote host closed the connection
[2011/11/03 22:07:58] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/11/03 22:13:57] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/03 22:14:14] @ Quit: sumsuch: Quit: sumsuch
[2011/11/03 22:19:49] @ jhelwig_ joined channel #puppet
[2011/11/03 22:22:26] @ Quit: shadoi: Ping timeout: 258 seconds
[2011/11/03 22:36:16] @ Quit: p3rror: Ping timeout: 244 seconds
[2011/11/03 22:43:24] @ Quit: enxio: Remote host closed the connection
[2011/11/03 22:46:57] @ z3ndrag0n joined channel #puppet
[2011/11/03 22:48:08] @ los324 joined channel #puppet
[2011/11/03 22:48:20] @ los324 left channel #puppet ()
[2011/11/03 22:53:33] @ adimania joined channel #puppet
[2011/11/03 22:54:37] @ marrusl joined channel #puppet
[2011/11/03 22:59:02] @ Quit: adimania: Ping timeout: 252 seconds
[2011/11/03 23:00:40] @ adimania joined channel #puppet
[2011/11/03 23:02:06] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/03 23:02:06] @ Quit: claussen: Quit: claussen
[2011/11/03 23:02:20] @ gaveen joined channel #puppet
[2011/11/03 23:06:07] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/03 23:06:58] @ Guest58984 joined channel #puppet
[2011/11/03 23:07:10] @ Guest58984 left channel #puppet ()
[2011/11/03 23:08:35] @ sumsuch joined channel #puppet
[2011/11/03 23:12:57] @ Meier joined channel #puppet
[2011/11/03 23:13:56] @ jedi4ever joined channel #puppet
[2011/11/03 23:14:09] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/03 23:15:38] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/11/03 23:15:39] @ Quit: sumsuch: Quit: sumsuch
[2011/11/03 23:16:52] @ Quit: soh: Quit: Computer has gone to sleep.
[2011/11/03 23:19:25] @ Quit: adimania: Read error: Connection reset by peer
[2011/11/03 23:19:32] @ zabyl joined channel #puppet
[2011/11/03 23:19:46] @ adimania joined channel #puppet
[2011/11/03 23:20:44] @ aditya_ joined channel #puppet
[2011/11/03 23:21:33] @ Quit: aditya_: Read error: Connection reset by peer
[2011/11/03 23:22:01] @ aditya_ joined channel #puppet
[2011/11/03 23:22:51] @ Quit: asbruvik: Remote host closed the connection
[2011/11/03 23:23:14] @ aditya__ joined channel #puppet
[2011/11/03 23:23:25] @ Quit: aditya_: Read error: Connection reset by peer
[2011/11/03 23:23:25] @ Quit: adimania: Read error: Connection reset by peer
[2011/11/03 23:23:56] @ ddoc961[afk] is now known as ddoc961
[2011/11/03 23:24:55] @ Quit: Holocaine: Ping timeout: 258 seconds
[2011/11/03 23:25:38] @ riha joined channel #puppet
[2011/11/03 23:26:12] @ zabyl left channel #puppet ("wIRC")
[2011/11/03 23:28:34] @ DSpair left channel #puppet ("Leaving")
[2011/11/03 23:31:12] @ Quit: aditya__: Ping timeout: 248 seconds
[2011/11/03 23:37:51] @ mpdude joined channel #puppet
[2011/11/03 23:40:27] @ Quit: thisKat: Quit: Computer has gone to sleep.
[2011/11/03 23:41:52] @ Quit: dan__t_: Ping timeout: 248 seconds
[2011/11/03 23:43:36] @ jaydg joined channel #puppet
[2011/11/03 23:44:16] @ the_ramink joined channel #puppet
[2011/11/03 23:47:15] @ jbraeuer joined channel #puppet
[2011/11/03 23:52:24] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/03 23:56:15] @ sumsuch joined channel #puppet

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