Wednesday, 2011-11-23

[2011/11/23 00:00:58] @ Log started by gepetto
[2011/11/23 00:00:58] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 00:01:28] @ saysjonathan joined channel #puppet
[2011/11/23 00:04:21] @ alanna joined channel #puppet
[2011/11/23 00:05:37] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 00:10:49] @ raphdg joined channel #puppet
[2011/11/23 00:11:14] @ mpdude joined channel #puppet
[2011/11/23 00:14:38] @ druggo joined channel #puppet
[2011/11/23 00:15:28] @ jonhattan joined channel #puppet
[2011/11/23 00:15:34] @ Quit: alanna: Remote host closed the connection
[2011/11/23 00:15:58] @ alanna joined channel #puppet
[2011/11/23 00:17:44] @ saysjonathan joined channel #puppet
[2011/11/23 00:20:16] @ Quit: alanna: Ping timeout: 240 seconds
[2011/11/23 00:20:27] @ Quit: dissipate: Ping timeout: 245 seconds
[2011/11/23 00:21:04] @ Count_Janik joined channel #puppet
[2011/11/23 00:22:09] @ Count_Janik left channel #puppet ()
[2011/11/23 00:22:21] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 00:22:35] @ Count_Janik joined channel #puppet
[2011/11/23 00:22:43] @ AshishH joined channel #puppet
[2011/11/23 00:22:44] @ saysjonathan joined channel #puppet
[2011/11/23 00:23:31] @ Quit: mmoya: Ping timeout: 260 seconds
[2011/11/23 00:23:55] @ skm joined channel #puppet
[2011/11/23 00:24:19] @ ckauhaus joined channel #puppet
[2011/11/23 00:27:10] @ jaytaph joined channel #puppet
[2011/11/23 00:27:36] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 00:27:44] @ saysjonathan joined channel #puppet
[2011/11/23 00:31:58] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 00:32:43] @ emergion joined channel #puppet
[2011/11/23 00:32:50] @ Quit: choonming: Quit: Leaving
[2011/11/23 00:33:06] @ Quit: jaytaph: Ping timeout: 244 seconds
[2011/11/23 00:33:50] @ nimrod10 joined channel #puppet
[2011/11/23 00:33:51] @ Quit: nimrod10: Excess Flood
[2011/11/23 00:34:11] @ Quit: emergion: Client Quit
[2011/11/23 00:38:06] @ trickyf joined channel #puppet
[2011/11/23 00:38:39] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/23 00:39:24] @ skm joined channel #puppet
[2011/11/23 00:39:44] @ willemb left channel #puppet ("Konversation terminated!")
[2011/11/23 00:41:21] @ jaytaph joined channel #puppet
[2011/11/23 00:41:26] @ ezryx joined channel #puppet
[2011/11/23 00:43:29] @ Count_Janik left channel #puppet ()
[2011/11/23 00:49:01] @ saysjonathan joined channel #puppet
[2011/11/23 00:50:07] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 00:51:41] @ Quit: Guest51377: Quit: Page closed
[2011/11/23 00:51:43] @ xorpaul joined channel #puppet
[2011/11/23 00:52:44] <xorpaul> Hi there, I currently get my puppet reports via email, can I somehow get the actual diff of the changed files in those emails?
[2011/11/23 00:54:01] @ saysjonathan joined channel #puppet
[2011/11/23 00:55:19] @ Quit: silfreed: Ping timeout: 244 seconds
[2011/11/23 00:57:02] @ Quit: pfo: Quit: pfo
[2011/11/23 00:57:57] @ silfreed joined channel #puppet
[2011/11/23 00:57:58] @ Quit: silfreed: Excess Flood
[2011/11/23 00:58:09] @ nimrod10 joined channel #puppet
[2011/11/23 00:58:10] @ Quit: nimrod10: Excess Flood
[2011/11/23 00:58:30] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 00:58:35] @ silfreed joined channel #puppet
[2011/11/23 01:00:04] @ larstobi joined channel #puppet
[2011/11/23 01:02:26] @ fronlius joined channel #puppet
[2011/11/23 01:02:49] @ nimrod10 joined channel #puppet
[2011/11/23 01:02:50] @ Quit: nimrod10: Excess Flood
[2011/11/23 01:03:29] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/11/23 01:13:25] @ Quit: kelseyhi1htower: Ping timeout: 240 seconds
[2011/11/23 01:13:53] @ nimrod10 joined channel #puppet
[2011/11/23 01:13:53] @ Quit: nimrod10: Excess Flood
[2011/11/23 01:14:56] @ saysjonathan joined channel #puppet
[2011/11/23 01:18:39] @ duerF joined channel #puppet
[2011/11/23 01:19:19] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 01:19:49] @ Spads joined channel #puppet
[2011/11/23 01:21:13] @ rosco joined channel #puppet
[2011/11/23 01:25:22] @ Quit: mpdude: Remote host closed the connection
[2011/11/23 01:26:11] @ pfo joined channel #puppet
[2011/11/23 01:26:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:31:11] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 01:31:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:32:59] @ Quit: pfo: Quit: pfo
[2011/11/23 01:36:26] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 01:36:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:37:15] @ nimrod10 joined channel #puppet
[2011/11/23 01:37:16] @ Quit: nimrod10: Excess Flood
[2011/11/23 01:39:01] @ Quit: Razique: Quit: Razique
[2011/11/23 01:41:06] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 01:41:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:42:17] @ jab_doa joined channel #puppet
[2011/11/23 01:42:18] @ Quit: jab_doa: Changing host
[2011/11/23 01:42:18] @ jab_doa joined channel #puppet
[2011/11/23 01:45:05] @ nimrod10 joined channel #puppet
[2011/11/23 01:45:06] @ Quit: nimrod10: Excess Flood
[2011/11/23 01:46:21] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 01:46:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:47:26] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 01:48:17] @ nimrod10 joined channel #puppet
[2011/11/23 01:48:18] @ Quit: nimrod10: Excess Flood
[2011/11/23 01:49:34] @ Quit: danikov: Quit: danikov
[2011/11/23 01:51:33] @ saysjonathan joined channel #puppet
[2011/11/23 01:53:28] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/11/23 01:53:31] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 01:57:47] @ dissipate joined channel #puppet
[2011/11/23 02:02:01] @ brtl joined channel #puppet
[2011/11/23 02:02:40] @ Quit: chadh: Ping timeout: 240 seconds
[2011/11/23 02:03:17] @ chadh joined channel #puppet
[2011/11/23 02:03:31] @ danikov joined channel #puppet
[2011/11/23 02:03:40] @ Quit: ezryx: Ping timeout: 252 seconds
[2011/11/23 02:04:59] @ joe-mac joined channel #puppet
[2011/11/23 02:08:38] @ M- joined channel #puppet
[2011/11/23 02:08:43] @ erthad joined channel #puppet
[2011/11/23 02:09:48] @ kolla joined channel #puppet
[2011/11/23 02:11:20] @ Yoe joined channel #puppet
[2011/11/23 02:11:28] * Yoe goes "why"
[2011/11/23 02:12:16] <Yoe> "facter memorysize" gives memory size in human-readable format (i.e., with a "kb" or "mb" or "gb" suffix and fractional memory sizes) rather than as a fixed number in bytes
[2011/11/23 02:12:24] <Yoe> which would be infinitely more useful
[2011/11/23 02:16:11] @ sihil joined channel #puppet
[2011/11/23 02:16:41] @ ezryx joined channel #puppet
[2011/11/23 02:21:52] @ Quit: MUILTFN: Ping timeout: 240 seconds
[2011/11/23 02:22:38] @ nimrod10 joined channel #puppet
[2011/11/23 02:22:38] @ Quit: nimrod10: Excess Flood
[2011/11/23 02:23:06] <kjetilho> wow. yeah, that code is really silly
[2011/11/23 02:23:43] <kjetilho> it should've returned an object with a suitable .to_s method instead
[2011/11/23 02:24:09] <kjetilho> then it would be more usable in a template context at least
[2011/11/23 02:25:42] @ mpdude joined channel #puppet
[2011/11/23 02:26:00] <Yoe> exactly
[2011/11/23 02:26:55] * Yoe now does ("memorysize.to_f * 1024 * 1024").to_i to get an approximate kilobyte version, since all machines on which it matters have memory in the gigabytes anyway, but it makes no sense
[2011/11/23 02:27:35] <kjetilho> so you don't bother to check if it is in MiB or GiB?
[2011/11/23 02:28:16] <kjetilho> no 512 MiB VM's lurking? :)
[2011/11/23 02:28:17] <Yoe> like I said, all machines for which I'm going to be using this particular template are multi-gigabyte-memory machines, so I'm not going to, no
[2011/11/23 02:28:26] <kjetilho> ok
[2011/11/23 02:28:40] <Yoe> but it should not have been necessary in the first place
[2011/11/23 02:29:38] @ Quit: frostynova: Remote host closed the connection
[2011/11/23 02:30:11] <FaUl> can i somehow calculate varable content
[2011/11/23 02:30:18] <Yoe> FaUl: yes, with templates
[2011/11/23 02:30:22] <FaUl> like $var2 = var1 + var3 - var5
[2011/11/23 02:30:26] <Yoe> http://docs.puppetlabs.com/guides/templating.html
[2011/11/23 02:30:37] <FaUl> i mean directly in puppet class definitions
[2011/11/23 02:30:43] <Yoe> oh, right.
[2011/11/23 02:30:56] <Yoe> not sure about that
[2011/11/23 02:31:16] <kjetilho> FaUl: no, there's no arithmetic in the Puppet DSL
[2011/11/23 02:31:28] <kjetilho> you can use the Ruby DSL, or you can use inline_template()
[2011/11/23 02:31:48] <FaUl> that would be useful. i currently have a definition of ip-adresses for each service and it would be nice to aggregate all of them into a single array for the interface configuration
[2011/11/23 02:32:06] <Yoe> you want virtual resources for that
[2011/11/23 02:32:21] <Yoe> and/or floating resources (or what they're called)
[2011/11/23 02:32:25] * FaUl reads documentation on virtual resources ;)
[2011/11/23 02:32:51] <Yoe> s/floating/exported/
[2011/11/23 02:33:02] @ Holocaine joined channel #puppet
[2011/11/23 02:33:23] <Yoe> http://docs.puppetlabs.com/guides/virtual_resources.html
[2011/11/23 02:33:47] @ Quit: walterheck: Ping timeout: 245 seconds
[2011/11/23 02:33:57] <rodjek> kjetilho: FaUl: actually, there is arithmetic in the puppet dsl
[2011/11/23 02:34:04] @ saysjonathan joined channel #puppet
[2011/11/23 02:34:09] <rodjek> http://docs.puppetlabs.com/guides/language_guide.html#expressions
[2011/11/23 02:34:20] <rodjek> scroll down to 'arithmetic expressions'
[2011/11/23 02:34:58] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 02:34:59] <xorpaul> Can someone help me with this: I currently get my puppet reports via email, can I somehow get the actual diff of the changed files in those emails?
[2011/11/23 02:36:28] <kjetilho> oh sorry.
[2011/11/23 02:36:41] <FaUl> rodjek: yay, thats exactly what i was looking for
[2011/11/23 02:37:05] <kjetilho> but string and array operations are non-existant/awkward
[2011/11/23 02:37:06] @ Quit: erthad: Changing host
[2011/11/23 02:37:06] @ erthad joined channel #puppet
[2011/11/23 02:37:13] <kjetilho> stdlib helps, though
[2011/11/23 02:37:25] <FaUl> however, i did not know about virtual-ressources before, so i'll ask the more educated: whats the way to go
[2011/11/23 02:37:32] <artkrz> hey guys, where is facter getting hostname from ?
[2011/11/23 02:37:47] <FaUl> i for example have a variable $authorative_v4 = ["1.2.3.4", "2.3.4.5"]
[2011/11/23 02:38:02] @ erthad left channel #puppet ()
[2011/11/23 02:38:33] <FaUl> i'd now go for $secondary_lo = $authorative_v4 + [... other similar lists]
[2011/11/23 02:38:50] <FaUl> is that a good/proper way to do this or just hacky and ugly?
[2011/11/23 02:39:00] @ Quit: l0g1sic: Remote host closed the connection
[2011/11/23 02:39:48] @ Quit: sihil: Ping timeout: 252 seconds
[2011/11/23 02:44:04] @ saysjonathan joined channel #puppet
[2011/11/23 02:44:35] <Yoe> FaUl: I'd say that's pretty ugly.
[2011/11/23 02:45:03] <Yoe> FaUl: but first, I don't really know what you're trying to do with those IP addresses; it might be that virtual resources don't do what you need them to
[2011/11/23 02:45:14] @ kees_ joined channel #puppet
[2011/11/23 02:46:00] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 02:46:47] @ Quit: Ned_: Ping timeout: 244 seconds
[2011/11/23 02:46:51] <xorpaul> artkrz: On my system facter -p hostname calls /bin/hostname which calls the system call uname, does that help?
[2011/11/23 02:46:56] <FaUl> Yoe: for now i'm generating server-configurations out of it
[2011/11/23 02:47:10] <artkrz> xorpaul: let me check
[2011/11/23 02:47:25] @ Quit: halcyonCorsair: Ping timeout: 240 seconds
[2011/11/23 02:47:52] <Yoe> FaUl: as in, you have a central server that needs to do something with each and every one of the "other" servers on the network? or is it more services running on a single server?
[2011/11/23 02:47:54] <FaUl> and i also want to generate the interface-configuration out of it to ensure that if i add another ip-address to $authorative_v4, it ends up to be new on loopback as well
[2011/11/23 02:48:04] <Yoe> oh, that way
[2011/11/23 02:48:32] <kees_> btw, is it normal for facter to think 45 seconds about 'facter uptime'
[2011/11/23 02:49:01] <FaUl> yea, and i want to have that flexible. not all of my boxes are dns-servers, so authorative_v4 is only set if they belong to the dns-class
[2011/11/23 02:49:04] @ saysjonathan joined channel #puppet
[2011/11/23 02:49:04] <artkrz> kees_: no
[2011/11/23 02:49:05] <kjetilho> FaUl: I don't know, but you could look at this example: http://pastie.org/2908109
[2011/11/23 02:49:50] @ erthad joined channel #puppet
[2011/11/23 02:49:56] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 02:49:58] <kees_> hm, i guess something isn't running right than, cause both my testservers run that command in ~45s
[2011/11/23 02:50:00] <FaUl> no, thats just templating, not exactly what i am looking for
[2011/11/23 02:50:05] @ Quit: erthad: Changing host
[2011/11/23 02:50:05] @ erthad joined channel #puppet
[2011/11/23 02:50:21] <kjetilho> FaUl: what, my example?
[2011/11/23 02:50:26] <FaUl> kjetilho: yes
[2011/11/23 02:50:31] <kjetilho> no, it's not
[2011/11/23 02:50:43] @ nimrod10 joined channel #puppet
[2011/11/23 02:50:44] @ Quit: nimrod10: Excess Flood
[2011/11/23 02:50:47] <kjetilho> $list is a list
[2011/11/23 02:50:54] <kjetilho> in a template or outside a list
[2011/11/23 02:50:57] <FaUl> ah, ic
[2011/11/23 02:51:33] @ nimrod10 joined channel #puppet
[2011/11/23 02:51:53] <FaUl> but that does seam even more ugly and unintuitive to me then just $joinedarray = $array1 + $array2
[2011/11/23 02:52:29] <FaUl> so why is this better? (no offense, really courious)
[2011/11/23 02:52:46] <kjetilho> there is also a hack to avoid inheritance: http://pastie.org/2908125
[2011/11/23 02:53:06] <Yoe> FaUl: well, really, "ugly" is a subjective thing
[2011/11/23 02:53:08] <Yoe> if it works for you...
[2011/11/23 02:53:10] <erthad> hiall
[2011/11/23 02:53:18] <kjetilho> well, it depends on how your code is organised
[2011/11/23 02:53:34] <erthad> is there anywhere puppet custom type for parsing yaml?
[2011/11/23 02:53:39] <FaUl> Yoe: agreed. but i'm pretty new to puppet and i like to avoid things in my design that i'll later regret
[2011/11/23 02:54:05] @ saysjonathan joined channel #puppet
[2011/11/23 02:54:33] <kjetilho> FaUl: and obviously, the fact that $array1 + $array2 doesn't actually work is a point in favour of my alternative ;)
[2011/11/23 02:54:54] <kjetilho> FaUl: with stdlib you can write flatten([$array1, $array2])
[2011/11/23 02:54:56] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 02:55:21] <FaUl> kjetilho: really? http://docs.puppetlabs.com/guides/language_guide.html#expressions says otherwise
[2011/11/23 02:55:36] <FaUl> (or maybe i misinterpret it)
[2011/11/23 02:56:03] @ Quit: M-: Quit: This computer has gone to sleep
[2011/11/23 02:56:21] <kjetilho> that's integer arithmetic
[2011/11/23 02:56:32] <FaUl> see next point
[2011/11/23 02:56:37] <FaUl> "appending to variables"
[2011/11/23 02:57:05] <kjetilho> left operand of + is not a number at /tmp/foo.pp:11 on node blah
[2011/11/23 02:57:35] <FaUl> ok, so my generalization on the example was obviously wrong ;)
[2011/11/23 02:58:51] @ Quit: dnjaramba:
[2011/11/23 02:59:05] @ saysjonathan joined channel #puppet
[2011/11/23 02:59:26] <kjetilho> you can only do append in a subclass btw.
[2011/11/23 02:59:33] <FaUl> yea, ic
[2011/11/23 02:59:36] <FaUl> not in a superclass
[2011/11/23 02:59:41] @ Razique joined channel #puppet
[2011/11/23 03:00:16] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:02:05] @ Quit: Razique: Client Quit
[2011/11/23 03:02:12] @ Razique joined channel #puppet
[2011/11/23 03:03:07] @ pierre1 joined channel #puppet
[2011/11/23 03:03:53] <pierre1> Puppet::Node.find(fqdn).classes stopped working with puppet 2.7
[2011/11/23 03:04:04] <pierre1> looks like indirectors were rewritten?
[2011/11/23 03:04:05] @ saysjonathan joined channel #puppet
[2011/11/23 03:04:12] <pierre1> any idea of what could work?
[2011/11/23 03:05:17] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:07:33] <gwmngilfen> has anyone seen this error before when running puppet cert -c node.foo: err: Could not call revoke: Could not find a serial number for node.foo
[2011/11/23 03:09:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:09:57] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:14:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:15:15] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:19:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:20:04] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:24:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:24:59] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:25:03] @ Quit: Enf: Ping timeout: 244 seconds
[2011/11/23 03:25:16] @ Quit: twist_: Remote host closed the connection
[2011/11/23 03:26:49] <FaUl> hrm, another question
[2011/11/23 03:28:07] <FaUl> ok, got that, was a copy&paste-error ;)
[2011/11/23 03:28:54] <FaUl> hrm, but still
[2011/11/23 03:29:07] @ saysjonathan joined channel #puppet
[2011/11/23 03:29:10] <FaUl> E: Version '9.7.0.dfsg.P1-1ubuntu0.4' for 'bind9' was not found
[2011/11/23 03:29:37] <FaUl> however, dpkg -l claims that exactly this version is installed and apt-cache show bind9 also claims that this version is available
[2011/11/23 03:29:55] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:30:21] <FaUl> (i actually copy&pasted the version from dpkg -l)
[2011/11/23 03:30:29] <raphink> FaUl: bind9 has an epoch to it
[2011/11/23 03:30:39] <raphink> so it's 1:9.7.0.dfsg.P1-1ubuntu0.4
[2011/11/23 03:31:26] <FaUl> ah, ic
[2011/11/23 03:31:28] <FaUl> that worked
[2011/11/23 03:31:43] <FaUl> now it is odd that this did not work before, because i thought that this was the copy&paste error
[2011/11/23 03:33:36] <FaUl> however, i'm happy with that now
[2011/11/23 03:34:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:36:35] <dissipate> what the hell? it looks like puppet does not support symlinks in its files directories. :(
[2011/11/23 03:37:52] @ Quit: drewrm: Ping timeout: 240 seconds
[2011/11/23 03:38:56] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 03:39:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:40:03] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:40:31] @ MartVisser joined channel #puppet
[2011/11/23 03:43:54] @ AikiLinux|home joined channel #puppet
[2011/11/23 03:44:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:44:13] @ Quit: dissipate: Quit: Leaving
[2011/11/23 03:45:02] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:46:20] @ Quit: e1mer: Ping timeout: 252 seconds
[2011/11/23 03:47:28] <cverdeh> Anyone know of how one would go about having two Icinga server using the sane IDOU backend? As in a live/failover setup.
[2011/11/23 03:47:55] @ AikiLinux|home left channel #puppet ()
[2011/11/23 03:48:33] <cverdeh> Whoops, wrong room. You guys should talk about puppet more, I forgot that I was idling here :S
[2011/11/23 03:49:06] @ saysjonathan joined channel #puppet
[2011/11/23 03:49:39] <ssm> ask for a puppet manifest to set up two icinga servers using the same IDOU backend :P
[2011/11/23 03:49:53] <kjetilho> grrr. Puppet's handling of "undef" is braindead
[2011/11/23 03:49:57] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 03:50:40] <ssm> kjetilho: undef, :undef, "", false, nil, defined?(), etc?
[2011/11/23 03:50:42] @ Quit: sdog: Remote host closed the connection
[2011/11/23 03:51:10] <kjetilho> ssm: passing a default value to a define as $foo = undef, then file {"foo": source => $foo} doesn't work
[2011/11/23 03:51:20] <kjetilho> it thinks I meant source => "undef"
[2011/11/23 03:51:48] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 03:52:01] @ Quit: aglenday: Read error: Connection reset by peer
[2011/11/23 03:52:03] @ fronlius joined channel #puppet
[2011/11/23 03:52:06] <rodjek> kjetilho: i believe defined type args are converted to strings automatically
[2011/11/23 03:52:31] <ssm> Use a false value and some logic instead?
[2011/11/23 03:52:37] <kjetilho> yes, that's what I do
[2011/11/23 03:53:01] <kjetilho> source => $foo ? { false => undef, default => $foo }
[2011/11/23 03:53:04] <rodjek> file { 'foo': source => $foo ? { 'undef' => undef, default => foo }
[2011/11/23 03:53:36] @ Quit: fronlius: Read error: Connection reset by peer
[2011/11/23 03:53:38] <kjetilho> I guess since Puppet can't distinguish between undef and 'undef', it is better to use false, which is a true boolean
[2011/11/23 03:53:44] <kjetilho> AFAIK, at least...
[2011/11/23 03:53:45] @ saysjonathan joined channel #puppet
[2011/11/23 03:53:47] <ssm> I agree
[2011/11/23 03:53:58] @ fronlius joined channel #puppet
[2011/11/23 03:53:59] @ e1mer joined channel #puppet
[2011/11/23 03:54:08] <rodjek> it depends on the context of where undef is used
[2011/11/23 03:54:45] <kjetilho> a verbatim undef works. source => undef will remove the parameter (in an override)
[2011/11/23 03:54:50] <kjetilho> but as a default value...
[2011/11/23 03:54:50] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 03:54:55] @ aglenday joined channel #puppet
[2011/11/23 03:55:05] @ fronlius joined channel #puppet
[2011/11/23 03:55:10] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 03:55:27] @ fronlius joined channel #puppet
[2011/11/23 03:58:27] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 03:58:35] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 03:58:50] @ fronlius joined channel #puppet
[2011/11/23 03:58:51] @ Quit: fronlius: Read error: Connection reset by peer
[2011/11/23 03:59:07] @ saysjonathan joined channel #puppet
[2011/11/23 03:59:30] @ fronlius joined channel #puppet
[2011/11/23 04:00:35] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 04:03:07] @ thimothoeye joined channel #puppet
[2011/11/23 04:04:07] @ saysjonathan joined channel #puppet
[2011/11/23 04:05:21] @ lwhalen joined channel #puppet
[2011/11/23 04:06:16] @ Quit: brtl: Ping timeout: 240 seconds
[2011/11/23 04:06:37] @ Quit: n1x0n: Ping timeout: 240 seconds
[2011/11/23 04:06:54] * robinbowes is loving writing manifests using hiera + advanced data types
[2011/11/23 04:07:06] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 04:07:08] <robinbowes> Volcane++
[2011/11/23 04:07:31] @ n1x0n joined channel #puppet
[2011/11/23 04:07:46] @ fronlius joined channel #puppet
[2011/11/23 04:08:30] @ Quit: Holocaine:
[2011/11/23 04:08:41] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 04:09:08] @ saysjonathan joined channel #puppet
[2011/11/23 04:10:18] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 04:13:16] <kees_> ah, solved my slow facter problem.. it was asking the avahi daemon stuff.. i hate that daemon, never works, time to make a 'ensure => absent' config
[2011/11/23 04:14:08] @ saysjonathan joined channel #puppet
[2011/11/23 04:14:16] <Yoe> kees_: it works somewhat on home networks, but even then still
[2011/11/23 04:14:22] <Yoe> kees_: it has no place on servers, that much is true
[2011/11/23 04:15:02] <kees_> aye, and most distro's just install it anyway
[2011/11/23 04:15:03] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 04:15:06] @ Stenbryggen joined channel #puppet
[2011/11/23 04:15:30] <wollviech> avahi is usually one of the worst offenders regarding dependency creep in packages
[2011/11/23 04:19:08] @ saysjonathan joined channel #puppet
[2011/11/23 04:19:58] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 04:21:00] @ brtl joined channel #puppet
[2011/11/23 04:22:08] @ Quit: conntrack: Ping timeout: 248 seconds
[2011/11/23 04:23:39] @ conntrack joined channel #puppet
[2011/11/23 04:23:47] @ saysjonathan joined channel #puppet
[2011/11/23 04:24:13] @ Quit: conntrack: Read error: Connection reset by peer
[2011/11/23 04:25:03] @ conntrack joined channel #puppet
[2011/11/23 04:26:47] @ impatientspoon joined channel #puppet
[2011/11/23 04:27:57] @ dnjaramba joined channel #puppet
[2011/11/23 04:28:18] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 04:28:33] @ Quit: aglenday: Ping timeout: 276 seconds
[2011/11/23 04:29:08] @ saysjonathan joined channel #puppet
[2011/11/23 04:29:42] @ Quit: lwhalen: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/
[2011/11/23 04:30:01] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 04:33:10] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/23 04:36:21] @ car|0s joined channel #puppet
[2011/11/23 04:39:36] @ Quit: kinsel: Ping timeout: 260 seconds
[2011/11/23 04:41:19] @ kinsel joined channel #puppet
[2011/11/23 04:42:07] @ johnston joined channel #puppet
[2011/11/23 04:43:44] @ Quit: gaveen: Remote host closed the connection
[2011/11/23 04:43:47] @ saysjonathan joined channel #puppet
[2011/11/23 04:45:34] @ junkao joined channel #puppet
[2011/11/23 04:48:15] @ kelseyhightower joined channel #puppet
[2011/11/23 04:48:22] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 04:48:49] @ saysjonathan joined channel #puppet
[2011/11/23 04:49:45] <robinbowes> Why might it take 35.30 seconds to store state at the end of a puppet run?
[2011/11/23 04:51:54] @ aglenday joined channel #puppet
[2011/11/23 04:53:22] @ Quit: impatientspoon: Ping timeout: 258 seconds
[2011/11/23 04:53:30] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 04:53:31] @ marrusl joined channel #puppet
[2011/11/23 04:54:10] @ saysjonathan joined channel #puppet
[2011/11/23 04:54:12] @ Quit: marczak: Ping timeout: 245 seconds
[2011/11/23 04:55:25] @ Quit: aglenday: Max SendQ exceeded
[2011/11/23 04:55:26] @ bd joined channel #puppet
[2011/11/23 04:55:54] <bd> hi, it seems I can not use include hw::$lsbdistcodename to include a distribution specific class
[2011/11/23 04:56:22] @ aglenday joined channel #puppet
[2011/11/23 04:56:31] <kjetilho> bd: that used to work
[2011/11/23 04:56:44] <kjetilho> perhaps case-sensitivity is biting you
[2011/11/23 04:57:05] <bd> Syntax error at ':'; expected '}' at /etc/puppet/modules/hw/manifests/init.pp:21
[2011/11/23 04:57:16] <bd> line 21 is include hw::$lsbdistcodename
[2011/11/23 04:58:06] <kjetilho> hmm. we're using include users::host_specific::$hostname
[2011/11/23 04:58:26] <kjetilho> are you sure your LSB facts are working?
[2011/11/23 04:58:42] <bd> yes I can see them on the target machine
[2011/11/23 04:58:49] <bd> I can also case $lsb... {}
[2011/11/23 04:58:50] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 04:58:56] <bd> this is on 2.6.2 btw
[2011/11/23 04:59:10] @ saysjonathan joined channel #puppet
[2011/11/23 04:59:37] <bd> whole snippet is here: http://paste.debian.net/hidden/cf979933/
[2011/11/23 04:59:37] <robinbowes> bd: the syntax is include $hw::lsbdistcodename is it not?
[2011/11/23 04:59:42] @ Quit: dnjaramba: Ping timeout: 244 seconds
[2011/11/23 05:00:05] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 05:00:20] <bd> doh
[2011/11/23 05:00:24] <bd> robinbowes: yes it is.
[2011/11/23 05:00:40] @ dnjaramba joined channel #puppet
[2011/11/23 05:01:34] @ thimothoeye left channel #puppet ()
[2011/11/23 05:02:08] @ Ned_ joined channel #puppet
[2011/11/23 05:02:18] @ d3c joined channel #puppet
[2011/11/23 05:03:18] <d3c> when going into production, I guess I should replace all ensure => present for packages with a version number to make sure packages aren't upgraded unless I specify a new version?
[2011/11/23 05:04:10] @ saysjonathan joined channel #puppet
[2011/11/23 05:04:21] <robinbowes> No, you should use local mirrors of th erepos you want to use and update them in a controlled manner
[2011/11/23 05:04:25] <fragfutter> d3c: if you need exact control over versions i would run my own repository and use ensure => latest
[2011/11/23 05:05:29] <wollviech> d3c: ensure => present will not upgrade packages
[2011/11/23 05:05:38] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 05:05:52] @ Quit: junkao: Ping timeout: 248 seconds
[2011/11/23 05:05:52] <wollviech> d3c: it will only install the latest version if this package is not installed at all
[2011/11/23 05:06:11] @ Quit: helindbe: Quit: helindbe
[2011/11/23 05:06:37] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/23 05:06:46] <robinbowes> Yes, so you can end up with different package versions across your servers if a repo is updated between installs
[2011/11/23 05:06:55] <robinbowes> That may or may not be a problem
[2011/11/23 05:07:15] @ marczak joined channel #puppet
[2011/11/23 05:07:39] <kjetilho> can I get the filepath on the master for a Puppet URL (for use in a custom function)?
[2011/11/23 05:07:40] @ Quit: dnjaramba: Remote host closed the connection
[2011/11/23 05:07:43] <wollviech> a cronjob sending you an email once a day with a list of packages that could be upgraded based on what is in your repositories is also a good idea ;-)
[2011/11/23 05:07:46] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/23 05:07:55] @ dnjaramba joined channel #puppet
[2011/11/23 05:08:44] <wollviech> also, +1 to the suggestion of maintaining a local mirror if you need to strict package change controls
[2011/11/23 05:09:33] <fragfutter> wollviech: what do i make with the 300mails per day? throw them away!
[2011/11/23 05:10:59] <robinbowes> So, I run puppetd on one node with --debug and get this: debug: Stored state in 0.12 seconds
[2011/11/23 05:11:06] @ M- joined channel #puppet
[2011/11/23 05:11:26] <bd> fragfutter: debian has an "send incremental info only" option to apt-dater.
[2011/11/23 05:11:34] <robinbowes> I run it on a different node (same command-line) and get this: debug: Stored state in 31.06 seconds
[2011/11/23 05:11:34] <bd> fragfutter: so you will get an email only oce
[2011/11/23 05:11:37] <bd> once even
[2011/11/23 05:11:43] @ MattyM joined channel #puppet
[2011/11/23 05:12:01] <robinbowes> 31.06 seconds???? wtf?
[2011/11/23 05:13:14] <robinbowes> Hmm, steate.yaml is 21M - is that normal?
[2011/11/23 05:13:19] <robinbowes> *state.yml
[2011/11/23 05:13:22] <robinbowes> *state.yaml
[2011/11/23 05:13:50] @ saysjonathan joined channel #puppet
[2011/11/23 05:13:52] @ Quit: n0ts_: Ping timeout: 248 seconds
[2011/11/23 05:14:24] @ Quit: dnjaramba: Remote host closed the connection
[2011/11/23 05:15:04] @ dnjaramba joined channel #puppet
[2011/11/23 05:16:28] @ susman joined channel #puppet
[2011/11/23 05:17:11] <xorpaul> robinbowes: Hmm, mine is 61K and grep -c File state.yaml results in 421, but I don't know what puppet exactly stores in that file
[2011/11/23 05:18:14] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 05:18:31] @ n0ts_ joined channel #puppet
[2011/11/23 05:19:12] <robinbowes> OK, it looks like it contains a lot of state from the previous run
[2011/11/23 05:19:45] <robinbowes> THe manifests I am rpelacing had a particularly inefficient File call that recurses down a large tree checking permissions
[2011/11/23 05:19:57] <robinbowes> Looks like all that state is left in the file
[2011/11/23 05:20:35] @ astrostl joined channel #puppet
[2011/11/23 05:21:20] <Schmidt> How do i best express that a package in module A depends on module B ?
[2011/11/23 05:22:06] <kees_> require => Class['moduleb'] ?
[2011/11/23 05:22:07] <Schmidt> something like package {'bla': [...] require => Class[::B], }
[2011/11/23 05:22:25] @ cliff-hm joined channel #puppet
[2011/11/23 05:22:59] <Schmidt> alright, I got the right idea. Thanks kees_
[2011/11/23 05:23:01] @ Quit: marczak: Ping timeout: 240 seconds
[2011/11/23 05:25:06] @ marczak joined channel #puppet
[2011/11/23 05:29:04] @ Quit: bobra: Ping timeout: 240 seconds
[2011/11/23 05:31:36] @ jfcastro joined channel #puppet
[2011/11/23 05:32:06] <jfcastro> hi! how method of install use puppet agent in freebsd? packages or ports?
[2011/11/23 05:34:11] @ saysjonathan joined channel #puppet
[2011/11/23 05:35:13] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 05:37:07] <neilh> Hi, does anyone here use puppet to manage users in ldap?
[2011/11/23 05:37:42] @ lkoranda joined channel #puppet
[2011/11/23 05:39:11] @ saysjonathan joined channel #puppet
[2011/11/23 05:40:53] <kjetilho> grrr. the Puppet parser isn't very generic. can't use "$foo or $bar" as a source value in a selector
[2011/11/23 05:41:34] <kjetilho> had to use a helper variable, $_foo = $foo or $bar
[2011/11/23 05:41:36] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 05:43:23] @ frostynova joined channel #puppet
[2011/11/23 05:44:11] @ saysjonathan joined channel #puppet
[2011/11/23 05:44:54] @ DbT_ joined channel #puppet
[2011/11/23 05:45:22] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 05:48:50] @ saysjonathan joined channel #puppet
[2011/11/23 05:50:20] @ Quit: themurph: Quit: themurph
[2011/11/23 05:50:40] @ Quit: ranjan: Quit: Page closed
[2011/11/23 05:51:53] @ Quit: marczak: Ping timeout: 244 seconds
[2011/11/23 05:53:14] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 05:53:20] @ blentz joined channel #puppet
[2011/11/23 05:53:46] @ samkottler joined channel #puppet
[2011/11/23 05:53:50] @ saysjonathan joined channel #puppet
[2011/11/23 05:56:17] <jfcastro> how can I configure a package to answer "yes" in install process?
[2011/11/23 05:57:17] @ jasiek joined channel #puppet
[2011/11/23 05:58:02] <jasiek> hey, i'm building a git repo with puppet configs for a few machines. i'd like to be able to clone it and then run sudo puppet apply. is there a way to make puppet look for modules in a given location?
[2011/11/23 05:58:22] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 05:58:36] @ Quit: dnjaramba: Ping timeout: 244 seconds
[2011/11/23 05:59:35] @ dnjaramba joined channel #puppet
[2011/11/23 06:01:25] @ Quit: dak419: Quit: Leaving.
[2011/11/23 06:02:12] @ uphillian joined channel #puppet
[2011/11/23 06:02:19] @ uphillian left channel #puppet ()
[2011/11/23 06:02:31] @ themurph joined channel #puppet
[2011/11/23 06:02:56] @ tremble joined channel #puppet
[2011/11/23 06:03:07] @ uphillian joined channel #puppet
[2011/11/23 06:05:06] @ saysjonathan joined channel #puppet
[2011/11/23 06:05:07] @ Quit: themurph: Read error: Connection reset by peer
[2011/11/23 06:06:08] @ pheller joined channel #puppet
[2011/11/23 06:07:11] @ pheller left channel #puppet ()
[2011/11/23 06:07:59] @ brandon_dacrib joined channel #puppet
[2011/11/23 06:09:32] @ Razique_ joined channel #puppet
[2011/11/23 06:09:34] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:10:06] @ saysjonathan joined channel #puppet
[2011/11/23 06:11:14] <jfcastro> what name is default package provider in Debian?
[2011/11/23 06:12:16] <fragfutter> dpkg
[2011/11/23 06:12:24] <kjetilho> aptitude usually
[2011/11/23 06:12:41] <kjetilho> but can also be "apt", I guess?
[2011/11/23 06:13:02] <kjetilho> not sure if aptitude is uninstallable
[2011/11/23 06:13:29] <fragfutter> dpgk ist the package manager, everything else is a frontend.
[2011/11/23 06:13:36] @ Quit: Razique: Ping timeout: 248 seconds
[2011/11/23 06:13:36] @ Razique_ is now known as Razique
[2011/11/23 06:14:02] @ walterheck joined channel #puppet
[2011/11/23 06:14:07] <kjetilho> fragfutter: no one uses the "dpkg" provider. it's like using the "rpm" provider on RHEL
[2011/11/23 06:14:16] <fragfutter> puppet by default uses apt
[2011/11/23 06:14:29] <zykes-> lynxman: ?
[2011/11/23 06:14:40] @ marczak joined channel #puppet
[2011/11/23 06:14:42] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:15:06] @ saysjonathan joined channel #puppet
[2011/11/23 06:15:26] <fragfutter> kjetilho: http://docs.puppetlabs.com/references/stable/type.html#package
[2011/11/23 06:15:27] @ jsm joined channel #puppet
[2011/11/23 06:15:46] <kjetilho> fragfutter: I see it now. in apt.rb, defaultfor :operatingsystem => [:debian, :ubuntu]
[2011/11/23 06:16:05] <_rc_> as the question was about what puppet provider, the answer is apt
[2011/11/23 06:17:21] <jfcastro> kjetilho, fragfutter: then default in Debian is apt?
[2011/11/23 06:17:28] <kjetilho> yes
[2011/11/23 06:17:30] <fragfutter> jfcastro: yes
[2011/11/23 06:17:31] <jfcastro> ok
[2011/11/23 06:17:35] <jfcastro> thanks ;)
[2011/11/23 06:17:40] @ Quit: kermit: Quit: Leaving.
[2011/11/23 06:17:40] @ Quit: dnjaramba: Remote host closed the connection
[2011/11/23 06:18:01] @ kermit joined channel #puppet
[2011/11/23 06:19:28] @ dak419 joined channel #puppet
[2011/11/23 06:19:37] @ dnjaramba joined channel #puppet
[2011/11/23 06:19:50] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:20:00] @ Quit: elementai: Quit: Leaving.
[2011/11/23 06:20:09] @ saysjonathan joined channel #puppet
[2011/11/23 06:23:56] @ Quit: dnjaramba: Remote host closed the connection
[2011/11/23 06:24:06] @ Yann2 joined channel #puppet
[2011/11/23 06:24:14] @ dnjaramba joined channel #puppet
[2011/11/23 06:24:22] <Yann2> hello! Is it possible to export a file built by puppet-concat?
[2011/11/23 06:24:30] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:25:27] @ saysjonathan joined channel #puppet
[2011/11/23 06:26:25] @ geekbri joined channel #puppet
[2011/11/23 06:26:32] <rosco> Can I delete the /var/lib/puppet/reports files without problems (huge folder)
[2011/11/23 06:27:37] @ Quit: samkottler: Quit: Leaving.
[2011/11/23 06:30:01] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 06:30:33] @ saysjonathan joined channel #puppet
[2011/11/23 06:31:35] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 06:33:28] @ Quit: jaytaph: Ping timeout: 240 seconds
[2011/11/23 06:33:29] <astrostl> if i want to do a recursive chown should i use an exec rather than a recursive file resource? it looks like it's taking forever with the latter
[2011/11/23 06:33:49] <astrostl> i guess it's statting/checking each file
[2011/11/23 06:33:56] @ jaytaph joined channel #puppet
[2011/11/23 06:33:57] <robinbowes> astrostl: you should prob. not do that every run
[2011/11/23 06:34:20] <astrostl> yeah i could do an unless
[2011/11/23 06:34:37] <astrostl> with a file resource it's hammering it every run though
[2011/11/23 06:35:14] @ saysjonathan joined channel #puppet
[2011/11/23 06:35:39] <astrostl> 1.69 seconds without, 32.33 with
[2011/11/23 06:35:52] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2011/11/23 06:36:46] @ Quit: jaytaph: Read error: Connection reset by peer
[2011/11/23 06:36:59] @ jaytaph joined channel #puppet
[2011/11/23 06:37:32] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/23 06:38:04] <robinbowes> What's the tree?
[2011/11/23 06:38:39] <robinbowes> The other thing is that every resource that is touched by puppet is written to state.yaml
[2011/11/23 06:39:01] <robinbowes> So, if you recurse a large tree, it can take a long time to write the state file
[2011/11/23 06:39:54] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:40:14] @ saysjonathan joined channel #puppet
[2011/11/23 06:40:26] <astrostl> it's a tomcat directory
[2011/11/23 06:40:36] <astrostl> i'm doing an exec/unless now
[2011/11/23 06:40:43] <robinbowes> And do you need to recurse it?
[2011/11/23 06:40:50] <astrostl> initially, yes
[2011/11/23 06:41:02] <robinbowes> I'd personally bundle it so the install sets the perms
[2011/11/23 06:41:19] <astrostl> i'll get there eventually
[2011/11/23 06:41:36] <astrostl> for now, http://pastie.org/private/b7hjp1awtjerdvz45ndfhg
[2011/11/23 06:41:43] <robinbowes> (I am actually in exactly the same situation - I inherited a manifest that does a recursive chmod down a jboss tree)
[2011/11/23 06:41:57] <astrostl> (with a -R)
[2011/11/23 06:42:32] @ Quit: marczak: Ping timeout: 245 seconds
[2011/11/23 06:44:34] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:44:57] <jfcastro> how can I change provider of a package?
[2011/11/23 06:45:09] <fragfutter> provider =>
[2011/11/23 06:45:14] @ saysjonathan joined channel #puppet
[2011/11/23 06:45:16] @ marczak joined channel #puppet
[2011/11/23 06:45:19] <jfcastro> I did: class apache::install {
[2011/11/23 06:45:19] <jfcastro> package { $apache::params::package:
[2011/11/23 06:45:19] <jfcastro> provider => 'ports',
[2011/11/23 06:45:19] <jfcastro> ensure => present,
[2011/11/23 06:45:19] <jfcastro> }
[2011/11/23 06:45:20] <jfcastro> }
[2011/11/23 06:45:21] @ kaptk2 joined channel #puppet
[2011/11/23 06:45:38] <robinbowes> pastie.org
[2011/11/23 06:45:38] <jfcastro> and I get this error: Invalid package provider 'ports'
[2011/11/23 06:45:48] @ dwalu joined channel #puppet
[2011/11/23 06:45:48] @ Quit: Vasik|work: Read error: Connection reset by peer
[2011/11/23 06:45:54] <jfcastro> robinbowes: sorry
[2011/11/23 06:49:33] @ jsurfer joined channel #puppet
[2011/11/23 06:49:42] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:49:46] <astrostl> jfcastro: try it without a quote?
[2011/11/23 06:50:05] <astrostl> it is a "builtin," sorta like "true"
[2011/11/23 06:50:19] @ saysjonathan joined channel #puppet
[2011/11/23 06:50:49] @ Quit: kees_: Remote host closed the connection
[2011/11/23 06:51:28] @ AshishH joined channel #puppet
[2011/11/23 06:52:43] <jfcastro> astrostl: I tried and it didn't work :-(
[2011/11/23 06:52:58] @ agwells0714 joined channel #puppet
[2011/11/23 06:54:21] @ Quit: dnjaramba: Ping timeout: 260 seconds
[2011/11/23 06:54:49] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 06:55:14] @ saysjonathan joined channel #puppet
[2011/11/23 06:55:28] @ dnjaramba joined channel #puppet
[2011/11/23 06:56:04] @ Quit: marczak: Ping timeout: 258 seconds
[2011/11/23 06:56:33] @ sdog joined channel #puppet
[2011/11/23 06:56:41] <robinbowes> jfcastro: I presume this is FreeBSD?
[2011/11/23 06:57:28] @ Quit: jaytaph: Ping timeout: 276 seconds
[2011/11/23 06:57:40] @ Quit: sdog: Changing host
[2011/11/23 06:57:40] @ sdog joined channel #puppet
[2011/11/23 06:57:59] @ Quit: scobal: Remote host closed the connection
[2011/11/23 06:59:24] <jfcastro> robinbowes: client yes
[2011/11/23 06:59:31] <jfcastro> robinbowes: master is Debian
[2011/11/23 06:59:39] @ themurph joined channel #puppet
[2011/11/23 06:59:57] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 07:00:05] <astrostl> running the same version on master and client?
[2011/11/23 07:00:18] <astrostl> what does puppetd -td say?
[2011/11/23 07:00:20] <jfcastro> astrostl: how can I viwe that?
[2011/11/23 07:00:22] <jfcastro> ok
[2011/11/23 07:00:33] <astrostl> view the versions?
[2011/11/23 07:00:43] <astrostl> puppet --version
[2011/11/23 07:00:45] <astrostl> on both sides
[2011/11/23 07:00:47] @ jaytaph joined channel #puppet
[2011/11/23 07:01:21] <jfcastro> master is 2.6.2
[2011/11/23 07:01:40] <jfcastro> and client is 2.6.4
[2011/11/23 07:01:43] <kjetilho> does it have a ports.rb ?
[2011/11/23 07:01:46] <kjetilho> the master
[2011/11/23 07:01:49] <jfcastro> yes
[2011/11/23 07:01:52] <astrostl> you always want an older client than master, or the same
[2011/11/23 07:01:59] @ Quit: jsm: Quit: jsm
[2011/11/23 07:02:10] <astrostl> i don't know if it relates here, seems unlikely, but it's worth noting
[2011/11/23 07:02:17] @ Quit: frostynova: Remote host closed the connection
[2011/11/23 07:02:30] <jfcastro> :/usr/lib/ruby/1.8/puppet/provider/package# ls
[2011/11/23 07:02:30] <jfcastro> aix.rb aptrpm.rb freebsd.rbpkgdmg.rbrpm.rburpmi.rb
[2011/11/23 07:02:31] <jfcastro> appdmg.rb blastwave.rb gem.rbpkg.rbrug.rbyumhelper.py
[2011/11/23 07:02:31] <jfcastro> apple.rb darwinport.rb hpux.rbportage.rbsunfreeware.rbyum.rb
[2011/11/23 07:02:31] <jfcastro> aptitude.rb dpkg.rb nim.rbports.rbsun.rbzypper.rb
[2011/11/23 07:02:33] <jfcastro> apt.rb fink.rb openbsd.rbportupgrade.rbup2date.rb
[2011/11/23 07:02:39] <kjetilho> the paths look strange on my copy. it uses stuff in /usr/local/sbin ???
[2011/11/23 07:05:21] @ zwi joined channel #puppet
[2011/11/23 07:05:59] @ scobal joined channel #puppet
[2011/11/23 07:06:28] @ saysjonathan joined channel #puppet
[2011/11/23 07:07:12] @ Quit: aglenday: Ping timeout: 240 seconds
[2011/11/23 07:07:41] @ impatientspoon joined channel #puppet
[2011/11/23 07:07:59] @ marczak joined channel #puppet
[2011/11/23 07:09:31] @ skippy joined channel #puppet
[2011/11/23 07:10:35] <skippy> if I want to ensure that a couple user accounts are _not_ on my servers, can I pass an array to a user{} type, rather than declare four separate `user { "user1": ensure => absent }`
[2011/11/23 07:11:10] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 07:11:15] <kjetilho> user { 'a': } user { 'b': } is equivalent to user { ['a', 'b']: }
[2011/11/23 07:11:31] <_rc_> you can pass an array for any namevar and it'll expand it out
[2011/11/23 07:11:31] <skippy> perfect. thanks.
[2011/11/23 07:11:51] @ saysjonathan joined channel #puppet
[2011/11/23 07:13:03] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 07:13:18] <lynxman> zykes-?
[2011/11/23 07:19:33] @ kangman joined channel #puppet
[2011/11/23 07:20:52] @ Quit: larstobi: Quit: Leaving.
[2011/11/23 07:21:05] @ Quit: dnjaramba:
[2011/11/23 07:25:56] @ jonhattan joined channel #puppet
[2011/11/23 07:30:10] @ mapope joined channel #puppet
[2011/11/23 07:31:54] @ neonflux joined channel #puppet
[2011/11/23 07:31:55] @ Quit: Ramonster: Ping timeout: 276 seconds
[2011/11/23 07:32:05] @ pfo joined channel #puppet
[2011/11/23 07:32:38] @ Quit: scobal: Read error: Connection reset by peer
[2011/11/23 07:32:48] @ saysjonathan joined channel #puppet
[2011/11/23 07:33:38] @ Ramonster joined channel #puppet
[2011/11/23 07:34:40] @ labrown joined channel #puppet
[2011/11/23 07:35:28] @ scobal joined channel #puppet
[2011/11/23 07:35:56] @ Quit: mapope: Read error: Connection reset by peer
[2011/11/23 07:36:16] @ Quit: mogitaff: Ping timeout: 248 seconds
[2011/11/23 07:36:24] @ Quit: mfladischer: Remote host closed the connection
[2011/11/23 07:37:17] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 07:37:54] @ inecas joined channel #puppet
[2011/11/23 07:38:04] @ riha left channel #puppet ()
[2011/11/23 07:38:24] <ashp> So guys who have a seperate puppetmaster setup for development work
[2011/11/23 07:38:31] <ashp> do you point it to the same database as your production puppet instance?
[2011/11/23 07:38:47] <ashp> My idea was to have a fully seperate puppetmaster that I develop manifests on and test them by pointing nodes at it with --server when doing -tv runs
[2011/11/23 07:39:06] <ashp> To do that I figure I should point it at the production DB so it picks up the foreman stuff as well as the right exported resources
[2011/11/23 07:39:09] <inecas> anyone some ideas on achieving puppet manifest to wait for a service to be really ready after start? http://stackoverflow.com/questions/8244663/puppet-wait-for-a-service-to-be-ready/8244881#8244881
[2011/11/23 07:40:16] <bd> ichilton: depend on an Exec that checks that and only returns once the service is ready?
[2011/11/23 07:40:18] <fragfutter> inecas: fix the startscript
[2011/11/23 07:41:22] @ mcarpent joined channel #puppet
[2011/11/23 07:41:38] <inecas> fragfutter: no other solution? what if I would like to do some stuff that is not dependent on this service to be executed in the mean time?
[2011/11/23 07:41:51] @ Quit: dwalu: Quit: dwalu
[2011/11/23 07:42:13] @ Quit: Meier: Quit: Leaving.
[2011/11/23 07:42:36] @ dan__t joined channel #puppet
[2011/11/23 07:42:49] <bd> inecas: that line was meant for you, *cough* tabcompletion
[2011/11/23 07:42:51] <fragfutter> inecas: either you want to wait for the startup to complete, or you don't want to wait. There are no paralell tasks in puppet
[2011/11/23 07:43:03] <dan__t> 'morning.
[2011/11/23 07:43:13] @ hobbeswalsh joined channel #puppet
[2011/11/23 07:43:17] @ Quit: nuknad: Quit: nuknad
[2011/11/23 07:43:52] @ Quit: pfo: Quit: pfo
[2011/11/23 07:44:18] @ dwalu joined channel #puppet
[2011/11/23 07:44:24] @ saysjonathan joined channel #puppet
[2011/11/23 07:44:41] <inecas> bd: sounds reasonable, I will try that
[2011/11/23 07:45:32] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/11/23 07:46:52] @ Bezzie joined channel #puppet
[2011/11/23 07:47:39] <inecas> bd, fragfutter thx for inputs, I hope it will help
[2011/11/23 07:48:33] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 07:50:47] @ illsci joined channel #puppet
[2011/11/23 07:51:14] <illsci> I'm just getting started with the cron type.... If I wanted to run something every 15 minutes it would be min => [0, 15, 30, 45] ?
[2011/11/23 07:51:28] @ Quit: fronlius: Remote host closed the connection
[2011/11/23 07:51:36] <illsci> and I could just specify the min and the rest of the typical entries default to * * * *
[2011/11/23 07:51:43] <illsci> ?
[2011/11/23 07:51:43] @ fronlius joined channel #puppet
[2011/11/23 07:52:18] @ AikiLinux|home joined channel #puppet
[2011/11/23 07:52:46] @ AikiLinux|home left channel #puppet ()
[2011/11/23 07:52:54] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/23 07:53:17] @ benkevan joined channel #puppet
[2011/11/23 07:53:45] @ Quit: jaytaph: Quit: jaytaph
[2011/11/23 07:54:06] <bosszaru> minute => '*/15',
[2011/11/23 07:54:12] <bosszaru> will run every 15 minutes
[2011/11/23 07:54:51] <illsci> but that would be the same as min => [0, 15, 30, 45]
[2011/11/23 07:54:53] <illsci> correct?
[2011/11/23 07:55:06] @ pfo joined channel #puppet
[2011/11/23 07:56:11] @ Quit: dak419: Quit: Leaving.
[2011/11/23 07:57:39] <bosszaru> the rest will default, but the */15 is straight from a working manifest. I seem to rember some issue somewhere with specifying an array
[2011/11/23 07:57:49] <bosszaru> but cannot remember if it was the cron type
[2011/11/23 07:57:54] * bosszaru needs caffiene
[2011/11/23 07:58:10] * supplicant doesn't like the cron type
[2011/11/23 07:58:29] @ Quit: dwalu: Quit: dwalu
[2011/11/23 07:58:59] @ Quit: Ramonster: Read error: Operation timed out
[2011/11/23 07:59:06] <fragfutter> dropping files in cron.d might be nicer
[2011/11/23 07:59:29] <Diranged> anyone know much about rake, puppet-lint or ruby? i cant fifgure this error out: http://pastie.org/2907205
[2011/11/23 07:59:30] * neilh wrote a type to drop files in /etc/cron.{d,daily,weekly,...}
[2011/11/23 07:59:36] <supplicant> my boss complained to me that wasn't portable so I had to stop doing that
[2011/11/23 07:59:40] <Diranged> i get at the end of every rake lint run i make..
[2011/11/23 07:59:55] @ jfcastro left channel #puppet ("Leaving")
[2011/11/23 08:01:40] @ ahumbe joined channel #puppet
[2011/11/23 08:03:24] @ ahumbe_ joined channel #puppet
[2011/11/23 08:03:48] @ Ramonster joined channel #puppet
[2011/11/23 08:04:04] @ saysjonathan joined channel #puppet
[2011/11/23 08:07:02] @ Quit: ahumbe: Ping timeout: 252 seconds
[2011/11/23 08:07:22] @ Quit: AshishH: Ping timeout: 258 seconds
[2011/11/23 08:08:33] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 08:09:05] @ saysjonathan joined channel #puppet
[2011/11/23 08:10:30] <kjetilho> I wonder how many times I've done "puppetd --noop"
[2011/11/23 08:10:40] <kjetilho> leaving a very useless daemon running :-)
[2011/11/23 08:10:41] @ TylerWalts joined channel #puppet
[2011/11/23 08:11:54] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/23 08:13:06] @ Quit: ahumbe_: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2011/11/23 08:13:23] @ AshishH joined channel #puppet
[2011/11/23 08:13:41] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 08:13:42] @ Quit: Vide: Read error: Connection reset by peer
[2011/11/23 08:16:21] @ jaytaph joined channel #puppet
[2011/11/23 08:18:49] @ Quit: Razique: Quit: Razique
[2011/11/23 08:20:28] <Whoop> hurm - downloads link appears to be dead
[2011/11/23 08:20:37] <Whoop> http://info.puppetlabs.com/register-download - links to http://www.puppetlabs.com/misc/download-options/ which 404s
[2011/11/23 08:22:38] <Whoop> oh wait, my browser redirects to https - which 404s
[2011/11/23 08:22:43] <Whoop> http doesnt display same as https, awesome :)
[2011/11/23 08:22:45] @ dak419 joined channel #puppet
[2011/11/23 08:26:08] @ Razique joined channel #puppet
[2011/11/23 08:26:21] @ Quit: Razique: Remote host closed the connection
[2011/11/23 08:26:28] @ Razique joined channel #puppet
[2011/11/23 08:26:56] @ saysjonathan joined channel #puppet
[2011/11/23 08:27:48] @ Quit: fragfutter: Quit: power going away in 3...2..1
[2011/11/23 08:29:34] @ Quit: jaytaph: Quit: jaytaph
[2011/11/23 08:31:26] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 08:32:45] @ Quit: MartVisser: Quit: Leaving
[2011/11/23 08:34:24] @ RhysMorgan joined channel #puppet
[2011/11/23 08:34:32] @ Quit: marczak: Read error: Connection reset by peer
[2011/11/23 08:34:48] @ rharrison joined channel #puppet
[2011/11/23 08:34:50] <RhysMorgan> Hey guys, using PE2.0 and I've noticed after a few days that no runs are showing up in the console
[2011/11/23 08:35:01] <RhysMorgan> I can see that the runs are happening from the client side though
[2011/11/23 08:35:35] @ ghg joined channel #puppet
[2011/11/23 08:35:40] @ Quit: d3c: Ping timeout: 244 seconds
[2011/11/23 08:37:57] @ marczak joined channel #puppet
[2011/11/23 08:39:43] @ Quit: raphdg: Remote host closed the connection
[2011/11/23 08:40:07] @ Quit: marczak: Read error: Connection reset by peer
[2011/11/23 08:43:04] @ marczak joined channel #puppet
[2011/11/23 08:43:37] @ artista_frustrad joined channel #puppet
[2011/11/23 08:43:58] @ lak joined channel #puppet
[2011/11/23 08:43:59] @ Quit: lak: Changing host
[2011/11/23 08:43:59] @ lak joined channel #puppet
[2011/11/23 08:45:50] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/23 08:46:18] @ sumsuch joined channel #puppet
[2011/11/23 08:46:38] <maxb> http://paste.ubuntu.com/747238/ <--- why doesn't adding a method to the Hash class and then calling it work within an ERB <% %> block?
[2011/11/23 08:47:05] <maxb> I get "Error 400 on SERVER: Failed to parse template mcollective/facts.yaml.erb: undefined method `to_sorted_yaml' for #<Hash:0x2aaaadfefa38> at /etc/puppet/modules/mcollective/manifests/server.pp:141"
[2011/11/23 08:49:00] <masterzen> maxb: that's because you're adding the method to the new instances of hash, not the one created before...
[2011/11/23 08:49:30] @ mrwacky42 joined channel #puppet
[2011/11/23 08:50:26] <maxb> oh
[2011/11/23 08:50:52] <maxb> scope.to_hash doesn't create a new Hash, then?
[2011/11/23 08:51:08] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/23 08:51:10] <robinbowes> masterzen: hi
[2011/11/23 08:51:45] <masterzen> maxb: or maybe I'm wrong :)
[2011/11/23 08:51:49] <masterzen> robinbowes: hi
[2011/11/23 08:52:02] <robinbowes> So, I'm using hiera to lookup the roles (classes) that should be applied to my nodes
[2011/11/23 08:52:07] @ samkottler joined channel #puppet
[2011/11/23 08:52:07] @ Quit: samkottler: Client Quit
[2011/11/23 08:52:10] <masterzen> maxb: I just tested in irb with an hash created before and it works.
[2011/11/23 08:52:11] @ Quit: sarkis: Remote host closed the connection
[2011/11/23 08:52:23] <robinbowes> I have this in manifests.pp:
[2011/11/23 08:52:24] <maxb> right, that's more what I'd expect
[2011/11/23 08:52:24] <robinbowes> $node = hiera($fqdn, '', 'nodes')
[2011/11/23 08:52:26] <robinbowes> include $node['role']
[2011/11/23 08:52:51] <robinbowes> Works great if $node['role'] is a single role
[2011/11/23 08:52:55] @ samkottler joined channel #puppet
[2011/11/23 08:53:08] <masterzen> robinbowes: but not if it's an array?
[2011/11/23 08:53:12] <robinbowes> Right
[2011/11/23 08:53:18] @ Quit: Gareth: Quit: mjg59
[2011/11/23 08:53:49] @ Quit: mrwacky42: Ping timeout: 260 seconds
[2011/11/23 08:53:55] <robinbowes> Any way round that / alternative approach?
[2011/11/23 08:54:20] <robinbowes> eg. I have the following returned as the role for one specific host: ["role::glue", "role::mysql", "role::dns::primary"]
[2011/11/23 08:54:22] @ Quit: pfo: Quit: pfo
[2011/11/23 08:54:35] @ m3ridian joined channel #puppet
[2011/11/23 08:55:49] <masterzen> robinbowes: the problem is that include might not support an array...
[2011/11/23 08:56:13] <robinbowes> Yes, I can believe it
[2011/11/23 08:56:37] <TylerWalts> I start using puppet to do server builds, and already loving it over using bash scripts. Have the master set up and can run puppet agent on new boxes to configure clients, but in seems that every new client has to have a node declaration (with name matching client hostname) in manifests/nodes.pp... any ways to pass in the name of a node without it being the hostname of the box - ie. pass in the type of node that I want it to be
[2011/11/23 08:56:51] @ Quit: sp33t: Ping timeout: 244 seconds
[2011/11/23 08:57:14] <robinbowes> And there's no way to iterate over an array is there?
[2011/11/23 08:57:41] @ trickyf left channel #puppet ()
[2011/11/23 08:58:30] <robinbowes> I wonder if I can flatten the array and join back together sing inline_template?
[2011/11/23 08:59:06] @ seanh-ansca joined channel #puppet
[2011/11/23 08:59:11] <masterzen> robinbowes: normally most functions can take an array. I'm wondering if the parser is not doing something strange
[2011/11/23 08:59:18] @ dwalu joined channel #puppet
[2011/11/23 08:59:26] <m3ridian> I have created 2 almost identical manifests to recursively copy 2 different directories from master machine to agent. When I enable the first manifest on the node everythings runs fine but if I enable the second one the agent just consumes 100% and stops responding and does not copy any files. How would I go about to resolve this ?
[2011/11/23 09:00:07] <robinbowes> The error is actually:
[2011/11/23 09:00:09] <robinbowes> err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `downcase' for ["role::glue", "role::mysql", "role::dns::primary"]:Array at /opt/puppet/master/manifests/nodes.pp:17 on node
[2011/11/23 09:00:49] <robinbowes> There is an hiera_include function
[2011/11/23 09:01:14] <robinbowes> Let me find it...
[2011/11/23 09:01:25] @ Quit: lak: Quit: Leaving.
[2011/11/23 09:01:40] <masterzen> robinbowes: can you run with --trace on the master and pastie the error?
[2011/11/23 09:01:49] <robinbowes> Sure
[2011/11/23 09:02:00] <robinbowes> Hang on - what do you mean?
[2011/11/23 09:02:07] @ Quit: Spads: Ping timeout: 248 seconds
[2011/11/23 09:02:09] <robinbowes> restart the master with --trace and hit it with the client?
[2011/11/23 09:02:47] @ Quit: jodok: Quit: jodok
[2011/11/23 09:02:57] @ larstobi joined channel #puppet
[2011/11/23 09:03:03] @ Quit: madduck: Ping timeout: 244 seconds
[2011/11/23 09:04:40] <robinbowes> Just the same message
[2011/11/23 09:07:32] @ jbarnett joined channel #puppet
[2011/11/23 09:10:28] @ sp33t joined channel #puppet
[2011/11/23 09:10:55] @ mrwacky42 joined channel #puppet
[2011/11/23 09:11:59] @ Quit: AshishH: Remote host closed the connection
[2011/11/23 09:12:18] @ newtMcKerr joined channel #puppet
[2011/11/23 09:12:37] @ maplebed joined channel #puppet
[2011/11/23 09:13:06] <erthad> is there an "inverse tags" ?
[2011/11/23 09:13:11] @ Quit: DbT_: Ping timeout: 260 seconds
[2011/11/23 09:13:21] @ m3ridian left channel #puppet ()
[2011/11/23 09:13:31] <erthad> i.e. make the class be ignored in all cases except tags for it are explicitly specified
[2011/11/23 09:13:49] @ Quit: n1x0n: Ping timeout: 240 seconds
[2011/11/23 09:13:55] @ miche joined channel #puppet
[2011/11/23 09:14:41] @ n1x0n joined channel #puppet
[2011/11/23 09:15:28] <robinbowes> So, Volcane talks about hiera_include here: http://www.devco.net/archives/2011/06/11/puppet_backend_for_hiera_part_2.php
[2011/11/23 09:16:15] @ gregp76 joined channel #puppet
[2011/11/23 09:16:21] @ Quit: jab_doa: Quit: Verlassend
[2011/11/23 09:16:44] <maxb> Hm
[2011/11/23 09:17:10] <maxb> So, I've solved my issue with the class Hash thing. I needed to say class ::Hash instead
[2011/11/23 09:17:47] <robinbowes> Alas, that is only designed to look up a single top-level fact (eg. "classes")
[2011/11/23 09:17:56] @ Quit: illsci_: Ping timeout: 244 seconds
[2011/11/23 09:18:34] <maxb> However now I'm stuck with "Failed to parse template mcollective/facts.yaml.erb: wrong argument type String (expected Data) at /etc/puppet/modules/mcollective/manifests/server.pp:141"
[2011/11/23 09:18:43] <maxb> Any ideas what that means?
[2011/11/23 09:19:28] <jbarnett> What is the best way to make a define available to nodes.pp ?
[2011/11/23 09:19:32] <jbarnett> or best practice
[2011/11/23 09:19:45] <kjetilho> put it in a module namespace
[2011/11/23 09:20:21] <jbarnett> kjetilho: thanks
[2011/11/23 09:20:30] @ choonming joined channel #puppet
[2011/11/23 09:20:55] @ BManojlovic joined channel #puppet
[2011/11/23 09:20:55] @ Quit: BManojlovic: Changing host
[2011/11/23 09:20:55] @ BManojlovic joined channel #puppet
[2011/11/23 09:21:17] @ scsinutz joined channel #puppet
[2011/11/23 09:21:28] @ scsinutz left channel #puppet ()
[2011/11/23 09:21:40] <jbarnett> kjetilho: When I do that it's saying that it can't find the class
[2011/11/23 09:21:47] @ jodok joined channel #puppet
[2011/11/23 09:22:41] @ Quit: inecas: Ping timeout: 244 seconds
[2011/11/23 09:23:02] @ Quit: skippy: Quit: leaving
[2011/11/23 09:23:40] <_rc_> jbarnett: are you naming them to make the autoloader happy? http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2011/11/23 09:23:42] <kjetilho> then you probably have the wrong filename
[2011/11/23 09:23:47] @ saysjonathan joined channel #puppet
[2011/11/23 09:24:06] @ gniks joined channel #puppet
[2011/11/23 09:24:49] <jbarnett> I'm using define
[2011/11/23 09:24:51] <jbarnett> http://pastebin.com/wUtSWBgd
[2011/11/23 09:24:54] @ mitchellh joined channel #puppet
[2011/11/23 09:24:56] <jbarnett> http://pastebin.com/ztyuQ3S8
[2011/11/23 09:25:01] <jbarnett> http://pastebin.com/6vLWQLKa
[2011/11/23 09:25:04] <jbarnett> take a quick look
[2011/11/23 09:25:04] <_rc_> jbarnett: wrong filename
[2011/11/23 09:25:10] <kjetilho> jbarnett: that define is motd::motd
[2011/11/23 09:25:24] <kjetilho> I mean that filename corresponds to
[2011/11/23 09:25:28] <_rc_> or would be, if it was named consistently
[2011/11/23 09:25:30] <jbarnett> ohhh shoot... you're right!
[2011/11/23 09:25:30] <jbarnett> ha
[2011/11/23 09:25:59] <jbarnett> actually...
[2011/11/23 09:26:00] <jbarnett> are you?
[2011/11/23 09:26:09] <astrostl> source => 'puppet:///modules/tomcat/setenv.sh', is yielding err: /Stage[main]/Tomcat::Install/File[/opt/tomcat/bin/setenv.sh]: Could not evaluate: Could not retrieve information from environment production source(s) puppet:///modules/tomcat/setenv.sh at /etc/puppet/modules/tomcat/manifests/install.pp:33
[2011/11/23 09:26:13] @ Quit: artista_frustrad: Ping timeout: 240 seconds
[2011/11/23 09:26:23] <_rc_> yes we are; look at that docs link
[2011/11/23 09:26:35] <astrostl> if i take the file source off of that file resource it works fine
[2011/11/23 09:27:00] <astrostl> i do have a module named tomcat, it does have a files dir, and does have setenv.sh within it
[2011/11/23 09:27:08] @ madduck joined channel #puppet
[2011/11/23 09:27:29] <jbarnett> I specifically loaded it though
[2011/11/23 09:27:29] <_rc_> astrostl: and the puppetmasters user can read it? and stat it? and love it?
[2011/11/23 09:27:40] @ Quit: ezryx: Remote host closed the connection
[2011/11/23 09:27:41] <jbarnett> import "classes/*.pp"
[2011/11/23 09:27:41] <astrostl> it's 644...
[2011/11/23 09:27:43] <jbarnett> by doing that
[2011/11/23 09:28:02] <astrostl> chmod 777 on it yields the same _rc_
[2011/11/23 09:28:05] <kjetilho> don't use import. there is actually a bug which causes the autoloader to not work if you do that
[2011/11/23 09:28:06] <jbarnett> i'll just use namespacing as suggested
[2011/11/23 09:28:09] <_rc_> astrostl: and all the the directories above and below?
[2011/11/23 09:28:16] <jbarnett> thanks guys
[2011/11/23 09:28:23] <astrostl> _rc_: well, it is applying the manifest
[2011/11/23 09:28:28] <_rc_> astrostl: well just above
[2011/11/23 09:28:29] <kjetilho> however, I must admit we actually have import 'defines/*.pp' in our site.pp
[2011/11/23 09:28:36] <_rc_> so it can read your manifests dir
[2011/11/23 09:28:41] <_rc_> what about your files dir?
[2011/11/23 09:28:48] <kjetilho> for a few simple defines like "account"
[2011/11/23 09:28:57] <astrostl> 755
[2011/11/23 09:29:08] <kjetilho> that's not best practice, though :)
[2011/11/23 09:29:19] @ joe-mac1 joined channel #puppet
[2011/11/23 09:29:25] <astrostl> wait, dumb me - it was actually named tomcat.sh
[2011/11/23 09:29:27] <astrostl> thx :)
[2011/11/23 09:29:53] @ alanna joined channel #puppet
[2011/11/23 09:30:58] @ orkaa joined channel #puppet
[2011/11/23 09:31:28] @ NightMonkey joined channel #puppet
[2011/11/23 09:32:39] <jbarnett> kjetilho & _rc_: Thank!
[2011/11/23 09:32:46] @ Quit: duerF: Quit: Leaving
[2011/11/23 09:33:04] @ ezryx joined channel #puppet
[2011/11/23 09:33:39] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/23 09:33:51] <orkaa> Hi
[2011/11/23 09:34:11] <orkaa> I have this issue where I have to update puppet with puppet prior the catalog run.. :)
[2011/11/23 09:34:32] <orkaa> is that possible?
[2011/11/23 09:34:47] @ ryancoleman joined channel #puppet
[2011/11/23 09:35:22] @ Quit: ezryx: Remote host closed the connection
[2011/11/23 09:35:37] <orkaa> ubuntu ships an old version of puppet with which my manifests won't deploy
[2011/11/23 09:35:45] @ joshcooper joined channel #puppet
[2011/11/23 09:36:11] @ trickyf joined channel #puppet
[2011/11/23 09:36:30] <wollviech> orkaa: is this ubuntu 10.04 lts?
[2011/11/23 09:36:39] <orkaa> wollviech: 10.10
[2011/11/23 09:37:00] <wollviech> orkaa: okay. try the packages from debian-squeeze backports
[2011/11/23 09:37:23] <orkaa> wollviech: I already have the packages, that's not the problem
[2011/11/23 09:37:33] @ iw_work joined channel #puppet
[2011/11/23 09:37:37] <wollviech> orkaa: oh, i see
[2011/11/23 09:37:39] <orkaa> the problem is I start with a fresh machine
[2011/11/23 09:37:56] <orkaa> where puppet has to be updated first to actually work
[2011/11/23 09:38:09] @ jkoppe joined channel #puppet
[2011/11/23 09:38:14] <wollviech> orkaa: this is part of the kickstart process for us
[2011/11/23 09:38:36] @ williemach joined channel #puppet
[2011/11/23 09:39:35] @ artista_frustrad joined channel #puppet
[2011/11/23 09:39:58] <wollviech> orkaa: so you either do that, or make a separate environment in your puppet master that will only provision a manifest to update to the puppet version in backports
[2011/11/23 09:41:27] <orkaa> I think I'll go with the kickstart process
[2011/11/23 09:41:33] @ Quit: benkevan: Read error: Operation timed out
[2011/11/23 09:42:27] @ emre` joined channel #puppet
[2011/11/23 09:42:49] @ ghanima joined channel #puppet
[2011/11/23 09:44:01] @ Quit: dwalu: Quit: dwalu
[2011/11/23 09:45:28] @ Quit: jodok: Quit: jodok
[2011/11/23 09:46:20] <jbarnett> Would the variables in this define be passed to the template? http://pastebin.com/RpJy95ju
[2011/11/23 09:47:18] @ orkaa left channel #puppet ()
[2011/11/23 09:47:45] @ bmahe joined channel #puppet
[2011/11/23 09:47:45] @ Quit: bmahe: Changing host
[2011/11/23 09:47:45] @ bmahe joined channel #puppet
[2011/11/23 09:47:53] @ lak joined channel #puppet
[2011/11/23 09:47:53] @ Quit: lak: Changing host
[2011/11/23 09:47:54] @ lak joined channel #puppet
[2011/11/23 09:48:38] @ Quit: iw_work: Quit: Leaving
[2011/11/23 09:49:58] @ Quit: artista_frustrad: Ping timeout: 244 seconds
[2011/11/23 09:49:58] <Volcane> jbarnett: yeah
[2011/11/23 09:53:38] @ Quit: xyn: Ping timeout: 276 seconds
[2011/11/23 09:54:54] @ comptona joined channel #puppet
[2011/11/23 09:55:38] @ DbT_ joined channel #puppet
[2011/11/23 09:55:54] @ xyn joined channel #puppet
[2011/11/23 09:58:30] @ DbT__ joined channel #puppet
[2011/11/23 09:59:09] @ iw_work joined channel #puppet
[2011/11/23 09:59:47] @ Quit: DbT_: Ping timeout: 244 seconds
[2011/11/23 09:59:47] @ DbT__ is now known as DbT_
[2011/11/23 10:00:53] @ Quit: trickyf: Quit: Leaving.
[2011/11/23 10:01:31] @ benkevan joined channel #puppet
[2011/11/23 10:01:33] @ inecas joined channel #puppet
[2011/11/23 10:02:28] @ Quit: themurph: Quit: themurph
[2011/11/23 10:02:50] @ tjoy joined channel #puppet
[2011/11/23 10:02:51] @ artista_frustrad joined channel #puppet
[2011/11/23 10:03:22] @ ezryx joined channel #puppet
[2011/11/23 10:05:29] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/23 10:05:38] @ KaiserBeto joined channel #puppet
[2011/11/23 10:06:29] @ KaiserBeto left channel #puppet ()
[2011/11/23 10:07:05] @ pfo joined channel #puppet
[2011/11/23 10:07:42] @ Quit: Razique: Quit: Razique
[2011/11/23 10:08:20] @ Quit: kolla: Remote host closed the connection
[2011/11/23 10:08:23] @ Quit: tizzo-afk: Ping timeout: 240 seconds
[2011/11/23 10:09:04] <astrostl> http://pastie.org/private/4hrdul9qppmm7ixpdclkg - shouldn't this work? this is solr's init.pp
[2011/11/23 10:09:18] <astrostl> it's still executing in random order, though: sometimes solr comes before tomcat
[2011/11/23 10:09:42] @ Quit: ezryx: Remote host closed the connection
[2011/11/23 10:10:03] <astrostl> trying it in the block
[2011/11/23 10:10:09] <astrostl> worked this time, but i still don't know if it's random :-/
[2011/11/23 10:10:45] @ shadoi joined channel #puppet
[2011/11/23 10:10:56] @ Quit: artista_frustrad: Ping timeout: 260 seconds
[2011/11/23 10:11:11] <RhysMorgan> Hey I'm missing a file called: pe-internal-broker.pem
[2011/11/23 10:11:16] <RhysMorgan> on pe 2.0 any ideas?
[2011/11/23 10:12:08] @ seanh-ansca joined channel #puppet
[2011/11/23 10:12:14] @ Quit: joe-mac: Remote host closed the connection
[2011/11/23 10:12:24] @ ianbrandt joined channel #puppet
[2011/11/23 10:12:59] <Volcane> astrostl: shouldnt put anything outside of class/node unless its in site.pp
[2011/11/23 10:13:04] <astrostl> k
[2011/11/23 10:13:33] @ dwalu joined channel #puppet
[2011/11/23 10:13:38] <astrostl> how about this then, with it within the class?
[2011/11/23 10:13:38] <astrostl> http://pastie.org/private/4byi3uzqtq6nxgdpuve8g
[2011/11/23 10:13:57] <astrostl> Tomcat::Install::Tomcatchown runs at the end, repeatably
[2011/11/23 10:14:38] <astrostl> shouldn't ALL of modules/tomcat complete first?
[2011/11/23 10:14:41] <Volcane> well you have Class['Tomcat'] but you're showing logs from Tomcat::Install
[2011/11/23 10:14:57] <astrostl> all tomcat does is call tomcat::install, for now
[2011/11/23 10:15:16] @ Quit: marczak: Quit: leaving
[2011/11/23 10:15:23] <Volcane> requiring a class doesnt also require everything it includes
[2011/11/23 10:15:57] <astrostl> i thought Class['foo'] -> Class['bar'] would insure that all of foo ran before bar started
[2011/11/23 10:16:50] @ Spads joined channel #puppet
[2011/11/23 10:16:53] @ Quit: dwalu: Client Quit
[2011/11/23 10:17:00] <astrostl> Class['Sunjdk'] -> Class['Tomcat'] -> Class['Solr::Install']
[2011/11/23 10:18:16] <astrostl> unwinding…i'll try tomcat::install there
[2011/11/23 10:18:39] <astrostl> strange that it always runs in the same order, always puts tomcatchown last
[2011/11/23 10:18:51] @ spiette joined channel #puppet
[2011/11/23 10:19:58] @ ezryx joined channel #puppet
[2011/11/23 10:20:03] @ djm68 joined channel #puppet
[2011/11/23 10:20:13] @ metcalfc joined channel #puppet
[2011/11/23 10:20:17] @ jforman left channel #puppet ()
[2011/11/23 10:20:32] <astrostl> so if i class[foo] -> class[bar]
[2011/11/23 10:20:42] <astrostl> and class[foo] includes foo::install
[2011/11/23 10:20:51] <astrostl> i can't necessarily be sure that foo:install will run before class[bar]?
[2011/11/23 10:21:09] @ Quit: ezryx: Remote host closed the connection
[2011/11/23 10:21:54] <joe-mac1> correct
[2011/11/23 10:22:08] <joe-mac1> dependencies aren't "inherited" inside namespaces like that
[2011/11/23 10:22:14] <joe-mac1> they are disparate classes for these intents
[2011/11/23 10:22:25] <emre`> yep
[2011/11/23 10:22:48] <wollviech> you can use require foo::install, though
[2011/11/23 10:22:57] <astrostl> erg
[2011/11/23 10:23:01] @ artista_frustrad joined channel #puppet
[2011/11/23 10:23:02] <astrostl> that hurts.
[2011/11/23 10:23:15] <joe-mac1> why? s/include/require isn't so bad
[2011/11/23 10:23:19] <astrostl> i could see certain class layouts getting really long with -> -> -> -> ->
[2011/11/23 10:23:25] @ Quit: NuclearLucifer: Ping timeout: 260 seconds
[2011/11/23 10:23:28] <astrostl> need deps, need install, need config, etc
[2011/11/23 10:23:47] <Volcane> make the chain in the tomcat module
[2011/11/23 10:23:51] <joe-mac1> yea well there comes a time when you should question whether you are trying to be too modular
[2011/11/23 10:23:54] @ gemeni89 joined channel #puppet
[2011/11/23 10:23:56] <Volcane> let the tomcat module declare its desired ordering
[2011/11/23 10:23:59] <joe-mac1> and therefore increasing the amount of horse shit you have to deal with
[2011/11/23 10:24:02] <gemeni89> hi
[2011/11/23 10:24:04] <Volcane> then everything else can just include tomcat
[2011/11/23 10:24:14] <Volcane> seperation of concerens
[2011/11/23 10:24:30] <RhysMorgan> Is PE supposed to have a stomp_server variable
[2011/11/23 10:24:32] <RhysMorgan> ?
[2011/11/23 10:24:40] <spiette> anyone here using one git repo per module in their puppet environment?
[2011/11/23 10:24:41] @ Stenbryggen joined channel #puppet
[2011/11/23 10:24:52] <joe-mac1> spiette: I use git submodules
[2011/11/23 10:25:00] <emre`> same
[2011/11/23 10:25:02] <joe-mac1> but that seemsa bit overkill
[2011/11/23 10:25:07] <emre`> a repo per module is kinda overkill
[2011/11/23 10:25:10] <emre`> heh
[2011/11/23 10:25:23] @ illsci left channel #puppet ()
[2011/11/23 10:26:01] <spiette> are you many people to work on the puppet environment at the same time?
[2011/11/23 10:26:03] <astrostl> it's just a surprising behavior to me, if 'apache' has deps, install, config and 'apache' specifies them in that order
[2011/11/23 10:26:13] <Volcane> but 'apache' doesnt
[2011/11/23 10:26:13] <emre`> astrostl, you could always create a tomcat package and just use Package[foo] ->
[2011/11/23 10:26:16] <Volcane> you're just including things
[2011/11/23 10:26:20] <Volcane> include doesnt delcare 'debs'
[2011/11/23 10:26:30] @ Quit: fronlius: Read error: Connection reset by peer
[2011/11/23 10:26:36] <emre`> I don't even worry about all that, I let apt install it for me, then use ERBs for configs
[2011/11/23 10:26:37] @ ezryx joined channel #puppet
[2011/11/23 10:26:47] <emre`> err I mean, I use the apt provider
[2011/11/23 10:26:56] <spiette> joe-mac1, emre` : would you stop using submodules and still use one repo per module?
[2011/11/23 10:27:06] <astrostl> i'm saying module apache, init.pp, class apache, has deps -> install -> config.
[2011/11/23 10:27:11] @ Quit: ezryx: Remote host closed the connection
[2011/11/23 10:27:26] <spiette> joe-mac1, emre` : or rather stop having one repo per module?
[2011/11/23 10:27:29] <gemeni89> hi, i need help, can i ask here?
[2011/11/23 10:27:33] <Volcane> astrostl: it doesnt. you're just including a class. this does not create a dependency
[2011/11/23 10:27:44] <emre`> spiette, I'm not using one repo per module
[2011/11/23 10:27:49] <emre`> I guess I'm not understanding the question
[2011/11/23 10:27:54] <astrostl> i thought that -> specifically defined chains
[2011/11/23 10:27:55] <Volcane> astrostl: if foo includes foo::bar there is no dependency
[2011/11/23 10:28:03] <astrostl> understood
[2011/11/23 10:28:13] <Volcane> astrostl: so if you made a chain on foo, similarly there would still be no dependency on foo::bar
[2011/11/23 10:28:16] <joe-mac1> spiette: no- it's git it's designed for many people
[2011/11/23 10:28:28] <astrostl> if foo includes foo::bar and foo:bot, and says Class[foo::bar] -> Class[foo:bot] is that not an explicit dependency chain?
[2011/11/23 10:28:42] <astrostl> always bar before bot?
[2011/11/23 10:28:46] <joe-mac1> I mean obv your deploy needs to have lock files and other things too
[2011/11/23 10:28:53] <spiette> joe-mac1: do you you branch for a new feature?
[2011/11/23 10:29:02] <joe-mac1> I use git-flow
[2011/11/23 10:29:14] <spiette> joe-mac1: ic
[2011/11/23 10:29:15] <joe-mac1> so yea bnasically, but it gets merged into develop
[2011/11/23 10:29:33] <joe-mac1> and then I can deploy develop with cap -s branch-develop deploy
[2011/11/23 10:29:38] <joe-mac1> branch=develop
[2011/11/23 10:29:58] <astrostl> easier to pastie: http://pastie.org/2910216
[2011/11/23 10:30:05] <astrostl> that's init.pp for modules/foo
[2011/11/23 10:30:11] <gemeni89> i need configure in pupput a new template ntp where into i can insert ALL NODES MACHINE... i can do?
[2011/11/23 10:30:18] <spiette> joe-mac1: so you clone environment for each feature you add, you merge, then delete the branch/environment
[2011/11/23 10:30:22] <joe-mac1> there's different strategies for that- when I used svn I had a different puppet environment in the checkout considered a 'branch' for develop
[2011/11/23 10:30:57] <astrostl> it surprises and disappoints me that i couldn't, from a 'bar' module, say Class['foo'] -> Class['bar'] and know that foo::deps, foo::install, and foo::config would have all executed, in order, prior to bar
[2011/11/23 10:31:05] <joe-mac1> spiette: no, git flow works like, it creates a branch off develop, you work on it, commit then finish it and it gets merged back into develop
[2011/11/23 10:31:14] <joe-mac1> at that point you can do a release or test against develop
[2011/11/23 10:31:22] <astrostl> if i understand what you guys are saying, i would have to spell out that entire chain in bar the same as i did in foo
[2011/11/23 10:31:40] <astrostl> foo::deps -> foo::install -> foo::config -> bar
[2011/11/23 10:31:48] <astrostl> instead of foo -> bar
[2011/11/23 10:32:13] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/23 10:32:30] <astrostl> is that correct or incorrect?
[2011/11/23 10:32:34] <emre`> astrostl, I have a feeling there's an easier way to accomplish what you're trying to do :D
[2011/11/23 10:32:55] <astrostl> i just want modular things which execute in order
[2011/11/23 10:33:33] <astrostl> if i include a class which specifies an order of its subclasses, i want that order to be followed
[2011/11/23 10:33:46] <astrostl> otherwise i have to reinvent the chain wheel with every module that includes it
[2011/11/23 10:33:59] <emre`> yeah I don't think it does inheritence that well
[2011/11/23 10:34:05] <emre`> I always have problems with my dependency chain
[2011/11/23 10:34:16] @ tizzo-afk joined channel #puppet
[2011/11/23 10:34:17] <astrostl> this isn't specifically inheritence, just ordering
[2011/11/23 10:34:18] <dan__t> meh.
[2011/11/23 10:34:21] <emre`> I've learned to just keep it simple
[2011/11/23 10:34:37] <astrostl> keeping it 'simple' would be a massive, monolithic manifest
[2011/11/23 10:34:44] <dan__t> Can I make some logic in a class that only operates if another class is also present in the catalog?
[2011/11/23 10:34:45] <astrostl> which is the opposite of what is taught (e.g. pro puppet)
[2011/11/23 10:35:06] <dan__t> if ( defined(Class["some::otherclass"]) ) { .. }
[2011/11/23 10:35:19] <joe-mac1> maybe but it's order dependent and will probably be unreliable
[2011/11/23 10:35:56] <dan__t> oh.
[2011/11/23 10:36:04] <dan__t> nevermind, i can satisfy that with require
[2011/11/23 10:36:07] <dan__t> dur.
[2011/11/23 10:36:10] <spiette> joe-mac1: so you have let's say, environment called development. You want to write a new feature. You cd in your development puppet environment and you do" git flow feature start foobar|?
[2011/11/23 10:36:18] <spiette> s/|//
[2011/11/23 10:36:28] <joe-mac1> indeed
[2011/11/23 10:36:38] @ miche joined channel #puppet
[2011/11/23 10:36:41] @ marczak joined channel #puppet
[2011/11/23 10:36:42] <joe-mac1> often though I am doing 'hotfixes' not features
[2011/11/23 10:37:02] @ Quit: miche: Client Quit
[2011/11/23 10:37:15] <emre`> astrostl, I've made it a habit to 'list' the chain in my manifests
[2011/11/23 10:37:16] <spiette> joe-mac1: so no one else can work in the development puppet environment during this time, right?
[2011/11/23 10:37:21] <emre`> and group things
[2011/11/23 10:37:27] <emre`> i.e. http://pastie.org/private/ymasqbgebiug95pwqkowwg
[2011/11/23 10:37:40] <emre`> that horizontal -> -> stuff gets too confusing
[2011/11/23 10:37:52] @ the_ramink joined channel #puppet
[2011/11/23 10:38:11] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 10:39:01] <astrostl> that's well and good within the context of one manifest
[2011/11/23 10:39:23] <emre`> I mean, I'm just saying, you can always extend that to your working scope
[2011/11/23 10:39:27] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/23 10:39:28] <emre`> it's easy to create a mess in puppet
[2011/11/23 10:39:39] <joe-mac1> spiette: I don't know why you would think that
[2011/11/23 10:40:08] <spiette> joe-mac1: because you cd in the development puppet env first, and the branch is created there, no?
[2011/11/23 10:40:25] <spiette> joe-mac1: do you have a work area outside of puppet?
[2011/11/23 10:40:43] @ Quit: stevie-bash: Read error: Connection reset by peer
[2011/11/23 10:40:44] <joe-mac1> I'm not following- are you saying you use a central checkout and everybody develops in the same directory
[2011/11/23 10:40:46] <joe-mac1> ?
[2011/11/23 10:41:07] <astrostl> Volcane: http://pastie.org/2910216 - if i include 'foo' from 'bar', there's no way but you respecify that chain order in 'bar' as well if it matters to me?
[2011/11/23 10:42:23] <spiette> joe-mac1: yes, to be usable by puppet
[2011/11/23 10:42:48] <joe-mac1> spiette: no that's all wrong
[2011/11/23 10:42:50] <joe-mac1> don't do that
[2011/11/23 10:43:01] <spiette> joe-mac1: good! tell me what to do! ; )
[2011/11/23 10:43:37] <joe-mac1> either git pull if you must from /etc/puppet after you're ready to go live or run a deployment program like capistrano
[2011/11/23 10:43:45] @ themurph joined channel #puppet
[2011/11/23 10:44:00] @ Quit: marczak: Ping timeout: 248 seconds
[2011/11/23 10:44:26] <maxb> Is there any way to test *just* a Puppet ERB template evaluation?
[2011/11/23 10:45:00] <joe-mac1> maxb: you can test that it compiles
[2011/11/23 10:45:05] @ Kazuhiro joined channel #puppet
[2011/11/23 10:45:17] <maxb> I have some code in an ERB template (trying to render a hash to yaml, with sorted keys), which is mysteriously malfunctioning in the depths of ruby, *only* when run inside puppet apply
[2011/11/23 10:45:18] <emre`> max you mean like puppet parser validate
[2011/11/23 10:45:18] <emre`> ?
[2011/11/23 10:45:20] @ Kazuhiro1 joined channel #puppet
[2011/11/23 10:45:34] <emre`> ah yes
[2011/11/23 10:45:35] <emre`> yaml
[2011/11/23 10:45:42] <emre`> you probably forgot a dash somewhere :D
[2011/11/23 10:45:46] <maxb> no
[2011/11/23 10:46:06] <joe-mac1> then the hash is probably empty or some shit
[2011/11/23 10:46:09] <joe-mac1> what's the exception
[2011/11/23 10:46:13] <maxb> "wrong argument type String (expected Data)"
[2011/11/23 10:46:19] <emre`> yeah
[2011/11/23 10:46:35] <maxb> Which seems to be occurring when I call the add method on a YAML::Syck::Map
[2011/11/23 10:47:22] <joe-mac1> I'm not familiar with this class, do the rdocs have anything useful?
[2011/11/23 10:47:23] @ gregp76 left channel #puppet ()
[2011/11/23 10:47:30] <gemeni89> i need configure in pupput a new template ntp where into i can insert ALL NODES MACHINE... i can do?
[2011/11/23 10:47:31] <maxb> There are no rdocs
[2011/11/23 10:47:40] <joe-mac1> there are no rdocs for YAML::?
[2011/11/23 10:47:41] <joe-mac1> idk about that
[2011/11/23 10:47:56] <maxb> There are no rdocs for YAML::Syck
[2011/11/23 10:48:15] <maxb> And the level at which it is mysteriously breaking is inside the compiled extension, it seems
[2011/11/23 10:48:28] <joe-mac1> there is for 1.9
[2011/11/23 10:48:35] <joe-mac1> http://ruby-doc.org/stdlib-1.9.1/libdoc/syck/rdoc/YAML/Syck.html
[2011/11/23 10:48:48] <maxb> Please note, it *doesn't* break if I run it with erb -x | ruby
[2011/11/23 10:48:51] @ Quit: MattyM: Remote host closed the connection
[2011/11/23 10:48:54] <joe-mac1> actually there is for 1.8.7 as well http://ruby-doc.org/stdlib-1.9.1/libdoc/syck/rdoc/YAML/Syck.html
[2011/11/23 10:48:59] <joe-mac1> wrong paste
[2011/11/23 10:49:11] <joe-mac1> http://ruby-doc.org/stdlib-1.8.7/libdoc/syck/rdoc/YAML/Syck.html
[2011/11/23 10:49:15] @ verwilst joined channel #puppet
[2011/11/23 10:49:34] <maxb> I'm not sure it counts as documentation when the methods are just 'documented' with their C source code
[2011/11/23 10:49:39] @ mauve joined channel #puppet
[2011/11/23 10:49:51] @ Quit: Kazuhiro: Ping timeout: 252 seconds
[2011/11/23 10:49:53] <joe-mac1> yea I just noticed that after I was clickoing on things after I pasted
[2011/11/23 10:49:56] <joe-mac1> I see what you mean now
[2011/11/23 10:50:14] <joe-mac1> yea this is absolutely terrible
[2011/11/23 10:50:35] <emre`> ruby docs
[2011/11/23 10:51:32] @ Kazuhiro1 left channel #puppet ()
[2011/11/23 10:51:49] @ Quit: inecas: Quit: Leaving
[2011/11/23 10:53:35] @ Quit: artista_frustrad: Ping timeout: 240 seconds
[2011/11/23 10:54:58] @ Quit: astrostl:
[2011/11/23 10:56:52] @ mitchellh joined channel #puppet
[2011/11/23 10:57:04] @ marczak joined channel #puppet
[2011/11/23 10:57:11] @ Quit: Chillax: Ping timeout: 258 seconds
[2011/11/23 10:58:21] <spiette> joe-mac1: we have 2 envs: prod and dev. If I want to write a new feature foobar, I cd in /etc/puppet/environments (where our envs lives), and i go "git clone dev myfeature". I edit in myfeature/, then i git push origin master:newfeature. I cd in dev, and git merge newfeature.
[2011/11/23 10:58:45] @ miche joined channel #puppet
[2011/11/23 10:58:54] <spiette> joe-mac1: it's all good and well, unless I have modules in a different git repo
[2011/11/23 10:59:06] <spiette> s/a different/different/
[2011/11/23 10:59:07] <joe-mac1> spiette: why would you edit modules in its live environment
[2011/11/23 10:59:13] <joe-mac1> it just seems like a bad idea
[2011/11/23 10:59:41] <spiette> joe-mac1: well, not live exactly, rather i a clone of dev
[2011/11/23 10:59:56] <joe-mac1> right but you're still editing stuff while it's in /etc/puppet
[2011/11/23 11:00:00] @ samkottler is now known as samkottler|noms
[2011/11/23 11:00:09] <spiette> joe-mac1: so i can run puppet agent --test --noop on the target node
[2011/11/23 11:00:23] <spiette> joe-mac1: indeed, it's in /etc/puppet
[2011/11/23 11:00:34] <joe-mac1> right, you can't scale past one person with this method
[2011/11/23 11:00:35] <joe-mac1> it's bad
[2011/11/23 11:00:50] <spiette> joe-mac1: how do you test your code without putting it under /etc/puppet?
[2011/11/23 11:01:07] <joe-mac1> clever use of a git pre-commit
[2011/11/23 11:01:24] <spiette> a hook?
[2011/11/23 11:01:30] <joe-mac1> yea
[2011/11/23 11:01:36] <spiette> what does it?
[2011/11/23 11:01:45] <joe-mac1> what does it or what does it do
[2011/11/23 11:01:53] <spiette> lol
[2011/11/23 11:02:02] @ Chillax joined channel #puppet
[2011/11/23 11:02:03] <spiette> what does it do?
[2011/11/23 11:02:08] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/23 11:02:21] @ Quit: Chillax: Changing host
[2011/11/23 11:02:22] @ Chillax joined channel #puppet
[2011/11/23 11:03:07] @ ryancoleman joined channel #puppet
[2011/11/23 11:03:37] <joe-mac1> it does a bunch of syntax tests, checks for duplicate classes and node regexes and then compiles a list of changed classes, at which point it logs into the stored config db and gets a list of nodes that have the changed classes, it then selects one node per changed class and does a test compile for each one, if there's any errors at any point the commit is denied
[2011/11/23 11:03:39] @ Chiku joined channel #puppet
[2011/11/23 11:03:39] @ Quit: Chiku: Changing host
[2011/11/23 11:03:39] @ Chiku joined channel #puppet
[2011/11/23 11:03:47] @ Quit: ghanima: Ping timeout: 255 seconds
[2011/11/23 11:04:22] @ Quit: iw_work: Quit: Leaving
[2011/11/23 11:05:06] @ dwalu joined channel #puppet
[2011/11/23 11:05:10] <spiette> joe-mac1: so you can't test your code against your node before it's commited?
[2011/11/23 11:05:50] <joe-mac1> that is going to test for the majority of bugs in your code
[2011/11/23 11:06:11] <joe-mac1> then you deploy however you want to whereever you want
[2011/11/23 11:06:39] @ artista_frustrad joined channel #puppet
[2011/11/23 11:06:54] <joe-mac1> you can even start up a test master with a small script that basically used your checkout as its full environment
[2011/11/23 11:07:01] <joe-mac1> and not even touch the real master if you want
[2011/11/23 11:07:15] <joe-mac1> there's a lot of flexibility for separating dev/staging/prod in puppet
[2011/11/23 11:14:07] @ Quit: metcalfc: Read error: Operation timed out
[2011/11/23 11:16:29] @ meth joined channel #puppet
[2011/11/23 11:16:39] <meth> anyone know of an apache module that compiles the latest apache ?
[2011/11/23 11:16:47] <meth> instead of using the system's pkg manager ?
[2011/11/23 11:17:14] <maxb> OK, this is mad. I've now got my malfunctioning ERB evaluation in a standalone .rb file - and it breaks as soon as I add require 'puppet' to the top
[2011/11/23 11:17:34] <maxb> /usr/lib/ruby/1.8/yaml.rb:391:in `emit': wrong argument type String (expected Data) (TypeError)
[2011/11/23 11:17:42] <maxb> better diagnostics, at least
[2011/11/23 11:17:57] <maxb> Any bright ideas on how to narrow down the problem further?
[2011/11/23 11:18:49] @ magickal1 joined channel #puppet
[2011/11/23 11:19:32] <meth> look at the stack trace ?
[2011/11/23 11:21:07] <matchaw_> does puppet not have mysql in the forge anymore?
[2011/11/23 11:21:14] <joe-mac1> meth: no one does that, because it's a bad idea
[2011/11/23 11:21:37] @ samkottler|noms is now known as samkottler
[2011/11/23 11:21:51] <jhelwig> matchaw_: I see a bunch of hits for mysql modules on the forge: http://forge.puppetlabs.com/modules?q=mysql&commit=Go
[2011/11/23 11:22:09] <matchaw_> Yea, I thought there was one developed by puppetlabs though?
[2011/11/23 11:22:19] <kjetilho> matchaw_: it's on github
[2011/11/23 11:22:33] <kjetilho> https://github.com/puppetlabs/puppetlabs-mysql
[2011/11/23 11:22:57] <jhelwig> No idea if it was ever on the forge, but yeah, it's up on GitHub.
[2011/11/23 11:23:44] <matchaw_> kjetilho: ah yes found it thanks.
[2011/11/23 11:24:05] <meth> joe-mac1: how is it bad ? you can figure out what's wrong and fix it..
[2011/11/23 11:25:16] <joe-mac1> I'm not sure I have the energy to explain why compiling apache for your webservers on each one, especially through puppet, is a bad idea
[2011/11/23 11:25:23] <joe-mac1> maybe someone else can chime in
[2011/11/23 11:25:39] <maxb> Ahahaha. Curse you, puppet/util/monkey_patches.rb
[2011/11/23 11:26:20] @ multiverse joined channel #puppet
[2011/11/23 11:26:32] @ NuclearLucifer joined channel #puppet
[2011/11/23 11:27:11] <ashp> hey guys, I always suck at erb
[2011/11/23 11:27:20] <ashp> what's the cleanest way to say "if class is on node, add these lines"
[2011/11/23 11:27:29] @ indigo joined channel #puppet
[2011/11/23 11:27:36] @ negronjl_mobile joined channel #puppet
[2011/11/23 11:27:41] @ Quit: themurph: Quit: themurph
[2011/11/23 11:27:41] <spiette> meth: if you want to be alone in the universe with your own specific build of apache, with bugs/gotchas that only you will encounter, go and compile apache ; )
[2011/11/23 11:28:02] @ chrisd2 left channel #puppet ("WeeChat 0.3.5")
[2011/11/23 11:28:33] @ Quit: magickal1: Remote host closed the connection
[2011/11/23 11:28:45] <spiette> meth: each build have the potential to be unique, which is not the case of a package. If you do your own build, at least package it
[2011/11/23 11:28:45] <jbarnett> meth: Stick with the packages for whatever distro you're using, unless you have a GREAT reason not to. Trust me, it'll save you a lot of pain.
[2011/11/23 11:28:45] <indigo> how can i check if a value is undef in a template?
[2011/11/23 11:28:53] @ negronjl_mobile is now known as negronjl
[2011/11/23 11:29:35] <indigo> and, what if that value is a value in a hash, so has_variable can't help me?
[2011/11/23 11:29:37] <jbarnett> meth: Or simply build an apache package and install that. But for the love of God, don't compile it every install.
[2011/11/23 11:30:07] <meth> ok ok ok
[2011/11/23 11:30:17] @ Quit: dwalu: Read error: Connection timed out
[2011/11/23 11:30:48] <jbarnett> meth: there is a good reason package managers exist to date :)
[2011/11/23 11:31:11] @ dwalu joined channel #puppet
[2011/11/23 11:33:08] @ Quit: negronjl: Remote host closed the connection
[2011/11/23 11:33:20] @ negronjl joined channel #puppet
[2011/11/23 11:35:53] @ Quit: mpdude: Ping timeout: 244 seconds
[2011/11/23 11:38:34] @ themurph joined channel #puppet
[2011/11/23 11:38:42] @ Quit: samkottler: Quit: Leaving.
[2011/11/23 11:41:56] @ Quit: benkevan: Ping timeout: 260 seconds
[2011/11/23 11:42:05] <indigo> why would i get this error when trying to run the agent in an environment i just branched from production? err: Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot find definition Nagios::Monitor::Ipmi at line 54 on node nagios.macprofessionals.lan
[2011/11/23 11:42:28] <indigo> line 54 of what? and how can that be, given that this environment is identical to the production environment, where it works fine?
[2011/11/23 11:43:28] @ magickal1 joined channel #puppet
[2011/11/23 11:43:38] @ Boltsky joined channel #puppet
[2011/11/23 11:43:59] @ Quit: themurph: Quit: themurph
[2011/11/23 11:44:11] <nlew> indigo: Maybe that agent isn't properly including the definition?
[2011/11/23 11:44:44] <indigo> do you mean "include"? Do I have to include a defined resource somehow?
[2011/11/23 11:44:44] <nlew> indigo: If another agent in the same environment creates the define, other agents can use it. But in a new environment without other agents running first, maybe not.
[2011/11/23 11:45:26] <indigo> this Nagios::Monitor::Ipmi is a thing that other nodes export, so maybe that's it
[2011/11/23 11:45:27] @ Quit: tightwork: Max SendQ exceeded
[2011/11/23 11:45:40] <nlew> I mean if the define { } is in some class, that class should be included by your agent, but may work sometimes even if it's not.
[2011/11/23 11:45:45] @ meth left channel #puppet ()
[2011/11/23 11:45:46] @ tightwork joined channel #puppet
[2011/11/23 11:45:57] @ Quit: danikov: Quit: danikov
[2011/11/23 11:46:16] <indigo> nlew: so i should "include nagios::monitor" on this node?
[2011/11/23 11:46:43] <nlew> indigo: Assuming that's the class with the define {}, then yes. And also assuming that won't cause anything else you don't want to happen. :)
[2011/11/23 11:48:03] <Boltsky> ok, I'm really confused right now
[2011/11/23 11:49:01] <Boltsky> it looks like my node definition is being ignored
[2011/11/23 11:49:31] <Boltsky> node /^redis/ inherits default { include redis }
[2011/11/23 11:49:56] <Boltsky> but nothing from that class is even in the catalog for a server named redis02
[2011/11/23 11:50:23] @ Quit: tightwork: Excess Flood
[2011/11/23 11:50:31] <nlew> Boltsky: Where is your node definition?
[2011/11/23 11:50:41] <Boltsky> site.pp for the production environment
[2011/11/23 11:51:16] @ tightwork joined channel #puppet
[2011/11/23 11:52:29] <indigo> nlew: well, i tried making modules/nagios/manifests.monitor.pp have just "class nagios::monitor {}", and including that in the node in site.pp, still the same thing. Does the define have to be implement inside monitor.pp, or can it be in monitor/ipmi.pp?
[2011/11/23 11:53:28] <indigo> nlew: and why does the environment matter, anyway? As far as I've observed, there's no isolation of environments in exported resources anyway...so what am I missing in this new environment that I had in production?
[2011/11/23 11:54:17] <nlew> indigo: You're missing the definition of the type itself. Puppet doesn't know what a "Nagios::Monitor::Ipmi" is in the new environment.
[2011/11/23 11:54:23] @ sascha_ left channel #puppet ()
[2011/11/23 11:54:46] <indigo> nlew: why not? It knew in production, and my new environment is identical. And, it's right there, in modules/nagios/monitor/ipmi.pp.
[2011/11/23 11:54:51] @ dnjaramba joined channel #puppet
[2011/11/23 11:55:23] @ Quit: tightwork: Excess Flood
[2011/11/23 11:55:46] @ tightwork joined channel #puppet
[2011/11/23 11:56:08] @ tightwork left channel #puppet ()
[2011/11/23 11:56:24] <indigo> ie, i have two identical environments: production and nagios_slow_498. "puppet agent -t" works. "puppet agent -t --environment nagios_slow_498" can't find Nagios::Monitor::Ipmi. How is that possible?
[2011/11/23 11:56:31] <indigo> and, line 54 of what?
[2011/11/23 11:57:05] <nlew> line 54 of one of your manifests, probably whichever one is realizing the nagios::monitor::ipmi resources
[2011/11/23 11:57:34] <indigo> it doesn't look like it
[2011/11/23 11:57:40] <ashp> ok someone take pity on me
[2011/11/23 11:57:47] <ashp> http://fpaste.org/w6wh/
[2011/11/23 11:57:47] <indigo> but why wouldn't it be able to find the definition of Nagios::Monitor::Ipmi?
[2011/11/23 11:57:48] <ashp> in a template
[2011/11/23 11:57:50] <ashp> makes this happen:
[2011/11/23 11:58:00] <ashp> Nov 23 14:56:27 postgres1 puppet-agent[28447]: Could not retrieve catalog from remote server: Error 400 on SERVER: compile error#012/etc/puppet/modules/development/postgres/templates/postgresql.conf.erb:581: syntax error, unexpected kEND, expecting $end#012; end ; _erbout.concat "\n"#012 ^
[2011/11/23 11:58:00] <gepetto> ashp: #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/23 11:58:07] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/23 11:58:18] <nlew> indigo: Is this the situation you have? http://pastie.org/2910685
[2011/11/23 11:59:13] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/23 11:59:22] <nlew> indigo: I'm not clear what the contents of your monitor/ipmi.pp file are.
[2011/11/23 11:59:25] <indigo> nlew: more or less. When I realize them I don't have {} after the <<||>>, and I do the realizing in a class included from the node definition, not directly in it.
[2011/11/23 11:59:49] <jpalmer> interesting. I just setup a new puppetmaster. I have puppet-server 2.7.7 installed. but I can only find 2.7.6 in the yum repos. was 2.7.7 published and then quickly pulled or something?
[2011/11/23 11:59:54] <Volcane> ashp: think u need to escape the %'s on line 23
[2011/11/23 12:00:05] <ashp> Ohhh
[2011/11/23 12:00:07] <ashp> that might make sense
[2011/11/23 12:00:17] <nlew> indigo: Ah do you have an "import monitor/ipmi.pp" somewhere?
[2011/11/23 12:00:42] <nlew> jpalmer: Yes, 2.7.7 was pulled immediately because of security implications of #2744.
[2011/11/23 12:00:43] <gepetto> nlew: jpalmer: #2744 is http://projects.puppetlabs.com/issues/show/2744 "Puppet - Feature #2744: Provide an option to send back diff of txt files in reports. It has a status of Merged - Pending Release and is assigned to Nick Lewis"
[2011/11/23 12:00:44] <indigo> nlew: http://pastie.org/2910693
[2011/11/23 12:01:10] <indigo> nlew: i don't. Do I need one? That would be suprising, because I haven't needed one so far, and this code has been working for a while.
[2011/11/23 12:01:33] <nlew> indigo: No, you don't need one. What I'm not clear about is what is making Puppet read that file.
[2011/11/23 12:01:48] <jpalmer> nlew: thanks. I'll downgrade asap.
[2011/11/23 12:01:58] <indigo> nlew: oh...well probably it's an exported resource
[2011/11/23 12:02:12] <indigo> nlew: so i guess add a @@ to line 17 of your paste and that's about what I have
[2011/11/23 12:02:14] <nlew> indigo: Oh I'll bet we autoload it when defining resources of that type, but not when realizing them
[2011/11/23 12:02:50] <indigo> nlew: i'd believe that, but apparently only when my environment isn't production.
[2011/11/23 12:03:16] <nlew> indigo: Have you run other agents (agents which export resources of that type) in your new environment?
[2011/11/23 12:03:21] <indigo> nlew: no.
[2011/11/23 12:03:27] <nlew> indigo: Okay I think that is the "problem".
[2011/11/23 12:03:47] <indigo> nlew: that's weird, because environments aren't isolated in that aspect, best i can tell.
[2011/11/23 12:03:56] <ashp> Volcane: Hmm, didn't seem to help
[2011/11/23 12:04:06] <indigo> nlew: well anyway, suggested workaround?
[2011/11/23 12:04:12] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/23 12:04:55] <nlew> indigo: Probably wrap the define inside of another class that you can include in any node that needs to refer to the type
[2011/11/23 12:05:43] <limed> hi guys is it possible in puppet to do something like this http://pastebin.com/Edpaw2zU
[2011/11/23 12:05:49] <indigo> mmh.
[2011/11/23 12:05:56] <indigo> nlew: alternate suggested workaround?
[2011/11/23 12:06:09] <nlew> heh, import I guess
[2011/11/23 12:06:19] <nlew> Or run agents which declare resources of the type first
[2011/11/23 12:06:37] <Boltsky> this is going to drive me crazy
[2011/11/23 12:06:44] <indigo> that would be hell, having to run agents all over the network whenever i want to create a branch.
[2011/11/23 12:06:48] <Boltsky> node redis01 inherits default { include redis } works
[2011/11/23 12:06:58] <indigo> also putting all of these in one file...it would be quite huge.
[2011/11/23 12:06:59] <Boltsky> node /^redis/ inherits default { include redis } doesn't work
[2011/11/23 12:07:23] @ Quit: M-: Quit: This computer has gone to sleep
[2011/11/23 12:07:24] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/11/23 12:07:48] <nlew> indigo: Ah I just meant to wrap the define nagios::monitor::ipmi {} in a class
[2011/11/23 12:07:51] <nlew> indigo: Not each use of it
[2011/11/23 12:08:39] @ meth joined channel #puppet
[2011/11/23 12:08:59] <indigo> nlew: right, but i have a bunch of other nagios::monitor::foo that would also need to be wrapped
[2011/11/23 12:09:00] <nlew> Boltsky: If you put a notify resource in the node definition, does it show up? (that is, is it using the right node definition at all?)
[2011/11/23 12:09:08] <nlew> indigo: Ah I see. Hmm..
[2011/11/23 12:09:30] <meth> is it normal to use puppet to deploy your application layer ? for example a tomcat war .. i would think puppet isn't the right tool at that level cause there is usually some complicated steps involved in deploying ..
[2011/11/23 12:09:50] <nlew> indigo: Well to clarify, I don't think is is a Puppet bug. Or rather, I think it's working in your production environment because of a Puppet bug.
[2011/11/23 12:10:54] <nlew> Although I see how the "correct" behavior would be a limitation in cases like this.
[2011/11/23 12:11:36] <nlew> Importing your defines may be the simplest workaround.
[2011/11/23 12:11:55] <Boltsky> nlew: I put a notify in the node definition, then one in the redis class
[2011/11/23 12:12:03] @ Quit: pfo: Quit: pfo
[2011/11/23 12:12:04] <Boltsky> and it only notifies the node definition one
[2011/11/23 12:12:06] @ Quit: uphillian: Quit: Leaving.
[2011/11/23 12:12:32] <nlew> Boltsky: So at least the node definition is working. Next question is what's wrong with the redis class, I guess?
[2011/11/23 12:12:53] <Boltsky> it's a package, file, service definition
[2011/11/23 12:13:04] <Boltsky> no variables, very simple
[2011/11/23 12:13:20] <Boltsky> + a notify, all getting ignored
[2011/11/23 12:13:23] @ nul0op joined channel #puppet
[2011/11/23 12:13:50] <nlew> Boltsky: That's strange. I can't think of a single thing that could cause its resources not to be evaluated that wouldn't ALSO cause Puppet to complain about something.
[2011/11/23 12:13:59] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/23 12:14:04] <Boltsky> yes, this is driving me insane right now
[2011/11/23 12:14:23] <nlew> Boltsky: Where do you define the class?
[2011/11/23 12:14:40] <Boltsky> in modules/redis/manifests/init.pp
[2011/11/23 12:14:42] <jbarnett> Boltsky: try this... puppet -vd nameof.pp
[2011/11/23 12:14:47] @ Quit: tizzo-afk: Ping timeout: 240 seconds
[2011/11/23 12:14:49] @ Quit: walkeran: Quit: Restarting X for the first time in 68 days :P
[2011/11/23 12:14:51] <jbarnett> $ puppet -vd nameof.pp
[2011/11/23 12:15:01] @ fredden joined channel #puppet
[2011/11/23 12:15:03] <jbarnett> that should help identify the problem
[2011/11/23 12:15:32] @ Chillax joined channel #puppet
[2011/11/23 12:15:32] <Boltsky> on the puppet master?
[2011/11/23 12:15:39] <jbarnett> yes
[2011/11/23 12:16:00] @ gemeni89 left channel #puppet ()
[2011/11/23 12:16:47] <Boltsky> I ran that on modules/redis/manifests/init.pp and it basically returned nothing
[2011/11/23 12:16:58] @ walkeran joined channel #puppet
[2011/11/23 12:17:13] <jbarnett> can you put the results in pastebin
[2011/11/23 12:18:14] <indigo> nlew: well, import seems to fix it. never had a reason to use import until now :/
[2011/11/23 12:18:58] <Boltsky> http://pastebin.com/09f9cMNG
[2011/11/23 12:19:02] @ Quit: Chillax: Client Quit
[2011/11/23 12:19:23] @ Chillax joined channel #puppet
[2011/11/23 12:19:30] <jbarnett> whoops...
[2011/11/23 12:19:48] <multiverse> Hi, even though my module works when I puppet apply in tests, when I try to get it to work on another host, it doesn't. http://pastebin.bin/8V8aUbnH
[2011/11/23 12:20:16] <multiverse> My module depends on hiera.
[2011/11/23 12:20:19] <jbarnett> Boltsky: to perform a quick test, add this to the bottom of your init.pp and run it again. "class {'redis': }"
[2011/11/23 12:20:30] <jbarnett> it's not actually executing the class
[2011/11/23 12:20:33] <multiverse> Should hiera be installed on both the agent and master?
[2011/11/23 12:20:36] <jbarnett> that will make it execute the class
[2011/11/23 12:20:46] <Boltsky> I figured
[2011/11/23 12:21:13] <jbarnett> like this: http://pastebin.com/bhvbZfRu
[2011/11/23 12:21:30] <jbarnett> then run $ puppet -vd init.pp
[2011/11/23 12:21:31] <multiverse> I also get "Could not retrieve plugin: execution expired"
[2011/11/23 12:21:32] <multiverse> in both logs
[2011/11/23 12:22:00] <Boltsky> http://pastebin.com/bm0N5224
[2011/11/23 12:22:03] <Boltsky> that seems to have worked fine
[2011/11/23 12:22:12] <Boltsky> here's another thing I did:
[2011/11/23 12:22:24] <nlew> indigo: Glad you got it working. I'll file a ticket about this if there's not one already.
[2011/11/23 12:22:41] <Boltsky> in site.pp, node /^redis/ inherits default { include redis } doesn't work
[2011/11/23 12:22:51] <Boltsky> node redis01 inherits default { include redis } does
[2011/11/23 12:23:08] <indigo> nlew: thanks. I'm in there as Phil Frost already, if you want to add me as a watcher
[2011/11/23 12:23:20] <nlew> indigo: Will do.
[2011/11/23 12:23:25] <indigo> of course, now maybe you'd want me to file the bug :)
[2011/11/23 12:24:44] <jbarnett> Boltsky: You would need to add .* at the end
[2011/11/23 12:25:01] <jbarnett> Boltsky: "node /^redis.*/ inherits default { include redis }"
[2011/11/23 12:25:12] <jbarnett> it's a regular expression, so your hostname isn't redis
[2011/11/23 12:25:16] <jbarnett> it's probably redis.mydomain.com
[2011/11/23 12:25:38] <Boltsky> but /^prefix/ works on all of my other servers
[2011/11/23 12:25:44] <jbarnett> hmm...
[2011/11/23 12:25:54] <Boltsky> (we've got about 200 using puppet so far)
[2011/11/23 12:25:57] <jbarnett> send me your site.pp in pastie
[2011/11/23 12:26:11] @ Quit: car|0s: Remote host closed the connection
[2011/11/23 12:26:22] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/23 12:26:50] @ Chillax joined channel #puppet
[2011/11/23 12:28:47] <jbarnett> do me a favor
[2011/11/23 12:28:54] <jbarnett> login to whatever server is redis
[2011/11/23 12:29:02] <jbarnett> and type $ hostname
[2011/11/23 12:29:08] <jbarnett> let's double check it's hostname =P
[2011/11/23 12:29:19] <Boltsky> root@redis01:~# hostname
[2011/11/23 12:29:19] <Boltsky> redis01
[2011/11/23 12:29:39] <Boltsky> and from the puppet master's logs...
[2011/11/23 12:29:45] <Boltsky> Nov 23 12:29:04 master01 puppet-master[16095]: Compiled catalog for redis01.da in environment production in 0.65 seconds
[2011/11/23 12:30:07] @ pfo joined channel #puppet
[2011/11/23 12:30:11] <Boltsky> (it gets redis01.da from /etc/hosts)
[2011/11/23 12:30:20] @ intransigent007 joined channel #puppet
[2011/11/23 12:30:23] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2011/11/23 12:30:24] <jbarnett> the master or the client?
[2011/11/23 12:30:29] <intransigent007> Hi Guys, anyone know a good Ruby repository (yum) ?
[2011/11/23 12:30:34] @ Quit: neonflux: Quit: Leaving.
[2011/11/23 12:30:46] <Boltsky> the log was from the master, the client's /etc/hosts has redis01.da
[2011/11/23 12:31:05] <jbarnett> which distro is the client?
[2011/11/23 12:31:11] <Boltsky> everything's debian 6
[2011/11/23 12:31:25] <intransigent007> CentOS >= 5.6 64-bit yum repo for Ruby
[2011/11/23 12:31:50] <jbarnett> $ hostname -f
[2011/11/23 12:31:51] <jbarnett> do that
[2011/11/23 12:31:58] <Boltsky> redis01.da
[2011/11/23 12:32:28] <jbarnett> do me a favor and specify a specific node in the site.pp
[2011/11/23 12:32:46] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/23 12:32:55] <nlew> indigo: Ohh I forgot an important question: which version of Puppet are you using?
[2011/11/23 12:33:02] <jbarnett> http://pastebin.com/va3MPahR
[2011/11/23 12:33:04] @ Quit: pfo: Client Quit
[2011/11/23 12:33:15] @ Chillax joined channel #puppet
[2011/11/23 12:33:24] <Boltsky> here's the fun part
[2011/11/23 12:33:33] <Boltsky> I've just been running puppet with all kinds of combinations
[2011/11/23 12:33:41] <Boltsky> node /^redis/ doesn't work
[2011/11/23 12:33:41] <jbarnett> what do you mean? haha
[2011/11/23 12:33:52] <Boltsky> node /^redis[0-9]+/ does work
[2011/11/23 12:33:57] <Boltsky> node redis01 does work
[2011/11/23 12:33:59] <jbarnett> http://pastebin.com/ffCSfAM4
[2011/11/23 12:34:01] <indigo> nlew: good question. 2.6.2, debian stable.
[2011/11/23 12:34:13] @ Quit: artista_frustrad: Ping timeout: 240 seconds
[2011/11/23 12:34:13] <Boltsky> it's only node /^redis/ that doesn't work
[2011/11/23 12:34:20] <Boltsky> if I get ANY more specific, it starts to work
[2011/11/23 12:34:26] @ saysjonathan joined channel #puppet
[2011/11/23 12:34:33] <Boltsky> BUT even with node /^redis/, I get the notify in the node definition
[2011/11/23 12:34:39] @ danikov joined channel #puppet
[2011/11/23 12:34:39] <jbarnett> i'll tell you what
[2011/11/23 12:34:40] @ Quit: bsg_kwolf: Quit: Leaving.
[2011/11/23 12:34:43] <Boltsky> just not in the class included
[2011/11/23 12:34:45] <jbarnett> you wanna do a remote desktop session?
[2011/11/23 12:35:08] <Boltsky> you don't trust what I'm saying? =P
[2011/11/23 12:35:15] <jbarnett> no- i just need to take a damn look :)
[2011/11/23 12:35:23] @ hooper joined channel #puppet
[2011/11/23 12:35:33] <Boltsky> what kind of screen sharing
[2011/11/23 12:35:42] <jbarnett> did the notify show up in the logs
[2011/11/23 12:35:51] <jbarnett> when you used the regex for the node definition?
[2011/11/23 12:35:59] <jbarnett> i saw that you tried that
[2011/11/23 12:36:03] <Boltsky> one sec, I'll put together a paste
[2011/11/23 12:36:06] <jbarnett> ok
[2011/11/23 12:36:20] <jbarnett> do you have git?
[2011/11/23 12:36:22] @ RhysMorgan joined channel #puppet
[2011/11/23 12:36:34] <jbarnett> you could just commit the whole thing to github
[2011/11/23 12:36:37] <jbarnett> and that would be the easiest
[2011/11/23 12:36:45] @ Quit: Chillax: Client Quit
[2011/11/23 12:36:45] <nlew> Boltsky: I'll bet it's just matching "redis" in the name, making a node definition called "redis", and then including that, rather than the redis class
[2011/11/23 12:36:57] <nlew> Boltsky: With a longer name, you get a longer node definition that doesn't conflict with the redis class
[2011/11/23 12:37:08] @ Chillax joined channel #puppet
[2011/11/23 12:37:15] <Boltsky> hm
[2011/11/23 12:37:19] <nlew> Boltsky: Does /^redi/ work?
[2011/11/23 12:37:28] @ Quit: walterheck: Quit: Computer has gone to sleep
[2011/11/23 12:37:47] <Boltsky> ok, I'm going to run it with each variation and show the output
[2011/11/23 12:37:51] <Boltsky> gonna take me a minute
[2011/11/23 12:38:49] @ Quit: intransigent007: Quit: Page closed
[2011/11/23 12:40:29] <Boltsky> http://pastebin.com/WKXsrx53
[2011/11/23 12:40:35] @ Quit: Chillax: Client Quit
[2011/11/23 12:40:56] @ Chillax joined channel #puppet
[2011/11/23 12:40:56] <Boltsky> so /^redi/ works
[2011/11/23 12:41:06] @ Quit: kangman: Remote host closed the connection
[2011/11/23 12:41:20] <Boltsky> Node[redis] conflicts
[2011/11/23 12:41:42] <nlew> Boltsky: Okay I've reproduced this locally. It does seem be because it's making a node redis {} that shadows class redis {}
[2011/11/23 12:41:49] @ seanbrant joined channel #puppet
[2011/11/23 12:42:14] <Boltsky> wow, at least I'm not crazy
[2011/11/23 12:42:33] <nlew> Boltsky: And I don't recall, did it work when you used class { redis: }? It should have, from my tests.
[2011/11/23 12:42:43] <jbarnett> That did work
[2011/11/23 12:43:18] <seanbrant> wheres the "best" place to story your puppet files, inside your project repo or in its own repo?
[2011/11/23 12:43:23] <nlew> Okay that makes sense. Because you can include nodes, but not declare them. So there's a workaround anyway...
[2011/11/23 12:43:30] <Boltsky> nlew: when I put class { redis: } in the bottom of modules/redis/manifests/init.pp and ran init.pp manually, that worked
[2011/11/23 12:43:33] @ jaytaph joined channel #puppet
[2011/11/23 12:43:48] @ Djelibeybi joined channel #puppet
[2011/11/23 12:44:33] <Boltsky> ok, now I know how to work around that
[2011/11/23 12:44:38] <Boltsky> thanks for the debugging help
[2011/11/23 12:44:47] <nlew> Thanks for finding the neat bug.
[2011/11/23 12:44:47] <Boltsky> should I submit a bug report?
[2011/11/23 12:44:53] <nlew> Please do
[2011/11/23 12:45:04] @ meth left channel #puppet ()
[2011/11/23 12:46:02] <indigo> are there any tools for profiling puppet agent runs and determining what's making them slow?
[2011/11/23 12:46:27] @ amh-mw joined channel #puppet
[2011/11/23 12:46:35] @ maes_ joined channel #puppet
[2011/11/23 12:47:11] @ artista_frustrad joined channel #puppet
[2011/11/23 12:47:23] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/23 12:47:43] <nlew> indigo: --summarize will show you which types took the most time, and there's another option to show the time for each resource but I can't remember what it is..
[2011/11/23 12:47:50] @ Chillax joined channel #puppet
[2011/11/23 12:48:44] @ Quit: maes_`: Ping timeout: 258 seconds
[2011/11/23 12:48:50] <nlew> Aha, --evaltrace
[2011/11/23 12:49:11] <indigo> i'm a little bit afraid the problem is just the large number of resources :( I'm exporting a lot of nagios_service and associated nagios things. I was experimenting in a branch with using a template rather than nagios_*.
[2011/11/23 12:49:25] <indigo> it doesn't seem to be faster; maybe even slower.
[2011/11/23 12:49:28] @ jodok joined channel #puppet
[2011/11/23 12:49:29] @ Quit: jodok: Changing host
[2011/11/23 12:49:29] @ jodok joined channel #puppet
[2011/11/23 12:49:43] @ Quit: jbarnett:
[2011/11/23 12:50:26] <multiverse> Since upgrading to PE 2.0 I get the following in my tomcat module: http://pastebin.com/8WaGEZ8g
[2011/11/23 12:51:44] @ Quit: Chillax: Client Quit
[2011/11/23 12:52:06] @ Chillax joined channel #puppet
[2011/11/23 12:52:09] @ brandon_dacrib_ joined channel #puppet
[2011/11/23 12:52:21] @ Quit: impatientspoon: Quit: Leaving
[2011/11/23 12:53:14] <amh-mw> indigo: Are you doing nagios_service per host, or are you doing a few nagios_host and using hostgroup_name to tie them to a reduced number of nagios_service?
[2011/11/23 12:53:30] @ Quit: brandon_dacrib_: Client Quit
[2011/11/23 12:53:52] <indigo> amh-mw: well, i'm doing the former, but would really like to do the latter. The problem is I can't think of a good way to generate the hostgroup information based on the classes included by each node.
[2011/11/23 12:54:00] @ Quit: brandon_dacrib: Ping timeout: 244 seconds
[2011/11/23 12:54:51] <Hypnoz> does anyone manage nrpe on ubuntu with nagios? The package is nagios-nrpe-server, in init.d its nagios-nrpe-server, but the process is called nrpe
[2011/11/23 12:54:58] @ Quit: londo: Remote host closed the connection
[2011/11/23 12:55:09] @ James joined channel #puppet
[2011/11/23 12:55:11] <indigo> so summarize is telling me that "Config retrieval" is taking 76.92 (percent, i guess?) What's "Config retrieval"?
[2011/11/23 12:55:13] @ seanbrant left channel #puppet ()
[2011/11/23 12:55:32] @ James is now known as Guest58616
[2011/11/23 12:55:34] @ Quit: Chillax: Client Quit
[2011/11/23 12:55:50] @ Quit: Guest58616: Client Quit
[2011/11/23 12:55:54] <nlew> indigo: That's retrieving the catalog from the master. So it almost certainly means "compilation time". The master also logs how long it took to compile, so the numbers should correlate.
[2011/11/23 12:55:57] @ Chillax joined channel #puppet
[2011/11/23 12:56:47] @ Quit: Diranged: Ping timeout: 258 seconds
[2011/11/23 12:57:13] <amh-mw> indigo: Thinking out loud: Is there some way to use the plusignment operator to add additional hostgroup_name?
[2011/11/23 12:57:18] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/23 12:57:20] <indigo> it would seem that using templates instead of nagios_* made the runs faster, and the compilation slower, for a net not-much-change :(
[2011/11/23 12:57:43] <indigo> amh-mw: i don't think so. But if you can think of a way, please let me know, because it would be awesome!
[2011/11/23 12:57:57] <Hypnoz> indigo: are you managing nrpe?
[2011/11/23 12:58:02] <indigo> Hypnoz: yes
[2011/11/23 12:58:08] <Hypnoz> what distro?
[2011/11/23 12:58:14] <indigo> debian, Mac OS
[2011/11/23 12:58:55] <Hypnoz> I'm curious how you set up your configs for debian, because the package and init script is called nagios-nrpe-server, but process is nrpe
[2011/11/23 12:59:12] @ Quit: plathrop: Quit: ZNC - http://znc.sourceforge.net
[2011/11/23 12:59:24] @ Quit: Chillax: Client Quit
[2011/11/23 12:59:37] <indigo> Hypnoz: i use service { 'nagios-nrpe-server': ...}. I don't think the process name matters to puppet.
[2011/11/23 13:00:25] <multiverse> Hi, how do I deal with a Duplicate definition? I'm new at this, and find the manifest I am debugging challenging.
[2011/11/23 13:00:33] <Hypnoz> notice: /Stage[main]/Nagios-nrpe/Service[nagios-nrpe-server]/ensure: is stopped, should be running
[2011/11/23 13:00:39] <Hypnoz> that is with the "nrpe" process running
[2011/11/23 13:00:41] <indigo> multiverse: rewrite things so you don't have a duplicate definition.
[2011/11/23 13:01:12] @ Quit: alanevans: Remote host closed the connection
[2011/11/23 13:01:16] <multiverse> indigo: I didn't have one until I upgraded to PE 2.0
[2011/11/23 13:01:17] <Hypnoz> try making a change to nrpe_local.cfg or something then run a --test --noop and see if it thinks the service is stopped
[2011/11/23 13:01:24] @ Quit: negronjl: Remote host closed the connection
[2011/11/23 13:01:37] @ negronjl joined channel #puppet
[2011/11/23 13:01:48] <Hypnoz> assuming the service subscribes to that file
[2011/11/23 13:02:16] <indigo> Hypnoz: oh, you know what...I had to write my own init.d script, because the one that comes with debian doesn't have a "status" command.
[2011/11/23 13:02:35] <indigo> Hypnoz: also it does some really dumb stuff with the pid file, like deleting it on every run.
[2011/11/23 13:02:49] <Hypnoz> # /etc/init.d/nagios-nrpe-server status
[2011/11/23 13:02:50] <Hypnoz> * nagios-nrpe is running
[2011/11/23 13:02:58] <indigo> Hypnoz: run it again
[2011/11/23 13:03:08] <Hypnoz> this is on ubuntu, not sure if thats what you meant or debian
[2011/11/23 13:03:20] <RhysMorgan> Anyone know of any documentation describing the metaparameters used for the user type with windows?
[2011/11/23 13:03:24] <the_ramink> Hypnoz: on Ubuntu my nrpe module looks a bit like this, http://pastie.org/2910993
[2011/11/23 13:03:48] <indigo> Hypnoz: ah. well maybe ubuntu fixed it.
[2011/11/23 13:04:04] <indigo> Hypnoz: anyway maybe you need hasstatus => true in your service declaration.
[2011/11/23 13:04:24] @ Quit: tvincent: Read error: Connection reset by peer
[2011/11/23 13:04:28] @ Quit: geekbri: Remote host closed the connection
[2011/11/23 13:04:48] <Hypnoz> nah you're using a "pattern => processname" I haven't seen that before
[2011/11/23 13:04:56] @ Quit: kaptk2: Quit: Leaving.
[2011/11/23 13:04:57] @ Quit: negronjl: Remote host closed the connection
[2011/11/23 13:05:09] <Boltsky> http://projects.puppetlabs.com/issues/1372
[2011/11/23 13:05:10] <Hypnoz> this is interesting thanks
[2011/11/23 13:05:11] @ sduchesneau joined channel #puppet
[2011/11/23 13:05:15] @ negronjl joined channel #puppet
[2011/11/23 13:05:39] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/23 13:05:51] @ mmoya joined channel #puppet
[2011/11/23 13:05:53] @ Quit: dwalu: Read error: Connection timed out
[2011/11/23 13:06:27] <Hypnoz> indigo: I think you could add this to your nrpe service too
[2011/11/23 13:06:27] <Hypnoz> subscribe => File["/etc/nagios/nrpe_local.cfg"],
[2011/11/23 13:06:44] <Hypnoz> or you might change the path of the file to a variable based on OS like the rest of your stuff
[2011/11/23 13:06:59] <indigo> Hypnoz: you mean the_ramink ?
[2011/11/23 13:07:14] @ dwalu joined channel #puppet
[2011/11/23 13:07:24] @ ncjohnsto joined channel #puppet
[2011/11/23 13:08:21] @ ncjohnsto is now known as chjohnst
[2011/11/23 13:08:35] @ Chillax joined channel #puppet
[2011/11/23 13:08:48] <Hypnoz> indigo: what is the different between $operatingsystem and $::operatingsystem
[2011/11/23 13:09:35] @ erthad left channel #puppet ()
[2011/11/23 13:09:54] <the_ramink> Hypnoz: $:: is more precise. In Puppet 2.8 they're dropping dynamic scoping so you'll need the $:: to indicate top scope
[2011/11/23 13:10:25] <indigo> i think the top scope is still implicitly searched, isn't it?
[2011/11/23 13:10:45] <indigo> it's just that only the current scope, and the top scope are searched. Not those, plus some arbitrary set of scopes in between.
[2011/11/23 13:11:29] <the_ramink> could be, I just do what puppet-lint says to and call it a day. :)
[2011/11/23 13:12:24] @ Holocaine joined channel #puppet
[2011/11/23 13:12:33] @ Quit: Chillax: Client Quit
[2011/11/23 13:12:54] @ Chillax joined channel #puppet
[2011/11/23 13:13:32] @ Quit: magickal1: Quit: Leaving
[2011/11/23 13:15:41] <the_ramink> Hypnoz: in regards to subscribe => it's usually not worth it, notify is better I'm doing it at the class level with resource chains. https://github.com/rkhatibi/rdk-puppet-modules/tree/master/nrpe
[2011/11/23 13:19:37] <indigo> subscribe and notify are the same thing.
[2011/11/23 13:19:44] @ Quit: zahna: Ping timeout: 244 seconds
[2011/11/23 13:19:50] <indigo> just different directions.
[2011/11/23 13:21:46] @ zahna joined channel #puppet
[2011/11/23 13:21:54] @ Quit: i0n: Remote host closed the connection
[2011/11/23 13:22:12] <the_ramink> yes, but only one is useful when you don't know how many config files you're going to have.
[2011/11/23 13:24:11] @ Quit: jonhattan: Quit: Ex-Chat
[2011/11/23 13:27:03] @ Quit: saysjonathan: Read error: Operation timed out
[2011/11/23 13:27:58] @ skm joined channel #puppet
[2011/11/23 13:29:08] @ Quit: Chillax: Ping timeout: 244 seconds
[2011/11/23 13:30:41] @ benkevan joined channel #puppet
[2011/11/23 13:35:04] @ amh-mw left channel #puppet ()
[2011/11/23 13:37:27] @ Quit: artista_frustrad: Ping timeout: 252 seconds
[2011/11/23 13:37:30] @ Quit: multiverse: Read error: Connection reset by peer
[2011/11/23 13:38:08] @ Quit: marczak: Ping timeout: 252 seconds
[2011/11/23 13:41:26] @ Quit: odyi: Remote host closed the connection
[2011/11/23 13:41:53] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/23 13:42:40] @ Quit: benkevan: Ping timeout: 260 seconds
[2011/11/23 13:43:14] @ odyi joined channel #puppet
[2011/11/23 13:43:14] @ Quit: odyi: Changing host
[2011/11/23 13:43:14] @ odyi joined channel #puppet
[2011/11/23 13:43:51] @ Quit: bosszaru: Ping timeout: 260 seconds
[2011/11/23 13:44:15] @ plathrop joined channel #puppet
[2011/11/23 13:45:25] @ Chillax joined channel #puppet
[2011/11/23 13:47:07] @ Quit: labrown: Quit: Leaving
[2011/11/23 13:48:11] @ drewrm joined channel #puppet
[2011/11/23 13:50:20] @ artista_frustrad joined channel #puppet
[2011/11/23 13:52:59] @ Quit: HCoyote: Quit: Leaving.
[2011/11/23 13:53:20] @ HCoyote joined channel #puppet
[2011/11/23 13:54:55] @ Quit: williemach: Quit: Leaving.
[2011/11/23 13:54:57] @ Quit: emre`: Quit: Lost terminal
[2011/11/23 13:55:11] @ Quit: artista_frustrad: Ping timeout: 252 seconds
[2011/11/23 13:56:35] @ Quit: indigo: Quit: leaving
[2011/11/23 13:57:46] @ ciupicri joined channel #puppet
[2011/11/23 13:57:56] @ benkevan joined channel #puppet
[2011/11/23 14:01:26] <ciupicri> is there a way to copy only the "*.xxx" files from a directory?
[2011/11/23 14:01:38] @ pfo joined channel #puppet
[2011/11/23 14:04:38] @ Quit: negronjl: Ping timeout: 258 seconds
[2011/11/23 14:05:33] @ InsolentDreams joined channel #puppet
[2011/11/23 14:06:44] @ marczak joined channel #puppet
[2011/11/23 14:07:13] @ Quit: zwi: Quit: Leaving.
[2011/11/23 14:07:16] @ artista_frustrad joined channel #puppet
[2011/11/23 14:07:17] @ Quit: pfo: Quit: pfo
[2011/11/23 14:07:50] @ Quit: ghg: Ping timeout: 252 seconds
[2011/11/23 14:08:44] @ pfo joined channel #puppet
[2011/11/23 14:09:24] @ Quit: mitchellh: Quit: ZOMG BYE
[2011/11/23 14:10:13] @ hfnix joined channel #puppet
[2011/11/23 14:11:32] @ |Mike| joined channel #puppet
[2011/11/23 14:12:41] <jamesturnbull> gepetto: seen fsargent
[2011/11/23 14:12:41] <gepetto> jamesturnbull: fsargent was last seen 8 days, 3 hours, 12 minutes and 44 seconds ago, leaving #puppet ("Textual IRC Client: http://www.textualapp.com/") and a moment before saying "Nah -- I'll have a response for you in a bit, I've got to run." in #puppet
[2011/11/23 14:13:13] @ M- joined channel #puppet
[2011/11/23 14:13:59] @ Quit: tremble: Ping timeout: 240 seconds
[2011/11/23 14:17:56] @ emre` joined channel #puppet
[2011/11/23 14:17:58] @ Quit: benkevan: Quit: leaving
[2011/11/23 14:22:35] <dwalu> Is anyone using puppetlabs-apache?
[2011/11/23 14:23:41] <dwalu> it seems that the a2mod provider never actually creates a resource
[2011/11/23 14:23:48] <dwalu> or rater never actually runs.
[2011/11/23 14:26:57] @ Quit: dwalu: Quit: dwalu
[2011/11/23 14:27:17] @ dwalu joined channel #puppet
[2011/11/23 14:29:43] @ Quit: marczak: Ping timeout: 252 seconds
[2011/11/23 14:30:07] @ dgillies joined channel #puppet
[2011/11/23 14:31:25] @ marczak joined channel #puppet
[2011/11/23 14:31:34] @ Quit: djm68: Quit: leaving
[2011/11/23 14:33:05] @ Quit: mcarpent: Remote host closed the connection
[2011/11/23 14:33:27] @ Quit: fir31ight: Remote host closed the connection
[2011/11/23 14:33:40] <jamesturnbull> dwalu: can you pastie some output?
[2011/11/23 14:33:45] <jamesturnbull> dwalu: what platform?
[2011/11/23 14:33:50] @ mosen joined channel #puppet
[2011/11/23 14:34:20] @ L0n joined channel #puppet
[2011/11/23 14:35:08] <ciupicri> is there a way to copy only the "*.xxx" files from a directory?
[2011/11/23 14:36:19] <dwalu> nevermind. I apparently didn't svn commit after I aded my realize statements (blush)
[2011/11/23 14:36:50] @ peridot joined channel #puppet
[2011/11/23 14:37:19] @ Quit: kermit: Quit: Leaving.
[2011/11/23 14:37:30] <peridot> Hey there, does anyone know the syntax to exclude a tag in tagmail? I'm not finding anything on google.
[2011/11/23 14:37:33] @ kermit joined channel #puppet
[2011/11/23 14:37:46] <dwalu> does it make sense to keep site or application specific parameters in class::params?
[2011/11/23 14:38:11] <dwalu> I'm still trying to figure out the best way to use that pattern
[2011/11/23 14:39:09] @ fir31ight joined channel #puppet
[2011/11/23 14:40:48] @ Quit: TylerWalts: Ping timeout: 265 seconds
[2011/11/23 14:41:22] @ Quit: hfnix: Quit: Leaving.
[2011/11/23 14:42:05] <jamesturnbull> ciupicri: there is an exclusion clause in the file type - checks the docs
[2011/11/23 14:42:40] <the_ramink> dwalu: my feeling is that params should cover getting the package installed, paths, service, etc. Anything else should come from parameters, extlookup, hiera, enc or whatever. there is some gray area there, but I've found myself reducing the crap in my params class lately.
[2011/11/23 14:43:10] <ciupicri> jamesturnbull, found it, it's ignore
[2011/11/23 14:43:18] <ciupicri> jamesturnbull, thanks
[2011/11/23 14:43:25] <jamesturnbull> peridot: it's in the docs - prefix with ! - http://docs.puppetlabs.com/references/latest/report.html
[2011/11/23 14:43:49] <jamesturnbull> dwalu: yeah what the_ramink said
[2011/11/23 14:43:49] @ marczak_ joined channel #puppet
[2011/11/23 14:44:07] @ Quit: marczak: Ping timeout: 258 seconds
[2011/11/23 14:44:49] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/23 14:45:07] <peridot> jamesturnbull: Doh, thanks
[2011/11/23 14:46:45] @ dwalu left channel #puppet ()
[2011/11/23 14:50:49] @ zul joined channel #puppet
[2011/11/23 14:51:12] @ Quit: zul: Remote host closed the connection
[2011/11/23 14:51:16] @ zul joined channel #puppet
[2011/11/23 14:53:01] @ Quit: marczak_: Ping timeout: 240 seconds
[2011/11/23 14:54:31] @ Quit: zul: Read error: Connection reset by peer
[2011/11/23 14:54:52] @ zul joined channel #puppet
[2011/11/23 14:57:21] @ Quit: artista_frustrad: Ping timeout: 260 seconds
[2011/11/23 14:59:57] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/23 15:01:49] @ Quit: L0n: Quit: Leaving
[2011/11/23 15:02:16] @ tizzo-afk joined channel #puppet
[2011/11/23 15:08:14] @ Quit: the_ramink: Ping timeout: 244 seconds
[2011/11/23 15:10:52] @ slap_stick joined channel #puppet
[2011/11/23 15:11:16] @ Quit: rharrison: Quit: Leaving
[2011/11/23 15:12:02] <slap_stick> hey i have removed /var/lib/puppet/ssl directory and ran puppetd, the certificates got signed fine but then i get an error saying: err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: Certificates were not trusted: certificate verify failed
[2011/11/23 15:12:54] @ matchaw___ joined channel #puppet
[2011/11/23 15:13:11] @ Quit: matchaw_: Ping timeout: 240 seconds
[2011/11/23 15:18:29] @ Quit: bmahe: Quit: Leaving
[2011/11/23 15:18:34] @ ghg joined channel #puppet
[2011/11/23 15:21:14] @ dwalu joined channel #puppet
[2011/11/23 15:23:32] <dwalu> how do you get puppetlabs-apache to install mpm-prefork instead of mpm-worker ?
[2011/11/23 15:24:24] <dwalu> I'm trying to replace a homegrown module with the puppetlabs one. for some reason the puppetlabs one wants to install mpm-worker on an identical system to my old environment, using all of the same package names.
[2011/11/23 15:24:54] @ Quit: joshcooper: Quit: joshcooper
[2011/11/23 15:25:39] @ l0n joined channel #puppet
[2011/11/23 15:26:38] @ samkottler joined channel #puppet
[2011/11/23 15:29:24] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/23 15:29:52] @ Quit: ryancoleman: Ping timeout: 248 seconds
[2011/11/23 15:30:53] @ Quit: jsurfer: Remote host closed the connection
[2011/11/23 15:30:58] @ Quit: alanna: Ping timeout: 244 seconds
[2011/11/23 15:31:04] @ Quit: lak: Ping timeout: 244 seconds
[2011/11/23 15:31:23] @ Quit: miche: Ping timeout: 260 seconds
[2011/11/23 15:33:59] @ Quit: slap_stick: Quit: This computer has gone to sleep
[2011/11/23 15:35:47] @ clustermagnet joined channel #puppet
[2011/11/23 15:37:17] @ Quit: pfo: Quit: pfo
[2011/11/23 15:37:57] @ Quit: peridot: Quit: Leaving.
[2011/11/23 15:40:26] @ frostynova joined channel #puppet
[2011/11/23 15:40:58] @ Quit: jaytaph: Quit: jaytaph
[2011/11/23 15:42:48] @ Quit: dwalu: Read error: Operation timed out
[2011/11/23 15:43:21] @ Quit: brtl: Quit: Leaving.
[2011/11/23 15:43:28] @ Quit: Bondau: Ping timeout: 244 seconds
[2011/11/23 15:43:45] @ brtl joined channel #puppet
[2011/11/23 15:43:47] @ Quit: ianbrandt: Quit: ianbrandt
[2011/11/23 15:44:26] @ dwalu joined channel #puppet
[2011/11/23 15:45:25] @ hfnix joined channel #puppet
[2011/11/23 15:45:48] <Hypnoz> slap_stick: check that the system clock is the same on the puppet master and puppet client
[2011/11/23 15:49:30] @ rcrowley joined channel #puppet
[2011/11/23 15:49:49] @ Quit: spiette: Ping timeout: 240 seconds
[2011/11/23 15:49:51] @ Quit: ciupicri: Quit: Quit
[2011/11/23 15:50:07] @ alanna joined channel #puppet
[2011/11/23 15:50:11] @ lak joined channel #puppet
[2011/11/23 15:50:11] @ Quit: lak: Changing host
[2011/11/23 15:50:11] @ lak joined channel #puppet
[2011/11/23 15:57:34] @ Quit: nul0op: Quit: Leaving
[2011/11/23 15:57:45] @ Quit: sduchesneau: Remote host closed the connection
[2011/11/23 16:00:32] <matchaw___> hey, is it possible to have multiple match statments in augeas resource?
[2011/11/23 16:02:28] @ Quit: dwalu: Quit: dwalu
[2011/11/23 16:09:10] @ Quit: emre`: Quit: leaving
[2011/11/23 16:13:19] @ newtMcKerr joined channel #puppet
[2011/11/23 16:15:56] @ MUILTFN joined channel #puppet
[2011/11/23 16:16:43] @ Quit: DJClean: Read error: Operation timed out
[2011/11/23 16:16:59] <raphink> matchaw___: you can ask on #augeas, there's more people to answer these questions :-)
[2011/11/23 16:17:10] <matchaw___> Raphink, ok thanks.
[2011/11/23 16:18:23] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/11/23 16:22:23] @ ben- joined channel #puppet
[2011/11/23 16:23:16] @ maplebed is now known as Guest89006
[2011/11/23 16:23:27] @ Quit: brtl: Quit: Leaving.
[2011/11/23 16:24:37] @ Quit: Guest89006: Ping timeout: 245 seconds
[2011/11/23 16:24:41] @ Quit: MUILTFN: Ping timeout: 252 seconds
[2011/11/23 16:25:40] @ ben- is now known as maplebed
[2011/11/23 16:25:40] @ Quit: maplebed: Changing host
[2011/11/23 16:25:40] @ maplebed joined channel #puppet
[2011/11/23 16:27:39] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/23 16:27:59] @ seanh-ansca joined channel #puppet
[2011/11/23 16:29:14] @ MUILTFN joined channel #puppet
[2011/11/23 16:35:33] @ Quit: ehazlett: Ping timeout: 244 seconds
[2011/11/23 16:40:06] @ astrostl joined channel #puppet
[2011/11/23 16:40:26] @ ryancoleman joined channel #puppet
[2011/11/23 16:40:48] @ Quit: hooper: Ping timeout: 248 seconds
[2011/11/23 16:43:34] @ Quit: jkoppe: Read error: Connection reset by peer
[2011/11/23 16:46:08] @ fliplap_ joined channel #puppet
[2011/11/23 16:46:25] @ the_ramink joined channel #puppet
[2011/11/23 16:46:56] @ Quit: samkottler: Quit: Leaving.
[2011/11/23 16:46:58] @ ehazlett joined channel #puppet
[2011/11/23 16:47:20] @ brtl joined channel #puppet
[2011/11/23 16:47:40] @ Quit: dan__t: Ping timeout: 276 seconds
[2011/11/23 16:49:37] @ Quit: fliplap: Ping timeout: 245 seconds
[2011/11/23 16:50:54] @ samkottler joined channel #puppet
[2011/11/23 16:52:04] @ dissipate joined channel #puppet
[2011/11/23 16:52:04] @ Quit: dissipate: Changing host
[2011/11/23 16:52:04] @ dissipate joined channel #puppet
[2011/11/23 16:52:07] @ Quit: drewrm: Ping timeout: 245 seconds
[2011/11/23 16:52:28] @ Quit: lak: Quit: Leaving.
[2011/11/23 16:56:01] @ neonflux joined channel #puppet
[2011/11/23 17:02:22] @ Quit: NightMonkey: Quit: Body blow! Body blow!
[2011/11/23 17:03:44] @ Quit: MUILTFN: Ping timeout: 248 seconds
[2011/11/23 17:09:36] @ Quit: mmoya: Ping timeout: 248 seconds
[2011/11/23 17:11:14] @ Quit: brtl: Quit: Leaving.
[2011/11/23 17:12:06] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/23 17:14:48] @ Quit: alanna: Remote host closed the connection
[2011/11/23 17:22:30] @ Chillax_ joined channel #puppet
[2011/11/23 17:22:31] @ Quit: Chillax: Ping timeout: 240 seconds
[2011/11/23 17:22:32] @ Quit: tvsutton: Quit: Lost terminal
[2011/11/23 17:22:37] @ alanna_ joined channel #puppet
[2011/11/23 17:22:39] @ Quit: alanna_: Read error: Connection reset by peer
[2011/11/23 17:22:39] @ alanna_ joined channel #puppet
[2011/11/23 17:22:46] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/23 17:22:50] @ Quit: alanna_: Ping timeout: 245 seconds
[2011/11/23 17:23:46] @ Quit: pugnacity: Ping timeout: 260 seconds
[2011/11/23 17:29:43] @ Boltsky joined channel #puppet
[2011/11/23 17:31:58] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/23 17:35:50] @ slvrboy joined channel #puppet
[2011/11/23 17:37:59] @ Quit: dissipate: Ping timeout: 240 seconds
[2011/11/23 17:38:07] @ pugnacity joined channel #puppet
[2011/11/23 17:41:48] @ Quit: comptona: Quit: Leaving.
[2011/11/23 17:43:28] @ Quit: slvrboy:
[2011/11/23 17:45:14] @ Quit: maplebed: Quit: maplebed
[2011/11/23 17:49:36] @ Quit: frostynova: Remote host closed the connection
[2011/11/23 17:58:00] @ Quit: danikov: Ping timeout: 240 seconds
[2011/11/23 17:59:00] @ Enf joined channel #puppet
[2011/11/23 18:00:38] @ danikov joined channel #puppet
[2011/11/23 18:07:05] @ illsci_ joined channel #puppet
[2011/11/23 18:12:55] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/23 18:16:04] @ frostynova joined channel #puppet
[2011/11/23 18:16:25] @ Quit: seanh-ansca: Read error: Operation timed out
[2011/11/23 18:19:22] @ Quit: sumsuch: Quit: sumsuch
[2011/11/23 18:19:41] @ BManojlovic joined channel #puppet
[2011/11/23 18:19:41] @ Quit: BManojlovic: Changing host
[2011/11/23 18:19:41] @ BManojlovic joined channel #puppet
[2011/11/23 18:24:14] @ Quit: InsolentDreams: Quit: InsolentDreams
[2011/11/23 18:26:07] @ Quit: kelseyhightower: Ping timeout: 244 seconds
[2011/11/23 18:28:04] @ kelseyhightower joined channel #puppet
[2011/11/23 18:33:47] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/23 18:35:14] @ alanevans joined channel #puppet
[2011/11/23 18:35:44] @ bmahe joined channel #puppet
[2011/11/23 18:35:44] @ Quit: bmahe: Changing host
[2011/11/23 18:35:44] @ bmahe joined channel #puppet
[2011/11/23 18:37:25] @ newtMcKerr joined channel #puppet
[2011/11/23 18:37:51] @ dbgster joined channel #puppet
[2011/11/23 18:50:22] @ seanh-ansca joined channel #puppet
[2011/11/23 18:50:56] @ spiette joined channel #puppet
[2011/11/23 18:54:39] @ Quit: neonflux: Quit: Leaving.
[2011/11/23 19:02:29] @ Quit: spiette: Quit: Leaving
[2011/11/23 19:04:24] @ Quit: samkottler: Quit: Leaving.
[2011/11/23 19:07:33] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/23 19:13:51] @ Spads_ joined channel #puppet
[2011/11/23 19:16:22] @ Quit: Spads: Ping timeout: 244 seconds
[2011/11/23 19:16:24] @ Quit: choonming: Ping timeout: 240 seconds
[2011/11/23 19:16:58] @ Quit: Shanlar-: Read error: Connection reset by peer
[2011/11/23 19:20:21] @ Shanlar joined channel #puppet
[2011/11/23 19:22:52] @ pugnacity joined channel #puppet
[2011/11/23 19:23:59] @ negronjl joined channel #puppet
[2011/11/23 19:25:13] @ Quit: Shanlar: Ping timeout: 240 seconds
[2011/11/23 19:25:34] @ marczak joined channel #puppet
[2011/11/23 19:26:27] @ Jbstlmo joined channel #puppet
[2011/11/23 19:29:19] @ Quit: sdog: Ping timeout: 258 seconds
[2011/11/23 19:29:47] @ MUILTFN joined channel #puppet
[2011/11/23 19:31:35] <Jbstlmo> Just installed puppet enterprise 2.0 on a handful of servers and a puppet inspect cron job sends me messages from every node, every night
[2011/11/23 19:31:58] <Jbstlmo> Anyone else having this issue?
[2011/11/23 19:35:06] @ newtMcKerr1 joined channel #puppet
[2011/11/23 19:35:06] @ Quit: newtMcKerr: Read error: Connection reset by peer
[2011/11/23 19:37:23] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/23 19:37:32] @ emergion joined channel #puppet
[2011/11/23 19:39:42] @ choonming joined channel #puppet
[2011/11/23 19:39:49] @ sdog joined channel #puppet
[2011/11/23 19:41:13] @ bobra joined channel #puppet
[2011/11/23 19:44:25] @ Quit: abetterlie: Ping timeout: 240 seconds
[2011/11/23 19:45:19] @ Quit: dbgster: Quit: dbgster
[2011/11/23 19:47:51] @ Quit: kinsel: Ping timeout: 260 seconds
[2011/11/23 19:49:27] @ kinsel joined channel #puppet
[2011/11/23 19:50:02] @ Quit: bobra: Remote host closed the connection
[2011/11/23 19:50:35] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/23 19:51:56] @ sumsuch joined channel #puppet
[2011/11/23 19:52:44] @ bobra joined channel #puppet
[2011/11/23 19:52:47] <vkdir> anyone populating a file in /etc/sysctl.d/ using puppet?
[2011/11/23 19:52:58] @ Shanlar joined channel #puppet
[2011/11/23 19:53:06] <vkdir> (without just dropping in a file)
[2011/11/23 19:55:40] @ dissipate joined channel #puppet
[2011/11/23 19:55:48] @ Quit: Shanlar: Read error: Connection reset by peer
[2011/11/23 19:56:25] @ Quit: lilmatt: Quit: lilmatt
[2011/11/23 19:57:53] @ Quit: Jbstlmo: Quit: Page closed
[2011/11/23 20:00:48] @ Shanlar joined channel #puppet
[2011/11/23 20:02:41] @ Quit: hfnix: Remote host closed the connection
[2011/11/23 20:04:45] @ InsolentDreams joined channel #puppet
[2011/11/23 20:07:22] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/23 20:10:41] @ skm joined channel #puppet
[2011/11/23 20:11:02] @ Quit: InsolentDreams: Quit: InsolentDreams
[2011/11/23 20:21:55] @ hfnix joined channel #puppet
[2011/11/23 20:24:15] @ gaveen joined channel #puppet
[2011/11/23 20:24:15] @ Quit: gaveen: Changing host
[2011/11/23 20:24:15] @ gaveen joined channel #puppet
[2011/11/23 20:24:35] <hacim> vkdir: sure, i've got a sysctl module
[2011/11/23 20:24:54] <hacim> although it doesn't put a file in there
[2011/11/23 20:24:58] @ Shanlar- joined channel #puppet
[2011/11/23 20:24:59] <hacim> git://labs.riseup.net/module_sysctl
[2011/11/23 20:25:14] <hacim> uses augeas
[2011/11/23 20:25:15] @ Quit: Shanlar: Read error: Connection reset by peer
[2011/11/23 20:32:01] <vkdir> hacim: settings are persistent across reboots?
[2011/11/23 20:35:50] @ Quit: xyn: Ping timeout: 276 seconds
[2011/11/23 20:35:55] @ xyn joined channel #puppet
[2011/11/23 20:36:30] @ Quit: fredden: Quit: Leaving
[2011/11/23 20:37:16] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/23 20:38:35] @ saysjonathan joined channel #puppet
[2011/11/23 20:43:16] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 20:48:42] @ scsinutz joined channel #puppet
[2011/11/23 20:49:06] @ Quit: scsinutz: Client Quit
[2011/11/23 20:49:09] @ saysjonathan joined channel #puppet
[2011/11/23 20:50:02] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 20:51:24] <dissipate> has anyone tried to have puppet access files over a Fuse mount?
[2011/11/23 20:51:24] @ Quit: choonming: Ping timeout: 244 seconds
[2011/11/23 20:54:16] @ saysjonathan joined channel #puppet
[2011/11/23 20:58:32] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 20:59:16] @ saysjonathan joined channel #puppet
[2011/11/23 21:01:25] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2011/11/23 21:03:01] @ walterheck joined channel #puppet
[2011/11/23 21:03:42] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 21:04:17] @ saysjonathan joined channel #puppet
[2011/11/23 21:05:09] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:09:17] @ saysjonathan joined channel #puppet
[2011/11/23 21:09:41] <whack> dissipate: assuming the fuse fs implements all the features puppet needs it should work, why?
[2011/11/23 21:09:58] @ choonming joined channel #puppet
[2011/11/23 21:11:31] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:14:17] @ saysjonathan joined channel #puppet
[2011/11/23 21:14:43] <dissipate> whack, it seems puppet can read files in a fuse mounted directory. at least it can't in my case.
[2011/11/23 21:15:14] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:16:11] <whack> dissipate: fuse is just an API, what's the implementation? sshfs? something else?
[2011/11/23 21:17:39] <dissipate> whack, amazon's s3 bucket mounting utility s3fs
[2011/11/23 21:18:25] <whack> dissipate: I don't know if s3fs implements all the calls puppet uses on the filesystem. Your best bet is to make a small example that exhibits your problem and strace it, see what syscalls are failing that should not be failing
[2011/11/23 21:19:18] @ saysjonathan joined channel #puppet
[2011/11/23 21:22:05] <dissipate> whack, actually, i'm dumping s3fs. its acting quite strange in ways that have nothing to do with puppet.
[2011/11/23 21:23:18] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/23 21:23:31] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:24:07] <whack> dissipate: I much of it might have to do with the fact that S3 doesn't expose enough functionality to properly implement all the posix syscalls
[2011/11/23 21:24:19] @ KaiserBeto joined channel #puppet
[2011/11/23 21:24:23] <whack> s/doesn't/probably doesn't/
[2011/11/23 21:25:22] <dissipate> that's just crappy
[2011/11/23 21:26:51] @ Quit: walterheck: Quit: Computer has gone to sleep
[2011/11/23 21:28:27] @ gniks left channel #puppet ()
[2011/11/23 21:29:39] @ skm joined channel #puppet
[2011/11/23 21:31:43] @ Quit: hfnix: Ping timeout: 276 seconds
[2011/11/23 21:34:42] <checkers> well, it's not intended to be a POSIX filesystem :)
[2011/11/23 21:38:41] <dissipate> checkers, why not?
[2011/11/23 21:38:58] <dissipate> it seems it's not compatible with other apps
[2011/11/23 21:41:51] @ saysjonathan joined channel #puppet
[2011/11/23 21:42:41] <whack> dissipate: different design requirements. Limiting features allows you to implement other things that help you scale, etc.
[2011/11/23 21:42:44] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:42:52] <whack> rather, scale to the business requirements
[2011/11/23 21:44:09] @ lak joined channel #puppet
[2011/11/23 21:44:09] @ Quit: lak: Changing host
[2011/11/23 21:44:10] @ lak joined channel #puppet
[2011/11/23 21:46:51] @ saysjonathan joined channel #puppet
[2011/11/23 21:47:07] @ seanh-ansca joined channel #puppet
[2011/11/23 21:48:04] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:49:44] @ Quit: tily: Remote host closed the connection
[2011/11/23 21:51:14] @ Quit: dissipate: Ping timeout: 244 seconds
[2011/11/23 21:51:26] @ Quit: odyi: Read error: Connection reset by peer
[2011/11/23 21:51:32] @ odyi joined channel #puppet
[2011/11/23 21:51:33] @ Quit: odyi: Changing host
[2011/11/23 21:51:33] @ odyi joined channel #puppet
[2011/11/23 21:51:34] @ gniks joined channel #puppet
[2011/11/23 21:51:51] @ saysjonathan joined channel #puppet
[2011/11/23 21:54:48] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:56:46] @ Quit: walkeran: Ping timeout: 260 seconds
[2011/11/23 21:56:51] @ saysjonathan joined channel #puppet
[2011/11/23 21:57:57] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 21:58:29] @ Quit: l0n:
[2011/11/23 22:00:17] @ Quit: localhost: Remote host closed the connection
[2011/11/23 22:01:28] @ localhost joined channel #puppet
[2011/11/23 22:03:44] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/23 22:07:35] @ Quit: Holocaine:
[2011/11/23 22:11:41] @ seanh-ansca joined channel #puppet
[2011/11/23 22:13:07] @ saysjonathan joined channel #puppet
[2011/11/23 22:14:15] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:15:26] @ abetterlie joined channel #puppet
[2011/11/23 22:15:49] @ walkeran joined channel #puppet
[2011/11/23 22:18:12] @ saysjonathan joined channel #puppet
[2011/11/23 22:19:56] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:23:07] @ saysjonathan joined channel #puppet
[2011/11/23 22:23:58] @ Quit: pamorf:
[2011/11/23 22:24:33] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:28:08] @ saysjonathan joined channel #puppet
[2011/11/23 22:29:49] <vkdir> anyone seen messages like this in Debian squeeze? info: /User[user1]: Provider useradd does not support features manages_solaris_rbac; not managing attribute roles
[2011/11/23 22:30:10] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:31:25] @ ckauhaus joined channel #puppet
[2011/11/23 22:33:08] @ saysjonathan joined channel #puppet
[2011/11/23 22:33:28] <vkdir> wow. the irc logs are impossible to read.
[2011/11/23 22:34:15] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:35:24] <misc> vkdir: i think the message are harmless
[2011/11/23 22:36:21] <vkdir> misc: I believe you, but it's a ton of noise
[2011/11/23 22:36:41] @ riha joined channel #puppet
[2011/11/23 22:37:13] @ Quit: seanh-ansca: Ping timeout: 244 seconds
[2011/11/23 22:38:02] <misc> vkdir: that's because you are running with verbose and or debug, no ?
[2011/11/23 22:38:08] @ saysjonathan joined channel #puppet
[2011/11/23 22:38:16] <vkdir> misc: I don't believe so.
[2011/11/23 22:38:58] <misc> vkdir: then it is a problem
[2011/11/23 22:39:00] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 22:39:13] @ Quit: dgillies: Quit: Eaten by a grue
[2011/11/23 22:39:51] @ d3c joined channel #puppet
[2011/11/23 22:39:56] @ Quit: shiruken: Ping timeout: 260 seconds
[2011/11/23 22:41:31] @ shiruken joined channel #puppet
[2011/11/23 22:43:26] @ seanh-ansca joined channel #puppet
[2011/11/23 22:44:26] @ Vulcan[OMNI] joined channel #puppet
[2011/11/23 22:46:21] @ Meier joined channel #puppet
[2011/11/23 22:46:56] @ elementai joined channel #puppet
[2011/11/23 22:47:48] @ saysjonathan joined channel #puppet
[2011/11/23 22:50:25] @ nuknad joined channel #puppet
[2011/11/23 22:50:55] @ jaydg joined channel #puppet
[2011/11/23 22:51:00] @ Quit: emergion: Quit: later...
[2011/11/23 22:51:41] @ alanna joined channel #puppet
[2011/11/23 22:52:21] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 22:52:48] @ saysjonathan joined channel #puppet
[2011/11/23 22:53:20] @ artkrz joined channel #puppet
[2011/11/23 22:57:29] @ Quit: saysjonathan: Ping timeout: 260 seconds
[2011/11/23 22:57:56] @ Quit: sdog: Remote host closed the connection
[2011/11/23 22:58:14] @ Quit: jodok: Quit: jodok
[2011/11/23 22:58:44] @ Quit: mosen: Quit: Leaving
[2011/11/23 23:01:36] @ Quit: marcellods: Ping timeout: 244 seconds
[2011/11/23 23:04:26] @ saysjonathan joined channel #puppet
[2011/11/23 23:05:39] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:09:31] @ saysjonathan joined channel #puppet
[2011/11/23 23:12:07] @ pjd3 joined channel #puppet
[2011/11/23 23:13:54] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 23:14:31] @ saysjonathan joined channel #puppet
[2011/11/23 23:16:00] @ pjd3 left channel #puppet ()
[2011/11/23 23:16:08] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:17:33] @ hfnix joined channel #puppet
[2011/11/23 23:20:11] @ Kazuhiro joined channel #puppet
[2011/11/23 23:21:38] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/23 23:26:38] @ Quit: danikov: Ping timeout: 252 seconds
[2011/11/23 23:27:51] @ mmoya joined channel #puppet
[2011/11/23 23:27:55] @ Quit: M-: Quit: Leaving
[2011/11/23 23:28:02] @ Quit: KaiserBeto: Quit: Leaving.
[2011/11/23 23:28:35] @ rcrowley joined channel #puppet
[2011/11/23 23:29:32] @ saysjonathan joined channel #puppet
[2011/11/23 23:30:29] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:31:10] @ danikov joined channel #puppet
[2011/11/23 23:31:34] @ DJClean joined channel #puppet
[2011/11/23 23:32:07] @ Quit: hfnix: Ping timeout: 252 seconds
[2011/11/23 23:33:41] @ hfnix joined channel #puppet
[2011/11/23 23:33:59] @ walterheck joined channel #puppet
[2011/11/23 23:34:33] @ saysjonathan joined channel #puppet
[2011/11/23 23:35:49] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:36:52] @ jaytaph joined channel #puppet
[2011/11/23 23:37:39] @ AshishH joined channel #puppet
[2011/11/23 23:38:26] @ Quit: larsar_:
[2011/11/23 23:38:40] @ larsar joined channel #puppet
[2011/11/23 23:39:17] @ sdog joined channel #puppet
[2011/11/23 23:39:36] @ saysjonathan joined channel #puppet
[2011/11/23 23:39:49] @ Quit: negronjl: Ping timeout: 252 seconds
[2011/11/23 23:39:50] @ Quit: MUILTFN: Ping timeout: 240 seconds
[2011/11/23 23:40:01] @ pfo joined channel #puppet
[2011/11/23 23:40:44] @ Quit: sdog: Changing host
[2011/11/23 23:40:44] @ sdog joined channel #puppet
[2011/11/23 23:43:23] @ KaiserBeto joined channel #puppet
[2011/11/23 23:43:51] @ Quit: hamish: Ping timeout: 258 seconds
[2011/11/23 23:43:52] @ Quit: saysjonathan: Ping timeout: 244 seconds
[2011/11/23 23:43:55] @ verwilst joined channel #puppet
[2011/11/23 23:44:23] @ Quit: mmoya: Ping timeout: 244 seconds
[2011/11/23 23:44:36] @ saysjonathan joined channel #puppet
[2011/11/23 23:44:43] @ MUILTFN joined channel #puppet
[2011/11/23 23:45:28] @ ckauhaus joined channel #puppet
[2011/11/23 23:45:38] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:45:47] @ blogbasti joined channel #puppet
[2011/11/23 23:45:54] @ Quit: ckauhaus: Client Quit
[2011/11/23 23:46:18] @ ckauhaus joined channel #puppet
[2011/11/23 23:46:34] @ axisys joined channel #puppet
[2011/11/23 23:47:01] @ Quit: larstobi: Quit: Leaving.
[2011/11/23 23:47:23] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/23 23:49:04] @ Quit: DbT_: Quit: zzzz
[2011/11/23 23:49:36] @ saysjonathan joined channel #puppet
[2011/11/23 23:50:18] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/11/23 23:51:20] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:51:28] @ marcellods joined channel #puppet
[2011/11/23 23:54:37] @ saysjonathan joined channel #puppet
[2011/11/23 23:55:22] @ Quit: walterheck: Ping timeout: 276 seconds
[2011/11/23 23:55:32] @ Quit: saysjonathan: Read error: Connection reset by peer
[2011/11/23 23:55:42] @ walterheck joined channel #puppet
[2011/11/23 23:56:25] @ Quit: gniks: Quit: Leaving.
[2011/11/23 23:56:47] @ Quit: marcellods: Ping timeout: 240 seconds

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