| [2009/12/10 00:18:01] @ Log started by gepetto_ | ||
| [2009/12/10 00:18:01] @ bug joined channel #puppet | ||
| [2009/12/10 00:21:11] @ Quit: M-: "Leaving" | ||
| [2009/12/10 00:22:09] @ wbruce joined channel #puppet | ||
| [2009/12/10 00:28:05] @ Quit: cwebber: | ||
| [2009/12/10 00:38:46] @ Quit: bearnard: | ||
| [2009/12/10 00:55:52] @ Quit: Bevo: "Leaving" | ||
| [2009/12/10 01:00:03] @ tripoux_ joined channel #puppet | ||
| [2009/12/10 01:02:25] @ hy is now known as _silver | ||
| [2009/12/10 01:04:02] @ joe-mac left channel #puppet () | ||
| [2009/12/10 01:06:00] @ _silver is now known as hy | ||
| [2009/12/10 01:06:45] @ Quit: bug: | ||
| [2009/12/10 01:14:42] @ Quit: tripoux: Read error: 110 (Connection timed out) | ||
| [2009/12/10 01:20:29] @ bug joined channel #puppet | ||
| [2009/12/10 01:25:43] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.") | ||
| [2009/12/10 01:25:45] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/10 01:29:06] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/12/10 01:42:32] @ lak joined channel #puppet | ||
| [2009/12/10 01:46:00] @ Quit: bug: Read error: 110 (Connection timed out) | ||
| [2009/12/10 01:58:40] @ suchu joined channel #puppet | ||
| [2009/12/10 01:59:14] @ Quit: Cuchulain: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 02:00:23] @ Quit: pting: "Ex-Chat" | ||
| [2009/12/10 02:01:15] @ Cuchulain joined channel #puppet | ||
| [2009/12/10 02:16:54] @ nevyn_ joined channel #puppet | ||
| [2009/12/10 02:22:25] @ Quit: kjetilho: Read error: 113 (No route to host) | ||
| [2009/12/10 02:28:18] @ Quit: wbruce: "The computer fell asleep" | ||
| [2009/12/10 02:28:29] @ wbruce joined channel #puppet | ||
| [2009/12/10 02:28:31] @ Quit: nevyn: Read error: 101 (Network is unreachable) | ||
| [2009/12/10 02:30:51] @ Quit: wbruce: Remote closed the connection | ||
| [2009/12/10 02:31:09] @ wbruce joined channel #puppet | ||
| [2009/12/10 02:32:16] @ Quit: wbruce: Client Quit | ||
| [2009/12/10 02:32:27] @ wbruce joined channel #puppet | ||
| [2009/12/10 02:46:06] @ pacalm joined channel #puppet | ||
| [2009/12/10 02:50:14] @ Quit: mizzy: "SIGTERM received; exit" | ||
| [2009/12/10 02:50:50] @ kolla joined channel #puppet | ||
| [2009/12/10 02:51:04] @ Quit: wbruce: Read error: 110 (Connection timed out) | ||
| [2009/12/10 02:51:44] @ mizzy joined channel #puppet | ||
| [2009/12/10 02:55:50] @ bearnard joined channel #puppet | ||
| [2009/12/10 02:59:07] @ thuglife joined channel #puppet | ||
| [2009/12/10 02:59:07] <thuglife> hi | ||
| [2009/12/10 03:08:42] @ groove joined channel #puppet | ||
| [2009/12/10 03:17:35] @ Quit: lak: | ||
| [2009/12/10 03:35:16] <groove> hi, has anybody solved the problem of installing the mysql rpm or deb package, AND installing the mysql gem using the package type for both resources? | ||
| [2009/12/10 03:35:24] <groove> aside from using an exec to install the gem... | ||
| [2009/12/10 03:40:33] @ giskard joined channel #puppet | ||
| [2009/12/10 03:41:52] <jamestur1bull> groove: can't you create two package resources that use different providers? naming hmmm with an alias? | ||
| [2009/12/10 03:42:22] <groove> jamestur1bull: i thought one of those would work but it doesn't appear to | ||
| [2009/12/10 03:42:24] @ Quit: scylla: "Connection timed out" | ||
| [2009/12/10 03:42:29] <groove> you get the expected name conflicts with either method | ||
| [2009/12/10 03:42:30] <groove> i'll grab the exact error messages for you in a sec | ||
| [2009/12/10 03:43:14] @ thuglife left channel #puppet () | ||
| [2009/12/10 03:43:36] @ Quit: maxagaz: "Ex-Chat" | ||
| [2009/12/10 03:44:07] @ Ramonster joined channel #puppet | ||
| [2009/12/10 03:44:51] @ Quit: bearnard: | ||
| [2009/12/10 03:45:16] @ mvn072 joined channel #puppet | ||
| [2009/12/10 03:46:01] @ scylla joined channel #puppet | ||
| [2009/12/10 03:46:53] <groove> jamestur1bull: http://pastebin.com/d7b30defa | ||
| [2009/12/10 03:48:03] <groove> ah, seems to be exactly feature request #2692 | ||
| [2009/12/10 03:48:04] <gepetto_> groove: ah: #2692 is http://projects.reductivelabs.com/issues/show/2692 "Puppet - Feature #2692: Allow duplicate resource names for a resource with different providers. - ReductiveLabs.com" | ||
| [2009/12/10 03:48:57] <groove> sigh | ||
| [2009/12/10 03:49:35] @ shug joined channel #puppet | ||
| [2009/12/10 03:49:51] <groove> although for some reason i can't seem to make the workaround stick | ||
| [2009/12/10 03:50:32] @ friendly12345 joined channel #puppet | ||
| [2009/12/10 03:56:24] <groove> any ideas how that aliasing workaround is supposed to be constructed? | ||
| [2009/12/10 04:00:49] @ mfladischer joined channel #puppet | ||
| [2009/12/10 04:01:19] @ bearnard joined channel #puppet | ||
| [2009/12/10 04:06:01] @ rraphink joined channel #puppet | ||
| [2009/12/10 04:06:28] @ Quit: raphink: Read error: 113 (No route to host) | ||
| [2009/12/10 04:08:27] @ danielbln joined channel #puppet | ||
| [2009/12/10 04:15:47] @ MattyM joined channel #puppet | ||
| [2009/12/10 04:16:11] @ rocket_ joined channel #puppet | ||
| [2009/12/10 04:18:26] @ Quit: poison: Remote closed the connection | ||
| [2009/12/10 04:21:12] @ Quit: rocket: Read error: 113 (No route to host) | ||
| [2009/12/10 04:23:05] * ohadlevy is looking for someone to give this a test - http://theforeman.org/wiki/foreman/Query_Interface | ||
| [2009/12/10 04:23:58] @ Quit: jmeeuwen: Read error: 110 (Connection timed out) | ||
| [2009/12/10 04:28:57] <danielbln> ohadlevy, how do I get those fancy pie charts from the foreman screenshots? | ||
| [2009/12/10 04:29:10] <ohadlevy> danielbln: which version of foreman are you using? | ||
| [2009/12/10 04:29:11] <danielbln> my dashboard is bleak and empty :/ | ||
| [2009/12/10 04:29:17] <danielbln> lemme check | ||
| [2009/12/10 04:29:27] <ohadlevy> danielbln: if your dashboard is empty, it means you have no reports | ||
| [2009/12/10 04:29:30] <ohadlevy> did you enable reporting? | ||
| [2009/12/10 04:29:37] <danielbln> reports are purring in, I can review them | ||
| [2009/12/10 04:29:50] <danielbln> 0.1-2 | ||
| [2009/12/10 04:29:53] <danielbln> would be my version | ||
| [2009/12/10 04:30:22] <ohadlevy> you mean the statistics inventory or dashboard ? | ||
| [2009/12/10 04:30:53] <danielbln> http://theforeman.org/attachments/download/40 | ||
| [2009/12/10 04:31:05] <danielbln> this overview, I do not have any charts | ||
| [2009/12/10 04:33:36] <ohadlevy> danielbln: do you have internet access? it tries to contact google graphs :) | ||
| [2009/12/10 04:34:47] <danielbln> oh yeah, that's it | ||
| [2009/12/10 04:35:00] <danielbln> I have foreman running on our puppetmaster, which is a little walled in :) | ||
| [2009/12/10 04:36:02] @ Robbie_ joined channel #puppet | ||
| [2009/12/10 04:36:15] <ohadlevy> :) | ||
| [2009/12/10 04:40:53] <ohadlevy> danielbln: we might change to flash based graphs in the future.. so you wont have to worry about that.. | ||
| [2009/12/10 04:41:37] <danielbln> oh, that's great, also for privacy reasons | ||
| [2009/12/10 04:41:58] <ohadlevy> yeah | ||
| [2009/12/10 04:44:53] @ Quit: danielbln: "Leaving." | ||
| [2009/12/10 04:45:24] @ poison joined channel #puppet | ||
| [2009/12/10 04:47:40] @ Quit: Ramonster: Client Quit | ||
| [2009/12/10 04:47:51] @ Ramonster joined channel #puppet | ||
| [2009/12/10 04:49:06] @ danielbln joined channel #puppet | ||
| [2009/12/10 04:56:07] @ maxagaz joined channel #puppet | ||
| [2009/12/10 05:10:08] @ jab_doa joined channel #puppet | ||
| [2009/12/10 05:13:22] @ marcoecc joined channel #puppet | ||
| [2009/12/10 05:17:59] @ Quit: friendly12345: "Leaving." | ||
| [2009/12/10 05:21:34] @ fxpester joined channel #puppet | ||
| [2009/12/10 05:22:52] @ fxpester is now known as a55 | ||
| [2009/12/10 05:27:21] @ qwebirc48678 joined channel #puppet | ||
| [2009/12/10 05:30:15] @ Quit: fluxdude: Read error: 110 (Connection timed out) | ||
| [2009/12/10 05:31:24] @ Quit: maxagaz: Remote closed the connection | ||
| [2009/12/10 05:31:41] @ maxagaz joined channel #puppet | ||
| [2009/12/10 05:33:29] @ Quit: qwebirc48678: "Page closed" | ||
| [2009/12/10 05:41:41] @ Quit: lazzurs: "finux" | ||
| [2009/12/10 05:42:11] @ Quit: MattyM: "ta ta" | ||
| [2009/12/10 05:46:59] @ poison_ joined channel #puppet | ||
| [2009/12/10 05:46:59] @ Quit: poison: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 05:48:11] @ TeTeT joined channel #puppet | ||
| [2009/12/10 05:48:42] <TeTeT> how can I check if my puppet slave talks to the master? or vice versa? | ||
| [2009/12/10 05:49:38] <TeTeT> I followed the simple and advanced recipe from http://reductivelabs.com/trac/puppet/wiki/SimplestPuppetInstallRecipe | ||
| [2009/12/10 05:49:59] <TeTeT> but now it seems that my change to sudoers on the master does not propagate to the client | ||
| [2009/12/10 05:50:06] @ Quit: bje: "." | ||
| [2009/12/10 05:50:19] @ bje joined channel #puppet | ||
| [2009/12/10 05:50:40] <TeTeT> I also never saw the client certificate signing request | ||
| [2009/12/10 05:52:55] <TeTeT> this is the pastebin from the client: https://pastebin.canonical.com/25581/ | ||
| [2009/12/10 05:56:32] @ fluxdude joined channel #puppet | ||
| [2009/12/10 05:57:14] <TeTeT> running puppetd with --server seems to have solved it | ||
| [2009/12/10 05:59:08] @ nakano is now known as nakano_ | ||
| [2009/12/10 05:59:26] @ Quit: a55: Read error: 113 (No route to host) | ||
| [2009/12/10 06:01:38] @ Quit: jab_doa: "Verlassend" | ||
| [2009/12/10 06:05:21] <TeTeT> unfortunately I bump into another problem, see http://pastebin.ubuntu.com/338597/ | ||
| [2009/12/10 06:05:45] <TeTeT> Could not call fileserver.list: #<#<Class:0xb7387be4>: execution expired> | ||
| [2009/12/10 06:12:58] @ Quit: FoxFurry: Read error: 113 (No route to host) | ||
| [2009/12/10 06:18:02] @ Quit: scylla: "Connection timed out" | ||
| [2009/12/10 06:19:56] @ rraphink is now known as raphink | ||
| [2009/12/10 06:22:12] @ erm_ joined channel #puppet | ||
| [2009/12/10 06:22:21] @ fxpester joined channel #puppet | ||
| [2009/12/10 06:33:41] @ Quit: erm__: Read error: 110 (Connection timed out) | ||
| [2009/12/10 06:36:03] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/10 06:43:54] @ [newbie] joined channel #puppet | ||
| [2009/12/10 06:47:18] @ Quit: JD: Remote closed the connection | ||
| [2009/12/10 06:47:21] @ JD joined channel #puppet | ||
| [2009/12/10 06:52:01] @ Jenza joined channel #puppet | ||
| [2009/12/10 07:03:04] @ jimmij joined channel #puppet | ||
| [2009/12/10 07:07:40] @ Quit: fluxdude: Read error: 110 (Connection timed out) | ||
| [2009/12/10 07:18:39] @ Quit: alexine_dsouza: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 07:19:24] @ nakano_ is now known as nakano | ||
| [2009/12/10 07:19:58] @ Quit: crdant: "Leaving." | ||
| [2009/12/10 07:20:15] <ohadlevy> Telmo:ping | ||
| [2009/12/10 07:21:33] @ Quit: jimmij: "Leaving." | ||
| [2009/12/10 07:23:43] @ paderijk joined channel #puppet | ||
| [2009/12/10 07:33:37] @ jmeeuwen joined channel #puppet | ||
| [2009/12/10 07:50:08] <nexx> hehe, the last mail on the user-mailinglist is quite nice :D | ||
| [2009/12/10 07:58:55] <SyTonnerre> Hi kanarip! | ||
| [2009/12/10 08:01:26] @ MattyM joined channel #puppet | ||
| [2009/12/10 08:09:08] @ fzzzt joined channel #puppet | ||
| [2009/12/10 08:09:10] @ TelmoX joined channel #puppet | ||
| [2009/12/10 08:09:28] <fzzzt> Is there an easy way to see all the modules a node requires/uses? | ||
| [2009/12/10 08:10:21] <TelmoX> if I remember correctly the client generates a classes.txt file where you can see what classes are being used | ||
| [2009/12/10 08:10:52] <TelmoX> it should be defined in your puppet.conf, if not it uses the default location (I don't remember where) | ||
| [2009/12/10 08:18:41] @ Quit: TelmoX: "That's it for today" | ||
| [2009/12/10 08:22:01] <tim|imac> are there design patterns for 'renaming' classes? for example, i want to always be able to use something like a http::website resource, in which case puppet decides if it uses the apache, nginx, lighttpd, etc. specific one... | ||
| [2009/12/10 08:22:16] <tim|imac> depending on which module is included, of course | ||
| [2009/12/10 08:24:38] <Volcane> unfort figuring out if apache is installed is order dependant - the if defined() type thing - and i suspect there's a problem with resource aliases and requires o them in 0.25, recall a ticket | ||
| [2009/12/10 08:24:52] <Volcane> else you can do server{"nginx": alias => webserver } | ||
| [2009/12/10 08:25:02] <Volcane> and just always require Service["webserver"] | ||
| [2009/12/10 08:25:18] <SyTonnerre> mmmm alias | ||
| [2009/12/10 08:25:58] @ jab_doa joined channel #puppet | ||
| [2009/12/10 08:26:40] <tim|imac> yeah, alias would work for resources... but how would i alias a define? (btw, what's the common name of those resources? simply 'defined resources' seems to ambigious) | ||
| [2009/12/10 08:26:53] @ leanucci joined channel #puppet | ||
| [2009/12/10 08:27:01] <Volcane> tim|imac: defined type i believe | ||
| [2009/12/10 08:27:10] <tim|imac> ah yeah | ||
| [2009/12/10 08:27:28] <Volcane> tim|imac: would your website resource create vhosts, or what? why do you need aliases on the define? | ||
| [2009/12/10 08:27:45] <tim|imac> vhost and loadbalancer config (exported) and several other stuff | ||
| [2009/12/10 08:27:55] <tim|imac> it's a fairly big defined type | ||
| [2009/12/10 08:28:20] <tim|imac> because the creation of the exact stuff depends on the webserver used | ||
| [2009/12/10 08:28:30] <Volcane> ok, so why the alias on the type though? | ||
| [2009/12/10 08:28:38] <tim|imac> and ideally, I'd want to have those part in the apache/nginx/etc. module | ||
| [2009/12/10 08:28:42] <tim|imac> and only reference it from http | ||
| [2009/12/10 08:28:50] <Volcane> wouldnt you do if defined(Class["apache"]) { .... } etc? | ||
| [2009/12/10 08:29:06] <tim|imac> well, that's the only way I can think of now, yeah... | ||
| [2009/12/10 08:29:26] <Volcane> if u have a var on the node, lets say $httpdtype | ||
| [2009/12/10 08:29:26] <tim|imac> but I was trying to find out if there's some way to do it without the http knowing all the modules it can extend | ||
| [2009/12/10 08:29:46] <Volcane> you can do include webserver which owuld do include "webserver::${httpdtype}" | ||
| [2009/12/10 08:29:48] <tim|imac> or not having a http module and some other way to make sure that "http::webserver" always does the same, no matter which webserver is used | ||
| [2009/12/10 08:29:54] <Volcane> so require Class["webserver"] would always work | ||
| [2009/12/10 08:30:20] <Volcane> you can then provide a wrapper httpd::website define in tehre that you use to create your web vhosts etc | ||
| [2009/12/10 08:30:53] <Volcane> but it would just create httpd::gninx::website or whatever depending on this variable | ||
| [2009/12/10 08:31:15] <Volcane> then you dont have the mess of nasty if/case etc statements with LOTS in each {} block | ||
| [2009/12/10 08:31:31] <Volcane> and httpd::gninx::website would know to require Servpce["nginx"] or whatever | ||
| [2009/12/10 08:32:02] * tim|imac tries to get his brain around that... just a sec, processing... | ||
| [2009/12/10 08:33:13] <tim|imac> ah yeah... that's actually a nice solution | ||
| [2009/12/10 08:33:41] @ Quit: Ramonster: Client Quit | ||
| [2009/12/10 08:33:52] <tim|imac> define http::website (stuff) { $httpserver::website { $name: stuff } } | ||
| [2009/12/10 08:34:12] <ohadlevy> Telmo: Nice work! :) | ||
| [2009/12/10 08:34:17] <Volcane> http://pastie.org/737196 | ||
| [2009/12/10 08:34:38] <Volcane> not sure you can do $httpdtype::website, but thats a simple case statement | ||
| [2009/12/10 08:35:43] <tim|imac> you can do include "$httptype", so I'd expect it to work in namespaces too, but that's easy to test | ||
| [2009/12/10 08:35:57] <tim|imac> and it doesn't require the http module to know every case | ||
| [2009/12/10 08:35:59] @ Quit: MattyM: "ta ta" | ||
| [2009/12/10 08:36:01] <Volcane> include is a function that takes a string | ||
| [2009/12/10 08:36:03] <tim|imac> which would make it easily extendible | ||
| [2009/12/10 08:36:10] <Volcane> foo::bar{"..": } isnt a function | ||
| [2009/12/10 08:36:15] <tim|imac> true | ||
| [2009/12/10 08:37:17] <Volcane> ayway, i think this is a pretty decent structure have used something like it before and it works ok | ||
| [2009/12/10 08:38:50] <tim|imac> yeah, it is | ||
| [2009/12/10 08:39:27] <tim|imac> still, i was hoping to find something that wouldn't require a list of all available options in a case :) I'll try to see what I can do... only in the design phase now | ||
| [2009/12/10 08:40:44] <Volcane> yeah | ||
| [2009/12/10 08:40:46] @ whaley joined channel #puppet | ||
| [2009/12/10 08:41:02] <Volcane> we spoke at length about this on the list a while ago | ||
| [2009/12/10 08:41:10] <Volcane> i think some kind of conceptual position got reached | ||
| [2009/12/10 08:41:24] <tim|imac> yeah, i seem to remember something like it, but i couldn't find it in the archives :/ | ||
| [2009/12/10 08:41:32] <Volcane> i had to make a feature request but not sure i can quite formulate the thred into a coherant request | ||
| [2009/12/10 08:42:19] <tim|imac> hm... | ||
| [2009/12/10 08:42:23] <tim|imac> i have a crazy idea | ||
| [2009/12/10 08:42:39] <tim|imac> got a minute? I'd like you input on it, going to write it in a paste | ||
| [2009/12/10 08:42:45] <Volcane> yeah | ||
| [2009/12/10 08:43:03] <Volcane> i thougth about defining the webserver define in several files | ||
| [2009/12/10 08:43:13] <Volcane> and importing the right one, but it doesnt work that way | ||
| [2009/12/10 08:43:21] <Volcane> cos the master as a whole imports, its not a per node thing | ||
| [2009/12/10 08:43:36] <Volcane> so if u had an apache node and an nginx node on the same master it would not work | ||
| [2009/12/10 08:44:15] <tim|imac> argh... nvm... would require "inherit" to be able to work with variables, too... don't think it does | ||
| [2009/12/10 08:44:29] <Volcane> hehe doesnt no | ||
| [2009/12/10 08:45:18] <tim|imac> but honestly, that's what would be the easiest way to do it, i think... have a class http::webserver inherits $httpdtype::webserver { } | ||
| [2009/12/10 08:45:33] <Volcane> yes | ||
| [2009/12/10 08:46:21] <Volcane> 1 case statement is best i think of if you have defines involved, zero if u didnt | ||
| [2009/12/10 08:46:54] <tim|imac> yeah, i agree, 1 would give you the most readable code | ||
| [2009/12/10 08:47:35] <leanucci> ohadlevy: ping? | ||
| [2009/12/10 08:49:28] <ohadlevy> leanucci:pong | ||
| [2009/12/10 08:49:52] <leanucci> ohadlevy: hi, my name is Leandro, we've been exchanging emails | ||
| [2009/12/10 08:50:33] <ohadlevy> leanucci: hi :) | ||
| [2009/12/10 08:50:47] <leanucci> hi, good to see you | ||
| [2009/12/10 08:51:03] <leanucci> i thought we could discuss better about foreman if we chatted | ||
| [2009/12/10 08:51:07] @ zombied joined channel #puppet | ||
| [2009/12/10 08:51:13] @ Quit: bearnard: | ||
| [2009/12/10 08:51:19] <ohadlevy> sure :) | ||
| [2009/12/10 08:51:37] <leanucci> great | ||
| [2009/12/10 08:52:24] <leanucci> we're starting to work on the code, mostly to integrate a Preseed-like tool into Foreman, and the dns/dhcp stuff we already discussed | ||
| [2009/12/10 08:52:40] <ohadlevy> what do you mean by preseed like tool? | ||
| [2009/12/10 08:52:57] <leanucci> we need to automate whole lifecycle of vm;s | ||
| [2009/12/10 08:52:59] <leanucci> vm's | ||
| [2009/12/10 08:53:10] <leanucci> thats why we need dhcp/dns mostly | ||
| [2009/12/10 08:53:15] <zombied> Can someone explain what is wrong with my puppet syntax in this class? | ||
| [2009/12/10 08:53:20] <ohadlevy> so you mean something like koan? or preseed like debian? | ||
| [2009/12/10 08:53:28] <zombied> http://pastie.org/737223 | ||
| [2009/12/10 08:53:34] <leanucci> preseed like debian, i dunno whats koan | ||
| [2009/12/10 08:53:49] <ohadlevy> debian preseed is already included ;) | ||
| [2009/12/10 08:54:06] <Volcane> zombied: you didnt think it would be helpful to show the error you get? | ||
| [2009/12/10 08:54:27] <leanucci> rly? great | ||
| [2009/12/10 08:54:35] <zombied> What I'm trying to do is get the directory and all of its contents in /var/puppet/files/home/voiptech/qosreport/ on the puppet master to go to /home/voiptech/qosreport (create the dir if it doesn't exist) on all the puppet clients | ||
| [2009/12/10 08:54:45] <zombied> volcane: I don't get an error, it just doesn't work | ||
| [2009/12/10 08:54:46] <leanucci> we're just starting to dive the code, thats good news | ||
| [2009/12/10 08:54:46] @ Quit: rmiller4pi8: "Leaving." | ||
| [2009/12/10 08:54:46] <zombied> Puppet still works | ||
| [2009/12/10 08:55:00] <ohadlevy> leanucci: http://theforeman.org/wiki/foreman/Unattended_installations#Whats-inside-the-Kickstart-jumpstart-preseed- | ||
| [2009/12/10 08:55:05] <Telmo> omrning | ||
| [2009/12/10 08:55:17] <Telmo> ohadlevy: did you get my pull request? | ||
| [2009/12/10 08:55:18] <Volcane> zombied: you should probably say file{"/home/voiptech/qosreport": ... } then but the rest looks ok | ||
| [2009/12/10 08:55:26] <ohadlevy> Telmo: yeah :) | ||
| [2009/12/10 08:55:34] <ohadlevy> telmo: I just got it running here - nice | ||
| [2009/12/10 08:55:40] <ohadlevy> real nice :) | ||
| [2009/12/10 08:55:55] <Telmo> I am glad you like it :) | ||
| [2009/12/10 08:56:11] <ohadlevy> telmo: but it seems too many things to configure :) | ||
| [2009/12/10 08:56:20] <Telmo> it needs some tweaking | ||
| [2009/12/10 08:56:26] <Telmo> what do you mean? | ||
| [2009/12/10 08:56:42] <leanucci> ohadlevy: thats really amazing | ||
| [2009/12/10 08:57:10] <zombied> vol: and if I do that, the ensure => present will make sure if that dir doesn't exist to create it and then copy all that content, correct? | ||
| [2009/12/10 08:57:10] <ohadlevy> telmo: i mean for each part of the graph | ||
| [2009/12/10 08:57:12] <Telmo> you only have to move the contents of assets to public, nothing else to configure if you are running StoredConfigs :) | ||
| [2009/12/10 08:57:27] <ohadlevy> Telmo: what do you mean? | ||
| [2009/12/10 08:57:28] <zombied> Awesome, that seems to have done it | ||
| [2009/12/10 08:57:35] <ohadlevy> leanucci: I'm glad you liked it | ||
| [2009/12/10 08:58:16] <ohadlevy> Telmo: the problem with this graph is that it has too many data points, probably we need to reduce the resolution | ||
| [2009/12/10 08:58:19] <Telmo> well the graphs_reports function takes care of everything, I am not sure I understand what you mean with "too many things to configure" :) | ||
| [2009/12/10 08:58:25] <Telmo> oh yeah | ||
| [2009/12/10 08:58:29] <Volcane> zombied: i think so, be aware though recursive copies isnt great on memory, cpu etc | ||
| [2009/12/10 08:58:30] <Telmo> I agree 100 :) | ||
| [2009/12/10 08:58:31] <ohadlevy> Telmo: I mean per graph | ||
| [2009/12/10 08:58:57] <Telmo> the problem is the seer amount of data points if you run puppet every 30 minutes as its the default | ||
| [2009/12/10 08:58:57] <leanucci> ohadlevy: just double-checked, we want to tweak the preseed templating system a bit | ||
| [2009/12/10 08:59:03] <ohadlevy> telmo: we would also need a better way to get some sort of an AVG values, maybe storing in RRD is not a bad idea | ||
| [2009/12/10 08:59:38] <ohadlevy> leanucci: patches are welcomed :) | ||
| [2009/12/10 08:59:38] <leanucci> we want to make it more flexible, without editign the erb file | ||
| [2009/12/10 08:59:49] <leanucci> i know, thats what we like the most | ||
| [2009/12/10 08:59:50] <ohadlevy> leanucci: whats missing? | ||
| [2009/12/10 09:00:09] <Telmo> changing the data to an averaged data shouldn't be too complicated | ||
| [2009/12/10 09:00:13] <leanucci> we want to automate the process a bit more | ||
| [2009/12/10 09:00:44] <leanucci> add logic to foreman to be able to create a new node out of the blue, with a few options | ||
| [2009/12/10 09:00:45] <ohadlevy> Telmo: I need to enhance the way the reports are stored in the db first to get it working correctly | ||
| [2009/12/10 09:00:58] <ohadlevy> leanucci: why not create it in foreman? | ||
| [2009/12/10 09:01:38] <Telmo> ohadlevy: for that we should wait until ReductiveLabs finishes revamping the reports ;) | ||
| [2009/12/10 09:02:09] <ohadlevy> Telmo: oh.. yeah ;) the problem is that I've spend tons of hours thinking about this already... | ||
| [2009/12/10 09:02:25] <Telmo> but for the time being it is an easy solution to the RRD difficulties | ||
| [2009/12/10 09:02:36] <ohadlevy> Telmo: oh yeah :) | ||
| [2009/12/10 09:02:54] <ohadlevy> telmo: I'm planning release 0-1.3 in the next few days, so hopefully this can get into the next release | ||
| [2009/12/10 09:03:32] <Telmo> I'll see if I can work on average data over the course of 7 and 30 days, so we have 3 graphs, 1 day, 1 week and 1 month | ||
| [2009/12/10 09:03:47] <ohadlevy> the problem is that you still need to process all reports currently | ||
| [2009/12/10 09:03:54] <ohadlevy> unless you skip some | ||
| [2009/12/10 09:04:11] <Telmo> yah | ||
| [2009/12/10 09:04:14] <ohadlevy> or we have some sort of cache, extra table that does something similar to rrd | ||
| [2009/12/10 09:05:13] @ joe-mac joined channel #puppet | ||
| [2009/12/10 09:05:35] <Telmo> ohadlevy: the way I see it, this is a temporary way of getting the data, I don't think a lot of effort should go into it because everything may change once the new way of reporting is in puppet | ||
| [2009/12/10 09:05:44] <Volcane> replace the rrd library with one that inserts into a DB :P | ||
| [2009/12/10 09:05:50] <Volcane> but exposing the same interface | ||
| [2009/12/10 09:05:58] <leanucci> ohadlevy: we will create it in foreman | ||
| [2009/12/10 09:06:22] <Telmo> Volcane: that would mean a change to puppet, we are just trying to do it in Foreman | ||
| [2009/12/10 09:06:23] <ohadlevy> Volcane: thats not the problem, its just that you need to simulate the logic inside rrd | ||
| [2009/12/10 09:06:29] <Volcane> Telmo: it wodlnt | ||
| [2009/12/10 09:06:43] <Telmo> oh, I see what you mean | ||
| [2009/12/10 09:06:56] <Telmo> change the foreman report to act as rrd | ||
| [2009/12/10 09:07:06] <Telmo> shortof kindof :) | ||
| [2009/12/10 09:07:12] <ohadlevy> volcane: the nice thing about rrd is that it does all of this heavy lifting internally | ||
| [2009/12/10 09:07:33] <Volcane> ohadlevy: yeah well its a thought, i dont think it can be *that* hard, all puppet tells RRD is 'here a bit of data, i got it at this time' if u insert into a db you can just query out anything u need | ||
| [2009/12/10 09:07:56] <joe-mac> hjey guys OT but i am benig tasked with getting a SAN device and building a list of at least two devices from two separate vendors. my counterpart is really attached to ZFS and I want end to end support if we go with solaris so i want it on sun gear. can anyone tell me in theri experience which vendor makes a better entry-mid level SAN (netapp vs emc, i am boring like that) | ||
| [2009/12/10 09:08:01] <Volcane> ohadlevy: obviously better reporting would be best, but might be a stop gap that doesnt interfere with puppet | ||
| [2009/12/10 09:08:18] <ohadlevy> volcane: that would mean tons of data | ||
| [2009/12/10 09:08:28] <joe-mac> i mean i am picking two from sun and pitching them hard because i <3 dtrace and my colleague being already familiar with ZFS administration is another win | ||
| [2009/12/10 09:08:28] <Telmo> joe-mac, how big is your company? | ||
| [2009/12/10 09:08:35] @ Quit: malraid: Remote closed the connection | ||
| [2009/12/10 09:08:44] <ohadlevy> the way that rrd works is that it says 100x values for the last day, 20x for the last week, and 5x values for the last month | ||
| [2009/12/10 09:08:48] <ohadlevy> rotating them | ||
| [2009/12/10 09:08:54] <Volcane> ohadlevy: probably in your case yeah, and probably mysql not the best option something like couchdb would be better for that | ||
| [2009/12/10 09:09:02] <ohadlevy> because you never see a high resolution in a monthly grpah | ||
| [2009/12/10 09:09:06] <Volcane> ohadlevy: yeah i know what rrd does :) | ||
| [2009/12/10 09:09:07] <Telmo> if is big go EMC, if is medum size go netapp | ||
| [2009/12/10 09:09:13] <joe-mac> Telmo: right now 100 people but we have a disproportionate amount of data cause we host solutions adn whatnot. beyond that we are growing at a pretty astronomical rate. i think i admin'd 15 or 20 boxes wheni started a 16 months ago now I admin 70+ | ||
| [2009/12/10 09:09:29] <joe-mac> Telmo: ok that's kinda what i was thinking | ||
| [2009/12/10 09:09:41] <ohadlevy> +1 for netapp if you can live with nfs | ||
| [2009/12/10 09:09:59] <joe-mac> i really want the sun gear but the PHB's i think will hear sun and think of them from a business stand poitn and not want their gear cause their stock isn't to their liking | ||
| [2009/12/10 09:10:04] <ohadlevy> Volcane: so in order to do it, I'll need to simulate rrd in the db ;) | ||
| [2009/12/10 09:10:05] <Telmo> however, if you already work with SUN, you should ask them about their mid-range storage units | ||
| [2009/12/10 09:10:25] <Telmo> There is also Hitachi SAN's to consider | ||
| [2009/12/10 09:10:27] <joe-mac> Telmo: we have contacts at sun and i have been a sun fanboy since i was a teen, used a lot of their gear so... | ||
| [2009/12/10 09:10:36] <joe-mac> Telmo: Hitachi SANs are high end aren't they? | ||
| [2009/12/10 09:10:37] <Volcane> ohadlevy: well if u didnt want to keep all the data, sure | ||
| [2009/12/10 09:10:51] <Telmo> they have a wide range of SAN's | ||
| [2009/12/10 09:10:56] <ohadlevy> Volcane: In my test demo, I had 5m reports per week.... | ||
| [2009/12/10 09:10:59] <joe-mac> thanks for that tidbit | ||
| [2009/12/10 09:11:23] <Volcane> ohadlevy: hehe | ||
| [2009/12/10 09:11:31] <Telmo> you could also check HP, they do have a wide range of SAN's although not propietary, the license their stuff from Hitachi mostly ;) | ||
| [2009/12/10 09:11:34] <joe-mac> Volcane: you partial to any san tech? | ||
| [2009/12/10 09:11:50] <Volcane> joe-mac: i am partial to never seeing sun tech again | ||
| [2009/12/10 09:11:51] <joe-mac> Telmo: i do like HP but i'm not so sure i wanna go linux on this one... | ||
| [2009/12/10 09:11:53] @ crdant joined channel #puppet | ||
| [2009/12/10 09:12:02] <joe-mac> Volcane: ahh you break my heart | ||
| [2009/12/10 09:12:03] <joe-mac> why | ||
| [2009/12/10 09:12:15] <Telmo> joe-mac, a SAN is independent of what OS you run | ||
| [2009/12/10 09:12:16] @ bearnard joined channel #puppet | ||
| [2009/12/10 09:12:24] <Telmo> it just presents the disks through fiber | ||
| [2009/12/10 09:12:31] <joe-mac> Telmo: nah we're going iscsi | ||
| [2009/12/10 09:12:36] <Telmo> its up to the host to mount them :) | ||
| [2009/12/10 09:12:37] <joe-mac> most likely | ||
| [2009/12/10 09:12:39] <ohadlevy> telmo: why do you need to specify the url in the graph? | ||
| [2009/12/10 09:13:07] <joe-mac> we're probably just going to get a nice procurve for a separate data net and use iscsi | ||
| [2009/12/10 09:13:07] <Telmo> ohadlevy: the url generate json which gets interpreted by the flash file | ||
| [2009/12/10 09:13:14] <joe-mac> maybe even with 10g cards | ||
| [2009/12/10 09:13:41] <joe-mac> it's all very, preliminary, discovery phase right now, but in the past my boss and i agreed it'd probably be best for us to just get iscsi | ||
| [2009/12/10 09:13:52] <ohadlevy> Telmo: hmmm.. ok, maybe we can use url_for and path_for something if we ever change routes | ||
| [2009/12/10 09:13:54] <Telmo> joe-mac: I don't have much experience with iscsi, I deal mostly with fiber | ||
| [2009/12/10 09:14:16] <joe-mac> Telmo: i c. i've only dealt with this kind of stuff in a lab at RH heh | ||
| [2009/12/10 09:14:29] <Telmo> ohadlevy: the only reason I had to do it in such a complicated way its because $%$#@$$^ ActiveScaffold | ||
| [2009/12/10 09:14:40] <joe-mac> obv you take a performance hit with iscsi, but it can be pretty speedy if its' on an isolated network and you have good gear | ||
| [2009/12/10 09:14:54] <joe-mac> (speaking from statistics i've seen mostly) | ||
| [2009/12/10 09:15:08] <ohadlevy> Telmo: I'll see what I can do, I'll dive into it once I release 0.1-3 | ||
| [2009/12/10 09:15:18] <fzzzt> huh. puppetd[19331]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not match '#class' at /etc/puppet/testing/modules/ssh/manifests/init.pp:7 | ||
| [2009/12/10 09:16:31] <Telmo> ActiveScaffold is nice if you don't plan on customizing a lot.. but it gets to be a pain in the ass | ||
| [2009/12/10 09:16:45] <ohadlevy> Telmo: yeah, it was just a way to start up quickly | ||
| [2009/12/10 09:17:06] @ MattyM joined channel #puppet | ||
| [2009/12/10 09:17:07] <leanucci> ohadlevy: other field we want to enter is mcollective | ||
| [2009/12/10 09:17:12] <ohadlevy> Telmo: the main problem with it that it doesn supoprt named_scope | ||
| [2009/12/10 09:17:25] <ohadlevy> leanucci: yeah, volcane and I had agreed already :) | ||
| [2009/12/10 09:17:44] @ _newbie3 joined channel #puppet | ||
| [2009/12/10 09:17:58] <leanucci> ohadlevy: but first things first, and first thing is dns/dhcp | ||
| [2009/12/10 09:18:05] <ohadlevy> volcane: btw: I'm made my poor man version of mcollecive host discover | ||
| [2009/12/10 09:18:11] <Telmo> ohadlevy: is it ok if I change the subnets/domain tables a bit? right now they are not ... working as desired for us ;) | ||
| [2009/12/10 09:18:21] <Volcane> ohadlevy: yah? via resources db or something? | ||
| [2009/12/10 09:18:23] <ohadlevy> Telmo: what do you need? | ||
| [2009/12/10 09:18:43] <ohadlevy> volcane:http://theforeman.org/wiki/foreman/Query_Interface | ||
| [2009/12/10 09:18:56] <Volcane> ah | ||
| [2009/12/10 09:19:02] <ohadlevy> see http://theforeman.org/repositories/entry/foreman/extras/query | ||
| [2009/12/10 09:19:58] <Volcane> neat | ||
| [2009/12/10 09:20:07] <ohadlevy> telmo: I didnt really touch the subnet table until we get proper dhcp / dns support, its on the todo list - and someone is already contributing code to it | ||
| [2009/12/10 09:20:28] <Telmo> ohadlevy: I will send you an e-mail, I don't want to bore people with network and subbnet details ;) | ||
| [2009/12/10 09:20:34] <ohadlevy> :) | ||
| [2009/12/10 09:21:14] <Telmo> also you should probably have the posibility to have 2 dns instead of one, kickstart can take 2 dns and it makes things easier in large networks | ||
| [2009/12/10 09:21:14] @ malraid joined channel #puppet | ||
| [2009/12/10 09:21:32] <Telmo> but as I said, I'll mail you | ||
| [2009/12/10 09:21:38] <ohadlevy> Telmo: sure, thats defined by the dhcp scope settings | ||
| [2009/12/10 09:21:55] <ohadlevy> telmo: foreman just needs to know which dns server to update | ||
| [2009/12/10 09:22:03] <Telmo> if you use foreman to provision, which we don't ;) | ||
| [2009/12/10 09:22:28] <ohadlevy> telmo: ok -I'll wait for your email :) | ||
| [2009/12/10 09:22:33] @ cmoates joined channel #puppet | ||
| [2009/12/10 09:23:24] @ anarcat joined channel #puppet | ||
| [2009/12/10 09:23:26] <ohadlevy> volcane: but I would still love to use mcollective somehow.. just swamped | ||
| [2009/12/10 09:23:32] <anarcat> hello | ||
| [2009/12/10 09:23:47] <anarcat> i'm having 500 errors with passenger on 0.24.8: http://pastebin.ca/1709647 | ||
| [2009/12/10 09:24:09] <anarcat> i get permission denied on /var/lib/puppet/ssl/ca/* even though those files are owned by the puppet user... | ||
| [2009/12/10 09:24:11] <ohadlevy> gotta go, later | ||
| [2009/12/10 09:24:19] <Volcane> ohadlevy: kewl kewl | ||
| [2009/12/10 09:25:48] @ unxfrek joined channel #puppet | ||
| [2009/12/10 09:26:24] <Telmo> Volcane: sorry to sounds like a noob, but what's mcollective? :) | ||
| [2009/12/10 09:26:41] <Volcane> Telmo: http://code.google.com/p/mcollective/ watch the video | ||
| [2009/12/10 09:26:52] <Telmo> thanks | ||
| [2009/12/10 09:26:53] <Volcane> Telmo: thats a pre-version of mcollective, its now opensource tc | ||
| [2009/12/10 09:27:06] <anarcat> ooh i think i know the problem... does the permission/ownership of the config.ru affect the way processes are spawned? | ||
| [2009/12/10 09:27:58] <anarcat> chown puppet /usr/share/puppet/rack/puppetmasterd/config.ru | ||
| [2009/12/10 09:28:00] <anarcat> darn it :) | ||
| [2009/12/10 09:28:03] <anarcat> that was it! | ||
| [2009/12/10 09:28:31] <Telmo> Volcane: yes I've seen it before, pretty cool | ||
| [2009/12/10 09:35:05] @ Quit: [newbie]: Read error: 110 (Connection timed out) | ||
| [2009/12/10 09:35:22] @ Quit: ohadlevy: Read error: 113 (No route to host) | ||
| [2009/12/10 09:35:41] @ omry__|work joined channel #puppet | ||
| [2009/12/10 09:36:46] @ ohadlevy joined channel #puppet | ||
| [2009/12/10 09:36:53] @ Quit: omry__|work: SendQ exceeded | ||
| [2009/12/10 09:43:28] @ bobbyz_ joined channel #puppet | ||
| [2009/12/10 09:43:41] <KarlHungus> hi. i'm looking at http://github.com/ripienaar/facter/blob/cbbd6f9b02c93c3438fe4b1222b8bbc9ec1aa646/lib/facter/diskdrives.rb | ||
| [2009/12/10 09:44:08] * Volcane 'd forgotten thats on github | ||
| [2009/12/10 09:44:15] <KarlHungus> i have it installed in the lib/facter/ dir of a module, and it is being properly synced to the client along with the util directory | ||
| [2009/12/10 09:44:36] <KarlHungus> now that i've upgraded to 25.1 i get an error loading it | ||
| [2009/12/10 09:44:40] <Volcane> KarlHungus: yeah but doesnt work cos facter doesnt add the whole directory to the libdir so requireing the util doesnt work | ||
| [2009/12/10 09:44:42] <KarlHungus> warning: Could not load fact file /var/lib/puppet/lib/facter/diskdrives.rb: no such file to load -- facter/util/diskdrives | ||
| [2009/12/10 09:45:00] <KarlHungus> Volcane: =) i see you are two steps ahead of me as usual | ||
| [2009/12/10 09:45:04] <Volcane> KarlHungus: if you put it into your real lib dir - along with the rest of facter it will work :( | ||
| [2009/12/10 09:45:15] <Volcane> KarlHungus: afaik next major version of facter will sort that | ||
| [2009/12/10 09:45:30] <KarlHungus> Volcane: but then i can't seperate my facts into module | ||
| [2009/12/10 09:45:48] <Volcane> yup | ||
| [2009/12/10 09:45:50] <Volcane> its not nice | ||
| [2009/12/10 09:45:59] <Volcane> i think i opened a ticket | ||
| [2009/12/10 09:46:16] <Volcane> you can try just concatting the files and removing the require line | ||
| [2009/12/10 09:46:18] <KarlHungus> ok. brb. duty calls | ||
| [2009/12/10 09:46:26] <Volcane> *should* work | ||
| [2009/12/10 09:46:33] <KarlHungus> cancatting them gives me errors with multiple constant definitions | ||
| [2009/12/10 09:46:38] <Volcane> oh | ||
| [2009/12/10 09:50:23] @ jcape joined channel #puppet | ||
| [2009/12/10 09:51:02] @ ashp joined channel #puppet | ||
| [2009/12/10 09:51:06] <Volcane> KarlHungus: http://nephilim.ml.org/~rip/puppet/diskdrives/diskdrives.rb works | ||
| [2009/12/10 09:51:10] @ jcape left channel #puppet () | ||
| [2009/12/10 09:51:13] <Volcane> just pluginsync that | ||
| [2009/12/10 09:51:24] <KarlHungus> Volcane: you are the man, as usual | ||
| [2009/12/10 09:51:38] <KarlHungus> and puppet is fantastic | ||
| [2009/12/10 09:51:48] <Volcane> yup | ||
| [2009/12/10 09:52:12] <ashp> i never thought I'd say this, but I really wish I was using grub on this server, not freebsd's bootloader :/ | ||
| [2009/12/10 09:53:32] @ Quit: omry_|work: Read error: 110 (Connection timed out) | ||
| [2009/12/10 09:55:31] @ Ramonster joined channel #puppet | ||
| [2009/12/10 10:02:00] @ [newbie] joined channel #puppet | ||
| [2009/12/10 10:02:54] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/10 10:02:57] @ omry__|work joined channel #puppet | ||
| [2009/12/10 10:05:04] @ _newbie4 joined channel #puppet | ||
| [2009/12/10 10:05:19] @ themurph joined channel #puppet | ||
| [2009/12/10 10:10:11] @ Quit: rmiller4pi8: "Leaving." | ||
| [2009/12/10 10:10:44] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/10 10:13:53] @ Quit: MattyM: "ta ta" | ||
| [2009/12/10 10:18:22] @ halenger joined channel #puppet | ||
| [2009/12/10 10:20:06] @ Quit: _newbie3: Read error: 110 (Connection timed out) | ||
| [2009/12/10 10:22:21] @ Quit: [newbie]: Read error: 110 (Connection timed out) | ||
| [2009/12/10 10:22:29] @ lilmatt joined channel #puppet | ||
| [2009/12/10 10:35:28] @ Quit: suchu: "ChatZilla 0.9.85 [Firefox 3.0.15/2009101601]" | ||
| [2009/12/10 10:38:02] @ Quit: _newbie4: Read error: 110 (Connection timed out) | ||
| [2009/12/10 10:38:36] <groove> anyone that is lurking right know how to achieve the aliasing workaround mentioned in #2692 | ||
| [2009/12/10 10:38:37] <gepetto_> groove: #2692 is http://projects.reductivelabs.com/issues/show/2692 "Puppet - Feature #2692: Allow duplicate resource names for a resource with different providers. - ReductiveLabs.com" | ||
| [2009/12/10 10:43:02] @ wbruce joined channel #puppet | ||
| [2009/12/10 10:43:26] @ Quit: crdant: "Leaving." | ||
| [2009/12/10 10:43:55] @ Quit: wbruce: Client Quit | ||
| [2009/12/10 10:44:05] @ wbruce joined channel #puppet | ||
| [2009/12/10 10:45:21] @ Quit: mfladischer: "Ex-Chat" | ||
| [2009/12/10 10:46:28] @ Quit: kolla: Remote closed the connection | ||
| [2009/12/10 10:46:50] @ kaptk2 joined channel #puppet | ||
| [2009/12/10 10:49:58] @ elijahwright joined channel #puppet | ||
| [2009/12/10 10:51:09] @ Quit: wbruce: "The computer fell asleep" | ||
| [2009/12/10 10:51:22] @ wbruce joined channel #puppet | ||
| [2009/12/10 10:57:59] @ zamolxes joined channel #puppet | ||
| [2009/12/10 10:58:38] <zamolxes> so, what should I deploy it with, mongrel or passenger? :) | ||
| [2009/12/10 10:59:03] @ crdant joined channel #puppet | ||
| [2009/12/10 10:59:22] @ anarcat left channel #puppet ("thanks") | ||
| [2009/12/10 11:02:52] <groove> i used to use mongrel, and now am using passenger and it seems much more scalable | ||
| [2009/12/10 11:03:20] @ zombied left channel #puppet () | ||
| [2009/12/10 11:03:39] @ illsci left channel #puppet () | ||
| [2009/12/10 11:04:01] <KarlHungus> can you use ruby code directly in a module class? | ||
| [2009/12/10 11:04:07] @ Quit: wbruce: Remote closed the connection | ||
| [2009/12/10 11:04:18] @ wbruce joined channel #puppet | ||
| [2009/12/10 11:06:45] @ Quit: wbruce: Remote closed the connection | ||
| [2009/12/10 11:06:46] @ nakano is now known as nakano_ | ||
| [2009/12/10 11:07:03] @ wbruce joined channel #puppet | ||
| [2009/12/10 11:08:36] @ labrown joined channel #puppet | ||
| [2009/12/10 11:11:56] @ nakano_ is now known as nakano | ||
| [2009/12/10 11:12:51] @ Telmo left channel #puppet () | ||
| [2009/12/10 11:12:52] @ Quit: poison_: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 11:12:59] @ Telmo joined channel #puppet | ||
| [2009/12/10 11:13:01] @ poison joined channel #puppet | ||
| [2009/12/10 11:13:03] @ MattyM joined channel #puppet | ||
| [2009/12/10 11:13:58] <Telmo> KarlHungus: no | ||
| [2009/12/10 11:15:17] @ Quit: wbruce: Read error: 60 (Operation timed out) | ||
| [2009/12/10 11:17:29] <KarlHungus> hmm | ||
| [2009/12/10 11:17:49] <KarlHungus> well, i have a fact called $diskdrives that holds a string like "sda,hdc" | ||
| [2009/12/10 11:18:51] <KarlHungus> and i'm working on a class to write out my munin::plugin { "diskstat_iops_sda": } and munin::plugin { "diskstat_iops_hdc": } | ||
| [2009/12/10 11:18:59] @ wbruce joined channel #puppet | ||
| [2009/12/10 11:20:16] <KarlHungus> if i could get that string into an array like ["diskstat_iops_sda","diskstat_latency_sda","diskstat_iops_hdc","diskstat_latency_hdc"] then i could just hand that array off to munin::plugin i'd be all set =) | ||
| [2009/12/10 11:25:37] <KarlHungus> i dont see any kind of each or iterator built in function for puppet | ||
| [2009/12/10 11:26:35] <fsweetser> 0.25 has a split function you can use | ||
| [2009/12/10 11:27:05] <KarlHungus> fsweetser: split is cool, but how do i use split and regsubst together to do that? | ||
| [2009/12/10 11:27:38] <fsweetser> you'd use a define | ||
| [2009/12/10 11:28:42] <fsweetser> define wrapper { munin::plugin { diskstat_iops_$name: ... } } or something like that | ||
| [2009/12/10 11:28:46] @ Quit: wbruce: Read error: 145 (Connection timed out) | ||
| [2009/12/10 11:29:44] @ synchris_ joined channel #puppet | ||
| [2009/12/10 11:30:04] <fsweetser> you'd then instantiate with wrapper { [split(...)] } | ||
| [2009/12/10 11:30:11] <KarlHungus> hmm | ||
| [2009/12/10 11:30:28] <Volcane> KarlHungus: look at the function reference, u can do regex | ||
| [2009/12/10 11:30:41] <Volcane> and split yes | ||
| [2009/12/10 11:32:22] @ _newbie4 joined channel #puppet | ||
| [2009/12/10 11:32:56] @ pOrk joined channel #puppet | ||
| [2009/12/10 11:34:14] <pOrk> Hi all. Despite best efforts, I seem to be running into an issue with the parser finding whitespace in my puppet.conf on the puppetmaster. Is there a fix for the parser? | ||
| [2009/12/10 11:35:05] @ lak joined channel #puppet | ||
| [2009/12/10 11:35:27] <pOrk> Ah, found problem: appears to be an exclamation point in a comment. :P | ||
| [2009/12/10 11:36:06] @ Quit: synchris: Read error: 145 (Connection timed out) | ||
| [2009/12/10 11:36:54] @ Quit: erm_: "leaving" | ||
| [2009/12/10 11:36:57] @ erm_ joined channel #puppet | ||
| [2009/12/10 11:38:37] <hacim> ohadlevy: where did you say your passenger module repository was? I dont see it on your github | ||
| [2009/12/10 11:38:38] @ incommon_ike_ joined channel #puppet | ||
| [2009/12/10 11:39:17] @ Quit: poison: Read error: 113 (No route to host) | ||
| [2009/12/10 11:42:59] <KarlHungus> Volcane, fsweetser: got it ;) thanks again | ||
| [2009/12/10 11:43:39] <KarlHungus> http://pastebin.com/d63d6d5a1 does that look right? | ||
| [2009/12/10 11:44:04] @ wbruce joined channel #puppet | ||
| [2009/12/10 11:47:36] <himanshu> are there any example on how to create new user and generate authorized keys? | ||
| [2009/12/10 11:48:35] <arj> yes | ||
| [2009/12/10 11:48:57] <himanshu> can you share me some link | ||
| [2009/12/10 11:49:19] @ Quit: incommon_ike_: | ||
| [2009/12/10 11:49:39] <himanshu> I am following up: reductivelabs.com/trac/puppet/wiki/Recipes/Authorized_keys but cannot really figure out simple use case | ||
| [2009/12/10 11:51:39] @ Quit: pacalm: | ||
| [2009/12/10 11:51:40] <Volcane> i dont believe that recipe is working at all | ||
| [2009/12/10 11:51:54] <Volcane> there was another ssh key one on the list just yesterday it looks very nice | ||
| [2009/12/10 11:52:13] @ cwebber joined channel #puppet | ||
| [2009/12/10 11:52:55] <himanshu> Volcane:can you share the link ? | ||
| [2009/12/10 11:53:29] <Volcane> its the puppet users list on google groups | ||
| [2009/12/10 11:53:32] <Volcane> just search for it | ||
| [2009/12/10 11:53:38] @ Quit: cwebber: Client Quit | ||
| [2009/12/10 11:54:59] @ Quit: Ramonster: Client Quit | ||
| [2009/12/10 11:56:35] @ Quit: _newbie4: Client Quit | ||
| [2009/12/10 11:58:52] <fsweetser> KarlHungus: I think it should be munin::plugin::diskstat::wrapper { [$drives]: } but otherwise yeah, looks right to me | ||
| [2009/12/10 11:59:42] <fsweetser> ohadlevy: I found a plugin which should make the require ssl feature much simpler | ||
| [2009/12/10 12:00:06] <fsweetser> only catch is, the plugin won't forward to ssl on a non-standard port | ||
| [2009/12/10 12:00:09] <KarlHungus> fsweetser: why the brackets? | ||
| [2009/12/10 12:00:21] @ gaveen joined channel #puppet | ||
| [2009/12/10 12:00:21] <fsweetser> KarlHungus: because you're passing it an array | ||
| [2009/12/10 12:00:26] <fsweetser> that's how I've done it, at least =) | ||
| [2009/12/10 12:00:36] <himanshu> Volance; I am not able to find right link for my immediate usage. There are several link when doing google search. Can you point me to best one which is easy to use | ||
| [2009/12/10 12:00:37] <KarlHungus> hmm | ||
| [2009/12/10 12:00:41] <KarlHungus> well, it works =) | ||
| [2009/12/10 12:00:48] <fsweetser> good enough, then =) | ||
| [2009/12/10 12:00:48] @ cwebber joined channel #puppet | ||
| [2009/12/10 12:01:02] <kaptk2> himanshu: http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth | ||
| [2009/12/10 12:01:27] <KarlHungus> one more question then i'm done with my munin module. if i have $use_munin = true in the munin init.pp manifest, will that variable be in scope in other modules? | ||
| [2009/12/10 12:01:43] <KarlHungus> or just in the munin module? | ||
| [2009/12/10 12:01:56] <himanshu> is it production read? ssh::auth seems to be in unstable release | ||
| [2009/12/10 12:02:57] <tim|imac> anyone here that can explain the "search" function to me? | ||
| [2009/12/10 12:03:08] <kaptk2> himanshu: I am not sure that was what was posted to the google group yesterday | ||
| [2009/12/10 12:03:37] <kaptk2> himanshu: if you scroll down the page some more it has comparisons with other SSH Key tools | ||
| [2009/12/10 12:03:48] @ strangeloop joined channel #puppet | ||
| [2009/12/10 12:04:13] <Volcane> tim|imac: if you have foo::bar and in class someother { search foo \n include bar} will include foo::bar | ||
| [2009/12/10 12:04:25] <Volcane> tim|imac: well spotted, that might well sort you out since that's a fnction that can take strings | ||
| [2009/12/10 12:04:44] <himanshu> Actually, I need some puppet solution to manage users(create/delete user accounts) and also manage ssh-key authorization for my production release. so just wondering for best possible choice?I am using 0.24.8 puppet version | ||
| [2009/12/10 12:05:02] <tim|imac> but it still would require the http class to know about all the others, right? or can i add to another namespace? | ||
| [2009/12/10 12:05:25] <tim|imac> ah | ||
| [2009/12/10 12:05:28] <tim|imac> it takes strings | ||
| [2009/12/10 12:05:31] <tim|imac> problem solved :D | ||
| [2009/12/10 12:05:36] <Volcane> tim|imac: i think if in your main webserver define you inclide nginx, you can get to its, exactly | ||
| [2009/12/10 12:05:54] <tim|imac> thanks for the help, Volcane, I'll let you know how it worked out :) | ||
| [2009/12/10 12:05:58] <Volcane> tim|imac: you might have issues with 2 both ending in 'webserver' thats sometimes weird | ||
| [2009/12/10 12:06:12] <Volcane> tim|imac: pls do, to the list as well i see there's ppl struggling with the same concept now | ||
| [2009/12/10 12:06:18] <Volcane> tim|imac: would be nice if you can post our solution once its proven to work | ||
| [2009/12/10 12:06:24] <strangeloop> when i notify an exec, the onlyif paramters will still be respected, right? | ||
| [2009/12/10 12:06:31] <strangeloop> onlyif parameter | ||
| [2009/12/10 12:07:07] <strangeloop> http://gist.github.com/253479 | ||
| [2009/12/10 12:07:13] <tim|imac> proof first, posting later ;-) should only take me a little while, though, I think I have a puppet test instance on this machine | ||
| [2009/12/10 12:07:25] <Volcane> tim|imac: :) | ||
| [2009/12/10 12:07:30] <strangeloop> in this example, the exec gets executed always, even if the test does exit with 1 | ||
| [2009/12/10 12:07:35] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/12/10 12:08:19] @ leanucci_ joined channel #puppet | ||
| [2009/12/10 12:10:05] <kaptk2> himanshu: the solution discussed on the google group does do user management. As far as what works best for you, well that is up to you. I use LDAP so don't have much experiance with puppet for users. | ||
| [2009/12/10 12:10:21] @ brothers joined channel #puppet | ||
| [2009/12/10 12:11:46] <himanshu> Andrew: can you send me the link of solution on discussed on google group | ||
| [2009/12/10 12:12:13] <Volcane> himanshu: did you try search for it ? | ||
| [2009/12/10 12:12:19] @ tim|macbook joined channel #puppet | ||
| [2009/12/10 12:12:40] <kaptk2> (10:01:32 AM) kaptk2: himanshu: http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth | ||
| [2009/12/10 12:12:51] <himanshu> ohk thats the one | ||
| [2009/12/10 12:12:54] <himanshu> Thanks a lot | ||
| [2009/12/10 12:12:55] <kaptk2> himanshu: yes | ||
| [2009/12/10 12:13:12] <kaptk2> himanshu: as discussed here: http://groups.google.com/group/puppet-users/browse_thread/thread/40719ed3cd7dacd8# | ||
| [2009/12/10 12:13:12] <himanshu> Thanks Andrew | ||
| [2009/12/10 12:15:06] @ ghg joined channel #puppet | ||
| [2009/12/10 12:17:24] @ Quit: danielbln: "Leaving." | ||
| [2009/12/10 12:17:39] @ Quit: maxagaz: Read error: 110 (Connection timed out) | ||
| [2009/12/10 12:18:34] @ maxagaz joined channel #puppet | ||
| [2009/12/10 12:19:04] @ Quit: themurph: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 12:19:30] @ poison joined channel #puppet | ||
| [2009/12/10 12:20:21] @ Quit: lak: | ||
| [2009/12/10 12:23:03] <KarlHungus> if i switch from sqlite to mysql for storedconfigs, do i need to import the db? or will puppet handle recreating everything? | ||
| [2009/12/10 12:23:58] @ Quit: pOrk: "byebye" | ||
| [2009/12/10 12:24:13] @ themurph joined channel #puppet | ||
| [2009/12/10 12:24:26] @ Quit: leanucci: Read error: 113 (No route to host) | ||
| [2009/12/10 12:25:22] @ Quit: wbruce: "The computer fell asleep" | ||
| [2009/12/10 12:25:33] @ wbruce joined channel #puppet | ||
| [2009/12/10 12:30:16] @ BarnacleBob joined channel #puppet | ||
| [2009/12/10 12:30:46] @ WALoeIII joined channel #puppet | ||
| [2009/12/10 12:30:51] @ swygue joined channel #puppet | ||
| [2009/12/10 12:32:05] <swygue> can anyone help me understand what causes the err: from this pastie output. http://pastie.org/737543 | ||
| [2009/12/10 12:32:49] <Volcane> you can ignore it | ||
| [2009/12/10 12:32:55] <Volcane> or disable pluginsync on your client | ||
| [2009/12/10 12:34:07] @ qwebirc94270 joined channel #puppet | ||
| [2009/12/10 12:34:26] <qwebirc94270> helllo | ||
| [2009/12/10 12:34:31] <qwebirc94270> abien | ||
| [2009/12/10 12:34:55] @ Quit: qwebirc94270: Client Quit | ||
| [2009/12/10 12:37:58] <tim|macbook> Volcane: search seems not to do anything :/ | ||
| [2009/12/10 12:38:25] <tim|macbook> or I'm using it incorrect, of course | ||
| [2009/12/10 12:41:04] <Volcane> tim|macbook: http://pastie.org/737559 | ||
| [2009/12/10 12:41:28] <tim|macbook> ah! | ||
| [2009/12/10 12:43:53] <BarnacleBob> can you make notice, err and the like show up in the output when you do puppetd --test on the client instead of only in the server logs? | ||
| [2009/12/10 12:43:58] @ Quit: TeTeT: "Leaving" | ||
| [2009/12/10 12:45:04] @ Quit: wbruce: Read error: 110 (Connection timed out) | ||
| [2009/12/10 12:45:19] <Volcane> BarnacleBob: notify{"foo": } | ||
| [2009/12/10 12:45:42] <tim|macbook> Volcane: can you see what I'm doing wrong here? http://pastie.org/737565 | ||
| [2009/12/10 12:45:48] @ Quit: joe-mac: Remote closed the connection | ||
| [2009/12/10 12:45:59] <BarnacleBob> Volcane, oh interesting | ||
| [2009/12/10 12:46:25] <tim|macbook> ah, i think i got it | ||
| [2009/12/10 12:46:28] <tim|macbook> test::test | ||
| [2009/12/10 12:46:46] <Volcane> yeah | ||
| [2009/12/10 12:46:58] <tim|macbook> hm... same error... | ||
| [2009/12/10 12:47:09] <tim|macbook> but couldn't find test::test now... | ||
| [2009/12/10 12:49:46] @ Quit: strangeloop: "Leaving" | ||
| [2009/12/10 12:51:24] @ pting joined channel #puppet | ||
| [2009/12/10 12:54:14] @ alfism joined channel #puppet | ||
| [2009/12/10 12:54:24] @ joe-mac joined channel #puppet | ||
| [2009/12/10 12:55:43] <Phibs> anyone have a good example of usermgmt for puppet? I want to add/sync 5 admin users on each box w/ their passwd hashes... | ||
| [2009/12/10 12:55:49] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/10 12:56:54] <groove> user management is a bit ... verbose | ||
| [2009/12/10 12:57:17] <Phibs> ;0 | ||
| [2009/12/10 12:57:59] <groove> i so wish the user creation would copy the skel directory, or have -m like semantics | ||
| [2009/12/10 12:58:12] <Phibs> hehe | ||
| [2009/12/10 12:58:14] <Phibs> do you have any examples? :) | ||
| [2009/12/10 12:59:19] <tim|macbook> Volcane: what version did you try your pastied thingy with? | ||
| [2009/12/10 13:01:09] <tim|macbook> ah nvm, got it to work, now finding out why my stuff doesn't... | ||
| [2009/12/10 13:01:31] @ toi joined channel #puppet | ||
| [2009/12/10 13:02:31] <Phibs> anyone have a decent example on making sure 4 users exist on all systems? | ||
| [2009/12/10 13:02:50] * Phibs noob | ||
| [2009/12/10 13:04:26] @ Quit: poison: Remote closed the connection | ||
| [2009/12/10 13:06:15] @ Quit: Robbie_: Remote closed the connection | ||
| [2009/12/10 13:06:18] @ nakano is now known as nakano_ | ||
| [2009/12/10 13:07:11] <groove> Phibs: create 4 user resources, put them in a class called something like adminusers, then include that class in your template node | ||
| [2009/12/10 13:07:17] <Phibs> nod | ||
| [2009/12/10 13:08:24] <groove> http://pastebin.com/d41b50493 | ||
| [2009/12/10 13:08:26] @ Quit: MattyM: "ta ta" | ||
| [2009/12/10 13:08:50] <Phibs> thx | ||
| [2009/12/10 13:10:48] <tim|macbook> Volcane: apparantly, resources in a defined type are not contained within that class... If the defined type references another defined type, the latter needs to be available from within the class that calls the former | ||
| [2009/12/10 13:10:54] <tim|macbook> back to the drawing board | ||
| [2009/12/10 13:11:31] <Volcane> but thats right isnt it? | ||
| [2009/12/10 13:11:39] <Volcane> your node will do website{"foo.com": } | ||
| [2009/12/10 13:12:07] <Volcane> website will look at $httpdtype and call nginx::website by way of searching in nginx? | ||
| [2009/12/10 13:12:20] <Volcane> or does search not work inside a define? | ||
| [2009/12/10 13:15:06] <tim|macbook> no, it's not right... it means if I call http::website from class "mysite.com", and http::website in turn calls "search nginx\ninclude defs\ndefine website () { defs::website () {} }", it cannot find defs::website, since "mysite.com" cannot find it | ||
| [2009/12/10 13:16:14] <tim|macbook> so it performs the search for defs::website not within the scope of http::website, but from within the scope of mysite.com... I'm guessing that, btw, my testing seems to indicate that | ||
| [2009/12/10 13:16:28] <joe-mac> hey tim|macbook i got a few g4's i need to set up osx on, do you recall the newest compat version? | ||
| [2009/12/10 13:16:58] <tim|macbook> 10.5 is the last that supports ppc | ||
| [2009/12/10 13:17:03] <tim|macbook> 10.6 is intel only | ||
| [2009/12/10 13:17:32] <tim|macbook> i might be wrong, though | ||
| [2009/12/10 13:17:37] <Volcane> tim|macbook: so you cant do the search in the define? | ||
| [2009/12/10 13:17:46] @ groove left channel #puppet () | ||
| [2009/12/10 13:17:50] <Volcane> tim|macbook: the top level define, i mean put the search foo in there? | ||
| [2009/12/10 13:18:01] <tim|macbook> well, you can do the search in the define all right, but not if you're going to reference that define from another class | ||
| [2009/12/10 13:18:07] <tim|macbook> I'll do a paste, just a sec | ||
| [2009/12/10 13:18:48] <joe-mac> i think i have 10.5 at home, sweet | ||
| [2009/12/10 13:21:04] <tim|macbook> Volcane: you're right, it the define that simply doesn't honor the search | ||
| [2009/12/10 13:21:08] @ lak joined channel #puppet | ||
| [2009/12/10 13:21:22] <tim|macbook> even though the class uses search | ||
| [2009/12/10 13:21:24] <Volcane> tim|macbook: http://pastie.org/737636 | ||
| [2009/12/10 13:22:41] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/12/10 13:22:53] <tim|macbook> hm.... | ||
| [2009/12/10 13:23:27] <tim|macbook> as soon as i put site and vhost in classes, it breaks | ||
| [2009/12/10 13:23:50] <tim|macbook> or maybe... hm... trying something again | ||
| [2009/12/10 13:24:06] <joe-mac> this puppet dashboard thing has got me excited, i wanna see screens | ||
| [2009/12/10 13:24:42] <Volcane> joe-mac: takes exactly 20 seconds to install | ||
| [2009/12/10 13:24:47] <tim|macbook> heh... got it... if I add the search to the defined type within the class, it works | ||
| [2009/12/10 13:24:55] <Volcane> tim|macbook: sweet | ||
| [2009/12/10 13:25:03] <tim|macbook> Volcane: thanks so much for your help :) | ||
| [2009/12/10 13:25:11] <tim|macbook> expanding on my proof of concept now | ||
| [2009/12/10 13:25:16] <Volcane> tim|macbook: sweet :) | ||
| [2009/12/10 13:25:16] <joe-mac> you've convinced me then, will install lol | ||
| [2009/12/10 13:25:40] <tim|macbook> joe-mac: post screens! | ||
| [2009/12/10 13:26:26] @ francois joined channel #puppet | ||
| [2009/12/10 13:27:54] <fsweetser> figures, they announced this right after I got waist deep in foreman =) | ||
| [2009/12/10 13:29:18] @ Quit: leanucci_: "Leaving..." | ||
| [2009/12/10 13:30:08] <Disconnect> fsweetser: ditto. and ditto the req for screens, since i've already got enough mangling going on on my puppet db :) | ||
| [2009/12/10 13:31:25] @ Quit: cwebber: | ||
| [2009/12/10 13:31:53] <joe-mac> unfortunately my freaking blog i forgot to have money in my checking account for the vps and didn't realize they shut it down | ||
| [2009/12/10 13:32:04] <joe-mac> if someone's got a spot to [put them i will put the screens | ||
| [2009/12/10 13:33:34] * Volcane 's not sure how to make it a external node tool | ||
| [2009/12/10 13:34:03] <fsweetser> Volcane: all you have to do is write a script that takes a node name as its only argument, and writes some yaml to stdout | ||
| [2009/12/10 13:34:10] <Volcane> and the classes cant seem to have :: in it, woops | ||
| [2009/12/10 13:34:22] <fsweetser> ? mine do | ||
| [2009/12/10 13:34:54] <Volcane> if i try to add a 'node class' and add 'roles::dev_server' it says invalid | ||
| [2009/12/10 13:35:25] <fsweetser> I assume you have a class roles::dev_server defined? | ||
| [2009/12/10 13:35:26] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/10 13:35:51] <BarnacleBob> joe-mac, i can upload some screens for you. what is this thing thats been announce? i'm just now implementing foreman here | ||
| [2009/12/10 13:36:10] <Volcane> thats when trying to tell it i have such a class | ||
| [2009/12/10 13:36:26] @ incommon_ike joined channel #puppet | ||
| [2009/12/10 13:36:27] <BarnacleBob> i found that my external nodes script didn't work at all without a default node defined | ||
| [2009/12/10 13:36:30] <BarnacleBob> i had no idea why | ||
| [2009/12/10 13:36:38] <BarnacleBob> so i included an empty class in a default node | ||
| [2009/12/10 13:36:41] @ Quit: unxfrek: "Leaving" | ||
| [2009/12/10 13:37:10] <joe-mac> wow this is really nice | ||
| [2009/12/10 13:37:21] <joe-mac> it's not seeing any of my nodes or anything | ||
| [2009/12/10 13:37:23] <joe-mac> but it's really nice | ||
| [2009/12/10 13:37:36] <joe-mac> the look i mean | ||
| [2009/12/10 13:37:39] <joe-mac> the overlord will be pleased | ||
| [2009/12/10 13:37:59] <tim|macbook> Volcane: http://pastie.org/737661 still doing bogus stuff, but a clearer example of why I want this functionality :) | ||
| [2009/12/10 13:38:20] <Volcane> joe-mac: yeah importing existing data isnt there yt | ||
| [2009/12/10 13:38:33] <BarnacleBob> joe-mac, Volcane what is this new software? | ||
| [2009/12/10 13:38:39] <joe-mac> if igured it would have the ability to hit my stored config db | ||
| [2009/12/10 13:38:39] <BarnacleBob> <<< feels left out | ||
| [2009/12/10 13:39:07] <joe-mac> BarnacleBob: puppet dashboard, it's the new official RL webapp for viewing reports and node information | ||
| [2009/12/10 13:39:09] <joe-mac> it's shiny | ||
| [2009/12/10 13:39:11] <joe-mac> but very alpha | ||
| [2009/12/10 13:39:23] <BarnacleBob> hrm | ||
| [2009/12/10 13:39:24] <joe-mac> with the speed atw hich RL develops though it will be usable pretty soon i'm guessing | ||
| [2009/12/10 13:39:30] <BarnacleBob> i like the end to end stuff that foreman is going to do | ||
| [2009/12/10 13:39:52] <BarnacleBob> is it going to do that stuff also, or is it more just a puppetshow type thing? | ||
| [2009/12/10 13:39:59] * fsweetser is very curious to see how the RL dashboard will compare against foreman | ||
| [2009/12/10 13:40:00] <joe-mac> BarnacleBob: yea i can see why people would use that but i have no need for it, and this app is really nice looking | ||
| [2009/12/10 13:40:07] <Volcane> BarnacleBob: this will eventually do kickstarts and all too | ||
| [2009/12/10 13:40:12] <BarnacleBob> hrm | ||
| [2009/12/10 13:40:16] <BarnacleBob> well thats annoying :) | ||
| [2009/12/10 13:40:20] <joe-mac> when i last looked at foreman it wasn't very pretty | ||
| [2009/12/10 13:40:22] <BarnacleBob> now which do i pick .... | ||
| [2009/12/10 13:40:36] <fsweetser> BarnacleBob: I get the impression that right at this moment, foreman is further along | ||
| [2009/12/10 13:40:39] <joe-mac> i'd hate to see all of ohadlevy's work go to waste, but i'm going to have to wait for RL official stuff | ||
| [2009/12/10 13:40:47] <joe-mac> yea foreman is definitely alot furhter along | ||
| [2009/12/10 13:40:49] <fsweetser> I've already been testing using it for kickstarts, and it's working quite nicely | ||
| [2009/12/10 13:41:00] <BarnacleBob> fsweetser, you mean foreman? | ||
| [2009/12/10 13:41:06] <fsweetser> yes | ||
| [2009/12/10 13:41:18] <BarnacleBob> yeah i've just got foreman installed into one of our environments | ||
| [2009/12/10 13:41:21] <BarnacleBob> still getting it setup | ||
| [2009/12/10 13:41:24] <joe-mac> fsweetser: i'm more interested in looks for this kind of aopp since i will mainly use it for reporting and inventory management | ||
| [2009/12/10 13:41:29] <Disconnect> joe-mac: i've got a lot of space for pics if you need it | ||
| [2009/12/10 13:41:40] <BarnacleBob> but i'm going to actually contribute some code so we can get the dhcp/dns working too. and remote machines for tftp/dns/dhcp | ||
| [2009/12/10 13:41:40] <fsweetser> I've also been throwing patches at ohadlevy, and he's been taking them, so I am a little biased =) | ||
| [2009/12/10 13:41:43] <tim|macbook> Volcane: think that example is good enough to right to the mailing list about? or should i expand (eg. show a apache class too, just to drive it home) | ||
| [2009/12/10 13:41:43] <joe-mac> i already installed it, checked it out, shut it down, and removed it Disconnect | ||
| [2009/12/10 13:42:13] <fsweetser> BarnacleBob: ah - I already have a system in place for handling the dns/dhcp stuff working, so I didn't need to wait for any of that | ||
| [2009/12/10 13:42:17] <Volcane> tim|macbook: it's probably good :) | ||
| [2009/12/10 13:42:37] <BarnacleBob> fsweetser, at my other places i did too, but i just started here and they do it manually | ||
| [2009/12/10 13:42:48] <Volcane> so with puppet dash, if you click on 'node groups', select a group, hit edit, and then add a key/val, does it save it or is there a bg? | ||
| [2009/12/10 13:43:00] <joe-mac> yea i have openbsd routers for dhcpd, which i just do by hand and deploy via capistrano. and dns is done on windows | ||
| [2009/12/10 13:43:27] <BarnacleBob> ah... capistrano the bane of my existence. i do *not* miss working a production ruby site | ||
| [2009/12/10 13:43:31] <joe-mac> no clue Volcane i just wanted to see the looks cause i know it's only alpha. when it can hit my existnig stored config db tehn i will be using the shit out of it | ||
| [2009/12/10 13:43:39] <joe-mac> BarnacleBob: why? | ||
| [2009/12/10 13:43:42] <joe-mac> it makes my life super easy | ||
| [2009/12/10 13:43:50] <joe-mac> but i don't use it for anything rails related LOL | ||
| [2009/12/10 13:44:05] <BarnacleBob> joe-mac, well actually most of the problem was there were 0 ruby developers. they were all *other* developers that learned ruby when they showed up to work the first day | ||
| [2009/12/10 13:44:12] @ Quit: int: Read error: 113 (No route to host) | ||
| [2009/12/10 13:44:27] <BarnacleBob> *i* had to learn capistrano and fricken fix there deploy scripts | ||
| [2009/12/10 13:44:52] <joe-mac> i fill up a bunch of roles dynamically from the puppet stored config, then i run cap shell, and i basically have a distributed shell across my network,. and any new node is auto added to the roles since it asks the puppet db for every node | ||
| [2009/12/10 13:44:58] <BarnacleBob> but once you got past the fact capistrano isn't documented. it actually worked quite well | ||
| [2009/12/10 13:44:58] <joe-mac> yea it's not fun to learn | ||
| [2009/12/10 13:45:02] <joe-mac> yep | ||
| [2009/12/10 13:45:08] <joe-mac> exactly, that's its biggest problem | ||
| [2009/12/10 13:45:10] <joe-mac> no documentation | ||
| [2009/12/10 13:45:23] <joe-mac> it's freaking incredible for systems administration imo | ||
| [2009/12/10 13:45:28] <joe-mac> i use it to deploy puppet too | ||
| [2009/12/10 13:45:33] <joe-mac> with the railsless-deploy.rb | ||
| [2009/12/10 13:45:41] <joe-mac> and my corporate website, and my openbsd configs | ||
| [2009/12/10 13:45:42] @ wbruce joined channel #puppet | ||
| [2009/12/10 13:45:47] <joe-mac> all railsless | ||
| [2009/12/10 13:45:51] <BarnacleBob> actually i would have stayed at that ruby shop if they paid me appropriately | ||
| [2009/12/10 13:45:53] @ jaredrhine joined channel #puppet | ||
| [2009/12/10 13:46:21] <joe-mac> i wouldn't deploy anything without cap now that i know how to use it | ||
| [2009/12/10 13:46:39] @ Quit: marcoecc: Remote closed the connection | ||
| [2009/12/10 13:46:49] <BarnacleBob> someone essentially wrote the same thing in python here | ||
| [2009/12/10 13:46:51] <BarnacleBob> so we use that | ||
| [2009/12/10 13:47:01] <grim_radical> BarnacleBob: that's basically what I did | ||
| [2009/12/10 13:47:02] <joe-mac> yea there is vlad the deployer | ||
| [2009/12/10 13:47:02] <BarnacleBob> but i no longer have to deploy things that are not managed by puppet | ||
| [2009/12/10 13:47:04] <grim_radical> we used paramiko | ||
| [2009/12/10 13:47:04] <BarnacleBob> so *shrug* | ||
| [2009/12/10 13:47:22] <joe-mac> BarnacleBob: what do you deploy puppet with? that python thing? | ||
| [2009/12/10 13:47:23] <BarnacleBob> i use bash for my deployments *flexes* | ||
| [2009/12/10 13:47:30] <joe-mac> lol, i used to too | ||
| [2009/12/10 13:47:41] <BarnacleBob> well they keys and stuff so that the python thing works | ||
| [2009/12/10 13:47:46] @ cwebber joined channel #puppet | ||
| [2009/12/10 13:47:50] <BarnacleBob> but esentially i'm far removed from developers and code now | ||
| [2009/12/10 13:47:56] <joe-mac> o i c | ||
| [2009/12/10 13:47:56] <BarnacleBob> so i'm only working with software and machines | ||
| [2009/12/10 13:48:11] <BarnacleBob> pretty much just puppet | ||
| [2009/12/10 13:48:19] <joe-mac> so you're now a developer | ||
| [2009/12/10 13:48:21] <joe-mac> :-D | ||
| [2009/12/10 13:48:24] <BarnacleBob> lol yeah :) | ||
| [2009/12/10 13:48:31] <grim_radical> whether it's cap or something else, I think that a command-and-control tool is an indispensable complement to puppet | ||
| [2009/12/10 13:48:43] <BarnacleBob> yeah for real | ||
| [2009/12/10 13:49:08] @ Eghie joined channel #puppet | ||
| [2009/12/10 13:52:45] <joe-mac> yep | ||
| [2009/12/10 13:53:17] <joe-mac> i remember when i frist started, no key auth on any servers, all password auth with different usernames and passwords, had to just get cpuinfo on 20 boxes, it was hell | ||
| [2009/12/10 13:55:57] * Volcane heard some extremely encouraging news at a pretty big activemq site yesterday | ||
| [2009/12/10 13:56:05] <Volcane> everyones been telling me it'll loose messages etc | ||
| [2009/12/10 13:56:16] <Volcane> but there's one huge site I've seen now and they have zero problems | ||
| [2009/12/10 13:56:42] @ incommon_ike left channel #puppet () | ||
| [2009/12/10 13:57:29] <Eghie> isn't it a kind of design/purpose of activemq to not lose messages? | ||
| [2009/12/10 13:58:12] <Volcane> yeah, you'd think so :) | ||
| [2009/12/10 13:58:39] <Volcane> anyway, good news for my mcollective stuff since those dudes to any orders of magnitute more msgs on it than i do | ||
| [2009/12/10 13:59:12] @ paxos joined channel #puppet | ||
| [2009/12/10 13:59:49] @ bug joined channel #puppet | ||
| [2009/12/10 14:01:14] <KarlHungus> woohoo, finally got puppet 0.25.1, rails 2.3.4, and munin 1.4.1 packaged up cleanly for centos5 | ||
| [2009/12/10 14:01:55] <tim|macbook> there, posted my message | ||
| [2009/12/10 14:02:00] <tim|macbook> my work for today is done. | ||
| [2009/12/10 14:02:45] @ Quit: tim|macbook: | ||
| [2009/12/10 14:02:58] <Eghie> Volcane: why not using RabbitMQ? | ||
| [2009/12/10 14:03:41] <Eghie> not by naming an alternative, but knowing most of the people don't have problems with it | ||
| [2009/12/10 14:03:41] <Volcane> nice http://www.datacenterknowledge.com/archives/2009/12/10/wild-new-design-data-center-in-a-silo/ | ||
| [2009/12/10 14:03:56] <Volcane> Eghie: had activemq already, not keen on erlang | ||
| [2009/12/10 14:04:50] <Eghie> well, client libs are also for JAVA | ||
| [2009/12/10 14:04:52] @ david415 left channel #puppet () | ||
| [2009/12/10 14:05:18] <Volcane> Eghie: need a stomp compatible middleware | ||
| [2009/12/10 14:05:22] <Eghie> they promise 2 minutes running after download :P | ||
| [2009/12/10 14:06:07] <grim_radical> getting Rabbit running is pretty easy, but the non-java api's are of varying quality. the python/twisted api is decent, though | ||
| [2009/12/10 14:06:15] <Volcane> Eghie: yeah a bit like passenger though, if you're prepared to compromise on deploy quality | ||
| [2009/12/10 14:06:31] <Eghie> hehe yeah :) | ||
| [2009/12/10 14:06:38] <Volcane> to package it proprly, erlang into the base os etc, thats much more of a pita | ||
| [2009/12/10 14:06:47] <Volcane> where rhel comes iwth openjdk and rpms for activemq was easy to find | ||
| [2009/12/10 14:07:10] <Eghie> yeah, that's true | ||
| [2009/12/10 14:07:12] <grim_radical> I've never seen our ActiveMQ instances lose messages, but we've continuously struggled with ActiveMQ's failover | ||
| [2009/12/10 14:07:14] @ poison joined channel #puppet | ||
| [2009/12/10 14:07:28] <Volcane> and rabbit's stomp connector is very young/not done, since puppetmaster also speaks stomp i chose a robust stomp server | ||
| [2009/12/10 14:07:28] @ Quit: poison: Client Quit | ||
| [2009/12/10 14:09:00] <Volcane> I also think, though its been quite some time since I investigated, that rabbit's authorization system just wasnt fine grained enough to my liking | ||
| [2009/12/10 14:12:19] <Volcane> oh thats improved now | ||
| [2009/12/10 14:12:27] <Volcane> can def do what i need | ||
| [2009/12/10 14:12:32] <grim_radical> yeah, I think a lot of that was changed in amqp 0.8 | ||
| [2009/12/10 14:12:55] <grim_radical> my main beef with RabbitMQ is that it doesn't support TTL on messages. :( | ||
| [2009/12/10 14:13:53] <Volcane> ah thats not nice | ||
| [2009/12/10 14:14:20] <Volcane> if you use exchanges much (that's what it calls a queue right?) that would suck | ||
| [2009/12/10 14:14:37] @ jes5199 joined channel #puppet | ||
| [2009/12/10 14:15:03] <Volcane> activemq also doesnt clean them out proactively though | ||
| [2009/12/10 14:15:03] <grim_radical> well, not exactly | ||
| [2009/12/10 14:15:12] <grim_radical> there are exchanges, and there are queues that bind to exchanges | ||
| [2009/12/10 14:15:16] <Volcane> if u do a read and a message is expired, it discards it then only | ||
| [2009/12/10 14:15:25] <grim_radical> each client can bind to an existing, or a new queue | ||
| [2009/12/10 14:15:46] <grim_radical> messages are sent to an exchange, messages are received out of queues. If that makes sense. :P | ||
| [2009/12/10 14:16:07] <Volcane> kind of :) | ||
| [2009/12/10 14:16:12] <grim_radical> lol | ||
| [2009/12/10 14:16:18] <Volcane> i was in a presentation about this stuff last week | ||
| [2009/12/10 14:16:27] <Volcane> but forget the terminology | ||
| [2009/12/10 14:16:44] <Volcane> the rabbit guys were good though, their CEO i think was there and was keen to help me get mcollective going on it | ||
| [2009/12/10 14:16:51] <grim_radical> ah, cool | ||
| [2009/12/10 14:17:08] @ jcape joined channel #puppet | ||
| [2009/12/10 14:17:11] <grim_radical> I mean, the price is certainly right. :P | ||
| [2009/12/10 14:17:23] <Volcane> heh | ||
| [2009/12/10 14:17:23] <grim_radical> and at least in my app, the performance is quite good | ||
| [2009/12/10 14:17:59] <Volcane> i do less than 2 mil messages a day, i am sure i wont have any hassles | ||
| [2009/12/10 14:18:11] @ Chiku joined channel #puppet | ||
| [2009/12/10 14:18:12] <grim_radical> ah, yeah you'll be fine with ActiveMQ then | ||
| [2009/12/10 14:18:22] <Volcane> getting quite close now to switching off my old spread system | ||
| [2009/12/10 14:18:31] <grim_radical> ah, trusty old spread! | ||
| [2009/12/10 14:18:36] <Volcane> heh | ||
| [2009/12/10 14:18:50] <Volcane> the most chatty thing ever yeah | ||
| [2009/12/10 14:18:55] <grim_radical> hell yeah | ||
| [2009/12/10 14:18:59] <Volcane> spread 4 improved it, but i never went to spread 4 | ||
| [2009/12/10 14:19:21] <Volcane> mail servers all around the world send stats to a central place - one db box | ||
| [2009/12/10 14:19:27] <Volcane> spread sends the stats everywhere | ||
| [2009/12/10 14:19:42] <Volcane> activemq will send it to whoever is interested only, should help loads | ||
| [2009/12/10 14:19:55] <grim_radical> yeah, my main issue with spread was how it scaled once you got to around 1000 hosts | ||
| [2009/12/10 14:20:08] <grim_radical> the chattiness really starts to degrade the perf | ||
| [2009/12/10 14:20:19] <Volcane> yeah | ||
| [2009/12/10 14:20:34] <Volcane> i had to be quite careful about where i put nodes | ||
| [2009/12/10 14:20:39] <Volcane> if its too slow to the others it just wouldnt do too hot | ||
| [2009/12/10 14:20:54] <grim_radical> indeed | ||
| [2009/12/10 14:20:55] <Volcane> over the innernets around the world, so its been quite a struggle with spread | ||
| [2009/12/10 14:21:08] <grim_radical> yeah, I bet ActiveMQ is much nicer for those types of applications | ||
| [2009/12/10 14:21:19] <Volcane> running both, activemq just keeps working | ||
| [2009/12/10 14:21:36] <Volcane> my distributed greylist and stats still on spread though | ||
| [2009/12/10 14:22:09] <grim_radical> do you run multiple brokers? | ||
| [2009/12/10 14:22:45] <Volcane> one per country | ||
| [2009/12/10 14:22:52] <grim_radical> ah, I see | ||
| [2009/12/10 14:22:56] <Volcane> 10 to 30 nodes per broker | ||
| [2009/12/10 14:23:36] <grim_radical> we've had a lot of issues with using postgresql for broker failover...if you pursue multiple brokers, I'd recommend investigating shared storage or some other mechanism | ||
| [2009/12/10 14:24:02] <Volcane> yeah, coming from spread (hehehe) my code is robust and will retry lost stuff on its own | ||
| [2009/12/10 14:24:07] <grim_radical> ah, gotcha | ||
| [2009/12/10 14:24:11] <Volcane> so things can suck pretty badly | ||
| [2009/12/10 14:24:26] <Volcane> stats at least is that way, the other stuff i dont care if it goes missing | ||
| [2009/12/10 14:25:19] <Volcane> like mcollective, i dont particularly care if a nodes not getting my msgs then thats just tough, ssh for loops are no better | ||
| [2009/12/10 14:25:29] <grim_radical> yup, makes perfect sense | ||
| [2009/12/10 14:26:07] <Volcane> last thing u want is a node coming on 3 days later and all of a sudden getting all your admin commands for the week :P | ||
| [2009/12/10 14:26:14] <grim_radical> hahaha | ||
| [2009/12/10 14:26:23] <grim_radical> "it's alive!!!" | ||
| [2009/12/10 14:26:41] <Volcane> was talking to a big site person last night | ||
| [2009/12/10 14:26:46] <Volcane> they have 5 or so OS images | ||
| [2009/12/10 14:26:50] <Volcane> upgrades are a new image | ||
| [2009/12/10 14:27:05] <Volcane> and for them its just about how quick they can reboot boxes, they boot them in chunks of 500 to a 1000 a time | ||
| [2009/12/10 14:27:21] @ kolla joined channel #puppet | ||
| [2009/12/10 14:27:25] <grim_radical> whoa | ||
| [2009/12/10 14:27:27] <Volcane> quite interesting | ||
| [2009/12/10 14:27:35] <Volcane> their data centers must love them | ||
| [2009/12/10 14:27:48] <RomainK> must make their power usage look fun | ||
| [2009/12/10 14:28:58] <Volcane> obviously they dont do that with DBs etc, but their workers for clusters, just thousands of the same | ||
| [2009/12/10 14:29:04] @ Quit: shug: "Leaving" | ||
| [2009/12/10 14:29:48] @ unxfrek joined channel #puppet | ||
| [2009/12/10 14:30:07] <grim_radical> at some point, I guess you might as well setup the boxes to pxe boot all the time. :P | ||
| [2009/12/10 14:30:33] <Volcane> thats no doubt what they do, didnt go into too much details | ||
| [2009/12/10 14:30:38] <Eghie> you could even misuse LTSP project for that | ||
| [2009/12/10 14:31:03] <Volcane> heh had a whole lot to say about automated bare metal provisioning though and didnt seem to care much for the OS so I suspect thats exactly what they do | ||
| [2009/12/10 14:32:58] @ littleidea joined channel #puppet | ||
| [2009/12/10 14:33:15] <Eghie> guess using DNBD (multicast network block device) to boot from the network | ||
| [2009/12/10 14:33:34] <Eghie> or some similar technique | ||
| [2009/12/10 14:34:18] <Volcane> sounds just like ec2 | ||
| [2009/12/10 14:34:28] <Volcane> except where u boot vm images, they do it with hardware | ||
| [2009/12/10 14:34:43] @ diranged joined channel #puppet | ||
| [2009/12/10 14:34:44] <Volcane> read only ami images etc, each boot is a re-image | ||
| [2009/12/10 14:34:59] <diranged> can i do this with a file declaration? http://pastie.org/737754 | ||
| [2009/12/10 14:35:11] <diranged> (mainly, will file {} run through a list of files like that) | ||
| [2009/12/10 14:35:49] <Volcane> diranged: yes, as long as the vars arnt arrays | ||
| [2009/12/10 14:36:19] @ Quit: Cuchulain: Read error: 131 (Connection reset by peer) | ||
| [2009/12/10 14:36:26] <Volcane> diranged: but also source => ["puppet:///auth/pam.d/foo.${fqdn}", "puppet:///auth/pam.d/foo"] | ||
| [2009/12/10 14:36:28] <diranged> its like this (not sure how it missed the pastie... $pamdfiles = [ "common-auth","common-account","common-password","common-session" ] | ||
| [2009/12/10 14:36:34] <Volcane> diranged: and it will take the first one that exist | ||
| [2009/12/10 14:36:42] <Volcane> diranged: no that wont work | ||
| [2009/12/10 14:36:58] <Volcane> diranged: u can do it with a define though | ||
| [2009/12/10 14:39:17] <Volcane> diranged: http://pastie.org/737761 | ||
| [2009/12/10 14:43:11] @ Cuchulain joined channel #puppet | ||
| [2009/12/10 14:45:22] @ joe-mac left channel #puppet () | ||
| [2009/12/10 14:48:04] @ laomao` joined channel #puppet | ||
| [2009/12/10 14:48:08] <laomao`> hello | ||
| [2009/12/10 14:49:03] <laomao`> I have a big, sprawling nodes.pp, mainly because we have 3 sites, which need the same classes, so we just keep /etc/puppet up to date via svn | ||
| [2009/12/10 14:49:18] <laomao`> I'd like to refactor nodes.pp into three sites - is this trivial? | ||
| [2009/12/10 14:49:48] <Volcane> u can make files, and just import them like: import "sitea/nodes/*.pp" | ||
| [2009/12/10 14:49:56] <Volcane> but really u should look at wiki:ExternalNodes | ||
| [2009/12/10 14:49:57] <gepetto_> Volcane: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes | ||
| [2009/12/10 14:50:53] <laomao`> Volcane: in site.pp just specify the different nodes, right | ||
| [2009/12/10 14:51:37] <laomao`> i think there is a section on external nodes in teh apress book... shall i go and read that? | ||
| [2009/12/10 14:52:08] <himanshu> what this convention means in puppet: <| param=$param |>? | ||
| [2009/12/10 14:52:48] <Volcane> himanshu: wiki:ExportedResources | ||
| [2009/12/10 14:52:48] <gepetto_> Volcane: himanshu: wiki:ExportedResources is http://reductivelabs.com/trac/puppet/wiki/ExportedResources | ||
| [2009/12/10 14:52:59] <Volcane> laomao`: did u read the link i posted? | ||
| [2009/12/10 14:53:13] <laomao`> Volcane: just looking at it now | ||
| [2009/12/10 14:54:00] @ tomben joined channel #puppet | ||
| [2009/12/10 14:55:20] <diranged> this is odd.. | ||
| [2009/12/10 14:56:01] <diranged> now that ive put my list of packages-toinstall for a given module into a case switch (for ubuntu, this is the list... for centos, this is the list...), my @package { $wantedpackages: ensure => installed } line in each module is conflicting with the other modules. | ||
| [2009/12/10 14:56:07] <diranged> says theres duplicate Package[] statements | ||
| [2009/12/10 14:56:28] <Volcane> diranged: u can only have 1 @package for every package | ||
| [2009/12/10 14:57:31] @ tomben left channel #puppet () | ||
| [2009/12/10 14:57:35] <diranged> http://www.pastie.org/737796 | ||
| [2009/12/10 14:57:38] <diranged> theres my code + the error | ||
| [2009/12/10 14:57:46] @ tomben joined channel #puppet | ||
| [2009/12/10 14:58:08] <laomao`> looks like external nodes is exactly what i need | ||
| [2009/12/10 14:58:31] <Volcane> diranged: somewhere its finding an empty varaible | ||
| [2009/12/10 14:58:36] <BarnacleBob> so with foreman i'm trying to send the reports to the forman server which is listening on an apache proxy on ssl. when i do a test get / from irb it works fine to connect to the ssl server, but when the report runs it just timesout | ||
| [2009/12/10 14:58:53] @ jcape left channel #puppet () | ||
| [2009/12/10 14:59:04] <BarnacleBob> i wonder if i can just write a script to load the foreman libraries and load the report into the db directly instead of the silly over http | ||
| [2009/12/10 14:59:04] <Volcane> diranged: else it would say Package[foo] is defined twice | ||
| [2009/12/10 14:59:18] <laomao`> Volcane: do you use external nodes? | ||
| [2009/12/10 14:59:35] <Volcane> laomao`: some places yes | ||
| [2009/12/10 14:59:37] * laomao` wonders if she should use a database, or just write a script | ||
| [2009/12/10 15:00:07] <laomao`> do you use a db back end? or just a script? | ||
| [2009/12/10 15:00:50] <Volcane> laomao`: yup, you have a few options, you can do simple things like node /web.+/ { include webserver }, there's a script in the tarball that uses files on the filesystem to build up nodes, or a db | ||
| [2009/12/10 15:01:06] <Cope> what's wrong with just importing nodes.pp files for 3 sites in site.pp ? | ||
| [2009/12/10 15:01:21] <Cope> surely thats the simplest approach? what are the drawbacks? | ||
| [2009/12/10 15:02:04] <Volcane> Cope: many files, lots of hand coding, many nodes with same function u get duplication that becomes hard to maintain etc | ||
| [2009/12/10 15:02:08] @ Quit: paxos: | ||
| [2009/12/10 15:02:20] * Cope nods | ||
| [2009/12/10 15:02:26] <Volcane> Cope: and each new node requires a new file, which is lame in big sites | ||
| [2009/12/10 15:03:04] <Cope> we have production, live and testing sites - all in one nodes.pp - like laomao` is describing | ||
| [2009/12/10 15:03:07] <Cope> it's not lovely | ||
| [2009/12/10 15:03:14] <Volcane> if i add a machine call web3000.bigcorp.com it must be a web servers, without 3000 node files | ||
| [2009/12/10 15:03:20] @ Quit: cwebber: | ||
| [2009/12/10 15:03:38] <Volcane> smallish or very differing sites i just make 1 file per node | ||
| [2009/12/10 15:04:02] <diranged> volcane: take a look here class apache { | ||
| [2009/12/10 15:04:02] <diranged> case $operatingsystem { | ||
| [2009/12/10 15:04:02] <diranged> "Ubuntu": { | ||
| [2009/12/10 15:04:02] <diranged> $apache_conf_dir = "/etc/apache2/sites-enabled/" | ||
| [2009/12/10 15:04:02] <diranged> $apache_name = "apache2" | ||
| [2009/12/10 15:04:03] <diranged> $wantedpackages = [ "$apache_name","php","php-mysql","php-mcrypt","php-mhash","php-mbstring","perl-URI"] | ||
| [2009/12/10 15:04:06] <diranged> } | ||
| [2009/12/10 15:04:08] <diranged> default: { | ||
| [2009/12/10 15:04:09] <Cope> Volcane: one file per node, not one file with many nodes? | ||
| [2009/12/10 15:04:10] <diranged> $apache_conf_dir = "/etc/httpd/conf.d" | ||
| [2009/12/10 15:04:11] <Volcane> diranged: dont paste here pls | ||
| [2009/12/10 15:04:12] <diranged> $apache_name = "httpd" | ||
| [2009/12/10 15:04:14] <diranged> $wantedpackages = [ "$apache_name","php","php-mysql","php-mcrypt","php-mhash","php-mbstring","perl-URI"] | ||
| [2009/12/10 15:04:17] <diranged> } | ||
| [2009/12/10 15:04:17] <Cope> jesus diranged | ||
| [2009/12/10 15:04:19] <diranged> } | ||
| [2009/12/10 15:04:20] <Volcane> Cope: one per node | ||
| [2009/12/10 15:04:21] <diranged> ### | ||
| [2009/12/10 15:04:23] <diranged> # Make sure we have the right packages installed | ||
| [2009/12/10 15:04:25] <diranged> ### | ||
| [2009/12/10 15:04:29] <diranged> package { $wantedpackages: ensure => installed } | ||
| [2009/12/10 15:04:31] <diranged> ### | ||
| [2009/12/10 15:04:32] <Cope> someone kick the fucker | ||
| [2009/12/10 15:04:33] <diranged> ## Make sure that the openssh-server is running. Service described below. | ||
| [2009/12/10 15:04:35] <diranged> ### | ||
| [2009/12/10 15:04:37] <diranged> service { "$apache_name": | ||
| [2009/12/10 15:04:39] <diranged> name => "$apache_name", | ||
| [2009/12/10 15:04:41] <diranged> enable => true, | ||
| [2009/12/10 15:04:42] @ Mode +o Volcane by ChanServ | ||
| [2009/12/10 15:04:43] <diranged> ensure => running, | ||
| [2009/12/10 15:04:45] <diranged> hasrestart => true, | ||
| [2009/12/10 15:04:47] <diranged> hasstatus => true, | ||
| [2009/12/10 15:04:47] @ diranged has been kicked from #puppet by Volcane (Volcane) | ||
| [2009/12/10 15:04:51] <Cope> thanks | ||
| [2009/12/10 15:04:56] @ Mode -o Volcane by Volcane | ||
| [2009/12/10 15:05:27] * Volcane sent him a nice msg to explain :) | ||
| [2009/12/10 15:05:33] <Cope> Volcane: that sounds nice actually | ||
| [2009/12/10 15:05:41] @ diranged joined channel #puppet | ||
| [2009/12/10 15:05:43] <diranged> 'absent' : { | ||
| [2009/12/10 15:05:45] <diranged> file { | ||
| [2009/12/10 15:05:47] <diranged> "$apache_conf_dir/$name": | ||
| [2009/12/10 15:05:49] <diranged> ensure => absent, | ||
| [2009/12/10 15:05:51] <diranged> notify => Service["$apache_name"]; | ||
| [2009/12/10 15:05:51] @ Mode +o Volcane by ChanServ | ||
| [2009/12/10 15:05:52] <Cope> ok, now it's a ban | ||
| [2009/12/10 15:05:53] <diranged> } | ||
| [2009/12/10 15:05:55] <lak> diranged: why are you pasting this? | ||
| [2009/12/10 15:05:55] <diranged> } | ||
| [2009/12/10 15:05:56] @ diranged has been kicked from #puppet by Volcane (dont please) | ||
| [2009/12/10 15:06:00] <lak> weird | ||
| [2009/12/10 15:06:05] @ Quit: tomben: | ||
| [2009/12/10 15:06:08] <lak> had s/he been doing a lot of that? | ||
| [2009/12/10 15:06:12] @ Quit: unxfrek: "Leaving" | ||
| [2009/12/10 15:06:13] <Volcane> lak: he pastie'd earlier dont know why now he's pasting again :( | ||
| [2009/12/10 15:06:27] <lak> ah | ||
| [2009/12/10 15:06:46] <Volcane> bizarre that the paste continues after a kick though | ||
| [2009/12/10 15:07:40] <Volcane> I sent: [msg(diranged)] we prefer you use something like pastie.org, it's very disrupting to paste in a channel, you're welcome to come back but please use pastie.org | ||
| [2009/12/10 15:07:41] <laomao`> Volcane: rough rule of thumb, when does one file per node get too much? | ||
| [2009/12/10 15:07:55] <Volcane> laomao`: when it starts pissing you off :P | ||
| [2009/12/10 15:08:06] <laomao`> hehe - i'm pissed off with my one file | ||
| [2009/12/10 15:08:18] <laomao`> i have about 70 node i think | ||
| [2009/12/10 15:08:40] <Volcane> laomao`: check out theforeman.org or reductive labs will soon have a general use ready tool to help you with web enabling it too | ||
| [2009/12/10 15:08:44] @ diranged joined channel #puppet | ||
| [2009/12/10 15:08:50] <Volcane> laomao`: how different are your nodes from each other? | ||
| [2009/12/10 15:09:10] @ Quit: ghg: | ||
| [2009/12/10 15:09:11] <lak> Volcane: thanks - i just wanted to make sure we weren't kick-first-ask-questions-later :) | ||
| [2009/12/10 15:09:24] <Volcane> lak: nods.. | ||
| [2009/12/10 15:09:38] <laomao`> Volcane: i have 3 general classes - webservers, database servers, other | ||
| [2009/12/10 15:09:46] <laomao`> lak: other makes up 50% | ||
| [2009/12/10 15:09:57] <laomao`> sorry lak - meant Volcane | ||
| [2009/12/10 15:10:05] <laomao`> the others are fairly different | ||
| [2009/12/10 15:10:06] <Volcane> laomao`: and hostnames match their use? | ||
| [2009/12/10 15:10:49] <laomao`> hostnames tend to be like: stg-web1 or stg-svn or sth | ||
| [2009/12/10 15:10:59] <Volcane> laomao`: for cases where nodes are like 1 offs all different, i find files are better than external nodes | ||
| [2009/12/10 15:12:20] <laomao`> the main headache for me is that staging servers need to use teh staging puppet server, repo, etc | ||
| [2009/12/10 15:12:30] <laomao`> likewise for live and test | ||
| [2009/12/10 15:12:41] <laomao`> so there are three general families of machines | ||
| [2009/12/10 15:12:59] <Volcane> laomao`: the web tools i mentioend has properties per node so you can configure things, or you can use something like extlookup to do your data | ||
| [2009/12/10 15:13:41] <|Mike|> diranged: www.pastie.org | ||
| [2009/12/10 15:13:56] <diranged> |mike| i know... i used pastie.org... but the old data was still in my copy buffer. | ||
| [2009/12/10 15:14:25] <|Mike|> xchat.. | ||
| [2009/12/10 15:14:47] <Volcane> heh | ||
| [2009/12/10 15:14:49] <laomao`> emacs :) | ||
| [2009/12/10 15:14:50] @ yarihm joined channel #puppet | ||
| [2009/12/10 15:14:56] * Volcane loves irssi's paste prompt | ||
| [2009/12/10 15:15:11] <Cope> irssi all the way, baby | ||
| [2009/12/10 15:15:36] @ neek joined channel #puppet | ||
| [2009/12/10 15:15:50] <Cope> do you want to be a twat, and piss off everyone in the channel? press C-k to continue | ||
| [2009/12/10 15:15:58] <Volcane> heh | ||
| [2009/12/10 15:16:15] <ReinH> lol | ||
| [2009/12/10 15:16:20] <ReinH> irssi++ | ||
| [2009/12/10 15:19:07] <|Mike|> exec - -o pkill irssi | ||
| [2009/12/10 15:19:12] <|Mike|> that's teh drool :) | ||
| [2009/12/10 15:19:23] <Cope> Volcane: you're quite a fan of the .d approach - files for everything, aren't you? | ||
| [2009/12/10 15:19:47] @ fzzzt left channel #puppet () | ||
| [2009/12/10 15:19:48] <Volcane> no, not for everything | ||
| [2009/12/10 15:19:56] <Volcane> :) | ||
| [2009/12/10 15:20:15] <Volcane> but its often the only sane option | ||
| [2009/12/10 15:21:16] <Cope> i find i like that I can get a view of the whole site in one file - it self documents | ||
| [2009/12/10 15:21:32] @ Quit: brothers: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 15:21:34] <Volcane> you mean on the node itself? | ||
| [2009/12/10 15:21:44] <Cope> on the puppet master | ||
| [2009/12/10 15:21:57] <Cope> or in git or wherever it is stored | ||
| [2009/12/10 15:22:06] <Cope> nodes.pp is a picture of the whole site | ||
| [2009/12/10 15:22:11] <Volcane> well i use it for...bind for example | ||
| [2009/12/10 15:22:28] <Volcane> configure a bind server, choose a ACL block, drop in some zones etc | ||
| [2009/12/10 15:22:32] <Volcane> all end up in named.conf | ||
| [2009/12/10 15:22:36] <Cope> right | ||
| [2009/12/10 15:22:45] <Cope> i do teh same | ||
| [2009/12/10 15:23:02] <Cope> i noticed you do nagios that way though | ||
| [2009/12/10 15:23:08] <Cope> which i'd never thought of doing | ||
| [2009/12/10 15:25:16] <neek> ....anyone have any snippits that make for a sane way to verify that (rhel) alternatives --set mta is set the way you want it? | ||
| [2009/12/10 15:25:35] @ Quit: Volcane: brown.freenode.net irc.freenode.net | ||
| [2009/12/10 15:26:16] <Cope> neek: yep - just grep for exim | ||
| [2009/12/10 15:26:20] <Cope> anything else is insane | ||
| [2009/12/10 15:26:25] <Cope> </troll> | ||
| [2009/12/10 15:27:04] @ ezmobius joined channel #puppet | ||
| [2009/12/10 15:27:14] <neek> Cope: :) | ||
| [2009/12/10 15:27:57] @ brothers joined channel #puppet | ||
| [2009/12/10 15:28:21] <neek> Cope: got a pointer to a piece where you do that? | ||
| [2009/12/10 15:29:20] <Cope> neek: i don't bother using alternatives - i don't want any; i just remove sendmail, and install exim | ||
| [2009/12/10 15:29:25] @ Quit: lak: | ||
| [2009/12/10 15:29:31] <neek> ah | ||
| [2009/12/10 15:29:44] <Cope> neek: do you imagine you may want to switch? | ||
| [2009/12/10 15:30:18] <neek> I imagine that I don't get to control the image that these systems are built from and I need a dependable way to make it do what I want... | ||
| [2009/12/10 15:30:43] <neek> and I'd rather not remove packages to make that happen, since I could break a function the image-builder intended... | ||
| [2009/12/10 15:30:48] <Cope> right | ||
| [2009/12/10 15:30:52] <Cope> makes sense | ||
| [2009/12/10 15:31:46] <neek> and while I could just force it to be run anytime I push out an updated config file (what it does now), that doesnt make me happy. :) | ||
| [2009/12/10 15:31:56] <neek> of course, doing an exec at all doesn't really make me happy. | ||
| [2009/12/10 15:31:57] <Cope> only time i've had to do that, I used system-switch-mail | ||
| [2009/12/10 15:32:06] <Cope> but that won't lend itself to automation! | ||
| [2009/12/10 15:32:17] <neek> that seems to have been replaced with "alternatives" from what I can tlel. | ||
| [2009/12/10 15:32:42] <Cope> i thought system-switch-mail drove the alternatives subsystem | ||
| [2009/12/10 15:33:12] <Cope> anyway, i'd be interested in hwo you do it, as I manage some java stuff via alternatives | ||
| [2009/12/10 15:33:15] <neek> could be, but it doesn't exist on anything I've got. | ||
| [2009/12/10 15:33:19] <Cope> oh? | ||
| [2009/12/10 15:33:26] @ Djelibeybi joined channel #puppet | ||
| [2009/12/10 15:33:29] * Cope ponders | ||
| [2009/12/10 15:33:30] <jY> system-switch-mail is redhat | ||
| [2009/12/10 15:33:35] <neek> which could be a failure in one of the images. | ||
| [2009/12/10 15:33:44] <neek> jy: these are all rhel 5.3 and 5.2 | ||
| [2009/12/10 15:33:55] * neek . o O ( and not centos, either ) | ||
| [2009/12/10 15:34:01] <jY> it isn't installed by default | ||
| [2009/12/10 15:34:08] <jY> so you need to install it | ||
| [2009/12/10 15:34:29] <neek> ah. well, I can just as easily exec alternatives as I can exec;ing system-switch-mail | ||
| [2009/12/10 15:34:30] <neek> :) | ||
| [2009/12/10 15:34:52] @ Volcane joined channel #puppet | ||
| [2009/12/10 15:35:39] * Volcane guess LINX is still broken then | ||
| [2009/12/10 15:36:03] <Cope> neek: i see it available on my rhel 5.4 machines | ||
| [2009/12/10 15:36:25] <Cope> neek: yep, i'm not advocating execing it | ||
| [2009/12/10 15:36:28] @ joe-mac joined channel #puppet | ||
| [2009/12/10 15:36:29] <Cope> that would be ugly | ||
| [2009/12/10 15:36:40] <joe-mac> that's what she said | ||
| [2009/12/10 15:36:43] <joe-mac> zing | ||
| [2009/12/10 15:37:29] @ Quit: bug: | ||
| [2009/12/10 15:47:14] @ bug joined channel #puppet | ||
| [2009/12/10 15:47:42] @ Quit: bug: Client Quit | ||
| [2009/12/10 15:50:15] @ ghg joined channel #puppet | ||
| [2009/12/10 15:52:04] @ Ramonster joined channel #puppet | ||
| [2009/12/10 16:06:08] @ Clint joined channel #puppet | ||
| [2009/12/10 16:11:07] <neek> cope: so wound up with an exec for alternatives with an onlyif ls /etc/alternatives/mta | grep -v .... | ||
| [2009/12/10 16:11:10] <neek> does the job anywa. | ||
| [2009/12/10 16:12:10] <ashp> You know what puppet really needs, a way of dealing with files I only need around temporarily for exec{} | ||
| [2009/12/10 16:12:20] <ashp> i need an exec that does mysql < roles.sql | ||
| [2009/12/10 16:12:37] <ashp> but i don't want to put the roles.sql there constantly and it's a pain trying to setup other execs that wget and delete afterwards etc | ||
| [2009/12/10 16:14:44] <Volcane> yeah been keen to get some kind run once fnctionality into it, but its not easy convicing people of the merits :) | ||
| [2009/12/10 16:15:30] @ giskard joined channel #puppet | ||
| [2009/12/10 16:16:16] @ jmeeuwen_ joined channel #puppet | ||
| [2009/12/10 16:16:19] @ Quit: jmeeuwen: Remote closed the connection | ||
| [2009/12/10 16:17:25] <swygue> Volcane: Thanks | ||
| [2009/12/10 16:18:08] @ eventi joined channel #puppet | ||
| [2009/12/10 16:18:10] @ lak joined channel #puppet | ||
| [2009/12/10 16:18:27] <eventi> anyone know how to enjoy puppet on a Joyent 'accelerator' ? | ||
| [2009/12/10 16:19:09] <joe-mac> wtf | ||
| [2009/12/10 16:19:15] <joe-mac> sounds like a vague porn spam ad | ||
| [2009/12/10 16:19:21] <eventi> haha | ||
| [2009/12/10 16:19:27] <eventi> enjoy | ||
| [2009/12/10 16:19:28] <laomao`> eventi: erm, install puppet? | ||
| [2009/12/10 16:19:31] <eventi> oh damn - sorry | ||
| [2009/12/10 16:19:32] <laomao`> what's the question? | ||
| [2009/12/10 16:19:42] <eventi> yeah | ||
| [2009/12/10 16:19:56] <laomao`> you want to know how to install puppet on opensolaris? | ||
| [2009/12/10 16:20:04] <eventi> yes | ||
| [2009/12/10 16:20:13] <laomao`> ok | ||
| [2009/12/10 16:20:27] <laomao`> is this a new accelerator? old ones used pkgsrc | ||
| [2009/12/10 16:20:35] <eventi> brandie new | ||
| [2009/12/10 16:20:40] @ paxos_ joined channel #puppet | ||
| [2009/12/10 16:21:34] <jamestur1bull> eventi: there are solaris install instructions on the wiki | ||
| [2009/12/10 16:22:13] @ Quit: ghg: | ||
| [2009/12/10 16:22:24] <eventi> is there any love lost between lak and Joyent? | ||
| [2009/12/10 16:22:42] <miah> anybody else having issues with reductivelabs.com ? | ||
| [2009/12/10 16:22:43] <eventi> wiki down :( | ||
| [2009/12/10 16:22:53] <jamestur1bull> eventi: yeah - just apotted that | ||
| [2009/12/10 16:22:56] <jamestur1bull> restarting it now | ||
| [2009/12/10 16:22:59] <lak> eventi: i worked with them briefly a while back and it didn't go well, but afaik there's no real hatred or anything | ||
| [2009/12/10 16:22:59] <eventi> thanks | ||
| [2009/12/10 16:23:01] <miah> thx | ||
| [2009/12/10 16:23:15] <eventi> lak: cool | ||
| [2009/12/10 16:23:58] <eventi> lak: I didn't want to feel like a traitor :) | ||
| [2009/12/10 16:24:04] <lak> nah | ||
| [2009/12/10 16:24:08] @ qwebirc71705 joined channel #puppet | ||
| [2009/12/10 16:24:12] <lak> we have orthogonal businesses | ||
| [2009/12/10 16:24:25] <lak> eventi: note tho that (from what i hear) they don't have a huge fondness for automation | ||
| [2009/12/10 16:24:26] <jamestur1bull> eventi: back now | ||
| [2009/12/10 16:24:26] <qwebirc71705> How many milliseconds must a puppet client and server be within one another? | ||
| [2009/12/10 16:24:30] <jamestur1bull> miah: up now | ||
| [2009/12/10 16:24:40] <eventi> thanks jamestur1bull | ||
| [2009/12/10 16:24:41] <miah> thank you sir =) | ||
| [2009/12/10 16:24:42] <Volcane> qwebirc71705: its just web requests | ||
| [2009/12/10 16:24:50] <jamestur1bull> qwebirc71705: what volcane said | ||
| [2009/12/10 16:24:58] <jamestur1bull> qwebirc71705: but same as any SSL | ||
| [2009/12/10 16:25:00] <eventi> lak: their loss | ||
| [2009/12/10 16:25:09] * lak agrees | ||
| [2009/12/10 16:25:23] <eventi> lak: I lost a job for automating the hell out of their servers | ||
| [2009/12/10 16:25:28] <qwebirc71705> My clients only grab changes when I bounce them. | ||
| [2009/12/10 16:25:32] <eventi> er... not joyent | ||
| [2009/12/10 16:25:46] <eventi> so I sympathize | ||
| [2009/12/10 16:26:32] <miah> i need a couch in my office | ||
| [2009/12/10 16:26:40] <joe-mac> lol, you lost a job for automating too much? or you automated and the process broke? | ||
| [2009/12/10 16:26:48] <neek> is there a "" in puppet that's harder than hard quotes? :) I need to pass " and ' both and would rather not have to escape even more than I already am... | ||
| [2009/12/10 16:26:50] <jamestur1bull> miah: I need to not go to the office and hence never leave the couch :) | ||
| [2009/12/10 16:26:52] <eventi> no man - I just made shit WORK!!! | ||
| [2009/12/10 16:26:58] <miah> ya. thats a good idea | ||
| [2009/12/10 16:27:03] <eventi> miah: hammock!!! | ||
| [2009/12/10 16:27:09] <miah> i would have WFH today but i have to do a phone interview | ||
| [2009/12/10 16:27:14] <miah> and i like the quiet conference rooms | ||
| [2009/12/10 16:27:46] <eventi> not loving this - I have no pkg, nor pkgutil | ||
| [2009/12/10 16:27:55] <miah> also, its COLD here in SF. my apartment is super drafty and with my electric radiator running my room only gets to ~61f | ||
| [2009/12/10 16:28:02] <Disconnect> if i have appserver "include appserver::libraries" and appserver-test inherits appserver, is there any simple way to override pieces of appserver::libraries? | ||
| [2009/12/10 16:28:13] * Disconnect is getting err: Could not retrieve catalog: Only subclasses can override parameters :/ | ||
| [2009/12/10 16:28:28] <Disconnect> ..which makes sense, except i need to do so :( | ||
| [2009/12/10 16:28:31] <BarnacleBob> mah today is warmer than earlier this week =) | ||
| [2009/12/10 16:28:50] <miah> maybe | ||
| [2009/12/10 16:29:03] <miah> 47f - feels like 42f | ||
| [2009/12/10 16:29:40] <BarnacleBob> i couldn't see my breath walking to work this morning | ||
| [2009/12/10 16:29:44] <neek> Disconnect: you need to inherit the actual class that contains what you need to override, not a class thatjust includes that class. | ||
| [2009/12/10 16:29:54] <miah> well thats good, i certainly did =) | ||
| [2009/12/10 16:29:59] * neek beat his head against that a few weeks ago. | ||
| [2009/12/10 16:30:01] <Disconnect> the problem is that i'm overriding from both :/ | ||
| [2009/12/10 16:30:28] <Disconnect> i think i need to make an appserver-test::libraries that inherits appserver::libraries and make sure everything is split carefully :( | ||
| [2009/12/10 16:30:31] <neek> Disconnect: so two subclasses, one for each overide. | ||
| [2009/12/10 16:30:44] <Volcane> class names should not have - in them | ||
| [2009/12/10 16:30:47] * eventi has no desire to relearn solaris | ||
| [2009/12/10 16:31:14] <eventi> laomao` - you know which method I should use? | ||
| [2009/12/10 16:35:07] @ Quit: joe-mac: Remote closed the connection | ||
| [2009/12/10 16:35:14] * Disconnect has appserver::test -> appserver and appserver::test::libraries -> appserver::libraries. ugly but it worked. | ||
| [2009/12/10 16:35:36] @ pneff_ joined channel #puppet | ||
| [2009/12/10 16:40:48] @ Quit: toi: "Ex-Chat" | ||
| [2009/12/10 16:42:41] @ Quit: paxos_: | ||
| [2009/12/10 16:43:37] @ Quit: pneff: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 16:50:59] @ Quit: mvn072: Remote closed the connection | ||
| [2009/12/10 16:55:26] @ francois left channel #puppet () | ||
| [2009/12/10 17:00:38] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/12/10 17:02:45] @ Quit: qwebirc71705: "Page closed" | ||
| [2009/12/10 17:02:45] @ Robbie_ joined channel #puppet | ||
| [2009/12/10 17:04:12] <himanshu> anyone tried using http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth? | ||
| [2009/12/10 17:07:31] <himanshu> ? | ||
| [2009/12/10 17:08:51] <BarnacleBob> nope. wrote my own to match with how our stuff was already setup | ||
| [2009/12/10 17:10:04] <himanshu> when I tried to use auth.pp, I am getting following error: Could not retrieve catalog: Syntax error at '{'; expected '}' at /etc/puppet/modules/ssh/manifests/auth.pp:113 on node | ||
| [2009/12/10 17:10:04] <himanshu> <himanshu> Line 113 is: if $ensure { Ssh_auth_key_client <| title == $title |> { ensur e => $ensure } | ||
| [2009/12/10 17:10:48] <BarnacleBob> ohadlevy, i'm running on stored configs, but foreman isn't populating any of the host info. do you need to run that populate rake task even if your using stored configs? also my graph isn't showing up. know what that could be about? http://wrenchies.net/~karl/Automator/ScreenShots/20091210141034.png | ||
| [2009/12/10 17:11:23] <Volcane> puppet writes the graphs | ||
| [2009/12/10 17:11:26] <Volcane> puppetmaster even | ||
| [2009/12/10 17:12:11] <BarnacleBob> oh | ||
| [2009/12/10 17:12:16] <BarnacleBob> puppet isn't running on that machine | ||
| [2009/12/10 17:12:35] <BarnacleBob> *sigh* | ||
| [2009/12/10 17:12:37] <Volcane> the master writes them to your filesystem | ||
| [2009/12/10 17:12:58] <BarnacleBob> yes. i have 2 environments and 2 puppetmaster that i wanted to back with one foreman and database instance | ||
| [2009/12/10 17:13:30] <BarnacleBob> it doesn't make much sense that puppetmaster is writing that graph tho | ||
| [2009/12/10 17:15:18] <agaffney> where does 'rake puppet:import:hosts_and_facts' get the list of hosts? | ||
| [2009/12/10 17:15:28] <agaffney> it keeps adding hosts that are no longer in my puppet setup | ||
| [2009/12/10 17:16:01] <Volcane> agaffney: are they still in your DB? | ||
| [2009/12/10 17:16:36] @ Quit: bearnard: | ||
| [2009/12/10 17:17:46] <BarnacleBob> my list of hosts came over with stored configs automatically but one of the facts did | ||
| [2009/12/10 17:17:52] @ Quit: swygue: "Ex-Chat" | ||
| [2009/12/10 17:18:05] <BarnacleBob> s/one/none/ | ||
| [2009/12/10 17:19:33] @ eventi left channel #puppet () | ||
| [2009/12/10 17:21:39] @ Quit: crdant: "Leaving." | ||
| [2009/12/10 17:25:11] @ Quit: jamestur1bull: "leaving" | ||
| [2009/12/10 17:27:16] @ Quit: labrown: "Leaving" | ||
| [2009/12/10 17:27:36] @ Bevo joined channel #puppet | ||
| [2009/12/10 17:27:40] <Bevo> morning all | ||
| [2009/12/10 17:27:47] <BarnacleBob> bleh i want to move to a single puppetmaster | ||
| [2009/12/10 17:27:58] @ jamesturnbull joined channel #puppet | ||
| [2009/12/10 17:28:05] <BarnacleBob> they both already run from the same code repository | ||
| [2009/12/10 17:28:07] <Volcane> BarnacleBob: u can use one for reporting | ||
| [2009/12/10 17:28:16] <Volcane> if they share a ca | ||
| [2009/12/10 17:28:17] <BarnacleBob> Volcane? | ||
| [2009/12/10 17:28:39] <Volcane> like my machines all talk to in-country masters but they send their reports to just one of them | ||
| [2009/12/10 17:28:46] <Volcane> so rrd graphs etc all end up in one place | ||
| [2009/12/10 17:29:14] <BarnacleBob> that would actually solve some other problems i'm having too | ||
| [2009/12/10 17:29:27] <agaffney> Volcane: which DB? | ||
| [2009/12/10 17:29:32] <Volcane> reportserver = foo | ||
| [2009/12/10 17:29:36] <Volcane> in puppet.conf | ||
| [2009/12/10 17:29:41] <BarnacleBob> Volcane, so they have to both have all the certs? | ||
| [2009/12/10 17:29:50] <Volcane> no just the same ca | ||
| [2009/12/10 17:29:53] <BarnacleBob> Volcane, or just the same ca | ||
| [2009/12/10 17:29:55] <BarnacleBob> oh sweet | ||
| [2009/12/10 17:30:00] <BarnacleBob> i can push the ca with puppet | ||
| [2009/12/10 17:30:02] <Volcane> masters dont care for certs, only that the ca signed it | ||
| [2009/12/10 17:30:28] <Volcane> so if ca is the same everywhere | ||
| [2009/12/10 17:30:28] <BarnacleBob> rock! | ||
| [2009/12/10 17:30:30] <Volcane> it al just works | ||
| [2009/12/10 17:30:50] <Volcane> if my one master goes titsup i just fiddle dns so all the ones in the affected country talk to some other | ||
| [2009/12/10 17:30:56] <BarnacleBob> so i just need ssl/certs/ca.pem? | ||
| [2009/12/10 17:31:09] <Volcane> ssl/ca | ||
| [2009/12/10 17:31:39] <BarnacleBob> you said i don't need all the signed clients right? | ||
| [2009/12/10 17:31:45] <Volcane> yeah | ||
| [2009/12/10 17:31:50] <BarnacleBob> so just a_{crl,crt,key,pub}.pem? | ||
| [2009/12/10 17:31:54] <Volcane> not sure whats all in there | ||
| [2009/12/10 17:31:54] <BarnacleBob> *ca_ | ||
| [2009/12/10 17:31:57] <Volcane> i just copy the whole thing | ||
| [2009/12/10 17:32:21] <BarnacleBob> well thats where all the client certs are stored | ||
| [2009/12/10 17:32:28] <BarnacleBob> and if i need them then this gets a whole lot harder | ||
| [2009/12/10 17:32:35] <Volcane> u dont need them | ||
| [2009/12/10 17:32:35] <BarnacleBob> i'll copy everything but those | ||
| [2009/12/10 17:32:45] <BarnacleBob> thanks for the help | ||
| [2009/12/10 17:32:51] <Volcane> do you revoke certs? | ||
| [2009/12/10 17:32:59] <Volcane> cos that complicates everything | ||
| [2009/12/10 17:33:28] <BarnacleBob> no i don't | ||
| [2009/12/10 17:33:32] <Volcane> k | ||
| [2009/12/10 17:33:34] <BarnacleBob> just clean them when the machine goes away | ||
| [2009/12/10 17:33:53] <Volcane> nod, doesnt achieve anyhting other than few less files | ||
| [2009/12/10 17:34:11] <Volcane> see with many masters each a ca (you can make just one a ca too) you miht have more than 1 cert with id=1 | ||
| [2009/12/10 17:34:24] <Volcane> and so when u revoke id=1 u end up loosing more than one machine | ||
| [2009/12/10 17:34:30] <Volcane> cos each ca start at 1 and count up | ||
| [2009/12/10 17:34:44] <BarnacleBob> oh lol | ||
| [2009/12/10 17:34:46] <BarnacleBob> that would get complex | ||
| [2009/12/10 17:34:53] <Volcane> u can fiddle the conters | ||
| [2009/12/10 17:35:00] <Volcane> puppet1 starts at 1000, puppet2 at 2000 etc | ||
| [2009/12/10 17:35:30] <agaffney> ah hah, /var/lib/puppet/yaml/{facts,node} is what I was looking for | ||
| [2009/12/10 17:37:25] <BarnacleBob> i really wish i didn't forget my headphones today | ||
| [2009/12/10 17:37:27] @ joe-mac joined channel #puppet | ||
| [2009/12/10 17:37:47] <explody> is there a way to tell a service to restart when a file changes, like the say you can subscribe to a file in exec{}? | ||
| [2009/12/10 17:37:54] <explody> s/say/way/ | ||
| [2009/12/10 17:38:13] <BarnacleBob> so | ||
| [2009/12/10 17:38:53] <KarlHungus> explody: notify => Service["servicename"] | ||
| [2009/12/10 17:38:53] <BarnacleBob> if you have a service{"asdf": } and a file{"myfile": } you can either do subscribe=>File["myfile"] in the service definition or a notify=>Service["asdf"] in the file definnition | ||
| [2009/12/10 17:39:33] <explody> KarlHungus, BarnacleBob : sweet, thanks. I missed that | ||
| [2009/12/10 17:39:39] <KarlHungus> np =) | ||
| [2009/12/10 17:40:16] <BarnacleBob> i've worked here for 3 months and i suddenly realize i don't know where i can find a pen | ||
| [2009/12/10 17:41:45] @ Quit: nexx|: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 17:43:37] @ nexx| joined channel #puppet | ||
| [2009/12/10 17:43:52] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/12/10 17:48:15] <jamesturnbull> BarnacleBob: ditto | ||
| [2009/12/10 17:48:21] <jamesturnbull> BarnacleBob: I steal them off people's desks | ||
| [2009/12/10 17:48:28] <jamesturnbull> BarnacleBob: (and return them) | ||
| [2009/12/10 17:48:36] <ewdafa> (broken) | ||
| [2009/12/10 17:49:02] <ewdafa> you're a mean man, jamesturnbull | ||
| [2009/12/10 17:49:29] <BarnacleBob> lol | ||
| [2009/12/10 17:50:42] <pting> i noticed that both ${name} and $name are used in strings for variables... which is preferred? | ||
| [2009/12/10 17:50:57] <whack> I tend to hoard pens. I lose them somewhere in/on my desk, then go to the supply closet to get another. 6 months later i have like 30 pens | ||
| [2009/12/10 17:53:53] <BarnacleBob> pting, they are the same. ${var} is sonly useful if you did something lilke ${name}_foo otherwise i would be inerpreted as the var name_foo instead of name | ||
| [2009/12/10 17:54:04] <BarnacleBob> typing fail today | ||
| [2009/12/10 17:54:31] <BarnacleBob> i should really fix this script that sent me 400 email today | ||
| [2009/12/10 17:54:37] <BarnacleBob> but really. i just don't feel like it | ||
| [2009/12/10 17:57:30] * Volcane use ${..} syntax whenever its in a "" | ||
| [2009/12/10 17:57:42] <himanshu> $keycontent = file($key_src_file, "/dev/null"), I am getting err: Could not retrieve catalog: Files must be fully qualified at ... any idea why? | ||
| [2009/12/10 17:58:23] <Volcane> whats in $key_src_file ? | ||
| [2009/12/10 17:59:00] <himanshu> its some file on my puppet master | ||
| [2009/12/10 17:59:25] <Volcane> whats in the variable | ||
| [2009/12/10 17:59:45] <himanshu> $key_src_file = "${ssh::auth::keymaster_storage}/${user}/key.pub" | ||
| [2009/12/10 18:00:00] * Volcane gives up | ||
| [2009/12/10 18:00:17] <himanshu> ? | ||
| [2009/12/10 18:00:18] <BarnacleBob> i bet ya the keymaster_storage variable doesn't start with a / | ||
| [2009/12/10 18:00:35] <himanshu> $keymaster_storage = "puppet://$server/ssh/keys" | ||
| [2009/12/10 18:00:42] <BarnacleBob> yah | ||
| [2009/12/10 18:00:52] <BarnacleBob> himanshu, its not a puppet source file. file expects a real file on the server | ||
| [2009/12/10 18:01:03] <BarnacleBob> ie /etc/puppet/files/ssh/keys | ||
| [2009/12/10 18:01:10] <himanshu> oh | ||
| [2009/12/10 18:03:59] @ synchris_ is now known as synchris | ||
| [2009/12/10 18:04:39] @ paxos joined channel #puppet | ||
| [2009/12/10 18:05:25] @ paxos_ joined channel #puppet | ||
| [2009/12/10 18:06:40] <pting> BarnacleBob, coo, thx | ||
| [2009/12/10 18:06:57] @ Quit: chah: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 18:08:58] <Bevo> i have some custom facts running on puppet 0.25, i use pluginsync to distribute them to clients and the custom module path is: custom/lib/facter. can i just use those facts as normal or do i have to reference them in a special way? | ||
| [2009/12/10 18:09:32] @ crdant joined channel #puppet | ||
| [2009/12/10 18:10:15] @ Quit: diranged: Read error: 110 (Connection timed out) | ||
| [2009/12/10 18:12:36] @ Quit: Robbie_: Remote closed the connection | ||
| [2009/12/10 18:12:55] @ Quit: crdant: Client Quit | ||
| [2009/12/10 18:13:04] @ Quit: Eghie: Client Quit | ||
| [2009/12/10 18:17:24] @ erm_ joined channel #puppet | ||
| [2009/12/10 18:18:32] <BarnacleBob> is /var/ilb/puppet/ssl/ca/inventory.txt a list of all the certs that have been signed? cause my file is 44mb with 581k lines | ||
| [2009/12/10 18:18:36] <BarnacleBob> and i have like 700 hosts | ||
| [2009/12/10 18:19:12] <Volcane> Bevo: might need to set something like factpath = $vardir/lib/facter in [main] of puppet.conf on the client | ||
| [2009/12/10 18:21:33] <pting> when you have something like class outter { class inner { ... } } and you've created an instance of the inner... do you reference it as require => Outter::inner['blah'] or require => outter::Inner['blah'] or does it matter? i can't seem to find the docs that discuss the upper and lowercasing of classes | ||
| [2009/12/10 18:22:28] @ Quit: paxos: Read error: 110 (Connection timed out) | ||
| [2009/12/10 18:22:28] @ paxos_ is now known as paxos | ||
| [2009/12/10 18:22:28] <Volcane> pting: Outer::Inner | ||
| [2009/12/10 18:23:28] <pting> Volcane, thx | ||
| [2009/12/10 18:24:39] @ Quit: kaptk2: "Leaving." | ||
| [2009/12/10 18:26:01] @ bug joined channel #puppet | ||
| [2009/12/10 18:29:51] @ Quit: erm_: "leaving" | ||
| [2009/12/10 18:35:47] <himanshu> I am getting following warning: Configuration could not be instantiated: Could not find dependency User[root] for File[/.ssh/authorized_keys] | ||
| [2009/12/10 18:36:10] <Volcane> do you have a user{"root": ... } somewhere? | ||
| [2009/12/10 18:36:28] <himanshu> no | ||
| [2009/12/10 18:36:42] <Volcane> cant require things you did not declare | ||
| [2009/12/10 18:37:21] <Bevo> Volcane, i cant actually see where it puts the plugins on the client | ||
| [2009/12/10 18:37:48] <Bevo> Volcane, and theres no facts in $vardir/lib/facter | ||
| [2009/12/10 18:38:29] <Volcane> find in /var/lib/puppet or whever your vrdir is | ||
| [2009/12/10 18:38:40] <Volcane> see the files there? do you have pluginsync enaled on the clients? | ||
| [2009/12/10 18:39:19] @ nevyn_ is now known as nevyn | ||
| [2009/12/10 18:39:26] @ qwebirc9916 joined channel #puppet | ||
| [2009/12/10 18:40:08] @ Quit: qwebirc9916: Client Quit | ||
| [2009/12/10 18:45:41] @ jcape joined channel #puppet | ||
| [2009/12/10 18:46:47] @ themurph joined channel #puppet | ||
| [2009/12/10 18:58:44] @ Quit: bobbyz_: Read error: 110 (Connection timed out) | ||
| [2009/12/10 18:59:09] <BarnacleBob> Volcane, would all the hosts need to be able to connect to the reporting server? | ||
| [2009/12/10 18:59:19] <BarnacleBob> or just the puppetmasters | ||
| [2009/12/10 18:59:29] @ Quit: jab_doa: "Verlassend" | ||
| [2009/12/10 19:00:40] <BarnacleBob> i bet you do | ||
| [2009/12/10 19:00:43] <BarnacleBob> this isn't going to work at all | ||
| [2009/12/10 19:00:45] <BarnacleBob> fail | ||
| [2009/12/10 19:01:53] <BarnacleBob> i could do an ssh tunnel | ||
| [2009/12/10 19:02:51] @ fxpester2 joined channel #puppet | ||
| [2009/12/10 19:03:04] @ Quit: fxpester: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 19:03:41] @ Quit: Ramonster: Client Quit | ||
| [2009/12/10 19:05:19] @ tenare joined channel #puppet | ||
| [2009/12/10 19:06:18] <tenare> can i run custom ruby scripts inside templates? | ||
| [2009/12/10 19:06:31] <tenare> functions i mean | ||
| [2009/12/10 19:06:31] <BarnacleBob> you can run ruby | ||
| [2009/12/10 19:06:35] <BarnacleBob> oh | ||
| [2009/12/10 19:06:45] <BarnacleBob> i believe so | ||
| [2009/12/10 19:06:55] <tenare> your nick is funny | ||
| [2009/12/10 19:07:09] <BarnacleBob> i don't know enough about ruby but so far i've seen in a template you can access everything the calling scope can. so probably the functions | ||
| [2009/12/10 19:07:24] <tenare> i can run the function inside a manifest | ||
| [2009/12/10 19:07:39] <BarnacleBob> you just have to know where the function is | ||
| [2009/12/10 19:08:09] <tenare> it works but i dont seem to be able to run it in a template, when i write the template to a file or variable it never ran my function | ||
| [2009/12/10 19:08:42] <tenare> BarnacleBob: i know where it is | ||
| [2009/12/10 19:08:43] <BarnacleBob> tenare, how are you calling the function | ||
| [2009/12/10 19:09:04] <BarnacleBob> i believe oyu would have to call something like puppet.parser.functions.myfunc or something | ||
| [2009/12/10 19:09:16] <tenare> <% functioname("do function stuff") > | ||
| [2009/12/10 19:09:25] <tenare> oh | ||
| [2009/12/10 19:09:28] @ bug_ joined channel #puppet | ||
| [2009/12/10 19:09:29] <BarnacleBob> yeah thats not what i ment by "where" the function was | ||
| [2009/12/10 19:09:41] <BarnacleBob> wherever a custom function gets loaded into the puppet class is what oyu have to call | ||
| [2009/12/10 19:10:15] <tenare> in the manifests i only write the function name | ||
| [2009/12/10 19:10:21] <tenare> so | ||
| [2009/12/10 19:10:22] <BarnacleBob> yeah | ||
| [2009/12/10 19:10:23] <BarnacleBob> Puppet::Parser::Functions.function(:my_funct) | ||
| [2009/12/10 19:10:27] <BarnacleBob> call that or some such | ||
| [2009/12/10 19:10:36] <tenare> $whatever = myfunction() | ||
| [2009/12/10 19:10:38] <tenare> oh | ||
| [2009/12/10 19:10:40] <BarnacleBob> remember in the template betwee <% and %> you are in ruby. not puppet | ||
| [2009/12/10 19:11:06] <tenare> i thought the function was a ruby function that puppet lods | ||
| [2009/12/10 19:11:08] <tenare> loads | ||
| [2009/12/10 19:11:24] <BarnacleBob> well depends on the function, but usually not | ||
| [2009/12/10 19:11:32] <BarnacleBob> its part of a class or module | ||
| [2009/12/10 19:11:59] <BarnacleBob> well ok | ||
| [2009/12/10 19:11:59] <BarnacleBob> so | ||
| [2009/12/10 19:11:59] <BarnacleBob> hang on | ||
| [2009/12/10 19:12:05] <BarnacleBob> i think i might have miss understood what you are asking | ||
| [2009/12/10 19:12:25] <BarnacleBob> you can do stuff like this | ||
| [2009/12/10 19:12:28] <tenare> yeah that did not work | ||
| [2009/12/10 19:12:40] <BarnacleBob> http://pastie.org/738168 | ||
| [2009/12/10 19:13:35] <tenare> is that a template? | ||
| [2009/12/10 19:13:38] <BarnacleBob> yes | ||
| [2009/12/10 19:14:02] <tenare> i used this: http://ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html | ||
| [2009/12/10 19:14:32] <BarnacleBob> can you paste an example of what you are trying to do | ||
| [2009/12/10 19:14:46] <BarnacleBob> like paste your template to pastie | ||
| [2009/12/10 19:15:09] <tenare> i dont have a template yet i am making one atm there is only one line | ||
| [2009/12/10 19:15:22] <tenare> its basically function() | ||
| [2009/12/10 19:15:29] <BarnacleBob> so the short answer is yse | ||
| [2009/12/10 19:15:31] <BarnacleBob> yes | ||
| [2009/12/10 19:15:35] <BarnacleBob> you can call the function | ||
| [2009/12/10 19:15:41] <tenare> it only prints hello world | ||
| [2009/12/10 19:15:48] <BarnacleBob> but if you don't do <%= %> it will only run it not do anything with the output | ||
| [2009/12/10 19:15:48] <tenare> but when i run it it does not work | ||
| [2009/12/10 19:15:56] <tenare> only says: function() | ||
| [2009/12/10 19:15:57] <BarnacleBob> you could do | ||
| [2009/12/10 19:16:04] <BarnacleBob> <% puts function() %> | ||
| [2009/12/10 19:16:13] <BarnacleBob> or you could put <%= function() %> | ||
| [2009/12/10 19:16:37] <BarnacleBob> <% %> just means run this ruby code. it doesn't do anything with the *output* of that ruby code | ||
| [2009/12/10 19:17:20] <tenare> when a manifest runs one does not need <% %> for the function i am using | ||
| [2009/12/10 19:17:32] <BarnacleBob> please paste me the example you are doing | ||
| [2009/12/10 19:17:47] <BarnacleBob> manifests are not templates | ||
| [2009/12/10 19:18:20] <tenare> now i got 'could not find value for tenaresfunction()' | ||
| [2009/12/10 19:18:29] <tenare> yes i know | ||
| [2009/12/10 19:18:53] <BarnacleBob> sorry. i can't help you if you wont show me an example of what your trying to do | ||
| [2009/12/10 19:18:58] @ jcape left channel #puppet () | ||
| [2009/12/10 19:19:00] <tenare> i am trying to figure out what the difference is in the interpretation of the manifest vcs the template so i can run my function inside a template | ||
| [2009/12/10 19:19:27] <tenare> i have a .erb file with a function in it | ||
| [2009/12/10 19:20:02] <tenare> i put it here: /usr/lib/ruby/1.8/puppet/parser/functions/s | ||
| [2009/12/10 19:20:06] <BarnacleBob> ok so the difference between a manifest and a template is miles | ||
| [2009/12/10 19:20:21] <BarnacleBob> tenare, can you paste me the erb file so we can both have a reference point of what to talk about | ||
| [2009/12/10 19:20:30] <tenare> so i want to run the function i put in there | ||
| [2009/12/10 19:20:43] <BarnacleBob> tenare, i highly suggest that you use some builtin ruby function instead of your custom function for testing | ||
| [2009/12/10 19:20:47] <tenare> i dont have a erb file, i can make one but it would only contain the name of that function | ||
| [2009/12/10 19:20:52] <BarnacleBob> use ' puts "hello world" ' | ||
| [2009/12/10 19:20:57] <BarnacleBob> as your function | ||
| [2009/12/10 19:21:09] <tenare> my function works, it works in manifests | ||
| [2009/12/10 19:21:27] <BarnacleBob> let me paste you something | ||
| [2009/12/10 19:21:31] <BarnacleBob> i'll write up an example | ||
| [2009/12/10 19:22:02] <tenare> ok | ||
| [2009/12/10 19:22:06] <tenare> thanks for helping me | ||
| [2009/12/10 19:23:15] <tenare> BarnacleBob: content => template("/etc/puppet/modules/test/templates/test.erb") | ||
| [2009/12/10 19:23:18] <tenare> i use that in the manifest | ||
| [2009/12/10 19:23:22] <BarnacleBob> ok | ||
| [2009/12/10 19:23:29] <BarnacleBob> so here is a simpler example than what you are doing | ||
| [2009/12/10 19:23:36] <BarnacleBob> http://pastie.org/738183 | ||
| [2009/12/10 19:23:50] <BarnacleBob> file1 ends up witht he contents "hello world" file2 ends up with | ||
| [2009/12/10 19:23:54] <BarnacleBob> hello world | ||
| [2009/12/10 19:24:00] <BarnacleBob> this is ruby writing some contents to this file | ||
| [2009/12/10 19:24:02] <BarnacleBob> so | ||
| [2009/12/10 19:24:18] <BarnacleBob> you see that <% puts "" %> is the template running a ruby function | ||
| [2009/12/10 19:24:19] <BarnacleBob> so | ||
| [2009/12/10 19:24:33] <tenare> that works | ||
| [2009/12/10 19:24:40] <BarnacleBob> all thats left is to find out what scope your custom manifest function is stored in | ||
| [2009/12/10 19:24:47] <BarnacleBob> i believe its | ||
| [2009/12/10 19:24:56] <tenare> my function is here: /usr/lib/ruby/1.8/puppet/parser/functions/ | ||
| [2009/12/10 19:25:12] <BarnacleBob> right | ||
| [2009/12/10 19:25:26] <BarnacleBob> try calling this from the template | ||
| [2009/12/10 19:25:29] <BarnacleBob> Puppet::Parser::Functions.function(:my_funct) | ||
| [2009/12/10 19:25:50] <BarnacleBob> if its not that then someone that knows more ruby and internals of puppet will need tohelp you | ||
| [2009/12/10 19:26:49] <tenare> should i replace .function(:my_funct) to my own function? | ||
| [2009/12/10 19:27:24] <tenare> does not seem to work | ||
| [2009/12/10 19:28:09] <tenare> thanks for helping me | ||
| [2009/12/10 19:28:26] <tenare> i will keep trying and look through the wiki again i might have missed something | ||
| [2009/12/10 19:29:09] <BarnacleBob> did you try replacing just the my_funct part? | ||
| [2009/12/10 19:29:13] <tenare> yes | ||
| [2009/12/10 19:29:17] @ Quit: bug: Read error: 110 (Connection timed out) | ||
| [2009/12/10 19:29:17] @ bug_ is now known as bug | ||
| [2009/12/10 19:29:19] <BarnacleBob> bummer | ||
| [2009/12/10 19:29:30] <BarnacleBob> yeah gonna have to find out where in the scope it is | ||
| [2009/12/10 19:30:12] <tenare> i tried all the <% and < and <%- and different endings that where suggested in the Class: ERB API Doc thing | ||
| [2009/12/10 19:30:16] <tenare> did not work | ||
| [2009/12/10 19:30:23] <tenare> im sure its something easy | ||
| [2009/12/10 19:30:26] <tenare> :) | ||
| [2009/12/10 19:30:28] <BarnacleBob> whats the error you get? | ||
| [2009/12/10 19:31:04] <tenare> i dont get a error, but the file that gets created which should have the template contents just has the function (unrun) in it | ||
| [2009/12/10 19:31:38] <BarnacleBob> how do you know the function was run | ||
| [2009/12/10 19:31:44] <tenare> it was not run | ||
| [2009/12/10 19:31:46] <BarnacleBob> er | ||
| [2009/12/10 19:31:48] <BarnacleBob> was unrun | ||
| [2009/12/10 19:31:55] <tenare> not run | ||
| [2009/12/10 19:31:55] <tenare> sorry | ||
| [2009/12/10 19:32:13] <tenare> if it was run then i would see the data which the function gets | ||
| [2009/12/10 19:32:27] @ Quit: brothers: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 19:32:27] <BarnacleBob> not if it was run and just not put in the template | ||
| [2009/12/10 19:32:35] <BarnacleBob> you could test it real quick | ||
| [2009/12/10 19:32:39] <tenare> ok | ||
| [2009/12/10 19:32:41] <tenare> sure | ||
| [2009/12/10 19:32:52] @ brothers joined channel #puppet | ||
| [2009/12/10 19:33:06] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/10 19:33:20] <BarnacleBob> hrm | ||
| [2009/12/10 19:33:37] <BarnacleBob> tenare, does the function return data? | ||
| [2009/12/10 19:33:41] <BarnacleBob> you could try | ||
| [2009/12/10 19:33:43] <tenare> yes | ||
| [2009/12/10 19:33:54] <BarnacleBob> <% ret=myfunc() %> <%= ret %> | ||
| [2009/12/10 19:36:08] @ Quit: littleidea: | ||
| [2009/12/10 19:36:30] <tenare> Could not find value for 'tenaresfunction' | ||
| [2009/12/10 19:36:56] <tenare> Failed to parse template | ||
| [2009/12/10 19:41:30] <BarnacleBob> uh then the function isn't available in that scope | ||
| [2009/12/10 19:41:39] <tenare> yeah | ||
| [2009/12/10 19:41:42] <BarnacleBob> *i think* | ||
| [2009/12/10 19:41:42] <tenare> <% ret=puts "hello" %> <%= ret %> | ||
| [2009/12/10 19:41:43] <tenare> that works | ||
| [2009/12/10 19:42:51] <tenare> ok, i will hang around hopefully somebody knows, and at the same time i will try to find a way to move it to another scope | ||
| [2009/12/10 19:54:58] @ PaulWay[w] joined channel #puppet | ||
| [2009/12/10 19:56:41] <himanshu> how to delete non-empty directory? | ||
| [2009/12/10 19:57:52] <tenare> himanshu: in unix? | ||
| [2009/12/10 19:58:00] <himanshu> using puppet? | ||
| [2009/12/10 19:58:35] <tenare> absent i think | ||
| [2009/12/10 19:58:41] <himanshu> when I tried File{ "dir" : ensure=> "absent", }, it says use force to overrride | ||
| [2009/12/10 19:58:55] <himanshu> my directory is not empty | ||
| [2009/12/10 19:59:49] @ littleidea joined channel #puppet | ||
| [2009/12/10 20:00:16] <tenare> recurse => true | ||
| [2009/12/10 20:00:38] <himanshu> nope that wont work either, I tried force=> true and that worked | ||
| [2009/12/10 20:00:47] <tenare> ah | ||
| [2009/12/10 20:00:47] <tenare> :) | ||
| [2009/12/10 20:00:48] <tenare> good | ||
| [2009/12/10 20:09:03] @ tecto joined channel #puppet | ||
| [2009/12/10 20:12:09] <tenare> BarnacleBob: could you explain to me the scopes a little more | ||
| [2009/12/10 20:12:39] <BarnacleBob> unfortunately i don't actually know ruby | ||
| [2009/12/10 20:12:42] <BarnacleBob> and thats a ruby question | ||
| [2009/12/10 20:12:47] <tenare> BarnacleBob: ah ok | ||
| [2009/12/10 20:13:45] @ crdant joined channel #puppet | ||
| [2009/12/10 20:16:07] @ Quit: PaulWay[w]: Read error: 110 (Connection timed out) | ||
| [2009/12/10 20:22:32] @ Quit: wbruce: "The computer fell asleep" | ||
| [2009/12/10 20:22:54] @ wbruce joined channel #puppet | ||
| [2009/12/10 20:25:06] @ Quit: yarihm: "Leaving" | ||
| [2009/12/10 20:30:30] <explody> is there a way, from module A, to tell a service defined in module B to shut down if module A is enabled, without fully turning off module B? | ||
| [2009/12/10 20:32:02] <explody> like can I do service { Service[B]: ensure => stopped } ? | ||
| [2009/12/10 20:33:06] <explody> hm no, that's a syntax error | ||
| [2009/12/10 20:34:10] @ Quit: wbruce: Read error: 148 (No route to host) | ||
| [2009/12/10 20:34:46] @ Quit: jes5199: "Leaving." | ||
| [2009/12/10 20:35:08] <explody> basically, I've got module A that is applied globally, but it contains one service that needs to be shut off if I apply module B to a node. Aside from that service, the two modules don't conflict in any way, and I'd rather not remove A in order to apply B | ||
| [2009/12/10 20:35:42] @ Quit: lak: | ||
| [2009/12/10 20:36:27] <proton> Service <| title == "B" |> { ensure => stopped } | ||
| [2009/12/10 20:36:37] <proton> that should work for 0.25+ | ||
| [2009/12/10 20:37:17] @ Quit: ezmobius: Remote closed the connection | ||
| [2009/12/10 20:40:16] <explody> sweet | ||
| [2009/12/10 20:40:57] <explody> also found I could make B a subclass of A and use Service[thing] { do stuff } | ||
| [2009/12/10 20:41:22] <ohadlevy> BarnacleBob: storeconfig (puppet) will only set some of the values, there is a rake task to import the rest | ||
| [2009/12/10 20:42:46] <explody> proton: but I like yours a lot better | ||
| [2009/12/10 20:43:38] <ohadlevy> BarnacleBob: for the graphs, you need to able to connect the internet (as the graphs are rendered via google charts) | ||
| [2009/12/10 20:48:10] <proton> explody: yeah, I try not to do inheritance unless it actually is inheritance :) | ||
| [2009/12/10 20:48:45] @ Quit: bug: | ||
| [2009/12/10 20:49:42] <ohadlevy> fsweetser:ping | ||
| [2009/12/10 20:54:00] @ M- joined channel #puppet | ||
| [2009/12/10 20:54:57] @ Quit: WALoeIII: Read error: 113 (No route to host) | ||
| [2009/12/10 20:55:44] @ diranged joined channel #puppet | ||
| [2009/12/10 20:56:05] <diranged> ok... i have a single puppet client node that broke and i cant seem to get it re-started properly. deleted the key on the server with puppetca --revoke and --clean, but i still get this error | ||
| [2009/12/10 20:59:31] <ohadlevy> hacim: its inside the foreman repo, look at the extras | ||
| [2009/12/10 21:00:20] <diranged> http://www.pastie.org/738317 < my error | ||
| [2009/12/10 21:02:16] <tenare> BarnacleBob: seems like scope. has something to do with it | ||
| [2009/12/10 21:04:16] @ Quit: littleidea: | ||
| [2009/12/10 21:04:18] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out) | ||
| [2009/12/10 21:07:40] <Bevo> i have some custom facts running on puppet 0.25, i use pluginsync to distribute them to clients and the custom module path is: custom/lib/facter. can i just use those facts as normal or do i have to reference them in a special way? | ||
| [2009/12/10 21:13:49] @ Quit: gaveen: Remote closed the connection | ||
| [2009/12/10 21:17:44] <diranged> "warning: Found multiple default providers for service: freebsd, debian; using freebsd" < this is coming up on an ubuntu system... any way to get it to pick debian? | ||
| [2009/12/10 21:18:06] <ohadlevy> diranged: is that with 0.24-5? | ||
| [2009/12/10 21:18:22] @ blahdeblah joined channel #puppet | ||
| [2009/12/10 21:19:18] <diranged> yeah.. | ||
| [2009/12/10 21:19:23] <diranged> now i found the bug | ||
| [2009/12/10 21:19:30] <diranged> http://markmail.org/message/a25dhot2tl2qxycz#query:warning%3A%20Found%20multiple%20default%20providers%20for%20service%3A%20freebsd%20debian%3B%20using%20freebsd+page:1+mid:n4p7kehgz2pygsru+state:results | ||
| [2009/12/10 21:19:34] <ohadlevy> diranged: either upgrade or force the provider | ||
| [2009/12/10 21:19:37] <diranged> how can i force it? | ||
| [2009/12/10 21:19:44] <diranged> (i will ugprade eventually.. just not tonight) | ||
| [2009/12/10 21:20:21] <ohadlevy> provider => debian, | ||
| [2009/12/10 21:20:49] @ Quit: jaredrhine: Read error: 113 (No route to host) | ||
| [2009/12/10 21:21:05] <diranged> in the node definition? | ||
| [2009/12/10 21:22:56] <ohadlevy> diranged: in the service definitoin | ||
| [2009/12/10 21:22:59] <ohadlevy> :( | ||
| [2009/12/10 21:23:48] @ scylla joined channel #puppet | ||
| [2009/12/10 21:24:34] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/10 21:24:37] <diranged> sorry, im a bit confused.. :/ | ||
| [2009/12/10 21:25:01] <diranged> i cant say "for node xxx" use the provider "debian"? | ||
| [2009/12/10 21:25:10] <ohadlevy> no | ||
| [2009/12/10 21:25:18] <diranged> fck.. | ||
| [2009/12/10 21:25:26] <ohadlevy> you can set defaults, | ||
| [2009/12/10 21:25:31] <ohadlevy> but it might affect other nodes as well | ||
| [2009/12/10 21:30:24] <diranged> meh.. upgraded to .24.8... | ||
| [2009/12/10 21:31:01] <diranged> ok on a separate note... i have this misbehaving node.. it was working earlier, now it wont | ||
| [2009/12/10 21:31:19] <diranged> err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target `' | ||
| [2009/12/10 21:31:43] <ohadlevy> your master is 0.25.1? | ||
| [2009/12/10 21:32:41] <diranged> yeah | ||
| [2009/12/10 21:33:00] <diranged> in the case of the erroring-client, so is it | ||
| [2009/12/10 21:36:12] @ joe-mac1 joined channel #puppet | ||
| [2009/12/10 21:42:59] @ joe-mac1 left channel #puppet () | ||
| [2009/12/10 21:43:27] @ joe-mac1 joined channel #puppet | ||
| [2009/12/10 21:49:02] @ Quit: lilmatt: | ||
| [2009/12/10 21:50:10] <diranged> ugh.. what the heck. im getting this error | ||
| [2009/12/10 21:50:11] <diranged> err: Could not retrieve catalog: Duplicate definition: File[/opt/parabuild/etc/system/parabuild.conf] is already defined in file /etc/puppet/modules/parabuild/manifests/init.pp at line 97; cannot redefine at /etc/puppet/modules/parabuild/manifests/init.pp:97 on node vdc01b01ubuntu01 | ||
| [2009/12/10 21:50:44] @ bug joined channel #puppet | ||
| [2009/12/10 21:51:09] <diranged> whats wrong with this code? http://www.pastie.org/738364 | ||
| [2009/12/10 21:51:29] <Djelibeybi> diranged: you have a File{} sitting inside a define that you're calling twice | ||
| [2009/12/10 21:51:58] <Djelibeybi> If you call that twice, BOOM | ||
| [2009/12/10 21:52:02] <diranged> mother f*er.. i just found that. | ||
| [2009/12/10 21:52:05] <diranged> christ, i should just stop for tonight | ||
| [2009/12/10 21:52:16] <Djelibeybi> :) | ||
| [2009/12/10 21:52:59] <diranged> ok one more stupid question | ||
| [2009/12/10 21:53:04] <diranged> is there a default variable that has the hostname of the puppet server? | ||
| [2009/12/10 21:53:15] <ohadlevy> $servername | ||
| [2009/12/10 21:53:22] <ohadlevy> or $server | ||
| [2009/12/10 21:53:29] <ohadlevy> cant remember which one | ||
| [2009/12/10 21:53:56] <Djelibeybi> Yes. | ||
| [2009/12/10 21:54:00] <Djelibeybi> One sec, I use it | ||
| [2009/12/10 21:54:13] <diranged> servername.. thanks | ||
| [2009/12/10 21:54:22] <Djelibeybi> $servername | ||
| [2009/12/10 21:54:25] <Djelibeybi> :) | ||
| [2009/12/10 21:54:33] <Djelibeybi> ohadlevy is too damn fast. | ||
| [2009/12/10 21:57:30] <diranged> ok back to one other issue.. my misbehaving node | ||
| [2009/12/10 21:57:35] <diranged> err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target '' | ||
| [2009/12/10 21:58:20] @ Quit: pting: "Ex-Chat" | ||
| [2009/12/10 21:58:28] <ohadlevy> diranged: I'm not sure... search redmine for that error | ||
| [2009/12/10 22:01:15] @ cwebber joined channel #puppet | ||
| [2009/12/10 22:01:36] <diranged> ok im not gonna fight with it tonight.. i need to figure one last thing out then i can go to bed... | ||
| [2009/12/10 22:02:03] <diranged> i have a module named ssh... in ssh, i have a definition 'key' that that uses 'line' to add/remove ssh keys from authorized_keys files. | ||
| [2009/12/10 22:02:14] <ohadlevy> someone is downloading foreman every 1 minute - usually that would make me happy, but its the same ip again and again :( | ||
| [2009/12/10 22:02:41] <Djelibeybi> ohadlevy: they really, really, really want lots of copies? | ||
| [2009/12/10 22:02:56] * Djelibeybi suspects someone has a broken wget somewhere. What's the user-agent? | ||
| [2009/12/10 22:02:57] <diranged> right now, you do : ssh:key { user: ensure => 'present' } and it reads the key file from a set location, and writes it to that users auth key file... | ||
| [2009/12/10 22:03:29] <diranged> now what i want.. is an *OPTIONAL* keyword that will let me write the same key file to a different users (a shared common user) key file | ||
| [2009/12/10 22:03:44] <ohadlevy> Djelibeybi: i dont save it in the logs - oh well :) | ||
| [2009/12/10 22:05:05] <diranged> but if i call ssh::key { user: ensure => present, destuser => bob} .. but then later call ssh:key { user: ensure => present, destuser => user}, it fails saying its a duplicate call | ||
| [2009/12/10 22:05:12] <diranged> whats the 'clean' way to do this? | ||
| [2009/12/10 22:06:16] <tenare> does anybody here have any experience calling custom functions from templates? | ||
| [2009/12/10 22:08:00] <ohadlevy> tenare: if i remember correctly, you need to add _function to the call | ||
| [2009/12/10 22:08:31] <tenare> where did you read this? i have not seen anything about it on the wiki | ||
| [2009/12/10 22:09:15] <tenare> ohadlevy: so would that be <% _myfunction(foo) %> | ||
| [2009/12/10 22:09:30] <ohadlevy> no, i think myfunction_function(foo) | ||
| [2009/12/10 22:09:56] <ohadlevy> 50% I'm wrong ;) | ||
| [2009/12/10 22:13:08] <proton> diranged: make sure they don't both have the same names... | ||
| [2009/12/10 22:13:58] @ Quit: bevans5446: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 22:14:11] <tenare> ohadlevy: naw, does not look like it works | ||
| [2009/12/10 22:14:12] <tenare> :/ | ||
| [2009/12/10 22:14:17] <tenare> thanks though | ||
| [2009/12/10 22:15:28] <ohadlevy> tenare: give me a minute | ||
| [2009/12/10 22:16:02] <diranged> ok i think in .25.1 im fighting with this errr | ||
| [2009/12/10 22:16:03] <diranged> or | ||
| [2009/12/10 22:16:03] <diranged> Format s not supported for Puppet::Resource::Catalog; | ||
| [2009/12/10 22:16:09] <diranged> some syntax thing thats giving me a headache | ||
| [2009/12/10 22:16:29] <tenare> ohadlevy: sure if you can solve this you will be my hero today, ive been at it a few hours now my brain is getting sleepy. thanks for trying :) | ||
| [2009/12/10 22:16:39] <ohadlevy> tenare: try <%= scope.function_customfunction(.. | ||
| [2009/12/10 22:17:48] <tenare> think ive tried that, ill try again | ||
| [2009/12/10 22:18:52] <tenare> undefined method `function_tenaresfunction | ||
| [2009/12/10 22:19:33] <ohadlevy> tenare: does it work with native puppet functions? | ||
| [2009/12/10 22:20:48] @ Quit: bug: | ||
| [2009/12/10 22:21:13] <tenare> ohadlevy: yes | ||
| [2009/12/10 22:21:22] <tenare> that works | ||
| [2009/12/10 22:21:22] <tenare> <%= scope.lookupvar() %> | ||
| [2009/12/10 22:21:23] @ AranC23 joined channel #puppet | ||
| [2009/12/10 22:21:51] <ohadlevy> so it just means that its not searching in the right context... | ||
| [2009/12/10 22:22:09] <tenare> and my funtions work in the manifest | ||
| [2009/12/10 22:22:22] <tenare> and if i use irb and use the puppet parser flag thing | ||
| [2009/12/10 22:23:11] <tenare> ohadlevy: my stuff is here: /usr/lib/ruby/1.8/puppet/parser/functions | ||
| [2009/12/10 22:23:38] <ohadlevy> i am guessing that the auto load code doesnt work | ||
| [2009/12/10 22:23:44] <ohadlevy> e.g. when you call a function, it tries to search it | ||
| [2009/12/10 22:24:13] <tenare> i did not know about auto load code before you mentioned it | ||
| [2009/12/10 22:24:51] <tenare> is there a way to go around it or to get it working anyway really, i would like to use the data my functions return | ||
| [2009/12/10 22:25:01] <ohadlevy> tenare: two ways: | ||
| [2009/12/10 22:25:06] <ohadlevy> 1. use a var in the manifest | ||
| [2009/12/10 22:25:14] <ohadlevy> 2. find the autoload code and call it in your template | ||
| [2009/12/10 22:25:21] <ohadlevy> 3. would be to create a feature request ;) | ||
| [2009/12/10 22:25:44] <tenare> i will do 3, and i think 1, i have no idea where to look for 2 | ||
| [2009/12/10 22:25:44] <diranged> ok i figured out some of my issues.. i guess some of the syntax changed in 25.1 | ||
| [2009/12/10 22:25:52] <diranged> now just trying to understand whats wrong with this | ||
| [2009/12/10 22:26:04] <tenare> ohadlevy: but how do i call a function from a manifest in a template | ||
| [2009/12/10 22:26:17] <ohadlevy> $myvar = myfunction() | ||
| [2009/12/10 22:26:27] <diranged> http://www.pastie.org/738414 | ||
| [2009/12/10 22:26:31] <diranged> what'd i do wrong in that pastie? | ||
| [2009/12/10 22:26:35] @ Quit: paxos: | ||
| [2009/12/10 22:26:39] <tenare> ohadlevy: yes that is in the manifest, but in the template i mean | ||
| [2009/12/10 22:26:45] <tenare> do i need to use a scope etc | ||
| [2009/12/10 22:27:08] <ohadlevy> ah sorry | ||
| [2009/12/10 22:27:45] <ohadlevy> well, it should be scope.function_split (assuming that split is a built in puppet function) | ||
| [2009/12/10 22:27:58] <ohadlevy> another real hack solution would be to put your function where the native puppet functions are | ||
| [2009/12/10 22:28:00] <ohadlevy> but... | ||
| [2009/12/10 22:28:15] <tenare> ...hmm thats a idea | ||
| [2009/12/10 22:28:38] <tenare> but i am satisfied with anything working today its 4:30 here :/ | ||
| [2009/12/10 22:29:23] <tenare> so i will try that variable thing you mentioned (1), can i call that variable in the template just $myvar | ||
| [2009/12/10 22:29:47] <ohadlevy> yeah (without the $) | ||
| [2009/12/10 22:31:10] <tenare> ok i will try it out thanks | ||
| [2009/12/10 22:33:58] <tenare> ohadlevy: hmm it only says the function name, it does not display the values returne | ||
| [2009/12/10 22:34:41] <ohadlevy> tenare: pastie | ||
| [2009/12/10 22:37:59] <tenare> http://pastebin.com/m7dbc8aa4 | ||
| [2009/12/10 22:38:06] <tenare> ohadlevy: there you go | ||
| [2009/12/10 22:38:28] @ wbruce joined channel #puppet | ||
| [2009/12/10 22:39:14] <ohadlevy> tenare: you need to create a function first | ||
| [2009/12/10 22:39:58] <ohadlevy> http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions | ||
| [2009/12/10 22:40:35] @ Quit: brothers: | ||
| [2009/12/10 22:41:34] <tenare> i dont have my custom function here, so i replaced it with that puts hello thing, would that not work just as a test? | ||
| [2009/12/10 22:42:49] <ohadlevy> no | ||
| [2009/12/10 22:43:51] <tenare> it just returns a array | ||
| [2009/12/10 22:44:59] @ Quit: diranged: "This computer has gone to sleep" | ||
| [2009/12/10 22:53:22] <hacim> ohadlevy: aha, thats why I couldn't find it | ||
| [2009/12/10 22:56:36] <hacim> ohadlevy: hm... i'm only finding: extras/puppet/foreman/manifests/passenger.pp | ||
| [2009/12/10 22:56:46] <hacim> which just has very little | ||
| [2009/12/10 22:56:50] <ohadlevy> hacim: what exactly are you looking for - the apache part? | ||
| [2009/12/10 22:57:06] @ Quit: cwebber: | ||
| [2009/12/10 22:57:19] <hacim> ohadlevy: i'm not sure now. i thought that I was looking for a passenger module that you were using for bootstrapping foreman | ||
| [2009/12/10 22:57:28] <ohadlevy> yep | ||
| [2009/12/10 22:57:29] <ohadlevy> thats it | ||
| [2009/12/10 22:58:01] <ohadlevy> it uses http://github.com/ohadlevy/puppet-apache2 | ||
| [2009/12/10 22:58:07] <hacim> ah, ok | ||
| [2009/12/10 22:58:12] <hacim> that was the piece! the include apache2::passenger | ||
| [2009/12/10 22:58:18] <hacim> got it now | ||
| [2009/12/10 22:58:19] <hacim> :) | ||
| [2009/12/10 22:58:21] <ohadlevy> but thats a RH style | ||
| [2009/12/10 22:58:26] <ohadlevy> the apache module I mean | ||
| [2009/12/10 22:58:49] <ohadlevy> but if you have passenger working already, than the foreman module should be enough | ||
| [2009/12/10 22:59:26] @ cwebber joined channel #puppet | ||
| [2009/12/10 23:00:55] @ Quit: lutter: "Leaving." | ||
| [2009/12/10 23:02:55] @ bearnard joined channel #puppet | ||
| [2009/12/10 23:09:27] <tenare> can i run puppet as another user? | ||
| [2009/12/10 23:10:26] @ Quit: tenare: "Page closed" | ||
| [2009/12/10 23:11:21] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2009/12/10 23:13:47] <nevyn> other than puppet? | ||
| [2009/12/10 23:15:59] <Djelibeybi> nevyn: he's already gone. | ||
| [2009/12/10 23:16:13] <Djelibeybi> nevyn: and puppet runs as root (how else is it going to manage things like mounts?) | ||
| [2009/12/10 23:40:27] @ bevans5446 joined channel #puppet | ||
| [2009/12/10 23:42:05] @ jcape joined channel #puppet | ||
| [2009/12/10 23:44:26] @ Quit: bevans5446: Read error: 104 (Connection reset by peer) | ||
| [2009/12/10 23:54:41] @ Quit: AranC23: "Leaving." |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!