| [2010/02/13 00:02:09] @ Log started by gepetto | ||
| [2010/02/13 00:02:09] @ ccaum joined channel #puppet | ||
| [2010/02/13 00:03:33] @ Quit: brothers: Quit: brothers | ||
| [2010/02/13 00:03:51] @ Quit: jcape: Ping timeout: 258 seconds | ||
| [2010/02/13 00:19:40] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2010/02/13 00:22:52] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 00:25:09] @ giskard joined channel #puppet | ||
| [2010/02/13 00:30:50] @ Quit: bug: Quit: bug | ||
| [2010/02/13 00:38:05] @ bug joined channel #puppet | ||
| [2010/02/13 00:39:32] @ ccaum left channel #puppet () | ||
| [2010/02/13 00:39:39] @ mqr joined channel #puppet | ||
| [2010/02/13 00:49:17] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 00:57:34] @ noradafic joined channel #puppet | ||
| [2010/02/13 01:07:39] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 01:10:07] @ giskard joined channel #puppet | ||
| [2010/02/13 01:15:59] @ choc joined channel #puppet | ||
| [2010/02/13 01:17:49] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/13 01:18:11] @ \ask joined channel #puppet | ||
| [2010/02/13 01:20:26] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 01:23:12] @ Quit: nakano: Read error: Operation timed out | ||
| [2010/02/13 01:24:58] @ Quit: giskard: Read error: Operation timed out | ||
| [2010/02/13 01:25:58] @ giskard joined channel #puppet | ||
| [2010/02/13 01:27:01] @ nakano_ joined channel #puppet | ||
| [2010/02/13 01:27:37] @ tuf joined channel #puppet | ||
| [2010/02/13 01:29:19] @ Quit: bug: Quit: bug | ||
| [2010/02/13 01:38:29] @ _choc joined channel #puppet | ||
| [2010/02/13 01:43:40] @ Quit: _choc: Ping timeout: 256 seconds | ||
| [2010/02/13 01:44:35] @ choc joined channel #puppet | ||
| [2010/02/13 01:46:10] @ Quit: choc: Max SendQ exceeded | ||
| [2010/02/13 01:46:30] @ choc joined channel #puppet | ||
| [2010/02/13 01:50:44] @ Quit: \ask: Remote host closed the connection | ||
| [2010/02/13 01:57:24] @ Quit: jY: Read error: Connection reset by peer | ||
| [2010/02/13 02:03:43] <noradafic> anyone here try it out enough to start believing in it and rolling it into production...only to then back out because there was some better tool or a bad feature you didn't like? | ||
| [2010/02/13 02:03:51] <noradafic> er it (puppet) | ||
| [2010/02/13 02:06:04] @ Quit: tuf: Quit: tuf | ||
| [2010/02/13 02:12:08] <Boney> noradafic: nope. Puppet is the best that exists. | ||
| [2010/02/13 02:12:23] <Boney> that doesn't mean that it's either perfect or wonderful. | ||
| [2010/02/13 02:18:15] @ gaveen joined channel #puppet | ||
| [2010/02/13 02:29:51] <noradafic> for the Module Collections i see, is there any one collection that is so popular or widely used that it's a defacto standard? | ||
| [2010/02/13 02:30:17] <noradafic> http://reductivelabs.com/trac/puppet/wiki/PuppetModules | ||
| [2010/02/13 02:34:29] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 02:37:03] @ giskard joined channel #puppet | ||
| [2010/02/13 02:52:14] @ Quit: Bass10: Ping timeout: 246 seconds | ||
| [2010/02/13 03:00:20] @ Quit: jfreeman: Read error: Connection reset by peer | ||
| [2010/02/13 03:05:58] @ alfism joined channel #puppet | ||
| [2010/02/13 03:10:13] @ m1nish joined channel #puppet | ||
| [2010/02/13 03:31:33] @ rgoes joined channel #puppet | ||
| [2010/02/13 03:38:45] @ rcrowley joined channel #puppet | ||
| [2010/02/13 03:39:21] @ Quit: rcrowley: Client Quit | ||
| [2010/02/13 03:40:13] @ Quit: gaveen: Ping timeout: 260 seconds | ||
| [2010/02/13 03:42:32] @ tyll joined channel #puppet | ||
| [2010/02/13 03:43:52] @ nexx joined channel #puppet | ||
| [2010/02/13 03:44:18] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 03:46:26] @ giskard joined channel #puppet | ||
| [2010/02/13 03:47:39] @ Quit: alfism: Quit: http://opensolaris.com/ | ||
| [2010/02/13 03:51:10] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 03:52:56] @ choc joined channel #puppet | ||
| [2010/02/13 03:54:28] @ gaveen joined channel #puppet | ||
| [2010/02/13 04:04:40] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/02/13 04:05:33] @ Quit: gaveen: Ping timeout: 265 seconds | ||
| [2010/02/13 04:08:01] @ Quit: rgoes: Quit: Leaving | ||
| [2010/02/13 04:09:25] @ tim|imac joined channel #puppet | ||
| [2010/02/13 04:10:24] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 04:11:01] @ giskard joined channel #puppet | ||
| [2010/02/13 04:11:13] @ Quit: tim|imac: Client Quit | ||
| [2010/02/13 04:13:08] @ mvn071 joined channel #puppet | ||
| [2010/02/13 04:14:05] @ mattwynne joined channel #puppet | ||
| [2010/02/13 04:20:15] @ gaveen joined channel #puppet | ||
| [2010/02/13 04:29:54] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 04:30:53] @ mattwynne joined channel #puppet | ||
| [2010/02/13 04:43:27] @ Quit: mvn071: Quit: Leaving | ||
| [2010/02/13 04:45:11] @ Quit: f3ew: Ping timeout: 265 seconds | ||
| [2010/02/13 04:47:37] @ f3ew joined channel #puppet | ||
| [2010/02/13 04:48:23] @ mvn071 joined channel #puppet | ||
| [2010/02/13 04:51:19] @ gebi joined channel #puppet | ||
| [2010/02/13 04:52:29] @ ckauhaus joined channel #puppet | ||
| [2010/02/13 05:00:12] @ Chiku joined channel #puppet | ||
| [2010/02/13 05:06:08] @ bolen joined channel #puppet | ||
| [2010/02/13 05:06:53] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 05:07:20] @ Quit: bolen: Quit: bolen | ||
| [2010/02/13 05:07:57] @ giskard joined channel #puppet | ||
| [2010/02/13 05:20:48] @ Quit: giskard: Read error: Operation timed out | ||
| [2010/02/13 05:21:36] @ giskard joined channel #puppet | ||
| [2010/02/13 05:27:22] @ Quit: mikepea_: Quit: mikepea_ | ||
| [2010/02/13 05:27:40] @ jfreeman joined channel #puppet | ||
| [2010/02/13 05:29:16] @ ShiNboi joined channel #puppet | ||
| [2010/02/13 05:31:05] @ Quit: mvn071: Remote host closed the connection | ||
| [2010/02/13 05:31:10] @ \ask joined channel #puppet | ||
| [2010/02/13 05:34:02] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 05:46:17] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 05:48:15] @ giskard joined channel #puppet | ||
| [2010/02/13 06:13:21] @ Rix joined channel #puppet | ||
| [2010/02/13 06:14:18] @ hy is now known as _hy | ||
| [2010/02/13 06:16:08] @ _hy is now known as hy | ||
| [2010/02/13 06:19:52] @ Quit: jfreeman: Remote host closed the connection | ||
| [2010/02/13 06:26:33] @ Quit: mikepea: Quit: mikepea | ||
| [2010/02/13 06:28:53] @ Quit: Welsh_Dwarf: Ping timeout: 246 seconds | ||
| [2010/02/13 06:30:00] @ bug joined channel #puppet | ||
| [2010/02/13 06:31:31] @ Quit: docelic_: Ping timeout: 265 seconds | ||
| [2010/02/13 06:34:29] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 06:34:56] @ bolen joined channel #puppet | ||
| [2010/02/13 06:35:13] @ giskard joined channel #puppet | ||
| [2010/02/13 06:35:50] @ Quit: tjoe: Quit: leaving | ||
| [2010/02/13 06:42:17] @ Quit: m1nish: Quit: Leaving | ||
| [2010/02/13 06:43:38] @ RedPepper joined channel #puppet | ||
| [2010/02/13 06:43:57] @ Spruit_elf joined channel #puppet | ||
| [2010/02/13 06:44:42] <Spruit_elf> Can someone explain why adding requirements is only possible from a subclass? And how to work around it.. | ||
| [2010/02/13 06:45:08] <Spruit_elf> I'm really lost how to make my config solid without it | ||
| [2010/02/13 06:46:18] @ docelic_ joined channel #puppet | ||
| [2010/02/13 06:46:43] <monachus> Spruit_elf: what do you mean by "adding requirements?" | ||
| [2010/02/13 06:47:25] <Spruit_elf> monachus: http://pastebin.com/m32168f60 | ||
| [2010/02/13 06:47:32] <Spruit_elf> something like that | ||
| [2010/02/13 06:48:10] <monachus> interesting. you don't _have_ to do it that way. | ||
| [2010/02/13 06:48:18] <monachus> in fact, that looks super-complicated. | ||
| [2010/02/13 06:48:21] <Volcane> Spruit_elf: so whats wrong with inheriting? | ||
| [2010/02/13 06:48:50] <monachus> require => can be put anywhere. | ||
| [2010/02/13 06:48:52] <Spruit_elf> you cannot give arguments to classes | ||
| [2010/02/13 06:49:02] <monachus> you can give arguments to defines | ||
| [2010/02/13 06:49:12] <monachus> and with inheriting you can set variables in subclass before calling the define | ||
| [2010/02/13 06:49:13] <Spruit_elf> thats why database is a define | ||
| [2010/02/13 06:49:19] <monachus> that can override defaults in parent class | ||
| [2010/02/13 06:49:38] @ Quit: bolen: Remote host closed the connection | ||
| [2010/02/13 06:49:45] <Spruit_elf> btw the database define is the only thing i reference to in my node definition | ||
| [2010/02/13 06:51:40] <Spruit_elf> monachus: but that way it is not always clear where a variable is set and it certainly doesnt warn you is you missed an important value | ||
| [2010/02/13 06:51:56] <Spruit_elf> also i think using define is more like using native types | ||
| [2010/02/13 06:52:38] <Volcane> you can do before => Service["openldap"] on the file | ||
| [2010/02/13 06:52:43] <Volcane> and that will also create the relationship | ||
| [2010/02/13 06:52:44] <Spruit_elf> it would be weird if you had to create al your users by subclassing a user class | ||
| [2010/02/13 06:52:49] <monachus> i suppose it depends on your config structure. i always set sensible defaults in global::foo and override if necessary in subclass::foo, unless the variable should be required, in which case it's in the define block with no default | ||
| [2010/02/13 06:53:55] @ Quit: benlovell: Quit: benlovell | ||
| [2010/02/13 06:53:56] <Spruit_elf> Volcane: hmmm never thought of that, thanks i think that should work | ||
| [2010/02/13 06:54:22] <Spruit_elf> monachus: yeah i suppose, i suspect my reasons for using puppet differ a bit from most users | ||
| [2010/02/13 06:54:24] <Volcane> or just notify => Service["openldap"] that does it too - but that wont stop the service from starting if the file fails | ||
| [2010/02/13 06:54:27] <Volcane> before will | ||
| [2010/02/13 06:54:39] @ tim|imac joined channel #puppet | ||
| [2010/02/13 06:57:18] <Spruit_elf> I use puppet mainly because i dont want to be te only one to know which files to change and add when deploying our server. But since we only use 2 server which differ vastly in setup my config is probably very different than most. | ||
| [2010/02/13 06:57:47] <Volcane> most of my servers differ from each other | ||
| [2010/02/13 06:57:51] <Volcane> its not uncommon | ||
| [2010/02/13 06:58:32] <monachus> Spruit_elf: what about something like http://pastebin.com/md3dea36 | ||
| [2010/02/13 07:01:30] @ ohadlevy joined channel #puppet | ||
| [2010/02/13 07:02:16] @ toi joined channel #puppet | ||
| [2010/02/13 07:03:21] <Spruit_elf> monachus: the example showed was very simple, in my config the define has a lot more arguments and they will change with every database. further i like to seperate the site specific config from the general classes, so i only want specific paths,names etc in my modules if the are always relevant for that module. So the database define is similar to a vhost define, i dont want to specify a hostname in my modules since it may change and i dont want | ||
| [2010/02/13 07:03:21] <Spruit_elf> change the modules in that case | ||
| [2010/02/13 07:04:18] <monachus> if your requirements for granularity and data separation make it so you can't write a logical config structure, then maybe your requirements are too strict? | ||
| [2010/02/13 07:04:33] <monachus> in my experience puppet works best with dynamic flexibility | ||
| [2010/02/13 07:04:45] <monachus> but it's all according to what you need, i suppose. | ||
| [2010/02/13 07:07:26] <ohadlevy> monachus: cant you use extlookup or external nodes for that? | ||
| [2010/02/13 07:07:48] <monachus> ohadlevy: the question was Spruit_elf's, actually | ||
| [2010/02/13 07:08:08] <Spruit_elf> monachus: yeah maybe :-) but sofar everything seems to workout fine for me, although i can imagine that my aproach is to time consuming on larger setups | ||
| [2010/02/13 07:08:15] @ Quit: gebi: Ping timeout: 265 seconds | ||
| [2010/02/13 07:08:30] <ohadlevy> ah sorry, joined too late :) | ||
| [2010/02/13 07:13:29] <monachus> Spruit_elf: my situation is a bit different from yours - we have multiple clients managed by one puppet config, so i have general info (defines, good defaults) in global classes and then i set client-specific vars in the client classes before calling the defines | ||
| [2010/02/13 07:14:35] @ Quit: toi: Quit: Ex-Chat | ||
| [2010/02/13 07:14:59] <monachus> it's kinda like your "site specific config being separate" need, but it needs inheritance, etc to work. in your first example it looks like you're using advance +> settings for the Service resource to override anything else that might be set, whereas if you change that to a var set before u call the define, it might give you more flexibility | ||
| [2010/02/13 07:15:10] @ toi joined channel #puppet | ||
| [2010/02/13 07:16:01] * ohadlevy uses site modules service modules etc, in quite a large scale deployment... | ||
| [2010/02/13 07:17:18] <Spruit_elf> monachus: ah, but i dont really need to overide a lot, it is more to ensure that the service only runs after the database is created (i only wanted it to overide te require value not any other value. Thats why before and notify are good solutions) | ||
| [2010/02/13 07:19:52] <Spruit_elf> monachus: i agree that depending you config on overriding random values just because a different define needs that creates a very difficult config which may even be unreliable | ||
| [2010/02/13 07:23:09] @ Quit: bug: Quit: bug | ||
| [2010/02/13 07:25:53] @ bug joined channel #puppet | ||
| [2010/02/13 07:29:17] @ Quit: bug: Client Quit | ||
| [2010/02/13 07:31:56] @ bug joined channel #puppet | ||
| [2010/02/13 07:33:16] @ fluxdude joined channel #puppet | ||
| [2010/02/13 07:33:35] @ Quit: fluxdude: Changing host | ||
| [2010/02/13 07:33:35] @ fluxdude joined channel #puppet | ||
| [2010/02/13 07:39:18] <Volcane> Spruit_elf: extlookup might help | ||
| [2010/02/13 07:41:53] <Spruit_elf> Volcane: hmmm that looks interesting, i will look into that | ||
| [2010/02/13 07:42:25] @ Quit: ohadlevy: Ping timeout: 260 seconds | ||
| [2010/02/13 07:43:32] <Volcane> we're making it pluggable so you can talk to DBs or whatever by furnishing your own backend | ||
| [2010/02/13 07:46:20] @ Quit: fluxdude: Quit: leaving | ||
| [2010/02/13 07:48:00] <hggh> http://pastebin.com/d64a73316 - I have moved my extdata to an pg database :) | ||
| [2010/02/13 07:48:23] @ Quit: ShiNboi: Remote host closed the connection | ||
| [2010/02/13 07:48:28] <Volcane> nice | ||
| [2010/02/13 07:48:29] @ Quit: toi: Ping timeout: 260 seconds | ||
| [2010/02/13 07:48:44] <Volcane> ohad added backend into foreman for us already too, just need to finish making the normal extlookup pluggable | ||
| [2010/02/13 07:48:59] <hggh> I have created an webinterface, store that values | ||
| [2010/02/13 07:49:17] <hggh> http://danica.brachium-system.net/~jonas/servermgmt.jpg | ||
| [2010/02/13 07:50:42] <Volcane> thats very nice | ||
| [2010/02/13 07:52:06] <hggh> I plan also to add an group feature. for webserver cluster. So you can store extdata to groups and add servers to that groups | ||
| [2010/02/13 07:52:50] <hggh> if an server and an group hast got an own value for an configuration, the group value will be overwritten by the host value | ||
| [2010/02/13 07:53:20] <Volcane> yeah thats what extlookup does | ||
| [2010/02/13 07:53:24] <Volcane> arbitrary groupings etc | ||
| [2010/02/13 07:53:30] <hggh> yep | ||
| [2010/02/13 07:58:11] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 08:00:34] @ giskard joined channel #puppet | ||
| [2010/02/13 08:02:28] @ Quit: gaveen: Ping timeout: 272 seconds | ||
| [2010/02/13 08:02:58] @ Quit: mezgani: Read error: Operation timed out | ||
| [2010/02/13 08:05:24] @ toi joined channel #puppet | ||
| [2010/02/13 08:06:17] @ jab_doa joined channel #puppet | ||
| [2010/02/13 08:16:21] @ gaveen joined channel #puppet | ||
| [2010/02/13 08:21:37] @ Quit: neh: Ping timeout: 260 seconds | ||
| [2010/02/13 08:21:38] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 08:22:59] @ giskard joined channel #puppet | ||
| [2010/02/13 08:38:15] @ cynicismic joined channel #puppet | ||
| [2010/02/13 08:38:54] @ Quit: gaveen: Ping timeout: 256 seconds | ||
| [2010/02/13 08:47:11] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/13 08:52:53] @ gaveen joined channel #puppet | ||
| [2010/02/13 08:53:28] @ Quit: toi: Quit: Ex-Chat | ||
| [2010/02/13 08:54:24] @ Quit: RedPepper: Quit: Verlassend | ||
| [2010/02/13 08:55:48] @ Spruit_elf joined channel #puppet | ||
| [2010/02/13 08:58:20] @ Bass10 joined channel #puppet | ||
| [2010/02/13 09:04:21] @ Quit: rocket: Ping timeout: 245 seconds | ||
| [2010/02/13 09:06:51] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/13 09:07:00] @ RedPepper joined channel #puppet | ||
| [2010/02/13 09:08:08] @ giskard joined channel #puppet | ||
| [2010/02/13 09:15:19] @ ShiNboi joined channel #puppet | ||
| [2010/02/13 09:15:42] @ Quit: giskard: Ping timeout: 276 seconds | ||
| [2010/02/13 09:17:37] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/13 09:18:36] <RedPepper> hi there | ||
| [2010/02/13 09:18:41] @ Spruit_elf joined channel #puppet | ||
| [2010/02/13 09:18:49] <RedPepper> i need some help about debugging my puppet script | ||
| [2010/02/13 09:19:21] <RedPepper> Could not parse for environment production: Syntax error at '['; expected '] <-- i do not exacty get what is wrong | ||
| [2010/02/13 09:24:54] <monachus> RedPepper: pastie it? | ||
| [2010/02/13 09:25:05] <monachus> whatever file puppet is complaining about | ||
| [2010/02/13 09:26:04] <RedPepper> mom | ||
| [2010/02/13 09:27:14] <RedPepper> http://nopaste.info/b39eb0906c.html | ||
| [2010/02/13 09:27:44] <monachus> line 03 and 06 | ||
| [2010/02/13 09:27:49] <monachus> remove the [ and ] | ||
| [2010/02/13 09:27:56] <RedPepper> okay | ||
| [2010/02/13 09:28:00] <RedPepper> will try that | ||
| [2010/02/13 09:29:32] <RedPepper> seems to work | ||
| [2010/02/13 09:30:13] <RedPepper> the only error i now got is "Could not find default node or by name with 'asgard.redpeppercluster.de, asgard.redpeppercluster, asgard' on node asgard.redpeppercluster.de " but seems to be correct because the puppetmaster has no node entry | ||
| [2010/02/13 09:30:55] <monachus> RedPepper: that error means that there's no node by that name in nodes.pp or wherever your node declarations are | ||
| [2010/02/13 09:31:05] <RedPepper> okay | ||
| [2010/02/13 09:31:08] <RedPepper> good to know | ||
| [2010/02/13 09:34:45] <RedPepper> am i correct that i do not need [ ] when i have only one definitiion ? | ||
| [2010/02/13 09:35:25] <monachus> the way that you have [ and ] is not wrong because there's one definition - it's just the wrong syntax | ||
| [2010/02/13 09:35:34] <monachus> have you read through wiki:LanguageTutorial? | ||
| [2010/02/13 09:35:35] <gepetto> monachus: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2010/02/13 09:36:21] <RedPepper> i have read it yes | ||
| [2010/02/13 09:36:28] @ mezgani joined channel #puppet | ||
| [2010/02/13 09:36:57] <monachus> what are you hoping to do with that authorized-keys statement? maybe i can help clarify if i understand the goal | ||
| [2010/02/13 09:37:22] @ Quit: cynicismic: Remote host closed the connection | ||
| [2010/02/13 09:37:24] <RedPepper> i want to add an autorized keys to a puppet managed server through that | ||
| [2010/02/13 09:37:37] <RedPepper> but the keys are holded in a file on the puppetmaster | ||
| [2010/02/13 09:38:23] <monachus> do you have "authorized-keys" defined somewhere? is it a function or a define() in another class? | ||
| [2010/02/13 09:38:37] <RedPepper> yeah | ||
| [2010/02/13 09:39:00] <RedPepper> http://nopaste.info/fbab635c9a.html | ||
| [2010/02/13 09:41:37] <monachus> ok - so it looks like the only issue is the use of [ and ]. you only need to use those if you're specifying an array of values somewhere, like require => [ File["somefile"], File["someotherfile] ] | ||
| [2010/02/13 09:41:50] <monachus> you'll never need to use them the way you have them in your first pastie. | ||
| [2010/02/13 09:42:25] <RedPepper> ah okay | ||
| [2010/02/13 09:42:32] <RedPepper> thanks a lot | ||
| [2010/02/13 09:42:38] <RedPepper> i am trying to get though it | ||
| [2010/02/13 09:42:45] <RedPepper> puppet is very powerful | ||
| [2010/02/13 09:42:52] <monachus> keep working at it. puppet is awesome. | ||
| [2010/02/13 09:42:56] <RedPepper> yeah | ||
| [2010/02/13 09:43:24] <RedPepper> probaly my company i am working at will migrate thieir templating system to puppet | ||
| [2010/02/13 09:43:32] <RedPepper> *probably | ||
| [2010/02/13 09:52:11] @ Quit: Pirate_Hunter: Quit: Oh nO! wHo pUlleD ThE pLUg? | ||
| [2010/02/13 09:57:54] @ Quit: gaveen: Ping timeout: 265 seconds | ||
| [2010/02/13 09:59:22] <RedPepper> monachus one last question ;) | ||
| [2010/02/13 09:59:34] <monachus> yes? | ||
| [2010/02/13 09:59:50] <RedPepper> if i want to add another key to my autorized keys with that | ||
| [2010/02/13 10:00:05] <RedPepper> then i can use this array thingy | ||
| [2010/02/13 10:00:07] <RedPepper> right ? | ||
| [2010/02/13 10:01:02] <monachus> hmm...i don't think that the authorized-keys define is able to understand that. | ||
| [2010/02/13 10:01:17] <RedPepper> okay | ||
| [2010/02/13 10:01:46] <monachus> arrays are great for things like http://monachus.pastebin.com/d27113409 | ||
| [2010/02/13 10:01:53] <monachus> where you need to do something to a lot of things | ||
| [2010/02/13 10:02:28] <monachus> but when you get into defines (which usually act like functions), it's up to the creator to process/understand an array coming in | ||
| [2010/02/13 10:02:37] <RedPepper> hmm | ||
| [2010/02/13 10:02:56] <RedPepper> i have adopted my define from the recipe on the puppet documentation site | ||
| [2010/02/13 10:03:57] <monachus> quick glance at the authorized-keys define and i don't think it'll handle it, because on line 10 it looks to add a line based on $name - if you pass in an array for $name it doesn't know to iterate over the array | ||
| [2010/02/13 10:04:21] <RedPepper> ah | ||
| [2010/02/13 10:04:37] <RedPepper> i know finally what you mention | ||
| [2010/02/13 10:08:25] @ Guest_54298 joined channel #puppet | ||
| [2010/02/13 10:08:31] @ Guest_54298 left channel #puppet () | ||
| [2010/02/13 10:08:51] @ mattwynne joined channel #puppet | ||
| [2010/02/13 10:08:55] <RedPepper> http://nopaste.info/c0b13a25e0.html <-- was the recipe i used as draft | ||
| [2010/02/13 10:09:23] <RedPepper> it shuld work if i do not use $name | ||
| [2010/02/13 10:09:45] <monachus> ah - i didn't realize you wrote the authorized-keys define | ||
| [2010/02/13 10:09:58] <RedPepper> yeah | ||
| [2010/02/13 10:10:05] <RedPepper> i have modified it | ||
| [2010/02/13 10:10:17] <RedPepper> since i do not really need it with accounts and stuff | ||
| [2010/02/13 10:10:18] <RedPepper> only root | ||
| [2010/02/13 10:10:48] <RedPepper> so i tried to break it down to that | ||
| [2010/02/13 10:10:59] <monachus> in the define() block you say $name=$filename, and when you call it, you provide $filename - i think what you want is to have define authorized-keys( $filename, $ensure="present") | ||
| [2010/02/13 10:11:10] <RedPepper> yeah | ||
| [2010/02/13 10:12:14] @ gaveen joined channel #puppet | ||
| [2010/02/13 10:12:41] <monachus> unfortunately i don't have the time right now to go through the whole thing with you - i'm dealing w/ an iscsi crisis in another window | ||
| [2010/02/13 10:13:03] <monachus> i can see that based on the way it's currently written, using an array won't work | ||
| [2010/02/13 10:13:14] <monachus> because you need to be able to act on each item of the array | ||
| [2010/02/13 10:13:19] <RedPepper> ok | ||
| [2010/02/13 10:13:25] <RedPepper> but i am very thankful | ||
| [2010/02/13 10:13:26] <monachus> so you can't have an array of users and then load a key for each user | ||
| [2010/02/13 10:13:57] <RedPepper> will do trail and error *g* | ||
| [2010/02/13 10:14:03] <monachus> the best way! | ||
| [2010/02/13 10:14:05] <RedPepper> best way to lern | ||
| [2010/02/13 10:14:06] @ Quit: RSpacePope: Ping timeout: 256 seconds | ||
| [2010/02/13 10:14:18] @ toi joined channel #puppet | ||
| [2010/02/13 10:21:53] @ ccaum joined channel #puppet | ||
| [2010/02/13 10:28:59] @ biertie joined channel #puppet | ||
| [2010/02/13 10:29:08] <biertie> can anybody help me with something stupid? :x | ||
| [2010/02/13 10:29:21] <biertie> I need to discribe puppet in 2 or 3 words :p | ||
| [2010/02/13 10:30:15] <monachus> fscking awesome. | ||
| [2010/02/13 10:30:36] <monachus> seriously - "dynamic, powerful, liberating" | ||
| [2010/02/13 10:30:51] <RedPepper> #2 | ||
| [2010/02/13 10:30:51] <gepetto> RedPepper: #2 is http://projects.reductivelabs.com/issues/show/2 "Puppet - Feature #2: Add 'link' ability to File - ReductiveLabs.com" | ||
| [2010/02/13 10:30:53] <biertie> hehe, it's for a project destripting | ||
| [2010/02/13 10:31:01] <biertie> I 'll just give them a link :p | ||
| [2010/02/13 10:36:13] <biertie> I hope you guys will help when the project is approved, and I will be messing around with puppet? :D | ||
| [2010/02/13 10:37:59] <monachus> what's the project? | ||
| [2010/02/13 10:38:58] <biertie> do you know puppetmanaged? | ||
| [2010/02/13 10:39:10] @ nigelk joined channel #puppet | ||
| [2010/02/13 10:41:47] @ Quit: toi: Read error: Connection reset by peer | ||
| [2010/02/13 10:42:43] @ toi joined channel #puppet | ||
| [2010/02/13 10:43:30] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/13 10:48:37] @ Quit: gaveen: Ping timeout: 260 seconds | ||
| [2010/02/13 10:50:22] @ kjalil joined channel #puppet | ||
| [2010/02/13 10:50:52] @ kjalil left channel #puppet () | ||
| [2010/02/13 10:53:12] @ Quit: ccaum: Quit: ccaum | ||
| [2010/02/13 10:53:14] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 10:53:19] @ cmdln joined channel #puppet | ||
| [2010/02/13 10:53:50] @ cmdln left channel #puppet () | ||
| [2010/02/13 10:55:22] @ Quit: toi: Ping timeout: 272 seconds | ||
| [2010/02/13 10:59:54] @ mattwynne joined channel #puppet | ||
| [2010/02/13 11:01:38] <monachus> biertie: yes | ||
| [2010/02/13 11:02:46] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 11:03:12] @ gaveen joined channel #puppet | ||
| [2010/02/13 11:09:23] <biertie> monachus: well, it's a school project, and we will test and document stuff for puppetmanaged :) | ||
| [2010/02/13 11:09:45] <monachus> are you affiliated with puppetmanaged? | ||
| [2010/02/13 11:10:52] @ toi joined channel #puppet | ||
| [2010/02/13 11:11:11] <biertie> monachus: affiliated as in: I know them | ||
| [2010/02/13 11:11:15] <biertie> or some of them | ||
| [2010/02/13 11:12:14] <monachus> this is puppetmanaged.org, right? | ||
| [2010/02/13 11:12:15] <biertie> but since I'm still a student, I normally don't have the gear to help them a lot :) | ||
| [2010/02/13 11:12:39] <biertie> monachus: yes | ||
| [2010/02/13 11:13:58] <monachus> hm. well nice of you to help them out. :) | ||
| [2010/02/13 11:15:14] @ ckauhaus joined channel #puppet | ||
| [2010/02/13 11:17:01] <biertie> monachus: I want to become a linux pro, and someone told me that you learn that by doing things :P | ||
| [2010/02/13 11:17:04] <biertie> and I want good grades | ||
| [2010/02/13 11:17:17] <monachus> absolutely | ||
| [2010/02/13 11:21:54] <noradafic> so i have my /etc/sudoers defined in a module; if i want to have a different source for /etc/sudoers, do I add that logic into the class? http://pastebin.com/m5047f315 | ||
| [2010/02/13 11:22:48] @ Quit: londo_: Ping timeout: 256 seconds | ||
| [2010/02/13 11:23:06] <noradafic> er, what's the equivalent to "if the node that's using this class has "qa" in it's name, include a different sudoers file" | ||
| [2010/02/13 11:24:07] <noradafic> probably bad style to hardcode my set of hosts in my QA environment within the sudo class? Or i guess i should define a variable in the node definitions, per QA host? | ||
| [2010/02/13 11:26:51] @ TREllis joined channel #puppet | ||
| [2010/02/13 11:27:41] @ mattwynne joined channel #puppet | ||
| [2010/02/13 11:29:36] @ londo_ joined channel #puppet | ||
| [2010/02/13 11:30:07] @ benkevan joined channel #puppet | ||
| [2010/02/13 11:31:14] @ Carroarmato0 joined channel #puppet | ||
| [2010/02/13 11:32:06] <noradafic> hmm ok - from reading some docs looks like within a class you can use variables from facter | ||
| [2010/02/13 11:32:09] <Spruit_elf> noradafic: you could specifie multiple files as source | ||
| [2010/02/13 11:32:12] <Spruit_elf> http://reductivelabs.com/static_files/TypeReference.html#file | ||
| [2010/02/13 11:32:40] <Spruit_elf> you can use variables from facter aswell as selfdefined ones | ||
| [2010/02/13 11:32:54] <Spruit_elf> mind the scope with the latter | ||
| [2010/02/13 11:34:57] @ Quit: TREllis: Quit: leaving | ||
| [2010/02/13 11:35:15] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 11:35:43] @ francois joined channel #puppet | ||
| [2010/02/13 11:38:00] @ Quit: benkevan: Remote host closed the connection | ||
| [2010/02/13 11:39:04] @ Quit: gaveen: Ping timeout: 272 seconds | ||
| [2010/02/13 11:39:28] @ Quit: bug: Quit: bug | ||
| [2010/02/13 11:42:43] @ Quit: ckauhaus: Ping timeout: 258 seconds | ||
| [2010/02/13 11:44:45] @ Quit: Pupeno: Quit: Pupeno | ||
| [2010/02/13 11:48:33] @ ckauhaus joined channel #puppet | ||
| [2010/02/13 11:52:37] @ Carroarmato0 left channel #puppet ("Sto andando via") | ||
| [2010/02/13 11:52:59] @ gaveen joined channel #puppet | ||
| [2010/02/13 11:58:22] @ Arrigi joined channel #puppet | ||
| [2010/02/13 12:04:19] <noradafic> ah i see, i'm going to tag the node as qa with tag(qa) | ||
| [2010/02/13 12:13:36] @ qwebirc88990 joined channel #puppet | ||
| [2010/02/13 12:14:39] @ Quit: qwebirc88990: Client Quit | ||
| [2010/02/13 12:16:17] @ rcrowley joined channel #puppet | ||
| [2010/02/13 12:30:49] @ Quit: gaveen: Ping timeout: 260 seconds | ||
| [2010/02/13 12:31:01] @ giskard joined channel #puppet | ||
| [2010/02/13 12:39:25] @ bug joined channel #puppet | ||
| [2010/02/13 12:39:51] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/13 12:41:28] <noradafic> hmm ok i guess I need to do something like a File("/etc/sudoers") for this: http://pastebin.com/m7f50c831 | ||
| [2010/02/13 12:42:35] @ jcape joined channel #puppet | ||
| [2010/02/13 12:44:31] @ gaveen joined channel #puppet | ||
| [2010/02/13 12:53:06] @ mikepea joined channel #puppet | ||
| [2010/02/13 12:54:16] @ Quit: nigelk: Quit: nigelk | ||
| [2010/02/13 13:03:15] @ Quit: bug: Quit: bug | ||
| [2010/02/13 13:14:57] @ jaredrhine joined channel #puppet | ||
| [2010/02/13 13:17:28] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 13:19:01] @ ahasenack joined channel #puppet | ||
| [2010/02/13 13:19:04] @ bug joined channel #puppet | ||
| [2010/02/13 13:19:35] @ Quit: gaveen: Quit: Leaving | ||
| [2010/02/13 13:19:55] @ giskard joined channel #puppet | ||
| [2010/02/13 13:37:20] @ Quit: f3ew: Ping timeout: 265 seconds | ||
| [2010/02/13 13:37:39] @ Quit: masterzen: Ping timeout: 276 seconds | ||
| [2010/02/13 13:38:24] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/13 13:39:11] @ masterzen joined channel #puppet | ||
| [2010/02/13 13:40:35] @ f3ew joined channel #puppet | ||
| [2010/02/13 13:44:00] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/13 13:56:06] @ mattwynne joined channel #puppet | ||
| [2010/02/13 13:56:08] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/13 14:08:32] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/13 14:22:39] @ mvn071 joined channel #puppet | ||
| [2010/02/13 14:29:15] @ Quit: zirpu: Quit: reboot! | ||
| [2010/02/13 14:29:50] @ Quit: bug: Quit: bug | ||
| [2010/02/13 14:32:30] @ Quit: rmiller4pi8: Ping timeout: 256 seconds | ||
| [2010/02/13 14:33:34] @ cliff-hm joined channel #puppet | ||
| [2010/02/13 14:33:46] @ bug joined channel #puppet | ||
| [2010/02/13 14:34:41] @ Quit: nevyn: Ping timeout: 246 seconds | ||
| [2010/02/13 14:36:34] @ nevyn joined channel #puppet | ||
| [2010/02/13 14:37:13] @ zirpu joined channel #puppet | ||
| [2010/02/13 14:38:10] @ Quit: biertie: Read error: Connection reset by peer | ||
| [2010/02/13 14:38:14] @ biertie joined channel #puppet | ||
| [2010/02/13 14:59:03] @ jfreeman joined channel #puppet | ||
| [2010/02/13 15:05:20] @ Quit: bug: Quit: bug | ||
| [2010/02/13 15:16:53] @ happymcplaksin joined channel #puppet | ||
| [2010/02/13 15:18:10] @ happymcplaksin left channel #puppet () | ||
| [2010/02/13 15:22:46] @ Quit: vzctl_: Ping timeout: 258 seconds | ||
| [2010/02/13 15:24:14] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 15:26:54] @ giskard joined channel #puppet | ||
| [2010/02/13 15:31:54] @ Quit: ShiNboi: Quit: Verlassend | ||
| [2010/02/13 15:33:41] @ gebi joined channel #puppet | ||
| [2010/02/13 15:34:21] @ Robbie_ joined channel #puppet | ||
| [2010/02/13 15:35:01] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/13 15:39:37] @ vzctl_ joined channel #puppet | ||
| [2010/02/13 15:39:49] @ Quit: Robbie_: Ping timeout: 260 seconds | ||
| [2010/02/13 15:49:32] @ nigelk joined channel #puppet | ||
| [2010/02/13 15:51:56] @ Robbie_ joined channel #puppet | ||
| [2010/02/13 16:01:33] @ mfournier joined channel #puppet | ||
| [2010/02/13 16:09:12] @ bug joined channel #puppet | ||
| [2010/02/13 16:09:33] @ Quit: mvn071: Quit: Leaving | ||
| [2010/02/13 16:29:04] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 16:29:46] @ Quit: toi: Ping timeout: 272 seconds | ||
| [2010/02/13 16:31:24] @ giskard joined channel #puppet | ||
| [2010/02/13 16:32:48] @ Pirate_Hunter joined channel #puppet | ||
| [2010/02/13 16:32:49] @ Quit: rmiller4pi8: Ping timeout: 264 seconds | ||
| [2010/02/13 16:51:54] @ Quit: mfournier: Ping timeout: 240 seconds | ||
| [2010/02/13 17:00:28] @ Quit: bug: Quit: bug | ||
| [2010/02/13 17:02:34] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/02/13 17:11:44] @ Quit: webx: Quit: ..(cyp): Read error: 1.732050808 (Excessive square root of 3) | ||
| [2010/02/13 17:26:25] @ RandalSchwartz joined channel #puppet | ||
| [2010/02/13 17:26:37] * RandalSchwartz keeps staring at puppet docs for his freebsd management | ||
| [2010/02/13 17:26:48] * RandalSchwartz relistens to FLOSS Weekly 93 | ||
| [2010/02/13 17:28:06] <Volcane> hey RandalSchwartz :) | ||
| [2010/02/13 17:28:16] <RandalSchwartz> how hard would it be to have something like template() but using Perl's template toolkit instead of ruby? | ||
| [2010/02/13 17:28:56] <agaffney> you'd have to write a puppet module in ruby that interfaces with the perl bits | ||
| [2010/02/13 17:29:02] <RandalSchwartz> ok | ||
| [2010/02/13 17:29:17] <Volcane> yeah it would be fairly hard, cos you'd also need to export all the variables somehow into perls scope | ||
| [2010/02/13 17:30:30] <RandalSchwartz> somethign that would work wherever "template" worked, as "perltemplate" or something | ||
| [2010/02/13 17:32:02] <RandalSchwartz> Hmm. Maybe I could just live with the little bit of ruby I'll need | ||
| [2010/02/13 17:32:19] <agaffney> I seem to recall some python-perl interface that loaded an entire perl interpreter into the python interpreter and made all the vars available in both directions | ||
| [2010/02/13 17:32:23] <Volcane> ruby is not hard :) | ||
| [2010/02/13 17:32:27] <agaffney> but that was a *long* time ago | ||
| [2010/02/13 17:32:48] <RandalSchwartz> I already know Perl and Smalltalk... maybe I just need to breed them in my head. :) | ||
| [2010/02/13 17:32:49] @ sebas891 joined channel #puppet | ||
| [2010/02/13 17:32:50] <agaffney> it might have been some other language other than python | ||
| [2010/02/13 17:32:51] <Volcane> heh puppets got enough memory requirement issues on its own :P | ||
| [2010/02/13 17:33:06] <agaffney> heh | ||
| [2010/02/13 17:33:24] @ Quit: Pirate_Hunter: Ping timeout: 256 seconds | ||
| [2010/02/13 17:36:00] <RandalSchwartz> anyway - I might be here over the next couple of days begging for help. :) | ||
| [2010/02/13 17:36:22] <RandalSchwartz> I have to get postfix, postgresql, DNS, and apache running | ||
| [2010/02/13 17:36:27] <Volcane> we're usually very helpful :) | ||
| [2010/02/13 17:36:30] <RandalSchwartz> on a freebsd box | ||
| [2010/02/13 17:36:42] <agaffney> puppet should work just fine on freebsd | ||
| [2010/02/13 17:36:44] <Volcane> out of curiosity, why freebsd? | ||
| [2010/02/13 17:36:47] <agaffney> although, I've only done linux myself | ||
| [2010/02/13 17:37:01] <RandalSchwartz> zfs on root, big ports, relatively secure | ||
| [2010/02/13 17:37:19] <Volcane> ah | ||
| [2010/02/13 17:38:06] <Volcane> have a good read about the zfs stability if you're concerned about it being very solid | ||
| [2010/02/13 17:38:24] @ boz joined channel #puppet | ||
| [2010/02/13 17:38:54] @ bug joined channel #puppet | ||
| [2010/02/13 17:39:09] @ rmiller4pi8 joined channel #puppet | ||
| [2010/02/13 17:39:17] <doubleukay> there's zfs on solaris, and then there's zfs on freebsd | ||
| [2010/02/13 17:40:28] <RandalSchwartz> there are ports on freebsd, then there are "ports" on solaris. :) | ||
| [2010/02/13 17:40:59] <RandalSchwartz> there's "svcadm" on solaris, and THANK GOD NOTHING LIKE IT on freebsd. :) | ||
| [2010/02/13 17:41:07] <Volcane> lol | ||
| [2010/02/13 17:41:21] <doubleukay> I'm personally more comfortable maneuvering a freebsd system, but I had problems using zfs on it that forced me to use solaris | ||
| [2010/02/13 17:41:26] <doubleukay> this was back on 7.x | ||
| [2010/02/13 17:41:33] <RandalSchwartz> yeah - it's more modern on 8 | ||
| [2010/02/13 17:41:36] <RandalSchwartz> bootable, etc | ||
| [2010/02/13 17:41:56] <Volcane> at least dist upgrading sux less now | ||
| [2010/02/13 17:42:05] <Volcane> binary updates rather than old shitty build world | ||
| [2010/02/13 17:42:35] <RandalSchwartz> yeah - the more I look at fbsd, the happier I am | ||
| [2010/02/13 17:42:49] <RandalSchwartz> I miss Theo's paranoia though | ||
| [2010/02/13 17:43:01] <RandalSchwartz> but I think fbsd steals most of the good ideas anyway | ||
| [2010/02/13 17:43:05] <doubleukay> RandalSchwartz: do give it a good test. the problems I encountered were 1) corruption on raidz2 while loading data in (which oddly couldn't be fixed with scrub) and 2) spontaneous reboots | ||
| [2010/02/13 17:43:23] <RandalSchwartz> the reboots were likely from not giving it enough mem | ||
| [2010/02/13 17:43:25] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/13 17:43:25] <RandalSchwartz> zfs is hungry | ||
| [2010/02/13 17:43:31] @ Quit: tessier: Ping timeout: 245 seconds | ||
| [2010/02/13 17:43:36] <RandalSchwartz> I've heard that in more than one place | ||
| [2010/02/13 17:43:39] * Volcane ditches freebsd for redhat few years ago after being a big freebsd user, even had a freebsd comitter working for me | ||
| [2010/02/13 17:43:48] <RandalSchwartz> and I'm not using zfs raid. | ||
| [2010/02/13 17:43:53] <RandalSchwartz> just snapshots, compresion, etc | ||
| [2010/02/13 17:43:58] <doubleukay> ah ok | ||
| [2010/02/13 17:43:59] <Volcane> the unpackaged base really just sux and its way outdated for today | ||
| [2010/02/13 17:44:00] <RandalSchwartz> I'm already sitting on top of rain10 disks | ||
| [2010/02/13 17:44:02] <RandalSchwartz> raid10 | ||
| [2010/02/13 17:44:21] <RandalSchwartz> in a VPS | ||
| [2010/02/13 17:44:24] <doubleukay> do you know what freebsd does if zfs finds a corrupted block? | ||
| [2010/02/13 17:44:41] <RandalSchwartz> it gets angry | ||
| [2010/02/13 17:44:47] <RandalSchwartz> turns in to the hulk. :) | ||
| [2010/02/13 17:45:08] <RandalSchwartz> rips up the shirt, but surprisingly, not the pants | ||
| [2010/02/13 17:45:11] <RandalSchwartz> which I never understood | ||
| [2010/02/13 17:45:22] <RandalSchwartz> if he can make pants that stretch, why not a shirt? | ||
| [2010/02/13 17:45:42] <monachus> the pants turn into cut-off shorts | ||
| [2010/02/13 17:45:49] <doubleukay> I understand that on solaris it kernel panics | ||
| [2010/02/13 17:45:51] <monachus> there's not much muscle around the hips | ||
| [2010/02/13 17:46:28] <monachus> i mean, there's the ass...but around the beltline i think he always stayed trim | ||
| [2010/02/13 17:46:36] @ Quit: nigelk: Quit: nigelk | ||
| [2010/02/13 17:47:07] <RandalSchwartz> Pretty sure Lou Ferrigno had a waistline bigger than Bill Bixby | ||
| [2010/02/13 17:48:35] <monachus> sure, but i'm just thinking in terms of "what if i suddenly swelled up into a big angry guy" - if you're going to swap me with lou ferrigno, then sure. the pants are bust. | ||
| [2010/02/13 17:48:42] @ Quit: bug: Ping timeout: 240 seconds | ||
| [2010/02/13 17:49:10] <RandalSchwartz> yeah, that's why I'm confused. | ||
| [2010/02/13 17:49:27] <RandalSchwartz> can puppet help me with my confusion? | ||
| [2010/02/13 17:49:31] <monachus> my wife correctly pointed out that in the new hulk movie you see ed norton shopping for elastic pants | ||
| [2010/02/13 17:50:05] <monachus> puppet could probably look at the facter output of $angry and adapt | ||
| [2010/02/13 17:51:02] <RandalSchwartz> ahh. facter quesiton | ||
| [2010/02/13 17:51:15] <RandalSchwartz> "facter foo" is supposed to show me what "facter | grep foo" more or less does, right? | ||
| [2010/02/13 17:51:25] <Volcane> there's a bug :( | ||
| [2010/02/13 17:51:31] <RandalSchwartz> on OSX, ... | ||
| [2010/02/13 17:51:42] <RandalSchwartz> "facter sp_number_processors" shows nothing | ||
| [2010/02/13 17:51:42] <monachus> supposed to be fixed in 1.6 - 1.5 doesn't do that correctly | ||
| [2010/02/13 17:51:45] <Volcane> that only works for certain facts - ones that are 1 fact per rb file | ||
| [2010/02/13 17:51:50] <RandalSchwartz> aha | ||
| [2010/02/13 17:51:52] <RandalSchwartz> not me then | ||
| [2010/02/13 17:51:53] @ Quit: biertie: Ping timeout: 260 seconds | ||
| [2010/02/13 17:51:54] <Volcane> ones where say foo.rb ads fact foo and also fact bar | ||
| [2010/02/13 17:52:03] <Volcane> those dont work if you do 'facter bar' | ||
| [2010/02/13 17:52:27] <RandalSchwartz> I thought ruby automatically rejects bugs? :) | ||
| [2010/02/13 17:52:34] <Volcane> hehe | ||
| [2010/02/13 17:52:56] <RandalSchwartz> heh - from twitter - ripping shirt in rage = creepy - ripping pant = hillarious ;) | ||
| [2010/02/13 17:54:14] <elijahwright> LMAO | ||
| [2010/02/13 17:54:19] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 17:54:21] @ biertie joined channel #puppet | ||
| [2010/02/13 17:56:28] @ tessier joined channel #puppet | ||
| [2010/02/13 17:56:55] @ giskard joined channel #puppet | ||
| [2010/02/13 17:59:35] @ Quit: biertie: Ping timeout: 240 seconds | ||
| [2010/02/13 18:00:19] @ biertie joined channel #puppet | ||
| [2010/02/13 18:03:31] @ ahasenack joined channel #puppet | ||
| [2010/02/13 18:04:27] <RandalSchwartz> does it matter to recipes about that facter issue? | ||
| [2010/02/13 18:04:34] <RandalSchwartz> or just the facter commandline? | ||
| [2010/02/13 18:04:41] <stahnma> just the CLI AFAIK | ||
| [2010/02/13 18:05:19] <Volcane> just the cli | ||
| [2010/02/13 18:05:35] <Volcane> its a 2 or 3 line fix, but its not been comitted | ||
| [2010/02/13 18:08:35] @ Spruit_elf joined channel #puppet | ||
| [2010/02/13 18:15:43] @ Quit: giskard: Read error: Operation timed out | ||
| [2010/02/13 18:18:41] @ giskard joined channel #puppet | ||
| [2010/02/13 18:31:12] <vagn> RandalSchwartz: FWIW here's a one liner you can run on the client: require 'yaml' ; p YAML::load(File.open( "/var/lib/puppet/yaml/facts/sophia.local.yaml" )).ivars["values"]["macaddress"] | ||
| [2010/02/13 18:31:31] <vagn> modify to suit. | ||
| [2010/02/13 18:33:16] <RandalSchwartz> yeah, not needing it just now, just didn't know why it seemed not right | ||
| [2010/02/13 18:37:35] <Spruit_elf> is there a way to get only the catalog file from a puppetmaster? | ||
| [2010/02/13 18:37:39] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/13 18:37:42] @ nigelk joined channel #puppet | ||
| [2010/02/13 18:37:56] <Spruit_elf> without actualy running puppet? | ||
| [2010/02/13 18:39:03] @ Quit: rmiller4pi8: Ping timeout: 258 seconds | ||
| [2010/02/13 18:39:39] <Volcane> i wrote a litle facter cli that works better http://www.devco.net/archives/2010/01/14/better_way_to_query_facts.php | ||
| [2010/02/13 18:40:20] @ bodepd joined channel #puppet | ||
| [2010/02/13 18:41:10] <bodepd> jamesturnbull: are you around? | ||
| [2010/02/13 18:46:13] @ bug joined channel #puppet | ||
| [2010/02/13 18:47:53] @ Quit: sebas891: Quit: Leaving. | ||
| [2010/02/13 18:48:38] @ Quit: Robbie_: Remote host closed the connection | ||
| [2010/02/13 18:49:20] <jamesturnbull> bodepd: am now | ||
| [2010/02/13 18:49:57] <bodepd> are you doing anything related to our infrastructure? | ||
| [2010/02/13 18:50:34] <bodepd> we are going to be working on our internal module-set. want to make sure I dont redo any work you've done. | ||
| [2010/02/13 18:51:02] <jamesturnbull> bodepd: define anything? | ||
| [2010/02/13 18:51:20] <bodepd> hmmmm... | ||
| [2010/02/13 18:51:27] <jamesturnbull> so I maintain a redmine test instance | ||
| [2010/02/13 18:51:37] <Spruit_elf> Volcane: if thats al i takes to see every fact, why not submit that as a patch? if facter always runs with that wrapper on the commandline the bug is fixed right? | ||
| [2010/02/13 18:51:39] <jamesturnbull> and test all the updates - I just upgraded to Remdine 0.9.2 for example | ||
| [2010/02/13 18:51:47] <jamesturnbull> bodepd: let's go to the other chanel | ||
| [2010/02/13 18:51:48] <bodepd> ok, I am working on some modules to maintain redmine | ||
| [2010/02/13 18:52:24] @ bodepd left channel #puppet () | ||
| [2010/02/13 18:52:49] @ bodepd joined channel #puppet | ||
| [2010/02/13 18:53:54] @ Quit: Rix: Quit: Leaving | ||
| [2010/02/13 18:56:23] @ Quit: mezgani: Read error: Connection reset by peer | ||
| [2010/02/13 19:18:13] @ RedPepper is now known as zz_RedPepper | ||
| [2010/02/13 19:23:12] @ Rix joined channel #puppet | ||
| [2010/02/13 19:28:37] <Volcane> Spruit_elf: it takes less, I've submitted a patch to the existing ticket | ||
| [2010/02/13 19:29:26] <|Mike|> s/spruit/spuit :p | ||
| [2010/02/13 19:29:37] <|Mike|> (dutch humor) | ||
| [2010/02/13 19:31:42] * Volcane cant remember the english word for spuit, useless at mother tongue :) | ||
| [2010/02/13 19:35:42] @ mezgani joined channel #puppet | ||
| [2010/02/13 19:38:37] <Spruit_elf> Volcane: spout i think it is | ||
| [2010/02/13 19:39:34] <|Mike|> yes. | ||
| [2010/02/13 19:40:54] <Volcane> hmm, different in afrikaans :) | ||
| [2010/02/13 19:43:55] <Volcane> spuit in afrikaans is like squirting water, where tuit is like the thing on a kettle where the water comes out | ||
| [2010/02/13 19:44:07] <Volcane> its always the little changes that totally screw me over with dutch | ||
| [2010/02/13 19:47:32] <Spruit_elf> Volcane: in dutch spuit can mean both squirting as well as something like a nozzle. I think the definition for spout is pretty much the same | ||
| [2010/02/13 19:48:55] <Spruit_elf> http://www.google.com/search?q=define%3Aspout | ||
| [2010/02/13 19:49:15] <Spruit_elf> the dutch definition is really the same | ||
| [2010/02/13 20:00:58] @ rcrowley joined channel #puppet | ||
| [2010/02/13 20:02:40] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/13 20:06:26] @ Quit: biertie: Ping timeout: 245 seconds | ||
| [2010/02/13 20:06:51] @ Quit: boz: | ||
| [2010/02/13 20:15:14] <RandalSchwartz> so is there a puppet daemon running at all times? | ||
| [2010/02/13 20:15:20] <RandalSchwartz> what's the granularity of things I can schedule? | ||
| [2010/02/13 20:15:36] <RandalSchwartz> 1 minute? 5 minutes? | ||
| [2010/02/13 20:16:17] <jamesturnbull> RandalSchwartz: default is a run every 30 minutes | ||
| [2010/02/13 20:16:24] <jamesturnbull> RandalSchwartz: but you can tune down or up | ||
| [2010/02/13 20:17:18] <RandalSchwartz> even if you say a rule should run 6 times an hour? | ||
| [2010/02/13 20:17:22] <RandalSchwartz> or is that what "tunes" it? | ||
| [2010/02/13 20:17:26] @ Quit: vagn: Read error: Operation timed out | ||
| [2010/02/13 20:17:33] @ Quit: bug: Quit: bug | ||
| [2010/02/13 20:17:42] <jamesturnbull> RandalSchwartz: you don't individually specify how often a resource is applied | ||
| [2010/02/13 20:18:04] <RandalSchwartz> I remember seeing somethign about time ranges | ||
| [2010/02/13 20:18:07] <RandalSchwartz> and frequency | ||
| [2010/02/13 20:18:11] <RandalSchwartz> is that just one tuning for the whole thing? | ||
| [2010/02/13 20:19:06] <jamesturnbull> well there are several types of deployment models - the puppetd daemon - that executes according to a schedule you specify in puppet.conf | ||
| [2010/02/13 20:19:17] <jamesturnbull> or you can run Puppet via cron | ||
| [2010/02/13 20:19:30] <jamesturnbull> and specify how often it executes that way | ||
| [2010/02/13 20:20:00] <RandalSchwartz> but there's not a per-resource schedule? | ||
| [2010/02/13 20:20:29] <RandalSchwartz> like if I wanted to ensure my webserver is up every 5 minutes, but only clean logfiles once an hour | ||
| [2010/02/13 20:20:36] @ Quit: bgupta: Ping timeout: 245 seconds | ||
| [2010/02/13 20:21:04] @ tjoe joined channel #puppet | ||
| [2010/02/13 20:21:22] <jamesturnbull> I don't think Puppet's the ideal solution for that - I'd use something like Nagios for the monitoring and use Puppet to create a cron job to clean the log files every hour | ||
| [2010/02/13 20:21:43] <jamesturnbull> you can, of course, use Puppet to configure Nagios to do that | ||
| [2010/02/13 20:23:04] <RandalSchwartz> to paraphrase JWZ... "now I have two problems" :) | ||
| [2010/02/13 20:23:13] <RandalSchwartz> haven't used nagios either | ||
| [2010/02/13 20:24:38] <jamesturnbull> RandalSchwartz: Puppet's designed to ensure your configuration is accurate and up to date | ||
| [2010/02/13 20:25:02] <jamesturnbull> it's not a monitoring tool as such | ||
| [2010/02/13 20:25:09] <jamesturnbull> it's a configuration management engine | ||
| [2010/02/13 20:25:19] <RandalSchwartz> so in that respect, cfengine is a bit more flexible, ok. | ||
| [2010/02/13 20:25:49] <jamesturnbull> hmmm in that, in my view, fairly limited respect, then yes currnetly | ||
| [2010/02/13 20:26:33] <RandalSchwartz> well - I'm still a bit on the fence about cfengine vs puppet | ||
| [2010/02/13 20:26:45] <RandalSchwartz> puppet looks a bit easier | ||
| [2010/02/13 20:26:52] <RandalSchwartz> but if it tops out sooner, then... | ||
| [2010/02/13 20:27:05] <jamesturnbull> sure - personally I think Puppet is simpler and easier and more fully featured | ||
| [2010/02/13 20:27:30] <RandalSchwartz> I suppose it depends on whether you know ruby already | ||
| [2010/02/13 20:27:30] <jamesturnbull> but I am seriously biased :) | ||
| [2010/02/13 20:27:31] <RandalSchwartz> I don't | ||
| [2010/02/13 20:27:38] <jamesturnbull> RandalSchwartz: don't need to know Ruby | ||
| [2010/02/13 20:27:44] <bda> I don't know Ruby. | ||
| [2010/02/13 20:27:44] <jamesturnbull> Puppet's DSL isn't Ruby | ||
| [2010/02/13 20:27:56] <RandalSchwartz> well - on nearly everything I google for a solution, I see "oh, just add this ruby code" | ||
| [2010/02/13 20:27:57] <RandalSchwartz> that scares me | ||
| [2010/02/13 20:28:07] * bda has never seen that suggestion. | ||
| [2010/02/13 20:28:09] <jamesturnbull> user { "randal": ensure => present } - that creates a user | ||
| [2010/02/13 20:28:26] <jamesturnbull> on OSX, BSD, Linux, AIX, HPUX, etc, etc, etc | ||
| [2010/02/13 20:28:56] <z00dax> you dont need to know ruby, for sure - but knowing it definiely helps. specially when you get down to some level of detailed templating etc and erb starts getting more and more important | ||
| [2010/02/13 20:29:06] @ bodepd left channel #puppet () | ||
| [2010/02/13 20:29:48] <jamesturnbull> z00dax: sure - though ERB is technically not Ruby either :) | ||
| [2010/02/13 20:30:01] <z00dax> thats true | ||
| [2010/02/13 20:30:18] <bda> I've added a couple features to Puppet, and I still don't know any Ruby. ;-) | ||
| [2010/02/13 20:30:59] <RandalSchwartz> it is if you want something more than a simple variable insert | ||
| [2010/02/13 20:31:08] <RandalSchwartz> erb is to ruby what mason is to Perl | ||
| [2010/02/13 20:31:15] <RandalSchwartz> and not what Template Toolkit is to Perl | ||
| [2010/02/13 20:31:25] <z00dax> and all facts are ruby | ||
| [2010/02/13 20:31:34] <RandalSchwartz> although I could argue TT would require Yet Another Language :) | ||
| [2010/02/13 20:31:44] @ vagn joined channel #puppet | ||
| [2010/02/13 20:31:52] <RandalSchwartz> in that respect TT is like puppet code. Sure, not Ruby, but something else again | ||
| [2010/02/13 20:31:52] <z00dax> be nice to be able to have something like nagios, just output yaml or even key:val from anywhere and be able to use hat as a fact | ||
| [2010/02/13 20:32:23] <z00dax> s/ hat / that / | ||
| [2010/02/13 20:32:23] @ bgupta joined channel #puppet | ||
| [2010/02/13 20:32:37] <jamesturnbull> z00dax: that's on the roadmap | ||
| [2010/02/13 20:32:57] <jamesturnbull> z00dax: add rich daat support to facter and allow foreign sources to provide data to facter | ||
| [2010/02/13 20:33:11] <bda> z00dax: Write a generic monitor provider that'll take plugins for Nagios/mon/OpenNMS? | ||
| [2010/02/13 20:33:20] <z00dax> so, i one does not need to know ruby - at all to do a *lot* with puppet, but at some point or the other, knowing a bit of ruby can drastically enhance the user experience | ||
| [2010/02/13 20:33:29] <jamesturnbull> bda: actually Zenoss has such a provider | ||
| [2010/02/13 20:33:36] <z00dax> jamesturnbull: that would be cool | ||
| [2010/02/13 20:33:56] <jamesturnbull> z00dax: true - and it's very simple ruby too - I wrote my first fact in about 2 mins with Google and having NEVER used Ruby at all | ||
| [2010/02/13 20:34:05] <bda> jamesturnbull: Interesting. | ||
| [2010/02/13 20:34:32] <RandalSchwartz> zenoss uses puppet? | ||
| [2010/02/13 20:35:59] <z00dax> i dont think it does | ||
| [2010/02/13 20:36:21] <jamesturnbull> RandalSchwartz: zenoss, like nagios, has an API that allows Puppet to automatically add hosts to Zenoss for monitoring - http://community.zenoss.org/blogs/zenossblog/2009/01/13/new-zenoss-module-for-puppet/ | ||
| [2010/02/13 20:36:24] <mikepea> jamesturnbull, RandalSchwartz: ditto - facts and even custom parser functions were all written easily well before I started to use Ruby for anything else. | ||
| [2010/02/13 20:36:54] <mikepea> by that I mean, 'before I learnt Ruby' btw. | ||
| [2010/02/13 20:37:25] @ biertie joined channel #puppet | ||
| [2010/02/13 20:38:39] <z00dax> and i guess ruby has an exec, so one can technically write anything and wrap it | ||
| [2010/02/13 20:39:59] <jamesturnbull> z00dax: yeah simple shell wrappers | ||
| [2010/02/13 20:40:29] <bda> exec'ing out too much kind of goes against what Puppet is all about for me. | ||
| [2010/02/13 20:43:01] <jamesturnbull> bda: oh agreed but it helps people get on the path | ||
| [2010/02/13 20:43:14] <bda> nd | ||
| [2010/02/13 20:43:15] <bda> er. nod. | ||
| [2010/02/13 20:49:09] <mikepea> RandalSchwartz: the other thing worth mentioning re Puppet and [not having to learn] Ruby is the define() syntax in the Puppet DSL - it is extremely useful, and tbh in many cases negates the need to write a custom resource type. | ||
| [2010/02/13 20:49:54] @ Quit: biertie: Ping timeout: 248 seconds | ||
| [2010/02/13 20:50:40] @ biertie joined channel #puppet | ||
| [2010/02/13 20:56:01] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 20:58:36] @ giskard joined channel #puppet | ||
| [2010/02/13 21:11:21] @ Quit: jfreeman: Ping timeout: 276 seconds | ||
| [2010/02/13 21:19:05] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 21:20:52] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/13 21:20:59] @ giskard joined channel #puppet | ||
| [2010/02/13 21:31:15] @ rcrowley joined channel #puppet | ||
| [2010/02/13 21:31:41] @ Quit: tyll: Ping timeout: 260 seconds | ||
| [2010/02/13 21:40:34] @ Quit: biertie: Ping timeout: 248 seconds | ||
| [2010/02/13 21:40:55] @ bug joined channel #puppet | ||
| [2010/02/13 21:41:17] @ Quit: bug: Client Quit | ||
| [2010/02/13 21:43:18] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 21:44:33] @ bug joined channel #puppet | ||
| [2010/02/13 21:48:10] @ choc joined channel #puppet | ||
| [2010/02/13 21:51:24] @ biertie joined channel #puppet | ||
| [2010/02/13 21:51:30] @ Quit: joe-mac1: Ping timeout: 272 seconds | ||
| [2010/02/13 21:58:36] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 22:06:19] @ jes5 joined channel #puppet | ||
| [2010/02/13 22:06:25] @ Quit: jes5: Client Quit | ||
| [2010/02/13 22:07:44] @ Quit: gebi: Ping timeout: 265 seconds | ||
| [2010/02/13 22:08:16] @ gebi joined channel #puppet | ||
| [2010/02/13 22:23:22] @ choc joined channel #puppet | ||
| [2010/02/13 22:25:57] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 22:28:08] @ giskard joined channel #puppet | ||
| [2010/02/13 22:29:45] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/13 22:30:12] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2010/02/13 22:38:50] @ Quit: choc: Ping timeout: 256 seconds | ||
| [2010/02/13 22:39:45] @ rcrowley joined channel #puppet | ||
| [2010/02/13 22:54:20] @ Quit: vagn: Remote host closed the connection | ||
| [2010/02/13 22:59:18] @ jfreeman joined channel #puppet | ||
| [2010/02/13 23:02:54] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/13 23:06:50] @ joe-mac1 joined channel #puppet | ||
| [2010/02/13 23:07:48] @ Quit: giskard: Read error: Connection timed out | ||
| [2010/02/13 23:10:03] @ giskard joined channel #puppet | ||
| [2010/02/13 23:21:13] @ brothers joined channel #puppet | ||
| [2010/02/13 23:23:28] @ Quit: joe-mac1: Ping timeout: 256 seconds | ||
| [2010/02/13 23:33:06] @ Quit: nigelk: Quit: nigelk | ||
| [2010/02/13 23:53:05] @ Quit: biertie: Ping timeout: 260 seconds | ||
| [2010/02/13 23:57:27] @ biertie joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!