| [2011/10/29 00:02:06] @ Log started by gepetto | ||
| [2011/10/29 00:02:06] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/29 00:03:20] <dwalu> is there documentation on faster methods? right now I'm essentially cutting and pasting but I have no idea what set code does | ||
| [2011/10/29 00:05:17] <dwalu> it seems that whatever is returned from the setcode block becomes the value of that fact? | ||
| [2011/10/29 00:06:12] @ Quit: olof: Ping timeout: 258 seconds | ||
| [2011/10/29 00:14:24] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/10/29 00:16:00] @ Quit: joe-mac: Ping timeout: 240 seconds | ||
| [2011/10/29 00:21:18] @ olof joined channel #puppet | ||
| [2011/10/29 00:40:50] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/10/29 00:41:08] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/29 00:43:03] @ Quit: gniks1: Quit: Leaving. | ||
| [2011/10/29 00:46:19] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 00:47:42] @ maes_` joined channel #puppet | ||
| [2011/10/29 00:47:43] @ Quit: maes_: Read error: Connection reset by peer | ||
| [2011/10/29 00:50:15] @ davewongillies joined channel #puppet | ||
| [2011/10/29 00:55:10] @ ckauhaus joined channel #puppet | ||
| [2011/10/29 00:59:56] @ Quit: claussen: Quit: claussen | ||
| [2011/10/29 01:03:53] @ mmoya joined channel #puppet | ||
| [2011/10/29 01:06:55] @ joe-mac joined channel #puppet | ||
| [2011/10/29 01:15:56] @ steakknife joined channel #puppet | ||
| [2011/10/29 01:18:30] <dwalu> @zleslie thanks, I eventually got it with your advise. now I may sleep! | ||
| [2011/10/29 01:18:32] @ Quit: dwalu: Quit: dwalu | ||
| [2011/10/29 01:21:15] @ erodriguez joined channel #puppet | ||
| [2011/10/29 01:29:26] @ Nadir_Seen_Fire joined channel #puppet | ||
| [2011/10/29 01:31:07] @ Spads_ joined channel #puppet | ||
| [2011/10/29 01:31:49] @ Quit: DanielFriesen: Ping timeout: 240 seconds | ||
| [2011/10/29 01:35:00] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/10/29 01:53:12] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 01:53:15] @ Chris64 joined channel #puppet | ||
| [2011/10/29 01:54:10] @ KaiserBeto1 left channel #puppet () | ||
| [2011/10/29 01:55:11] <jedi4ever> if I do $myfiles=[ "bla","blo"] file { $myfiles: path => "/tmp/$XXXX"} | ||
| [2011/10/29 01:55:34] <jedi4ever> what is the XXXX need to be to refer to the bla name? $title,$name don't seem to cut it | ||
| [2011/10/29 01:58:42] <kjetilho> wrap it in a define | ||
| [2011/10/29 01:59:15] @ Quit: Spads_: Ping timeout: 252 seconds | ||
| [2011/10/29 02:00:42] @ Spads joined channel #puppet | ||
| [2011/10/29 02:05:38] <jedi4ever> kjetilho: thx, seems a bit counter intuitive though | ||
| [2011/10/29 02:06:18] @ Quit: Chris64: | ||
| [2011/10/29 02:12:48] @ Quit: trespan: Ping timeout: 248 seconds | ||
| [2011/10/29 02:18:01] @ davewongillies joined channel #puppet | ||
| [2011/10/29 02:21:25] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 02:23:01] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/10/29 02:25:51] @ davewongillies joined channel #puppet | ||
| [2011/10/29 02:27:07] @ ckauhaus1 joined channel #puppet | ||
| [2011/10/29 02:27:19] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/10/29 02:33:35] @ EspadaV8 is now known as EspadaV8_away | ||
| [2011/10/29 02:36:07] @ EspadaV8_away is now known as EspadaV8 | ||
| [2011/10/29 02:38:23] @ Quit: mmoya: Ping timeout: 258 seconds | ||
| [2011/10/29 02:39:00] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 02:39:31] @ davewongillies joined channel #puppet | ||
| [2011/10/29 02:40:18] @ danikov joined channel #puppet | ||
| [2011/10/29 02:40:52] @ Quit: davewongillies: Client Quit | ||
| [2011/10/29 02:42:00] @ davewongillies joined channel #puppet | ||
| [2011/10/29 02:42:49] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 02:43:54] @ lbt_away is now known as lbt | ||
| [2011/10/29 02:43:55] @ davewongillies joined channel #puppet | ||
| [2011/10/29 02:48:48] @ s0enke joined channel #puppet | ||
| [2011/10/29 02:48:52] <s0enke> hi | ||
| [2011/10/29 02:49:18] <s0enke> is it possible to use the package dpkg provider with a remote (http) package? | ||
| [2011/10/29 02:49:40] <s0enke> it's no apt repo unfortunately | ||
| [2011/10/29 02:55:10] <misc> s0enke: you can use source, but does dpkg support fetching the file from a url ? | ||
| [2011/10/29 02:55:12] @ Quit: danikov: Read error: Connection reset by peer | ||
| [2011/10/29 02:55:30] <apollo13> no | ||
| [2011/10/29 02:55:34] <s0enke> misc, nope :-/ | ||
| [2011/10/29 02:55:35] @ danikov joined channel #puppet | ||
| [2011/10/29 02:55:44] <apollo13> s0enke: so put it into a apt repo | ||
| [2011/10/29 02:56:01] * apollo13 has a custom repo for stuff not in official repos | ||
| [2011/10/29 02:56:52] <s0enke> yeah, but it's only for building a simple play-vagrant-box-other people should use it as well so i 'd have to make the repo public | ||
| [2011/10/29 02:57:22] <apollo13> so? | ||
| [2011/10/29 02:57:32] <s0enke> and it's not my package (mysql-galera actually) | ||
| [2011/10/29 02:57:37] <apollo13> so? | ||
| [2011/10/29 02:57:44] @ alterDanikov joined channel #puppet | ||
| [2011/10/29 02:58:00] <s0enke> i just don't like it :D | ||
| [2011/10/29 02:58:56] <apollo13> it's gpl I doubt they would bother | ||
| [2011/10/29 02:59:33] <misc> other solution is to downoad with wget and then use dpkg, but that's clumsy | ||
| [2011/10/29 02:59:39] @ Quit: alterDanikov: Read error: Connection reset by peer | ||
| [2011/10/29 02:59:55] @ alterDanikov joined channel #puppet | ||
| [2011/10/29 02:59:56] <s0enke> misc, yeah but it's easy with puppet and File[] | ||
| [2011/10/29 03:00:14] @ Quit: danikov: Ping timeout: 258 seconds | ||
| [2011/10/29 03:00:39] <s0enke> yeah that gpl should not be a problem. but with an own repo it's like: setup a machine, set up a repo, set up pgp keys - just for own f*cking package ;-) | ||
| [2011/10/29 03:00:50] <s0enke> s/own/onwe | ||
| [2011/10/29 03:01:06] <s0enke> argls s/onwe/one | ||
| [2011/10/29 03:04:53] @ Quit: alterDanikov: Ping timeout: 252 seconds | ||
| [2011/10/29 03:08:02] @ lanky joined channel #puppet | ||
| [2011/10/29 03:15:12] @ Quit: lovemj: Read error: Connection reset by peer | ||
| [2011/10/29 03:16:13] @ lovemj joined channel #puppet | ||
| [2011/10/29 03:19:36] @ Quit: hooper: Ping timeout: 240 seconds | ||
| [2011/10/29 03:27:06] @ n8 joined channel #puppet | ||
| [2011/10/29 03:27:36] @ Quit: lovemj: Ping timeout: 240 seconds | ||
| [2011/10/29 03:28:48] @ Spads_ joined channel #puppet | ||
| [2011/10/29 03:32:39] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/10/29 03:33:59] @ Quit: blentz: Read error: Operation timed out | ||
| [2011/10/29 03:45:13] @ rsnhyperion joined channel #puppet | ||
| [2011/10/29 03:46:00] @ Spads joined channel #puppet | ||
| [2011/10/29 03:49:33] @ Quit: Spads_: Ping timeout: 276 seconds | ||
| [2011/10/29 03:51:01] @ blentz joined channel #puppet | ||
| [2011/10/29 03:53:38] @ lovemj joined channel #puppet | ||
| [2011/10/29 03:55:03] @ ranulf left channel #puppet () | ||
| [2011/10/29 03:59:59] @ shug joined channel #puppet | ||
| [2011/10/29 04:03:54] @ Quit: Elwell: Remote host closed the connection | ||
| [2011/10/29 04:13:09] @ trespan joined channel #puppet | ||
| [2011/10/29 04:16:35] @ Quit: swygue: Remote host closed the connection | ||
| [2011/10/29 04:17:34] @ swygue joined channel #puppet | ||
| [2011/10/29 04:20:07] @ jodok joined channel #puppet | ||
| [2011/10/29 04:20:07] @ Quit: jodok: Changing host | ||
| [2011/10/29 04:20:07] @ jodok joined channel #puppet | ||
| [2011/10/29 04:32:13] @ Quit: xalimar: Ping timeout: 240 seconds | ||
| [2011/10/29 04:52:41] @ Quit: tilgovi: Ping timeout: 252 seconds | ||
| [2011/10/29 05:03:59] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/10/29 05:04:52] @ Spads_ joined channel #puppet | ||
| [2011/10/29 05:06:19] @ davewongillies joined channel #puppet | ||
| [2011/10/29 05:08:12] @ Quit: Spads: Ping timeout: 244 seconds | ||
| [2011/10/29 05:26:15] @ Quit: kubicek: Excess Flood | ||
| [2011/10/29 05:26:20] @ kubicek joined channel #puppet | ||
| [2011/10/29 05:26:22] @ Quit: kubicek: Excess Flood | ||
| [2011/10/29 05:27:56] @ Quit: shug: Quit: This computer has gone to sleep | ||
| [2011/10/29 05:28:03] @ kubicek joined channel #puppet | ||
| [2011/10/29 05:29:57] @ Quit: lovemj: Ping timeout: 260 seconds | ||
| [2011/10/29 05:30:27] @ Spads joined channel #puppet | ||
| [2011/10/29 05:30:37] @ Quit: Spads: Changing host | ||
| [2011/10/29 05:30:37] @ Spads joined channel #puppet | ||
| [2011/10/29 05:30:55] @ lovemj joined channel #puppet | ||
| [2011/10/29 05:31:54] @ |Majestic| joined channel #puppet | ||
| [2011/10/29 05:33:39] @ Quit: Spads_: Ping timeout: 260 seconds | ||
| [2011/10/29 05:48:25] @ bronto joined channel #puppet | ||
| [2011/10/29 05:49:05] <|Majestic|> could anyone clue me in on whats the difference between -> and ~> when it comes to puppet dependicies as I can't seen to find any real info on google about it. Thanks in advance. | ||
| [2011/10/29 05:53:49] <Dominic> |Majestic|: first is dependency, second is notification/subscription | ||
| [2011/10/29 05:54:06] <|Majestic|> Thanks Dominic. | ||
| [2011/10/29 05:54:15] <Dominic> look for the resource chaining section in the languide guide for more info | ||
| [2011/10/29 05:54:29] <|Majestic|> thanks - must of missed that thanks again. | ||
| [2011/10/29 05:55:18] <|Majestic|> found it now thanks... not sure why my google foo was so week. | ||
| [2011/10/29 05:56:21] <|Majestic|> makes so much more sence now thank you! | ||
| [2011/10/29 05:56:27] <Dominic> np | ||
| [2011/10/29 05:56:48] @ Quit: joe-mac: Ping timeout: 240 seconds | ||
| [2011/10/29 05:56:51] @ joe-mac1 joined channel #puppet | ||
| [2011/10/29 05:56:51] @ Quit: ckauhaus1: Quit: Leaving. | ||
| [2011/10/29 06:01:13] @ Quit: rsnhyperion: Quit: rsnhyperion | ||
| [2011/10/29 06:02:04] @ rsnhyperion joined channel #puppet | ||
| [2011/10/29 06:03:08] @ rsnhyperion_ joined channel #puppet | ||
| [2011/10/29 06:03:08] @ Quit: rsnhyperion: Read error: Connection reset by peer | ||
| [2011/10/29 06:03:08] @ rsnhyperion_ is now known as rsnhyperion | ||
| [2011/10/29 06:03:27] @ skm joined channel #puppet | ||
| [2011/10/29 06:04:01] @ Quit: rsnhyperion: Client Quit | ||
| [2011/10/29 06:04:47] @ rsnhyperion joined channel #puppet | ||
| [2011/10/29 06:05:06] @ bencc joined channel #puppet | ||
| [2011/10/29 06:05:13] <bencc> how can I apply one class? | ||
| [2011/10/29 06:06:10] <bencc> puppet apply /etc/puppet/manifests/site.pp works but I only want to execute one specific class /etc/puppet/modules/mymodule/manifests/init.pp | ||
| [2011/10/29 06:08:53] @ Quit: rsnhyperion: Client Quit | ||
| [2011/10/29 06:13:37] <bencc> found it: puppet apply ie 'include myclass' | ||
| [2011/10/29 06:19:58] @ Spads_ joined channel #puppet | ||
| [2011/10/29 06:22:39] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/10/29 06:29:29] @ Spads joined channel #puppet | ||
| [2011/10/29 06:33:15] @ Quit: Spads_: Ping timeout: 255 seconds | ||
| [2011/10/29 06:33:35] @ cliff-hm joined channel #puppet | ||
| [2011/10/29 06:38:56] @ Quit: socomm: Ping timeout: 258 seconds | ||
| [2011/10/29 06:40:48] @ Quit: wollviech: Ping timeout: 245 seconds | ||
| [2011/10/29 06:40:52] @ socomm joined channel #puppet | ||
| [2011/10/29 06:40:54] @ wollviech joined channel #puppet | ||
| [2011/10/29 06:49:03] @ EspadaV8 is now known as EspadaV8_away | ||
| [2011/10/29 06:54:47] @ skoom joined channel #puppet | ||
| [2011/10/29 06:56:09] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/10/29 06:56:09] @ skoom is now known as skm | ||
| [2011/10/29 07:06:40] @ jovy joined channel #puppet | ||
| [2011/10/29 07:24:55] @ Quit: blentz: Read error: Connection reset by peer | ||
| [2011/10/29 07:38:53] @ Quit: jedi4ever: Remote host closed the connection | ||
| [2011/10/29 07:38:58] @ jedi4ever joined channel #puppet | ||
| [2011/10/29 07:41:09] @ Quit: wollviech: Quit: Reconnecting | ||
| [2011/10/29 07:41:13] @ wollviech joined channel #puppet | ||
| [2011/10/29 07:44:33] @ neonflux joined channel #puppet | ||
| [2011/10/29 07:44:53] @ d3c joined channel #puppet | ||
| [2011/10/29 07:45:31] <d3c> can I skip $name when using a definition? e.g. foo { bar => true, ... } ? or will I have to do foo { 'whatever' : ... ? | ||
| [2011/10/29 07:46:19] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/10/29 07:49:15] @ rsnhyperion joined channel #puppet | ||
| [2011/10/29 07:50:37] @ soh joined channel #puppet | ||
| [2011/10/29 07:51:58] <bronto> d3c: I don't think you can | ||
| [2011/10/29 08:00:20] <jedi4ever> is there a way to do an unless or onlyif with a file resource? | ||
| [2011/10/29 08:01:11] <d3c> bronto: how can I use a definition's name inside a template in a e.g. File resource? see what I mean? define foo { file { 'bar' : content => template('whatever') } } - I'd like to use the name of foo, not bar, inside template. | ||
| [2011/10/29 08:02:32] <d3c> bronto: I guess if I use $name inside the template, it will be 'bar', not the value of $name in foo. | ||
| [2011/10/29 08:06:59] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/29 08:22:54] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/10/29 08:32:06] @ gniks joined channel #puppet | ||
| [2011/10/29 08:35:22] @ skm joined channel #puppet | ||
| [2011/10/29 08:38:16] @ AphisOne joined channel #puppet | ||
| [2011/10/29 08:41:29] @ duerF joined channel #puppet | ||
| [2011/10/29 08:42:26] @ AphisOne left channel #puppet () | ||
| [2011/10/29 08:52:21] @ Quit: Spads: Read error: Operation timed out | ||
| [2011/10/29 08:57:16] @ Quit: ptman: Quit: shutdown | ||
| [2011/10/29 09:02:34] @ Stenbryggen1 joined channel #puppet | ||
| [2011/10/29 09:02:36] @ Quit: Stenbryggen: Read error: Connection reset by peer | ||
| [2011/10/29 09:06:46] @ Stenbryggen joined channel #puppet | ||
| [2011/10/29 09:06:48] @ Quit: Stenbryggen1: Read error: Connection reset by peer | ||
| [2011/10/29 09:10:06] @ Spads joined channel #puppet | ||
| [2011/10/29 09:10:39] @ Quit: jamison: Excess Flood | ||
| [2011/10/29 09:12:53] @ jamison joined channel #puppet | ||
| [2011/10/29 09:17:18] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/10/29 09:21:28] <Volcane> trying > guessing | ||
| [2011/10/29 09:32:00] <countskm> anyone know a good site indexing all the different orchestrators available for a puppet or puppet-like infrastructure? | ||
| [2011/10/29 09:32:36] <countskm> im seeing cobbler, mcollective, foreman, vagrant but i am sure there are many others - seems like a rapidly moving target | ||
| [2011/10/29 09:32:42] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/10/29 09:34:34] <Volcane> not sure how cobbler counts | ||
| [2011/10/29 09:35:24] <Volcane> a biggish list 3rd paragraph of http://www.devco.net/archives/2010/08/28/effective_adhoc_commands_in_clusters.php and its far from complete | ||
| [2011/10/29 09:35:52] <countskm> vol: thanks - checkin it out | ||
| [2011/10/29 09:35:55] @ maxmartin joined channel #puppet | ||
| [2011/10/29 09:36:48] <countskm> i might have to write my own for the aix environment but w/ the new power7 and their virtual machine i think this would align w/ some of the provisioning pieces of others | ||
| [2011/10/29 09:37:13] <Volcane> why write your own? | ||
| [2011/10/29 09:37:22] <countskm> i will reuse all i can | ||
| [2011/10/29 09:37:35] <countskm> it may just be a provisioning provider for aix hopefully | ||
| [2011/10/29 09:37:41] <Volcane> mcollective is effectively a framework to build what u want | ||
| [2011/10/29 09:38:08] <Volcane> on its own its not an orchastrator as such but it provides lots of hooks for you to just focus on the behavior you want leavint the more generic stuff like comms and classification to the framework | ||
| [2011/10/29 09:38:24] <countskm> gotcha | ||
| [2011/10/29 09:38:43] <countskm> i started to check out mcollective and had it running some basic ping in aix6.1 | ||
| [2011/10/29 09:38:50] <countskm> w/ a centos master | ||
| [2011/10/29 09:39:46] <countskm> i have watched some videos, read, but i still find the documentation on cookbook ideas lacking - i know its evolving | ||
| [2011/10/29 09:41:41] <Volcane> nod, takes some time to get into - but shold be less time than building your own :P | ||
| [2011/10/29 09:42:13] <countskm> agreed - im doing the defer but search and read as long as possible to figure out whats out there approach :-) | ||
| [2011/10/29 09:42:26] <Volcane> yeah thats the best | ||
| [2011/10/29 09:43:01] <countskm> years ago u had to do more but now its crazy how much good stuff is out there down to queing, search engines, etc - real solid infrastructure opensource sw | ||
| [2011/10/29 09:43:11] @ abetterlie joined channel #puppet | ||
| [2011/10/29 09:43:34] <Volcane> yeah | ||
| [2011/10/29 09:43:49] @ Quit: j^2: Ping timeout: 240 seconds | ||
| [2011/10/29 09:44:46] @ j^2 joined channel #puppet | ||
| [2011/10/29 09:45:03] @ skm joined channel #puppet | ||
| [2011/10/29 09:45:32] <countskm> nice - i like the article thanks | ||
| [2011/10/29 09:45:52] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/10/29 09:47:57] @ ukd1 joined channel #puppet | ||
| [2011/10/29 09:51:53] @ Quit: limed: Ping timeout: 252 seconds | ||
| [2011/10/29 09:52:02] @ maxmartin joined channel #puppet | ||
| [2011/10/29 09:54:21] <countskm> i remember the developer of stomp giving a talk back at lisa in like ~2000 - cool his framework still lives on in mc | ||
| [2011/10/29 09:54:25] @ jab_doa joined channel #puppet | ||
| [2011/10/29 10:02:22] @ Quit: doo: Remote host closed the connection | ||
| [2011/10/29 10:04:36] @ doo joined channel #puppet | ||
| [2011/10/29 10:05:56] @ limed joined channel #puppet | ||
| [2011/10/29 10:06:47] @ philcorchary joined channel #puppet | ||
| [2011/10/29 10:07:52] @ philcorchary left channel #puppet () | ||
| [2011/10/29 10:08:05] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/10/29 10:13:42] @ ckauhaus joined channel #puppet | ||
| [2011/10/29 10:20:26] @ kelseyhightower joined channel #puppet | ||
| [2011/10/29 10:23:11] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/10/29 10:23:13] @ Quit: phips: Quit: leaving | ||
| [2011/10/29 10:23:53] <jsm> i'm working on changing my puppet setup to be complete fact driven, and i think i want to use the "roles" concept, but I'm having a hard time figuring out how/where I define those roles | ||
| [2011/10/29 10:24:19] <jsm> in a module? in site.pp? | ||
| [2011/10/29 10:24:33] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/10/29 10:25:48] <jsm> i'm also using the idea of a default class, and then some custom facts on the client which determine the role | ||
| [2011/10/29 10:26:35] <Volcane> roles::webserver | ||
| [2011/10/29 10:26:42] @ Quit: abetterlie: Ping timeout: 276 seconds | ||
| [2011/10/29 10:26:43] <Volcane> create a fact role=webserver | ||
| [2011/10/29 10:26:52] <Volcane> include "roles::${role}" | ||
| [2011/10/29 10:27:01] <Volcane> as a simple example | ||
| [2011/10/29 10:27:22] <jsm> kind of like what this guy is doing: http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/ | ||
| [2011/10/29 10:27:53] <Volcane> or use hiera's include functionality and the whole thing can be data driven | ||
| [2011/10/29 10:29:34] @ phips joined channel #puppet | ||
| [2011/10/29 10:29:49] <agaffney> that guy's stuff sounds like it's inspired by whack's approach | ||
| [2011/10/29 10:30:51] <agaffney> I'd love to move to an approach like that, but I've got a *lot* of work ahead of me fixing up 2+ years of "cruft" in the existing puppet setup at work | ||
| [2011/10/29 10:31:05] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/29 10:31:06] <jsm> Volcane: thank you for the information. where on the filesystem should the role definitions exist? | ||
| [2011/10/29 10:31:31] <jsm> agaffney: yeah, i'm doing that work now :( | ||
| [2011/10/29 10:31:32] <Volcane> jsm: if u want to do it with facts u need a fact - if you did it with hiera you could just create data in hiera like a per fqdn data file or osmething like that | ||
| [2011/10/29 10:31:43] <agaffney> jsm: on the master? you'll just want modules/roles/manifests/* | ||
| [2011/10/29 10:31:51] <Volcane> or if u have a naming convention where the role can be derived from the name even easier | ||
| [2011/10/29 10:31:53] <agaffney> on the client, put it whereever you want, since it's being pulled by a custom fact | ||
| [2011/10/29 10:32:22] <jsm> Yeah, i got the client side worked out fact, just getting the server side as well.. | ||
| [2011/10/29 10:32:27] @ erodriguez joined channel #puppet | ||
| [2011/10/29 10:32:50] <agaffney> I'm using a similar approach on the server side | ||
| [2011/10/29 10:32:56] <agaffney> although, I called the module nodetype | ||
| [2011/10/29 10:33:12] <agaffney> I've got a nodetype::generic which does all the base includes and then other nodetype classes inherit from that one | ||
| [2011/10/29 10:33:18] <agaffney> adding additional classes along the way | ||
| [2011/10/29 10:33:29] <agaffney> and once I get all that done, I can start thinking about ENC | ||
| [2011/10/29 10:34:24] @ Quit: toi: Ping timeout: 260 seconds | ||
| [2011/10/29 10:35:51] <jsm> agaffney: so you use parameterized class then to pass information on to the classes you define in your nodetypes/ | ||
| [2011/10/29 10:41:21] <Volcane> doing param classes and role based pattern is pretty hard | ||
| [2011/10/29 10:41:27] <Volcane> esp if those role classes take params | ||
| [2011/10/29 10:41:52] <agaffney> jsm: no, I avoid parameterized classes | ||
| [2011/10/29 10:41:59] <Volcane> but its really easy if you used hiera like an ENC and let it do include, resolve classes lists and provide param values | ||
| [2011/10/29 10:42:15] <agaffney> the classes in the nodetype module already have all the information they need for that particular role/nodetype | ||
| [2011/10/29 10:42:39] <jsm> agaffney: you define parameter values in the class? | ||
| [2011/10/29 10:42:58] <agaffney> I don't use parameters :P | ||
| [2011/10/29 10:43:10] <agaffney> most of my existing modules are specific to our setup, not generalized | ||
| [2011/10/29 10:43:25] <agaffney> so there's little need for parameterized classes | ||
| [2011/10/29 10:43:35] <jsm> Volcane: i'm taking a look at hiera.. just hope it's not too complex for my simple brain. | ||
| [2011/10/29 10:43:44] <agaffney> although, I may start using them for the purposes of making the classes "ensurable" | ||
| [2011/10/29 10:43:57] <Volcane> jsm: did you ever use extlookup? | ||
| [2011/10/29 10:44:32] <jsm> Volcane: nope.. basically our existing setup uses nodes.pp, lots of inherits, and lots of $val=val to define versions, parameters, etc | ||
| [2011/10/29 10:44:39] <Volcane> ok | ||
| [2011/10/29 10:44:42] <jsm> Volcane: no parameterized classes, etc | ||
| [2011/10/29 10:44:46] <agaffney> extlookup is pretty easy | ||
| [2011/10/29 10:44:49] <agaffney> and very useful | ||
| [2011/10/29 10:44:55] @ sumsuch joined channel #puppet | ||
| [2011/10/29 10:45:03] <jsm> I thought extlookup was being deprecated, so i was avoiding it | ||
| [2011/10/29 10:45:03] <Volcane> hiera is just a new extlookup that speaks hashes arrays etc | ||
| [2011/10/29 10:45:18] <agaffney> I use it in my nagios module to designate masters and slaves and modify behavior in different environments (prod vs. dev) | ||
| [2011/10/29 10:45:27] <Volcane> jsm: being deprecated by hiera | ||
| [2011/10/29 10:45:37] <agaffney> jsm: I don't think extlookup will ever be deprecated | ||
| [2011/10/29 10:46:00] <agaffney> hiera is a superset of extlookup's functionality, but extlookup is far simpler | ||
| [2011/10/29 10:46:07] <agaffney> just CSV files in your puppet repo | ||
| [2011/10/29 10:46:38] <Volcane> agaffney: hiera is pretty much a plugin in replacement for extlookup you could literally just alias extlookup to hiera and move on | ||
| [2011/10/29 10:47:06] <agaffney> but doesn't it require an external daemon or something like that? | ||
| [2011/10/29 10:47:11] * agaffney hasn't really looked into hiera | ||
| [2011/10/29 10:47:15] <jsm> yeah, i would like to have hash & array features for some of my values | ||
| [2011/10/29 10:47:35] <Volcane> agaffney: same function paramters, same basic idea, same everything - except since puppet now have hashes CSV files just werent good enough so you'd just extlookup2hiera (included script) your CSV files to JSON | ||
| [2011/10/29 10:49:56] @ tavist0 joined channel #puppet | ||
| [2011/10/29 10:50:25] <jsm> Volcane: do you consider this a good doc to get started with hiera? http://www.devco.net/archives/2011/06/06/puppet_backend_for_hiera.php | ||
| [2011/10/29 10:50:38] <agaffney> since he wrote it, probably ;) | ||
| [2011/10/29 10:50:44] <jsm> oh, heh :) | ||
| [2011/10/29 10:50:44] <Volcane> jsm: yeah though it doesnt cover installation which can be a pain in the arse | ||
| [2011/10/29 10:51:07] <Volcane> jsm: the code is now managed by puppetlabs and it wil merge with puppet soon - just figuring out whats best and so forth | ||
| [2011/10/29 10:54:05] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/10/29 10:55:04] @ toi joined channel #puppet | ||
| [2011/10/29 10:55:21] <countskm> volcane: i like jgrep - thats slick - tx | ||
| [2011/10/29 10:56:20] <jsm> Volcane: gem install hiera ? or is that not the right version? says 0.2.0 | ||
| [2011/10/29 10:56:46] <Volcane> jsm: it is - but for the puppet stuff you need to take the lib/puppet dir in there and pluginsync it like any other plugin cos puppet isnt gem extendible at present | ||
| [2011/10/29 10:56:50] <Volcane> countskm: sweet | ||
| [2011/10/29 10:57:08] <Volcane> countskm: need to make it stream aware soon :) | ||
| [2011/10/29 10:59:49] @ Quit: toi: Ping timeout: 240 seconds | ||
| [2011/10/29 11:00:56] <countskm> yep stdin ... always a pre-req for a decent implementation grep :-) | ||
| [2011/10/29 11:01:09] <countskm> but u are doing fine :-) | ||
| [2011/10/29 11:01:49] <Volcane> nod, streaming will severly limit the format of docs - no pretty formatted docs can be accepted then | ||
| [2011/10/29 11:01:57] <Volcane> only docs thats a doc per line etc | ||
| [2011/10/29 11:02:19] <countskm> right - so thats the contract - give me what context u want on one line and ill increase responsiveness | ||
| [2011/10/29 11:03:27] @ Quit: ukd1: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ | ||
| [2011/10/29 11:03:39] @ netzsportler joined channel #puppet | ||
| [2011/10/29 11:03:42] <countskm> i just recently checked out json - really nice - i am a perl oldtimer and the syntax is very comfortable | ||
| [2011/10/29 11:06:22] @ maxmartin joined channel #puppet | ||
| [2011/10/29 11:07:28] @ Quit: maxmartin: Client Quit | ||
| [2011/10/29 11:12:13] @ toi joined channel #puppet | ||
| [2011/10/29 11:14:06] @ cosman2001 joined channel #puppet | ||
| [2011/10/29 11:17:45] @ Quit: phips: Quit: leaving | ||
| [2011/10/29 11:18:12] @ phips joined channel #puppet | ||
| [2011/10/29 11:22:57] @ Quit: limed: Changing host | ||
| [2011/10/29 11:22:58] @ limed joined channel #puppet | ||
| [2011/10/29 11:23:44] @ nimrod10` joined channel #puppet | ||
| [2011/10/29 11:27:01] @ skm joined channel #puppet | ||
| [2011/10/29 11:27:46] @ pupp3t_n00b joined channel #puppet | ||
| [2011/10/29 11:27:58] @ Quit: pupp3t_n00b: Client Quit | ||
| [2011/10/29 11:27:59] @ Quit: semiosis: Remote host closed the connection | ||
| [2011/10/29 11:28:32] @ Quit: sascha_: Quit: sascha_ | ||
| [2011/10/29 11:29:18] @ Quit: nimrod10`: Quit: Coyote finally caught me | ||
| [2011/10/29 11:34:43] @ gniks1 joined channel #puppet | ||
| [2011/10/29 11:35:38] @ Quit: gniks: Read error: Operation timed out | ||
| [2011/10/29 11:35:39] @ Quit: rsnhyperion: Quit: rsnhyperion | ||
| [2011/10/29 11:36:10] @ xalimar joined channel #puppet | ||
| [2011/10/29 11:38:03] @ RoyK^ joined channel #puppet | ||
| [2011/10/29 11:38:36] @ Quit: RoyK: Read error: Connection reset by peer | ||
| [2011/10/29 11:40:24] @ sascha_ joined channel #puppet | ||
| [2011/10/29 11:44:42] @ Quit: jedi4ever: Ping timeout: 276 seconds | ||
| [2011/10/29 11:56:46] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/29 12:00:00] @ Elwell joined channel #puppet | ||
| [2011/10/29 12:04:04] @ gniks joined channel #puppet | ||
| [2011/10/29 12:07:06] @ Quit: gniks1: Ping timeout: 260 seconds | ||
| [2011/10/29 12:09:01] <jsm> Volcane: this happens to be a very useful guide for hiera as well: http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/ | ||
| [2011/10/29 12:09:17] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/10/29 12:13:01] @ pugnacity joined channel #puppet | ||
| [2011/10/29 12:13:43] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/29 12:15:02] * RoyK^ just watched spaceballs and wonders what Mel Brooks is smoking | ||
| [2011/10/29 12:15:59] @ RoyK^ is now known as RoyK | ||
| [2011/10/29 12:17:52] <countskm> man i wish they would have let a trailing comma in json | ||
| [2011/10/29 12:18:25] <countskm> took me 5 minutes to debug cause im so use to perl data structures lol | ||
| [2011/10/29 12:19:42] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/29 12:20:11] <countskm> anyone know of a json editor that loads the file and lets you run down the tree via cli? at some point basically u probably would be better off w/ the api but just curious | ||
| [2011/10/29 12:24:40] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/10/29 12:29:08] @ jsurfer joined channel #puppet | ||
| [2011/10/29 12:31:23] @ EL84 joined channel #puppet | ||
| [2011/10/29 12:33:28] @ EL84 left channel #puppet () | ||
| [2011/10/29 12:35:55] <ohadlevy> countskm: you can use prettify_json.rb or jgrep | ||
| [2011/10/29 12:40:14] @ kelseyhightower joined channel #puppet | ||
| [2011/10/29 12:40:53] @ ccaum joined channel #puppet | ||
| [2011/10/29 12:41:19] @ gniks1 joined channel #puppet | ||
| [2011/10/29 12:43:22] @ Quit: gniks: Ping timeout: 260 seconds | ||
| [2011/10/29 12:48:28] @ Quit: bipolar: Ping timeout: 258 seconds | ||
| [2011/10/29 12:50:46] <jsm> ok, hmm... not sure how i get the parser function installed onto the puppetmaster | ||
| [2011/10/29 12:51:05] <agaffney> stick it in a module | ||
| [2011/10/29 12:51:16] <agaffney> module/foo/lib/puppet/parser/functions/ or something close to that | ||
| [2011/10/29 12:55:05] <jsm> ah right, cool, thx | ||
| [2011/10/29 12:55:23] <jsm> you're 4 minutes faser than my brain | ||
| [2011/10/29 12:55:27] <jsm> faster | ||
| [2011/10/29 12:56:01] <anrxc> is it normal that builtin fileserver with webrick doesn't scale with only 5 agent nodes? every 5th or 6th pull runs into a connection timeout, or breaks in the middle of a catalogue transfer | ||
| [2011/10/29 12:56:16] <anrxc> i was expecting i could push up to 20 per documentation | ||
| [2011/10/29 12:56:17] @ soh joined channel #puppet | ||
| [2011/10/29 12:56:50] <anrxc> two clusters with no more than 10 agents each cause many reports about failed runs | ||
| [2011/10/29 12:57:09] <agaffney> anrxc: storeconfigs? | ||
| [2011/10/29 12:57:32] <agaffney> by default, dbconnections is set to 5, iirc | ||
| [2011/10/29 12:57:54] <anrxc> aha | ||
| [2011/10/29 12:57:58] <agaffney> also, do you have all the agents checking in at the same time? | ||
| [2011/10/29 12:57:58] <anrxc> agaffney: thansk a lot | ||
| [2011/10/29 12:58:25] <anrxc> agaffney: i use splaytime to avoid harmonics, but i'm sure it happens often as we must pull every 7-10 minutes | ||
| [2011/10/29 12:58:25] <agaffney> because you can support 20 nodes, as long as they're not trampling each other | ||
| [2011/10/29 12:58:47] <agaffney> if not passenger, you should at least switch to mongrel | ||
| [2011/10/29 12:59:00] <agaffney> as it at least allows multiple processes which you can load balance across | ||
| [2011/10/29 12:59:03] <anrxc> yep i planned to but only when these clusters grow past 30 nodes :) | ||
| [2011/10/29 12:59:26] <agaffney> but if you're planning on continuing to grow, you should just look into passenger/unicorn/etc. | ||
| [2011/10/29 12:59:30] @ jedi4ever joined channel #puppet | ||
| [2011/10/29 13:00:10] @ Quit: nimrod10: Quit: Coyote finally caught me | ||
| [2011/10/29 13:01:16] @ sako joined channel #puppet | ||
| [2011/10/29 13:01:28] @ nimrod10 joined channel #puppet | ||
| [2011/10/29 13:02:15] <anrxc> these two clusters have me working on a saturday night, customers should be allowed to restart a specific service on several nodes | ||
| [2011/10/29 13:02:48] <anrxc> everything i read about mcollective sounds like i could pull it off there - somehow limit a customer to running a single agent, like service one to restart a daemon | ||
| [2011/10/29 13:03:22] @ dan__t_ joined channel #puppet | ||
| [2011/10/29 13:03:34] @ mmoya joined channel #puppet | ||
| [2011/10/29 13:05:51] <jsm> Volcane / agaffney : so i put the hiera parser stuff into my module in the proper location.. it gets downloaded by the client.. but the client reports : Unknown function hiera | ||
| [2011/10/29 13:06:21] <jsm> ah, i probably have to restart the master | ||
| [2011/10/29 13:06:49] <jsm> nope, that didn't do the trick | ||
| [2011/10/29 13:07:46] @ Quit: ccaum: Quit: ccaum | ||
| [2011/10/29 13:09:46] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/10/29 13:10:55] <agaffney> jsm: the master is where the hiera() function would be used | ||
| [2011/10/29 13:11:06] <agaffney> the values returned would be compiled into the catalog sent to the client | ||
| [2011/10/29 13:12:06] <jsm> agaffney: then why would have you to put the parser in your module? | ||
| [2011/10/29 13:12:21] <jsm> that makes the client download it | ||
| [2011/10/29 13:14:01] <agaffney> because that's also how the master finds them | ||
| [2011/10/29 13:14:30] <jsm> agaffney: so the master is ignoring it then... odd | ||
| [2011/10/29 13:14:44] <jsm> surely if it gets downloaded by the client, the master should be picking it up as well | ||
| [2011/10/29 13:19:03] @ gniks2 joined channel #puppet | ||
| [2011/10/29 13:20:42] @ Quit: gniks1: Ping timeout: 260 seconds | ||
| [2011/10/29 13:20:46] @ gniks1 joined channel #puppet | ||
| [2011/10/29 13:21:16] <jsm> sigh.. /etc/puppet/environments/cloud/modules/truth/lib/pupet/parser/functions | ||
| [2011/10/29 13:21:28] <jsm> no more working on saturdays | ||
| [2011/10/29 13:23:27] @ Quit: gniks2: Ping timeout: 252 seconds | ||
| [2011/10/29 13:26:00] @ langworthy joined channel #puppet | ||
| [2011/10/29 13:27:00] @ Quit: londo_: Read error: Connection reset by peer | ||
| [2011/10/29 13:27:03] @ rsnhyperion joined channel #puppet | ||
| [2011/10/29 13:29:53] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/10/29 13:31:27] @ londo_ joined channel #puppet | ||
| [2011/10/29 13:31:33] @ pugnacity joined channel #puppet | ||
| [2011/10/29 13:34:02] @ p3rror joined channel #puppet | ||
| [2011/10/29 13:38:18] @ Quit: langworthy: Quit: langworthy | ||
| [2011/10/29 13:40:10] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/10/29 13:47:58] @ Quit: PhilK: Ping timeout: 244 seconds | ||
| [2011/10/29 13:48:05] @ Quit: nevyn: Ping timeout: 252 seconds | ||
| [2011/10/29 13:48:36] @ negronjl joined channel #puppet | ||
| [2011/10/29 13:48:52] @ nevyn joined channel #puppet | ||
| [2011/10/29 13:50:27] @ Quit: gniks1: Quit: Leaving. | ||
| [2011/10/29 13:51:35] <jsm> now trying to get this to work: http://www.devco.net/archives/2011/06/11/puppet_backend_for_hiera_part_2.php :) ... this is way more productive than Xbox :) | ||
| [2011/10/29 13:52:28] <jsm> where should the json files live and what should the hiera.yaml config file look like so it can reference them? | ||
| [2011/10/29 13:54:37] <jsm> the problem being when i run hiera -a classes with the above example, it returns an empty array | ||
| [2011/10/29 13:54:46] @ Quit: neonflux: Read error: Connection reset by peer | ||
| [2011/10/29 13:55:18] <jsm> i have the 3 json files stored in /etc/puppet/hieradata , and that is reference in my hiera.yaml config file | ||
| [2011/10/29 13:55:34] @ gniks joined channel #puppet | ||
| [2011/10/29 13:55:51] @ bipolar joined channel #puppet | ||
| [2011/10/29 13:59:41] @ Quit: MrWGW: Ping timeout: 260 seconds | ||
| [2011/10/29 14:00:19] @ MrWGW joined channel #puppet | ||
| [2011/10/29 14:04:06] @ langworthy joined channel #puppet | ||
| [2011/10/29 14:06:10] @ Quit: RoyK: Quit: bbl - installing more hardware | ||
| [2011/10/29 14:12:50] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/29 14:13:44] @ sumsuch joined channel #puppet | ||
| [2011/10/29 14:16:04] @ Quit: sumsuch: Client Quit | ||
| [2011/10/29 14:16:30] @ Quit: langworthy: Quit: langworthy | ||
| [2011/10/29 14:16:32] @ RoyK joined channel #puppet | ||
| [2011/10/29 14:16:49] @ sumsuch joined channel #puppet | ||
| [2011/10/29 14:17:55] @ Quit: sumsuch: Client Quit | ||
| [2011/10/29 14:21:52] @ sumsuch joined channel #puppet | ||
| [2011/10/29 14:21:55] @ nul0op joined channel #puppet | ||
| [2011/10/29 14:22:39] @ Quit: sumsuch: Client Quit | ||
| [2011/10/29 14:25:18] @ sumsuch joined channel #puppet | ||
| [2011/10/29 14:30:38] @ neonflux joined channel #puppet | ||
| [2011/10/29 14:35:44] @ Quit: negronjl: Quit: Bye | ||
| [2011/10/29 14:37:00] @ Quit: netzsportler: Quit: leaving | ||
| [2011/10/29 14:42:32] @ Quit: d3c: Quit: Lost terminal | ||
| [2011/10/29 14:52:02] @ bencc left channel #puppet () | ||
| [2011/10/29 14:52:58] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/29 14:57:09] @ skm joined channel #puppet | ||
| [2011/10/29 14:59:42] @ Quit: rsnhyperion: Ping timeout: 276 seconds | ||
| [2011/10/29 15:00:19] @ ghaskins_ joined channel #puppet | ||
| [2011/10/29 15:00:37] @ walterheck_ joined channel #puppet | ||
| [2011/10/29 15:02:49] @ langworthy joined channel #puppet | ||
| [2011/10/29 15:03:24] @ Quit: ghaskins: Ping timeout: 258 seconds | ||
| [2011/10/29 15:03:49] @ Quit: walterheck: Ping timeout: 260 seconds | ||
| [2011/10/29 15:03:51] @ kelseyhightower joined channel #puppet | ||
| [2011/10/29 15:07:12] @ Quit: rocket: Read error: Connection reset by peer | ||
| [2011/10/29 15:11:19] @ rocket joined channel #puppet | ||
| [2011/10/29 15:33:44] @ zwi joined channel #puppet | ||
| [2011/10/29 15:34:12] @ rgsteele joined channel #puppet | ||
| [2011/10/29 15:36:23] @ bmahe joined channel #puppet | ||
| [2011/10/29 15:36:24] @ Quit: bmahe: Changing host | ||
| [2011/10/29 15:36:24] @ bmahe joined channel #puppet | ||
| [2011/10/29 15:49:59] @ scsinutz joined channel #puppet | ||
| [2011/10/29 15:50:23] @ scsinutz left channel #puppet () | ||
| [2011/10/29 15:51:03] @ Quit: londo_: Ping timeout: 276 seconds | ||
| [2011/10/29 15:51:08] @ londo_ joined channel #puppet | ||
| [2011/10/29 15:54:46] <rgsteele> So, I guess Puppet hashes aren't valid Ruby hashes? http://pastie.org/2780381 | ||
| [2011/10/29 15:55:29] <rgsteele> Or is there something wrong with my function that would cause it only to work with the colon notation for hash keys? | ||
| [2011/10/29 15:58:41] @ sumsuch joined channel #puppet | ||
| [2011/10/29 16:01:16] @ Quit: londo_: Ping timeout: 244 seconds | ||
| [2011/10/29 16:03:49] @ Bass10 joined channel #puppet | ||
| [2011/10/29 16:05:18] @ Quit: Bass10: Max SendQ exceeded | ||
| [2011/10/29 16:07:34] @ londo_ joined channel #puppet | ||
| [2011/10/29 16:10:23] @ Quit: Sil4nc4_: Ping timeout: 256 seconds | ||
| [2011/10/29 16:10:31] @ Sil4nc4 joined channel #puppet | ||
| [2011/10/29 16:14:11] @ Quit: londo_: Ping timeout: 244 seconds | ||
| [2011/10/29 16:15:20] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/29 16:16:37] @ Quit: Sil4nc4: Ping timeout: 256 seconds | ||
| [2011/10/29 16:16:59] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/10/29 16:17:09] @ ezmobius joined channel #puppet | ||
| [2011/10/29 16:23:23] @ Sil4nc4 joined channel #puppet | ||
| [2011/10/29 16:23:30] @ sumsuch joined channel #puppet | ||
| [2011/10/29 16:25:15] @ the_ramink joined channel #puppet | ||
| [2011/10/29 16:26:00] @ Quit: aanderson: Ping timeout: 258 seconds | ||
| [2011/10/29 16:26:58] @ tilgovi joined channel #puppet | ||
| [2011/10/29 16:26:58] @ Quit: tilgovi: Changing host | ||
| [2011/10/29 16:26:59] @ tilgovi joined channel #puppet | ||
| [2011/10/29 16:30:47] @ Quit: gniks: Quit: Leaving. | ||
| [2011/10/29 16:31:26] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/29 16:32:45] @ londo_ joined channel #puppet | ||
| [2011/10/29 16:32:47] @ sumsuch joined channel #puppet | ||
| [2011/10/29 16:34:41] @ Quit: sumsuch: Client Quit | ||
| [2011/10/29 16:36:52] @ Anon516 joined channel #puppet | ||
| [2011/10/29 16:38:16] @ Quit: sako: Ping timeout: 258 seconds | ||
| [2011/10/29 16:39:06] @ aanderson joined channel #puppet | ||
| [2011/10/29 16:41:05] @ Quit: Anon516: Ping timeout: 252 seconds | ||
| [2011/10/29 16:42:13] @ dragossigata joined channel #puppet | ||
| [2011/10/29 16:48:17] @ Quit: dragossigata: | ||
| [2011/10/29 16:48:35] @ rcrowley joined channel #puppet | ||
| [2011/10/29 16:48:36] @ dragossigata joined channel #puppet | ||
| [2011/10/29 16:49:47] @ dragossigata left channel #puppet () | ||
| [2011/10/29 16:55:34] @ Guest55050 joined channel #puppet | ||
| [2011/10/29 16:57:26] @ maxmartin joined channel #puppet | ||
| [2011/10/29 16:57:45] @ Guest55050 left channel #puppet () | ||
| [2011/10/29 17:03:31] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/29 17:03:33] @ Quit: jodok: Quit: jodok | ||
| [2011/10/29 17:19:11] @ soh joined channel #puppet | ||
| [2011/10/29 17:25:58] @ blentz joined channel #puppet | ||
| [2011/10/29 17:27:01] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/29 17:28:02] @ cosman2001 joined channel #puppet | ||
| [2011/10/29 17:32:16] @ Quit: mmoya: Ping timeout: 248 seconds | ||
| [2011/10/29 17:38:18] @ Quit: londo_: Read error: Connection reset by peer | ||
| [2011/10/29 17:38:44] @ londo_ joined channel #puppet | ||
| [2011/10/29 17:39:06] @ Quit: neonflux: Read error: Connection reset by peer | ||
| [2011/10/29 17:39:07] @ Quit: ghaskins_: Ping timeout: 252 seconds | ||
| [2011/10/29 17:46:50] @ lak joined channel #puppet | ||
| [2011/10/29 17:46:51] @ Quit: lak: Changing host | ||
| [2011/10/29 17:46:51] @ lak joined channel #puppet | ||
| [2011/10/29 17:48:00] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/10/29 17:49:34] @ Quit: toi: Ping timeout: 258 seconds | ||
| [2011/10/29 17:51:03] @ Quit: lak: Client Quit | ||
| [2011/10/29 17:51:35] @ Quit: langworthy: Quit: langworthy | ||
| [2011/10/29 17:54:56] @ kelseyhightower joined channel #puppet | ||
| [2011/10/29 17:55:16] @ Quit: kelseyhightower: Client Quit | ||
| [2011/10/29 18:09:54] @ neonflux joined channel #puppet | ||
| [2011/10/29 18:18:11] @ Quit: londo_: Ping timeout: 244 seconds | ||
| [2011/10/29 18:18:37] @ choonming joined channel #puppet | ||
| [2011/10/29 18:19:40] @ Quit: |Majestic|: Ping timeout: 258 seconds | ||
| [2011/10/29 18:22:00] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/10/29 18:22:17] @ soh joined channel #puppet | ||
| [2011/10/29 18:26:36] @ gmi82 joined channel #puppet | ||
| [2011/10/29 18:30:48] @ Quit: Scott-Mc: Ping timeout: 240 seconds | ||
| [2011/10/29 18:32:37] @ Quit: soh: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/10/29 18:33:07] @ Kazuhiro joined channel #puppet | ||
| [2011/10/29 18:33:23] @ skm joined channel #puppet | ||
| [2011/10/29 18:34:35] @ gmi83 joined channel #puppet | ||
| [2011/10/29 18:34:36] <jsm> i couldn't figure out how to get hiera to use json, so i'm just sticking with yaml for now | ||
| [2011/10/29 18:35:04] <jsm> (i did specify the json backen in the hiera config) | ||
| [2011/10/29 18:36:26] @ Quit: maxmartin: Remote host closed the connection | ||
| [2011/10/29 18:37:57] <gmi83> How can I regenerate the cert for the puppet client which is on the master node itself? I'm using puppet enterprise 1.2.4. Instruction says remove the whole /etc/puppetlabs/puppet/ssl and re-request. But this node contains puppet, puppet master, dashboard and I'm not sure doing that will also corrupt the master certificate as well. | ||
| [2011/10/29 18:40:14] <gmi83> If I just do puppet cert clean 'client_name' - the client will request for new cert again. I then sign (from the same node as it is also the master). Then try the client again, and it still say certificate verify failed | ||
| [2011/10/29 18:43:32] @ Scott-Mc joined channel #puppet | ||
| [2011/10/29 18:45:00] @ |Majestic| joined channel #puppet | ||
| [2011/10/29 18:47:16] @ sumsuch joined channel #puppet | ||
| [2011/10/29 18:49:28] @ Quit: sumsuch: Client Quit | ||
| [2011/10/29 18:54:52] @ Quit: tavist0: Remote host closed the connection | ||
| [2011/10/29 18:55:10] @ Quit: jamison: Excess Flood | ||
| [2011/10/29 18:55:26] @ Quit: gmi82: Quit: Page closed | ||
| [2011/10/29 18:55:54] @ jamison joined channel #puppet | ||
| [2011/10/29 19:09:30] @ Quit: |Majestic|: Ping timeout: 258 seconds | ||
| [2011/10/29 19:10:38] @ joshcooper joined channel #puppet | ||
| [2011/10/29 19:21:39] @ Quit: bje: Ping timeout: 276 seconds | ||
| [2011/10/29 19:22:08] @ Quit: neonflux: Ping timeout: 260 seconds | ||
| [2011/10/29 19:22:39] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/10/29 19:23:52] @ neonflux joined channel #puppet | ||
| [2011/10/29 19:25:07] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/29 19:28:59] @ Quit: ke4qqq: Ping timeout: 260 seconds | ||
| [2011/10/29 19:30:31] @ Quit: tilgovi: Ping timeout: 244 seconds | ||
| [2011/10/29 19:35:12] @ Quit: neonflux: Read error: Connection reset by peer | ||
| [2011/10/29 19:35:36] @ EspadaV8_away is now known as EspadaV8 | ||
| [2011/10/29 19:36:06] @ ke4qqq joined channel #puppet | ||
| [2011/10/29 19:39:18] @ hal-j1 joined channel #puppet | ||
| [2011/10/29 19:39:39] @ Quit: hal-j: Ping timeout: 252 seconds | ||
| [2011/10/29 19:42:32] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/10/29 19:42:44] @ tilgovi joined channel #puppet | ||
| [2011/10/29 19:42:45] @ Quit: tilgovi: Changing host | ||
| [2011/10/29 19:42:45] @ tilgovi joined channel #puppet | ||
| [2011/10/29 19:42:53] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/10/29 19:44:01] @ skm joined channel #puppet | ||
| [2011/10/29 19:45:14] @ Quit: zwi: Quit: Leaving. | ||
| [2011/10/29 19:47:07] @ neonflux joined channel #puppet | ||
| [2011/10/29 19:52:35] @ Quit: dan__t_: Read error: Operation timed out | ||
| [2011/10/29 20:01:52] @ bje joined channel #puppet | ||
| [2011/10/29 20:16:50] @ kenperkins joined channel #puppet | ||
| [2011/10/29 20:18:51] @ Quit: zul: Ping timeout: 276 seconds | ||
| [2011/10/29 20:19:24] @ Quit: kenperkins: Client Quit | ||
| [2011/10/29 20:19:26] @ zul joined channel #puppet | ||
| [2011/10/29 20:22:32] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2011/10/29 20:24:16] @ gmi83 left channel #puppet () | ||
| [2011/10/29 20:24:41] @ gmi83 joined channel #puppet | ||
| [2011/10/29 20:28:29] @ frostynova joined channel #puppet | ||
| [2011/10/29 20:33:14] @ KaiserBeto1 joined channel #puppet | ||
| [2011/10/29 20:33:22] @ KaiserBeto1 left channel #puppet () | ||
| [2011/10/29 20:34:21] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/10/29 20:34:52] @ cosman2001 joined channel #puppet | ||
| [2011/10/29 20:46:33] @ AndrewHendry joined channel #puppet | ||
| [2011/10/29 20:49:52] <AndrewHendry> Hi! I work in an environment where systems are created and deleted fairly often. Im looking for a better way to keep puppet certificates up to date. For all the certificates on a puppet master I would like to see if they resolve, exist in ldap, ping, are listening on puppet port, and have facts/reports. It should be easy enough to script, but I wanted to see if its already done in any way? | ||
| [2011/10/29 20:55:24] @ gmi83 left channel #puppet () | ||
| [2011/10/29 20:56:17] @ Quit: jovy: Ping timeout: 252 seconds | ||
| [2011/10/29 20:57:15] @ Quit: tessier: Ping timeout: 255 seconds | ||
| [2011/10/29 20:58:22] <eric0> AndrewHendry: you could try this approach https://gist.github.com/1182243 | ||
| [2011/10/29 21:00:46] <AndrewHendry> eric0: thanks reading the details now | ||
| [2011/10/29 21:14:02] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/29 21:14:16] @ Quit: blushade: Ping timeout: 258 seconds | ||
| [2011/10/29 21:22:05] @ EspadaV8 is now known as EspadaV8_away | ||
| [2011/10/29 21:24:42] @ dyba joined channel #puppet | ||
| [2011/10/29 21:25:43] @ jaminja joined channel #puppet | ||
| [2011/10/29 21:26:18] <jsm> i'm having problems with my template finding the variable i pass via a parameterized class... it's evaluated by the class, as i can see it in notice(), but the template keeps telling me it can't be found | ||
| [2011/10/29 21:27:04] @ EspadaV8_away is now known as EspadaV8 | ||
| [2011/10/29 21:27:37] @ ccaum joined channel #puppet | ||
| [2011/10/29 21:28:15] @ ccaum left channel #puppet () | ||
| [2011/10/29 21:28:53] @ cosman2001 joined channel #puppet | ||
| [2011/10/29 21:30:22] @ dwalu joined channel #puppet | ||
| [2011/10/29 21:31:11] <dwalu> if I have a variable named $mode, passed into a parameterized class will that cause confusion when trying to use that variable for a conditional in a template, when file also has an attribute named mode? I'm wondering if this will cause some sort of a dumb namespace conflict? | ||
| [2011/10/29 21:31:46] <jsm> dwalu: i'm sort of having the same problem as you | ||
| [2011/10/29 21:31:46] <AndrewHendry> jsm: is your template using it something like this? ENV=<%= env %> or more complex? | ||
| [2011/10/29 21:31:48] <dwalu> (dumb on my part, that is) | ||
| [2011/10/29 21:32:06] @ KaiserBeto1 joined channel #puppet | ||
| [2011/10/29 21:32:26] <dwalu> jsm: it's nice to know that I'm in good company! | ||
| [2011/10/29 21:32:48] @ Quit: blentz: Ping timeout: 240 seconds | ||
| [2011/10/29 21:32:48] <jsm> AndrewHendry: <% if pg_tx_logs == "True" %> | ||
| [2011/10/29 21:33:12] <jsm> AndrewHendry: pg_tx_logs is a parameter to the class | ||
| [2011/10/29 21:33:27] @ Quit: jaminja: Ping timeout: 260 seconds | ||
| [2011/10/29 21:33:36] <jsm> and i can see it's evaluated with notice($pg_tx_logs) | ||
| [2011/10/29 21:33:48] <jsm> so I don't think it's out of scope | ||
| [2011/10/29 21:33:56] <AndrewHendry> jsm: and in the class are you using a string as a boolean like that also? | ||
| [2011/10/29 21:34:26] <jsm> AndrewHendry: yeah, that's just legacy stuff i need to fix, but yeah | ||
| [2011/10/29 21:34:52] <jsm> the client error is: "Could not find value for 'pg_tx_logs'" | ||
| [2011/10/29 21:36:34] <AndrewHendry> jsm: not sure, i have lots like this which are working well enough export CLASS_ARGS=<% if class_args %><%= class_args %><% end %> | ||
| [2011/10/29 21:37:10] <jsm> i just don't get how it can not find the value if the class knows what it is.. makes no sense | ||
| [2011/10/29 21:37:13] <jsm> seems buggy | ||
| [2011/10/29 21:37:57] <dwalu> with an erb template, ruby shouldn't do anything outside of a <% right? | ||
| [2011/10/29 21:38:03] <AndrewHendry> jsm: and your file using the template is in the exact same class as your notify? | ||
| [2011/10/29 21:38:42] <dwalu> I'm running into a weir issue where the first line of my erb template begins with the word description, and when puppet processes it, iit barfs with Coud not understand source description | ||
| [2011/10/29 21:39:35] @ Quit: neonflux: Read error: Connection reset by peer | ||
| [2011/10/29 21:39:47] <jsm> AndrewHendry: yes... I had to do this to make it work.. which just seems wrong: <% if scope.lookupvar('postgres::server::pg_tx_logs') == "True" %> | ||
| [2011/10/29 21:40:04] @ skoom joined channel #puppet | ||
| [2011/10/29 21:40:19] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/10/29 21:40:39] <AndrewHendry> jsm: have had to do that once before also but cant remember how i fixed it sorry | ||
| [2011/10/29 21:40:52] @ skoom is now known as skm | ||
| [2011/10/29 21:41:00] <jsm> AndrewHendry: no worries | ||
| [2011/10/29 21:41:09] <jsm> AndrewHendry: thanks for the help though! | ||
| [2011/10/29 21:41:17] @ Quit: skm: Client Quit | ||
| [2011/10/29 21:41:55] <jsm> AndrewHendry: i've been working all day getting my puppet stuff ported over to parameterized classes and using hiera.. it's been fun, and a learning experience | ||
| [2011/10/29 21:42:15] <jsm> dwalu: fpast.org your template | ||
| [2011/10/29 21:42:20] <jsm> sorry, fpaste.org | ||
| [2011/10/29 21:42:54] <AndrewHendry> jsm: Yep we also went through a big cleanup to parameterized classes a few months back, much cleaner | ||
| [2011/10/29 21:43:00] <dwalu> jsm: https://gist.github.com/1325501 | ||
| [2011/10/29 21:43:19] @ PhilK joined channel #puppet | ||
| [2011/10/29 21:43:36] <dwalu> nevermind | ||
| [2011/10/29 21:43:37] <dwalu> I'm on crack | ||
| [2011/10/29 21:43:45] <dwalu> I'm using source where I should be using content in my class | ||
| [2011/10/29 21:43:49] <dwalu> or rather in my file resource | ||
| [2011/10/29 21:44:02] <jsm> ah :) | ||
| [2011/10/29 21:44:37] <AndrewHendry> dwalu: puppet for node! i just did the same thing recently. can't you pass production/development in as NODE_ENV? | ||
| [2011/10/29 21:45:04] <dwalu> I just inherited this repo and am rewriting everything up to pass puppet-lint & replacing all of the source lines with templates to try and make this a bit more scaleable | ||
| [2011/10/29 21:45:31] <dwalu> andrewhendry: maybe, I don't actually know anything about node .. first job is to clean up the repo, second is to learn how all of our parts work | ||
| [2011/10/29 21:45:34] @ scaner joined channel #puppet | ||
| [2011/10/29 21:45:57] <AndrewHendry> export NODE_ENV=<%= node_env %> then you can drop your case, if its the same setup i was working on | ||
| [2011/10/29 21:47:09] @ dyba left channel #puppet ("WeeChat 0.3.5") | ||
| [2011/10/29 21:47:59] <dwalu> I'll play around in staging and see | ||
| [2011/10/29 21:48:34] @ neonflux joined channel #puppet | ||
| [2011/10/29 21:48:59] <dwalu> man I hope nobody is paying attention to my commit logs tonight | ||
| [2011/10/29 21:51:27] @ claussen joined channel #puppet | ||
| [2011/10/29 21:56:53] @ Quit: AndrewHendry: Quit: Page closed | ||
| [2011/10/29 21:57:30] @ EspadaV8 is now known as EspadaV8_away | ||
| [2011/10/29 22:05:11] <dwalu> is anyone using puppetlabs' firewall module? | ||
| [2011/10/29 22:06:20] @ Quit: axisys: Quit: leaving | ||
| [2011/10/29 22:06:51] <dwalu> I'm trying to figure out if it's expected behavior to flush & restart the iptables chains every time puppet runs | ||
| [2011/10/29 22:17:02] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/29 22:18:14] @ Quit: Chillax: Changing host | ||
| [2011/10/29 22:18:14] @ Chillax joined channel #puppet | ||
| [2011/10/29 22:22:00] @ Quit: scaner: Quit: Leaving | ||
| [2011/10/29 22:23:28] @ Quit: bje: Ping timeout: 260 seconds | ||
| [2011/10/29 22:23:43] @ bje joined channel #puppet | ||
| [2011/10/29 22:47:03] @ Quit: devdas: Ping timeout: 276 seconds | ||
| [2011/10/29 22:49:06] @ Holocaine joined channel #puppet | ||
| [2011/10/29 22:55:07] @ Quit: fenrus02: Quit: Leaving | ||
| [2011/10/29 22:55:56] @ fenrus02 joined channel #puppet | ||
| [2011/10/29 22:56:22] @ tessier joined channel #puppet | ||
| [2011/10/29 23:05:18] @ sumsuch joined channel #puppet | ||
| [2011/10/29 23:09:25] @ gniks joined channel #puppet | ||
| [2011/10/29 23:20:01] @ Quit: swygue: Ping timeout: 252 seconds | ||
| [2011/10/29 23:26:57] @ skm joined channel #puppet | ||
| [2011/10/29 23:27:17] @ Quit: dwalu: Quit: dwalu | ||
| [2011/10/29 23:29:04] @ devdas joined channel #puppet | ||
| [2011/10/29 23:31:09] @ DJClean joined channel #puppet | ||
| [2011/10/29 23:31:24] @ Quit: Holocaine: | ||
| [2011/10/29 23:34:22] @ EspadaV8_away is now known as EspadaV8 | ||
| [2011/10/29 23:44:16] @ Quit: gniks: Quit: Leaving. | ||
| [2011/10/29 23:44:53] @ gniks joined channel #puppet | ||
| [2011/10/29 23:45:21] @ Quit: iFire: Ping timeout: 260 seconds | ||
| [2011/10/29 23:45:35] @ iFire joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!