| [2009/06/09 00:12:08] @ Log started by gepetto | ||
| [2009/06/09 00:12:08] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 00:12:21] @ cwebber joined channel #puppet | ||
| [2009/06/09 00:13:41] @ Quit: lak: | ||
| [2009/06/09 00:15:07] @ alex_ joined channel #puppet | ||
| [2009/06/09 00:15:09] @ Quit: gaveen_: "Enough lurking for now" | ||
| [2009/06/09 00:16:41] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 00:16:42] @ cwebber joined channel #puppet | ||
| [2009/06/09 00:16:44] @ User213 joined channel #puppet | ||
| [2009/06/09 00:17:28] @ Quit: User213: Client Quit | ||
| [2009/06/09 00:29:45] @ D-CoDe joined channel #puppet | ||
| [2009/06/09 00:32:15] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 00:32:38] @ cwebber joined channel #puppet | ||
| [2009/06/09 00:38:26] @ maxagaz joined channel #puppet | ||
| [2009/06/09 00:41:43] @ Quit: fujin: | ||
| [2009/06/09 00:47:02] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 00:47:06] @ fujin joined channel #puppet | ||
| [2009/06/09 00:47:09] @ cwebber joined channel #puppet | ||
| [2009/06/09 00:47:30] @ asa joined channel #puppet | ||
| [2009/06/09 00:48:39] <asa> any machead puppeters out? | ||
| [2009/06/09 00:49:04] <asa> looks like the darwinport provider is not able to "install" in my setup. | ||
| [2009/06/09 00:49:43] <asa> it tries to "update" but somehow update can no longer happen without the package being installed first. | ||
| [2009/06/09 00:50:56] <asa> ill bug report. | ||
| [2009/06/09 00:52:57] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 00:53:00] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 00:58:31] @ ctso1 joined channel #puppet | ||
| [2009/06/09 01:03:51] @ Quit: schwagala: Read error: 60 (Operation timed out) | ||
| [2009/06/09 01:05:00] @ schwagala joined channel #puppet | ||
| [2009/06/09 01:07:07] @ Quit: ctso: Read error: 110 (Connection timed out) | ||
| [2009/06/09 01:13:01] @ Quit: cwebber_: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 01:13:14] @ cwebber joined channel #puppet | ||
| [2009/06/09 01:14:01] @ Quit: axisys: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 01:14:46] @ WALoeIII_ joined channel #puppet | ||
| [2009/06/09 01:15:24] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/09 01:16:49] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 01:16:52] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 01:25:50] @ PhabX joined channel #puppet | ||
| [2009/06/09 01:26:43] @ ctso joined channel #puppet | ||
| [2009/06/09 01:30:26] @ Quit: WALoeIII: Read error: 110 (Connection timed out) | ||
| [2009/06/09 01:33:23] @ Quit: cwebber_: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 01:33:32] @ cwebber joined channel #puppet | ||
| [2009/06/09 01:41:57] @ Quit: ctso1: Read error: 110 (Connection timed out) | ||
| [2009/06/09 01:46:50] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 01:47:13] @ cwebber joined channel #puppet | ||
| [2009/06/09 01:53:51] @ Quit: cwebber: Read error: 113 (No route to host) | ||
| [2009/06/09 01:53:52] @ cwebber joined channel #puppet | ||
| [2009/06/09 01:57:11] @ saurabhverma joined channel #puppet | ||
| [2009/06/09 02:00:55] @ mattock joined channel #puppet | ||
| [2009/06/09 02:03:36] @ aymerick joined channel #puppet | ||
| [2009/06/09 02:11:43] @ Quit: WALoeIII_: "Bai." | ||
| [2009/06/09 02:13:45] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 02:14:09] @ cwebber joined channel #puppet | ||
| [2009/06/09 02:16:58] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 02:17:02] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 02:31:03] <nico> http://indico.cern.ch/contributionDisplay.py?contribId=46&confId=45282 <= a puppet story (end of the slides) | ||
| [2009/06/09 02:33:45] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/09 02:34:05] @ Quit: cwebber_: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 02:34:27] @ cwebber joined channel #puppet | ||
| [2009/06/09 02:39:28] @ DavidS1 joined channel #puppet | ||
| [2009/06/09 02:42:24] @ DavidS1 is now known as DavidS | ||
| [2009/06/09 02:42:37] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/06/09 02:47:00] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 02:47:24] @ cwebber joined channel #puppet | ||
| [2009/06/09 02:51:09] <pinoyskull> nico: that's a nice read | ||
| [2009/06/09 02:51:50] <nico> pinoyskull: yeah | ||
| [2009/06/09 02:52:21] <pinoyskull> i hope someone will host a webinar on puppet | ||
| [2009/06/09 02:52:48] @ sheldonh joined channel #puppet | ||
| [2009/06/09 02:53:41] <sheldonh> does puppet have anything for easily saying that particular statements in config files should be commented out? i know pupept isn't cfengine, just asking | ||
| [2009/06/09 02:54:19] <blahdeblah> sheldonh: Does cfengine do that natively? | ||
| [2009/06/09 02:54:22] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 02:54:29] * blahdeblah thinks about changing if so... ;-) | ||
| [2009/06/09 02:54:46] @ cwebber joined channel #puppet | ||
| [2009/06/09 02:55:05] <sheldonh> blahdeblah: yes | ||
| [2009/06/09 02:55:20] <sheldonh> well, i only saw cfgengine2 | ||
| [2009/06/09 02:56:04] <blahdeblah> As a puppet beginner, i've been finding that i need some very complex rules to do what i thought were some basic things, commenting out lines in config files being one of them. | ||
| [2009/06/09 02:56:25] <blahdeblah> I hear that you can do this with Augeas, but that adds a whole extra layer of complexity to the toolset | ||
| [2009/06/09 02:56:32] <Djelibeybi> blahdeblah: yeah, you would use Augeas for that. | ||
| [2009/06/09 02:57:26] <pinoyskull> i have | ||
| [2009/06/09 02:57:28] <pinoyskull> alias => cap_add_nfs$nfs_num | ||
| [2009/06/09 02:57:37] <pinoyskull> is that acceptable? | ||
| [2009/06/09 02:57:49] <pinoyskull> where nfs$nfs_num is in... | ||
| [2009/06/09 02:57:56] <pinoyskull> define mount_nfs($nfs_num){ | ||
| [2009/06/09 02:57:59] <Djelibeybi> pinoyskull: You need to quote that | ||
| [2009/06/09 02:58:08] <Djelibeybi> pinoyskull: alias => "cap_add_nfs${nfs_num}" | ||
| [2009/06/09 02:58:09] <pinoyskull> editing... | ||
| [2009/06/09 02:58:19] <nico> quoting is a good habit | ||
| [2009/06/09 02:58:47] @ Quit: andrewcshafer: | ||
| [2009/06/09 02:59:12] <sheldonh> is augeas integration easy? | ||
| [2009/06/09 02:59:43] * nico did not try yet | ||
| [2009/06/09 02:59:49] <Djelibeybi> sheldonh: the learning curve is high, but once you get it, it's pretty nifty | ||
| [2009/06/09 03:01:42] <pinoyskull> Djelibeybi: that worked, thanks | ||
| [2009/06/09 03:01:43] @ kolla joined channel #puppet | ||
| [2009/06/09 03:02:02] <Djelibeybi> pinoyskull: you're welcome. :) | ||
| [2009/06/09 03:04:03] <pinoyskull> hmmm | ||
| [2009/06/09 03:04:16] <pinoyskull> 93 mount_nfs { puppet: nfs_num => 1} | ||
| [2009/06/09 03:04:16] <pinoyskull> 94 mount_nfs { puppet: nfs_num => 2} | ||
| [2009/06/09 03:04:24] <pinoyskull> i get a duplicate definition error with that one | ||
| [2009/06/09 03:05:06] <ctso> they're both named puppet | ||
| [2009/06/09 03:05:22] <Djelibeybi> pinoyskull: pastie the entire block | ||
| [2009/06/09 03:05:27] <Djelibeybi> pinoyskull: then we can take a look | ||
| [2009/06/09 03:05:33] <pinoyskull> wait | ||
| [2009/06/09 03:09:09] <pinoyskull> Djelibeybi: http://pastie.org/505465 | ||
| [2009/06/09 03:09:27] @ Quit: PhabX: Remote closed the connection | ||
| [2009/06/09 03:09:42] @ PhabX joined channel #puppet | ||
| [2009/06/09 03:09:47] <Djelibeybi> pinoyskull: You need to give each of your defines a unique name | ||
| [2009/06/09 03:09:55] <Djelibeybi> I mean, calls to the define | ||
| [2009/06/09 03:10:12] <Djelibeybi> mount_nfs { "puppet1": nfs_num => 1 } | ||
| [2009/06/09 03:10:21] <Djelibeybi> mount_nfs { "puppet2": nfs_num = > 2 } | ||
| [2009/06/09 03:10:30] <Djelibeybi> Or, just switch to using the $name variable: | ||
| [2009/06/09 03:10:36] <Djelibeybi> mount_nfs { "1": } | ||
| [2009/06/09 03:10:46] <Djelibeybi> mount_nfs { "2": } | ||
| [2009/06/09 03:10:55] <Djelibeybi> Then, use ${name} in your define instead of ${nfs_num} | ||
| [2009/06/09 03:11:22] <pinoyskull> hmmm | ||
| [2009/06/09 03:11:41] <pinoyskull> ill try he unique name first | ||
| [2009/06/09 03:12:02] @ Quit: pastie: Remote closed the connection | ||
| [2009/06/09 03:12:37] <sheldonh> augeas looks hawt | ||
| [2009/06/09 03:13:39] <Djelibeybi> sheldonh: it can be. It can also be a pain in the ass. ;-) I still don't get XPath properly, so it takes me a while to write augeas types | ||
| [2009/06/09 03:14:10] <ctso> Djelibeybi: what's augeas used for with puppet? (no idea what augeas is at all) | ||
| [2009/06/09 03:14:40] <Djelibeybi> ctso: augeas is used to change values in supported configuration files, without touching anything else in the file | ||
| [2009/06/09 03:14:46] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 03:14:49] <Djelibeybi> ctso: check www.augeas.net for more info on what augeas itself does | ||
| [2009/06/09 03:15:06] @ cwebber joined channel #puppet | ||
| [2009/06/09 03:15:11] <sheldonh> and http://reductivelabs.com/trac/puppet/wiki/TypeReference#augeas for an example of how you might use it from within puppet | ||
| [2009/06/09 03:15:21] <sheldonh> tada, and we can use puppet to roll it out | ||
| [2009/06/09 03:15:25] <Djelibeybi> sheldonh: heh, thanks. I was about to paste that myself. | ||
| [2009/06/09 03:15:51] <ctso> ooooooh ic | ||
| [2009/06/09 03:16:17] <ctso> very low-level fine tuning, it seems | ||
| [2009/06/09 03:16:56] <Djelibeybi> ctso: that and it lets you have different settings in the same file on different severs | ||
| [2009/06/09 03:16:58] <Djelibeybi> servers | ||
| [2009/06/09 03:17:03] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 03:17:05] @ cwebber joined channel #puppet | ||
| [2009/06/09 03:17:12] <Djelibeybi> i.e. you don't need to manage lots of versions of the same file -- just augeas nodes that tweak individual settings | ||
| [2009/06/09 03:17:38] <pinoyskull> Djelibeybi: i did this | ||
| [2009/06/09 03:17:39] <pinoyskull> alias => "cap_add_nfs${nfs_num}" | ||
| [2009/06/09 03:17:45] <ctso> yeah.. that is interesting | ||
| [2009/06/09 03:17:46] <pinoyskull> and i want to call it on as a require | ||
| [2009/06/09 03:17:50] <ctso> man, there are so many things that work with puppet | ||
| [2009/06/09 03:18:06] <ctso> i can't wrap my ahead around what i need/want | ||
| [2009/06/09 03:18:14] @ francois joined channel #puppet | ||
| [2009/06/09 03:18:14] <sheldonh> hmmm... can i specify a node that "unrequires" a class? | ||
| [2009/06/09 03:18:28] @ Quit: francois: Client Quit | ||
| [2009/06/09 03:18:32] @ francois joined channel #puppet | ||
| [2009/06/09 03:18:38] <Djelibeybi> pinoyskull: I've never tried that myself. Not sure I can be more help. | ||
| [2009/06/09 03:18:46] <pinoyskull> hmmm | ||
| [2009/06/09 03:19:28] <pinoyskull> require => Exec[cap_add_nfs${nfs_num}] doesnt work | ||
| [2009/06/09 03:19:35] <pinoyskull> even if i quote it | ||
| [2009/06/09 03:19:41] <pinoyskull> hmmm | ||
| [2009/06/09 03:20:31] <Djelibeybi> yeah, it should be quoted: Exec["cap_add_nfs${nfs_num}"] | ||
| [2009/06/09 03:20:56] <pinoyskull> that doesnt work either | ||
| [2009/06/09 03:21:28] <sheldonh> ah, i see. i need to conditionalize inclusion of the class based on a fact | ||
| [2009/06/09 03:22:49] <Djelibeybi> pinoyskull: no idea, sorry! What's the error, out of interest? | ||
| [2009/06/09 03:23:13] <pinoyskull> ah wait | ||
| [2009/06/09 03:23:31] <pinoyskull> Could not retrieve catalog: Could not parse for environment production: Could not match '${nfs_num}] | ||
| [2009/06/09 03:24:10] <pinoyskull> i commented out that line for the moment to see if my manifest is working | ||
| [2009/06/09 03:24:14] @ Innocenti joined channel #puppet | ||
| [2009/06/09 03:24:16] <Djelibeybi> Heh | ||
| [2009/06/09 03:24:54] @ Quit: QMan: | ||
| [2009/06/09 03:26:57] <pinoyskull> ill find solution though, i need that working :) | ||
| [2009/06/09 03:28:04] @ DerekW joined channel #puppet | ||
| [2009/06/09 03:34:26] @ MattyM joined channel #puppet | ||
| [2009/06/09 03:35:11] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 03:35:22] @ cwebber joined channel #puppet | ||
| [2009/06/09 03:36:49] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/09 03:37:07] @ MarlondB joined channel #puppet | ||
| [2009/06/09 03:37:19] @ Quit: MarlondB: Remote closed the connection | ||
| [2009/06/09 03:43:10] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/06/09 03:47:11] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 03:47:31] @ cwebber joined channel #puppet | ||
| [2009/06/09 03:48:04] @ Quit: poison: Remote closed the connection | ||
| [2009/06/09 03:49:25] @ HarryCalahan joined channel #puppet | ||
| [2009/06/09 03:55:39] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 03:55:41] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 03:58:09] @ nakano_ is now known as nakano | ||
| [2009/06/09 03:59:14] <DavidS> hrmpf, wiki:ConfigurationReference lists neither --test nor --verbose | ||
| [2009/06/09 03:59:22] <gepetto> DavidS: hrmpf: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference | ||
| [2009/06/09 04:00:00] @ nakano is now known as nakano_ | ||
| [2009/06/09 04:01:51] @ briandquinn joined channel #puppet | ||
| [2009/06/09 04:04:26] <sheldonh> can you specify multiple values for the same case statement in puppet's language, the way you can in C? | ||
| [2009/06/09 04:04:52] <jamesturnbull> sheldonh: yes | ||
| [2009/06/09 04:06:04] <Volcane> DavidS: i doubt they're config optiions per se, like you cant put test=true in the config file. | ||
| [2009/06/09 04:06:14] <Volcane> so not in the config ref :) | ||
| [2009/06/09 04:07:24] <sheldonh> jamesturnbull: it's not in this lame-ass book i'm using ;) | ||
| [2009/06/09 04:08:55] @ poison joined channel #puppet | ||
| [2009/06/09 04:08:57] <jamesturnbull> sheldonh: what exact syntax are you trying to do? | ||
| [2009/06/09 04:09:40] <sheldonh> jamesturnbull: in default, i'd like to include a class for all except my puppetmasters | ||
| [2009/06/09 04:10:03] <Volcane> case $foo { one,two: { } } | ||
| [2009/06/09 04:10:11] @ madrescher joined channel #puppet | ||
| [2009/06/09 04:10:13] <sheldonh> jamesturnbull: i'm thinking a case statement on fqdn, with two statements -- one for default, and one for the 5 puppetmaster names | ||
| [2009/06/09 04:10:24] <sheldonh> ah, commasep, cool | ||
| [2009/06/09 04:10:37] <Volcane> wiki:LanguageTutorial | ||
| [2009/06/09 04:10:45] <gepetto> Volcane: wiki: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2009/06/09 04:11:30] @ Quit: alex_: Remote closed the connection | ||
| [2009/06/09 04:11:50] <DavidS> what's more annoying is the fact that the only possibilities to influence the console log seem to be --verbose, --debug and --evaltrace | ||
| [2009/06/09 04:12:22] <DavidS> but I'd like to only see actual actions and errors (i.e. no notices) on the console | ||
| [2009/06/09 04:12:39] <DavidS> ehh no "info"s | ||
| [2009/06/09 04:13:02] <Volcane> yeah, logging needs a overhaul i think | ||
| [2009/06/09 04:14:14] <DavidS> i guess, I'll just grep -v ^info :-/ | ||
| [2009/06/09 04:15:22] <DavidS> aha! | ||
| [2009/06/09 04:15:40] @ Quit: cwebber_: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 04:15:40] <DavidS> --logdest=console without --verbose does the thing :) | ||
| [2009/06/09 04:15:58] @ cwebber joined channel #puppet | ||
| [2009/06/09 04:16:57] <sheldonh> volcane: i'm doing this because i assume a node can't "unrequire" a class. correct? | ||
| [2009/06/09 04:17:08] <Volcane> sheldonh: nah unfort not | ||
| [2009/06/09 04:17:10] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:17:14] @ cwebber joined channel #puppet | ||
| [2009/06/09 04:17:21] <sheldonh> Volcane: not a problem. that way madness lies :) | ||
| [2009/06/09 04:17:55] <DavidS> gepetto: #1027 | ||
| [2009/06/09 04:17:57] @ Quit: bartvb: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:18:29] @ bartvb joined channel #puppet | ||
| [2009/06/09 04:22:49] @ Quit: bartvb: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:26:02] <sheldonh> volcane: this is actually quite awkward. conditionalizing in apply-to-all classes is definitely easier than using nodes | ||
| [2009/06/09 04:26:33] @ geoffr joined channel #puppet | ||
| [2009/06/09 04:26:43] @ |Innocenti| joined channel #puppet | ||
| [2009/06/09 04:26:46] <sheldonh> volcane: was about to do this, then realized i should just have a ruby class, and conditionalize in there: http://gist.github.com/126358 | ||
| [2009/06/09 04:28:03] <pinoyskull> question | ||
| [2009/06/09 04:28:09] <pinoyskull> if i do | ||
| [2009/06/09 04:28:10] @ bartvb joined channel #puppet | ||
| [2009/06/09 04:28:31] <pinoyskull> exec { "/bin/sh script parameter: | ||
| [2009/06/09 04:28:39] <DavidS> jamesturnbull: i just stumbled over http://projects.reductivelabs.com/projects/pcm | ||
| [2009/06/09 04:28:48] <pinoyskull> parameter is not passed, to failed | ||
| [2009/06/09 04:29:13] <DavidS> is there any specific reason I'm not uploading my modules into that repo? | ||
| [2009/06/09 04:29:16] <pinoyskull> but when i run the script without sh , the parameter is passed | ||
| [2009/06/09 04:29:29] <DavidS> except of course their abysmal quality | ||
| [2009/06/09 04:32:28] @ yure joined channel #puppet | ||
| [2009/06/09 04:33:38] <pinoyskull> problem solved | ||
| [2009/06/09 04:33:43] <pinoyskull> it's not puppet problem | ||
| [2009/06/09 04:33:43] <pinoyskull> :) | ||
| [2009/06/09 04:36:16] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 04:36:18] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:36:58] @ glaw joined channel #puppet | ||
| [2009/06/09 04:37:35] <geoffr> Morning all, does anyone have the possible values of the status parameter for the package resource? | ||
| [2009/06/09 04:38:25] @ Quit: briandquinn: Read error: 110 (Connection timed out) | ||
| [2009/06/09 04:39:25] <HarryCalahan> depends on the package manager | ||
| [2009/06/09 04:40:46] <geoffr> ah ok so whatever aptitude (which I use) return about the package, thanks :) | ||
| [2009/06/09 04:40:53] <HarryCalahan> present, absent, latest, purged | ||
| [2009/06/09 04:43:14] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2009/06/09 04:46:06] @ Quit: madrescher: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:47:25] @ Quit: cwebber_: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:47:40] @ cwebber joined channel #puppet | ||
| [2009/06/09 04:51:54] @ tim|macbook joined channel #puppet | ||
| [2009/06/09 04:51:57] <sheldonh> where is puppet's truthiness defined? i need to know what variable values constitute true in a conditional | ||
| [2009/06/09 04:52:43] <jamesturnbull> DavidS: none - it never really got off the ground | ||
| [2009/06/09 04:53:10] <sheldonh> i searched the language tutorial for the word boolean, but that didn't uncover the answer | ||
| [2009/06/09 04:53:50] @ Quit: fujin: | ||
| [2009/06/09 04:53:52] <Volcane> sheldonh: best to treat them as strings | ||
| [2009/06/09 04:54:06] @ fujin joined channel #puppet | ||
| [2009/06/09 04:54:25] <sheldonh> cool | ||
| [2009/06/09 04:54:30] <Volcane> it does handle booleans mostly, but not consistently for facts for example | ||
| [2009/06/09 04:54:37] <sheldonh> meh | ||
| [2009/06/09 04:54:40] <sheldonh> quirky ;) | ||
| [2009/06/09 04:55:26] <jamesturnbull> DavidS: though maybe that's a plan | ||
| [2009/06/09 04:56:33] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 04:56:35] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 04:56:55] <jamesturnbull> DavidS: I've been talking about puppet common modules - perhaps your modules should just become those and we'll work from there? | ||
| [2009/06/09 04:58:13] <duritong> jamesturnbull: good idea, I think it just needs a starting point for the common module project | ||
| [2009/06/09 04:59:04] <jamesturnbull> duritong: yeah I should have thought of this earlier - but it's up to DavidS - they are his babies :P | ||
| [2009/06/09 04:59:49] <duritong> jamesturnbull: I think many people would be interested in starting a merge-a-thon after there's something we could merge against | ||
| [2009/06/09 05:00:32] <jamesturnbull> duritong: I suspect marthag would be interested | ||
| [2009/06/09 05:01:24] <duritong> francois and I also have already discussed about that | ||
| [2009/06/09 05:04:14] @ monzie joined channel #puppet | ||
| [2009/06/09 05:04:15] * blahdeblah would like to see it made reasonably accessible for us newbies! :-) | ||
| [2009/06/09 05:04:17] <francois> yeah definitely | ||
| [2009/06/09 05:04:24] <blahdeblah> s/accessible/understandable/ | ||
| [2009/06/09 05:04:54] <francois> according to the network view on some module hosted on github, the merge-a-thon has already begun ;) | ||
| [2009/06/09 05:05:02] <blahdeblah> Even after reading jamesturnbull's book, i'm still struggling to get my head around the Puppet way, and applying it to simple tasks | ||
| [2009/06/09 05:07:38] * francois is looking through the mailing-list archives for previous discussions about common modules | ||
| [2009/06/09 05:08:26] <pinoyskull> blahdeblah: what's the title of James' book? | ||
| [2009/06/09 05:08:43] <blahdeblah> Pulling Strings with Puppet | ||
| [2009/06/09 05:09:03] <pinoyskull> blahdeblah: i have that one too, and it was helpful to me :) | ||
| [2009/06/09 05:09:26] <blahdeblah> I'm not questioning the helpfulness of the book, just the learning curve of Puppet | ||
| [2009/06/09 05:09:33] <blahdeblah> (And my ability to grok it. ;-) | ||
| [2009/06/09 05:10:07] <pinoyskull> yeah, it's hard at the beginning, im a beginer myself | ||
| [2009/06/09 05:10:16] <pinoyskull> but im getting used to it, althought i still have lots to learn | ||
| [2009/06/09 05:11:07] <francois> I think that common modules could really help Puppet beginners | ||
| [2009/06/09 05:11:32] <francois> ie. if I want to have apache up and running the Puppet way | ||
| [2009/06/09 05:11:48] <francois> I download the puppet-apache module for somewhere | ||
| [2009/06/09 05:11:58] <francois> and then create a basic recipe such as | ||
| [2009/06/09 05:12:07] <francois> include apache | ||
| [2009/06/09 05:12:11] <francois> and that's it | ||
| [2009/06/09 05:12:45] <francois> (well, until you need to tweak the way Apache is installed) | ||
| [2009/06/09 05:15:10] @ nakano_ is now known as nakano | ||
| [2009/06/09 05:15:33] @ pleemans joined channel #puppet | ||
| [2009/06/09 05:16:30] @ Quit: cwebber_: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 05:16:52] @ cwebber joined channel #puppet | ||
| [2009/06/09 05:17:21] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 05:17:22] @ cwebber joined channel #puppet | ||
| [2009/06/09 05:18:35] <HarryCalahan> francois: and after tweaking it not much of the original module is left. | ||
| [2009/06/09 05:18:45] <HarryCalahan> there is no one-size-fits-all. | ||
| [2009/06/09 05:19:02] <HarryCalahan> but it helps to look at receips of other people | ||
| [2009/06/09 05:19:28] <francois> HarryCalahan: Well, I don't fully agree, it all depends on how the module was structured | ||
| [2009/06/09 05:19:40] <nico> ok, I *REALLY* should set up reporting | ||
| [2009/06/09 05:20:09] <francois> I think it's possible to build a module generic enough to allow further enhancement without rewrite everything from scratch | ||
| [2009/06/09 05:24:23] @ alban2 joined channel #puppet | ||
| [2009/06/09 05:32:04] <jamesturnbull> francois: certainly one partially generic or at least generic across multiple platforms | ||
| [2009/06/09 05:32:48] @ Quit: gazzerh: "This computer has gone to sleep" | ||
| [2009/06/09 05:33:04] <jamesturnbull> hmm perhaps some kind of class for each module that defines constants for each module - for example the apache module could have a constants class that contains all the package names for apache across platforms | ||
| [2009/06/09 05:34:50] <DavidS> jamesturnbull: in the last months i neglected taking care of my modules, but the recent uptake of people asking my for trainings changed my mind. | ||
| [2009/06/09 05:35:18] <francois> jamesturnbull: we're using inheritance to do that for packages names, command names and so on | ||
| [2009/06/09 05:36:53] <francois> IMHO the current state of common modules is clearly missing is an easy way for beginners to search for them and easily include them in their puppetmaster | ||
| [2009/06/09 05:36:55] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 05:37:05] <DavidS> HarryCalahan, francois: you want to look at the http://git.black.co.at/?p=module-apache;a=blob;f=manifests/debian.pp file, which is a prototype for making my apache module completely distro indepentent | ||
| [2009/06/09 05:37:09] @ cwebber joined channel #puppet | ||
| [2009/06/09 05:37:46] <DavidS> francois: i was just talking to jamesturnbull about seeding the http://projects.reductivelabs.com/projects/pcm with my modules from http://git.black.co.at/ | ||
| [2009/06/09 05:38:20] @ Quit: pleemans: "Ex-Chat" | ||
| [2009/06/09 05:38:28] <DavidS> HarryCalahan, francois: the apache::debian class is included in http://git.black.co.at/?p=module-apache;a=blob;f=manifests/init.pp line#21 | ||
| [2009/06/09 05:39:06] <DavidS> jamesturnbull: so i would be more than honored to start a more "officially sanctioned" development+support of my modules. | ||
| [2009/06/09 05:39:20] <francois> DavidS: yeah, that's a good idea ! | ||
| [2009/06/09 05:40:11] <francois> Btw, I can also also provide a few modules from http://github.com/camptocamp/ which does not exist in your repo, DavidS | ||
| [2009/06/09 05:40:41] <DavidS> of course, it'd make sense to start with only a small subset (common, apache, munin, collectd, ssh, apt, mysql?, php, puppet, ssmtp, virtual; ordered by preference) | ||
| [2009/06/09 05:40:49] <DavidS> francois++ | ||
| [2009/06/09 05:41:43] <jamesturnbull> DavidS: let's do it - do you have a Github user? | ||
| [2009/06/09 05:41:57] <DavidS> not yet :) | ||
| [2009/06/09 05:42:21] <francois> each module should probably have one or more official maintainers | ||
| [2009/06/09 05:42:41] <francois> whose job is to include or reject modifications to those common modules | ||
| [2009/06/09 05:42:49] <jamesturnbull> francois: yep - we'd do it much like an actual project | ||
| [2009/06/09 05:42:50] <francois> jamesturnbull: +1 for using github | ||
| [2009/06/09 05:43:04] <jamesturnbull> francois: use Redmine to track bugs and issues | ||
| [2009/06/09 05:43:08] <DavidS> d'oh -> DavidS since last fall :) | ||
| [2009/06/09 05:43:46] <jamesturnbull> francois: and we'll set-up a mailing list like the Puppet -dev list I think | ||
| [2009/06/09 05:44:21] <DavidS> jamesturnbull: I'd start on the -users list, just for publicity ;-) | ||
| [2009/06/09 05:44:36] <DavidS> we can move if the traffic becomes too much or too off-topic | ||
| [2009/06/09 05:44:51] <francois> each module should probably stay in his own repo, right ? | ||
| [2009/06/09 05:44:51] <jamesturnbull> DavidS: sure | ||
| [2009/06/09 05:45:07] <jamesturnbull> francois: hmmm that'd make it trickier | ||
| [2009/06/09 05:45:52] <DavidS> jamesturnbull: what about submodules? | ||
| [2009/06/09 05:46:01] <jamesturnbull> DavidS: yeah just thinkihn about that | ||
| [2009/06/09 05:46:18] <DavidS> never tried it... | ||
| [2009/06/09 05:46:29] <francois> DavidS: do mean git submodules ? | ||
| [2009/06/09 05:46:35] <DavidS> francois: yeah | ||
| [2009/06/09 05:46:50] <DavidS> might help tagging "compatible" versions too | ||
| [2009/06/09 05:47:04] <francois> ok, we're using that for managing our 3 different puppetmasters | ||
| [2009/06/09 05:47:43] <francois> this make sharing of your module pretty easy | ||
| [2009/06/09 05:47:47] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 05:47:47] @ cwebber joined channel #puppet | ||
| [2009/06/09 05:48:05] <francois> even though git submodules still have a few rough edges... | ||
| [2009/06/09 05:48:33] <DavidS> francois: do you have any doc how to setup that? | ||
| [2009/06/09 05:48:57] <francois> DavidS: yeah, some quick internal one actually | ||
| [2009/06/09 05:49:16] <francois> but I really plan to put it in the wiki ASAP ;) | ||
| [2009/06/09 05:50:27] <DavidS> francois: send pics :) | ||
| [2009/06/09 05:50:42] <DavidS> afk | ||
| [2009/06/09 05:52:53] @ bajan joined channel #puppet | ||
| [2009/06/09 05:53:42] @ bajan left channel #puppet () | ||
| [2009/06/09 05:54:14] @ Quit: pietro: "Changing server" | ||
| [2009/06/09 05:56:34] @ pietro joined channel #puppet | ||
| [2009/06/09 05:57:28] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 05:57:29] @ cwebber joined channel #puppet | ||
| [2009/06/09 06:03:49] @ Quit: Sakarias: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 06:03:53] @ Quit: chillitom: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 06:04:02] @ henk joined channel #puppet | ||
| [2009/06/09 06:04:02] <henk> hi | ||
| [2009/06/09 06:04:07] @ rasputnik joined channel #puppet | ||
| [2009/06/09 06:04:17] <HarryCalahan> ho | ||
| [2009/06/09 06:04:28] @ keithlard joined channel #puppet | ||
| [2009/06/09 06:05:39] @ simmerz joined channel #puppet | ||
| [2009/06/09 06:06:07] <simmerz> hi. is there a best-practice method for using git as a vcs for puppet? like any example hooks etc | ||
| [2009/06/09 06:07:12] @ Quit: tim|macbook: | ||
| [2009/06/09 06:07:12] <henk> this page http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe talks about creating classes underneath manifests/, while http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice doesn't even mention 'classes'. at least not without modules. what's correct? | ||
| [2009/06/09 06:08:11] @ Sakarias joined channel #puppet | ||
| [2009/06/09 06:08:12] @ chillitom joined channel #puppet | ||
| [2009/06/09 06:10:23] @ tim|macbook joined channel #puppet | ||
| [2009/06/09 06:10:35] <francois> jamesturnbull: as wiki master, what's your preferred name for a page describing how to build your puppetmaster using git submodules ? | ||
| [2009/06/09 06:10:54] @ Quit: tim|macbook: Client Quit | ||
| [2009/06/09 06:15:53] <DavidS> back | ||
| [2009/06/09 06:16:24] <DavidS> simmerz: i think i've got a bit in the wiki:CompleteConfiguration page | ||
| [2009/06/09 06:17:25] <gepetto> DavidS: simmerz: wiki:CompleteConfiguration is http://reductivelabs.com/trac/puppet/wiki/CompleteConfiguration | ||
| [2009/06/09 06:17:26] <jamesturnbull> henk: it's a style choice | ||
| [2009/06/09 06:17:26] <DavidS> henk: always use modules nowadays | ||
| [2009/06/09 06:17:28] @ Quit: rellis__: Read error: 60 (Operation timed out) | ||
| [2009/06/09 06:17:28] <jamesturnbull> henk: chose whichever you like but modules are the best choice | ||
| [2009/06/09 06:17:32] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 06:17:44] <simmerz> gepetto: DavidS: thanks | ||
| [2009/06/09 06:17:46] @ cwebber joined channel #puppet | ||
| [2009/06/09 06:18:02] <DavidS> simmerz: actually it'S wiki:CommonModules | ||
| [2009/06/09 06:18:05] <gepetto> DavidS: simmerz: wiki:CommonModules is http://reductivelabs.com/trac/puppet/wiki/CommonModules | ||
| [2009/06/09 06:18:05] <DavidS> sorry | ||
| [2009/06/09 06:18:19] <jamesturnbull> francois: hmmm good question - just throw it somewhere for the moment and we'll work out later - we're migrating the wiki anyways | ||
| [2009/06/09 06:18:38] <Dyresen> What do you guys do for ensuring unique namespace for defines? I find my self having quite a few defines in modules and keep doing stuff like define classname::definenamehere {} Any better way? | ||
| [2009/06/09 06:18:41] @ rellis__ joined channel #puppet | ||
| [2009/06/09 06:19:00] <francois> jamesturnbull: I'll quickly add my schema to PuppetVersionControl | ||
| [2009/06/09 06:19:08] <DavidS> Dyresen: s/classname/modulename/g | ||
| [2009/06/09 06:19:18] <DavidS> i.e. apache::vhost() | ||
| [2009/06/09 06:19:27] <francois> http://reductivelabs.com/trac/puppet/attachment/wiki/Puppet%20Version%20Control/puppetmaster-git-submodules.pdf?format=raw | ||
| [2009/06/09 06:19:33] <DavidS> should be descriptive too and helps when autoloading | ||
| [2009/06/09 06:19:46] @ Quit: garin_: Read error: 60 (Operation timed out) | ||
| [2009/06/09 06:20:22] <Dyresen> DavidS: thanks, Ill look into that. The define is then just in the modules namespace? | ||
| [2009/06/09 06:20:30] <francois> I have to leave now for a while, but comments are always welcome | ||
| [2009/06/09 06:23:36] <gepetto> ::trac:: puppetmaster-git-submodules.pdf attached to Puppet Version Control @ http://reductivelabs.com/trac/puppet/attachment/wiki/Puppet%20Version%20Control/puppetmaster-git-submodules.pdf (by francois@ctrlaltdel.ch) | ||
| [2009/06/09 06:24:48] @ DavidS left channel #puppet () | ||
| [2009/06/09 06:24:56] @ DavidS joined channel #puppet | ||
| [2009/06/09 06:32:14] @ gazzerh joined channel #puppet | ||
| [2009/06/09 06:34:32] @ mfournier joined channel #puppet | ||
| [2009/06/09 06:37:43] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 06:38:05] @ cwebber joined channel #puppet | ||
| [2009/06/09 06:41:03] <simmerz> DavidS: that doesn't explain how you'd go about auto updating the git repo on the puppetmaster. assuming that you have a remote repository and puppetmaster just has a clone of the production branch | ||
| [2009/06/09 06:41:20] <DavidS> git pull should always be fast forward in that case, no? | ||
| [2009/06/09 06:42:17] <simmerz> i don't want to have to log on to the puppet server to do that though. it should be automatic when i push up to remote | ||
| [2009/06/09 06:43:11] <DavidS> then you need to setup your remote to push automatically to your puppetmaster, or regularily pull on the master | ||
| [2009/06/09 06:43:21] <DavidS> like with cron or puppet | ||
| [2009/06/09 06:44:05] @ Quit: gazzerh: "Leaving" | ||
| [2009/06/09 06:44:08] <simmerz> ok | ||
| [2009/06/09 06:53:44] @ monzie is now known as monzie|work | ||
| [2009/06/09 06:56:46] @ Quit: marcoecc: Remote closed the connection | ||
| [2009/06/09 06:58:22] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 06:58:24] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 06:59:37] @ marcoecc joined channel #puppet | ||
| [2009/06/09 07:02:18] <DavidS> jamesturnbull: I've uploaded a first round of modules to my github account: http://github.com/DavidS | ||
| [2009/06/09 07:02:32] <DavidS> apache, collectd, common, munin, nagios, ssh | ||
| [2009/06/09 07:04:54] <sheldonh> when installing puppetmaster to run as a rack app, i need to get my CA and host cert generated first. how do i tell puppetmasterd to fire up, create those, and then bugger off again? | ||
| [2009/06/09 07:05:17] <Volcane> run it in webrick mode in the foreground and ^C :P | ||
| [2009/06/09 07:05:32] <sheldonh> aw, so nothing scriptable. oh well | ||
| [2009/06/09 07:05:54] <Volcane> probably is, but i only have one set of ca for my masters so only have to do it once per site etc | ||
| [2009/06/09 07:08:46] <jamesturnbull> sheldonh: there is a way to do that but memory escapes me right now | ||
| [2009/06/09 07:12:08] @ Quit: mfournier: Read error: 60 (Operation timed out) | ||
| [2009/06/09 07:16:01] <DavidS> jamesturnbull: is there only one repo per project in redmine? | ||
| [2009/06/09 07:16:12] @ Quit: alex2: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 07:18:21] @ Quit: cwebber_: Read error: 113 (No route to host) | ||
| [2009/06/09 07:18:25] @ d3vilb0x joined channel #puppet | ||
| [2009/06/09 07:18:41] @ cwebber joined channel #puppet | ||
| [2009/06/09 07:19:19] @ Quit: pinoyskull: | ||
| [2009/06/09 07:22:35] <henk> jamesturnbull: thanks! | ||
| [2009/06/09 07:22:52] <henk> DavidS: thanks to you too and good to see you again :) | ||
| [2009/06/09 07:23:06] <DavidS> jamesturnbull: ok, created also a Puppet-Common-Modules repo on github having all the modules as subs | ||
| [2009/06/09 07:23:08] <DavidS> http://github.com/DavidS/Puppet-Common-Modules/tree/master | ||
| [2009/06/09 07:23:12] <DavidS> henk: *bow* | ||
| [2009/06/09 07:23:22] * henk bows solemnly to DavidS | ||
| [2009/06/09 07:26:50] <DavidS> jamesturnbull: I've also an account on redmine so I'm ready :-) | ||
| [2009/06/09 07:27:27] <henk> is it possible and feasible to do everything as a module and then just use the modules? so that i have no statements at all in my site.pp? | ||
| [2009/06/09 07:27:28] @ mikepea joined channel #puppet | ||
| [2009/06/09 07:28:01] <sheldonh> grrrr. rails is _not_ missing, tool! :) | ||
| [2009/06/09 07:28:09] <DavidS> henk: yes, but not advised | ||
| [2009/06/09 07:28:13] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 07:28:20] <Volcane> sheldonh: its quite particular about versions :( | ||
| [2009/06/09 07:28:31] <DavidS> especially would you have to use an external node classifier | ||
| [2009/06/09 07:28:32] @ cwebber joined channel #puppet | ||
| [2009/06/09 07:28:55] <sheldonh> Volcane: 2.0.2, just like on the other boxes. i think i'm just hung over | ||
| [2009/06/09 07:29:07] <DavidS> and you'd still have to import the modules (ISTR some of mine don'T work with autoload) | ||
| [2009/06/09 07:29:14] <Volcane> sheldonh: shocking, a cape town person thats hung over | ||
| [2009/06/09 07:29:16] <henk> DavidS: sorry, that was too radically phrased... not 'none at all' but only assignments of modules to servers. | ||
| [2009/06/09 07:29:20] <sheldonh> Volcane: aha, of course. had to _remove_ 2.3.2 | ||
| [2009/06/09 07:29:55] <DavidS> henk: I have mostly nodes in my site.pp see the manifests repo on my git site: http://git.black.co.at/?p=manifests;a=summary | ||
| [2009/06/09 07:30:15] <Volcane> sheldonh: puppet/feature/rails.rb | ||
| [2009/06/09 07:30:21] <henk> DavidS: ah, i remember that domain :) will do, thanks! | ||
| [2009/06/09 07:31:06] <DavidS> github doesn't link into submodules :-/ *suck* | ||
| [2009/06/09 07:31:36] @ nasrat joined channel #puppet | ||
| [2009/06/09 07:34:25] <DavidS> francois: your apache module is quite advanced in contrast to mine ... | ||
| [2009/06/09 07:34:28] <DavidS> o_O | ||
| [2009/06/09 07:35:24] <jamesturnbull> DavidS: I am just experimenting now with submodules | ||
| [2009/06/09 07:36:25] <DavidS> I just copied commands from http://git.or.cz/gitwiki/GitSubmoduleTutorial to create the PCM repo on gitup | ||
| [2009/06/09 07:36:29] <DavidS> github | ||
| [2009/06/09 07:38:37] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 07:38:39] <jamesturnbull> DavidS: fatal: Could not switch to '/srv/puppet/modules-development/apache' | ||
| [2009/06/09 07:38:39] <jamesturnbull> Clone of '/srv/puppet/modules-development/apache/.git' into submodule path 'apache' failed | ||
| [2009/06/09 07:38:52] <DavidS> harumf | ||
| [2009/06/09 07:38:59] @ cwebber joined channel #puppet | ||
| [2009/06/09 07:39:13] <DavidS> url = /srv/puppet/modules-development/common/.git | ||
| [2009/06/09 07:39:16] <DavidS> gaaah | ||
| [2009/06/09 07:44:32] <DavidS> jamesturnbull: i reset the repo and pushed a better version of the submodules referencing the github repos | ||
| [2009/06/09 07:45:08] <DavidS> still, I'm not really happy with that since that makes (the history of) the repo dependent on github :-/ | ||
| [2009/06/09 07:45:22] @ Quit: monzie|work: Read error: 113 (No route to host) | ||
| [2009/06/09 07:45:40] <jamesturnbull> DavidS: works though | ||
| [2009/06/09 07:48:39] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/06/09 07:51:06] <sheldonh> oops. so you can't just put an if statement in the middle of a package resource declaration :) | ||
| [2009/06/09 07:51:36] <DavidS> jamesturnbull: reading the git-submodules(1) manpage, it seems as if the actual connection between the super-repo and the subs is done via a so-called "gitlink" object which references an actual commit within the other repo | ||
| [2009/06/09 07:51:55] <DavidS> while the .gitmodules file is only as "advice" where those commits can be found | ||
| [2009/06/09 07:52:37] <DavidS> I bet one could make that recursively, i.e. point the .gitmodules to ./ :-) | ||
| [2009/06/09 07:58:12] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 07:58:23] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/06/09 07:58:36] @ Quit: Welsh_Dwarf: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 07:58:55] @ cwebber joined channel #puppet | ||
| [2009/06/09 08:00:38] <DavidS> that worked ]:-) jamesturnbull: I've reset the repo again (and I'll do it again,) but the repo now has both the common and the munin module as branch AND submodule ... | ||
| [2009/06/09 08:01:23] <DavidS> if that looks remotely sensible I'll cleanly re-create the repo with all modules | ||
| [2009/06/09 08:05:57] <DavidS> it works even under with msysgit under vista | ||
| [2009/06/09 08:18:19] @ Quit: docelic: Read error: 110 (Connection timed out) | ||
| [2009/06/09 08:19:03] @ docelic joined channel #puppet | ||
| [2009/06/09 08:19:17] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 08:19:36] @ cwebber joined channel #puppet | ||
| [2009/06/09 08:24:46] @ Quit: maxagaz: "Leaving" | ||
| [2009/06/09 08:28:14] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 08:28:39] @ cwebber joined channel #puppet | ||
| [2009/06/09 08:31:02] <Berge> jamesturnbull: I just received a copy of Pulling strings with Puppet the other day. It's a very handy read; Big cheers for writing it (-: | ||
| [2009/06/09 08:32:23] <Berge> jamesturnbull: Though, for the next print, could you perhaps consider adding an index? I figure it would be very useful. | ||
| [2009/06/09 08:32:53] <Berge> jamesturnbull: Still, the book is great. (-: | ||
| [2009/06/09 08:32:57] <DavidS> Berge: that's by far the most common request and will be honored in the next revision | ||
| [2009/06/09 08:33:05] <blahdeblah> jamesturnbull: Add me to that request. I had to start my own index on the blank pages in the back! | ||
| [2009/06/09 08:33:10] <Berge> DavidS: Ah, wonderful. | ||
| [2009/06/09 08:33:47] <DavidS> blahdeblah, Berge: AFAIUI this series doesn't have indices. publisher's policy. | ||
| [2009/06/09 08:34:14] <Berge> DavidS: Huh, that's kind of surprising. | ||
| [2009/06/09 08:35:19] <Berge> Especially considering the nature of the series, which seem to cover various technical topics. | ||
| [2009/06/09 08:36:40] @ tim|macbook joined channel #puppet | ||
| [2009/06/09 08:39:52] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 08:39:55] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 08:48:31] <DavidS> jamesturnbull: ok, I pushed the complete repo to http://github.com/DavidS/Puppet-Common-Modules/tree/manifests | ||
| [2009/06/09 08:52:33] @ matty joined channel #puppet | ||
| [2009/06/09 08:53:07] @ mikepea joined channel #puppet | ||
| [2009/06/09 08:54:46] <sheldonh> i have a class (package_fixer) that, i hope, will sometimes change a system poperty for which i have a custom fact (problem_package_count). is there a way to cause the fact to be rechecked once the class is done, so that the catalog compile report will be correct? | ||
| [2009/06/09 08:57:02] @ lak joined channel #puppet | ||
| [2009/06/09 08:58:42] @ cwebber joined channel #puppet | ||
| [2009/06/09 08:58:43] @ Quit: cwebber_: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 09:00:07] @ cwebber_ joined channel #puppet | ||
| [2009/06/09 09:00:15] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 09:00:43] @ Quit: lak: Client Quit | ||
| [2009/06/09 09:01:17] @ kngus joined channel #puppet | ||
| [2009/06/09 09:01:22] @ kngus left channel #puppet ("Leaving.") | ||
| [2009/06/09 09:10:47] <Volcane> sheldonh: nope | ||
| [2009/06/09 09:15:56] @ Quit: glaw: ""Between two evils, I always pick the one I never tried before" Mae West" | ||
| [2009/06/09 09:16:08] @ Quit: yure: Remote closed the connection | ||
| [2009/06/09 09:16:08] @ glaw joined channel #puppet | ||
| [2009/06/09 09:20:09] @ Quit: cwebber_: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 09:20:30] @ cwebber joined channel #puppet | ||
| [2009/06/09 09:20:58] @ lak joined channel #puppet | ||
| [2009/06/09 09:21:06] <DavidS> lak: g'morning! | ||
| [2009/06/09 09:21:15] <lak> morning | ||
| [2009/06/09 09:21:22] <DavidS> do you have a few minutes? | ||
| [2009/06/09 09:23:12] <DavidS> two topics: I talked with james about the PuppetCommonModules project and we agreed that'd it be good if I'd publish my modules there (and incorporate other's revisions) | ||
| [2009/06/09 09:23:31] <DavidS> the other topic is about actually becoming a reductivelabs partner | ||
| [2009/06/09 09:26:26] <lak> DavidS: today is technically the last day of my vacation | ||
| [2009/06/09 09:26:36] <lak> i'm just getting a bit of 'net in before we pack up and drive back home | ||
| [2009/06/09 09:26:52] <lak> so i'm only online for a few minutes but i'll be around starting tomorrow | ||
| [2009/06/09 09:27:14] <DavidS> lak: understood | ||
| [2009/06/09 09:27:46] <DavidS> its more of a long-term discussion anyways. | ||
| [2009/06/09 09:28:15] @ Quit: bartvb: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 09:28:33] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 09:28:40] @ mattock left channel #puppet () | ||
| [2009/06/09 09:28:48] @ cwebber joined channel #puppet | ||
| [2009/06/09 09:31:17] <coofamani> When I have a dependency, is it "the way" to create a class for the dependency (perl) and include it in dependent classes? | ||
| [2009/06/09 09:31:32] <coofamani> class smokeping { include perl } | ||
| [2009/06/09 09:32:19] <coofamani> or is it better to require => Class[perl] in a specific component? | ||
| [2009/06/09 09:32:32] <coofamani> and good morning :) | ||
| [2009/06/09 09:33:04] <DavidS> coofamani: you sometimes need both, but usually you only do it if you need Class[perl] in different modules | ||
| [2009/06/09 09:33:17] <DavidS> also "include perl" doesn't do anything about order | ||
| [2009/06/09 09:33:21] <coofamani> I imagine it will be required by other modules as well | ||
| [2009/06/09 09:33:24] @ loquito joined channel #puppet | ||
| [2009/06/09 09:33:29] <DavidS> there you go | ||
| [2009/06/09 09:33:36] @ bartvb joined channel #puppet | ||
| [2009/06/09 09:33:40] <duritong> :q | ||
| [2009/06/09 09:33:42] <coofamani> so I kinda need to do both? because I cant require it unless its included, correct? | ||
| [2009/06/09 09:33:43] <duritong> bleh | ||
| [2009/06/09 09:34:27] <HarryCalahan> coofamani: you include both modules in the node and then inside of smokeping make the require. This ensures that perl ist there before smokeping complains about it | ||
| [2009/06/09 09:34:46] <DavidS> coofamani: yes. you _could_ require another part of the config to include the class, but that'd be (mostly) stupid | ||
| [2009/06/09 09:34:53] <loquito> I need to have the same version of ruby + puppet on different nix's, what is the best way to go about this. Namely, ubuntu/centos | ||
| [2009/06/09 09:35:02] <DavidS> and if you don't know cases where that'd be useful, be gad and ignore it | ||
| [2009/06/09 09:35:25] <coofamani> when you say'another part of the config' Im not sure what you mean | ||
| [2009/06/09 09:35:31] <HarryCalahan> loquito: most likely rolling your own packages | ||
| [2009/06/09 09:35:38] <DavidS> loquito: package { $package: ensure => $version } with $package = $operatingsystem ? { ... } and $version ditto | ||
| [2009/06/09 09:36:05] <coofamani> HarryCalahan: I want to avoid buillding out a dependency tree in the node definition, that doesnt seem right | ||
| [2009/06/09 09:36:10] <DavidS> coofamani: you could "include perl" at the end of your site.pp and it'd be enough | ||
| [2009/06/09 09:36:17] <duritong> anybody an idea why the following execs fail, while running it by hand (as the git user) sin't failing? http://gist.github.com/126483 | ||
| [2009/06/09 09:36:18] <coofamani> eww | ||
| [2009/06/09 09:36:26] <loquito> HarryCalahan: Is there any docs on how to do that? | ||
| [2009/06/09 09:36:40] <Volcane> DavidS: including things in site.pp, yuk! | ||
| [2009/06/09 09:36:51] <duritong> it looks like exitcode is 127, however I don't see why | ||
| [2009/06/09 09:37:21] <DavidS> duritong: wrong group? use ":" as path separator instead of ","? | ||
| [2009/06/09 09:37:30] <HarryCalahan> coofamani: then have the include perl at the beginning of the smokeping class. To make sure that perl is processed before smokeping i would do an explicit require => Class['perl'] on the first package that gets installed by class smokeping | ||
| [2009/06/09 09:37:40] <DavidS> HarryCalahan++ | ||
| [2009/06/09 09:37:54] @ HarryCalahan is now known as HarryCalahan2 | ||
| [2009/06/09 09:38:08] <Volcane> surely "the first package" doesnt really make a difference? | ||
| [2009/06/09 09:38:17] <duritong> DavidS: ok this gives me a new error | ||
| [2009/06/09 09:38:17] <DavidS> not HarryCalahao ? | ||
| [2009/06/09 09:38:28] @ HarryCalahan2 is now known as HarryCalahan | ||
| [2009/06/09 09:38:37] <HarryCalahan> :P | ||
| [2009/06/09 09:38:38] <duritong> you're right I missed that in writing a single manifest from my module | ||
| [2009/06/09 09:38:40] <coofamani> HarryCalahan: thanks, was just going to ask if this was the best way: http://pastebin.com/m2f324779 | ||
| [2009/06/09 09:38:43] <DavidS> HarryCalahan: :) | ||
| [2009/06/09 09:39:03] <HarryCalahan> coofamani: thats how i would do it. | ||
| [2009/06/09 09:39:12] <DavidS> coofamani: yes | ||
| [2009/06/09 09:39:21] * duritong updated gist | ||
| [2009/06/09 09:40:01] <DavidS> and the exec{}? | ||
| [2009/06/09 09:40:10] <duritong> and the exec | ||
| [2009/06/09 09:40:32] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 09:40:35] * duritong is added to the gist | ||
| [2009/06/09 09:40:36] <HarryCalahan> Volcane: just want to make sure that the perl-class is completed before the smokeping. | ||
| [2009/06/09 09:40:47] @ cwebber joined channel #puppet | ||
| [2009/06/09 09:41:06] <Volcane> HarryCalahan: just wondering why only setting it on the first package resource | ||
| [2009/06/09 09:41:32] <DavidS> and "su - git -c 'gitosis-init < initial_admin_pubkey.puppet'; echo $?" works and prints zero? | ||
| [2009/06/09 09:41:45] <HarryCalahan> Volcane: well on one of the packages that smokeping installs. scratch the first then ;) | ||
| [2009/06/09 09:42:00] <HarryCalahan> loquito: docs on rolling your own packages? | ||
| [2009/06/09 09:42:26] <duritong> DavidS: http://gist.github.com/126493 | ||
| [2009/06/09 09:42:54] @ Quit: lak: | ||
| [2009/06/09 09:43:10] <coofamani> HarryCalahan: smokeping will be its own Package[], so you can require it there | ||
| [2009/06/09 09:43:32] <loquito> HarryCalahan: Yep | ||
| [2009/06/09 09:43:55] <henk> my puppetd does not contact my puppetmaster. i don't know why. --verbose and --debug don't help... any hints? | ||
| [2009/06/09 09:44:17] <tim|macbook> henk: did you try telnet? | ||
| [2009/06/09 09:44:28] <tim|macbook> or openssl client? | ||
| [2009/06/09 09:44:41] <HarryCalahan> loquito: building rpm and deb packages is out of scope for this channel. But Google should bring up a lot of tutorials. | ||
| [2009/06/09 09:44:59] @ fzzzt joined channel #puppet | ||
| [2009/06/09 09:45:05] <DavidS> duritong: and that works two times in a row? what permissions does /home/git have? | ||
| [2009/06/09 09:45:09] <z00dax> HarryCalahan: google for 'fedora rpm guide' for rpm packaging :) | ||
| [2009/06/09 09:45:15] <fzzzt> ctso: ping | ||
| [2009/06/09 09:45:50] <duritong> DavidS: no it doesn't work 2 times in a row, therefor I do the unless test, however I can clean it up | ||
| [2009/06/09 09:46:05] <henk> tim|macbook: tried telnet. worked fine. | ||
| [2009/06/09 09:46:06] <duritong> drwxr-x--- 3 git git 4096 Jun 9 15:42 git | ||
| [2009/06/09 09:46:27] <henk> tim|macbook: or rather: 'got a connection, didn't know what more to do with it' | ||
| [2009/06/09 09:46:35] <tim|macbook> try the openssl client | ||
| [2009/06/09 09:47:02] <henk> tim|macbook: hm? how, which, where, what, why? | ||
| [2009/06/09 09:47:04] <DavidS> duritong: very strange | ||
| [2009/06/09 09:47:12] <henk> tim|macbook: sorry :) just a small hint, i have no idea what client you mena. | ||
| [2009/06/09 09:47:15] <henk> s/mena/mean/ | ||
| [2009/06/09 09:47:26] <duritong> DavidS: indeed | ||
| [2009/06/09 09:47:38] <DavidS> henk: openssl has a client command to test and verify connections | ||
| [2009/06/09 09:47:46] <DavidS> client_d? | ||
| [2009/06/09 09:47:47] <duritong> DavidS: return code is 256 | ||
| [2009/06/09 09:47:47] <DavidS> client_s? | ||
| [2009/06/09 09:48:13] <DavidS> duritong: is gitosis-init on this path? | ||
| [2009/06/09 09:48:19] <HarryCalahan> DavidS: s_client | ||
| [2009/06/09 09:48:38] <henk> shouldn't puppetd spit out some error with '--verbose --debug' if it wasn't able to contact the server? from the output i see it's not even trying! | ||
| [2009/06/09 09:48:38] <loquito> HarryCalahan: Oh, I was just thinking of making a tar ball, the reason I am asking is that when I try and use the stuff from source at the moment on centos 5.3 and it is giving me an error saying http://gist.github.com/126500 | ||
| [2009/06/09 09:49:02] <tim|macbook> henk: wiki:CertificatesAndSecurity | ||
| [2009/06/09 09:49:04] <gepetto> tim|macbook: henk: wiki:CertificatesAndSecurity is http://reductivelabs.com/trac/puppet/wiki/CertificatesAndSecurity | ||
| [2009/06/09 09:49:04] <duritong> DavidS: which gitosis-init | ||
| [2009/06/09 09:49:05] <duritong> /usr/bin/gitosis-init | ||
| [2009/06/09 09:49:06] <tim|macbook> somewhere near the bottom | ||
| [2009/06/09 09:49:28] <duritong> and it also fails if I give the full path | ||
| [2009/06/09 09:49:49] <DavidS> duritong: and this is the same you're using with su? (I've had several problems with half-installed packages or stuff in /usr/local) | ||
| [2009/06/09 09:50:02] <coofamani> loquito: figure out your puppet+rpm issue rather than working around it | ||
| [2009/06/09 09:50:13] @ Quit: d3vilb0x: | ||
| [2009/06/09 09:50:33] <coofamani> why is ProviderYum executing /bin/rpm? | ||
| [2009/06/09 09:50:43] <henk> tim|macbook: oh sorry, forgot to mention that: i installed the client yesterday and it made the cert request just fine. the last logentry on the puppetmaster is from 12:52 today (about 3 hours ago) though. so it seems that the client DID contact the server at least once... | ||
| [2009/06/09 09:50:47] <coofamani> and apt, etc... | ||
| [2009/06/09 09:50:47] <HarryCalahan> openssl s_client -connect puppet.example.com:8140 | ||
| [2009/06/09 09:50:54] <Volcane> coofamani: to find the current state of a package | ||
| [2009/06/09 09:51:10] <coofamani> sorry, I meant apt | ||
| [2009/06/09 09:51:14] <tim|macbook> henk: then i have no idea :( try to see if it's sending traffic at all with tcpdump... also, which version are you using? | ||
| [2009/06/09 09:51:21] <coofamani> yum+rpm makes sense. apt+rpm? | ||
| [2009/06/09 09:51:24] <henk> when i start puppet via the initscript i have one process 'ruby /usr/sbin/puppetd -w 5'. the -w looks like the certificate isn't there yet, is that possible? | ||
| [2009/06/09 09:51:30] @ Quit: cwebber: Read error: 60 (Operation timed out) | ||
| [2009/06/09 09:51:32] <Volcane> coofamani: where do you see this? | ||
| [2009/06/09 09:51:43] <coofamani> loquitos pastebin | ||
| [2009/06/09 09:52:05] <coofamani> http://gist.github.com/126500 | ||
| [2009/06/09 09:52:19] @ cwebber joined channel #puppet | ||
| [2009/06/09 09:52:21] <henk> tim|macbook: yeah, will do that if everything else fails... i'm running debian stable. | ||
| [2009/06/09 09:52:37] <loquito> coofamani: I guess it is just trying the different providers after the first one failed | ||
| [2009/06/09 09:52:42] <tim|macbook> henk: so you're running lenny? | ||
| [2009/06/09 09:52:51] <Volcane> coofamani: its at that point just tyring to figure out what u have on your system | ||
| [2009/06/09 09:53:04] <coofamani> Volcane: ah | ||
| [2009/06/09 09:53:16] <henk> HarryCalahan, tim|macbook, DavidS: output of the openssl client command: http://paste.debian.net/38487/ | ||
| [2009/06/09 09:53:39] <henk> tim|macbook: yes. 0.24.5-3 | ||
| [2009/06/09 09:54:06] <tim|macbook> henk: i have no idea then, sorry | ||
| [2009/06/09 09:54:10] <henk> btw it seems the logs are ... not flushed to disk or something. | ||
| [2009/06/09 09:54:34] <henk> when i cat /var/log/puppet/masterhttp.log i get an incomplete last line. | ||
| [2009/06/09 09:55:06] <DavidS> henk: typical buffering issue | ||
| [2009/06/09 09:55:07] <loquito> coofamani: I read something saying that this error is to do with the fact that centos is using an old version of yum and its help script | ||
| [2009/06/09 09:55:19] <henk> DavidS: and the issue is where? | ||
| [2009/06/09 09:56:02] <henk> it's definitely annoying when you are trying to debug... | ||
| [2009/06/09 09:56:08] <loquito> coofamani: But I am not sure upgrading the heart of centos by compiling source is the best thing to do. | ||
| [2009/06/09 09:56:40] <henk> because now that i got the lines from 12:52 till like 13.51 i see that the client indeed did connect to the server. | ||
| [2009/06/09 09:57:00] <coofamani> loquito: havent looked much into your specific error, but Im using RHEL5.3 x64 with rpms with no issues | ||
| [2009/06/09 09:57:53] <loquito> coofamani: Not sure on this but do Redhat and centos have their version numbers synced? | ||
| [2009/06/09 09:58:24] <Volcane> works just fine on my centos machines | ||
| [2009/06/09 09:58:29] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 09:58:47] <HarryCalahan> loquito: yes version numbers are in sync | ||
| [2009/06/09 09:58:52] @ cwebber joined channel #puppet | ||
| [2009/06/09 09:58:55] <coofamani> loquito: centos is built from the RHEL source, they should be identical except for the logos in the installer gui | ||
| [2009/06/09 09:59:00] <tim|macbook> henk: alias kickpuppet='sudo puppetd --no-daemonize --no-splay --onetime --logdest console --logdest syslog' | ||
| [2009/06/09 09:59:03] <tim|macbook> that's what we use | ||
| [2009/06/09 09:59:04] <tim|macbook> easier | ||
| [2009/06/09 09:59:12] <loquito> Volcane: You are using the distro version of ruby + puppet right? | ||
| [2009/06/09 09:59:28] <Volcane> ruby yes, theres no distro version of puppet for rhel | ||
| [2009/06/09 09:59:43] <Volcane> stock 0.24.8 here built into a rpm using the supplied spec | ||
| [2009/06/09 10:00:08] <fzzzt> i use the epel one oh my rh boxes | ||
| [2009/06/09 10:00:14] <Volcane> how'd you install puppet and/or upgrade it? | ||
| [2009/06/09 10:00:20] <loquito> Volcane: and if we need to have ruby 1.8.7 installed on our system? | ||
| [2009/06/09 10:00:40] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 10:00:40] <Volcane> prety sure puppet works fine with 1.8.7 | ||
| [2009/06/09 10:00:43] @ cwebber joined channel #puppet | ||
| [2009/06/09 10:00:50] <coofamani> tim|macbook: whats --no-splay? cant find that in the docs | ||
| [2009/06/09 10:01:08] <tim|macbook> coofamani: it disables the splay, since we have that enabled in the config | ||
| [2009/06/09 10:01:19] <tim|macbook> splay being a random wait time before the run actually starts | ||
| [2009/06/09 10:01:21] <loquito> Volcane: I installed it from the source packages, and it gave me that error with yum + rpm | ||
| [2009/06/09 10:01:26] <coofamani> ah | ||
| [2009/06/09 10:01:48] <Volcane> loquito: not sure, never tried it on ruby 1.8.7 | ||
| [2009/06/09 10:01:54] <Volcane> others might have | ||
| [2009/06/09 10:03:09] <henk> tim|macbook: o_O whichever of those options is responsible: it worked now. | ||
| [2009/06/09 10:03:13] <loquito> Volcane: it is not the ruby version, it is puppet installed from source, when I did it from epel, it was fine, but that installs ruby 1.8.5 | ||
| [2009/06/09 10:03:28] <Volcane> how'd you install your non std ruby? | ||
| [2009/06/09 10:03:38] <loquito> compile from source | ||
| [2009/06/09 10:03:54] <Volcane> *shrug* compile from source on package managed distros will do that to you | ||
| [2009/06/09 10:04:02] <coofamani> loquito: fyi mine is all from EPEL and no errors. ruby 1.8.5 | ||
| [2009/06/09 10:04:40] <loquito> Volcane: Okay I am not mixing, I have ruby from source and puppet from source and it is not working | ||
| [2009/06/09 10:04:51] <loquito> versions 1.8.7 + 0.24.8 | ||
| [2009/06/09 10:06:14] <loquito> The reason I compile ruby from source is that it is a rails server, and when we want to move to 1.9.1 I don't want to have to wait for the distros to all catch up | ||
| [2009/06/09 10:09:11] <loquito> Also we develop on ubuntu here, and there version is puppet 0.24.5 or something like that | ||
| [2009/06/09 10:10:51] @ rasputnik_ joined channel #puppet | ||
| [2009/06/09 10:12:48] <DavidS> Volcane: what's up with wiki:ModuleDocumentationStandards? is that current? | ||
| [2009/06/09 10:13:49] <gepetto> DavidS: Volcane: wiki:ModuleDocumentationStandards is http://reductivelabs.com/trac/puppet/wiki/ModuleDocumentationStandards | ||
| [2009/06/09 10:13:51] <Volcane> no | ||
| [2009/06/09 10:13:51] <Volcane> nothing about common module thing is current/relevant | ||
| [2009/06/09 10:13:51] <Volcane> kill it and point to the new puppetdoc foo | ||
| [2009/06/09 10:13:51] <DavidS> let me rephraase that: is naturaldocs still a good idea to pursue? | ||
| [2009/06/09 10:13:51] <Volcane> no, kill it and point to the new puppetdoc foo :) | ||
| [2009/06/09 10:14:27] <DavidS> is there a puppetdoc that can generate module documentation? or are you implying I should do one? | ||
| [2009/06/09 10:14:39] <Volcane> puppetdoc in 0.24.8 is like javadoc | ||
| [2009/06/09 10:14:54] <DavidS> "The puppetdoc binary is used to extract documentation from your manifests and modules if you've documented them as described here." | ||
| [2009/06/09 10:14:59] <DavidS> wow o_O | ||
| [2009/06/09 10:15:07] <DavidS> seems like I missed much fun :) | ||
| [2009/06/09 10:15:08] <JD_> erm "Could not store configs: PGError: no connection to the server : ROLLBACK" should I be concerned about that? | ||
| [2009/06/09 10:15:22] @ JD_ is now known as JD | ||
| [2009/06/09 10:15:33] <JD> I'm getting some nodes in the database | ||
| [2009/06/09 10:18:31] <duritong> DavidS: if I put the su - -c ... command into the exec it works fine | ||
| [2009/06/09 10:18:37] <duritong> I don't get it | ||
| [2009/06/09 10:20:14] @ Quit: rasputnik: Read error: 110 (Connection timed out) | ||
| [2009/06/09 10:20:54] <DavidS> duritong: some difference in the (shell) environment? | ||
| [2009/06/09 10:21:21] <DavidS> try adding "env -i" | ||
| [2009/06/09 10:21:25] <duritong> yeah looks like | ||
| [2009/06/09 10:21:28] <DavidS> (clears the whole nevironment | ||
| [2009/06/09 10:21:34] <DavidS> typos-- | ||
| [2009/06/09 10:22:04] @ Quit: cwebber: Read error: 113 (No route to host) | ||
| [2009/06/09 10:22:05] <duritong> command => "env -i;gitosis-init < initial_admin_pubkey.puppet", | ||
| [2009/06/09 10:22:06] <duritong> ? | ||
| [2009/06/09 10:22:33] @ cwebber joined channel #puppet | ||
| [2009/06/09 10:22:51] <duritong> hmm maybe I see the problem, letme test | ||
| [2009/06/09 10:23:13] <gepetto> ::trac:: Module Documentation Standards edited by DavidS @ http://reductivelabs.com/trac/puppet/wiki/ModuleDocumentationStandards (by david@schmitt.edv-bus.at) | ||
| [2009/06/09 10:23:13] <gepetto> ::trac:: Module Documentation Standards edited by DavidS @ http://reductivelabs.com/trac/puppet/wiki/ModuleDocumentationStandards (by david@schmitt.edv-bus.at) | ||
| [2009/06/09 10:23:44] <DavidS> su - git -c 'env -i gitosis-init < initial_admin_pubkey.puppet' | ||
| [2009/06/09 10:23:49] <DavidS> will probably fail | ||
| [2009/06/09 10:24:02] <DavidS> then you can be sure it is a missing environment var | ||
| [2009/06/09 10:24:30] <duritong> well doesn't su - already start a complete new environement? | ||
| [2009/06/09 10:24:53] @ Quit: nasrat: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 10:24:57] @ notbrien joined channel #puppet | ||
| [2009/06/09 10:25:20] <DavidS> and then runs a login shell | ||
| [2009/06/09 10:25:24] @ incommon_ike joined channel #puppet | ||
| [2009/06/09 10:25:42] <duritong> DavidS: it's not failing | ||
| [2009/06/09 10:25:54] <incommon_ike> Has anyone used the concept of unit tests with modules? | ||
| [2009/06/09 10:26:17] <duritong> DavidS: but as gitosis-init have to write into the authorized_keys of the user, I suspect that maybe one of the env variables it is using aren't correct | ||
| [2009/06/09 10:26:32] <incommon_ike> so each time a module is executed on a client, it also runs tests to ensure configurations | ||
| [2009/06/09 10:26:34] @ erth joined channel #puppet | ||
| [2009/06/09 10:27:04] <Volcane> thats central to the concept of puppet | ||
| [2009/06/09 10:27:10] @ d3vilb0x joined channel #puppet | ||
| [2009/06/09 10:27:21] <Volcane> if you say package{"foo": ensure => present} the package resource will fail if it cant install the package | ||
| [2009/06/09 10:27:56] <incommon_ike> but what about conflicting changes? | ||
| [2009/06/09 10:28:02] <Volcane> example? | ||
| [2009/06/09 10:28:46] <incommon_ike> perhaps selinux policy changes? apache mod config changes? | ||
| [2009/06/09 10:28:47] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 10:28:57] @ cwebber joined channel #puppet | ||
| [2009/06/09 10:29:24] <Volcane> so you want the unit test to fail if ever someone changes a certain vhost? not sure i am following your intent | ||
| [2009/06/09 10:29:28] @ Quit: kolla: Remote closed the connection | ||
| [2009/06/09 10:29:29] <DavidS> duritong: like $HOME? | ||
| [2009/06/09 10:29:33] <fzzzt> Well I found a workaround for my environment variables that avoids the issue of renaming all the qualified variables names when i move a system from testing to production | ||
| [2009/06/09 10:29:36] <fzzzt> \o/ | ||
| [2009/06/09 10:29:52] <duritong> DavidS: yeah it have to be, beacuse the following works: | ||
| [2009/06/09 10:30:41] <duritong> http://gist.github.com/126541 | ||
| [2009/06/09 10:31:04] <DavidS> duritong: o_O | ||
| [2009/06/09 10:31:30] @ n0ts_____ joined channel #puppet | ||
| [2009/06/09 10:33:14] <incommon_ike> volcane: i've got my configurations divided up into roles. Web, Database, etc. | ||
| [2009/06/09 10:34:06] <incommon_ike> our goal is to have it so that clustered nodes can have more than one role. | ||
| [2009/06/09 10:34:21] <joe-mac1> include multiple classes? | ||
| [2009/06/09 10:34:25] <DavidS> Volcane: puppetdoc++! | ||
| [2009/06/09 10:34:28] <incommon_ike> I'm worried about the collisions of these configurations and how to test for them. | ||
| [2009/06/09 10:35:00] <Volcane> incommon_ike: ah well if two modules tries to manage the same file it will fail to run anyway, but you'd need to have designed your modules/classes with this use case in mind too | ||
| [2009/06/09 10:35:48] <DavidS> it just seems to use the comment _afteR_ an item for the item, instead of the one before? | ||
| [2009/06/09 10:36:29] <DavidS> e.g http://github.com/DavidS/Puppet-Common-Modules/blob/80a4eb1fc5cf27a695241c69be05308ed9111aa3/manifests/site.pp creates this: | ||
| [2009/06/09 10:36:46] <DavidS> munin_cidr_allow = ['127.0.0.1/ import common module first to get all variables to the other[...] | ||
| [2009/06/09 10:37:09] <Volcane> nods, some odd things, like i dont know how it delimits modules either | ||
| [2009/06/09 10:37:16] <Volcane> but still, its a lot more awesome than anything else | ||
| [2009/06/09 10:37:17] <incommon_ike> volcane: does this apply for directories as well? so if 2 modules modify ACLs on a folder an error will be thrown. Hmmm...time to change to some defines. | ||
| [2009/06/09 10:37:20] <Volcane> masterzen wrote that bit | ||
| [2009/06/09 10:37:29] <Volcane> incommon_ike: any resource can only be managed once in puppet | ||
| [2009/06/09 10:37:55] <sheldonh> can i do confine :kernel => :linux, :operatingsystem => "Debian", or must i do two confines? | ||
| [2009/06/09 10:38:42] <incommon_ike> aahhh. So it takes a last one wins approach, right? And overwrites the previous changes. {light bulb goes on} | ||
| [2009/06/09 10:39:02] <Volcane> incommon_ike: no, if you try to do it its a runtime error and it just wont run | ||
| [2009/06/09 10:40:02] <Volcane> put: file{["/tmp/1", "/tmp/1"]: } into test.pp | ||
| [2009/06/09 10:40:05] <Volcane> and run puppet test.pp | ||
| [2009/06/09 10:40:08] <Volcane> thats what will happen | ||
| [2009/06/09 10:40:15] <incommon_ike> oh. hmmm. okay. then I must be seeing something else. | ||
| [2009/06/09 10:40:56] <Volcane> incommon_ike: if however you have weird things like broken packages that manages the same file, or execs that touch the same ffile, or scripts called via exec that touches the same file, then you cant predict the outcome easily | ||
| [2009/06/09 10:41:03] @ nasrat joined channel #puppet | ||
| [2009/06/09 10:41:17] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 10:41:43] @ cwebber joined channel #puppet | ||
| [2009/06/09 10:42:21] @ Quit: n0ts____: Read error: 113 (No route to host) | ||
| [2009/06/09 10:43:02] <sheldonh> meh. my IO.popen("dpkg -l").do ... is leaving defunct dpkg-query processes lying about :( | ||
| [2009/06/09 10:43:11] <incommon_ike> volcane: thanks. been struggling with that this project as we have several things changing at the same time (SAN, network, software, etc) | ||
| [2009/06/09 10:44:08] @ Quit: nasrat: Client Quit | ||
| [2009/06/09 10:45:43] <duritong> jamesturnbull: 500 on redmine | ||
| [2009/06/09 10:48:05] @ Quit: fujin: | ||
| [2009/06/09 10:48:13] <sheldonh> oh excellent. stale dpkg processes were from stale code. must remember to deploy committed changes :) | ||
| [2009/06/09 10:49:22] <DavidS> yay. rdoc creates files with "<>" in the name .. great</sarcasm> | ||
| [2009/06/09 10:50:46] <geoffr> is there a way to schedule a class to only run on Tuesdays? | ||
| [2009/06/09 10:51:43] @ madrescher joined channel #puppet | ||
| [2009/06/09 10:51:56] <DavidS> here's the output: http://club.black.co.at/david/puppet/doc/ | ||
| [2009/06/09 10:52:46] <coofamani> geoffr: what are you trying to do and should you be doing it via a cron job | ||
| [2009/06/09 10:52:50] <DavidS> the generated content is really great! | ||
| [2009/06/09 10:55:29] <geoffr> coofamani: nope via cron, doing a package upgrade and only want it to run during a maintenance window during certain hours. currently have the schedule => weekly, repeat => 1, range => [22:00, 23:30] | ||
| [2009/06/09 10:55:50] <DavidS> only the thing with variables is annoing | ||
| [2009/06/09 10:56:08] <geoffr> now want to have that only on Tuesdays (for now) | ||
| [2009/06/09 10:58:59] @ Quit: geoffr: Remote closed the connection | ||
| [2009/06/09 10:59:05] <coofamani> geoffr: could you do a ruby conditional statement that tests for the maintenance window | ||
| [2009/06/09 10:59:10] <DavidS> geoffr: what about protecting it with a tag and running "puppetd --test --tags maintenance" with cron at the right time | ||
| [2009/06/09 10:59:24] <DavidS> if (tagged('maintenance')) or so ... | ||
| [2009/06/09 11:01:58] @ Quit: cwebber: Read error: 113 (No route to host) | ||
| [2009/06/09 11:02:00] @ cwebber joined channel #puppet | ||
| [2009/06/09 11:03:00] @ claymation joined channel #puppet | ||
| [2009/06/09 11:03:17] @ fzzzt left channel #puppet () | ||
| [2009/06/09 11:04:00] @ Quit: HarryCalahan: "." | ||
| [2009/06/09 11:04:53] <coofamani> package { ["x","y","z": } is valid isnt it? getting expected '}' errors... | ||
| [2009/06/09 11:04:59] @ Quit: loquito: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 11:05:09] <coofamani> with trailing ] of course | ||
| [2009/06/09 11:05:31] @ Quit: padwan: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 11:05:39] @ bje joined channel #puppet | ||
| [2009/06/09 11:09:30] @ Quit: veritas_aequitas: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 11:15:54] @ veritas_aequitas joined channel #puppet | ||
| [2009/06/09 11:17:16] @ Quit: blahdeblah: Remote closed the connection | ||
| [2009/06/09 11:18:02] @ blahdeblah joined channel #puppet | ||
| [2009/06/09 11:21:56] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 11:22:17] @ cwebber joined channel #puppet | ||
| [2009/06/09 11:23:26] @ Quit: sheldonh: "Ex-Chat" | ||
| [2009/06/09 11:23:41] @ alfism joined channel #puppet | ||
| [2009/06/09 11:23:48] @ Quit: claymation: | ||
| [2009/06/09 11:24:44] <joe-mac1> is anybody using capistrano to deploy new puppet configs? | ||
| [2009/06/09 11:25:26] <coofamani> next on my list. having issues with it? | ||
| [2009/06/09 11:26:05] <joe-mac1> i've never used it before and i am currently doing small things like apt upgrades and whatnot, i have a puppet push script but i want to replace it with a cap task | ||
| [2009/06/09 11:26:31] <joe-mac1> i see stuff like :deploy_to and whatnot, but i don't understand where the magic happens | ||
| [2009/06/09 11:26:53] <Telmo> coofamani: $packages = [ "y", "x", "z", ] | ||
| [2009/06/09 11:27:09] <Telmo> packages [ $packages: ensure = > installed } | ||
| [2009/06/09 11:27:32] <Telmo> can't define an array of packages directly inside the package resource | ||
| [2009/06/09 11:27:53] <coofamani> Telmo: actually it looks like you can. ended up being that I didnt close my class{ | ||
| [2009/06/09 11:28:07] @ grim_radical joined channel #puppet | ||
| [2009/06/09 11:28:08] <Telmo> cool | ||
| [2009/06/09 11:28:24] <coofamani> from the way it complained I was looking for an unclosed bracket above the error. | ||
| [2009/06/09 11:29:37] <joe-mac1> plus i want to understand it so i can have our web devs use it for deployment. right now for web deploys i wruite one off scripts for them | ||
| [2009/06/09 11:31:46] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 11:32:23] @ cwebber joined channel #puppet | ||
| [2009/06/09 11:39:31] <joe-mac1> a period in the description of a task causes cap to stop reading the rest of the desc... is this a known problem? | ||
| [2009/06/09 11:39:58] @ Quit: phips: Read error: 113 (No route to host) | ||
| [2009/06/09 11:42:12] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 11:42:35] @ cwebber joined channel #puppet | ||
| [2009/06/09 11:44:54] @ Quit: |Innocenti|: Client Quit | ||
| [2009/06/09 11:46:42] @ Hikah joined channel #puppet | ||
| [2009/06/09 11:50:34] @ Quit: MattyM: Read error: 110 (Connection timed out) | ||
| [2009/06/09 11:51:02] <henk> is that 'File { backup => server }' in the 'site.pp' enough to make sure every file changed by puppet is backupped on the server? | ||
| [2009/06/09 11:51:21] <joe-mac1> yes | ||
| [2009/06/09 11:51:23] <henk> ah, i need a filebucket named 'server', is that right? | ||
| [2009/06/09 11:51:26] <joe-mac1> yes | ||
| [2009/06/09 11:51:40] <henk> puppet.conf on puppetmasterd or site.pp? | ||
| [2009/06/09 11:51:46] <joe-mac1> i justr ealized i posted that capistrano bug in the wrong xchannel... | ||
| [2009/06/09 11:51:51] <joe-mac1> henk: can't rermember let me check | ||
| [2009/06/09 11:52:14] <joe-mac1> site.pp henk | ||
| [2009/06/09 11:52:18] <henk> thanks! | ||
| [2009/06/09 11:52:22] <joe-mac1> filebucket { main: server => puppet } | ||
| [2009/06/09 11:52:23] <joe-mac1> that's mine | ||
| [2009/06/09 11:52:38] <joe-mac1> then immediatelt following that i have File { backup => main } | ||
| [2009/06/09 11:52:49] @ martha joined channel #puppet | ||
| [2009/06/09 11:52:52] @ briandquinn joined channel #puppet | ||
| [2009/06/09 11:57:53] <DavidS> hi martha! are you still interested in the puppet common modules project? | ||
| [2009/06/09 11:58:26] <DavidS> I talked to james today and have prepared a git repo on github for finally bootstrapping somthing "offical | ||
| [2009/06/09 11:58:27] <DavidS> " | ||
| [2009/06/09 11:58:43] <martha> hi David. yes, I am, although I haven't had any free time | ||
| [2009/06/09 11:58:47] <DavidS> http://github.com/DavidS/Puppet-Common-Modules/tree/manifests | ||
| [2009/06/09 11:58:50] @ kolla joined channel #puppet | ||
| [2009/06/09 11:59:06] <DavidS> also started to rdoc-ify the modules: http://club.black.co.at/david/puppet/doc/ | ||
| [2009/06/09 12:00:17] <DavidS> my puppet-side was dead for the last few months, but now i want to invest more time again and get the ball rolling again .. there are so many clones of my work out there, many with good improvements. it's a mess and i feel guilty | ||
| [2009/06/09 12:01:19] @ _orbit_ joined channel #puppet | ||
| [2009/06/09 12:01:39] <martha> yeah. I've actually used a lot of your modules and added tons to them. | ||
| [2009/06/09 12:02:04] @ Quit: cwebber: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 12:02:14] <DavidS> I'll try to start small with the modules listed on my github profile (http://github.com/DavidS) | ||
| [2009/06/09 12:02:35] <martha> DavidS: I added a github account for myself - marthag | ||
| [2009/06/09 12:02:47] @ _orbit_ is now known as orbit | ||
| [2009/06/09 12:02:51] @ Quit: glaw: Remote closed the connection | ||
| [2009/06/09 12:02:52] @ cwebber joined channel #puppet | ||
| [2009/06/09 12:02:53] @ claymation joined channel #puppet | ||
| [2009/06/09 12:02:55] <coofamani> whats your goal? universally compatible common modules? | ||
| [2009/06/09 12:03:11] @ Quit: cwebber: Remote closed the connection | ||
| [2009/06/09 12:03:54] @ minoru_spain joined channel #puppet | ||
| [2009/06/09 12:04:03] <DavidS> coofamani: have a common base where you can start working on. like just "include ssh::server" and have a proper ssh-key-distribution | ||
| [2009/06/09 12:04:04] <minoru_spain> hello! | ||
| [2009/06/09 12:04:08] <martha> coofamani: yes. starter modules for common things | ||
| [2009/06/09 12:04:36] <martha> I suppose I'll have to learn git now :-) | ||
| [2009/06/09 12:04:59] <coofamani> yeah, was just thinking its time to learn git myself | ||
| [2009/06/09 12:05:00] <simmerz> martha: git's easy :) | ||
| [2009/06/09 12:05:19] <simmerz> i'm still trying to get my head around puppet. | ||
| [2009/06/09 12:05:37] <minoru_spain> Do you know how to get in touch with reductivelabs.com? We are calling to +1 615.554.8774 but get answering machine. | ||
| [2009/06/09 12:05:40] <DavidS> martha: have fun. for me git was a series of small epiphanies, | ||
| [2009/06/09 12:05:43] @ tecto joined channel #puppet | ||
| [2009/06/09 12:05:48] <coofamani> thats a great idea for a project. DavidS's github was extremely helpful when I first started with puppet. good reference | ||
| [2009/06/09 12:06:03] <DavidS> coofamani: have you seen http://git.black.co.at/ ? | ||
| [2009/06/09 12:06:15] <coofamani> yep | ||
| [2009/06/09 12:06:30] <DavidS> coofamani: sorry, I'm confused, was a long day already ... | ||
| [2009/06/09 12:06:44] <coofamani> :) | ||
| [2009/06/09 12:07:35] <DavidS> also, i'm still not used to being spoken about in third person while being present | ||
| [2009/06/09 12:08:15] <coofamani> coofamani understands | ||
| [2009/06/09 12:08:15] <martha> I have a huge codebase of puppet modules. Over 25,000 lines of puppet manifest, plus another 1700 lines of plugins. but I have to go over things by hand to see what can be released | ||
| [2009/06/09 12:08:40] <DavidS> martha: O_O | ||
| [2009/06/09 12:09:00] <DavidS> well I've got to go now; see y'all tomorrow! | ||
| [2009/06/09 12:09:19] <martha> see you! | ||
| [2009/06/09 12:09:38] <coofamani> see ya thanks | ||
| [2009/06/09 12:10:11] <DavidS> duritong: btw, I just checked your common module against mine and you should merge from me soon, I've done a heap of minor adjustments and doc-improvements | ||
| [2009/06/09 12:11:10] @ Quit: DavidS: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 12:13:12] <Telmo> Martha, then what are you doing here? go back to check it!! :) | ||
| [2009/06/09 12:13:45] <martha> Telmo: unfortunately, I have work work to do! | ||
| [2009/06/09 12:14:00] <Telmo> excuses excuses ;) | ||
| [2009/06/09 12:15:06] @ blentz_ is now known as wakko666 | ||
| [2009/06/09 12:18:49] <martha> there is a plan in place to go through all of our puppet modules and refactor them and comment them, now that there is a documentation standard. | ||
| [2009/06/09 12:18:59] @ Quit: claymation: | ||
| [2009/06/09 12:19:11] <martha> but I don't know when that will happen. it is kind of overwhelming to start. | ||
| [2009/06/09 12:20:22] <ctso> hey, anyone around use iclassify at all before | ||
| [2009/06/09 12:20:49] @ plathrop-away is now known as plathrop | ||
| [2009/06/09 12:20:59] @ coofamani is now known as ckrough | ||
| [2009/06/09 12:22:12] @ Quit: asa: | ||
| [2009/06/09 12:25:31] @ Quit: rasputnik_: Read error: 110 (Connection timed out) | ||
| [2009/06/09 12:28:04] @ graynor joined channel #puppet | ||
| [2009/06/09 12:32:14] @ notbrien_ joined channel #puppet | ||
| [2009/06/09 12:34:41] @ Quit: minoru_spain: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 12:35:52] @ claymation joined channel #puppet | ||
| [2009/06/09 12:36:08] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/06/09 12:40:46] @ Quit: mikepea: Read error: 60 (Operation timed out) | ||
| [2009/06/09 12:41:17] @ Quit: DerekW: Remote closed the connection | ||
| [2009/06/09 12:41:54] @ rasputnik_ joined channel #puppet | ||
| [2009/06/09 12:45:24] @ Quit: notbrien: Read error: 110 (Connection timed out) | ||
| [2009/06/09 12:46:02] @ Quit: graynor: "Leaving." | ||
| [2009/06/09 12:47:12] @ flakrat joined channel #puppet | ||
| [2009/06/09 12:50:13] @ mikepea joined channel #puppet | ||
| [2009/06/09 12:56:03] @ Quit: riddley: Remote closed the connection | ||
| [2009/06/09 12:56:23] @ bendsu joined channel #puppet | ||
| [2009/06/09 12:57:00] @ Quit: alban2: Read error: 110 (Connection timed out) | ||
| [2009/06/09 13:02:20] @ andrewcshafer joined channel #puppet | ||
| [2009/06/09 13:03:27] @ nakano is now known as nakano_ | ||
| [2009/06/09 13:04:25] @ jason^_ joined channel #puppet | ||
| [2009/06/09 13:05:16] @ Quit: jason^: Read error: 110 (Connection timed out) | ||
| [2009/06/09 13:08:04] @ Quit: notbrien_: | ||
| [2009/06/09 13:14:28] @ fbe joined channel #puppet | ||
| [2009/06/09 13:15:06] @ Quit: claymation: | ||
| [2009/06/09 13:15:35] @ mfoster joined channel #puppet | ||
| [2009/06/09 13:22:06] @ lavamind joined channel #puppet | ||
| [2009/06/09 13:22:21] <lavamind> hello | ||
| [2009/06/09 13:23:24] <lavamind> I'm wondering if it's possible to access resource parameters, for example to include the "hasstatus" parameter of a "service" resource into a conditional statement | ||
| [2009/06/09 13:23:33] @ erm_ joined channel #puppet | ||
| [2009/06/09 13:23:51] @ Quit: erm_: Client Quit | ||
| [2009/06/09 13:24:12] <Volcane> not unless you first save it in a var and then use the var in both places, prolly not what u want | ||
| [2009/06/09 13:24:54] <lavamind> Volcane: ok, so for now, "read-only" resource parameters are more or less useless for recipes | ||
| [2009/06/09 13:25:47] <Volcane> hmm, yeah not sure what they're about, there migth be a way to access them i have never seen any way though | ||
| [2009/06/09 13:26:26] @ Quit: londo_: Remote closed the connection | ||
| [2009/06/09 13:26:32] @ asa joined channel #puppet | ||
| [2009/06/09 13:27:44] @ justindossey joined channel #puppet | ||
| [2009/06/09 13:27:58] <lavamind> Volcane: yeah, same here. I'm trying to build a class using augeas to manage a bunch of configuration parameters in a file, and I'm finding it pretty tedious doing it in Puppet language | ||
| [2009/06/09 13:28:23] <Volcane> heh, i suspect those read only ones might only be useful if you're writing providers etc | ||
| [2009/06/09 13:28:49] <lavamind> So I'm also wondering if there's a "standard way" of writing classes that use augeas | ||
| [2009/06/09 13:28:49] <Volcane> anyway, gotta go home | ||
| [2009/06/09 13:29:11] <lavamind> Volcane: okay, thanks for your help | ||
| [2009/06/09 13:29:51] @ eagleheart joined channel #puppet | ||
| [2009/06/09 13:30:27] <lavamind> does anyone know modules that have been built using Augeas ? | ||
| [2009/06/09 13:32:05] @ Quit: matty: | ||
| [2009/06/09 13:36:09] @ londo_ joined channel #puppet | ||
| [2009/06/09 13:37:12] @ Quit: briandquinn: | ||
| [2009/06/09 13:37:37] @ Quit: FreakGuard: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 13:37:55] @ jcesario joined channel #puppet | ||
| [2009/06/09 13:39:17] <andrewcshafer> jamesturnbull: you about? | ||
| [2009/06/09 13:39:29] @ FreakGuard joined channel #puppet | ||
| [2009/06/09 13:40:00] @ mindless joined channel #puppet | ||
| [2009/06/09 13:40:24] <mindless> hi.. quick docs question | ||
| [2009/06/09 13:40:28] <mindless> http://reductivelabs.com/trac/puppet/wiki/FunctionReference#regsubst | ||
| [2009/06/09 13:40:46] <mindless> is '\\3' correct in that example? i thought it would be '\3' or "\\3" | ||
| [2009/06/09 13:43:11] <jcesario> this page is returning an error about passenger failing to do its thing http://projects.reductivelabs.com/projects/show/puppet | ||
| [2009/06/09 13:44:01] @ mikearr joined channel #puppet | ||
| [2009/06/09 13:44:37] <jcesario> doesnt seem to be able to connect to the db | ||
| [2009/06/09 13:45:04] <bgupta> Is this supposed to be down: http://projects.reductivelabs.com/ | ||
| [2009/06/09 13:45:35] <bgupta> ah see it's a know issue | ||
| [2009/06/09 13:45:41] <bgupta> known that is | ||
| [2009/06/09 13:45:51] <mindless> "that just works"...heh | ||
| [2009/06/09 13:46:02] @ Quit: tim|macbook: | ||
| [2009/06/09 13:46:59] <ckrough> mindless: lol, just caught that | ||
| [2009/06/09 13:48:18] <bgupta> BTW anyone here know the correct link for the bug tracker and is setup with wiki access to edit the following page? http://reductivelabs.com/trac/puppet/wiki/InstallationGuide If so you should should linkify the words "bug tracker" to the URL for the bug tracker. | ||
| [2009/06/09 13:49:19] @ Quit: poison: Remote closed the connection | ||
| [2009/06/09 13:53:25] @ Quit: saurabhverma: Client Quit | ||
| [2009/06/09 13:55:05] @ FreakGuard_ joined channel #puppet | ||
| [2009/06/09 13:55:29] @ Quit: FreakGuard: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 13:56:20] @ plathrop is now known as plathrop-away | ||
| [2009/06/09 13:56:56] @ Quit: simmerz: "Leaving." | ||
| [2009/06/09 13:57:10] @ Quit: rasputnik_: "This computer has gone to sleep" | ||
| [2009/06/09 14:01:33] @ Quit: artista_frustrad: "Leaving" | ||
| [2009/06/09 14:04:29] <andrewcshafer> bgupta: should be up now | ||
| [2009/06/09 14:05:36] <andrewcshafer> I'm not 100% on the root cause, but it looks like mysql died then ruby just started thrashing, on maybe the other way around. Ping me if it doesn't seem well behaved. | ||
| [2009/06/09 14:08:22] @ grey- joined channel #puppet | ||
| [2009/06/09 14:08:23] <jcesario> stupid question but anything in the mysql error log? | ||
| [2009/06/09 14:09:29] <bgupta> andrewcshafer: thanks, also see my note about wiki page change... | ||
| [2009/06/09 14:10:33] <andrewcshafer> didn't even have a chance to look, on the phone now | ||
| [2009/06/09 14:10:43] <andrewcshafer> plan to investigate in a bit | ||
| [2009/06/09 14:12:03] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/09 14:12:55] @ bla-bla joined channel #puppet | ||
| [2009/06/09 14:13:19] <bla-bla> need some help with setting up nrpe plugin for nagios | ||
| [2009/06/09 14:13:57] <bla-bla> http://widget.mibbit.com/pb/5REWZq This is the service command I have for restarting the service when the config file changes | ||
| [2009/06/09 14:15:08] <bla-bla> not sure if it is restarting the service every now and then...since in the server logs I have - http://widget.mibbit.com/pb/pDhKHk | ||
| [2009/06/09 14:17:40] @ ezmob joined channel #puppet | ||
| [2009/06/09 14:23:57] @ Quit: incommon_ike: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 14:24:06] @ lludwig joined channel #puppet | ||
| [2009/06/09 14:27:17] <eagleheart> pastie:help | ||
| [2009/06/09 14:30:33] <eagleheart> hi, at http://pastie.org/506081 i've got a description of a problem with a 'replace' function | ||
| [2009/06/09 14:30:48] <eagleheart> we are fairly new with puppet. Just trying things out | ||
| [2009/06/09 14:31:40] @ Quit: lavamind: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 14:31:52] <eagleheart> This example "exec"s an inline perl script taking as input a regex pattern and an replacement string. | ||
| [2009/06/09 14:32:22] <eagleheart> puppet is replacing my \s (whitespace) indicator with a single blank | ||
| [2009/06/09 14:32:40] <eagleheart> causing the pattern match to fail on tab chars | ||
| [2009/06/09 14:35:03] @ rasputnik_ joined channel #puppet | ||
| [2009/06/09 14:35:09] @ cirquitz joined channel #puppet | ||
| [2009/06/09 14:36:23] @ Quit: rasputnik_: Client Quit | ||
| [2009/06/09 14:38:59] @ lludwig left channel #puppet () | ||
| [2009/06/09 14:42:37] @ bjaspan joined channel #puppet | ||
| [2009/06/09 14:42:37] <joe-mac1> anybody here successfully automating installation and maintenance of the free vmware server? | ||
| [2009/06/09 14:42:47] @ poison joined channel #puppet | ||
| [2009/06/09 14:43:33] @ notbrien joined channel #puppet | ||
| [2009/06/09 14:43:42] @ alban2 joined channel #puppet | ||
| [2009/06/09 14:44:05] @ incommon_ike joined channel #puppet | ||
| [2009/06/09 14:45:36] @ Quit: incommon_ike: Client Quit | ||
| [2009/06/09 14:46:25] <bjaspan> I think I just found a bug in the Service type. If, in the same puppetd run, it starts a service and gets notify to restart the service, the restart doesn't work because it just tries to start it again instead of stopping it first; it doesn't seem to know that it already started it. | ||
| [2009/06/09 14:46:42] <bjaspan> Is this a known problem? I'm using 0.24.6 from the Fedora repos. | ||
| [2009/06/09 14:47:14] <fsweetser> do you have hasrestart => true in your service definition? | ||
| [2009/06/09 14:48:22] <bjaspan> no | ||
| [2009/06/09 14:48:30] <bjaspan> The docs suggest it shouldn't be necessary. I'll try it. | ||
| [2009/06/09 14:49:08] @ Quit: mikepea: | ||
| [2009/06/09 14:50:35] <bjaspan> Hmmm. hasrestart => true does cause a restart instead of a start command to be issued. I still think that is wrong (w/o restart, it should stop then start), but it appears something else is wrong too. | ||
| [2009/06/09 14:51:34] @ mikepea joined channel #puppet | ||
| [2009/06/09 14:52:29] @ Quit: mikepea: Client Quit | ||
| [2009/06/09 14:54:11] <joe-mac1> i don't see that on .24.8 and don'tr recall seeing it on .24.4... | ||
| [2009/06/09 14:55:13] @ lavamind joined channel #puppet | ||
| [2009/06/09 14:55:29] <lavamind> hello | ||
| [2009/06/09 14:55:35] <bjaspan> Aha! The "something else" that is wrong is a race condition, apparently between /etc/init.d/httpd and httpd itself; you can run /etc/init.d/httpd stop for a certain amount of time after /etc/init.d/httpd start. | ||
| [2009/06/09 14:55:43] <bjaspan> I still think I'm seeing a bug in the service type ,though. | ||
| [2009/06/09 14:56:42] <lavamind> On Debian, I'm wondering if it's possible to use the Package resource to install a a package from a backports repository, even though backports are pinned lower than the main repos | ||
| [2009/06/09 14:58:03] <ctso> lavamind: i recently did something like this, i think aptitude just picks up the newest version (i assume your backported version is newer), though i also specified what version i wanted | ||
| [2009/06/09 14:58:56] <lavamind> ctso: so, simply "ensure => latest" and "version => 'XYZ'" ? | ||
| [2009/06/09 14:59:21] <lavamind> ctso: I think I tried that unsuccessfully already .. | ||
| [2009/06/09 14:59:22] <ctso> lavamind: neg, it's ensure => '$version' | ||
| [2009/06/09 14:59:31] <ctso> be careful with your versioning though | ||
| [2009/06/09 14:59:33] <lavamind> ah... ok | ||
| [2009/06/09 14:59:57] <ctso> you need to specify the version exactly correctly | ||
| [2009/06/09 15:00:04] <ctso> so im on ubuntu | ||
| [2009/06/09 15:00:08] <ctso> and for subversion i need to put '1.4.6dfsg1-2ubuntu1' | ||
| [2009/06/09 15:00:14] <ctso> it's not just.. 1.4.6 :\ | ||
| [2009/06/09 15:00:24] @ ezmob is now known as ezmob|away | ||
| [2009/06/09 15:00:28] <ctso> also, aptitude will just install the newest version it can find if you specify the version wrong | ||
| [2009/06/09 15:00:42] <lavamind> yeah, I figured, let me try it now | ||
| [2009/06/09 15:00:46] <ctso> i added something to the aptitude provider to detect that and throw an error, but it's not in the normal puppet base | ||
| [2009/06/09 15:06:15] <lavamind> ctso: ensure => $version works! thanks. | ||
| [2009/06/09 15:07:00] <ctso> lavamind: np | ||
| [2009/06/09 15:09:51] @ plathrop-away is now known as plathrop | ||
| [2009/06/09 15:14:22] @ Quit: zirpu: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 15:16:23] <bjaspan> I solved the race condition with /etc/init.d/http by setting the start, stop, and restart commands: start => "/etc/init.d/httpd start && sleep 5". Can you say "hack"? | ||
| [2009/06/09 15:16:50] <bjaspan> This also resolved the bug I thought I was seeing in the service type, so I guess this is not a puppet problem. | ||
| [2009/06/09 15:17:09] @ pleemans joined channel #puppet | ||
| [2009/06/09 15:18:29] @ nakano_ is now known as nakano | ||
| [2009/06/09 15:24:38] @ Quit: keithlard: | ||
| [2009/06/09 15:31:06] @ PhabX joined channel #puppet | ||
| [2009/06/09 15:36:20] @ FreakGuard_ is now known as FreakGuard | ||
| [2009/06/09 15:40:41] @ Quit: eagleheart: "ircII EPIC4-2.8 -- Are we there yet?" | ||
| [2009/06/09 15:42:21] <lavamind> I'm looking to push a .deb package from puppetmaster to a client and have it install, but using a file and package resource doesn't work | ||
| [2009/06/09 15:43:16] <ctso> did you use the dpkg provider | ||
| [2009/06/09 15:43:27] @ pdt joined channel #puppet | ||
| [2009/06/09 15:44:09] <lavamind> ctso: no, and puppet default to "apt" on Debian, gotcha :) | ||
| [2009/06/09 15:45:30] @ Quit: cmoates: "Leaving" | ||
| [2009/06/09 15:46:09] @ Quit: pleemans: "Ex-Chat" | ||
| [2009/06/09 15:49:58] @ mib_i3wz0n joined channel #puppet | ||
| [2009/06/09 15:50:35] @ Quit: mib_i3wz0n: Client Quit | ||
| [2009/06/09 15:50:59] @ ezmob|away is now known as ezmob | ||
| [2009/06/09 15:51:10] @ mib_4z8di1 joined channel #puppet | ||
| [2009/06/09 15:51:52] @ Quit: mib_4z8di1: Client Quit | ||
| [2009/06/09 15:53:24] <hMz> is anyone playing with direct.mount on linux? | ||
| [2009/06/09 15:53:42] <hMz> being a script with no running pid or pidfile, it's hard to determine its status of being ran or not and i'd like to stop/start autofs | ||
| [2009/06/09 15:54:28] <FreakGuard> the virtual fact doesn't seem to work properly... doesn't recognize a xenu | ||
| [2009/06/09 15:56:45] @ Quit: grey-: Remote closed the connection | ||
| [2009/06/09 15:56:50] @ Quit: cirquitz: "Leaving" | ||
| [2009/06/09 15:59:10] @ rasputnik joined channel #puppet | ||
| [2009/06/09 16:00:09] <hMz> no one? | ||
| [2009/06/09 16:01:11] @ plathrop is now known as plathrop-away | ||
| [2009/06/09 16:03:42] @ lak joined channel #puppet | ||
| [2009/06/09 16:12:28] @ ezmob is now known as ezmob|away | ||
| [2009/06/09 16:12:46] @ matty joined channel #puppet | ||
| [2009/06/09 16:12:54] @ claymation joined channel #puppet | ||
| [2009/06/09 16:13:20] @ mfournier joined channel #puppet | ||
| [2009/06/09 16:14:09] @ Quit: lavamind: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 16:14:35] @ Quit: grim_radical: Remote closed the connection | ||
| [2009/06/09 16:16:29] <rasputnik> what's the opinion on installing things that need a reboot to work ? (vmware tools in my case). is it ok to do that in a recipe? | ||
| [2009/06/09 16:21:25] <ckrough> I make vmwares tools part of my template | ||
| [2009/06/09 16:21:36] <ckrough> VM template that is | ||
| [2009/06/09 16:21:56] <rasputnik> ah ok, so that's handled by provisioning? | ||
| [2009/06/09 16:22:03] <ckrough> for us yeah | ||
| [2009/06/09 16:22:19] <ckrough> since its most likely going to be on every vm guest | ||
| [2009/06/09 16:23:09] <rasputnik> We kickstart our VMs with puppet, but were planning to do as much as possible with Puppet after that (in the event of VMware tools upgrades etc.) | ||
| [2009/06/09 16:23:13] @ ezmob|away is now known as ezmob | ||
| [2009/06/09 16:26:15] <rasputnik> maybe I should just let ESX take care of managing the package for us. | ||
| [2009/06/09 16:27:30] @ Quit: justdave: "kernel upgrade" | ||
| [2009/06/09 16:27:38] <hMz> is anyone playing with direct.mount on linux? | ||
| [2009/06/09 16:27:43] <hMz> being a script with no running pid or pidfile, it's hard to determine | ||
| [2009/06/09 16:27:43] <hMz> +its status of being ran or not and i'd like to stop/start autofs | ||
| [2009/06/09 16:29:26] @ francois left channel #puppet () | ||
| [2009/06/09 16:33:02] <rasputnik> hMz does it have a 'service direct.mount status' command? | ||
| [2009/06/09 16:33:23] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/09 16:34:00] <hMz> nope | ||
| [2009/06/09 16:34:58] <rasputnik> hMz, you need to think of a way to tell it's running really. | ||
| [2009/06/09 16:35:26] <rasputnik> (i don't know what direct.mount is, in case that's not clear :) ) | ||
| [2009/06/09 16:36:15] @ Quit: lak: | ||
| [2009/06/09 16:37:21] <hMz> i know | ||
| [2009/06/09 16:37:24] <hMz> and basically its not possible :P | ||
| [2009/06/09 16:37:29] <hMz> because it runs and exits | ||
| [2009/06/09 16:37:38] <hMz> and sure you can test if the mount points exist | ||
| [2009/06/09 16:37:51] <hMz> but if they fail for some other reason, you're stop starting a pretty volatile script | ||
| [2009/06/09 16:38:35] <hMz> all i can do is make a bogus pidfile but thats not even accurate, as a reboot won't nuke it | ||
| [2009/06/09 16:43:27] @ gaveen joined channel #puppet | ||
| [2009/06/09 16:43:28] <rasputnik> exec {} with an 'unless' clause is probably your best bet tbh, probably not ideal though. | ||
| [2009/06/09 16:44:50] <rasputnik> gah, running vmware-tools-config.pl is a pain in the arse. | ||
| [2009/06/09 16:46:11] <rasputnik> it takes a '-default' flag to answer all the questions with defaults. first question is 'are you sure you want to contine [no]?' . doh. | ||
| [2009/06/09 16:49:34] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/09 16:49:35] <teratoma> /join #mysql | ||
| [2009/06/09 16:49:36] <teratoma> ha | ||
| [2009/06/09 16:58:18] @ Quit: d3vilb0x: | ||
| [2009/06/09 17:03:40] @ justdave joined channel #puppet | ||
| [2009/06/09 17:05:40] <henk> is there a difference between a service subscribing to a file and a file notifying a service? | ||
| [2009/06/09 17:06:19] <hMz> different flow | ||
| [2009/06/09 17:07:06] <henk> practical difference? | ||
| [2009/06/09 17:09:51] @ artista_frustrad joined channel #puppet | ||
| [2009/06/09 17:11:10] <fsweetser> no, they should both have identical outcomes | ||
| [2009/06/09 17:13:25] <henk> ok, will doing both result in the action being done twice? | ||
| [2009/06/09 17:14:24] <rasputnik> henk, looks to me like they both schedule the action, but it only happens once. | ||
| [2009/06/09 17:14:32] @ plathrop-away is now known as plathrop | ||
| [2009/06/09 17:14:35] <henk> ah, that's good | ||
| [2009/06/09 17:14:42] <rasputnik> check though :) | ||
| [2009/06/09 17:15:04] <henk> ok | ||
| [2009/06/09 17:17:44] @ madrescher joined channel #puppet | ||
| [2009/06/09 17:17:56] <rasputnik> any way to unset an environment variable in an exec() ? | ||
| [2009/06/09 17:18:34] @ Quit: nmalik: Read error: 104 (Connection reset by peer) | ||
| [2009/06/09 17:21:57] @ Quit: poison: Remote closed the connection | ||
| [2009/06/09 17:22:43] @ poison joined channel #puppet | ||
| [2009/06/09 17:32:16] @ lak joined channel #puppet | ||
| [2009/06/09 17:35:56] @ Quit: notbrien: | ||
| [2009/06/09 17:43:22] @ zirpu2 joined channel #puppet | ||
| [2009/06/09 17:43:33] @ zirpu2 is now known as zirpu | ||
| [2009/06/09 17:46:03] @ plathrop is now known as plathrop-away | ||
| [2009/06/09 17:48:30] @ Quit: Telmo: Read error: 60 (Operation timed out) | ||
| [2009/06/09 17:53:44] @ grey- joined channel #puppet | ||
| [2009/06/09 17:54:45] @ jsm joined channel #puppet | ||
| [2009/06/09 17:58:15] <jsm> puppet is telling me that it can't find a variable for a template, but it's clearly defined, it is inherited from another class.. | ||
| [2009/06/09 18:01:21] @ Quit: rasputnik: "Leaving" | ||
| [2009/06/09 18:10:13] @ schwagal1 joined channel #puppet | ||
| [2009/06/09 18:10:16] @ Quit: schwagala: Read error: 54 (Connection reset by peer) | ||
| [2009/06/09 18:14:41] @ fujin joined channel #puppet | ||
| [2009/06/09 18:22:56] <mfournier> rasputnik: http://open-vm-tools.sourceforge.net/ is more puppet-friendly than vmware-tools-config.pl | ||
| [2009/06/09 18:25:09] @ Quit: bjaspan: Read error: 110 (Connection timed out) | ||
| [2009/06/09 18:25:35] @ Quit: lak: | ||
| [2009/06/09 18:25:52] @ Djelibeybi joined channel #puppet | ||
| [2009/06/09 18:33:06] @ bendsu left channel #puppet () | ||
| [2009/06/09 18:34:20] <teratoma> does that stuff only work with VSX? or Infrastructure ? | ||
| [2009/06/09 18:35:46] <z00dax> teratoma: works everywhere | ||
| [2009/06/09 18:40:51] @ Quit: flakrat: "Leaving" | ||
| [2009/06/09 18:42:58] @ Quit: grey-: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:00] @ Quit: alban2: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:02] @ Quit: asa: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:05] @ Quit: kolla: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:09] @ Quit: n0ts_____: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:11] @ Quit: chillitom: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:12] @ Quit: Sakarias: verne.freenode.net irc.freenode.net | ||
| [2009/06/09 18:43:17] @ grey- joined channel #puppet | ||
| [2009/06/09 18:43:18] @ alban2 joined channel #puppet | ||
| [2009/06/09 18:43:18] @ asa joined channel #puppet | ||
| [2009/06/09 18:43:19] @ kolla joined channel #puppet | ||
| [2009/06/09 18:43:19] @ n0ts_____ joined channel #puppet | ||
| [2009/06/09 18:43:19] @ Sakarias joined channel #puppet | ||
| [2009/06/09 18:43:20] @ chillitom joined channel #puppet | ||
| [2009/06/09 18:54:01] @ orbit left channel #puppet () | ||
| [2009/06/09 18:57:15] @ Quit: jsm: Read error: 113 (No route to host) | ||
| [2009/06/09 19:02:28] @ nakano is now known as nakano_ | ||
| [2009/06/09 19:08:35] @ mfoster left channel #puppet () | ||
| [2009/06/09 19:09:40] @ Quit: mfournier: Read error: 113 (No route to host) | ||
| [2009/06/09 19:10:34] @ dixond joined channel #puppet | ||
| [2009/06/09 19:10:50] <dixond> hi all, the iptables module recipe is missing some important information | ||
| [2009/06/09 19:11:07] <dixond> what exactly is "/afs/ir/service/jumpstart/data/iptables" supposed to contain? | ||
| [2009/06/09 19:11:27] <dixond> it is referenced without explanation by the rebuild-iptables script | ||
| [2009/06/09 19:13:42] @ ezmob is now known as ezmob|away | ||
| [2009/06/09 19:15:41] @ ezmob|away is now known as ezmob | ||
| [2009/06/09 19:31:37] <teratoma> linux ? solaris? got stuff mounted on AFS ? | ||
| [2009/06/09 19:33:02] <dixond> teratoma: well, that's what I don't know. it's from here: http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleIptables | ||
| [2009/06/09 19:34:31] @ lak joined channel #puppet | ||
| [2009/06/09 19:36:04] @ QMan joined channel #puppet | ||
| [2009/06/09 19:38:49] @ Quit: tecto: | ||
| [2009/06/09 19:39:12] <teratoma> i think the wiki is meant to make people unfamiliar with puppet cry | ||
| [2009/06/09 19:40:06] <dixond> teratoma: LOL so true | ||
| [2009/06/09 19:41:32] <jcesario> i really like the wiki documentation | ||
| [2009/06/09 19:41:46] <jcesario> i think a lot of new people tend to drift to the examples and pre-cooked modules though | ||
| [2009/06/09 19:42:19] <jcesario> a lot of those are written by people who really really grok the puppet language and organization style. so they can be daunting to newcomers. | ||
| [2009/06/09 19:42:40] <jcesario> at least thats what ive experienced from the few people ive seen get into puppet. | ||
| [2009/06/09 19:43:17] @ jsm joined channel #puppet | ||
| [2009/06/09 19:43:22] <jcesario> augeus is confusing as all hell though. i will say that. | ||
| [2009/06/09 19:46:08] <jcesario> ive found its best to just sit down and write what you want to do. a single service/chunk at a time. | ||
| [2009/06/09 19:46:25] <jcesario> then you can go back and reorganize into a proper module or templatize stuff at a later time. | ||
| [2009/06/09 19:50:33] @ Quit: sigmonsays: "Leaving" | ||
| [2009/06/09 19:52:24] @ Quit: alfism: | ||
| [2009/06/09 19:58:44] @ Quit: lak: | ||
| [2009/06/09 20:00:43] @ Quit: justindossey: "Leaving." | ||
| [2009/06/09 20:02:36] @ nmalik joined channel #puppet | ||
| [2009/06/09 20:03:20] * dixond goes and cries in a corner | ||
| [2009/06/09 20:03:47] <dixond> now as well as debugging ruby I have to debug perl. The gods hate me. | ||
| [2009/06/09 20:04:27] <jcesario> yah... that would make me wanna break a finger or two and go on disability | ||
| [2009/06/09 20:06:17] @ Quit: QMan: "." | ||
| [2009/06/09 20:06:41] @ QMan joined channel #puppet | ||
| [2009/06/09 20:06:53] @ alfism joined channel #puppet | ||
| [2009/06/09 20:08:37] @ egerlach_ joined channel #puppet | ||
| [2009/06/09 20:09:22] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/06/09 20:10:23] @ Quit: grey-: Remote closed the connection | ||
| [2009/06/09 20:18:26] @ bjaspan joined channel #puppet | ||
| [2009/06/09 20:19:31] @ Quit: egerlach: Read error: 110 (Connection timed out) | ||
| [2009/06/09 20:20:13] @ plathrop-away is now known as plathrop | ||
| [2009/06/09 20:20:54] @ PaulWay joined channel #puppet | ||
| [2009/06/09 20:23:44] @ Quit: Bass10: Read error: 110 (Connection timed out) | ||
| [2009/06/09 20:30:00] * PaulWay reads up on the Puppet stored configuration guide. | ||
| [2009/06/09 20:32:10] @ mfoster joined channel #puppet | ||
| [2009/06/09 20:32:23] <mindless> on 0.24.7 */<space> is not recognized as end-of-comment | ||
| [2009/06/09 20:34:10] @ Quit: bjaspan: | ||
| [2009/06/09 20:34:33] <PaulWay> I think there's an error in the UsingStoredConfiguration doco - for the PostgreSQL install it says to "create user puppetuser with unencrypted password 'password'" but then in the [puppetmasterd] section of the config file it says "dbuser = puppet". | ||
| [2009/06/09 20:34:44] <PaulWay> Should that not be "dbuser = puppetuser"? | ||
| [2009/06/09 20:39:38] <jamesturnbull> PaulWay: could be ... feel free to correct | ||
| [2009/06/09 20:43:21] @ Quit: nmalik: "leaving" | ||
| [2009/06/09 20:43:33] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/06/09 20:44:44] <PaulWay> jamesturnbull: OK - I'm not sure that it's correct yet and I'm having trouble getting the postgres ruby library installed on a RHEL 4 machine... :-/ | ||
| [2009/06/09 20:46:00] @ bjaspan joined channel #puppet | ||
| [2009/06/09 20:47:45] @ Quit: bjaspan: Client Quit | ||
| [2009/06/09 20:50:03] <PaulWay> !!! there doesn't seem to be a rpm for it on RHEL 4 at all. D-: | ||
| [2009/06/09 20:51:31] @ Quit: ezmob: "Bye!" | ||
| [2009/06/09 20:53:22] @ garin_ joined channel #puppet | ||
| [2009/06/09 21:00:15] @ martha left channel #puppet () | ||
| [2009/06/09 21:01:46] @ Quit: asa: | ||
| [2009/06/09 21:04:51] <ctso> PaulWay: you're right, when I did this yesterday I just named my postgres user/role puppet instead of puppetuser | ||
| [2009/06/09 21:06:41] @ bjaspan joined channel #puppet | ||
| [2009/06/09 21:06:45] @ Quit: bjaspan: Remote closed the connection | ||
| [2009/06/09 21:07:26] @ bjaspan joined channel #puppet | ||
| [2009/06/09 21:09:05] <PaulWay> ctso: righto, I'll update the doco. | ||
| [2009/06/09 21:15:46] @ bjaspan_ joined channel #puppet | ||
| [2009/06/09 21:16:47] <gepetto> ::trac:: Puppet Augeas edited by lutter @ http://reductivelabs.com/trac/puppet/wiki/PuppetAugeas (by dlutter@redhat.com) | ||
| [2009/06/09 21:17:29] @ Quit: bjaspan_: Client Quit | ||
| [2009/06/09 21:19:55] @ asa joined channel #puppet | ||
| [2009/06/09 21:24:12] @ n0ts______ joined channel #puppet | ||
| [2009/06/09 21:25:32] @ tecto joined channel #puppet | ||
| [2009/06/09 21:26:24] <PaulWay> Upgrading - clients then server, right? | ||
| [2009/06/09 21:27:22] @ Quit: mfoster: Read error: 60 (Operation timed out) | ||
| [2009/06/09 21:30:55] @ Quit: bjaspan: Read error: 110 (Connection timed out) | ||
| [2009/06/09 21:36:20] @ bjaspan joined channel #puppet | ||
| [2009/06/09 21:37:52] @ Quit: n0ts_____: Read error: 113 (No route to host) | ||
| [2009/06/09 21:38:24] @ plathrop is now known as plathrop-away | ||
| [2009/06/09 21:43:14] <PaulWay> Well, it looks like I cannot go to stored configuration on a RHEL 4 box. | ||
| [2009/06/09 21:44:30] <PaulWay> rubygems is not available as an RPM and I can't install it even going back to rubygems-0.9.1. | ||
| [2009/06/09 21:44:47] <PaulWay> Likewise Rails is not available as an RPM and I can't install it through gem (see above) | ||
| [2009/06/09 21:45:09] @ Quit: jsm: | ||
| [2009/06/09 22:01:29] @ Quit: gebi: Read error: 60 (Operation timed out) | ||
| [2009/06/09 22:01:34] @ gebi joined channel #puppet | ||
| [2009/06/09 22:06:11] @ mmm9 joined channel #puppet | ||
| [2009/06/09 22:06:42] @ Quit: mmm9: Remote closed the connection | ||
| [2009/06/09 22:06:47] @ mmm9 joined channel #puppet | ||
| [2009/06/09 22:09:18] <ctso> PaulWay: can't you install rubygems manually using ruby or something? (not an expert at installing ruby stuff though) | ||
| [2009/06/09 22:09:53] <PaulWay> ctso: I've been trying that but most of the recent rubygems packs require Ruby > 1.8.1, which is all RHEL 4 comes with. | ||
| [2009/06/09 22:10:03] <gepetto> ::trac:: Using Stored Configuration edited by PaulWay @ http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration (by paulway@mabula.net) | ||
| [2009/06/09 22:10:50] <ctso> heh, :\ darn | ||
| [2009/06/09 22:12:39] <PaulWay> ooooh, it looks like version 0.9.5 did actually install gem. | ||
| [2009/06/09 22:12:51] @ pinoyskull joined channel #puppet | ||
| [2009/06/09 22:12:58] <PaulWay> Let's see if it can install Rails. | ||
| [2009/06/09 22:13:56] @ alex2 joined channel #puppet | ||
| [2009/06/09 22:17:02] <PaulWay> No, I'm getting a "HTTP redirection loop: http://rubyforge.org/yaml" | ||
| [2009/06/09 22:17:20] <PaulWay> Which might be a bug in gem 0.9.5, or something else entirely. | ||
| [2009/06/09 22:17:27] <PaulWay> Anyway, I'm off to lunch. | ||
| [2009/06/09 22:30:30] @ lak joined channel #puppet | ||
| [2009/06/09 22:43:58] @ PhabX joined channel #puppet | ||
| [2009/06/09 22:45:31] @ Quit: PhabX: Client Quit | ||
| [2009/06/09 22:47:10] @ mfoster joined channel #puppet | ||
| [2009/06/09 22:49:37] @ joe-mac left channel #puppet () | ||
| [2009/06/09 22:50:24] @ Quit: bjaspan: | ||
| [2009/06/09 22:50:55] <ctso> PaulWay: maybe you could try manually (painfully) installing individual gems =) | ||
| [2009/06/09 22:51:29] @ d3vilb0x joined channel #puppet | ||
| [2009/06/09 22:54:36] @ Quit: mfoster: Read error: 60 (Operation timed out) | ||
| [2009/06/09 22:56:03] @ Quit: pdt: | ||
| [2009/06/09 22:56:40] @ mfoster joined channel #puppet | ||
| [2009/06/09 22:59:28] @ D-CoDe joined channel #puppet | ||
| [2009/06/09 23:00:16] @ jsm joined channel #puppet | ||
| [2009/06/09 23:18:09] @ jsm_ joined channel #puppet | ||
| [2009/06/09 23:19:49] @ Quit: mmm9: Remote closed the connection | ||
| [2009/06/09 23:19:51] @ Quit: jsm_: Client Quit | ||
| [2009/06/09 23:24:18] @ Quit: teratoma: "leaving" | ||
| [2009/06/09 23:26:15] @ notbrien joined channel #puppet | ||
| [2009/06/09 23:30:53] @ Quit: claymation: | ||
| [2009/06/09 23:32:04] @ bjaspan joined channel #puppet | ||
| [2009/06/09 23:32:42] <gepetto> ::trac:: Module Organisation edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation (by james@lovedthanlost.net) | ||
| [2009/06/09 23:32:59] @ Quit: lak: | ||
| [2009/06/09 23:35:14] @ Quit: jsm: Read error: 110 (Connection timed out) | ||
| [2009/06/09 23:40:12] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/09 23:41:03] @ Quit: bjaspan: | ||
| [2009/06/09 23:42:53] @ Quit: neh: Read error: 110 (Connection timed out) | ||
| [2009/06/09 23:46:04] @ PhabX joined channel #puppet | ||
| [2009/06/09 23:57:01] @ neh joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!