| [2008/06/28 00:11:53] @ jvanzyl joined channel #puppet | ||
| [2008/06/28 00:20:14] @ Quit: \ask_: | ||
| [2008/06/28 00:29:26] @ Quit: shake-n-bake_: | ||
| [2008/06/28 00:29:53] @ Quit: keithlard: | ||
| [2008/06/28 00:30:27] @ shake-n-bake joined channel #puppet | ||
| [2008/06/28 00:30:44] @ Quit: shake-n-bake: Client Quit | ||
| [2008/06/28 00:55:03] @ Quit: Kindred: Read error: 60 (Operation timed out) | ||
| [2008/06/28 00:56:17] @ Kindred joined channel #puppet | ||
| [2008/06/28 01:00:11] @ randybias joined channel #puppet | ||
| [2008/06/28 01:22:02] @ corsair_ joined channel #puppet | ||
| [2008/06/28 01:34:11] <gepetto> ::puppet:: Whos Using Puppet edited by adamcrow64 @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet (by acrow@dclabs.com.au) | ||
| [2008/06/28 01:35:14] @ Quit: halcyonCorsair: Read error: 111 (Connection refused) | ||
| [2008/06/28 01:47:04] @ andrewcshafer left channel #puppet () | ||
| [2008/06/28 01:47:29] @ andrewcshafer joined channel #puppet | ||
| [2008/06/28 01:59:57] @ shake-n-bake joined channel #puppet | ||
| [2008/06/28 02:12:37] @ Quit: andrewcshafer: | ||
| [2008/06/28 02:14:38] @ andrewcshafer joined channel #puppet | ||
| [2008/06/28 02:31:43] @ Quit: andrewcshafer: | ||
| [2008/06/28 02:44:18] @ aymerick joined channel #puppet | ||
| [2008/06/28 02:55:05] @ Quit: aymerick: "kit mais sage" | ||
| [2008/06/28 02:55:19] @ aymerick joined channel #puppet | ||
| [2008/06/28 02:55:59] @ Quit: shake-n-bake: | ||
| [2008/06/28 03:09:42] @ Quit: randybias: | ||
| [2008/06/28 03:16:23] @ Quit: phips: kubrick.freenode.net irc.freenode.net | ||
| [2008/06/28 03:16:25] @ Quit: nico: kubrick.freenode.net irc.freenode.net | ||
| [2008/06/28 03:16:40] @ phips joined channel #puppet | ||
| [2008/06/28 04:05:56] @ Quit: jvanzyl: | ||
| [2008/06/28 05:40:03] @ kubicek joined channel #puppet | ||
| [2008/06/28 06:12:35] @ \ask_ joined channel #puppet | ||
| [2008/06/28 06:35:26] @ verwilst joined channel #puppet | ||
| [2008/06/28 06:44:29] @ Quit: \ask_: | ||
| [2008/06/28 06:47:48] @ gileswork joined channel #puppet | ||
| [2008/06/28 06:56:28] @ \ask_ joined channel #puppet | ||
| [2008/06/28 07:31:15] @ Quit: \ask_: | ||
| [2008/06/28 07:41:09] @ Quit: barnbarn: kubrick.freenode.net irc.freenode.net | ||
| [2008/06/28 07:41:18] @ barnbarn joined channel #puppet | ||
| [2008/06/28 07:52:50] @ Quit: gileswork: "ChatZilla 0.9.83 [Firefox 2.0.0.14/2008040413]" | ||
| [2008/06/28 08:55:56] @ Quit: aymerick: | ||
| [2008/06/28 09:09:03] @ Quit: verwilst: "Ex-Chat" | ||
| [2008/06/28 09:38:27] @ Quit: msf: "leaving" | ||
| [2008/06/28 09:38:30] @ msf joined channel #puppet | ||
| [2008/06/28 09:46:22] @ jvanzyl joined channel #puppet | ||
| [2008/06/28 10:27:10] @ pleemans joined channel #puppet | ||
| [2008/06/28 10:43:29] @ Quit: jvanzyl: Read error: 110 (Connection timed out) | ||
| [2008/06/28 11:13:58] @ aymerick joined channel #puppet | ||
| [2008/06/28 11:41:13] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/06/28 11:50:19] @ Quit: lutter: "Leaving." | ||
| [2008/06/28 11:51:09] <Gh0sty> Volcane: since you were looking into those ruby vulnerabilities, i see today some new versions are available for libruby for ubuntu for exmple ... | ||
| [2008/06/28 11:52:09] <Gh0sty> http://pastie.org/224005 | ||
| [2008/06/28 11:55:17] @ Quit: aymerick: | ||
| [2008/06/28 12:00:30] @ shake-n-bake joined channel #puppet | ||
| [2008/06/28 12:00:50] @ Quit: blblack: Remote closed the connection | ||
| [2008/06/28 12:03:02] @ keithlard joined channel #puppet | ||
| [2008/06/28 12:06:40] @ blblack joined channel #puppet | ||
| [2008/06/28 12:35:00] @ shenson_not_here is now known as shenson | ||
| [2008/06/28 12:35:35] @ andrewcshafer joined channel #puppet | ||
| [2008/06/28 12:50:17] @ shenson is now known as shenson_not_here | ||
| [2008/06/28 13:11:46] @ hessml joined channel #puppet | ||
| [2008/06/28 13:12:59] @ Quit: shake-n-bake: | ||
| [2008/06/28 13:30:32] @ Quit: hessml: "Leaving..." | ||
| [2008/06/28 13:37:44] @ jvanzyl joined channel #puppet | ||
| [2008/06/28 13:47:24] @ Quit: andrewcshafer: | ||
| [2008/06/28 13:56:38] @ Quit: jvanzyl: | ||
| [2008/06/28 14:07:04] @ andrewcshafer joined channel #puppet | ||
| [2008/06/28 14:53:37] @ Quit: kenvandine: "Ex-Chat" | ||
| [2008/06/28 14:56:18] @ randybias joined channel #puppet | ||
| [2008/06/28 14:57:58] @ Quit: randybias: Client Quit | ||
| [2008/06/28 14:58:55] @ randybias joined channel #puppet | ||
| [2008/06/28 15:04:55] @ \ask_ joined channel #puppet | ||
| [2008/06/28 15:13:36] @ emerose joined channel #puppet | ||
| [2008/06/28 16:04:33] @ Quit: \ask_: | ||
| [2008/06/28 16:07:21] @ \ask_ joined channel #puppet | ||
| [2008/06/28 16:16:23] @ hessml joined channel #puppet | ||
| [2008/06/28 16:32:08] @ meandtheshell joined channel #puppet | ||
| [2008/06/28 16:36:26] @ Quit: meandtheshell: "Leaving." | ||
| [2008/06/28 17:38:31] <hessml> hello, anyone around? | ||
| [2008/06/28 18:18:05] @ Quit: andrewcshafer: | ||
| [2008/06/28 18:19:05] @ shadoi joined channel #puppet | ||
| [2008/06/28 18:25:51] @ Quit: \ask_: | ||
| [2008/06/28 19:02:23] <Gh0sty> hessml: its late but yes :p | ||
| [2008/06/28 19:02:43] <hessml> yea! | ||
| [2008/06/28 19:03:12] <hessml> i've written a great module for myself, but I can't get puppet to find it | ||
| [2008/06/28 19:03:45] <hessml> my config is pointed at the module directory, but on import I get a class not found error | ||
| [2008/06/28 19:03:47] <Superfly_> its late in europe, but early in NA :) | ||
| [2008/06/28 19:03:53] <hessml> it is driving me nuts | ||
| [2008/06/28 19:05:02] <hessml> puppetmasterd --configprint all | grep module => modulepath = /etc/puppet/modules | ||
| [2008/06/28 19:05:12] <hessml> which is where my module is | ||
| [2008/06/28 19:05:50] <hessml> I'm just getting this frikin error "err: Could not parse for environment development: No file(s) found for import of 'ipmi' at /etc/puppet/manifests/site.pp:4 | ||
| [2008/06/28 19:08:49] <hessml> sigh... Gh0sty must of fallen asleep.... | ||
| [2008/06/28 19:09:07] <Gh0sty> NA? | ||
| [2008/06/28 19:09:13] <Gh0sty> its 01:09 here | ||
| [2008/06/28 19:09:18] <Gh0sty> thats already early even ;p | ||
| [2008/06/28 19:09:42] <Gh0sty> my brain works on slower speeds maybe | ||
| [2008/06/28 19:10:31] <Gh0sty> what does /etc/puppet/manifests/site.pp line 4 say? | ||
| [2008/06/28 19:10:53] <Gh0sty> or that ipmi is your class? | ||
| [2008/06/28 19:11:14] <hessml> my brain is nearly dead, I turned 45 and after watching luke wiz away at the keyboard it almost makes me want to hang my keyboard up | ||
| [2008/06/28 19:11:31] <hessml> ipmi is my class | ||
| [2008/06/28 19:11:52] <hessml> modules/ipmi/site.pp | ||
| [2008/06/28 19:13:28] <Volcane> hessml: modulename/manifests/*.pp | ||
| [2008/06/28 19:13:49] <Volcane> hessml: thats the correct layoyt, then just moduledir directive to wherever you save those files | ||
| [2008/06/28 19:14:04] <Gh0sty> yes you need a manifests dir in your ipmi dir | ||
| [2008/06/28 19:14:07] <Volcane> hessml: and 'include modulename' will load 'class modulename {....}' from the init.pp | ||
| [2008/06/28 19:14:19] <Gh0sty> hessml: a good example i think is this: | ||
| [2008/06/28 19:14:28] <hessml> sorry, it is in manfests | ||
| [2008/06/28 19:14:28] <Gh0sty> http://git.black.co.at/?p=manifests;a=tree | ||
| [2008/06/28 19:14:29] <Volcane> similary 'include modulename::blah' will include modulename/manifests/blah.pp etc | ||
| [2008/06/28 19:15:15] <Gh0sty> (this is where i try to get my inspiration from ...) | ||
| [2008/06/28 19:17:26] <hessml> 1) class is in /etc/puppet/modules/ipmi/manifests/site.pp | ||
| [2008/06/28 19:17:53] <hessml> 2) class name is module name i.e. class ipmi { .... | ||
| [2008/06/28 19:18:06] <Gh0sty> Volcane: should it be called init.pp or can this be random ? | ||
| [2008/06/28 19:18:28] <hessml> 3) I've stolen from git.black | ||
| [2008/06/28 19:19:07] <Gh0sty> well not stolen good enough because yours is called site.pp and mostly i see at git that its called init.pp | ||
| [2008/06/28 19:19:25] <hessml> ah... init.pp not site.pp | ||
| [2008/06/28 19:19:28] <hessml> thanks!!!!!! | ||
| [2008/06/28 19:19:29] <Gh0sty> not sure if that matters (volcane is the expert, i am only getting started with the whole thing) | ||
| [2008/06/28 19:19:33] <Gh0sty> but i think so | ||
| [2008/06/28 19:20:29] <Gh0sty> think i will try and setup a shared wiki or something | ||
| [2008/06/28 19:20:47] <Volcane> yes, it uses file names to lookup stuff, you can either stick the lot in init.pp | ||
| [2008/06/28 19:20:54] <Gh0sty> cause i find the information on the puppet website not so interesting, lots of things are scattered around ... :/ | ||
| [2008/06/28 19:20:57] <Volcane> or init.pp for the class called modulename | ||
| [2008/06/28 19:21:06] <Volcane> and then say blah.pp for modulename::blah | ||
| [2008/06/28 19:21:32] <Gh0sty> is there a list, either in the book or on the wiki | ||
| [2008/06/28 19:21:47] <hessml> excellent, you are all amazing! thank you so much | ||
| [2008/06/28 19:21:52] <Gh0sty> of which "options" are all possible for a file directive for example? | ||
| [2008/06/28 19:22:04] <Volcane> wiki:http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation | ||
| [2008/06/28 19:22:06] <Gh0sty> and similiar for a service and so on and so forth ... | ||
| [2008/06/28 19:22:09] <Volcane> thats for moduels | ||
| [2008/06/28 19:22:36] <Volcane> wiki:TypeReference | ||
| [2008/06/28 19:23:02] <gepetto> Volcane: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2008/06/28 19:23:03] <Volcane> thats for whats valid for things like file{} etc | ||
| [2008/06/28 19:23:03] <Volcane> http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2008/06/28 19:24:59] <hessml> Gh0sty: thanks again for waking up enough to see what was biting me on the ass :-) | ||
| [2008/06/28 19:26:06] <Gh0sty> i am only wandering around here :p | ||
| [2008/06/28 19:26:31] <Gh0sty> not so much eperience, started to set it up like 2 weeks ago | ||
| [2008/06/28 19:26:52] <Gh0sty> wish i was already an expert like volcane, but that'll be some more years i guess ... :p | ||
| [2008/06/28 19:26:58] <hessml> you're a few days ahead of me then | ||
| [2008/06/28 19:27:37] <Gh0sty> well i managed this week to setup ntpd with a file from the fileserver as config file and set it autostart and verify that the service is started | ||
| [2008/06/28 19:27:55] <Gh0sty> had like 20 attempts to get it all right and in a nice coding way ... :p | ||
| [2008/06/28 19:28:01] <Gh0sty> but i beat the system! :p | ||
| [2008/06/28 19:28:51] <hessml> i'm trying to munge a bunch of files so I can get SOL over IPMI working on my cluster without touching them all by hand | ||
| [2008/06/28 19:28:54] <Gh0sty> but i just scraped the surface i think, the deep dark is somewhere under there ... | ||
| [2008/06/28 19:29:15] <Gh0sty> well the ultimate goal (i heard once from someone) | ||
| [2008/06/28 19:29:27] <Gh0sty> is a setup where nobody should touch any system by hand | ||
| [2008/06/28 19:29:49] <Gh0sty> well unless it breaks down offcourse (hardware then) | ||
| [2008/06/28 19:29:59] <hessml> I would like that, but I need SOL over IPMI for emergencies | ||
| [2008/06/28 19:30:11] <Volcane> ppl generally only touch mine to deploy new software, cos the code requires lots of handholding etc to get going - tomcat deploys and carefull reshuffling of ppl in the cluter | ||
| [2008/06/28 19:30:27] @ Quit: corsair_: Remote closed the connection | ||
| [2008/06/28 19:30:32] <hessml> I've had some weirdness where the bios log fills up and then the machine wont reboot | ||
| [2008/06/28 19:30:35] @ corsair_ joined channel #puppet | ||
| [2008/06/28 19:30:45] <hessml> so I want to be able to take care of that remotely | ||
| [2008/06/28 19:31:01] <Gh0sty> but ok that thing i just described is an utopia i think | ||
| [2008/06/28 19:31:19] <Gh0sty> for now i am already fine by not having to replace 1 stupid config file on 50 bloody machines! :p | ||
| [2008/06/28 19:31:28] <Gh0sty> by hand* | ||
| [2008/06/28 19:31:34] <hessml> agreed | ||
| [2008/06/28 19:31:45] <Gh0sty> next up is trying to build machines with puppet | ||
| [2008/06/28 19:32:00] <Gh0sty> lets say i start from a blank "installserver generated" machine | ||
| [2008/06/28 19:32:00] <jamesturnbull> morning all | ||
| [2008/06/28 19:32:10] <Gh0sty> which has immediatly puppet installed | ||
| [2008/06/28 19:32:27] <Gh0sty> i should be able to put the machine in a "group" for example its a mysql-server | ||
| [2008/06/28 19:32:29] <hessml> morning | ||
| [2008/06/28 19:32:44] <Gh0sty> and it should auto install all required packages, configs, start the services etc ... | ||
| [2008/06/28 19:33:12] <Gh0sty> what is the time there exactly? :p | ||
| [2008/06/28 19:33:14] <Volcane> Gh0sty: yeah, i build my machines that way, 100% puppet up to the point where the java ppl put their code down - via rpms etc, but the app just doesnt lend itself to auto upgrading via puppet, needs to be carefully scheduled etc | ||
| [2008/06/28 19:33:25] <hessml> 16:33 | ||
| [2008/06/28 19:33:26] <jamesturnbull> Gh0sty: well depending on the platform there are several good examples of that on the wiki | ||
| [2008/06/28 19:33:56] <Gh0sty> yeah but for now i cant yet make head nor tale on some of the "examples" on the wiki | ||
| [2008/06/28 19:34:13] <Gh0sty> tried to study the ssh example but looks so complicated how it all works :x | ||
| [2008/06/28 19:34:54] <Gh0sty> well Volcane actually its to get rid of some of that | ||
| [2008/06/28 19:35:01] <Gh0sty> nowadays after i install a server | ||
| [2008/06/28 19:35:20] <Gh0sty> i run a very dirty script which sets some things to a more favorable setting | ||
| [2008/06/28 19:35:33] <Gh0sty> and which installs a bunch of "custom built" rpm packages | ||
| [2008/06/28 19:36:10] <Volcane> Gh0sty: well my tomcat machines are 100% puppet, java, tomcat, deps, bacula client, apache vhosts, apache ssl setups, aliases, users, even monitoring agents. the java app just isnt capable to withstand unscheduled upgrades etc | ||
| [2008/06/28 19:36:14] <Gh0sty> but since rpm was not meanth to do thinks like deploying a user with ssh keys etc (at least not the way i want it ...) i need a better solution :) | ||
| [2008/06/28 19:36:18] <Volcane> like i cant just say ensure => latest on the java app rpm | ||
| [2008/06/28 19:36:32] <Volcane> they need to move users off boxes, take out of cluster etc before they upgrade the app | ||
| [2008/06/28 19:36:39] <Volcane> so not the kind of thing u want to do with puppet | ||
| [2008/06/28 19:36:42] <Gh0sty> yes i understand | ||
| [2008/06/28 19:36:55] <Gh0sty> but that would not be the problem (i dont want to go so far) | ||
| [2008/06/28 19:37:09] <Gh0sty> for now i do stupid things with rpms ... | ||
| [2008/06/28 19:37:31] <Gh0sty> like creating users homedirs, adding their ssh keys and setting permissions right | ||
| [2008/06/28 19:38:12] <Gh0sty> or auto-updating some config files (but the auto part in that update process does not always go smooth so a lot has to be done by hand sometimes) | ||
| [2008/06/28 19:39:23] * Volcane 's very happy with his setup in that regard. svn ci a change | ||
| [2008/06/28 19:39:28] <Volcane> and it rolls out everywhere | ||
| [2008/06/28 19:39:41] <Gh0sty> yes really need that | ||
| [2008/06/28 19:39:50] <Volcane> need to test something, make a svn branch, which only applies modules to dev box, once i am happy merge back to trunk | ||
| [2008/06/28 19:39:55] <Gh0sty> cause a) there are not really backups of configs now | ||
| [2008/06/28 19:40:06] <Gh0sty> and b) if there are they are usually not even in svn | ||
| [2008/06/28 19:40:21] <Gh0sty> and c) i need to update by hand which is VERY annoying! :p | ||
| [2008/06/28 19:41:06] <Gh0sty> hm need to see about that branching stuff too ;) | ||
| [2008/06/28 19:41:36] <Gh0sty> but for now first thing is getting puppet approved by security (thats still some concern) and deploy it on every machine | ||
| [2008/06/28 19:42:42] * Volcane goes to bed | ||
| [2008/06/28 19:42:49] * Gh0sty too | ||
| [2008/06/28 19:42:53] <Gh0sty> g'nite | ||
| [2008/06/28 20:01:11] @ hessml is now known as hessml|away | ||
| [2008/06/28 20:34:40] @ emerose_ joined channel #puppet | ||
| [2008/06/28 20:35:45] <jamesturnbull> Gh0sty: whilst I did write it and am biased - the Puppet book will walk you through the basics you need | ||
| [2008/06/28 20:44:15] @ Quit: emerose: Read error: 110 (Connection timed out) | ||
| [2008/06/28 20:59:21] @ kenvandine joined channel #puppet | ||
| [2008/06/28 21:11:53] @ spheromak_ joined channel #puppet | ||
| [2008/06/28 21:29:39] @ Quit: spheromak: Read error: 113 (No route to host) | ||
| [2008/06/28 21:39:06] @ hessml|away is now known as hessml | ||
| [2008/06/28 21:46:53] @ \ask_ joined channel #puppet | ||
| [2008/06/28 21:47:06] @ Quit: erikh: "Terminated with extreme prejudice - dircproxy 1.0.5" | ||
| [2008/06/28 21:55:52] @ mfedyk1 joined channel #puppet | ||
| [2008/06/28 21:56:49] @ Quit: mfedyk1: Client Quit | ||
| [2008/06/28 22:02:54] @ Quit: Disconnect: Read error: 104 (Connection reset by peer) | ||
| [2008/06/28 22:03:52] @ Quit: keithlard: Remote closed the connection | ||
| [2008/06/28 22:04:31] @ keithlard joined channel #puppet | ||
| [2008/06/28 22:12:44] @ Quit: spheromak_: | ||
| [2008/06/28 22:15:06] @ erikh joined channel #puppet | ||
| [2008/06/28 22:17:28] <msf> is there anyway from within a class to see if storedconfig is enabled ? | ||
| [2008/06/28 22:34:22] @ spheromak joined channel #puppet | ||
| [2008/06/28 22:38:54] <jamesturnbull> msf: hmmm fujin (I think) had a script that exposed some Puppet configuration in a Ruby script | ||
| [2008/06/28 22:39:18] <jamesturnbull> msf: you could call something like that "blah return true if puppet.storeconfig=true" etc | ||
| [2008/06/28 22:39:33] <jamesturnbull> msf: in a generate function or the like | ||
| [2008/06/28 22:40:56] <msf> I would like it if you could do | ||
| [2008/06/28 22:41:12] <msf> if (defined puppet.storeconfig) | ||
| [2008/06/28 22:41:22] <msf> or soemthing | ||
| [2008/06/28 22:41:53] <msf> for example, what if I have a class where I have defined a collected resource | ||
| [2008/06/28 22:42:12] <msf> ex. <<| SshKey |>> | ||
| [2008/06/28 22:42:30] <msf> and storeconfig isn't configured on the server | ||
| [2008/06/28 22:42:33] <msf> what happens ? | ||
| [2008/06/28 22:42:44] <msf> does the class fail to "compile" ? | ||
| [2008/06/28 22:42:48] <jamesturnbull> msf: well you'll get an error | ||
| [2008/06/28 22:43:21] <msf> it would be nice to be able to know certain things from within puppet | ||
| [2008/06/28 22:43:27] <msf> storeconfigs is one | ||
| [2008/06/28 22:44:05] <jamesturnbull> msf: well it depends i don't see where you'd have configuration that relies on stroeconfig on one master that you didn't want to execute on another | ||
| [2008/06/28 22:44:13] <msf> another thing I really wish I could have is a variable that tells me the path to a module | ||
| [2008/06/28 22:44:50] <msf> mcbride trombik and I have a shared module repo | ||
| [2008/06/28 22:45:00] <msf> I use stroconfig, they do not | ||
| [2008/06/28 22:45:14] <jamesturnbull> msf: well again something you could create using a generate | ||
| [2008/06/28 22:45:38] <msf> well the other thing on my wish list is something related to generate | ||
| [2008/06/28 22:45:44] <jamesturnbull> msf: $val = generate(script module_name) where script returns the path to the module | ||
| [2008/06/28 22:46:15] <msf> I want that so I can find where my scripts are | ||
| [2008/06/28 22:46:19] <msf> lol | ||
| [2008/06/28 22:46:30] <msf> I keep generate scripts in the module itself | ||
| [2008/06/28 22:46:50] <msf> like $MODULE/{bin,manifests,files,templates} | ||
| [2008/06/28 22:47:02] <msf> so it would be handy to do stuff like | ||
| [2008/06/28 22:47:29] <msf> $stuff = generate($module/bin/command, $args) | ||
| [2008/06/28 22:48:06] <jamesturnbull> msf: well you can do | ||
| [2008/06/28 22:48:35] <jamesturnbull> msf: that | ||
| [2008/06/28 22:49:15] <jamesturnbull> msf: $var = /path/to/module | ||
| [2008/06/28 22:49:24] <jamesturnbull> msf: $var2 = args | ||
| [2008/06/28 22:49:41] <jamesturnbull> msf: $stuff = generate($var, $var2) | ||
| [2008/06/28 22:49:45] <msf> consider my use case | ||
| [2008/06/28 22:49:59] <msf> I have several puppet servers | ||
| [2008/06/28 22:50:11] <msf> also I have several environments | ||
| [2008/06/28 22:50:26] <msf> usually each puppet server serves on environment | ||
| [2008/06/28 22:50:58] <msf> but it can happen where a server serves multiple environements with multiple instances of puppetmaster | ||
| [2008/06/28 22:51:09] @ ski98033 joined channel #puppet | ||
| [2008/06/28 22:51:15] @ Quit: shadoi: "leaving" | ||
| [2008/06/28 22:51:22] <msf> each environment usually corresponds to a different branch in my scm | ||
| [2008/06/28 22:51:34] <jamesturnbull> msf: well use external nodes and $envrionment is available as a parameter | ||
| [2008/06/28 22:51:50] <jamesturnbull> msf: $var = $environment/path/to/module | ||
| [2008/06/28 22:53:07] <msf> yeah.. all of this depends on me hardcoding some path somewhere | ||
| [2008/06/28 22:53:33] <msf> if puppet knew a bit of meta information about itself it would make my life easier | ||
| [2008/06/28 22:54:06] <jamesturnbull> msf: well you've read wiki:UsingMultipleEnvironments | ||
| [2008/06/28 22:54:08] <gepetto> jamesturnbull: msf: wiki:UsingMultipleEnvironments is http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments | ||
| [2008/06/28 22:55:14] <jamesturnbull> msf: you define [environment] modulepath = blah and as I said before you can query that by exposing puppet config and suckign it in using a generate | ||
| [2008/06/28 23:01:06] <jamesturnbull> fujin: ^^^^ was that you that wrote that? hmmm | ||
| [2008/06/28 23:01:17] @ andrewcshafer joined channel #puppet | ||
| [2008/06/28 23:02:17] <jamesturnbull> msf: have a look at the puppetlast app in the ext directory of the puppet package | ||
| [2008/06/28 23:02:25] <jamesturnbull> msf: that;ll show you how to expose the configuration | ||
| [2008/06/28 23:02:32] <msf> ok | ||
| [2008/06/28 23:03:35] @ Quit: spheromak: | ||
| [2008/06/28 23:03:53] <msf> I know I can do it this way | ||
| [2008/06/28 23:05:06] <msf> not to sound nitpicky but I still feel I shouldn't have to execute yet another external program in order to be able to obtain configuration information about the currently running process | ||
| [2008/06/28 23:06:57] @ Quit: keithlard: | ||
| [2008/06/28 23:08:03] @ spheromak joined channel #puppet | ||
| [2008/06/28 23:08:26] <jamesturnbull> msf: there is a ticket for this in the system - and the server has died - hang on a tick | ||
| [2008/06/28 23:10:16] @ Quit: hessml: "Leaving..." | ||
| [2008/06/28 23:18:39] <jamesturnbull> msf: #970 | ||
| [2008/06/28 23:18:40] <gepetto> jamesturnbull: msf: #970 is http://reductivelabs.com/redmine/issues/show/970 | ||
| [2008/06/28 23:50:09] <bda> Boomed. | ||
| [2008/06/28 23:51:08] <jamesturnbull> bda: "Boomed"? | ||
| [2008/06/28 23:51:17] <bda> 500. | ||
| [2008/06/28 23:53:41] @ Ash__ is now known as Ash | ||
| [2008/06/28 23:55:48] <jamesturnbull> bda: fixed | ||
| [2008/06/28 23:56:03] <jamesturnbull> bda: would be useful if you'd been a bit clearer |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!