| [2009/12/29 00:15:29] @ Log started by gepetto_ | ||
| [2009/12/29 00:15:29] @ Quit: lero: "Leaving..." | ||
| [2009/12/29 00:21:01] @ Quit: brothers: | ||
| [2009/12/29 00:22:12] @ bug_ joined channel #puppet | ||
| [2009/12/29 00:23:51] @ Quit: littleidea: | ||
| [2009/12/29 00:30:42] @ littleidea joined channel #puppet | ||
| [2009/12/29 00:32:36] @ Quit: littleidea: Client Quit | ||
| [2009/12/29 00:33:55] @ jaredrhine joined channel #puppet | ||
| [2009/12/29 00:36:07] @ jusfreeman joined channel #puppet | ||
| [2009/12/29 00:38:36] @ Quit: bug_: | ||
| [2009/12/29 00:47:22] @ brothers joined channel #puppet | ||
| [2009/12/29 00:48:15] @ crdant joined channel #puppet | ||
| [2009/12/29 00:52:21] @ Quit: brothers: | ||
| [2009/12/29 00:52:41] @ Quit: jfreeman: Read error: 110 (Connection timed out) | ||
| [2009/12/29 00:53:00] @ \ask joined channel #puppet | ||
| [2009/12/29 01:01:23] @ Djelibeybi joined channel #puppet | ||
| [2009/12/29 01:11:52] @ hy is now known as _silver | ||
| [2009/12/29 01:14:32] @ Quit: Demosthenes: Read error: 60 (Operation timed out) | ||
| [2009/12/29 01:21:18] @ nakano is now known as nakano_ | ||
| [2009/12/29 01:28:45] @ Quit: PaulWay[w]: "No, darling, not the chocolate sauce again!" | ||
| [2009/12/29 01:33:05] @ Quit: crdant: "Leaving." | ||
| [2009/12/29 01:50:32] @ _silver is now known as hy | ||
| [2009/12/29 02:00:07] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/29 02:03:42] @ mvn071 joined channel #puppet | ||
| [2009/12/29 02:04:43] @ Quit: jusfreeman: Read error: 60 (Operation timed out) | ||
| [2009/12/29 02:14:02] @ Quit: JM: Read error: 110 (Connection timed out) | ||
| [2009/12/29 02:42:19] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/29 02:53:54] @ nakano_ is now known as masatomo | ||
| [2009/12/29 02:55:36] @ masatomo is now known as nakano_ | ||
| [2009/12/29 02:55:55] @ nakano_ is now known as masatomo | ||
| [2009/12/29 02:56:48] @ masatomo is now known as nakano_ | ||
| [2009/12/29 03:03:10] @ PsychoSid joined channel #puppet | ||
| [2009/12/29 03:14:56] @ giskard joined channel #puppet | ||
| [2009/12/29 03:20:25] @ friendly12345 left channel #puppet () | ||
| [2009/12/29 03:20:27] @ Quit: pastie: Remote closed the connection | ||
| [2009/12/29 03:23:44] @ Ramonster joined channel #puppet | ||
| [2009/12/29 03:40:43] @ toi joined channel #puppet | ||
| [2009/12/29 03:43:31] @ Quit: Disconnect: Read error: 60 (Operation timed out) | ||
| [2009/12/29 04:12:34] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/29 04:13:35] @ poison joined channel #puppet | ||
| [2009/12/29 04:13:52] <nexx> mornin' | ||
| [2009/12/29 04:14:23] @ raphink joined channel #puppet | ||
| [2009/12/29 04:46:14] <goraxe> can for loops be used in erb templates? | ||
| [2009/12/29 04:46:25] <monachus> yes | ||
| [2009/12/29 04:46:43] <monachus> use a standard ruby loop | ||
| [2009/12/29 04:46:50] <goraxe> im using <% for i in 0..real_puppet_masters %> | ||
| [2009/12/29 04:47:18] <monachus> no, not like that | ||
| [2009/12/29 04:47:24] <monachus> if real_puppet_masters is an array, do | ||
| [2009/12/29 04:47:32] <goraxe> ah its not an array | ||
| [2009/12/29 04:47:41] <goraxe> its a number | ||
| [2009/12/29 04:47:50] <monachus> ah - like that. | ||
| [2009/12/29 04:47:55] <goraxe> i simply want to count from 0 to n | ||
| [2009/12/29 04:48:20] <monachus> no sure, then. lemme look @ erb docs | ||
| [2009/12/29 04:49:04] @ giskard_ joined channel #puppet | ||
| [2009/12/29 04:49:21] <Volcane> u want to loop something real_puppet_masters times? | ||
| [2009/12/29 04:49:27] <monachus> do you need that variable? | ||
| [2009/12/29 04:49:33] <goraxe> ideally | ||
| [2009/12/29 04:49:39] <monachus> like do you need to know what i is each time? | ||
| [2009/12/29 04:50:00] <monachus> b/c you can do something like real_puppet_masters.times do | ||
| [2009/12/29 04:50:08] <goraxe> I add it to the real_puppet_port | ||
| [2009/12/29 04:50:16] <monachus> ah. | ||
| [2009/12/29 04:50:24] <Volcane> <% real_puppet_masters.times do -%> | ||
| [2009/12/29 04:50:28] <Volcane> whatever | ||
| [2009/12/29 04:50:33] <Volcane> <% end -%> | ||
| [2009/12/29 04:50:52] <goraxe> but i would quite like to have the control variable as well | ||
| [2009/12/29 04:50:54] <monachus> Volcane: he wants to know the value of i each time thoh | ||
| [2009/12/29 04:51:06] <Volcane> ah | ||
| [2009/12/29 04:52:10] <monachus> not sure if it's doable - ERB is really for formatting variables into output, not for doing calculations | ||
| [2009/12/29 04:52:53] <Volcane> (1..foo).each_with_index {|x, i| <do something with i which is the index> } | ||
| [2009/12/29 04:53:18] <goraxe> okay will give that a try | ||
| [2009/12/29 04:53:20] <Volcane> and in this case x would be = 1 | ||
| [2009/12/29 04:53:26] <Volcane> x would be == i even | ||
| [2009/12/29 04:53:38] <monachus> Volcane: very nice | ||
| [2009/12/29 04:54:07] <Volcane> (1..foo).each {|i| <do something with i which is the index> } | ||
| [2009/12/29 04:54:14] <Volcane> would be the same | ||
| [2009/12/29 04:54:24] <Volcane> the with index would be useful if the array wasnt just a bunch of numbers | ||
| [2009/12/29 04:55:51] <goraxe> I keep getting this error msg: Failed to parse template puppet/puppetmaster.site: bad value for range | ||
| [2009/12/29 04:56:00] <Volcane> try | ||
| [2009/12/29 04:56:18] <Volcane> (1..foo.to_i).each {|i| <do something with i which is the index> } | ||
| [2009/12/29 04:56:25] <Volcane> in case your var is a string | ||
| [2009/12/29 04:57:04] <goraxe> yep that appears to have it | ||
| [2009/12/29 04:57:11] <goraxe> thanks Volcane, monachus | ||
| [2009/12/29 04:58:30] @ Quit: giskard: Read error: 110 (Connection timed out) | ||
| [2009/12/29 04:59:41] @ verwilst joined channel #puppet | ||
| [2009/12/29 05:05:16] @ Quit: toi: Read error: 60 (Operation timed out) | ||
| [2009/12/29 05:17:52] @ Quit: vzctl_: Read error: 60 (Operation timed out) | ||
| [2009/12/29 05:18:34] @ vzctl_ joined channel #puppet | ||
| [2009/12/29 05:19:31] @ gebi joined channel #puppet | ||
| [2009/12/29 05:35:40] @ suchu joined channel #puppet | ||
| [2009/12/29 05:41:09] @ Whoopalicious joined channel #puppet | ||
| [2009/12/29 05:44:57] @ Demosthenes joined channel #puppet | ||
| [2009/12/29 05:46:04] @ Quit: suchu: "ChatZilla 0.9.86 [Firefox 3.5.6/20091201220228]" | ||
| [2009/12/29 05:46:12] @ danielbln joined channel #puppet | ||
| [2009/12/29 05:50:39] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/29 05:51:50] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/29 05:56:10] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=10 | ||
| [2009/12/29 05:57:13] @ Quit: Whoopalicious: "WeeChat 0.3.0" | ||
| [2009/12/29 05:57:23] @ Whoopalicious joined channel #puppet | ||
| [2009/12/29 06:00:50] @ Disconnect joined channel #puppet | ||
| [2009/12/29 06:02:19] @ Quit: Juzzy: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 06:02:39] @ Juzzy joined channel #puppet | ||
| [2009/12/29 06:03:24] @ jab_doa joined channel #puppet | ||
| [2009/12/29 06:09:25] @ cedric_b joined channel #puppet | ||
| [2009/12/29 06:22:50] @ Quit: Whoopalicious: | ||
| [2009/12/29 06:27:53] @ Cyis left channel #puppet ("Leaving") | ||
| [2009/12/29 06:28:39] <nexx> |Mike|? | ||
| [2009/12/29 06:28:51] @ Quit: giskard_: Remote closed the connection | ||
| [2009/12/29 06:29:21] @ giskard joined channel #puppet | ||
| [2009/12/29 06:29:35] @ Quit: giskard: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 06:29:36] <nexx> hmm, it should be enough to install mongrel, mongrel-cluster is for way bigger environments? | ||
| [2009/12/29 06:30:00] @ giskard joined channel #puppet | ||
| [2009/12/29 06:30:29] @ Quit: giskard: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 06:30:43] @ giskard joined channel #puppet | ||
| [2009/12/29 07:02:29] @ gaveen joined channel #puppet | ||
| [2009/12/29 07:03:04] <|Mike|> nexx: hello | ||
| [2009/12/29 07:05:05] <|Mike|> you can start more mongrels with mongrel-cluster nexx | ||
| [2009/12/29 07:05:12] <|Mike|> (asin, a cluster) | ||
| [2009/12/29 07:09:28] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=11 | ||
| [2009/12/29 07:09:28] <gepetto_> ::trac:: auth.pp attached to Recipes/ModuleSSHAuth @ http://reductivelabs.com/trac/puppet/attachment/wiki/Recipes/ModuleSSHAuth/auth.pp | ||
| [2009/12/29 07:09:29] @ n0ts_ joined channel #puppet | ||
| [2009/12/29 07:09:50] @ Quit: n0ts: Read error: 60 (Operation timed out) | ||
| [2009/12/29 07:13:43] <Volcane> nexx: look at wiki:UsingMongrel | ||
| [2009/12/29 07:13:43] <gepetto_> Volcane: nexx: wiki:UsingMongrel is http://reductivelabs.com/trac/puppet/wiki/UsingMongrel | ||
| [2009/12/29 07:21:21] * monachus is in limbo. | ||
| [2009/12/29 07:22:33] @ Quit: alexine_dsouza: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 07:22:57] @ cynicismic joined channel #puppet | ||
| [2009/12/29 07:28:40] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=12 | ||
| [2009/12/29 07:28:41] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=13 | ||
| [2009/12/29 07:30:19] @ bug joined channel #puppet | ||
| [2009/12/29 07:34:46] @ Quit: bug: Client Quit | ||
| [2009/12/29 08:00:41] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/29 08:03:41] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/12/29 08:19:46] @ Quit: tim|macbook: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:19:47] @ Quit: bgupta: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:19:58] @ Quit: cynicismic: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:19:59] @ Quit: gaveen: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:19:59] @ Quit: giskard: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:19:59] @ Quit: cedric_b: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:00] @ Quit: verwilst: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:00] @ Quit: raphink: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:01] @ Quit: poison: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:02] @ Quit: philip__: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:03] @ Quit: Risar: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:03] @ Quit: xerxas1: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:04] @ Quit: himanshu: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:05] @ Quit: joe-mac: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:20:16] @ Quit: jab_doa: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 08:21:51] @ raphink joined channel #puppet | ||
| [2009/12/29 08:22:38] @ philip_ joined channel #puppet | ||
| [2009/12/29 08:22:46] @ cynicismic joined channel #puppet | ||
| [2009/12/29 08:25:24] @ bgupta joined channel #puppet | ||
| [2009/12/29 08:25:24] @ tim|macbook joined channel #puppet | ||
| [2009/12/29 08:26:49] @ giskard joined channel #puppet | ||
| [2009/12/29 08:27:48] @ himanshu joined channel #puppet | ||
| [2009/12/29 08:29:35] @ gaveen joined channel #puppet | ||
| [2009/12/29 08:29:35] @ Risar joined channel #puppet | ||
| [2009/12/29 08:29:35] @ poison joined channel #puppet | ||
| [2009/12/29 08:29:35] @ philip__ joined channel #puppet | ||
| [2009/12/29 08:29:35] @ xerxas1 joined channel #puppet | ||
| [2009/12/29 08:29:35] @ joe-mac joined channel #puppet | ||
| [2009/12/29 08:30:48] @ cedric_b joined channel #puppet | ||
| [2009/12/29 08:30:48] @ verwilst joined channel #puppet | ||
| [2009/12/29 08:30:54] @ Quit: gaveen: SendQ exceeded | ||
| [2009/12/29 08:30:56] @ gaveen joined channel #puppet | ||
| [2009/12/29 08:31:32] @ Quit: ssm: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:31:33] @ Quit: hggh: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:31:33] @ Quit: halenger: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:33:15] @ hggh joined channel #puppet | ||
| [2009/12/29 08:33:15] @ halenger joined channel #puppet | ||
| [2009/12/29 08:33:15] @ ssm joined channel #puppet | ||
| [2009/12/29 08:35:18] @ PsychoSid1 joined channel #puppet | ||
| [2009/12/29 08:36:14] @ Quit: philip__: Success | ||
| [2009/12/29 08:44:04] @ jab_doa joined channel #puppet | ||
| [2009/12/29 08:46:25] @ Quit: bgupta: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:46:25] @ Quit: tim|macbook: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:49:55] @ bgupta joined channel #puppet | ||
| [2009/12/29 08:49:55] @ tim|macbook joined channel #puppet | ||
| [2009/12/29 08:53:10] @ Quit: gaveen: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:11] @ Quit: verwilst: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:11] @ Quit: cedric_b: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:12] @ Quit: xerxas1: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:12] @ Quit: joe-mac: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:13] @ Quit: poison: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:14] @ Quit: Risar: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 08:53:50] @ Quit: PsychoSid: Read error: 110 (Connection timed out) | ||
| [2009/12/29 08:59:23] @ poison joined channel #puppet | ||
| [2009/12/29 08:59:43] @ bug joined channel #puppet | ||
| [2009/12/29 09:00:28] @ verwilst joined channel #puppet | ||
| [2009/12/29 09:00:29] @ cedric_b joined channel #puppet | ||
| [2009/12/29 09:00:29] @ Risar joined channel #puppet | ||
| [2009/12/29 09:00:29] @ xerxas1 joined channel #puppet | ||
| [2009/12/29 09:00:29] @ joe-mac joined channel #puppet | ||
| [2009/12/29 09:00:45] @ Quit: Risar: Remote closed the connection | ||
| [2009/12/29 09:00:46] @ Risar joined channel #puppet | ||
| [2009/12/29 09:00:47] @ gaveen joined channel #puppet | ||
| [2009/12/29 09:03:52] @ Bass10 joined channel #puppet | ||
| [2009/12/29 09:05:42] @ scylla joined channel #puppet | ||
| [2009/12/29 09:12:11] @ brothers joined channel #puppet | ||
| [2009/12/29 09:17:58] @ Quit: brothers: | ||
| [2009/12/29 09:22:49] @ erm_ joined channel #puppet | ||
| [2009/12/29 09:35:53] @ crdant joined channel #puppet | ||
| [2009/12/29 09:40:13] @ PsychoSid joined channel #puppet | ||
| [2009/12/29 09:44:41] @ Quit: bug: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 09:45:09] @ dyresen_ is now known as dyresen | ||
| [2009/12/29 09:49:02] @ bug joined channel #puppet | ||
| [2009/12/29 09:49:45] @ Quit: PsychoSid1: Read error: 60 (Operation timed out) | ||
| [2009/12/29 09:50:38] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/29 09:51:18] @ Quit: ssm: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 09:51:19] @ Quit: hggh: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 09:51:19] @ Quit: halenger: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 09:53:46] @ hggh joined channel #puppet | ||
| [2009/12/29 09:53:46] @ halenger joined channel #puppet | ||
| [2009/12/29 09:53:47] @ ssm joined channel #puppet | ||
| [2009/12/29 09:55:00] @ Quit: gaveen: Remote closed the connection | ||
| [2009/12/29 10:02:01] @ Quit: erm_: "leaving" | ||
| [2009/12/29 10:02:10] @ erm_ joined channel #puppet | ||
| [2009/12/29 10:07:26] @ themurph joined channel #puppet | ||
| [2009/12/29 10:12:59] @ bkohler42 joined channel #puppet | ||
| [2009/12/29 10:13:27] @ bobbyz joined channel #puppet | ||
| [2009/12/29 10:17:55] @ Quit: rmiller4pi8: "Leaving." | ||
| [2009/12/29 10:20:32] @ Quit: DanaL: Read error: 110 (Connection timed out) | ||
| [2009/12/29 10:20:57] @ Qwizie joined channel #puppet | ||
| [2009/12/29 10:23:22] @ Quit: verwilst: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 10:24:19] @ Quit: poison: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 10:26:30] @ RageLink joined channel #puppet | ||
| [2009/12/29 10:26:49] @ jbarratt joined channel #puppet | ||
| [2009/12/29 10:26:50] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/29 10:26:58] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/29 10:29:22] @ nasrat joined channel #puppet | ||
| [2009/12/29 10:30:37] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=14 | ||
| [2009/12/29 10:31:37] @ poison joined channel #puppet | ||
| [2009/12/29 10:32:06] @ poison_ joined channel #puppet | ||
| [2009/12/29 10:32:06] @ Quit: poison: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 10:32:08] @ verwilst joined channel #puppet | ||
| [2009/12/29 10:36:15] @ Quit: nasrat: "Get Colloquy for iPhone! http://mobile.colloquy.info" | ||
| [2009/12/29 10:36:44] @ brothers joined channel #puppet | ||
| [2009/12/29 10:41:26] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/29 10:43:23] @ Quit: rmiller4pi8: Client Quit | ||
| [2009/12/29 10:51:41] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/29 10:59:30] <aitkp_> man--is puppetd usually this much of a memory hog? | ||
| [2009/12/29 10:59:47] <aitkp_> usually around 1gig or so, seems a bit much | ||
| [2009/12/29 10:59:52] <joe-mac> yea that's too much | ||
| [2009/12/29 11:00:08] <joe-mac> strace/ltrace, etc. see what it's spinning on | ||
| [2009/12/29 11:00:39] <aitkp_> i restarted it and it brought it down to 500m | ||
| [2009/12/29 11:01:21] @ Quit: scylla: Remote closed the connection | ||
| [2009/12/29 11:04:00] @ bodepd joined channel #puppet | ||
| [2009/12/29 11:06:48] @ Quit: PsychoSid: "Leaving." | ||
| [2009/12/29 11:08:14] <monachus> when calling a define, i know that the namevar becomes $title and $name - can i override either of them or only $name when calling it? | ||
| [2009/12/29 11:08:31] <monachus> as in will title => work as well as name => | ||
| [2009/12/29 11:08:34] <monachus> or only the latter | ||
| [2009/12/29 11:10:08] @ scylla joined channel #puppet | ||
| [2009/12/29 11:11:00] <bodepd> monachus: title is always the title, but the namevar can be renamed | ||
| [2009/12/29 11:11:07] <aitkp_> wow--seems like there's a lot of progress going from .24 to .25--can anyone comment on the memory usage in .25? | ||
| [2009/12/29 11:11:16] <monachus> bodepd: k tx. | ||
| [2009/12/29 11:12:10] <Volcane> aitkp_: its not a lot better except for recursive copies where its a lot better memory wise, but in normal non recusive usage its much the same i'd say | ||
| [2009/12/29 11:12:18] @ Quit: raphink: Remote closed the connection | ||
| [2009/12/29 11:12:42] <Volcane> def fewer cases of weird unexplainable spikes in memory usage though - but i've also moved to running from cron which is way better | ||
| [2009/12/29 11:18:08] @ DarkFlib joined channel #puppet | ||
| [2009/12/29 11:22:45] @ bpgoldsb joined channel #puppet | ||
| [2009/12/29 11:24:21] <bpgoldsb> I have two instances of puppet running on one host. Both instances use a distinct certificate. However, they both have the same $hostname. Is there a variable for accessing the certificate name I can utilize instead of $hostname? | ||
| [2009/12/29 11:24:56] <monachus> Volcane: why is running from cron better? control over scheduling the runs or something else? | ||
| [2009/12/29 11:25:46] @ Quit: brothers: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:48] @ Quit: verwilst: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:48] @ Quit: RageLink: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:49] @ Quit: themurph: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:49] @ Quit: bkohler42: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:50] @ Quit: Risar: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:51] @ Quit: xerxas1: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:51] @ Quit: joe-mac: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:52] @ Quit: cedric_b: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:54] @ Quit: DarkFlib: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:55] @ Quit: bgupta: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:25:55] @ Quit: tim|macbook: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 11:26:10] <Volcane> monachus: less exposure to ruby memory leaks for one - ie you never get leaks except in the odd cases where it affects a single run | ||
| [2009/12/29 11:26:30] <Volcane> monachus: and u dont end up wasting 100s of megs of ram all the time in some cases | ||
| [2009/12/29 11:26:45] <monachus> good reason. :) | ||
| [2009/12/29 11:26:59] * monachus toddles off to see how much RAM his puppetds are using* | ||
| [2009/12/29 11:27:37] <Volcane> I'm less concernd about scheduling, but if a daemon is always rnning u cant start one in with --one-time in the background from a control application | ||
| [2009/12/29 11:27:45] <Volcane> so not having the daemon helped there | ||
| [2009/12/29 11:31:37] @ xerxas joined channel #puppet | ||
| [2009/12/29 11:31:39] @ DarkFlib joined channel #puppet | ||
| [2009/12/29 11:31:39] @ bgupta joined channel #puppet | ||
| [2009/12/29 11:31:40] @ tim|macbook joined channel #puppet | ||
| [2009/12/29 11:31:56] <bodepd> bpgoldsb: --certname | ||
| [2009/12/29 11:32:55] @ brothers joined channel #puppet | ||
| [2009/12/29 11:32:55] @ verwilst joined channel #puppet | ||
| [2009/12/29 11:32:56] @ RageLink joined channel #puppet | ||
| [2009/12/29 11:32:56] @ bkohler42 joined channel #puppet | ||
| [2009/12/29 11:32:56] @ themurph joined channel #puppet | ||
| [2009/12/29 11:32:56] @ Risar joined channel #puppet | ||
| [2009/12/29 11:32:56] @ cedric_b joined channel #puppet | ||
| [2009/12/29 11:32:56] @ xerxas1 joined channel #puppet | ||
| [2009/12/29 11:32:56] @ joe-mac joined channel #puppet | ||
| [2009/12/29 11:33:12] @ Quit: xerxas1: Connection reset by peer | ||
| [2009/12/29 11:33:12] @ brothers_ joined channel #puppet | ||
| [2009/12/29 11:33:13] @ Quit: brothers: Connection reset by peer | ||
| [2009/12/29 11:33:13] <joe-mac> is anybody here collecting sar data and visualizing it? | ||
| [2009/12/29 11:33:13] <joe-mac> sorry for the OT question... | ||
| [2009/12/29 11:33:13] @ brothers_ is now known as brothers | ||
| [2009/12/29 11:35:21] <Volcane> joe-mac: you should check out channel ##infra-talk (dead now, holidays and all, bt thats where its at for random q's like that) | ||
| [2009/12/29 11:35:47] <joe-mac> thanks for the tip Volcane, i never knew where to pose general questions like that | ||
| [2009/12/29 11:35:49] <Volcane> joe-mac: i used to pull some of it into cacti | ||
| [2009/12/29 11:35:59] <Volcane> joe-mac: yeah we only recently made that # | ||
| [2009/12/29 11:36:09] <joe-mac> i took a look at cacti and it was a mess | ||
| [2009/12/29 11:36:15] <Volcane> recently like last week | ||
| [2009/12/29 11:36:26] <Volcane> joe-mac: yeah its a bit of a clickety click hell | ||
| [2009/12/29 11:36:36] <Volcane> joe-mac: check out visage and collectd maybe? | ||
| [2009/12/29 11:37:30] <joe-mac> this collectd looks nice | ||
| [2009/12/29 11:37:43] <Volcane> few decent graphing options | ||
| [2009/12/29 11:37:48] <joe-mac> currently i collect all the sadc stats but i do nothing with them. now a higher up is asking for these stats | ||
| [2009/12/29 11:38:03] <Volcane> but visage is trying to scratch that itch | ||
| [2009/12/29 11:40:41] <himanshu> hi anyone tried to use puppet with ldap to store node configs? | ||
| [2009/12/29 11:41:09] <DarkFlib> joe-mac, I have sar data being thrown into an rrd and output as a graph... | ||
| [2009/12/29 11:41:19] <Volcane> himanshu: like wiki:LDAPNodes ? | ||
| [2009/12/29 11:41:19] <gepetto_> Volcane: himanshu: wiki:LDAPNodes is http://reductivelabs.com/trac/puppet/wiki/LDAPNodes | ||
| [2009/12/29 11:41:45] <joe-mac> DarkFlib: are you using some scriptiong with the sar2rrd.pl script? | ||
| [2009/12/29 11:42:17] <joe-mac> the thing ia m missing is centralized collection, and it looks like i shouild have implemented collectd in the first place, i freaking hate when i circle back on something and realize i made the wrong decision | ||
| [2009/12/29 11:42:21] <DarkFlib> just a php scrape from the output with the php-rrd extension | ||
| [2009/12/29 11:43:13] <DarkFlib> tbh, though, probably just gonna write a munin plugin for it... since its easy enough (with the disadvantage of the times not matching right) | ||
| [2009/12/29 11:43:32] @ stevenjenkins joined channel #puppet | ||
| [2009/12/29 11:43:41] <DarkFlib> since a 4.42 munin reading whould get 4.40 sar output | ||
| [2009/12/29 11:43:53] <DarkFlib> for example | ||
| [2009/12/29 11:44:28] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/12/29 11:45:09] <joe-mac> yea i remember i had to dick around with the sar options in ubuntu to get the rrd script to even recognize it as sar output | ||
| [2009/12/29 11:45:22] <DarkFlib> ahh... sar 0 could work... | ||
| [2009/12/29 11:45:36] @ Quit: bodepd: | ||
| [2009/12/29 11:50:29] @ Quit: cedric_b: Remote closed the connection | ||
| [2009/12/29 11:51:56] @ RomainK_ is now known as RomainK | ||
| [2009/12/29 11:56:12] <DarkFlib> probably better to just read the proc counters myself though tbh... | ||
| [2009/12/29 11:56:24] <DarkFlib> get a nice cumulative count to use... | ||
| [2009/12/29 11:58:16] <DarkFlib> /proc/stat has the counters | ||
| [2009/12/29 12:00:52] @ Bass2 joined channel #puppet | ||
| [2009/12/29 12:02:05] @ Quit: Ramonster: Client Quit | ||
| [2009/12/29 12:02:40] @ Quit: DarkFlib: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:41] @ Quit: bgupta: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:41] @ Quit: tim|macbook: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:56] @ Quit: brothers: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:57] @ Quit: joe-mac: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:57] @ Quit: bkohler42: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:58] @ Quit: themurph: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:02:58] @ Quit: Risar: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:03:00] @ Quit: RageLink: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:05:45] @ lilmatt joined channel #puppet | ||
| [2009/12/29 12:06:04] @ Quit: DracoWork: Read error: 60 (Operation timed out) | ||
| [2009/12/29 12:07:33] @ Quit: lutter: "Leaving." | ||
| [2009/12/29 12:07:55] @ Quit: ssm: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:07:56] @ Quit: hggh: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:07:56] @ Quit: halenger: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:08:05] @ Risar joined channel #puppet | ||
| [2009/12/29 12:08:19] @ hggh joined channel #puppet | ||
| [2009/12/29 12:08:19] @ halenger joined channel #puppet | ||
| [2009/12/29 12:08:19] @ ssm joined channel #puppet | ||
| [2009/12/29 12:08:22] @ DarkFlib joined channel #puppet | ||
| [2009/12/29 12:08:22] @ bgupta joined channel #puppet | ||
| [2009/12/29 12:08:22] @ tim|macbook joined channel #puppet | ||
| [2009/12/29 12:10:42] @ bodepd joined channel #puppet | ||
| [2009/12/29 12:11:24] @ Quit: bodepd: Client Quit | ||
| [2009/12/29 12:12:52] @ jaredrhine joined channel #puppet | ||
| [2009/12/29 12:15:03] @ bkohler42 joined channel #puppet | ||
| [2009/12/29 12:16:18] @ Quit: vzctl_: Read error: 60 (Operation timed out) | ||
| [2009/12/29 12:17:38] @ Quit: Bass10: Connection timed out | ||
| [2009/12/29 12:18:07] @ brothers joined channel #puppet | ||
| [2009/12/29 12:18:07] @ RageLink joined channel #puppet | ||
| [2009/12/29 12:18:07] @ themurph joined channel #puppet | ||
| [2009/12/29 12:18:07] @ joe-mac joined channel #puppet | ||
| [2009/12/29 12:19:54] @ vzctl_ joined channel #puppet | ||
| [2009/12/29 12:22:18] @ Quit: DarkFlib: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:18] @ Quit: bgupta: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:18] @ Quit: tim|macbook: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:30] @ Quit: brothers: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:31] @ Quit: joe-mac: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:31] @ Quit: themurph: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:32] @ Quit: RageLink: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:22:45] <himanshu> I am trying to use ldap to retrive puppet node config but getting "err: Could not retrieve catalog: LDAP Search failed | ||
| [2009/12/29 12:22:45] <himanshu> warning: Not using cache on failed catalog" | ||
| [2009/12/29 12:23:39] @ Quit: edavis10: "leaving" | ||
| [2009/12/29 12:23:41] <himanshu> if I do simple ldapsearch from puppetmaster it works | ||
| [2009/12/29 12:24:46] @ Quit: ssm: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:24:47] @ Quit: hggh: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:24:47] @ Quit: halenger: kubrick.freenode.net irc.freenode.net | ||
| [2009/12/29 12:25:22] @ hggh joined channel #puppet | ||
| [2009/12/29 12:25:22] @ halenger joined channel #puppet | ||
| [2009/12/29 12:25:22] @ ssm joined channel #puppet | ||
| [2009/12/29 12:27:41] @ brothers joined channel #puppet | ||
| [2009/12/29 12:27:41] @ RageLink joined channel #puppet | ||
| [2009/12/29 12:27:41] @ themurph joined channel #puppet | ||
| [2009/12/29 12:27:41] @ joe-mac joined channel #puppet | ||
| [2009/12/29 12:27:58] @ DarkFlib joined channel #puppet | ||
| [2009/12/29 12:27:58] @ bgupta joined channel #puppet | ||
| [2009/12/29 12:27:58] @ tim|macbook joined channel #puppet | ||
| [2009/12/29 12:28:04] @ Quit: brothers: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 12:29:01] @ brothers joined channel #puppet | ||
| [2009/12/29 12:35:52] @ nar joined channel #puppet | ||
| [2009/12/29 12:36:01] <nar> I have a puppet-dashboard question | ||
| [2009/12/29 12:36:27] <nar> anyone here have experience installing it, preferably in Debian or other linux distro | ||
| [2009/12/29 12:41:16] <nar> here is my documentation so far http://pastie.org/760237 | ||
| [2009/12/29 12:41:25] <nar> Problem is on "rake install" | ||
| [2009/12/29 12:41:54] @ _elmata_ joined channel #puppet | ||
| [2009/12/29 12:42:05] <nar> Error can be seen here: http://pastie.org/760238 | ||
| [2009/12/29 12:46:10] @ Quit: poison_: Remote closed the connection | ||
| [2009/12/29 12:47:33] @ notbrien joined channel #puppet | ||
| [2009/12/29 12:51:09] @ fdz joined channel #puppet | ||
| [2009/12/29 12:51:45] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/29 12:52:56] @ ambroff joined channel #puppet | ||
| [2009/12/29 12:56:30] @ gpled joined channel #puppet | ||
| [2009/12/29 12:57:08] <gpled> anyone have experience setting up cpan, with puppet? would like to set the mirror location that cpan pulls from | ||
| [2009/12/29 12:57:11] @ Quit: RageLink: Read error: 110 (Connection timed out) | ||
| [2009/12/29 13:02:19] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/29 13:02:54] @ alfism_ joined channel #puppet | ||
| [2009/12/29 13:08:12] @ Quit: bgupta: | ||
| [2009/12/29 13:09:29] @ bodepd joined channel #puppet | ||
| [2009/12/29 13:14:29] @ Quit: bkohler42: "Leaving" | ||
| [2009/12/29 13:17:27] @ Quit: n0ts_: Read error: 60 (Operation timed out) | ||
| [2009/12/29 13:19:01] @ poison joined channel #puppet | ||
| [2009/12/29 13:19:03] @ Quit: poison: Remote closed the connection | ||
| [2009/12/29 13:20:21] @ n0ts_ joined channel #puppet | ||
| [2009/12/29 13:20:40] @ Quit: bug: | ||
| [2009/12/29 13:21:42] @ poison joined channel #puppet | ||
| [2009/12/29 13:23:40] @ Quit: bodepd: | ||
| [2009/12/29 13:25:21] @ toi joined channel #puppet | ||
| [2009/12/29 13:30:07] @ bodepd joined channel #puppet | ||
| [2009/12/29 13:34:48] @ elijahwright joined channel #puppet | ||
| [2009/12/29 13:37:06] @ jaredrhine joined channel #puppet | ||
| [2009/12/29 13:39:28] @ Quit: Bass2: Read error: 60 (Operation timed out) | ||
| [2009/12/29 13:48:31] <monachus> @gpled - do you want to overwrite Config.pm or set it when you call CPAN from an Exec? | ||
| [2009/12/29 13:49:18] <lilmatt> I've been using puppet 0.24.8 on all my CentOS 5 machines, as that's what's in the EPEL repository. I now want to put puppet on some Solaris 10 boxes, but OpenCSW (the repo for Solaris) only has 0.25.1 available. Can 0.25.1 use 0.24.8-written rules? | ||
| [2009/12/29 13:49:32] <lilmatt> puppetmaster is, and will stay for now 0.24.8 | ||
| [2009/12/29 13:50:41] <monachus> is there any gotcha with using require=> and exported resources? my puppetmaster is throwing an error about an exported resource's required resource missing, but when i look in the resources table in mysql, it's definitely there. the configuration with the require works fine on another machine... | ||
| [2009/12/29 13:54:49] @ Quit: toi: Remote closed the connection | ||
| [2009/12/29 13:58:24] <monachus> nm - think i found the problem. | ||
| [2009/12/29 14:01:06] @ fdz1 joined channel #puppet | ||
| [2009/12/29 14:02:44] <monachus> yeah - the require was requiring a define() which (rightfully) didn't exist when the resources were collected. changed it to require a File (the actual exported resource) and it works fine. | ||
| [2009/12/29 14:02:45] <rmiller4pi8> lilmatt: client newer than master is likely a mess. general rule is upgrade the master first. | ||
| [2009/12/29 14:03:11] <lilmatt> rmiller4pi8: oh well. thanks for the warning. | ||
| [2009/12/29 14:03:23] <monachus> lilmatt: you can install an older version of puppet from source | ||
| [2009/12/29 14:03:45] <monachus> it's also a gem | ||
| [2009/12/29 14:03:51] <lilmatt> monachus: yeah, I was just hoping to avoid having to install gcc and all that on the solaris boxes | ||
| [2009/12/29 14:03:52] <lilmatt> oo | ||
| [2009/12/29 14:03:56] <lilmatt> gem might be an option | ||
| [2009/12/29 14:04:02] <monachus> puppet is ruby - no gcc needed | ||
| [2009/12/29 14:04:25] <lilmatt> that's true | ||
| [2009/12/29 14:04:30] @ Quit: poison: Remote closed the connection | ||
| [2009/12/29 14:09:18] @ bgupta joined channel #puppet | ||
| [2009/12/29 14:10:54] @ Quit: fdz: Remote closed the connection | ||
| [2009/12/29 14:11:09] @ Quit: fdz1: Remote closed the connection | ||
| [2009/12/29 14:11:29] @ fdz joined channel #puppet | ||
| [2009/12/29 14:12:08] @ Bass10 joined channel #puppet | ||
| [2009/12/29 14:14:12] @ Quit: shadoi: Read error: 60 (Operation timed out) | ||
| [2009/12/29 14:15:39] <gpled> monachus: Config.pm looks promising. not sure it that is where the mirrors are located | ||
| [2009/12/29 14:16:16] <monachus> if you specify the url to pull content from when you initialize CPAN, or with o conf url that's where it gets written out | ||
| [2009/12/29 14:16:51] <gpled> something like this work? cpan o conf urllist push ftp://ftp-mirror.internap.com/pub/CPAN/ | ||
| [2009/12/29 14:17:00] <monachus> i don't use a customized Config.pm, but if I wanted to control it via Puppet, that's what I'd go after. It hardly changes once initialized and is the kind of thing that's perfect as a template | ||
| [2009/12/29 14:21:17] @ Quit: crdant: Read error: 110 (Connection timed out) | ||
| [2009/12/29 14:21:21] <monachus> gpled: check out http://pastie.org/760367 | ||
| [2009/12/29 14:21:32] <monachus> that's taken out of Config.pm. it's just DYING to be templated. | ||
| [2009/12/29 14:21:57] <monachus> where'd the pastie bot go? | ||
| [2009/12/29 14:29:15] @ Chiku joined channel #puppet | ||
| [2009/12/29 14:29:55] @ pinko joined channel #puppet | ||
| [2009/12/29 14:33:03] <pinko> i'm getting a "Could not render to pson: invalid utf8 byte: '?'" error with a 0.25.2rc2 puppetmaster talking to a 0.25.2rc3 client (both ubuntu 8.04) ... any ideas how to address? | ||
| [2009/12/29 14:34:00] <pinko> i've looked through the various recent pson tickets but i didn't see anything illuminating -- the pson work appears large and complex | ||
| [2009/12/29 14:35:05] @ Quit: bgupta: | ||
| [2009/12/29 14:38:21] <Volcane> pinko: thats awesome, cos afaik there's no 0.25.2rc3 yet? | ||
| [2009/12/29 14:38:33] <Volcane> maybe i missed it | ||
| [2009/12/29 14:38:36] <pinko> whoops, that was a typo -- they're both rc2 | ||
| [2009/12/29 14:38:45] <pinko> sorry 'bout that | ||
| [2009/12/29 14:39:01] <Volcane> ah :) | ||
| [2009/12/29 14:39:22] <Volcane> well i guess you have a template somewhere or a string thats utf8 thats causing hassles | ||
| [2009/12/29 14:39:30] <Volcane> thre's a utf8 ticket open not sure if its related | ||
| [2009/12/29 14:39:33] <pinko> the client is unable to pull the catalog as a result, so i'm dead in the water | ||
| [2009/12/29 14:40:10] <pinko> you mean #2770? | ||
| [2009/12/29 14:40:11] <gepetto_> pinko: #2770 is http://projects.reductivelabs.com/issues/show/2770 "Puppet - Bug #2770: pson not properly serializing some resources - ReductiveLabs.com" | ||
| [2009/12/29 14:40:30] <Volcane> not sure just saw mails go past mentioning utf8 didnt pay too much atttention to them | ||
| [2009/12/29 14:40:37] <pinko> yeah, i read that -- wasn't clear to me if/how it was connected (the errors are different) although obviously this is all the same code | ||
| [2009/12/29 14:42:40] @ shadoi joined channel #puppet | ||
| [2009/12/29 14:44:28] <pinko> how can i force a client to pull a catalog with a different format (e.g., yaml)? | ||
| [2009/12/29 14:44:52] <pinko> I do see "catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson" in the client's log, so presumably it's an option | ||
| [2009/12/29 14:45:08] <Volcane> preferred_serialization_format = yaml | ||
| [2009/12/29 14:45:25] <pinko> sorry to ask a dumb question, but where does that specification go? | ||
| [2009/12/29 14:45:36] <Volcane> in puppet.conf [puppetd] section | ||
| [2009/12/29 14:45:36] <pinko> puppet.conf? | ||
| [2009/12/29 14:45:43] <pinko> thanks, i'll try that | ||
| [2009/12/29 14:47:31] <pinko> awesome, that worked around the problem -- I appreciate your help Volcane (and gepetto)! | ||
| [2009/12/29 14:47:59] <pinko> any practical downside to forcing yaml? | ||
| [2009/12/29 14:48:29] <Volcane> margionally slower maybe, but thats about it | ||
| [2009/12/29 14:49:00] <pinko> bully for me.. thanks again | ||
| [2009/12/29 14:50:11] <Volcane> np | ||
| [2009/12/29 14:52:03] @ bodepd left channel #puppet () | ||
| [2009/12/29 15:01:01] @ Quit: Ju: Read error: 60 (Operation timed out) | ||
| [2009/12/29 15:01:24] @ Quit: foobar___: Remote closed the connection | ||
| [2009/12/29 15:04:25] @ Quit: alfism_: "http://opensolaris.com/" | ||
| [2009/12/29 15:11:07] @ jes5 joined channel #puppet | ||
| [2009/12/29 15:15:57] @ Quit: \ask: Read error: 60 (Operation timed out) | ||
| [2009/12/29 15:18:27] @ Ju joined channel #puppet | ||
| [2009/12/29 15:22:06] @ \ask joined channel #puppet | ||
| [2009/12/29 15:22:47] @ foobar___ joined channel #puppet | ||
| [2009/12/29 15:26:33] @ Quit: Demosthenes: "leaving" | ||
| [2009/12/29 15:31:22] @ Quit: Phibs: "Lost terminal" | ||
| [2009/12/29 15:45:52] @ Quit: giskard: Read error: 60 (Operation timed out) | ||
| [2009/12/29 15:46:15] @ plathrop-pto is now known as plathrop | ||
| [2009/12/29 15:54:38] @ giskard joined channel #puppet | ||
| [2009/12/29 16:01:57] <danielbln> is the puppet fileserver only protected by the fileserver.conf or does the client need a valid certificate to retrieve files from the fileserver part of the master? | ||
| [2009/12/29 16:02:25] @ ashp_ joined channel #puppet | ||
| [2009/12/29 16:04:31] <Volcane> need signed cert | ||
| [2009/12/29 16:04:50] @ pinko left channel #puppet () | ||
| [2009/12/29 16:08:22] @ jsm joined channel #puppet | ||
| [2009/12/29 16:10:21] <jsm> is there a way to make a service subscribe to a directory? for instance i have /etc/rsyslogd.d/, and i'd like to have puppet restart rsyslog whenever a file get's changed/modified in there... without having to list every single one. | ||
| [2009/12/29 16:10:36] <danielbln> Volcane: ty, that's reassuring | ||
| [2009/12/29 16:11:39] <joe-mac> subcribe to the resource jsm, just like all other resources | ||
| [2009/12/29 16:12:21] @ giskard_ joined channel #puppet | ||
| [2009/12/29 16:12:23] <jsm> the resource being what? the additional file that i'd add to that dir? | ||
| [2009/12/29 16:12:37] <jsm> i wanted to get around having to subscribe to each one | ||
| [2009/12/29 16:14:03] <joe-mac> make a file resource for /etc/rsyslog.d, set checksum to mtime and that's it. then subscribe from the service to the directory resource. | ||
| [2009/12/29 16:14:13] <jsm> ah | ||
| [2009/12/29 16:14:16] <jsm> good one | ||
| [2009/12/29 16:14:23] <jsm> thanks | ||
| [2009/12/29 16:15:04] @ alfism_ joined channel #puppet | ||
| [2009/12/29 16:17:43] @ Quit: giskard: Read error: 110 (Connection timed out) | ||
| [2009/12/29 16:17:57] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/12/29 16:17:57] @ alfism_ is now known as alfism | ||
| [2009/12/29 16:21:19] <explody> can anyone take a peek and see how http://projects.reductivelabs.com/issues/2525 fixes http://projects.reductivelabs.com/issues/2552 ? It looks like 2552 only fixes a redhat issue, but I'm getting the problem from 2525 using base provider, not redhat | ||
| [2009/12/29 16:21:37] <explody> wondering if I should try to reopen 2525 | ||
| [2009/12/29 16:22:47] <monachus> so i have a bunch of hosts that all get created into nagios hosts via exported resources. i need to create a list of those hosts to make a host_escalation - is there a way to assemble all their names, or to append to a variable or something as they go by? | ||
| [2009/12/29 16:27:08] <explody> er I mean reopen 2552 | ||
| [2009/12/29 16:34:26] @ giskard joined channel #puppet | ||
| [2009/12/29 16:34:55] <jrojas> ?25.2 | ||
| [2009/12/29 16:34:58] <jrojas> err | ||
| [2009/12/29 16:36:44] @ Quit: sjefen6: Read error: 60 (Operation timed out) | ||
| [2009/12/29 16:37:08] <explody> coincidental numbering, I'm just referring to tickets (if that's what you're talking about) | ||
| [2009/12/29 16:39:46] @ plathrop is now known as plathrop-pto | ||
| [2009/12/29 16:41:03] @ Quit: giskard_: Read error: 110 (Connection timed out) | ||
| [2009/12/29 16:41:36] @ Quit: ashp_: "leaving" | ||
| [2009/12/29 16:42:39] @ Quit: kennethd_: "leaving" | ||
| [2009/12/29 16:43:02] @ sjefen6 joined channel #puppet | ||
| [2009/12/29 16:45:05] @ bobbyz_ joined channel #puppet | ||
| [2009/12/29 16:45:19] @ fdz1 joined channel #puppet | ||
| [2009/12/29 16:46:17] <explody> OT: I am starting to get extremely sick of this (that is 40.4% of mem w/ 12 tabs open. ridiculous): 20 0 1711m 812m 21m S 9 40.4 2094:12 xulrunner-stub | ||
| [2009/12/29 16:46:48] <nar> I have a puppet-dashboard question | ||
| [2009/12/29 16:47:01] <nar> anyone here have experience installing it, preferably in Debian or other linux distro | ||
| [2009/12/29 16:47:12] <nar> ere is my documentation so far http://pastie.org/760237 | ||
| [2009/12/29 16:47:26] <nar> Problem is on "rake install" | ||
| [2009/12/29 16:47:36] <nar> Error can be seen here: http://pastie.org/760238 | ||
| [2009/12/29 16:49:06] <Volcane> not seen that, but might be due to old rake | ||
| [2009/12/29 16:49:15] <nar> The puppet-development database gets created just fine | ||
| [2009/12/29 16:49:20] <danielbln> seen that with an old rake version | ||
| [2009/12/29 16:49:26] <danielbln> what does rake --version say? | ||
| [2009/12/29 16:49:34] @ poison joined channel #puppet | ||
| [2009/12/29 16:49:39] <nar> I am using 0.8.7 | ||
| [2009/12/29 16:49:48] <nar> rake, version 0.8.7 | ||
| [2009/12/29 16:49:57] <monachus> Volcane: you seem the person most likely to have a solution for my exported resources question above - is there anything i can do? | ||
| [2009/12/29 16:50:23] * monachus wants to avoid something hack-ish with all the configs after they're written out | ||
| [2009/12/29 16:51:12] <danielbln> nar: are you using the latest build? | ||
| [2009/12/29 16:51:31] <nar> of puppet-dashboard? | ||
| [2009/12/29 16:51:44] <nar> I cloned the GIT repo today | ||
| [2009/12/29 16:53:10] @ Quit: fdz: Remote closed the connection | ||
| [2009/12/29 16:53:10] <Volcane> monachus: afaik u cant just make arbitrary lists of resources | ||
| [2009/12/29 16:53:13] <danielbln> weird | ||
| [2009/12/29 16:53:46] <monachus> hrmph. | ||
| [2009/12/29 16:54:04] <jrojas> Volcane: is 0.25.2 still in rc ? or is it being skipped in favor of 0.25.3? | ||
| [2009/12/29 16:54:35] <monachus> then the whole "exported resources are great for nagios objects" claim is crap. they're great if you don't use anything like escalations, hostgroups (pre-3.x), servicegroups (pre-3.x), or anything else where an object has to have a list of other objects | ||
| [2009/12/29 16:54:46] <Volcane> its in rc | ||
| [2009/12/29 16:54:50] <monachus> k. guess i'll get hack-ish. tx. | ||
| [2009/12/29 16:55:16] @ Quit: fdz1: Remote closed the connection | ||
| [2009/12/29 16:55:47] @ fdz joined channel #puppet | ||
| [2009/12/29 16:56:53] <joe-mac> why is hostgroups pre-3x? | ||
| [2009/12/29 16:57:03] <joe-mac> i uset hem extensively in 3.x, id on';t think i'd be sane if i didn't | ||
| [2009/12/29 16:57:11] <nar> danielbln: I'm trying to install it on the puppetmaster server. Everything runs fine with Puppet, so maybe it's a problem with Ruby on Rails? | ||
| [2009/12/29 16:57:20] <nar> I'm new to rails | ||
| [2009/12/29 16:57:40] @ Quit: \ask: "Leaving..." | ||
| [2009/12/29 16:57:45] <Volcane> monachus: i agree its shitty | ||
| [2009/12/29 16:57:55] <Volcane> monachus: better to use foreman and its query interface | ||
| [2009/12/29 16:57:58] <joe-mac> i need to do something similar though, but in an erb template | ||
| [2009/12/29 16:58:06] <explody> ack apparently I have no idea how to use redmine | ||
| [2009/12/29 16:58:24] <Volcane> monachus: with foreman you can in a template just loop over a query result of all hosts that has class apache for exmaple, very nifty | ||
| [2009/12/29 16:58:31] <Volcane> monachus: and much more appropriate for nagios etc | ||
| [2009/12/29 16:58:58] <monachus> i thought foreman was targeted at bootstrapping new deployments? | ||
| [2009/12/29 16:59:16] <Volcane> nope, its targetted as being the only tool u need | ||
| [2009/12/29 16:59:26] <monachus> hmm. | ||
| [2009/12/29 16:59:27] <Volcane> bootstrap, node classification, management of extlookup data etc | ||
| [2009/12/29 16:59:56] <Volcane> does al your arbitrary grouping of classes/nodes/etc, does reports etc | ||
| [2009/12/29 17:00:05] <monachus> do i lose anything by using it or does it make my super-awesome recipes even better? | ||
| [2009/12/29 17:00:34] <Volcane> u shouldnt loose anything unless you do silly things like use node inheritance | ||
| [2009/12/29 17:00:42] <Volcane> or put resources directly in node {} blocks | ||
| [2009/12/29 17:00:52] <Volcane> but realy u deserve to suffer then :) | ||
| [2009/12/29 17:01:35] <danielbln> nar: did you trac running a rake trace? | ||
| [2009/12/29 17:01:39] <danielbln> rake install --trace | ||
| [2009/12/29 17:01:45] <monachus> all my nodes inherit from a basenode for each client, which inherits from a central generic basenode, but that's according to the best practices guide - are you saying that's a bad thing? | ||
| [2009/12/29 17:01:52] <danielbln> maybe this'll point you to the problem | ||
| [2009/12/29 17:01:58] <danielbln> *trac=try | ||
| [2009/12/29 17:02:29] <monachus> i try to eliminate duplicate code, so if 400 nodes all have the same 20 includes, it seems like a good candidate for inheritance | ||
| [2009/12/29 17:02:31] <Volcane> monachus: the best prac guides isnt actually anything official, thats just how someone thought to document their use | ||
| [2009/12/29 17:02:44] <Volcane> monachus: but if u real about the limitations of node inheritance you'd probably not use it | ||
| [2009/12/29 17:02:52] @ flyingparchment joined channel #puppet | ||
| [2009/12/29 17:03:26] <flyingparchment> can puppet detect when a Solaris package is out of date, and upgrade it? it's not really clear from the type reference, which says Solaris packages are "upgradeable", but not "versionable" | ||
| [2009/12/29 17:03:29] <monachus> i've encountered some issues, like a node's tag isn't available until after the basenode is processed, making the included classes somewhat less useful | ||
| [2009/12/29 17:03:36] <nar> danielbln: yes I tried with --trace... here is the output: http://pastie.org/760594 | ||
| [2009/12/29 17:03:40] <monachus> k - i'll peep foreman | ||
| [2009/12/29 17:03:44] <flyingparchment> (how can it be upgradeable if it's not versionable?) | ||
| [2009/12/29 17:04:15] <monachus> my intent here is to code nagios according to our policies - obvious stuff that gets forgotten, like "all SNMP services depend on the SNMP service" | ||
| [2009/12/29 17:04:19] <Volcane> monachus: bigger pain is that a node higher up in the inheritance tree cant change variables lower in the tree | ||
| [2009/12/29 17:04:19] <monachus> or "LDAPS depends on LDAP" | ||
| [2009/12/29 17:04:39] <monachus> so i just wrote all these kick-ass Nagios defines | ||
| [2009/12/29 17:04:57] <monachus> and now i'm crushed at hostgroups and escalations | ||
| [2009/12/29 17:05:01] <monachus> well - escalations, mainly. | ||
| [2009/12/29 17:05:10] <nar> danielbln: rake aborts at ** Execute db:seed | ||
| [2009/12/29 17:05:13] <monachus> guess tomorrow is foreman-day. | ||
| [2009/12/29 17:05:14] <Volcane> the nagios resources irritated me cos u had to have unique check names | ||
| [2009/12/29 17:05:17] <Volcane> not sure if thats been fixed | ||
| [2009/12/29 17:05:48] @ JD__ is now known as dpash | ||
| [2009/12/29 17:05:52] <monachus> i'm not using the resources - i wrote my own defines to adhere to our existing template structure | ||
| [2009/12/29 17:05:59] <Volcane> ah ok | ||
| [2009/12/29 17:06:26] <danielbln> nar: try moving db/seeds.rb to a temp location | ||
| [2009/12/29 17:06:28] <monachus> it's actually pretty sweet - i'll write something up about it when it's all done b/c i think nagios and puppet go well together | ||
| [2009/12/29 17:06:30] <Volcane> well def checkout the query feature in foreman, its pretty new, but no doubt there's good docs for it | ||
| [2009/12/29 17:06:37] <monachus> k - will do. | ||
| [2009/12/29 17:06:42] <monachus> you're in .de, right? | ||
| [2009/12/29 17:06:45] <danielbln> this is only to provide an initial log entry, but it might cause problems | ||
| [2009/12/29 17:06:46] <Volcane> ldn | ||
| [2009/12/29 17:07:00] <danielbln> also, the initial log entry is oooooold, so it screws up your statistic overview | ||
| [2009/12/29 17:07:08] <monachus> cool. i just note that you're up and active for ~ same number of hours that i am. | ||
| [2009/12/29 17:07:17] <Volcane> monachus: heh where u based? | ||
| [2009/12/29 17:07:26] <danielbln> if it works, you need to import reports before accessing the webinterface though, else it'll throw an error | ||
| [2009/12/29 17:07:30] <monachus> i'm in kraków, poland | ||
| [2009/12/29 17:07:39] <Volcane> monachus: ah neat | ||
| [2009/12/29 17:07:42] <monachus> i go back and forth between here and NYC | ||
| [2009/12/29 17:07:52] <monachus> but until the US stops being retarded i try to stay over here | ||
| [2009/12/29 17:07:59] <Volcane> heh yeah can imagine | ||
| [2009/12/29 17:08:00] <joe-mac> likely not going to stop | ||
| [2009/12/29 17:08:25] <Volcane> yup, they spent billions building the perfect terrorist weapon in the TSA, cant stop now | ||
| [2009/12/29 17:08:52] <nar> danielbln: it did work without error, however web interface inaccessible on port 3000 | ||
| [2009/12/29 17:09:13] <danielbln> right, after you started script/server, you need to import a report first | ||
| [2009/12/29 17:09:30] <danielbln> since you removed the seed file, the database is currently empty and the webinterface doesnt like that | ||
| [2009/12/29 17:09:31] <monachus> anyway - i'll go pull foreman down and take a look before bed. | ||
| [2009/12/29 17:10:12] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 17:10:19] @ fdz joined channel #puppet | ||
| [2009/12/29 17:11:13] <danielbln> nar: I use the live aggregation described here at the bottom of the page: http://github.com/reductivelabs/puppet-dashboard | ||
| [2009/12/29 17:11:21] <danielbln> manual importing failed on me | ||
| [2009/12/29 17:17:01] @ bug joined channel #puppet | ||
| [2009/12/29 17:18:47] <danielbln> anyone else using pretty Puppet maintained server MOTD? | ||
| [2009/12/29 17:19:04] <danielbln> if so, we should add a template gallery to the wiki | ||
| [2009/12/29 17:20:22] <nar> danielbln: how would I add the option --reports to puppetmasterd automatically? | ||
| [2009/12/29 17:20:40] <danielbln> nar: you don't, --reports is a client option | ||
| [2009/12/29 17:20:53] <Volcane> danielbln: google for "motd::register" | ||
| [2009/12/29 17:24:26] <danielbln> http://pastie.org/760622.txt | ||
| [2009/12/29 17:24:34] <whack> danielbln: I maintain /etc/motd via puppet | ||
| [2009/12/29 17:24:34] <danielbln> this is the result of the template I use for all our server motds | ||
| [2009/12/29 17:25:29] <danielbln> whack: template based? | ||
| [2009/12/29 17:26:01] <whack> danielbln: yep | ||
| [2009/12/29 17:26:02] <whack> http://pastebin.com/d54a19f4f | ||
| [2009/12/29 17:26:54] <Volcane> danielbln: http://pastie.org/760625 | ||
| [2009/12/29 17:27:11] <Volcane> the load/logged in users etc comes from a cron | ||
| [2009/12/29 17:27:15] <danielbln> pretty | ||
| [2009/12/29 17:27:29] <Volcane> the version kernel and debian from template | ||
| [2009/12/29 17:27:35] <Volcane> as is the disclaimer | ||
| [2009/12/29 17:27:42] <danielbln> puppet modules in use, dynamic or static? | ||
| [2009/12/29 17:27:49] <Volcane> dynamic :) | ||
| [2009/12/29 17:27:51] <danielbln> neat | ||
| [2009/12/29 17:27:56] <danielbln> care to elaborate? | ||
| [2009/12/29 17:28:11] <Volcane> and the 'Transient Atmospheric Phenomenon' is a vanity name that each machine chooses for itself | ||
| [2009/12/29 17:28:15] <whack> danielbln: the 'services' in my motd have a 1:1 mapping to puppet classes | ||
| [2009/12/29 17:28:38] <Volcane> danielbln: http://pastie.org/672499 | ||
| [2009/12/29 17:28:40] <danielbln> is there a variable which holds every class used by the host? | ||
| [2009/12/29 17:29:12] <Volcane> my modues that i wish to see in motd does: motd::register{"Apache is on this box": } | ||
| [2009/12/29 17:29:13] <whack> I use external nodes and set a 'services' paramter | ||
| [2009/12/29 17:29:39] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 17:29:53] <Volcane> i can surpress the big motd and replace it with 'managed by myco mail support@myco' type thing with a fact | ||
| [2009/12/29 17:30:07] @ littleidea joined channel #puppet | ||
| [2009/12/29 17:30:14] @ fdz joined channel #puppet | ||
| [2009/12/29 17:30:43] <danielbln> interesting | ||
| [2009/12/29 17:31:31] <nar> danielbln: Ok, I stopped puppetmasterd and restarted like this: puppetmasterd --reports /var/lib/puppet/reports/ | ||
| [2009/12/29 17:31:49] <nar> danielbln: then I ran puppet on one of the clients, yet no reports were generated | ||
| [2009/12/29 17:31:57] <Volcane> the names from come from a fqdn_rand chosen one out of a huge long list of Space Ship names from Ian M Banks books | ||
| [2009/12/29 17:31:59] <nar> danielbln: kind of lost | ||
| [2009/12/29 17:33:35] <danielbln> nar: don't run --reports on the master, run it on the client, also, it's report, not reports, so: puppetd --report | ||
| [2009/12/29 17:33:40] <nar> danielbln: rake reports:import works for me, but 0 of 0 reports imported. | ||
| [2009/12/29 17:33:56] <nar> danielbln: oh i see, thx | ||
| [2009/12/29 17:36:23] <danielbln> 1. copy puppet_dashboard.rb to lib/puppet/reports/puppet_dashboard.rb on the master 2. in puppet.conf on master, enter "reports = puppet_dashboard" 3. run puppet client with --report option | ||
| [2009/12/29 17:39:00] <nar> trying now... | ||
| [2009/12/29 17:39:54] <danielbln> keep an eye on the output of the dashboard server console output | ||
| [2009/12/29 17:43:16] <nar> dashboard server console? | ||
| [2009/12/29 17:43:20] <nar> what do you mean here? | ||
| [2009/12/29 17:43:46] <danielbln> well, the output you see when starting script/server | ||
| [2009/12/29 17:44:29] <nar> ok, starting now | ||
| [2009/12/29 17:45:19] <danielbln> dashboard <--report---- puppetmaster <--report--- puppetd | ||
| [2009/12/29 17:47:45] <ashp> oh this sucks, this REALLY goddamn sucks. | ||
| [2009/12/29 17:47:56] <ashp> they want me to make postfix accept emails and then delay relaying them for 10 seconds | ||
| [2009/12/29 17:48:11] <ashp> but it has to accept the email instantly so i can't put the delay in the connection bit | ||
| [2009/12/29 17:48:21] <nar> Ok, I did all 3 steps above. Then, here is what I did: 1) puppetd restart on client | ||
| [2009/12/29 17:48:35] <nar> 2) puppetd --report on client | ||
| [2009/12/29 17:48:42] <Volcane> ashp: why would they want that? | ||
| [2009/12/29 17:48:42] <joe-mac> ashp: pipe the mail through a script that just sleeps for 10 seconds lol | ||
| [2009/12/29 17:49:16] <nar> 3) puppetmasterd restart on master | ||
| [2009/12/29 17:49:33] <nar> 4) cd /var/puppet-dashboard on master | ||
| [2009/12/29 17:50:21] <danielbln> the dashboard server needs to be running prior to step 1 | ||
| [2009/12/29 17:50:51] <nar> Ok, backing up | ||
| [2009/12/29 17:51:41] <nar> 1) /var/puppet-dashboard script/server start | ||
| [2009/12/29 17:51:55] <nar> (=> Rails 2.3.5 application starting on http://0.0.0.0:3000) | ||
| [2009/12/29 17:51:55] <ashp> Volcane: we use an api to make mail accounts at mail2world | ||
| [2009/12/29 17:52:07] <ashp> Volcane: but they don't have a verification thing and we're sending mails before they finish the account creation | ||
| [2009/12/29 17:52:18] <ashp> the app they use to send the mail just stalls if it can't send the mail locally | ||
| [2009/12/29 17:52:23] <ashp> it doesn't and can't background it | ||
| [2009/12/29 17:52:23] <nar> [2009-12-29 17:52:09] INFO WEBrick::HTTPServer#start: pid=2665 port=3000 | ||
| [2009/12/29 17:52:32] <nar> 2) puppetd --report on client | ||
| [2009/12/29 17:52:34] <Volcane> ashp: lovely | ||
| [2009/12/29 17:52:48] <Volcane> ashp: i think u deserve a price for the most amount of shit in one place :P | ||
| [2009/12/29 17:52:56] <ashp> honestly, the best thing is this is a NEW system | ||
| [2009/12/29 17:52:59] <ashp> freshly made :( | ||
| [2009/12/29 17:53:22] <danielbln> nar: do you have the dashboard report skript installed on the master, activated in puppet.conf and the master running prior to starting the client? | ||
| [2009/12/29 17:53:44] <ashp> googling for delay and email finds very little help on ADDING delays but lots on troubleshooting them :) | ||
| [2009/12/29 17:53:57] <danielbln> ashp: go figure ;) | ||
| [2009/12/29 17:54:04] <joe-mac> you know how you like pipe mail through amavis, just pipe it through a script that sleeps for 10 seconds... | ||
| [2009/12/29 17:54:05] <nar> danielbln: yes, /var/lib/puppet/reports/puppet_dashboard.rb | ||
| [2009/12/29 17:54:11] <danielbln> nar: alright then | ||
| [2009/12/29 17:54:52] <nar> danielbln: so assuming all is right, where did the report file go? | ||
| [2009/12/29 17:55:07] <nar> danielbln: should it be in /var/lib/puppet/reports? | ||
| [2009/12/29 17:55:12] <nar> on the master? | ||
| [2009/12/29 17:55:41] <danielbln> only if you activated the log option in puppet.conf on the master, otherwise it should be passed to the dashboard automatically | ||
| [2009/12/29 17:56:35] <danielbln> to be more clear, if your puppet.conf just states "reports = puppet_dashboard", then afaik there are no report files, the master passes all report information directly to the dashboard | ||
| [2009/12/29 17:56:53] <nar> ok, i see | ||
| [2009/12/29 17:57:07] <nar> accessign the dashboard throws a bunch of errors starting with "TypeError in Pages#home " | ||
| [2009/12/29 17:57:24] <danielbln> what does the script/server output say? | ||
| [2009/12/29 17:58:18] <nar> ERROR bad Request-Line `??K:???1ZJ8????U<??L?????1?@0?F?' | ||
| [2009/12/29 17:58:23] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/12/29 17:58:24] <nar> and a lot more jibberish | ||
| [2009/12/29 17:58:43] <nar> P⎼⎺␌␊⎽⎽␋┼± P▒±␊⎽C⎺┼├⎼⎺┌┌␊⎼#⎺└␊ | ||
| [2009/12/29 17:59:06] <danielbln> huh | ||
| [2009/12/29 17:59:08] <nar> odd, could this be the report data? | ||
| [2009/12/29 17:59:17] <nar> that's what the output looks like, | ||
| [2009/12/29 18:00:17] <danielbln> nothing more I can think of I'm afraid, maybe ReinH can help if he's here | ||
| [2009/12/29 18:01:20] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 18:01:21] @ fdz joined channel #puppet | ||
| [2009/12/29 18:01:38] <nar> ok, thanks for your help | ||
| [2009/12/29 18:10:09] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/12/29 18:11:08] @ Djelibeybi joined channel #puppet | ||
| [2009/12/29 18:11:48] <explody> is there a way in a manifest to test if a particular class/module has been applied to a system? | ||
| [2009/12/29 18:12:00] @ Quit: notbrien: | ||
| [2009/12/29 18:12:32] <monachus> i wish there was a puppet syntax configuration thing for Eclipse. | ||
| [2009/12/29 18:13:10] <monachus> even just syntax highlighting would be awesome, but code-folding...and the outline so i can jump to specific classes or defines instead of scrolling...*sigh* | ||
| [2009/12/29 18:13:19] @ themurph joined channel #puppet | ||
| [2009/12/29 18:13:43] <nar> danielbln: ok, here is the report output from the console after running puppetd --report http://pastie.org/760675 | ||
| [2009/12/29 18:14:55] <danielbln> this looks like a GET request, not the report purring in | ||
| [2009/12/29 18:15:09] <danielbln> try running the puppetmaster with --verbose and --no-daemonize | ||
| [2009/12/29 18:15:09] <explody> monachus: you might try geany, it does highlighting and folding quite well for .pp | ||
| [2009/12/29 18:15:15] <danielbln> see what it says about the report | ||
| [2009/12/29 18:15:26] <danielbln> maybe it's not even reaching the dashboard | ||
| [2009/12/29 18:16:05] <monachus> explody: nice. tx. | ||
| [2009/12/29 18:17:34] @ Quit: jsm: "Leaving." | ||
| [2009/12/29 18:18:43] <danielbln> there is pp highlighting for geany? | ||
| [2009/12/29 18:19:03] <explody> now that I think about it, I think it's using the ruby rules | ||
| [2009/12/29 18:19:16] <danielbln> yeah, that sounds about right | ||
| [2009/12/29 18:19:25] <explody> but it looks fine to me, and folding is accurate | ||
| [2009/12/29 18:19:46] <danielbln> I'm torn.. my VI highlighting is puppet specific | ||
| [2009/12/29 18:20:14] <Volcane> vim+puppet = awesome http://screenr.com/su7 | ||
| [2009/12/29 18:20:38] <explody> I've never found a multi-buffer vim setup that I like better than tabs, but I use vim for most everything except projects that need lots of files open at once | ||
| [2009/12/29 18:21:24] <explody> Volcane: that's pretty sexy | ||
| [2009/12/29 18:21:26] @ joe-mac left channel #puppet () | ||
| [2009/12/29 18:21:54] <Volcane> its in the ext dir of the tarball afaik | ||
| [2009/12/29 18:22:10] <explody> that might lure me back to gvim | ||
| [2009/12/29 18:22:45] <danielbln> Volcane: that looks pretty neat, sure beats my rather simple highlighting, snipMate, eh? | ||
| [2009/12/29 18:24:10] <danielbln> my collegue uses mcedit exclusivly and it's a pain watching him work | ||
| [2009/12/29 18:24:16] <danielbln> also, mc blows | ||
| [2009/12/29 18:27:12] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 18:27:15] @ fdz1 joined channel #puppet | ||
| [2009/12/29 18:28:26] @ Quit: nar: | ||
| [2009/12/29 18:28:44] @ Quit: bug: | ||
| [2009/12/29 18:30:32] @ Quit: gpled: "Ex-Chat" | ||
| [2009/12/29 18:33:13] @ Quit: mvn071: "Leaving" | ||
| [2009/12/29 18:34:49] <monachus> hmm...if i blow away my storedconfigs testing database i expected puppet to recreate it like it did the first time i used it. instead it errors out. is there a variable set somewhere that tells it the db already exists? | ||
| [2009/12/29 18:35:09] @ Quit: jes5: "Leaving." | ||
| [2009/12/29 18:35:10] @ lero joined channel #puppet | ||
| [2009/12/29 18:38:26] * monachus tries just bouncing the puppetmaster | ||
| [2009/12/29 18:39:10] <monachus> oh. yeah. that looks like it worked. damn i'm tired. | ||
| [2009/12/29 18:39:21] @ Quit: bobbyz: Read error: 60 (Operation timed out) | ||
| [2009/12/29 18:44:44] @ Quit: fdz1: "Leaving." | ||
| [2009/12/29 18:44:45] @ fdz joined channel #puppet | ||
| [2009/12/29 18:45:26] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/12/29 18:51:04] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 18:51:09] <explody> so, I have two modules, only one of which will be applied to a node at any one time. I also have a couple other modules that would really like to test if moduleA or moduleB have been applied to the current node, and do different things accordingly | ||
| [2009/12/29 18:51:13] @ fdz joined channel #puppet | ||
| [2009/12/29 18:53:03] <explody> eh I think I'll just split them into two groups | ||
| [2009/12/29 18:53:40] @ Quit: bobbyz_: Read error: 110 (Connection timed out) | ||
| [2009/12/29 18:59:25] <Volcane> explody: if defined(Class["modulea"]) | ||
| [2009/12/29 18:59:33] <Volcane> explody: but the include modulea has to be before that is all | ||
| [2009/12/29 18:59:43] <explody> ooh | ||
| [2009/12/29 19:03:26] <explody> or I might actually drop a marker on the node with each of the mutually exclusive modules, like "touch /etc/.moduleA_applied", then test for that with a fact. But, testing for a class is suuuuper handy, thanks | ||
| [2009/12/29 19:05:33] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/29 19:06:16] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/29 19:14:31] <flyingparchment> can puppet upgrade packages on solaris to the current version if a node has an old version installed? | ||
| [2009/12/29 19:15:44] <hggh> flyingparchment: http://reductivelabs.com/trac/puppet/wiki/TypeReference#package if your provider has got versionable support, yes | ||
| [2009/12/29 19:16:03] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 19:16:05] <flyingparchment> hggh: solaris has 'upgradeable' but not 'versionable'. | ||
| [2009/12/29 19:16:05] @ fdz joined channel #puppet | ||
| [2009/12/29 19:16:10] <flyingparchment> hggh: i don't really understand what that means. | ||
| [2009/12/29 19:17:17] <nevyn> you can't say "ensure => latest" | ||
| [2009/12/29 19:17:37] <explody> well, it means that you can't ask the sun packaging system to install one particular version of a package | ||
| [2009/12/29 19:17:39] <nevyn> but you can say "ensure => 5.8" | ||
| [2009/12/29 19:17:46] <nevyn> oh. | ||
| [2009/12/29 19:18:04] <nevyn> right you can only do ensure => installed | ||
| [2009/12/29 19:18:08] <nevyn> and specify the package. | ||
| [2009/12/29 19:18:14] <flyingparchment> okay. i don't really care about a specific version... but if i update a package in the repository, i want puppet to upgrade it. can 'upgradeable' do that? | ||
| [2009/12/29 19:18:19] <nevyn> unless you use the pkg-get provider | ||
| [2009/12/29 19:19:30] <explody> flyingparchment: you're using the sun provider? | ||
| [2009/12/29 19:19:34] <flyingparchment> explody: yes | ||
| [2009/12/29 19:19:44] <flyingparchment> according to that page, 'upgradeable' means 'latest' should work | ||
| [2009/12/29 19:19:54] <flyingparchment> but i don't really understand how if 'versionable' isn't available. | ||
| [2009/12/29 19:20:05] <danielbln> anyone know if puppet templates allow ansi escape characters, i.e. to get bold text? | ||
| [2009/12/29 19:20:22] @ Quit: ashp: "Lost terminal" | ||
| [2009/12/29 19:20:28] <explody> my guess would be that if the version you specify in source => is different than what is installed, puppet would upgrade it | ||
| [2009/12/29 19:22:01] <flyingparchment> okay... that would be enough. i guess i'll try it and see ;) | ||
| [2009/12/29 19:22:36] <explody> yeah that's the best bet. I think that 'versionable' doesn't mean exactly what it sounds like. Looking at the code in the sun provider, it is checking versions. | ||
| [2009/12/29 19:24:23] @ Quit: cynicismic: ""bedtime.."" | ||
| [2009/12/29 19:28:09] <explody> anyone know if you can generate log entries from inside a manifest? | ||
| [2009/12/29 19:28:59] <eric0> notice("log this") | ||
| [2009/12/29 19:32:38] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 19:32:41] @ fdz joined channel #puppet | ||
| [2009/12/29 19:35:25] <explody> oh cool, thanks | ||
| [2009/12/29 19:36:12] <explody> wow, snow in portland. time to skate...er drive home | ||
| [2009/12/29 19:38:39] @ ashp joined channel #puppet | ||
| [2009/12/29 19:39:20] <flyingparchment> does puppet's internal webserver require a client's ssl certificate to validate before it'll let the client download files? | ||
| [2009/12/29 19:44:10] <eric0> flyingparchment: yes | ||
| [2009/12/29 19:45:37] @ Quit: nmi: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 19:45:40] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 19:46:22] @ fdz joined channel #puppet | ||
| [2009/12/29 19:47:03] * eric0 is just now trying to manually re-create the automatic puppetmaster cert foo | ||
| [2009/12/29 19:49:37] @ Quit: scylla: "Connection timed out" | ||
| [2009/12/29 19:53:44] @ Djelibeybi joined channel #puppet | ||
| [2009/12/29 19:56:58] @ friendly12345 joined channel #puppet | ||
| [2009/12/29 20:01:43] @ crdant joined channel #puppet | ||
| [2009/12/29 20:01:50] @ bug joined channel #puppet | ||
| [2009/12/29 20:02:49] @ \ask joined channel #puppet | ||
| [2009/12/29 20:04:14] @ Quit: bug: Client Quit | ||
| [2009/12/29 20:04:56] @ Quit: fdz: "Leaving." | ||
| [2009/12/29 20:16:44] @ bug joined channel #puppet | ||
| [2009/12/29 20:21:29] @ Quit: Bass10: Read error: 54 (Connection reset by peer) | ||
| [2009/12/29 20:30:12] @ Quit: littleidea: | ||
| [2009/12/29 20:37:25] @ vizzord joined channel #puppet | ||
| [2009/12/29 20:45:58] @ Quit: bug: | ||
| [2009/12/29 20:47:23] @ Quit: jab_doa: "Verlassend" | ||
| [2009/12/29 20:50:28] @ Quit: danielbln: "Leaving." | ||
| [2009/12/29 20:58:33] @ Quit: brothers: | ||
| [2009/12/29 21:15:19] @ Quit: \ask: Read error: 60 (Operation timed out) | ||
| [2009/12/29 21:17:38] @ Quit: _elmata_: Read error: 110 (Connection timed out) | ||
| [2009/12/29 21:21:48] @ _elmata_ joined channel #puppet | ||
| [2009/12/29 21:27:22] @ littleidea joined channel #puppet | ||
| [2009/12/29 21:37:56] @ Quit: jaredrhine: Read error: 113 (No route to host) | ||
| [2009/12/29 21:37:59] @ Quit: vizzord: "see you" | ||
| [2009/12/29 21:43:27] @ Quit: kolla: Read error: 60 (Operation timed out) | ||
| [2009/12/29 21:45:42] @ kolla joined channel #puppet | ||
| [2009/12/29 21:58:56] @ bug joined channel #puppet | ||
| [2009/12/29 22:00:20] @ Quit: bug: Client Quit | ||
| [2009/12/29 22:09:21] @ Quit: crdant: "Leaving." | ||
| [2009/12/29 22:11:36] @ crdant joined channel #puppet | ||
| [2009/12/29 22:11:59] @ Quit: shadoi: "Leaving." | ||
| [2009/12/29 22:15:25] @ bug joined channel #puppet | ||
| [2009/12/29 22:15:26] @ Quit: kolla: Read error: 104 (Connection reset by peer) | ||
| [2009/12/29 22:16:18] @ Quit: msf: Remote closed the connection | ||
| [2009/12/29 22:36:25] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/29 22:45:28] @ zerash joined channel #puppet | ||
| [2009/12/29 22:47:06] @ Quit: lilmatt: Client Quit | ||
| [2009/12/29 22:50:27] @ WALoeIII joined channel #puppet | ||
| [2009/12/29 22:50:28] @ Quit: gebi: Read error: 60 (Operation timed out) | ||
| [2009/12/29 22:58:09] @ Transformer joined channel #puppet | ||
| [2009/12/29 23:00:45] @ Transformer left channel #puppet () | ||
| [2009/12/29 23:03:50] @ kolla joined channel #puppet | ||
| [2009/12/29 23:22:37] @ Demosthenes joined channel #puppet | ||
| [2009/12/29 23:47:45] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/29 23:51:10] @ jaredrhine joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!