| [2010/01/11 00:00:14] @ Log started by gepetto | ||
| [2010/01/11 00:00:14] @ mqr__ joined channel #puppet | ||
| [2010/01/11 00:01:24] @ Quit: mqr: Read error: 110 (Connection timed out) | ||
| [2010/01/11 00:02:30] @ mqr joined channel #puppet | ||
| [2010/01/11 00:03:09] @ Djelibeybi joined channel #puppet | ||
| [2010/01/11 00:05:59] @ Quit: mqr_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 00:09:50] @ Quit: bjaspan: | ||
| [2010/01/11 00:14:00] @ Quit: scylla: "Connection timed out" | ||
| [2010/01/11 00:14:57] @ Djeli joined channel #puppet | ||
| [2010/01/11 00:15:16] @ markl_ joined channel #puppet | ||
| [2010/01/11 00:15:28] <ohadlevy> jb:ping | ||
| [2010/01/11 00:21:50] @ Quit: mqr__: Read error: 110 (Connection timed out) | ||
| [2010/01/11 00:24:49] @ Quit: Djelibeybi: Read error: 110 (Connection timed out) | ||
| [2010/01/11 00:31:21] @ Quit: elijahwright: Read error: 60 (Operation timed out) | ||
| [2010/01/11 00:32:04] @ lak joined channel #puppet | ||
| [2010/01/11 00:50:15] @ Quit: Djeli: "Leaving" | ||
| [2010/01/11 00:57:43] @ chobbs joined channel #puppet | ||
| [2010/01/11 00:58:31] * chobbs is prepping to give two of his sysadmins an intro to puppet tomorrow. I can't believe how amazing this is. | ||
| [2010/01/11 01:05:38] @ chandrakanth joined channel #puppet | ||
| [2010/01/11 01:06:28] <chandrakanth> HI Everybody, i have one question regarding the puppet packages supported for ESX3.5 and ESX 4 | ||
| [2010/01/11 01:08:19] @ Quit: tyll: Read error: 60 (Operation timed out) | ||
| [2010/01/11 01:11:36] <ohadlevy> chobbs: there are a few presentations around if you need them | ||
| [2010/01/11 01:12:16] <chobbs> ohadlevy, Thanks, we're actually hands on already building out some new ubuntu servers - fly the airplane as we build it, so to speak :) | ||
| [2010/01/11 01:12:54] <ohadlevy> chobbs: how do you build your initial os? | ||
| [2010/01/11 01:13:39] <chobbs> base install from CD with nothing but openssh on it. added puppetmaster and puppet to one, subversion and puppet to the other, and havea basic config working now. | ||
| [2010/01/11 01:14:09] <chobbs> Tomorrow we'll be adding our first module built by us, for ntp. As a learning exercise. | ||
| [2010/01/11 01:14:09] <ohadlevy> CD? ;) | ||
| [2010/01/11 01:14:18] <ohadlevy> whats thata | ||
| [2010/01/11 01:14:41] <chobbs> OK, to be honest an iso in our VMWare stack :-P | ||
| [2010/01/11 01:15:08] <chandrakanth> Can some one throw a light on the puppet packages supported for ESX3.5 and ESX 4, is this realy supported or if some version of redhat packages are being compactable | ||
| [2010/01/11 01:15:33] <ohadlevy> isnt ESX is a simple rpm based packages? | ||
| [2010/01/11 01:16:11] <ohadlevy> chobbs: might worth investing some time in pxe if you have a few servers | ||
| [2010/01/11 01:17:04] <chobbs> ohadlevy, I know, but one step at a time :) My goal, over the next 18-24 months, is to completely replace our backend with linux. | ||
| [2010/01/11 01:17:11] <chandrakanth> yes ESX is a rpm based packages, normally its the rdhat packages that are condidered | ||
| [2010/01/11 01:17:41] <ohadlevy> chobbs: you might check theforeman.org - hopefully it can save you some time | ||
| [2010/01/11 01:17:54] <chobbs> ohadlevy, will do, thanks! | ||
| [2010/01/11 01:18:48] <chandrakanth> have anyone tried installing puppet on ESX, currenty i have taken the RPMS of the redhat 4 and trying to install but am facing the depenceny issue | ||
| [2010/01/11 01:18:49] <ohadlevy> chandrakanth: are you asking about packages in general or about the puppet packages? | ||
| [2010/01/11 01:19:10] @ mqr_ joined channel #puppet | ||
| [2010/01/11 01:19:15] <chandrakanth> i am asking abt puppet packages for ESX server support | ||
| [2010/01/11 01:19:27] <ohadlevy> which version of ruby do you have on it? | ||
| [2010/01/11 01:19:57] @ nakano is now known as nakano_ | ||
| [2010/01/11 01:21:01] <chandrakanth> there is no version of ruby installed, i am trying to install the ruby-1.8.1-7.el4_8.3.i336.rpm | ||
| [2010/01/11 01:21:19] @ mqr__ joined channel #puppet | ||
| [2010/01/11 01:21:25] <ohadlevy> I guess thats too new | ||
| [2010/01/11 01:21:40] <ohadlevy> do you know which OS ESX is build on? | ||
| [2010/01/11 01:21:42] @ Quit: mqr: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:21:44] @ mqr joined channel #puppet | ||
| [2010/01/11 01:22:22] @ Quit: lak: | ||
| [2010/01/11 01:22:33] <chandrakanth> ESX is build from Redhat | ||
| [2010/01/11 01:22:41] @ tyll joined channel #puppet | ||
| [2010/01/11 01:22:43] <ohadlevy> yeah, which version? | ||
| [2010/01/11 01:23:26] @ mqr___ joined channel #puppet | ||
| [2010/01/11 01:23:40] @ Quit: mqr: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:23:52] <ohadlevy> 3.5 is based on RHE3.. | ||
| [2010/01/11 01:24:09] @ mqr joined channel #puppet | ||
| [2010/01/11 01:24:10] <chandrakanth> Its REdhat 3 | ||
| [2010/01/11 01:24:12] <ohadlevy> which has ruby 1.6 something, | ||
| [2010/01/11 01:24:18] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.") | ||
| [2010/01/11 01:24:28] <ohadlevy> I've created puppet rpms for RH3 | ||
| [2010/01/11 01:24:54] <ohadlevy> with my own version of ruby which goes to /usr/local | ||
| [2010/01/11 01:25:14] @ Quit: jusfreeman: Remote closed the connection | ||
| [2010/01/11 01:25:34] @ mqr____ joined channel #puppet | ||
| [2010/01/11 01:26:14] @ mqr_____ joined channel #puppet | ||
| [2010/01/11 01:26:42] @ Quit: mqr_____: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:27:03] @ Quit: mqr_: Read error: 60 (Operation timed out) | ||
| [2010/01/11 01:27:18] @ mqr_ joined channel #puppet | ||
| [2010/01/11 01:27:22] <chandrakanth> can u provide me the download path of the created puppet rpms for RH3 | ||
| [2010/01/11 01:27:35] @ Quit: mqr: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:27:50] @ jfreeman joined channel #puppet | ||
| [2010/01/11 01:28:06] <ohadlevy> chandrakanth: i think its puppet 0.24-4 - is that too old for you? | ||
| [2010/01/11 01:28:14] @ mqr joined channel #puppet | ||
| [2010/01/11 01:28:23] @ Quit: mqr__: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:28:23] <ohadlevy> I guess i need to repackage the new version sometime soon :) | ||
| [2010/01/11 01:28:57] <chandrakanth> puppet 0.24.8-4 should be fine | ||
| [2010/01/11 01:29:02] <ohadlevy> its 24-4 | ||
| [2010/01/11 01:29:29] <ohadlevy> not that much of a difference on the client side | ||
| [2010/01/11 01:31:01] <chandrakanth> please provide me the path i would verify on my ESX Serever and will update you | ||
| [2010/01/11 01:31:09] <ohadlevy> 64bit right? | ||
| [2010/01/11 01:31:15] <chandrakanth> no 32 bit | ||
| [2010/01/11 01:31:27] <ohadlevy> ok, one minute | ||
| [2010/01/11 01:32:05] <ohadlevy> hmm.. while we were talking I think I've made 0.24-8 packages ;) | ||
| [2010/01/11 01:32:15] <chandrakanth> oh thats great | ||
| [2010/01/11 01:32:15] <ohadlevy> I'll let you try the 24-4 because I know they work | ||
| [2010/01/11 01:33:14] <chandrakanth> hmm provide me both versions let me verify | ||
| [2010/01/11 01:34:22] <ohadlevy> 0.24-8 need augeas and stuff | ||
| [2010/01/11 01:34:26] @ Quit: mqr____: Read error: 60 (Operation timed out) | ||
| [2010/01/11 01:35:16] <chandrakanth> yes 24-8 it requires augeas | ||
| [2010/01/11 01:36:04] @ mqr__ joined channel #puppet | ||
| [2010/01/11 01:38:12] @ Quit: mqr_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 01:40:33] <chandrakanth> but there is one issue feature missing with puppet version less than 24-8, it doesnt support the option of deatiled-exitcodes | ||
| [2010/01/11 01:40:51] <ohadlevy> do you use it with a puppetmaster or without? | ||
| [2010/01/11 01:41:08] <chandrakanth> its a standalone | ||
| [2010/01/11 01:41:25] <ohadlevy> ok, so i think i got 0.24-8 with augeas | ||
| [2010/01/11 01:41:38] <chandrakanth> yes u r right | ||
| [2010/01/11 01:41:45] <ohadlevy> about what? | ||
| [2010/01/11 01:42:07] <chandrakanth> sorry was atypo mistake | ||
| [2010/01/11 01:43:04] <ohadlevy> chandrakanth: just uploading the 0.24-8 packages ;) will send you a link in private | ||
| [2010/01/11 01:43:41] <chandrakanth> ok thank you for your support | ||
| [2010/01/11 01:44:02] @ Quit: jfreeman: Remote closed the connection | ||
| [2010/01/11 01:44:02] @ Quit: mqr___: Read error: 110 (Connection timed out) | ||
| [2010/01/11 01:44:53] @ Quit: kolla: Remote closed the connection | ||
| [2010/01/11 01:48:48] @ Quit: mqr: Read error: 110 (Connection timed out) | ||
| [2010/01/11 01:53:40] @ Quit: poison: Remote closed the connection | ||
| [2010/01/11 01:59:20] <ohadlevy> chandrakanth: let me know if it works or not | ||
| [2010/01/11 02:02:21] @ Quit: mqr__: Read error: 110 (Connection timed out) | ||
| [2010/01/11 02:02:37] <chandrakanth> Can you please provide me the private link | ||
| [2010/01/11 02:03:09] <ohadlevy> chandrakanth: i did :) | ||
| [2010/01/11 02:03:55] <chandrakanth> i was in a different terminal thanks for that | ||
| [2010/01/11 02:07:33] <chobbs> woot, working ntp module as well as a managed administrative user - not bad for an hour and a half of groping around in the dark :) | ||
| [2010/01/11 02:11:52] @ Quit: chobbs: "Leaving" | ||
| [2010/01/11 02:18:01] @ pacalm joined channel #puppet | ||
| [2010/01/11 02:19:16] @ hy is now known as _silver | ||
| [2010/01/11 02:22:19] @ suchu joined channel #puppet | ||
| [2010/01/11 02:24:46] @ _silver is now known as hy | ||
| [2010/01/11 02:35:28] <ohadlevy> chandrakanth: works? | ||
| [2010/01/11 02:35:46] @ mqr joined channel #puppet | ||
| [2010/01/11 02:40:17] @ giskard joined channel #puppet | ||
| [2010/01/11 02:40:28] @ Djelibeybi joined channel #puppet | ||
| [2010/01/11 02:45:45] @ alban2 joined channel #puppet | ||
| [2010/01/11 02:45:47] @ alban21 joined channel #puppet | ||
| [2010/01/11 02:46:21] @ Quit: alban21: Client Quit | ||
| [2010/01/11 02:47:37] @ poison joined channel #puppet | ||
| [2010/01/11 02:49:30] @ kolla joined channel #puppet | ||
| [2010/01/11 02:53:09] @ PsychoSid joined channel #puppet | ||
| [2010/01/11 02:59:09] @ skiold joined channel #puppet | ||
| [2010/01/11 03:01:36] @ mvn071 joined channel #puppet | ||
| [2010/01/11 03:03:25] @ friendly12345 joined channel #puppet | ||
| [2010/01/11 03:07:36] @ fdz joined channel #puppet | ||
| [2010/01/11 03:08:51] @ nasrat joined channel #puppet | ||
| [2010/01/11 03:08:52] @ Quit: bpgoldsb: Read error: 60 (Operation timed out) | ||
| [2010/01/11 03:10:37] @ Quit: itguru: Read error: 60 (Operation timed out) | ||
| [2010/01/11 03:14:47] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/11 03:15:01] @ giskard joined channel #puppet | ||
| [2010/01/11 03:16:10] @ Quit: Djelibeybi: "Leaving" | ||
| [2010/01/11 03:18:54] @ mfladischer joined channel #puppet | ||
| [2010/01/11 03:20:56] @ Quit: giskard: Read error: 60 (Operation timed out) | ||
| [2010/01/11 03:21:16] @ Ramonster joined channel #puppet | ||
| [2010/01/11 03:29:48] @ Quit: nasrat: | ||
| [2010/01/11 03:33:45] @ zipkid joined channel #puppet | ||
| [2010/01/11 03:39:12] @ pugnacity joined channel #puppet | ||
| [2010/01/11 03:40:20] @ Quit: friendly12345: "Leaving." | ||
| [2010/01/11 03:43:59] @ giskard joined channel #puppet | ||
| [2010/01/11 04:06:13] @ erlingre joined channel #puppet | ||
| [2010/01/11 04:06:28] @ jab_doa joined channel #puppet | ||
| [2010/01/11 04:08:37] @ Quit: espent: Remote closed the connection | ||
| [2010/01/11 04:10:09] @ Robbie_ joined channel #puppet | ||
| [2010/01/11 04:12:06] @ MattyM joined channel #puppet | ||
| [2010/01/11 04:13:42] @ tim|macbook joined channel #puppet | ||
| [2010/01/11 04:22:21] @ Quit: robinbowes: "Leaving" | ||
| [2010/01/11 04:26:32] @ Quit: alban2: "Leaving." | ||
| [2010/01/11 04:26:41] @ M- joined channel #puppet | ||
| [2010/01/11 04:27:11] @ robinbowes joined channel #puppet | ||
| [2010/01/11 04:28:27] @ robinbowes_ joined channel #puppet | ||
| [2010/01/11 04:29:18] @ Quit: robinbowes_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 04:29:44] @ fluxdude joined channel #puppet | ||
| [2010/01/11 04:34:24] @ alban2 joined channel #puppet | ||
| [2010/01/11 04:38:25] @ cynicismic joined channel #puppet | ||
| [2010/01/11 04:44:10] @ itguru joined channel #puppet | ||
| [2010/01/11 04:46:34] @ danielbln joined channel #puppet | ||
| [2010/01/11 04:48:26] @ verwilst joined channel #puppet | ||
| [2010/01/11 04:50:04] @ Quit: itguru: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 04:53:10] @ artista_frustrad joined channel #puppet | ||
| [2010/01/11 04:55:54] @ vzctl__ joined channel #puppet | ||
| [2010/01/11 04:57:58] @ gebi joined channel #puppet | ||
| [2010/01/11 05:00:00] @ Quit: vzctl_: Read error: 110 (Connection timed out) | ||
| [2010/01/11 05:02:49] @ Quit: soot: Remote closed the connection | ||
| [2010/01/11 05:11:15] @ shug joined channel #puppet | ||
| [2010/01/11 05:24:46] @ Quit: andreid20: Read error: 113 (No route to host) | ||
| [2010/01/11 05:25:38] @ cedric_b joined channel #puppet | ||
| [2010/01/11 05:26:46] @ Quit: cedric_b: Read error: 54 (Connection reset by peer) | ||
| [2010/01/11 05:27:22] @ Quit: mfladischer: Client Quit | ||
| [2010/01/11 05:43:10] @ LinuxCode joined channel #puppet | ||
| [2010/01/11 06:02:15] @ Quit: Juzzy: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 06:02:33] @ Juzzy joined channel #puppet | ||
| [2010/01/11 06:25:42] @ mikepea joined channel #puppet | ||
| [2010/01/11 06:28:30] @ Quit: chandrakanth: "Page closed" | ||
| [2010/01/11 06:33:52] @ Quit: Robbie_: Remote closed the connection | ||
| [2010/01/11 06:36:40] @ lex joined channel #puppet | ||
| [2010/01/11 06:37:23] @ lilmatt joined channel #puppet | ||
| [2010/01/11 06:37:54] @ nasrat joined channel #puppet | ||
| [2010/01/11 06:40:52] @ Quit: vzctl__: Read error: 110 (Connection timed out) | ||
| [2010/01/11 06:42:52] @ raphink joined channel #puppet | ||
| [2010/01/11 06:44:15] @ Robbie_ joined channel #puppet | ||
| [2010/01/11 06:47:12] @ Quit: xerxas: "Leaving." | ||
| [2010/01/11 06:48:30] @ Quit: M-: "Leaving" | ||
| [2010/01/11 06:50:15] @ crdant joined channel #puppet | ||
| [2010/01/11 06:50:27] @ Quit: erm__: Read error: 60 (Operation timed out) | ||
| [2010/01/11 06:54:13] @ Quit: maxagaz: "Ex-Chat" | ||
| [2010/01/11 07:08:02] @ itguru joined channel #puppet | ||
| [2010/01/11 07:08:34] <itguru> Can I use a desktop machine as a puppet server? | ||
| [2010/01/11 07:09:01] <ohadlevy> itguru: yes if its connected to the power socket ;) | ||
| [2010/01/11 07:09:51] @ xerxas joined channel #puppet | ||
| [2010/01/11 07:12:21] <danielbln> network would be handy too | ||
| [2010/01/11 07:12:42] <LinuxCode> dns resolution will have to work | ||
| [2010/01/11 07:12:48] <LinuxCode> for that machine | ||
| [2010/01/11 07:13:08] <LinuxCode> might get ca cert issues otherwise | ||
| [2010/01/11 07:14:44] @ Quit: poison: "Leaving..." | ||
| [2010/01/11 07:14:56] <itguru> ohadlevy - funny! | ||
| [2010/01/11 07:15:35] * LinuxCode misses what was funny about that | ||
| [2010/01/11 07:15:54] <LinuxCode> pretty good answer, afai am concerned hehe | ||
| [2010/01/11 07:16:09] <LinuxCode> itguru, you can run the puppetmaster on the same machine as the puppetd too | ||
| [2010/01/11 07:16:10] <itguru> I was under the impression that the clients for some reason use DNS lookups to locate the master, which would mean that either the puppet master should be on the same network segment as the systems it manages, ie, all on the net, all on the LAN | ||
| [2010/01/11 07:16:14] <ohadlevy> danielbln: you can do ethernet over power ;) | ||
| [2010/01/11 07:16:25] <itguru> Linuxcode -- I'll be attempting to manage about 12 servers | ||
| [2010/01/11 07:16:26] <danielbln> ohadlevy: it'd still be network | ||
| [2010/01/11 07:16:29] <LinuxCode> itguru, correct | ||
| [2010/01/11 07:16:40] <Volcane> itguru: luckily DNS spans network boundaries | ||
| [2010/01/11 07:16:42] <ohadlevy> danielbln: i didnt say connect the powersupply did I? ;) | ||
| [2010/01/11 07:16:50] <danielbln> -.- | ||
| [2010/01/11 07:16:51] <LinuxCode> itguru, works for me | ||
| [2010/01/11 07:17:02] <LinuxCode> I have a machine behind a nat box | ||
| [2010/01/11 07:17:10] <LinuxCode> doing some puppet stuff | ||
| [2010/01/11 07:17:18] <ohadlevy> itguru: i think you have some misconceptions about desktop machines :) | ||
| [2010/01/11 07:17:26] <LinuxCode> Volcane, I have a puzzle for you mate | ||
| [2010/01/11 07:17:31] <LinuxCode> if you are up for it | ||
| [2010/01/11 07:17:37] <LinuxCode> well, not quite a puzzle | ||
| [2010/01/11 07:17:40] <jamesturnbull> anyone remember who to fix OSX doing "integer 4294967294 too big to convert to `int'"? | ||
| [2010/01/11 07:17:46] <LinuxCode> James! | ||
| [2010/01/11 07:17:48] <LinuxCode> awesome | ||
| [2010/01/11 07:17:51] <LinuxCode> everyone is here | ||
| [2010/01/11 07:17:53] <itguru> LinuxCode -- Okay, so I'll have to setup port forwarding, and setup my DNS, so that my internal system always gets the same IP address from DHCP | ||
| [2010/01/11 07:17:55] <Volcane> LinuxCode: between things but go on, might have time | ||
| [2010/01/11 07:18:12] <LinuxCode> ok, I want to use two includes of class::sub | ||
| [2010/01/11 07:18:23] <LinuxCode> and if includes are used, do stuff in the template | ||
| [2010/01/11 07:18:25] <ohadlevy> ah a puppet puzzle | ||
| [2010/01/11 07:18:38] <LinuxCode> however, tags and classes etc.. will only give me class | ||
| [2010/01/11 07:18:41] <itguru> ohadlevy -- No I do not, desktop machine to me, is a system that is at teh mercy of another for it's network configuration - ie, dhcp | ||
| [2010/01/11 07:18:42] <LinuxCode> not class:sub | ||
| [2010/01/11 07:18:47] <LinuxCode> calss::sub | ||
| [2010/01/11 07:18:50] <LinuxCode> bah | ||
| [2010/01/11 07:18:52] <LinuxCode> you get the idea | ||
| [2010/01/11 07:19:00] <LinuxCode> any ideas how I can work around that ? | ||
| [2010/01/11 07:19:05] <Volcane> LinuxCode: what you mean 'tags and classes etc..will only give me class'? | ||
| [2010/01/11 07:19:26] <LinuxCode> Volcane, in the template docs | ||
| [2010/01/11 07:19:27] <ohadlevy> LinuxCode: you want to get the names of the classes + the modulename? | ||
| [2010/01/11 07:19:35] <LinuxCode> you can go through all classes and tags | ||
| [2010/01/11 07:19:38] <itguru> servers on the other hand, have to be explicitly configured, and tend to take a static place on the network it's connected to, so, server | ||
| [2010/01/11 07:19:47] <Volcane> LinuxCode: its order dependant | ||
| [2010/01/11 07:19:55] <itguru> :) | ||
| [2010/01/11 07:19:58] <Volcane> LinuxCode: so u need to include before you evaluate that template | ||
| [2010/01/11 07:20:02] <LinuxCode> I have some classes called class and then class::sub | ||
| [2010/01/11 07:20:12] <jamesturnbull> gepetto: seen nigelk | ||
| [2010/01/11 07:20:13] <gepetto> jamesturnbull: nigelk was last seen 5 days, 5 hours, 45 minutes and 48 seconds ago, quitting IRC (Client Quit) | ||
| [2010/01/11 07:20:30] <LinuxCode> Volcane, I know, but it will only give me class | ||
| [2010/01/11 07:20:42] <Volcane> LinuxCode: I'd just do if defined(Class["some::class"]) { $foo = true } else { $foo = false } in the manifest and use that var in the templates | ||
| [2010/01/11 07:20:43] <LinuxCode> if I loop through everything | ||
| [2010/01/11 07:21:00] <LinuxCode> Volcane, but if I load a module, they will be defined | ||
| [2010/01/11 07:21:02] <LinuxCode> or not ? | ||
| [2010/01/11 07:21:12] <Volcane> if u include some::class before that point it will be true | ||
| [2010/01/11 07:21:13] @ poison joined channel #puppet | ||
| [2010/01/11 07:21:37] <LinuxCode> I am sure I tried that and it didnt work | ||
| [2010/01/11 07:22:05] @ Quit: crdant: "Leaving." | ||
| [2010/01/11 07:22:28] <ohadlevy> LinuxCode: life is so much simpler with external nodes.... | ||
| [2010/01/11 07:22:33] <Volcane> LinuxCode: http://pastie.org/773451 works for me | ||
| [2010/01/11 07:22:35] <LinuxCode> ohadlevy, meh | ||
| [2010/01/11 07:22:58] <ohadlevy> LinuxCode: but I'm not really sure what you are trying to do so YMMV ;) | ||
| [2010/01/11 07:23:13] <Volcane> yeah without code samples, who knows if we're understandig LinuxCode correct | ||
| [2010/01/11 07:23:14] @ mgisbers_away is now known as mgisbers | ||
| [2010/01/11 07:23:22] <Volcane> people thik english is easier to parse than code, its not :P | ||
| [2010/01/11 07:23:29] <LinuxCode> Volcane, let me digest this for a short while | ||
| [2010/01/11 07:23:47] <LinuxCode> Volcane, thats in a module right ? | ||
| [2010/01/11 07:24:05] <Volcane> its checking for bind::master | ||
| [2010/01/11 07:24:28] <LinuxCode> yes, but all the classes etc. are in a module ? | ||
| [2010/01/11 07:24:45] <Volcane> yes - doesnt make a difference | ||
| [2010/01/11 07:24:50] <LinuxCode> k | ||
| [2010/01/11 07:25:19] <LinuxCode> cheers | ||
| [2010/01/11 07:25:34] * LinuxCode goes and does some trying out | ||
| [2010/01/11 07:25:37] <LinuxCode> ;-} | ||
| [2010/01/11 07:28:22] @ Quit: lilmatt: Client Quit | ||
| [2010/01/11 07:32:24] <ohadlevy> telmo:ping | ||
| [2010/01/11 07:37:14] <ohadlevy> I have a survey question - I'm redoing some of foreman web front part and i want to ask - which info is most interesting for you guys to know about a puppet host? | ||
| [2010/01/11 07:40:17] @ erm_ joined channel #puppet | ||
| [2010/01/11 07:42:01] @ Quit: shug: "Leaving" | ||
| [2010/01/11 07:50:53] @ bjaspan joined channel #puppet | ||
| [2010/01/11 07:51:30] @ Quit: fdz: "Leaving." | ||
| [2010/01/11 07:53:49] @ Quit: bjaspan: Client Quit | ||
| [2010/01/11 08:05:50] <z00dax> ohadlevy: list of hosts, along with time of last puppet run ( or age in hours ) along with number of manifest / config bits that didnt apply clean | ||
| [2010/01/11 08:05:50] @ lilmatt joined channel #puppet | ||
| [2010/01/11 08:16:49] <ashp> ohadlevy: Give me a shout when you're around (re reports) | ||
| [2010/01/11 08:17:19] @ zombied_ joined channel #puppet | ||
| [2010/01/11 08:17:32] <zombied_> How can I force puppet to generate a new crontab? | ||
| [2010/01/11 08:18:08] <Volcane> remove the old one? | ||
| [2010/01/11 08:18:10] <zombied_> I keep restarting puppet and puppetmaster | ||
| [2010/01/11 08:18:43] <zombied_> volc: I didn't have to do that to generate the last one. All I did was add #/etc/puppet/manifests/classes/crontab.pp to the top of the crontab.pp file and it did it | ||
| [2010/01/11 08:19:36] <Volcane> no idea hwat u mean, you need to give more details | ||
| [2010/01/11 08:19:48] <Volcane> there's no default crontab that gets created, it only does what you tell it to do | ||
| [2010/01/11 08:20:00] <Volcane> if u have a block crontab{} somewhere, it will make it tin the users crontab file | ||
| [2010/01/11 08:20:11] <Volcane> if its there already, it wont remake it usually | ||
| [2010/01/11 08:25:46] @ fdz joined channel #puppet | ||
| [2010/01/11 08:25:57] @ Quit: erlingre: Remote closed the connection | ||
| [2010/01/11 08:27:31] @ lero joined channel #puppet | ||
| [2010/01/11 08:28:38] <fluxdude> how do you puppetize the deployment of repos like epel? | ||
| [2010/01/11 08:28:56] <Volcane> install the package | ||
| [2010/01/11 08:28:59] <Volcane> or use yumrepo | ||
| [2010/01/11 08:29:02] <fluxdude> do you copy over repo config files to /etc/yum.repos.d/ or do you use some more nagios puppet construct? | ||
| [2010/01/11 08:29:21] <Volcane> those repos usually come ith a simple rpm to install | ||
| [2010/01/11 08:29:24] <zombied_> flux: you mean make sure all puppet clients use the same repos? | ||
| [2010/01/11 08:29:25] <fluxdude> the package is probably slightly better in a sense that it contains the gpg key as well | ||
| [2010/01/11 08:29:32] <fluxdude> yes | ||
| [2010/01/11 08:29:39] <fluxdude> Volcane: yeah it does | ||
| [2010/01/11 08:29:47] <fluxdude> my new build system does include it by default | ||
| [2010/01/11 08:30:02] <fluxdude> but I still want to puppetize it so I can have older builds just get it | ||
| [2010/01/11 08:30:02] <Volcane> fluxdude: you can do what the package does in puppet too though, make a class yum::epel, copy out the keys, create the repo with yumrepo | ||
| [2010/01/11 08:30:28] <Volcane> not that i think having off-site repos like epel enabled is in any way a good thing | ||
| [2010/01/11 08:30:29] <fluxdude> that's the other thing I was thinking of doing, placing the repo and the gpg files in the right places | ||
| [2010/01/11 08:30:38] <fluxdude> Volcane: why? | ||
| [2010/01/11 08:30:52] <Volcane> unintended consequences | ||
| [2010/01/11 08:30:52] <fluxdude> you mean you should mirror the repo or not use it as it's not trusted enough? | ||
| [2010/01/11 08:31:01] <Volcane> repo down, you cant build machines cos you depend on them | ||
| [2010/01/11 08:31:14] <ashp> I just use yumrepo and then turned off the gpg key, I am a terrible sysadmin :) | ||
| [2010/01/11 08:31:15] <fluxdude> yeah but we do need to use stuff that is available in epel, like puppet | ||
| [2010/01/11 08:31:20] <Volcane> look how often say centos miror dns goes titsup and then world and dog sits twidling their thumbs | ||
| [2010/01/11 08:31:25] <Volcane> granted less these days | ||
| [2010/01/11 08:31:33] <Volcane> but i used to use jpackage fro example | ||
| [2010/01/11 08:31:33] <ashp> fluxdude: I use cobbler to build and have it grab EPEL packages live | ||
| [2010/01/11 08:31:34] <fluxdude> ashp: lol | ||
| [2010/01/11 08:31:41] <Volcane> and jpackage just went down for weeks at some point | ||
| [2010/01/11 08:31:47] <Volcane> couldnt deploy any new java app servers | ||
| [2010/01/11 08:31:49] <Volcane> major suckage | ||
| [2010/01/11 08:32:05] <fluxdude> ashp: me too | ||
| [2010/01/11 08:32:06] <Volcane> fluxdude: make a local repo and use yumdownloader to fetc what u need | ||
| [2010/01/11 08:32:18] <zombied_> vol: I figured it out | ||
| [2010/01/11 08:32:27] <fluxdude> why just in case the epel repo isn't available? | ||
| [2010/01/11 08:32:29] <ashp> I used yumdownloader at first but it's really outdated in RHEL 5 and cobbler had issues with it | ||
| [2010/01/11 08:32:35] <Volcane> fluxdude: then u can also control what comes down when - and also if epel doesnt have what you need? what then? enable rpmforge and hope the two dont break each other? | ||
| [2010/01/11 08:32:45] <zombied_> I made a change to the local crontab but not the crontab.pp file, so it never saw a diff to deply | ||
| [2010/01/11 08:33:06] <fluxdude> Volcane: yeah I know what you mean, just pull the rpms in to your own repo, eh? | ||
| [2010/01/11 08:33:11] <Volcane> yup | ||
| [2010/01/11 08:33:24] <ashp> plus if you manually control your own repo you can use latest => and not break everything like my accident move to 0.25 :) | ||
| [2010/01/11 08:33:28] <Volcane> just fetch the individual ones and their debs, review what they do and include if i am ok | ||
| [2010/01/11 08:33:31] <fluxdude> do you enable gpg on your own repo or disable it | ||
| [2010/01/11 08:33:32] <fluxdude> ? | ||
| [2010/01/11 08:33:37] @ erm__ joined channel #puppet | ||
| [2010/01/11 08:33:43] <fluxdude> last time I did my own repo, I just disabled gpg check | ||
| [2010/01/11 08:33:46] <Volcane> i dont have it enabled | ||
| [2010/01/11 08:33:49] <fluxdude> too much grief | ||
| [2010/01/11 08:33:50] <ashp> hmm volcane, could I use mcollective to easily run 'yum update puppet' on all boxes? :) | ||
| [2010/01/11 08:33:59] <Volcane> ashp: i do that | ||
| [2010/01/11 08:34:10] <ashp> I need an alternative to allowing latest to exist in my .pp's | ||
| [2010/01/11 08:34:16] @ Quit: zombied_: "Page closed" | ||
| [2010/01/11 08:34:28] <Volcane> ashp: there's a package agent that uses the puppet provider so its cross platform | ||
| [2010/01/11 08:34:39] <ashp> I have a bunch of projects coming up where I need to be able to run random commands across all boxes, like 'rm -rf /opt/splunk' and so forth while upgrading | ||
| [2010/01/11 08:34:54] <ashp> I had planned to do mcollective today but I'm home sick again :( | ||
| [2010/01/11 08:35:28] <ohadlevy> z00dax: I think thats already included in foreman :) | ||
| [2010/01/11 08:35:28] <Volcane> well i dont hve something to run specific random commands that you supply from the client - wold be trivial to write but thats just looking for trouble | ||
| [2010/01/11 08:35:30] @ illsci joined channel #puppet | ||
| [2010/01/11 08:35:41] <ohadlevy> ashp: SHOUT | ||
| [2010/01/11 08:35:52] <ashp> MY EARS AAAA | ||
| [2010/01/11 08:36:11] <ashp> ohadlevy: What I was thinking with the reports is a way to make meta reports for my boss of what's been changing in the last X days. | ||
| [2010/01/11 08:36:14] <z00dax> ohadlevy: are you not sure :) | ||
| [2010/01/11 08:36:21] <ohadlevy> ashp: if you use foreman, you could also use it to ssh all hosts | ||
| [2010/01/11 08:36:21] <ashp> So things like 'Here's all user{} changes' | ||
| [2010/01/11 08:36:35] <ashp> "Here's all package{} updates from the last month" and so forth. | ||
| [2010/01/11 08:36:48] <ashp> Just an easy way to put together random reports for the odd questions my boss likes to ask | ||
| [2010/01/11 08:37:02] <z00dax> func is also another good option for multi machine stuff and collecting stuff from various nodes etc. | ||
| [2010/01/11 08:37:08] <ohadlevy> ashp: just to close the yum update thingy - http://theforeman.org/wiki/foreman/Query_Interface | ||
| [2010/01/11 08:37:11] <ashp> like he'll honestly and with all seriousness ask me things like "How many packages are controlled by puppet" | ||
| [2010/01/11 08:37:34] <ashp> worse is the questions are just idle interest but then I have to go poking around to find answers | ||
| [2010/01/11 08:37:41] <ohadlevy> ashp: I guess we can add another type of email summary report to do this kind of stuff | ||
| [2010/01/11 08:37:50] <ashp> ohadlevy: Oh that's pretty neat for what I'm doing, nice and simple. :) | ||
| [2010/01/11 08:37:54] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2010/01/11 08:38:05] <ashp> ohadlevy: Yeah, just a summary built up from all hosts, because it's nice being able to see all the reports but it's harder to get a host overview | ||
| [2010/01/11 08:38:16] <ashp> I'd like to be able to click the host, specify a timerange and have it summarise changes | ||
| [2010/01/11 08:38:53] <Telmo> Ohadlevy: ping | ||
| [2010/01/11 08:38:54] <ohadlevy> ashp: I actually started to work on such a thing - not ready to be commited.. - I'm not sure about performance, e.g. if you have a lot of reports, it will take some time to parse them all | ||
| [2010/01/11 08:39:02] <ohadlevy> telmo:pong | ||
| [2010/01/11 08:39:13] <Telmo> check the message I sent you ;) | ||
| [2010/01/11 08:39:26] <ashp> ohadlevy: Yeah, don't think there's any way to avoid that - I suppose something triggerable by cron would be nice for the big reports | ||
| [2010/01/11 08:39:30] <ashp> so I can just let it crunch away at 0200 | ||
| [2010/01/11 08:39:58] <Telmo> talking about reports, are you going to put my graph patch in foreman? ;) | ||
| [2010/01/11 08:40:14] <ohadlevy> ashp: thats what I currently do with the summarized emails - http://theforeman.org/wiki/foreman/Summarized_E-Mail_Reports | ||
| [2010/01/11 08:40:17] <ohadlevy> Telmo: reading ;) | ||
| [2010/01/11 08:40:53] <ashp> with the current setup do you just end up with a GIANT email or does it summarise it down pretty harshly so it's only a few lines per host? | ||
| [2010/01/11 08:41:20] <ohadlevy> its a line per host | ||
| [2010/01/11 08:41:25] <ohadlevy> with a link to the reports | ||
| [2010/01/11 08:41:44] <ohadlevy> telmo: are those links suppose to work? | ||
| [2010/01/11 08:41:50] <Telmo> nope | ||
| [2010/01/11 08:42:09] <Telmo> OSX did some wierd copy &paste, where it put the whole link instead of just the text | ||
| [2010/01/11 08:42:37] <fluxdude> is it possible to call a define from within a define? | ||
| [2010/01/11 08:43:04] <Telmo> you can just replace all the last links with graphs, it makes it look cleaner while keeping all the info you want | ||
| [2010/01/11 08:43:36] <ohadlevy> Telmo: yep, I've already started to do a show host view - getting away from AS | ||
| [2010/01/11 08:43:43] <ohadlevy> fluxdude: sure | ||
| [2010/01/11 08:44:17] <Telmo> good :) AS is evil | ||
| [2010/01/11 08:44:32] <fluxdude> ohadlevy: thanks | ||
| [2010/01/11 08:44:33] <ohadlevy> telmo.. let me make a quick screenshot | ||
| [2010/01/11 08:45:03] <Telmo> the audit log in foreman stopped working on Dec 16th and I can't figure out why for the life of me, its driving me nuts | ||
| [2010/01/11 08:45:20] <ohadlevy> Telmo: are you in dev or prod? | ||
| [2010/01/11 08:45:28] <Telmo> prod | ||
| [2010/01/11 08:45:55] <ohadlevy> the cache stuff needs to be enabled for it to work - did you change anything in the config/environment* ? | ||
| [2010/01/11 08:47:36] <ohadlevy> ashp: I can send you an example of such report if you want | ||
| [2010/01/11 08:48:15] <ashp> if you can that would be nice, i'd try and get it working myself but i have to vpn in from here and it's super slow | ||
| [2010/01/11 08:48:19] <ashp> apenney@gmail.com is me | ||
| [2010/01/11 08:48:20] <Telmo> humm... actually.. it doesn't seem to audit changed to the classes, if I add or remove a class it doesn't seem to register in the audit, but if I add a new parameter it does | ||
| [2010/01/11 08:48:26] <Telmo> also it is not showing the username.. | ||
| [2010/01/11 08:48:40] <ashp> basically what happened is I finally got the time to implement a bunch of changes I want and then immediately got incredibly sick and haven't been able to do any of them :( | ||
| [2010/01/11 08:48:56] <ohadlevy> Telmo: currently its auditing selected fields - I guess it would be easy to add more fields (or in this case more models) | ||
| [2010/01/11 08:49:31] @ itguru_ joined channel #puppet | ||
| [2010/01/11 08:49:36] <Telmo> I can do that easily, probably added/removed classes is a good thing to audit :) | ||
| [2010/01/11 08:49:41] @ lero_ joined channel #puppet | ||
| [2010/01/11 08:50:13] @ windowsrefund joined channel #puppet | ||
| [2010/01/11 08:50:16] <windowsrefund> hello | ||
| [2010/01/11 08:50:49] <ohadlevy> telmo: search for acts_as_audited | ||
| [2010/01/11 08:51:05] @ cedric_b joined channel #puppet | ||
| [2010/01/11 08:51:09] <windowsrefund> when using the <% if has_variable?() function within a template, is there a way to test if 2 variables exist? | ||
| [2010/01/11 08:51:26] <Telmo> it is not showing the username that makes the changes though.. although I am logging in and foreman seem to know my username | ||
| [2010/01/11 08:51:34] @ mgisbers is now known as mgisbers_away | ||
| [2010/01/11 08:51:49] <windowsrefund> perhaps if has_variable?("foo") and has_variable?("bar") | ||
| [2010/01/11 08:51:58] <ohadlevy> telmo: that sounds like a simple bug :) | ||
| [2010/01/11 08:52:08] <Telmo> yah, I am checking it | ||
| [2010/01/11 08:52:19] <kjetilho> windowsrefund: a simpler idiom is «foo rescue "defaultvalue"» | ||
| [2010/01/11 08:52:37] <kjetilho> well, for some uses, anyway | ||
| [2010/01/11 08:52:57] <Telmo> probably because I am using an old version of foreman, my managers like the OFC graphs so I can't easily update to whats in your github repo :) | ||
| [2010/01/11 08:53:03] <windowsrefund> kjetilho: perhaps but I have no idea what that means :) | ||
| [2010/01/11 08:53:06] <kjetilho> but you can of course combine several calls to has_variable? | ||
| [2010/01/11 08:53:29] <windowsrefund> kjetilho: yep, that's what I'm going to do if I don't come across a cleaner approach | ||
| [2010/01/11 08:53:52] <kjetilho> STATEMENT rescue VALUE means if an exception is raised, substitute VALUE as the result of STATEMENT | ||
| [2010/01/11 08:54:07] <ohadlevy> Telmo: I've made some Gchat graphs as well, but I think your flash graphs are better :) | ||
| [2010/01/11 08:54:21] <windowsrefund> flash is evil though | ||
| [2010/01/11 08:55:05] <Telmo> windowsrefund: yes, but in this case a lesser evil | ||
| [2010/01/11 08:55:26] <ohadlevy> yeah, I'm kinda of not sure - javascript graphs / google charts or flash.... | ||
| [2010/01/11 08:55:56] <ohadlevy> ashp: my stupid email client removed all of the html formating.. a few more minutes ;) | ||
| [2010/01/11 08:56:04] <Telmo> ohadlevy: do you want me to check if I can do that same I do with OFC with google charts? | ||
| [2010/01/11 08:56:11] <Telmo> I can look into it | ||
| [2010/01/11 08:56:23] <ohadlevy> telmo: you mean to replace the existing graphs? | ||
| [2010/01/11 08:56:43] <Telmo> well, replace what I do with OFC with google charts if it is possible | ||
| [2010/01/11 08:56:53] @ Quit: itguru: Read error: 110 (Connection timed out) | ||
| [2010/01/11 08:57:25] <ohadlevy> Telmo: I already did more or less that - but its not ready code yet | ||
| [2010/01/11 08:57:39] <ohadlevy> if you want, I can put it on another branch for you to have a look (as its similar to your original code) | ||
| [2010/01/11 08:57:55] <Telmo> yes please do that | ||
| [2010/01/11 08:58:49] <Telmo> although it will make fore some pretty long URLS lol | ||
| [2010/01/11 08:59:57] <Telmo> ohadlevy: nm, google charts don't have the same functionality | ||
| [2010/01/11 09:00:16] @ Bass10 joined channel #puppet | ||
| [2010/01/11 09:00:18] <Telmo> I don't see a way of hovering over a dot in the graph and getting the value it represents | ||
| [2010/01/11 09:00:31] @ joe-mac joined channel #puppet | ||
| [2010/01/11 09:01:21] <ohadlevy> telmo: http://github.com/ohadlevy/foreman/tree/playaround | ||
| [2010/01/11 09:02:28] <ohadlevy> telmo: it would generate a couple of graphs | ||
| [2010/01/11 09:02:31] <Telmo> ohadlevy: the issue that I see with google chart is that it is not able to tell you the exact value represented per dot as OFC does, which is important (I believe) | ||
| [2010/01/11 09:03:02] <ohadlevy> telmo: yeah, its hard with google graphs because they dont generate the axis for you - you have to put and format the data yourself | ||
| [2010/01/11 09:03:24] <ohadlevy> telmo: have a look, I'm interested in your feedback | ||
| [2010/01/11 09:03:33] <Telmo> I will | ||
| [2010/01/11 09:03:34] @ bjaspan joined channel #puppet | ||
| [2010/01/11 09:03:50] <windowsrefund> thanks | ||
| [2010/01/11 09:03:51] @ Quit: windowsrefund: "leaving" | ||
| [2010/01/11 09:05:44] <ohadlevy> ashp: on the way | ||
| [2010/01/11 09:06:16] @ illsci left channel #puppet () | ||
| [2010/01/11 09:06:42] <Telmo> *sigh* how do you checkout a branch into your project in github? | ||
| [2010/01/11 09:06:59] <ohadlevy> git co -t origin/playground -b playground | ||
| [2010/01/11 09:07:05] <ohadlevy> git checkout | ||
| [2010/01/11 09:07:09] <ohadlevy> i have co aliased to checkout | ||
| [2010/01/11 09:07:18] <ohadlevy> from old subversion days :) | ||
| [2010/01/11 09:10:53] <jamesturnbull> git checkout -b branch remote/branch works fine | ||
| [2010/01/11 09:11:11] <ohadlevy> jamesturnbull: does it also set the tracking correctly? | ||
| [2010/01/11 09:11:26] <ohadlevy> so you could do git pull later on? | ||
| [2010/01/11 09:11:31] @ Quit: bug: | ||
| [2010/01/11 09:12:40] <jamesturnbull> ohadlevy: nah - I use that to pull in topic branches - so they only exist briefly | ||
| [2010/01/11 09:12:50] <jamesturnbull> ohadlevy: or I do a specific pull | ||
| [2010/01/11 09:13:06] <ohadlevy> jamesturnbull: yeah, but most people who use git with foreman just want to get the latest changes ;) | ||
| [2010/01/11 09:13:27] <jamesturnbull> ohadlevy: and the edge branch doesn't change I guess | ||
| [2010/01/11 09:13:41] <jamesturnbull> ohadlevy: doesn't change in the sense of name not content :) | ||
| [2010/01/11 09:13:55] <ohadlevy> yeah, I try to keep master as stable, and edge with new large features (that might break stable master) | ||
| [2010/01/11 09:14:36] <ohadlevy> and i cherry pick all the time ---- did I say that I appreciate your work on puppet? ;) | ||
| [2010/01/11 09:15:24] @ themurph joined channel #puppet | ||
| [2010/01/11 09:15:41] @ bug joined channel #puppet | ||
| [2010/01/11 09:17:00] <jamesturnbull> ohadlevy: thanks - shucks - yeah I worked out that I juggled 120 odd branches/patches/commits last release :) | ||
| [2010/01/11 09:17:14] @ kaptk2 joined channel #puppet | ||
| [2010/01/11 09:17:21] <jamesturnbull> ohadlevy: for a total of a ... well a lot of commits | ||
| [2010/01/11 09:18:00] <ohadlevy> jamesturnbull: :-) its a lot of work keeping everything tidy | ||
| [2010/01/11 09:18:19] <jamesturnbull> ohadlevy: particualrly with those damn developers | ||
| [2010/01/11 09:18:44] <SyTonnerre> Develociraptors | ||
| [2010/01/11 09:20:02] @ Quit: bitmonk: Read error: 60 (Operation timed out) | ||
| [2010/01/11 09:22:31] @ Quit: lero: Remote closed the connection | ||
| [2010/01/11 09:26:23] <ohadlevy> telmo: got anywhere? | ||
| [2010/01/11 09:26:54] @ Quit: Ramonster: Read error: 113 (No route to host) | ||
| [2010/01/11 09:27:00] <Telmo> yah, I got it co'd | ||
| [2010/01/11 09:27:15] <Telmo> I need to clean my repo of foreman in github.. it has like 5 branches | ||
| [2010/01/11 09:27:31] <ohadlevy> telmo: ifyou want your production data copied, there is a rake task that copies from prod 2 dev | ||
| [2010/01/11 09:28:04] <Telmo> I got a dev DB replicating form production :) | ||
| [2010/01/11 09:28:16] <ohadlevy> with rake db:convert:prod2dev ? | ||
| [2010/01/11 09:28:55] <Telmo> no.. as in a mysql dev replicate of the production mysql :) | ||
| [2010/01/11 09:29:10] @ Quit: rmiller4pi83: "Leaving." | ||
| [2010/01/11 09:29:20] <ohadlevy> telmo: ah probably faster ;) | ||
| [2010/01/11 09:34:32] @ Quit: itguru_: Client Quit | ||
| [2010/01/11 09:34:47] <ohadlevy> telmo: I think i've found the bug with the user and audit table | ||
| [2010/01/11 09:35:05] <Telmo> typo? | ||
| [2010/01/11 09:35:35] <ohadlevy> telmo: i think a bit of broken logic :) | ||
| [2010/01/11 09:35:48] <Telmo> by the way, we should start a "wave" for foreman in google wave heh | ||
| [2010/01/11 09:35:59] <ohadlevy> hmm. there is one | ||
| [2010/01/11 09:36:10] <ohadlevy> I just didnt find wave all that useful | ||
| [2010/01/11 09:36:20] <Telmo> I should check google wave more often then lol | ||
| [2010/01/11 09:36:30] <Telmo> it is.... confusing | ||
| [2010/01/11 09:36:49] <ohadlevy> and you need to check another thing (like checking email is not enough ;)) | ||
| [2010/01/11 09:41:24] @ ctso joined channel #puppet | ||
| [2010/01/11 09:44:03] @ Quit: bug: | ||
| [2010/01/11 09:46:45] @ strangeloop joined channel #puppet | ||
| [2010/01/11 09:50:03] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/11 09:52:32] @ elmo left channel #puppet () | ||
| [2010/01/11 09:52:54] @ bobbyz joined channel #puppet | ||
| [2010/01/11 09:54:55] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/01/11 09:55:41] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/11 10:01:44] @ Quit: kolla: Remote closed the connection | ||
| [2010/01/11 10:02:45] @ Quit: elementai: "Lost terminal" | ||
| [2010/01/11 10:03:46] @ Quit: erm__: Read error: 60 (Operation timed out) | ||
| [2010/01/11 10:04:21] @ Quit: mvn071: "Leaving" | ||
| [2010/01/11 10:04:49] <ctso> anyone closely familiar with the (new?) way puppet does pluginsync? =( | ||
| [2010/01/11 10:05:49] <kjetilho> the path has changed in 0.25 | ||
| [2010/01/11 10:06:15] <kjetilho> it's now modules/something/lib/facter/myfact.rb | ||
| [2010/01/11 10:06:39] <kjetilho> or did you mean custom functions? | ||
| [2010/01/11 10:07:54] <ctso> i changed the path and i think it's looking in the right place (got rid of a not found error) | ||
| [2010/01/11 10:08:03] <ctso> but i've consistently had this error: | ||
| [2010/01/11 10:08:03] <ctso> err: /File[/var/puppet/lib]: Failed to generate additional resources using 'eval_generate': hostname was not match with the server certificate | ||
| [2010/01/11 10:08:13] <ctso> even thought he rest of the puppet run actually goes through | ||
| [2010/01/11 10:09:00] <ctso> it's only the pluginsync part of puppet, so everything else actually runs, but i've lost the ability to sync plugins ever since i upgraded a client to 0.25 | ||
| [2010/01/11 10:13:41] @ Quit: londo: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 10:14:39] @ londo joined channel #puppet | ||
| [2010/01/11 10:19:28] @ bitmonk joined channel #puppet | ||
| [2010/01/11 10:25:25] @ Quit: jbooth: "Lost terminal" | ||
| [2010/01/11 10:27:09] <ohadlevy> telmo: hopefully I've fixed the issue with the audit trail and the user info, let me know if works/doesnt work | ||
| [2010/01/11 10:27:14] @ kbsquared joined channel #puppet | ||
| [2010/01/11 10:27:55] <Telmo> what was the issue? I need to change my code, can't pull directly from your repo because it will break OFC on my production code ;) | ||
| [2010/01/11 10:28:27] @ elementai joined channel #puppet | ||
| [2010/01/11 10:28:39] <ohadlevy> 154 | ||
| [2010/01/11 10:28:42] <Telmo> thanks | ||
| [2010/01/11 10:28:47] <ohadlevy> there are two commits there | ||
| [2010/01/11 10:28:55] <ohadlevy> and you need to do submodule update | ||
| [2010/01/11 10:31:07] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:31:36] @ labrown joined channel #puppet | ||
| [2010/01/11 10:31:56] @ fdz joined channel #puppet | ||
| [2010/01/11 10:32:16] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:32:27] <LinuxCode> whois jy | ||
| [2010/01/11 10:32:38] <Telmo> I only see 1 commit? | ||
| [2010/01/11 10:32:40] <Telmo> http://github.com/ohadlevy/foreman/commit/9925f8cf4adfdf261d2acc27994707aa01851a2d#diff-0 | ||
| [2010/01/11 10:33:16] <ohadlevy> and http://github.com/ohadlevy/foreman/commit/6926708cd677274e3fc2a6e28c45a96f172b3177 | ||
| [2010/01/11 10:33:17] @ fdz joined channel #puppet | ||
| [2010/01/11 10:34:46] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:35:14] @ zahna_ is now known as zahna | ||
| [2010/01/11 10:35:56] @ fdz joined channel #puppet | ||
| [2010/01/11 10:36:09] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:37:14] @ fdz joined channel #puppet | ||
| [2010/01/11 10:37:15] <Telmo> hummm.. I am unsure of how to apply that last commit.. | ||
| [2010/01/11 10:38:47] @ bug_ joined channel #puppet | ||
| [2010/01/11 10:38:55] @ Quit: suchu: "ChatZilla 0.9.86 [Firefox 3.5.7/20091221164558]" | ||
| [2010/01/11 10:39:00] <ohadlevy> telmo: git cherry-pick 6926708c ; git submodule update | ||
| [2010/01/11 10:39:11] @ Quit: kbsquared: "leaving" | ||
| [2010/01/11 10:39:16] <Telmo> thanks | ||
| [2010/01/11 10:41:03] <Telmo> ohadlevy: still only 1 file changed, module didn't seem to update anything... I'll msg you the log | ||
| [2010/01/11 10:42:49] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:43:59] @ fdz joined channel #puppet | ||
| [2010/01/11 10:47:13] @ Quit: fdz: Remote closed the connection | ||
| [2010/01/11 10:54:54] @ alfism joined channel #puppet | ||
| [2010/01/11 10:56:21] @ zombie_ joined channel #puppet | ||
| [2010/01/11 10:56:25] @ fdz joined channel #puppet | ||
| [2010/01/11 10:57:06] <zombie_> Question. I've got a bunch of puppet clients that had manual entries put in their crontab. Is there any way to have puppet basically overwrite everything in their crontabs so that all that is there is what puppet says should be there exclusively? | ||
| [2010/01/11 10:58:52] <joe-mac> zombie_: yea, with the resources parameter | ||
| [2010/01/11 10:59:00] <joe-mac> not sure if it supports cron, i am guessing it does | ||
| [2010/01/11 10:59:07] <Volcane> pretty much useless | ||
| [2010/01/11 10:59:18] <Volcane> since all it looks at is user crontabs | ||
| [2010/01/11 10:59:38] <joe-mac> yea, but that's all some people use heh | ||
| [2010/01/11 10:59:59] <zombie_> So it won't purge the root crontab? | ||
| [2010/01/11 11:00:06] @ Quit: PsychoSid: "Leaving." | ||
| [2010/01/11 11:00:19] <Volcane> it wont touch /etc/crontab /etc/cron.* | ||
| [2010/01/11 11:00:46] <zombie_> Ugh, that sucks | ||
| [2010/01/11 11:00:56] <zombie_> So is there no way for puppet to purge the root crontab I guess? | ||
| [2010/01/11 11:01:09] <Volcane> root crontab is neither /etc/crontab nor /etc/cron.* | ||
| [2010/01/11 11:01:09] <zombie_> and re-create all puppet client crontabs with whatever is specified in crontab.pp? | ||
| [2010/01/11 11:02:46] <kjetilho> zombie_: you could just ensure that /etc/crontab and /etc/cron.d are absent. /etc/crontab should probably retain the calls to run /etc/cron.{daily,hourly} though | ||
| [2010/01/11 11:02:50] @ gilesw joined channel #puppet | ||
| [2010/01/11 11:02:54] <gilesw> lo puppetiers | ||
| [2010/01/11 11:02:57] <gilesw> been a while | ||
| [2010/01/11 11:03:33] <gilesw> I'm having problems with a virtual package, system java on rhel5 | ||
| [2010/01/11 11:03:35] <gilesw> @package { ["java-1.6.0-sun-devel","java-1.6.0-sun","jpackage-utils-compat-el5"]: | ||
| [2010/01/11 11:04:14] <gilesw> I've given it an alias of system_java but I don't seem to be able to realize that alias | ||
| [2010/01/11 11:04:54] @ Quit: tim|macbook: | ||
| [2010/01/11 11:05:05] <zombie_> kjet: What if I use the cmdlauncher to rm -rf /var/spool/cron/root? | ||
| [2010/01/11 11:05:35] <joe-mac> what is the cmdlauncher? | ||
| [2010/01/11 11:05:39] <joe-mac> soudns like a gun in doom | ||
| [2010/01/11 11:05:48] <joe-mac> or quake | ||
| [2010/01/11 11:05:59] <chrisg> imagine that | ||
| [2010/01/11 11:06:01] <chrisg> with quad damage | ||
| [2010/01/11 11:06:05] <chrisg> BOOM! | ||
| [2010/01/11 11:06:16] @ mikerowehl joined channel #puppet | ||
| [2010/01/11 11:07:14] <zombie_> It's basically something to implement a one-off command in puppet | ||
| [2010/01/11 11:07:53] <joe-mac> o i c | ||
| [2010/01/11 11:10:24] <gilesw> i use execs subscribing to a dummy file | ||
| [2010/01/11 11:10:34] <gilesw> when you want the command running change the dummy file | ||
| [2010/01/11 11:10:55] <gilesw> nasty hack | ||
| [2010/01/11 11:11:03] <joe-mac> gilesw: you know about refreshonly right? | ||
| [2010/01/11 11:11:31] <Volcane> little semaphore files show up in lost+found all your execs run, win | ||
| [2010/01/11 11:11:32] <gilesw> yea | ||
| [2010/01/11 11:12:57] <gilesw> it's to run a gem update --system | ||
| [2010/01/11 11:14:01] <gilesw> anyway I've got a virtual package on debian http://pastie.org/773688 | ||
| [2010/01/11 11:14:13] <gilesw> and that realizes fine | ||
| [2010/01/11 11:15:15] @ Quit: whaley: Remote closed the connection | ||
| [2010/01/11 11:15:50] @ whaley joined channel #puppet | ||
| [2010/01/11 11:17:28] @ p3rror joined channel #puppet | ||
| [2010/01/11 11:19:10] <gilesw> Is it possible to do @class systemjavaanddeps {..} and realize a class? | ||
| [2010/01/11 11:20:34] <Volcane> only resources | ||
| [2010/01/11 11:20:40] <Volcane> but whats the point of realizing a class? | ||
| [2010/01/11 11:20:53] <Volcane> there's nothing to override, nd you can include them many times? | ||
| [2010/01/11 11:22:26] <gilesw> Do you see what I'm trying to achieve? | ||
| [2010/01/11 11:22:41] <gilesw> to realize multiple packages in one realize statement | ||
| [2010/01/11 11:22:52] <gilesw> that might be called from various modules | ||
| [2010/01/11 11:23:11] <gilesw> I don't want to install system java on all boxes | ||
| [2010/01/11 11:23:19] <Volcane> so make a class that realize them, and include it where u need them | ||
| [2010/01/11 11:23:34] @ Quit: zombie_: "Page closed" | ||
| [2010/01/11 11:24:39] <gilesw> Oh I follow | ||
| [2010/01/11 11:24:42] @ lak joined channel #puppet | ||
| [2010/01/11 11:30:13] <gilesw> Strange that I haven't had a problem like this before | ||
| [2010/01/11 11:30:24] <gilesw> i guess we're generally realizing single libs | ||
| [2010/01/11 11:30:27] <Volcane> http://pastie.org/773720 works fine anyway | ||
| [2010/01/11 11:31:10] <gilesw> jeepers I've never seen that syntax | ||
| [2010/01/11 11:31:17] <gilesw> is that 0.25? | ||
| [2010/01/11 11:31:32] <Volcane> its been there since 0.20 | ||
| [2010/01/11 11:32:48] @ Quit: \ask: "Leaving..." | ||
| [2010/01/11 11:33:44] <gilesw> well cheers that should do the trick without me needing to change much | ||
| [2010/01/11 11:38:59] <joe-mac> yea that syntax with an extra | is how i collect tagged resources, but i never knew you could realize with similar syntax til last week... makes sense given exported resources is related to virtual resources | ||
| [2010/01/11 11:40:39] <mikepea> joe-mac: same - i thought that syntax was only for exported resources. <slaps head> | ||
| [2010/01/11 11:42:12] @ bodepd joined channel #puppet | ||
| [2010/01/11 11:42:18] @ bodepd left channel #puppet () | ||
| [2010/01/11 11:43:02] <fluxdude> anyone here used puppet dashboard? | ||
| [2010/01/11 11:43:17] <fluxdude> is it ready for action? | ||
| [2010/01/11 11:43:28] <fluxdude> more specifically, do you use it as an external node tool? | ||
| [2010/01/11 11:43:45] <fluxdude> what external node tools are people using, other than foreman? | ||
| [2010/01/11 11:50:21] @ jbooth_ joined channel #puppet | ||
| [2010/01/11 11:56:12] @ Quit: cynicismic: Read error: 60 (Operation timed out) | ||
| [2010/01/11 11:57:17] @ Quit: skiold: | ||
| [2010/01/11 11:58:30] @ cynicismic joined channel #puppet | ||
| [2010/01/11 11:58:32] @ Quit: pacalm: | ||
| [2010/01/11 11:59:04] @ Quit: gebi: Read error: 113 (No route to host) | ||
| [2010/01/11 12:04:54] @ \ask joined channel #puppet | ||
| [2010/01/11 12:08:20] @ Quit: verwilst: "Ex-Chat" | ||
| [2010/01/11 12:11:48] @ pheezy joined channel #puppet | ||
| [2010/01/11 12:12:19] @ bodepd_ joined channel #puppet | ||
| [2010/01/11 12:13:54] @ bodepd_ left channel #puppet () | ||
| [2010/01/11 12:13:55] <jb> hrm, I need to write a module to manage puppet | ||
| [2010/01/11 12:13:57] <pheezy> home slices, is there perchance some documentation on the REST api? I'm trying to automatically revoke a certificate upon reinstallation of a certain box | ||
| [2010/01/11 12:14:54] @ Quit: lak: | ||
| [2010/01/11 12:16:10] @ alexine_dsouza joined channel #puppet | ||
| [2010/01/11 12:22:03] @ gebi joined channel #puppet | ||
| [2010/01/11 12:29:05] @ paxos joined channel #puppet | ||
| [2010/01/11 12:30:51] @ teyo joined channel #puppet | ||
| [2010/01/11 12:32:05] @ Quit: cedric_b: "Ex-Chat" | ||
| [2010/01/11 12:32:35] @ KarlHungus joined channel #puppet | ||
| [2010/01/11 12:34:31] @ jaimeg left channel #puppet () | ||
| [2010/01/11 12:34:31] @ crdant joined channel #puppet | ||
| [2010/01/11 12:34:31] <KarlHungus> quick question. i have @@nagios_service { "foo": foo => bar, target => "/path/to/foo.cfg" }, if i remove this resource, how do i make puppet purge the associated cfg file? | ||
| [2010/01/11 12:35:31] <Volcane> file{"/path/to": purge => true, recurse => true, force => true, ensure => directory} | ||
| [2010/01/11 12:35:47] <Volcane> removes unmanaged files | ||
| [2010/01/11 12:36:10] <KarlHungus> Volcane: hrm. that won't be really intensive? doesn't that rebuild the cfg files every run? | ||
| [2010/01/11 12:37:06] <Volcane> "removes unmanaged files" | ||
| [2010/01/11 12:37:26] @ Quit: strangeloop: "Leaving" | ||
| [2010/01/11 12:37:46] <Volcane> ie. doesnt remove all files then waits for them to be rebuilt | ||
| [2010/01/11 12:37:53] <Volcane> it depends though how the nagios resource works | ||
| [2010/01/11 12:38:02] <KarlHungus> ok. gotcha. i'll test it | ||
| [2010/01/11 12:38:02] <Volcane> but worth a try | ||
| [2010/01/11 12:38:26] <zahna> Volcane: you use kickstart right? | ||
| [2010/01/11 12:39:22] <Volcane> yeah | ||
| [2010/01/11 12:39:38] <zahna> how do you personally configure your network? static or dhcp? | ||
| [2010/01/11 12:40:09] <Volcane> static | ||
| [2010/01/11 12:40:10] @ teyo_ joined channel #puppet | ||
| [2010/01/11 12:40:28] <Volcane> dhcp only for bootstrapping pxe etc | ||
| [2010/01/11 12:40:30] <zahna> cool, how do you personally setup that information when performing a kickstart install? | ||
| [2010/01/11 12:40:43] <zahna> yeah, that's how i'm doing it, but am not wanting to keep around tons of ks files | ||
| [2010/01/11 12:41:07] <zahna> do you just run a %post script to set the static network info? | ||
| [2010/01/11 12:41:35] <Volcane> zahna: well, in most cases my machines are just out around the net randomly o other ppls networks - so the only KSing I do is of virtual hosts and puppet makes ks files. | ||
| [2010/01/11 12:41:54] <Volcane> zahna: but where i do have my own machines i use a little ip database called ipplan and I have lots of ruby to talk to it | ||
| [2010/01/11 12:42:08] <zahna> oooooh | ||
| [2010/01/11 12:42:12] <Volcane> zahna: which means i have drop down menus of ks templates and the thing generates them dynamically | ||
| [2010/01/11 12:42:33] <Volcane> zahna: also builds dhcp files and zone files if i wanted | ||
| [2010/01/11 12:42:54] <zahna> i was having puppet assemble the ks files, but only one per machine class - web, db, solr, etc | ||
| [2010/01/11 12:44:44] <Volcane> zahna: http://pastie.org/773828 | ||
| [2010/01/11 12:45:03] <Volcane> that makes volgroups, ks files , xen install and xen runtime configs etcetc | ||
| [2010/01/11 12:45:16] <Volcane> sets it up for riht centos release/architecture and all that junk | ||
| [2010/01/11 12:45:24] <zahna> oh wow | ||
| [2010/01/11 12:45:27] <Volcane> just doesnt start the build of the vm | ||
| [2010/01/11 12:45:47] @ ask joined channel #puppet | ||
| [2010/01/11 12:46:04] <zahna> you do extensive extending of puppet, don't you? | ||
| [2010/01/11 12:46:08] @ Quit: ask: Remote closed the connection | ||
| [2010/01/11 12:46:15] <Volcane> its just defines | ||
| [2010/01/11 12:46:31] <Volcane> only actual extending of puppet i have is extlookup and a few facts | ||
| [2010/01/11 12:46:37] <zahna> oh. cool. i should become better with defines. | ||
| [2010/01/11 12:46:55] <zahna> i only use 2. and they are pretty simple defines. | ||
| [2010/01/11 12:47:11] <Volcane> to kick off installs i have some mcollective agents on my dom0's | ||
| [2010/01/11 12:47:25] <Volcane> can go out and find dom0's with a certain xen vm on it, shut/strt/bootstrap etc | ||
| [2010/01/11 12:48:11] <zahna> nice | ||
| [2010/01/11 12:49:16] <Volcane> defines are amazing, you can do surprisingly much with them without having to extend puppet | ||
| [2010/01/11 12:55:15] @ Quit: jaredrhine: Read error: 60 (Operation timed out) | ||
| [2010/01/11 12:56:27] @ Quit: Robbie_: Read error: 113 (No route to host) | ||
| [2010/01/11 12:56:59] @ Quit: teyo: Read error: 113 (No route to host) | ||
| [2010/01/11 12:56:59] @ teyo_ is now known as teyo | ||
| [2010/01/11 12:57:18] <lero_> Resource references should now be capitalized on line | ||
| [2010/01/11 12:57:23] <lero_> i just need to change exec to Exec ? | ||
| [2010/01/11 13:01:14] @ Quit: poison: Remote closed the connection | ||
| [2010/01/11 13:01:42] <Volcane> thats always been the way | ||
| [2010/01/11 13:01:51] @ Quit: \ask: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:01:57] <lero_> :D | ||
| [2010/01/11 13:02:20] @ artista-frustrad joined channel #puppet | ||
| [2010/01/11 13:05:13] @ Quit: artista_frustrad: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:05:25] @ lak joined channel #puppet | ||
| [2010/01/11 13:06:01] @ shug joined channel #puppet | ||
| [2010/01/11 13:09:26] <lero_> Volcane: but if i change i get this: Could not parse for environment production: Syntax error at 'Require'; expected '}' | ||
| [2010/01/11 13:09:47] <lero_> http://dpaste.com/143731/ | ||
| [2010/01/11 13:09:50] <lero_> this is the entry | ||
| [2010/01/11 13:11:06] @ Quit: shug: "Leaving" | ||
| [2010/01/11 13:11:06] <lero_> this require => file seems strange | ||
| [2010/01/11 13:11:27] @ ambroff joined channel #puppet | ||
| [2010/01/11 13:12:17] <Volcane> require => File.... | ||
| [2010/01/11 13:12:57] <lero_> hmm | ||
| [2010/01/11 13:12:57] <lero_> hehe | ||
| [2010/01/11 13:13:34] @ vzctl__ joined channel #puppet | ||
| [2010/01/11 13:13:48] @ ezmobius joined channel #puppet | ||
| [2010/01/11 13:14:13] @ Quit: ezmobius: Remote closed the connection | ||
| [2010/01/11 13:14:40] @ ezmobius joined channel #puppet | ||
| [2010/01/11 13:17:06] @ Quit: LinuxCode: "Connection Closed" | ||
| [2010/01/11 13:17:43] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/11 13:17:48] @ \ask joined channel #puppet | ||
| [2010/01/11 13:17:58] @ giskard joined channel #puppet | ||
| [2010/01/11 13:18:48] @ Quit: \ask: Client Quit | ||
| [2010/01/11 13:19:19] @ WALoeIII joined channel #puppet | ||
| [2010/01/11 13:21:07] <lero_> nice, no more warnings | ||
| [2010/01/11 13:21:22] <lero_> now i just need to move everything from modules to fileserver when we're done :) | ||
| [2010/01/11 13:22:00] @ Quit: crdant: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:22:30] <Volcane> usually ppl move from old fileserver to modules :) | ||
| [2010/01/11 13:23:04] @ Quit: lex: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:23:38] @ kolla joined channel #puppet | ||
| [2010/01/11 13:23:50] <lero_> but modules are being deprecated right? | ||
| [2010/01/11 13:24:12] <Volcane> no, everything is moving towards modules | ||
| [2010/01/11 13:24:16] <lero_> hmm | ||
| [2010/01/11 13:24:27] <lero_> so the fileserver.conf is being deprecated | ||
| [2010/01/11 13:24:51] <lero_> today every module have a files directory | ||
| [2010/01/11 13:25:05] <Volcane> u still need it to manage access control for modules, and i doubt it will be deprecated as such | ||
| [2010/01/11 13:25:09] <Volcane> but modules is what most ppl use | ||
| [2010/01/11 13:25:26] <Volcane> and features like environments etc works best with modules | ||
| [2010/01/11 13:25:27] @ jaredrhine joined channel #puppet | ||
| [2010/01/11 13:25:42] <jb> hrm | ||
| [2010/01/11 13:25:47] <jb> err: //puppet::linux::install/Package[puppet]/ensure: change from 0.25.2-1.el5.1 to 0.25.2-1 failed: Could not update: Failed to update to version 0.25.2-1, got version 0.25.2-1.el5.1 instead at /etc/puppet/manifests/fcprod/modules/puppet/manifests/linux.pp:10 | ||
| [2010/01/11 13:26:01] <Volcane> and as units of standalone code, files, templates, modules is what will probably be the way to share code between puppet ppl etc | ||
| [2010/01/11 13:26:12] <jb> i'm trying to ensure a particular version, "0.25.2-1" in this case. Am I specifiying this incorrectly? | ||
| [2010/01/11 13:27:01] <Volcane> jb: update one machine by hand then run 'ralsh package puppet' | ||
| [2010/01/11 13:27:07] <jb> ah, good idea. | ||
| [2010/01/11 13:28:21] <jb> ah, it wants el5 | ||
| [2010/01/11 13:28:26] <jb> thats sort of lame | ||
| [2010/01/11 13:29:29] <Volcane> its whats in the package | ||
| [2010/01/11 13:29:34] <jb> yeah | ||
| [2010/01/11 13:30:00] <jb> warning: Value of 'preferred_serialization_format' (pson) is invalid for report, using default (marshal) | ||
| [2010/01/11 13:30:04] <jb> thats a new one with 0.25.2 | ||
| [2010/01/11 13:30:15] <jb> http://projects.reductivelabs.com/issues/2837 | ||
| [2010/01/11 13:30:18] <Volcane> yeah very anoying | ||
| [2010/01/11 13:30:33] <jb> reporting still seems to work | ||
| [2010/01/11 13:30:54] <lero_> hmm | ||
| [2010/01/11 13:33:06] @ \ask joined channel #puppet | ||
| [2010/01/11 13:34:11] @ Quit: giskard: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:35:41] @ Quit: jes5: "Leaving." | ||
| [2010/01/11 13:43:18] @ Quit: MattyM: "ta ta" | ||
| [2010/01/11 13:44:26] @ Quit: taggart: "Leaving" | ||
| [2010/01/11 13:47:23] @ toi joined channel #puppet | ||
| [2010/01/11 13:52:24] @ Quit: labrown: "Leaving" | ||
| [2010/01/11 13:52:33] <KarlHungus> hmm. one more issue to work through with this. when using @@nagios_host { "foo": target => "/path/to/foo.cfg" } the foo.cfg files are creates 0600 (root:root) and nagios is unable to read them. it doesnt appear the nagios resource types let you specify mode/owner/group, so how (other than a setuid bit on the parent dir) to i make them readable by nagios? | ||
| [2010/01/11 13:54:35] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2010/01/11 13:55:32] <joe-mac> KarlHungus: i had the same issue, had to notify a refreshonly exec to fix the permissions on all the files | ||
| [2010/01/11 13:55:55] <KarlHungus> joe-mac: hmm. thats an interesting approach | ||
| [2010/01/11 13:57:19] @ Quit: \ask: "Leaving..." | ||
| [2010/01/11 13:57:33] @ Quit: xerxas: Read error: 113 (No route to host) | ||
| [2010/01/11 13:58:02] @ Quit: fdz: "Leaving." | ||
| [2010/01/11 13:58:06] <joe-mac> only way i could fix it given the constraints of the type, otherwise i would have to make my own define for those types and i have already sunk way too mu ch time into this projet | ||
| [2010/01/11 13:58:07] @ Quit: bug_: | ||
| [2010/01/11 13:58:45] @ re_ joined channel #puppet | ||
| [2010/01/11 13:59:18] @ Tormentum joined channel #puppet | ||
| [2010/01/11 13:59:19] @ \ask joined channel #puppet | ||
| [2010/01/11 14:00:52] <re_> I have a puppet client that is stuck thinking it's running. ps isn't showing any puppet processes and i also tried nuking the pid file. But it still says "notice: Run of Puppet configuration client already in progress; skipping" | ||
| [2010/01/11 14:01:07] <re_> does anyone know anything else I could try to fix it? | ||
| [2010/01/11 14:03:46] @ teyo_ joined channel #puppet | ||
| [2010/01/11 14:04:47] <joe-mac> remove /var/lib/puppet/state/* ? | ||
| [2010/01/11 14:05:03] @ jaredrhine joined channel #puppet | ||
| [2010/01/11 14:06:08] <re_> joe-mac: worked like a charm. ty! | ||
| [2010/01/11 14:08:03] <joe-mac> np | ||
| [2010/01/11 14:13:11] @ sandwitch joined channel #puppet | ||
| [2010/01/11 14:16:37] @ bug_ joined channel #puppet | ||
| [2010/01/11 14:19:06] <jb> wonder if I am going to run into any problems when I start moving common modules out of their module-specific location, and in to a "common" module path | ||
| [2010/01/11 14:21:03] @ artista joined channel #puppet | ||
| [2010/01/11 14:21:13] @ Quit: teyo: Read error: 110 (Connection timed out) | ||
| [2010/01/11 14:21:13] @ teyo_ is now known as teyo | ||
| [2010/01/11 14:21:38] @ Quit: artista-frustrad: Read error: 110 (Connection timed out) | ||
| [2010/01/11 14:30:55] @ Quit: bug_: | ||
| [2010/01/11 14:32:53] @ gui1ty joined channel #puppet | ||
| [2010/01/11 14:33:13] @ bug joined channel #puppet | ||
| [2010/01/11 14:33:15] @ Quit: ctso: Read error: 110 (Connection timed out) | ||
| [2010/01/11 14:34:41] @ ctso joined channel #puppet | ||
| [2010/01/11 14:41:08] <KarlHungus> joe-mac: how did you make the exec work? command => "/bin/chown -R nagios:root /etc/nagios/*.d", isn't doing anything for me | ||
| [2010/01/11 14:41:22] <KarlHungus> i'm guessing the path isn't globbing the way i expect | ||
| [2010/01/11 14:44:10] @ Quit: lak: | ||
| [2010/01/11 14:44:31] <joe-mac> define 'not working'? i just chmod 755, it makes the files +x which is suboptimal but i was in a hurry | ||
| [2010/01/11 14:46:53] @ Quit: gui1ty: "Ex-Chat" | ||
| [2010/01/11 14:47:00] <KarlHungus> joe-mac: heh. the user doesn't change =) | ||
| [2010/01/11 14:47:15] <joe-mac> probably the colon, change the colon to . | ||
| [2010/01/11 14:47:31] <KarlHungus> well, i get a ret code of 0, so its executing | ||
| [2010/01/11 14:48:47] @ jes5 joined channel #puppet | ||
| [2010/01/11 14:50:55] <KarlHungus> mrh. i'll fix it. i'm sure its something trivial =) i'm just being lazy | ||
| [2010/01/11 14:52:46] @ rlpowell joined channel #puppet | ||
| [2010/01/11 14:52:51] <rlpowell> After upgrading to latest: | ||
| [2010/01/11 14:52:52] <rlpowell> rlpowell@chain> /usr/bin/facter | ||
| [2010/01/11 14:52:55] <rlpowell> /usr/local/lib/site_ruby/1.8/facter/ipmess.rb:19: uninitialized constant Facter::IPAddress (NameError) | ||
| [2010/01/11 14:52:58] <rlpowell> -- any ideas? | ||
| [2010/01/11 14:53:15] <Volcane> how did you update? | ||
| [2010/01/11 14:53:53] <rlpowell> "sudo ruby install.rb" | ||
| [2010/01/11 14:54:09] <Volcane> fail | ||
| [2010/01/11 14:54:16] <rlpowell> That's what INSTALL says to do. | ||
| [2010/01/11 14:54:35] <Volcane> decades of research, coding, refinement, improvemtns and progress in making packagemangement system | ||
| [2010/01/11 14:55:04] <Volcane> install is for installing | ||
| [2010/01/11 14:55:14] <rlpowell> 'k. What would you suggest, then? | ||
| [2010/01/11 14:55:15] @ Quit: bug: | ||
| [2010/01/11 14:55:16] <Volcane> upgrading involves removing old files and then installing new | ||
| [2010/01/11 14:55:27] <Volcane> whats happening is you have some left over files from previous installs | ||
| [2010/01/11 14:55:48] <rlpowell> I noticed a total lack of instructions on this topic in the package. | ||
| [2010/01/11 14:56:03] <Volcane> what OS do you use? | ||
| [2010/01/11 14:56:11] <rlpowell> Debian. | ||
| [2010/01/11 14:56:21] <Volcane> so use the debs | ||
| [2010/01/11 14:57:22] <jb> yeah, life will be much easier if you use your OS's native package management system :) | ||
| [2010/01/11 14:57:48] <Volcane> install.rb and equivelant things only exist thesedays so that people making packages can use them as helprs | ||
| [2010/01/11 14:57:58] <Volcane> not really supposed to be used a real world install system | ||
| [2010/01/11 14:58:15] @ Quit: Demosthenes: "leaving" | ||
| [2010/01/11 14:58:27] <rlpowell> Then perhaps the README should mention something to that effect? | ||
| [2010/01/11 14:59:07] <Volcane> send patches :) | ||
| [2010/01/11 14:59:13] <rlpowell> Is there, in fact, an uninstall in these tarballs at all? | ||
| [2010/01/11 14:59:17] * rlpowell isn't much of a Ruby coder. | ||
| [2010/01/11 14:59:19] <Volcane> nope | ||
| [2010/01/11 14:59:26] <Volcane> you dont need to be a ruby coder to clarify the readme | ||
| [2010/01/11 14:59:43] @ crdant joined channel #puppet | ||
| [2010/01/11 15:00:40] <rlpowell> What should I say? "Oh, and by the way, you can't uninstall or upgrade from here; sucks to be you!". ?? | ||
| [2010/01/11 15:00:42] <Volcane> to uninstall just remove the facter directory from /usr/lib/ruby/1.8 or /usr/lib/ruby/site_ruby/1.8/ or whever install.rb put it | ||
| [2010/01/11 15:00:59] <rlpowell> So, no, there isn't actually an automated uninstall. Neat. | ||
| [2010/01/11 15:01:17] <Volcane> like i said :) | ||
| [2010/01/11 15:01:19] @ xerxas joined channel #puppet | ||
| [2010/01/11 15:01:23] <rlpowell> *nod* | ||
| [2010/01/11 15:04:08] @ Quit: artista: Nick collision from services. | ||
| [2010/01/11 15:04:47] @ artista-frustrad joined channel #puppet | ||
| [2010/01/11 15:04:50] @ mmcgrath joined channel #puppet | ||
| [2010/01/11 15:05:23] <mmcgrath> I'm trying to write a custom selinux module that 1) sends the .te file to the host, 2) compiles the module and generates the .pp file then 3) uses selmodule { } to load it. | ||
| [2010/01/11 15:05:40] <mmcgrath> so for step 2) I have creates => "$selinux_path/$name.pp", | ||
| [2010/01/11 15:05:49] <mmcgrath> then for 3) I have - require => File["$selinux_path/$name.pp"] | ||
| [2010/01/11 15:06:01] <mmcgrath> but I'm getting an error that it could not retrieve the dependency | ||
| [2010/01/11 15:06:10] @ bodepd joined channel #puppet | ||
| [2010/01/11 15:06:18] <Volcane> creates doesnt create a file resource | ||
| [2010/01/11 15:06:25] <mmcgrath> what does creates do? | ||
| [2010/01/11 15:06:27] <Volcane> require the exec | ||
| [2010/01/11 15:06:34] <Volcane> creates is like say you untar a file | ||
| [2010/01/11 15:06:40] <Volcane> and you dont want to untar it every time puppet runs | ||
| [2010/01/11 15:06:53] <Volcane> you'd tell creates about a file that is in the tarball that shows that the untar hapened | ||
| [2010/01/11 15:06:59] <jb> http://reductivelabs.com/trac/puppet/wiki/TypeReference is your friend. | ||
| [2010/01/11 15:07:04] <mmcgrath> got'cha. | ||
| [2010/01/11 15:07:06] <Volcane> and if that file exist on the target system, it wont run the untar again | ||
| [2010/01/11 15:07:21] <Volcane> so in that case, just require'ing the exec will achieve what u need | ||
| [2010/01/11 15:07:21] * mmcgrath knows about TypeReference, just knew something wrong :) | ||
| [2010/01/11 15:07:26] <jb> :) | ||
| [2010/01/11 15:07:40] <joe-mac> have the nagios types been tested with nagios 3.2 yet? | ||
| [2010/01/11 15:07:52] <jb> still battling with nagios? | ||
| [2010/01/11 15:08:34] @ qwebirc95326 joined channel #puppet | ||
| [2010/01/11 15:08:51] @ qwebirc95326 is now known as claar | ||
| [2010/01/11 15:09:27] <joe-mac> yes jb | ||
| [2010/01/11 15:11:32] @ Quit: toi: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 15:12:27] @ roede joined channel #puppet | ||
| [2010/01/11 15:13:03] <roede> hey all, im having trouble getting puppetmasterd to run with ruby 1.9.1_p376 | ||
| [2010/01/11 15:13:48] <roede> im getting a bunch of stuff like this: Could not autoload file: constant Puppet::Type::File not defined Could not autoload status: undefined method `add_method' for nil:NilClass | ||
| [2010/01/11 15:14:36] <Volcane> i think there's still a lot of tickets open against 1.9 compatiblity | ||
| [2010/01/11 15:15:07] @ toi joined channel #puppet | ||
| [2010/01/11 15:15:20] <roede> http://pastebin.ca/1747315 | ||
| [2010/01/11 15:15:30] <roede> bah... thats no good | ||
| [2010/01/11 15:15:55] <joe-mac> isn't ruby like the old kernel dev cycle, any odd minor version numbers means it's not suitable for anything other than testing? | ||
| [2010/01/11 15:16:04] <roede> i dont know anything about ruby... was 1.8 -> 1.9 a major update? | ||
| [2010/01/11 15:16:37] @ Quit: jaredrhine: Read error: 60 (Operation timed out) | ||
| [2010/01/11 15:18:06] <Volcane> yeah big upgrade | ||
| [2010/01/11 15:18:12] <Volcane> lots of backwards incompats | ||
| [2010/01/11 15:18:39] <roede> ah i c. why not call it a major version update then? i.e. 2.x | ||
| [2010/01/11 15:19:06] <roede> well i guess this is gonna be a huge pita to get this to work then, oh well | ||
| [2010/01/11 15:19:25] <Volcane> cos its not really huge on new features afaik, things like native threading is set for 2.0 | ||
| [2010/01/11 15:19:28] <Volcane> 1.9 is nothing like that, its ore evoltionary | ||
| [2010/01/11 15:19:44] <Volcane> more evolutionary even | ||
| [2010/01/11 15:19:48] <Volcane> damn 3g typing | ||
| [2010/01/11 15:20:36] <roede> aha i c... strange that it is considered the stable branch in arch | ||
| [2010/01/11 15:21:10] <Volcane> its stable, doesnt mean its backward compatible | ||
| [2010/01/11 15:21:35] @ pting joined channel #puppet | ||
| [2010/01/11 15:21:43] @ rlpowell left channel #puppet () | ||
| [2010/01/11 15:21:44] <Volcane> when linux went from a.out to elf binaries it didnt mean the future versions were unstable, it meant they were backwards incompatible :) | ||
| [2010/01/11 15:21:55] <roede> right. well, really what i mean is, its strange 1.9.1 got pulled in as a dep for puppet, instead of ruby1.8 | ||
| [2010/01/11 15:22:10] <Volcane> ah | ||
| [2010/01/11 15:22:14] <Volcane> yeah thats a package bug then | ||
| [2010/01/11 15:22:34] <Volcane> debians ruby stuff is a bit of a shambles | ||
| [2010/01/11 15:22:59] <Volcane> often have it happen where you install some ruby app with puppet which then during installing that uninstalls puppet for no apparent reason | ||
| [2010/01/11 15:23:05] <Volcane> extremely infuriating | ||
| [2010/01/11 15:23:13] <roede> yea, i havent really had a good exp. with ruby yet | ||
| [2010/01/11 15:23:59] @ Quit: nexx: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 15:25:00] @ bug joined channel #puppet | ||
| [2010/01/11 15:25:04] @ nexx joined channel #puppet | ||
| [2010/01/11 15:29:12] <lero_> Volcane: i've changed from puppet + mongrel to puppet + passenger | ||
| [2010/01/11 15:29:19] <lero_> but when apache starts, it dies | ||
| [2010/01/11 15:29:25] @ jaredrhine joined channel #puppet | ||
| [2010/01/11 15:29:27] <lero_> http://dpaste.com/143804/ | ||
| [2010/01/11 15:29:44] <lero_> do you have any idea? gonna paste my apache configs | ||
| [2010/01/11 15:30:20] <lero_> httpd.conf: http://dpaste.com/143805/ | ||
| [2010/01/11 15:30:57] <lero_> conf.d/puppetmasterd: http://dpaste.com/143807/ | ||
| [2010/01/11 15:31:42] <lero_> i've already done the steps described here: http://github.com/reductivelabs/puppet/tree/master/ext/rack | ||
| [2010/01/11 15:33:16] <KarlHungus> hrm | ||
| [2010/01/11 15:33:31] <KarlHungus> exec really doesn't like seeing * in the command ;) | ||
| [2010/01/11 15:33:33] @ Djelibeybi joined channel #puppet | ||
| [2010/01/11 15:36:40] @ giskard joined channel #puppet | ||
| [2010/01/11 15:39:10] <joe-mac> KarlHungus: i use * fine | ||
| [2010/01/11 15:40:00] @ flakrat joined channel #puppet | ||
| [2010/01/11 15:41:50] <KarlHungus> joe-mac: ahh. i see what was happening =) it was running the refresh command, then ensure the resource target was created. | ||
| [2010/01/11 15:42:01] <KarlHungus> so the changes aren't taking affect till the second rn | ||
| [2010/01/11 15:43:45] <lero_> anyone using puppet 0.25.x with passenger | ||
| [2010/01/11 15:43:46] <lero_> ? | ||
| [2010/01/11 15:43:53] @ poison joined channel #puppet | ||
| [2010/01/11 15:44:26] @ Quit: crdant: Read error: 110 (Connection timed out) | ||
| [2010/01/11 15:44:47] @ Quit: bug: | ||
| [2010/01/11 15:45:01] <KarlHungus> lero_: i am | ||
| [2010/01/11 15:45:12] <lero_> KarlHungus: redhat? | ||
| [2010/01/11 15:45:18] <KarlHungus> centos, so yeah | ||
| [2010/01/11 15:45:26] <lero_> my apache is dying after i start it | ||
| [2010/01/11 15:45:33] <lero_> Child 11166 returned a Fatal error... Apache is exiting! | ||
| [2010/01/11 15:46:08] <KarlHungus> http://dpaste.com/143816/ | ||
| [2010/01/11 15:46:18] <KarlHungus> there is my conf for puppetmaster | ||
| [2010/01/11 15:47:11] @ Mick27 joined channel #puppet | ||
| [2010/01/11 15:47:35] <lero_> and what about your httpd.conf | ||
| [2010/01/11 15:47:44] <KarlHungus> nothing special | ||
| [2010/01/11 15:48:00] <lero_> the default one? | ||
| [2010/01/11 15:48:05] <KarlHungus> yes | ||
| [2010/01/11 15:48:31] @ Quit: gebi: Read error: 60 (Operation timed out) | ||
| [2010/01/11 15:48:46] <KarlHungus> using an rpm install of mod_passenger-2.2.5-2.el5 and rubygem-passenger-2.2.5-2.el5 | ||
| [2010/01/11 15:49:36] <lero_> hmm | ||
| [2010/01/11 15:49:41] <lero_> i've installed directly from gem | ||
| [2010/01/11 15:49:45] <lero_> i'm using 2.2.9 | ||
| [2010/01/11 15:49:50] <lero_> there's a way to test it? | ||
| [2010/01/11 15:49:59] <lero_> i know nothing about ruby :P | ||
| [2010/01/11 15:50:15] <lero_> i'm stracing the httpd processes, and it seems something related to it | ||
| [2010/01/11 15:52:09] @ Quit: toi: Read error: 60 (Operation timed out) | ||
| [2010/01/11 15:55:40] @ Quit: alban2: Read error: 60 (Operation timed out) | ||
| [2010/01/11 15:56:25] @ bug joined channel #puppet | ||
| [2010/01/11 15:58:02] @ RageLink joined channel #puppet | ||
| [2010/01/11 15:59:15] @ Quit: Mick27: "Leaving" | ||
| [2010/01/11 16:02:59] @ herlo joined channel #puppet | ||
| [2010/01/11 16:04:16] @ tmd joined channel #puppet | ||
| [2010/01/11 16:09:07] @ crdant joined channel #puppet | ||
| [2010/01/11 16:14:02] <herlo> can you specify multiple locations for the $libdir, and if so, how? | ||
| [2010/01/11 16:14:33] <herlo> I've been looking around a bit and it seems that the only way to do this is to put files in the libdir, and not have more than one location. I'm sure I'm missing something though... | ||
| [2010/01/11 16:16:00] <Volcane> why do you want multiple libdirs? | ||
| [2010/01/11 16:18:51] @ lak joined channel #puppet | ||
| [2010/01/11 16:19:51] <herlo> so I can enable puppet_dashboard | ||
| [2010/01/11 16:19:56] <herlo> Volcane: ^^ | ||
| [2010/01/11 16:20:00] <herlo> but not in the normal place | ||
| [2010/01/11 16:20:21] <herlo> per the README there, it recommends you put the path to puppet_dashboard.rb in the $libdirs | ||
| [2010/01/11 16:20:34] @ Quit: poison: Remote closed the connection | ||
| [2010/01/11 16:21:02] @ poison joined channel #puppet | ||
| [2010/01/11 16:21:36] <Volcane> ah, well you can try : sep list but i doubt it wil work | ||
| [2010/01/11 16:22:27] @ bodepd left channel #puppet () | ||
| [2010/01/11 16:23:25] @ nakano_ is now known as nakano | ||
| [2010/01/11 16:23:47] <herlo> yeah, it doesn't | ||
| [2010/01/11 16:23:55] <herlo> I wonder what they were thinking when they suggested this | ||
| [2010/01/11 16:24:27] <Volcane> i dont see the problem | ||
| [2010/01/11 16:24:32] <Volcane> puppet needs to be able to find the report | ||
| [2010/01/11 16:24:36] @ bug_ joined channel #puppet | ||
| [2010/01/11 16:24:37] <Volcane> so it needs to be in the search dir | ||
| [2010/01/11 16:24:48] <herlo> right | ||
| [2010/01/11 16:24:53] <herlo> as in the $libdir right? | ||
| [2010/01/11 16:24:57] <Volcane> yes | ||
| [2010/01/11 16:25:02] <herlo> that's my understanding | ||
| [2010/01/11 16:25:12] <herlo> but when I put the entry in as you noted above, it didn't work | ||
| [2010/01/11 16:25:38] <Volcane> so something like /var/lib/puppet/lib/puppet/reports/foo.rb | ||
| [2010/01/11 16:25:51] <herlo> uh, no | ||
| [2010/01/11 16:26:03] <herlo> I put the entry in /etc/puppet/puppet.conf | ||
| [2010/01/11 16:26:27] <herlo> libdir=/var/lib/puppet/lib:/path/to/puppet-dashboard/lib/puppet | ||
| [2010/01/11 16:26:39] <Volcane> yes, so as i said i dont think : sep list will work but you can try | ||
| [2010/01/11 16:26:41] <Volcane> so now you know it doesnt | ||
| [2010/01/11 16:26:46] <herlo> right | ||
| [2010/01/11 16:26:52] <jb> just stick it in the existing $libdir | ||
| [2010/01/11 16:26:56] <herlo> ugh! | ||
| [2010/01/11 16:26:58] <Volcane> but probably you should have tried: libdir=/var/lib/puppet/lib:/path/to/puppet-dashboard/lib | ||
| [2010/01/11 16:27:13] <herlo> Volcane: oh, okay. I can try that | ||
| [2010/01/11 16:27:25] <herlo> jb: that's painful when the code is in such flux | ||
| [2010/01/11 16:27:30] <herlo> I have to remember an extra step | ||
| [2010/01/11 16:27:36] @ Demosthenes joined channel #puppet | ||
| [2010/01/11 16:27:42] @ Quit: poison: Read error: 60 (Operation timed out) | ||
| [2010/01/11 16:27:46] <Volcane> symlink it | ||
| [2010/01/11 16:28:14] <herlo> yeah, considered that too | ||
| [2010/01/11 16:28:32] <herlo> I think the proper way to do it is my concern | ||
| [2010/01/11 16:28:43] <herlo> symlink seems like a big hack | ||
| [2010/01/11 16:29:21] <herlo> I'm sure it will work that way, but let me try the suggestion you gave first... | ||
| [2010/01/11 16:30:01] <herlo> Volcane: so I am looking at the README a bit further and it clearly recommends that I should add RAILS_ROOT/lib/puppet to the $libdir | ||
| [2010/01/11 16:30:10] <herlo> wonder why... | ||
| [2010/01/11 16:30:12] <Volcane> ah | ||
| [2010/01/11 16:30:19] <Volcane> well then thats probably right | ||
| [2010/01/11 16:30:43] <Volcane> where's the report rb file exactly? | ||
| [2010/01/11 16:32:10] @ jfreeman joined channel #puppet | ||
| [2010/01/11 16:32:30] @ qwebirc32647 joined channel #puppet | ||
| [2010/01/11 16:32:57] <herlo> uh... | ||
| [2010/01/11 16:33:21] <herlo> RAILS_ROOT/lib/puppet/puppet_dashboard.rb | ||
| [2010/01/11 16:33:38] <Volcane> hmm | ||
| [2010/01/11 16:33:54] @ Quit: bug_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 16:34:00] @ qwebirc32647 left channel #puppet () | ||
| [2010/01/11 16:34:00] @ bug__ joined channel #puppet | ||
| [2010/01/11 16:34:08] <Volcane> doesnt seem right to me, but dnot really know dashboard well | ||
| [2010/01/11 16:34:25] <lero_> KarlHungus: i need to point DocumentRoot where my modules live? | ||
| [2010/01/11 16:36:09] <herlo> Volcane: yeah, okay. I'll try your suggestion | ||
| [2010/01/11 16:36:13] @ qwebirc32647 joined channel #puppet | ||
| [2010/01/11 16:36:16] <herlo> if not, I might consider a symlink for now | ||
| [2010/01/11 16:36:21] <herlo> but I don't like bandaids :( | ||
| [2010/01/11 16:36:25] <herlo> thanks | ||
| [2010/01/11 16:36:43] @ Quit: bug: Read error: 110 (Connection timed out) | ||
| [2010/01/11 16:36:44] @ bug__ is now known as bug | ||
| [2010/01/11 16:38:41] <lero_> KarlHungus: now my apache is running | ||
| [2010/01/11 16:38:45] <lero_> but i'm getting this | ||
| [2010/01/11 16:38:45] <lero_> http://dpaste.com/143835/ | ||
| [2010/01/11 16:38:58] <herlo> Volcane: yup, I don't think libdir can be concatenated with a : at all | ||
| [2010/01/11 16:40:22] <Volcane> well the report is in the 'puppet/reports/foo.rb' for Puppet::Reports::Foo | ||
| [2010/01/11 16:40:32] <herlo> true... | ||
| [2010/01/11 16:40:37] <Volcane> which makes me think the report rb in RAILS_ROOT/lib/puppet/puppet_dashboard.rb isnt right | ||
| [2010/01/11 16:40:37] <herlo> so i wonder I it suggests that... | ||
| [2010/01/11 16:40:54] <herlo> well, I think it's a plugin though... | ||
| [2010/01/11 16:41:07] <Volcane> puppet_dashboard.rb is the report processor? | ||
| [2010/01/11 16:41:18] <herlo> yup, it is... | ||
| [2010/01/11 16:41:29] <herlo> says Puppet::Reports.register... | ||
| [2010/01/11 16:41:38] <Volcane> then i doubt its right :) | ||
| [2010/01/11 16:41:39] <herlo> and it's called puppet_dashboard | ||
| [2010/01/11 16:41:40] @ mvn071 joined channel #puppet | ||
| [2010/01/11 16:41:44] <herlo> yeah, I get that now... | ||
| [2010/01/11 16:42:04] <herlo> thanks, that makes more sense | ||
| [2010/01/11 16:43:15] <herlo> says lib/puppet/reports directory is the place, but I bet we could alter that for puppet_dashboard and it would work... | ||
| [2010/01/11 16:45:47] @ Quit: bug: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 16:46:50] @ bug joined channel #puppet | ||
| [2010/01/11 16:47:26] <lero_> Volcane: do you have any idea of this? | ||
| [2010/01/11 16:47:30] <lero_> http://dpaste.com/143835/ | ||
| [2010/01/11 16:47:48] <bitmonk> i disabled the puppet config which modified a particular file, on the puppetmaster, but after a restart of puppetmaster and puppet client, the old modifications to the file are still made.. | ||
| [2010/01/11 16:47:57] @ bug_ joined channel #puppet | ||
| [2010/01/11 16:49:29] @ Quit: kaptk2: "Leaving." | ||
| [2010/01/11 16:50:04] @ Quit: bug: Read error: 54 (Connection reset by peer) | ||
| [2010/01/11 16:50:09] @ Quit: bug_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 16:51:28] @ bug joined channel #puppet | ||
| [2010/01/11 16:53:15] @ labrown joined channel #puppet | ||
| [2010/01/11 16:54:55] @ paxos_ joined channel #puppet | ||
| [2010/01/11 16:57:00] @ Quit: paxos_: Client Quit | ||
| [2010/01/11 16:57:06] @ Quit: crdant: "Leaving." | ||
| [2010/01/11 17:01:01] @ Quit: lero_: Remote closed the connection | ||
| [2010/01/11 17:01:36] @ Quit: jfreeman: Remote closed the connection | ||
| [2010/01/11 17:01:58] @ alban2 joined channel #puppet | ||
| [2010/01/11 17:03:50] @ jfreeman joined channel #puppet | ||
| [2010/01/11 17:05:17] @ Quit: mvn071: Remote closed the connection | ||
| [2010/01/11 17:05:45] @ Quit: lilmatt: Client Quit | ||
| [2010/01/11 17:07:06] @ kaptk2 joined channel #puppet | ||
| [2010/01/11 17:07:16] @ skiold joined channel #puppet | ||
| [2010/01/11 17:07:42] @ Quit: labrown: "Leaving" | ||
| [2010/01/11 17:08:15] @ scyld joined channel #puppet | ||
| [2010/01/11 17:08:16] @ Quit: skiold: Read error: 104 (Connection reset by peer) | ||
| [2010/01/11 17:08:28] @ scyld is now known as skiold | ||
| [2010/01/11 17:12:04] @ Quit: tmd: | ||
| [2010/01/11 17:12:19] @ mmcgrath left channel #puppet () | ||
| [2010/01/11 17:12:58] @ Quit: paxos: Read error: 113 (No route to host) | ||
| [2010/01/11 17:17:47] @ Quit: bug: | ||
| [2010/01/11 17:25:28] @ bug joined channel #puppet | ||
| [2010/01/11 17:33:11] @ lero joined channel #puppet | ||
| [2010/01/11 17:34:03] @ artista joined channel #puppet | ||
| [2010/01/11 17:34:35] @ Quit: lero: Remote closed the connection | ||
| [2010/01/11 17:34:49] @ lero joined channel #puppet | ||
| [2010/01/11 17:36:26] @ lilmatt joined channel #puppet | ||
| [2010/01/11 17:37:43] @ Quit: bjaspan: | ||
| [2010/01/11 17:38:21] @ Quit: artista-frustrad: Read error: 110 (Connection timed out) | ||
| [2010/01/11 17:38:47] @ Quit: themurph: Read error: 60 (Operation timed out) | ||
| [2010/01/11 17:40:48] @ yarihm joined channel #puppet | ||
| [2010/01/11 17:41:40] @ bjaspan joined channel #puppet | ||
| [2010/01/11 17:42:33] <pheezy> can i refresh a notice statement? | ||
| [2010/01/11 17:42:48] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/11 17:42:49] <pheezy> like if a new package version is installed, run that notice again | ||
| [2010/01/11 17:43:23] @ giskard joined channel #puppet | ||
| [2010/01/11 17:43:30] @ Quit: bjaspan: Client Quit | ||
| [2010/01/11 17:43:44] @ Quit: skiold: | ||
| [2010/01/11 17:46:41] @ Quit: ctso: "Leaving." | ||
| [2010/01/11 17:47:42] <KarlHungus> how do you manage exported resources manually? | ||
| [2010/01/11 17:48:55] @ Quit: joe-mac: Remote closed the connection | ||
| [2010/01/11 17:54:07] @ Quit: artista: Read error: 110 (Connection timed out) | ||
| [2010/01/11 17:54:26] <lero> nice | ||
| [2010/01/11 17:54:30] <lero> passenger is working now :) | ||
| [2010/01/11 17:58:43] @ Quit: lak: | ||
| [2010/01/11 17:59:16] @ Quit: giskard: Read error: 113 (No route to host) | ||
| [2010/01/11 18:01:55] @ PaulWay[w] joined channel #puppet | ||
| [2010/01/11 18:08:12] @ Quit: n0ts: Client Quit | ||
| [2010/01/11 18:08:21] @ n0ts joined channel #puppet | ||
| [2010/01/11 18:08:40] @ rsquared is now known as rsquared-out | ||
| [2010/01/11 18:08:56] @ mikerowehl_ joined channel #puppet | ||
| [2010/01/11 18:09:24] @ Quit: mikerowehl: Read error: 60 (Operation timed out) | ||
| [2010/01/11 18:09:24] @ mikerowehl_ is now known as mikerowehl | ||
| [2010/01/11 18:11:43] @ Quit: re_: | ||
| [2010/01/11 18:15:19] @ danielbln1 joined channel #puppet | ||
| [2010/01/11 18:15:19] @ Quit: danielbln: Nick collision from services. | ||
| [2010/01/11 18:15:24] @ danielbln1 is now known as danielbln | ||
| [2010/01/11 18:22:34] @ yarihm_ joined channel #puppet | ||
| [2010/01/11 18:22:49] @ lak joined channel #puppet | ||
| [2010/01/11 18:29:11] @ kaptk2 left channel #puppet () | ||
| [2010/01/11 18:32:37] @ qwebirc32647 left channel #puppet () | ||
| [2010/01/11 18:34:23] @ bjaspan joined channel #puppet | ||
| [2010/01/11 18:34:42] @ M- joined channel #puppet | ||
| [2010/01/11 18:35:03] @ Quit: yarihm: Read error: 110 (Connection timed out) | ||
| [2010/01/11 18:36:31] @ Quit: bug: | ||
| [2010/01/11 18:44:42] @ Quit: pheezy: Remote closed the connection | ||
| [2010/01/11 18:52:20] @ jnewland joined channel #puppet | ||
| [2010/01/11 18:59:13] @ Quit: bobbyz: Read error: 110 (Connection timed out) | ||
| [2010/01/11 19:03:09] <tmz> Is it possible to access puppet variables in custom facts? If so, can someone push me in the right direction? | ||
| [2010/01/11 19:04:07] @ re_ joined channel #puppet | ||
| [2010/01/11 19:05:22] @ Quit: ezmobius: Remote closed the connection | ||
| [2010/01/11 19:05:27] <kjetilho> tmz: I think you want a custom function | ||
| [2010/01/11 19:17:05] @ Quit: bjaspan: | ||
| [2010/01/11 19:18:55] @ ctso joined channel #puppet | ||
| [2010/01/11 19:20:16] <tmz> kjetilho: I'll look at that. It's not possible to access variables set in manifests via custom facts? | ||
| [2010/01/11 19:20:36] <kjetilho> it sounds like a huge layering violation to me | ||
| [2010/01/11 19:21:14] <tmz> Well, I have a variable set in a manifest and another fact that would benefit from using it. Seemed reasonable to me this afternoon. ;) | ||
| [2010/01/11 19:21:42] <kjetilho> facts are evaluated before anything else | ||
| [2010/01/11 19:21:55] @ Quit: jnewland: | ||
| [2010/01/11 19:22:13] <kjetilho> sounds like you might want to use an external classifier instead | ||
| [2010/01/11 19:23:34] <tmz> kjetilho: Thanks. I'll rethink this a bit. | ||
| [2010/01/11 19:24:16] @ bjaspan joined channel #puppet | ||
| [2010/01/11 19:25:38] @ pheezy joined channel #puppet | ||
| [2010/01/11 19:32:09] @ Bevo joined channel #puppet | ||
| [2010/01/11 19:32:51] @ giraffe joined channel #puppet | ||
| [2010/01/11 19:33:08] <Bevo> hey all, im starting to look into exported resources, is there a way to just collect say fqdn's of multiple servers and then put them all in a text file one another server? | ||
| [2010/01/11 19:33:43] <Bevo> for example if a node gets attached to a class i want its host name listed in a file thats put on a seperate server | ||
| [2010/01/11 19:36:26] <whack> Bevo: sure, have an exported file that has content => $fqdn | ||
| [2010/01/11 19:38:00] <Bevo> whack, ok so how do i collect that from the other nodes using @@myhostnames | ||
| [2010/01/11 19:38:01] <Bevo> ? | ||
| [2010/01/11 19:38:52] <Djelibeybi> Bevo: yes | ||
| [2010/01/11 19:39:19] <Djelibeybi> @@host { "${fqdn}": ip => $ipaddress } | ||
| [2010/01/11 19:39:25] <Djelibeybi> Will collect | ||
| [2010/01/11 19:39:36] <whack> ahh that'll work too | ||
| [2010/01/11 19:39:47] <Bevo> Djelibeybi, excellent, thanks guys | ||
| [2010/01/11 19:40:03] <Djelibeybi> Then, to send them to another server: | ||
| [2010/01/11 19:40:13] <Djelibeybi> Host <<| |>> | ||
| [2010/01/11 19:40:23] <Djelibeybi> Will create /etc/hosts entries for all exported machines | ||
| [2010/01/11 19:40:34] <Bevo> Djelibeybi, heh yeah i had that part just wasnt sure about creating the virtual resource | ||
| [2010/01/11 19:40:37] <lero> after migrating to puppet + passenger, i'm getting some strange errors | ||
| [2010/01/11 19:40:42] <lero> Could not parse for environment production: No file(s) found for import of 'authentication' at /etc/puppet/manifests/modules.pp:2 | ||
| [2010/01/11 19:40:54] <lero> but the authentication/manifests/init.pp is there | ||
| [2010/01/11 19:41:19] <Djelibeybi> Bevo: you can export files as well, using content => inline_template() to get info from one machine to another as well | ||
| [2010/01/11 19:41:39] <Bevo> Djelibeybi, noice, cheers | ||
| [2010/01/11 19:42:07] <Djelibeybi> Bevo: for example, file{ "/path/${fqdn}.txt": content => "This is ${fqdn}", tag => "exportedFiles" } | ||
| [2010/01/11 19:42:11] <Djelibeybi> I mean @@file on that | ||
| [2010/01/11 19:42:25] <Djelibeybi> Then, File <<| tag == 'exportedFiles' |>> | ||
| [2010/01/11 19:42:35] <Djelibeybi> Will create /path/fqdn.txt with that content on the target machine | ||
| [2010/01/11 19:42:58] <Djelibeybi> Bevo: see http://reductivelabs.com/trac/puppet/wiki/ExportedResources for more info | ||
| [2010/01/11 19:43:08] @ rmiller4pi81 joined channel #puppet | ||
| [2010/01/11 19:43:16] <Bevo> Djelibeybi, what about if i just want a file /etc/somefile with the contents of 1 line per host that was collected? | ||
| [2010/01/11 19:43:21] @ Quit: rmiller4pi81: Client Quit | ||
| [2010/01/11 19:43:52] <Djelibeybi> Bevo: I'm not sure how to combine data from multiple hosts into a single file, to be honest. | ||
| [2010/01/11 19:45:06] <Bevo> Djelibeybi, i had in my head to collect an array of exported hostnames and write the contents of the array to the file | ||
| [2010/01/11 19:45:34] <giraffe> should i be looking at the augeas type to handle NIS user's secondary group membership in /etc/group ? local group membership is configured as a back door, so adding a new NIS group is out of the question. | ||
| [2010/01/11 19:50:33] @ Quit: pting: Read error: 110 (Connection timed out) | ||
| [2010/01/11 19:57:15] <lero> http://projects.reductivelabs.com/issues/2590 | ||
| [2010/01/11 19:57:16] <lero> :/ | ||
| [2010/01/11 19:57:20] <Djelibeybi> Bevo: yes, I can see the appeal, I'm just not sure how to achieve it or even if it's possible | ||
| [2010/01/11 19:58:09] <Bevo> Djelibeybi, yeah same, thats why i thought i might ask. Cheers for the info | ||
| [2010/01/11 19:58:29] <Djelibeybi> Bevo: you may need to use a custom function/type for that. | ||
| [2010/01/11 19:58:50] <Bevo> Djelibeybi, true, its easy enough to get around fortunately if it turns out to be too difficult | ||
| [2010/01/11 19:59:16] @ Quit: flakrat: Remote closed the connection | ||
| [2010/01/11 19:59:49] @ Quit: jab_doa: "Verlassend" | ||
| [2010/01/11 20:00:30] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out) | ||
| [2010/01/11 20:00:57] <lero> what's the default modulepath of puppet? | ||
| [2010/01/11 20:01:16] @ Quit: danielbln: "Leaving." | ||
| [2010/01/11 20:01:44] <Bevo> Djelibeybi, can collection and exports be in different classes? ie class class1 { @@file { "/etc/cluster_nodes/$hostname": content => "${ipaddress}", require => File["/etc/cluster_nodes"], tag => "exportedClusterNodes" } } class class2 { File <<| tag == 'exportedClusterNodes' |>> } | ||
| [2010/01/11 20:01:56] <Djelibeybi> Bevo: yes | ||
| [2010/01/11 20:02:17] @ Quit: nexx: Read error: 60 (Operation timed out) | ||
| [2010/01/11 20:02:19] <Djelibeybi> Bevo: though, there is a built-in cycle delay | ||
| [2010/01/11 20:02:29] <Bevo> Djelibeybi, i can see the collection in the database but the node thats part of the other class doesnt seem to notice the new resource | ||
| [2010/01/11 20:02:39] @ nexx joined channel #puppet | ||
| [2010/01/11 20:02:43] <Djelibeybi> Bevo: it will only notice on the next run after the config is added | ||
| [2010/01/11 20:03:11] <Bevo> Djelibeybi, i've manually run puppetd --test on one of the nodes then run puppetd --test on the other | ||
| [2010/01/11 20:03:21] <teyo> lero: /etc/puppet/modules | ||
| [2010/01/11 20:03:37] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2010/01/11 20:03:44] <Djelibeybi> Bevo: I have noticed that it sometimes takes 2 runs on the exporting machine before the target sees it | ||
| [2010/01/11 20:04:05] <teyo> lero: you can check it with puppet --configprint modulepath. | ||
| [2010/01/11 20:04:09] <Bevo> Djelibeybi, i've tried several =) | ||
| [2010/01/11 20:04:13] <Djelibeybi> Hmmm | ||
| [2010/01/11 20:04:41] <Djelibeybi> Are you running with --debug on? Can you see it even trying to send down the files? | ||
| [2010/01/11 20:05:12] <Bevo> Djelibeybi, ran it with debug greping for the destination filename and no entries | ||
| [2010/01/11 20:05:33] <Djelibeybi> Bevo: run it without grep | ||
| [2010/01/11 20:05:45] <Djelibeybi> Bevo: there may be an error that doesn't include the full path you expect | ||
| [2010/01/11 20:06:06] <Bevo> Djelibeybi, searched for exported tag, filename, directory...0 | ||
| [2010/01/11 20:07:18] @ Quit: yarihm_: "This computer has gone to sleep" | ||
| [2010/01/11 20:07:37] <teyo> Bevo: For debugging try collecting using the file resources title instead of a tag. | ||
| [2010/01/11 20:08:30] <teyo> Bevo: i.e. File <<| title == '/etc/cluster_nodes'|>> | ||
| [2010/01/11 20:08:31] <Bevo> teyo, how do you mean? | ||
| [2010/01/11 20:08:36] <Bevo> heh | ||
| [2010/01/11 20:09:45] @ Quit: ctso: "Leaving." | ||
| [2010/01/11 20:12:09] <Bevo> Djelibeybi, getting somewhere: notice: //class2/File[/etc/cluster_nodes/server1]/content: defined content as 'unknown checksum | ||
| [2010/01/11 20:12:28] <Bevo> Djelibeybi, when using teyo's suggestion above | ||
| [2010/01/11 20:14:03] @ BarnacleBob joined channel #puppet | ||
| [2010/01/11 20:14:32] <BarnacleBob> so i have pluginsync=true and pluginsource="puppet://foo" and i see puppet sync over a bunch of plugins but its not loading them. any idea whats going on? | ||
| [2010/01/11 20:14:46] <teyo> Bevo: what happens if you don't export the file resource and instead declare the resource normally? | ||
| [2010/01/11 20:16:38] <Bevo> teyo, when using the title it creates the file fine, but just when the tag is used it doesnt get anything | ||
| [2010/01/11 20:16:44] <BarnacleBob> huh | ||
| [2010/01/11 20:16:56] <Bevo> teyo, bbl | ||
| [2010/01/11 20:17:01] <BarnacleBob> when i rm all the plugins off the client on the next run they are downloaded and then loaded, but not loaded after that | ||
| [2010/01/11 20:18:13] @ artista_frustrad joined channel #puppet | ||
| [2010/01/11 20:18:57] @ Quit: WALoeIII: Read error: 60 (Operation timed out) | ||
| [2010/01/11 20:20:30] <eric0> hmmm...can you not do case statements inside a resource definition? | ||
| [2010/01/11 20:21:03] <BarnacleBob> you can do selectors | ||
| [2010/01/11 20:21:23] <BarnacleBob> eric0, http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#selectors | ||
| [2010/01/11 20:21:58] <ohadlevy> morning :) | ||
| [2010/01/11 20:22:17] <eric0> yeah that will get quite repetitive, because name, ensure, and provider all vary per OS | ||
| [2010/01/11 20:22:27] @ bodepd joined channel #puppet | ||
| [2010/01/11 20:22:31] <BarnacleBob> eric0, you can do a case around a few of them | ||
| [2010/01/11 20:22:39] <BarnacleBob> or in the case set variables to use in the define | ||
| [2010/01/11 20:22:45] <eric0> hm i must have some other problem - sec and i'll paste it | ||
| [2010/01/11 20:22:54] <teyo> good morning ohad. | ||
| [2010/01/11 20:23:00] <BarnacleBob> morning ohadlevy | ||
| [2010/01/11 20:23:19] <BarnacleBob> ohadlevy, ever seen facts/plugins only load the first time they are downloaded? | ||
| [2010/01/11 20:23:38] <ohadlevy> on the client or server? | ||
| [2010/01/11 20:23:42] <BarnacleBob> client | ||
| [2010/01/11 20:23:55] <BarnacleBob> client downloads the plugins, loads them fine. next run doesn't even try to load any of them | ||
| [2010/01/11 20:24:31] <ohadlevy> do you change your puppet.conf at that same first time? | ||
| [2010/01/11 20:24:51] <BarnacleBob> i can just go to a machine thats not working, rm the plugins, run puppet and it works fine for that run | ||
| [2010/01/11 20:24:52] <eric0> http://pastie.org/774401 | ||
| [2010/01/11 20:25:04] @ Quit: \ask: Read error: 110 (Connection timed out) | ||
| [2010/01/11 20:25:04] <BarnacleBob> ie it downloads them and loads them | ||
| [2010/01/11 20:25:25] <ohadlevy> do you see anything in puppet debug? | ||
| [2010/01/11 20:25:51] <lero> http://projects.reductivelabs.com/issues/2590 | ||
| [2010/01/11 20:25:55] <lero> i found the solution to this | ||
| [2010/01/11 20:26:01] <ohadlevy> teyo: whats up? are you guys still planning to have another puppet conference? :) | ||
| [2010/01/11 20:26:02] <lero> a workaround to be honest | ||
| [2010/01/11 20:26:34] <lero> i commented the modulepath line and link /var/lib/puppet/modules to /etc/puppet/modules | ||
| [2010/01/11 20:26:36] <lero> hehe | ||
| [2010/01/11 20:26:38] <BarnacleBob> ohadlevy, nothing that shows whats going on. let me paste | ||
| [2010/01/11 20:26:40] <teyo> ohad: yes, in europe. | ||
| [2010/01/11 20:26:54] <ohadlevy> teyo: cool, do you know when already? | ||
| [2010/01/11 20:27:05] <teyo> nope early stages. | ||
| [2010/01/11 20:27:18] <teyo> late spring. | ||
| [2010/01/11 20:27:22] <teyo> likely. | ||
| [2010/01/11 20:27:47] <BarnacleBob> ohadlevy, http://pastie.org/774408 | ||
| [2010/01/11 20:27:58] <BarnacleBob> i'm about to just put an rm in my puppetrun script | ||
| [2010/01/11 20:28:02] <ohadlevy> I guess nothing is planned for asia | ||
| [2010/01/11 20:28:19] <teyo> ohadlevy: probably going to be in belgium. | ||
| [2010/01/11 20:28:51] <teyo> ohadlevy: If we had enough interest in asia we would. | ||
| [2010/01/11 20:29:19] <ohadlevy> teyo: if you want to do it in Munich, I might be able to sponsor a bit (e.g. a place etc) | ||
| [2010/01/11 20:29:33] <eric0> oh sweet belgium | ||
| [2010/01/11 20:29:45] <ohadlevy> but belgium sounds nicer ;) | ||
| [2010/01/11 20:30:10] <teyo> ohadlevy: think we have settled on Belgium for this one. | ||
| [2010/01/11 20:30:22] <BarnacleBob> i wonder if 25.2 fixes this | ||
| [2010/01/11 20:31:21] <ohadlevy> BarnacleBob: on your second run it seems like pluginsync is not enabled | ||
| [2010/01/11 20:31:35] <BarnacleBob> uh | ||
| [2010/01/11 20:31:42] <BarnacleBob> but the puppet.conf is the same for both runs | ||
| [2010/01/11 20:31:46] <ohadlevy> hmm | ||
| [2010/01/11 20:31:55] <BarnacleBob> let me try speficying it on the cmd line | ||
| [2010/01/11 20:32:04] <ohadlevy> oh sorry, I missed the retrieving plugin line | ||
| [2010/01/11 20:32:31] <BarnacleBob> yeah same thing | ||
| [2010/01/11 20:33:03] <BarnacleBob> i might just upgrade to 25.2 to see if it goes away, but thats going to take me all of tomorrow | ||
| [2010/01/11 20:33:18] * BarnacleBob stabs suse in the face | ||
| [2010/01/11 20:34:08] @ jbu joined channel #puppet | ||
| [2010/01/11 20:34:14] @ jbu is now known as tjoe | ||
| [2010/01/11 20:36:17] <teyo> BarnacleBob: Read the change log first. I don't recall seeing that as a bug fix. There are plenty of other reasons to upgrade to 0.25.2, but I don't think your issue is one of them. | ||
| [2010/01/11 20:36:43] <BarnacleBob> right, well i do have one issue i need 25.2 to fix | ||
| [2010/01/11 20:36:45] <BarnacleBob> so might as well | ||
| [2010/01/11 20:37:15] <BarnacleBob> hrm | ||
| [2010/01/11 20:37:25] <BarnacleBob> well i think i'll check back tomorrow when there is more people active | ||
| [2010/01/11 20:37:38] <BarnacleBob> also almost time to go home | ||
| [2010/01/11 20:38:23] <teyo> BarnacleBob: ping me if you don't get an answer. | ||
| [2010/01/11 20:38:39] <BarnacleBob> k | ||
| [2010/01/11 20:38:51] <teyo> teyo: direct message growl at me:) | ||
| [2010/01/11 20:39:23] <teyo> s/message/messages/ | ||
| [2010/01/11 20:40:20] @ unxfrek joined channel #puppet | ||
| [2010/01/11 20:40:51] @ yarihm_ joined channel #puppet | ||
| [2010/01/11 20:42:31] @ nwp joined channel #puppet | ||
| [2010/01/11 20:43:43] <BarnacleBob> hrm | ||
| [2010/01/11 20:43:51] <BarnacleBob> it looks like it doesn't load it unless it downloads it | ||
| [2010/01/11 20:43:52] <BarnacleBob> in the code | ||
| [2010/01/11 20:44:22] <ohadlevy> BarnacleBob: where are you looking at? | ||
| [2010/01/11 20:44:45] @ Quit: p3rror: "أستودعكم الله" | ||
| [2010/01/11 20:45:06] <BarnacleBob> /usr/lib/ruby/1.8/puppet/configurer/plugin_handler.rb | ||
| [2010/01/11 20:45:09] @ Quit: n0ts: Client Quit | ||
| [2010/01/11 20:45:19] @ n0ts joined channel #puppet | ||
| [2010/01/11 20:45:40] <BarnacleBob> yup | ||
| [2010/01/11 20:45:42] <BarnacleBob> clearly broken | ||
| [2010/01/11 20:45:43] <BarnacleBob> awesome | ||
| [2010/01/11 20:46:19] <BarnacleBob> i think | ||
| [2010/01/11 20:46:22] * ohadlevy is looking forward to 0.25.3 with fixes for RHE3-4 and I guess what BarnacleBob just found ;) | ||
| [2010/01/11 20:46:25] <BarnacleBob> my ruby is pretty bad | ||
| [2010/01/11 20:46:36] <BarnacleBob> i'm going to have to patch this problem | ||
| [2010/01/11 20:46:36] <ohadlevy> BarnacleBob: I'm updating my puppet repo, will look in a sec | ||
| [2010/01/11 20:46:47] <BarnacleBob> it breaks my virtual machines | ||
| [2010/01/11 20:46:50] <teyo> they should be loaded on demand. | ||
| [2010/01/11 20:47:07] <BarnacleBob> hrm | ||
| [2010/01/11 20:47:09] <BarnacleBob> yeah it looks like it | ||
| [2010/01/11 20:47:23] <BarnacleBob> but if evaluate doesn't actually return the list of plugins if it doesn't download them | ||
| [2010/01/11 20:47:26] <BarnacleBob> they won't be loaded | ||
| [2010/01/11 20:47:26] <teyo> BarnacleBob: do you have a simple fact that you can test with? | ||
| [2010/01/11 20:47:40] <BarnacleBob> all my plugins are simple | ||
| [2010/01/11 20:47:51] <BarnacleBob> none of them load | ||
| [2010/01/11 20:48:49] <teyo> BarnacleBob: k, give me an example of the single fact and the directory structure where it originates. | ||
| [2010/01/11 20:49:55] <BarnacleBob> i got the bug | ||
| [2010/01/11 20:50:02] <BarnacleBob> trans.changed?.find_all do |resource| | ||
| [2010/01/11 20:50:02] <BarnacleBob> yield resource if block_given? | ||
| [2010/01/11 20:50:12] <BarnacleBob> only applies the block for the "plugin" type if its changed | ||
| [2010/01/11 20:50:23] <BarnacleBob> but plugins need to be loaded each time | ||
| [2010/01/11 20:50:45] <BarnacleBob> i'll write up a clean reproduceable example tomorrow | ||
| [2010/01/11 20:51:00] <teyo> BarnacleBob: Everytime there is a run there is a forced load, on demand the rest of the time. | ||
| [2010/01/11 20:51:15] <BarnacleBob> teyo, do you know where? cause i don't see that code anywhere | ||
| [2010/01/11 20:52:10] <teyo> BarnacleBob: That is why I am asking about the where the facts originate, basically plugins are just placed in the rubylib so that the can be found on demand. | ||
| [2010/01/11 20:52:34] <BarnacleBob> my facts are in plugins | ||
| [2010/01/11 20:52:38] <BarnacleBob> plugins are depricated | ||
| [2010/01/11 20:52:47] <BarnacleBob> i sync mine from a specific filemount tho | ||
| [2010/01/11 20:53:10] <BarnacleBob> er | ||
| [2010/01/11 20:53:11] <BarnacleBob> sorry | ||
| [2010/01/11 20:53:12] @ Quit: lak: | ||
| [2010/01/11 20:53:15] <BarnacleBob> facts are depricated | ||
| [2010/01/11 20:53:16] <BarnacleBob> or some such | ||
| [2010/01/11 20:53:21] <teyo> BarnacleBob: ah so not in modules. | ||
| [2010/01/11 20:53:56] <BarnacleBob> no cause we migrated from old file layouts | ||
| [2010/01/11 20:54:22] <BarnacleBob> and i would really not want to put them into our module structure as it is now | ||
| [2010/01/11 20:54:38] @ Quit: yarihm_: "This computer has gone to sleep" | ||
| [2010/01/11 20:54:42] @ Quit: M-: "This computer has gone to sleep" | ||
| [2010/01/11 21:01:01] <teyo> BarnacleBob: Ping me tomorrow when we can investigate it more closely. | ||
| [2010/01/11 21:02:01] <BarnacleBob> yeah will do | ||
| [2010/01/11 21:03:12] @ Quit: cynicismic: Remote closed the connection | ||
| [2010/01/11 21:09:27] @ Quit: artista_frustrad: Read error: 60 (Operation timed out) | ||
| [2010/01/11 21:10:25] @ Quit: pheezy: Remote closed the connection | ||
| [2010/01/11 21:10:44] @ maxagaz joined channel #puppet | ||
| [2010/01/11 21:11:20] @ Quit: Shazburg: Read error: 60 (Operation timed out) | ||
| [2010/01/11 21:11:30] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2010/01/11 21:12:50] @ Quit: teyo: | ||
| [2010/01/11 21:14:15] @ Shazburg joined channel #puppet | ||
| [2010/01/11 21:22:35] @ Quit: jaredrhine: Read error: 113 (No route to host) | ||
| [2010/01/11 21:25:57] <gepetto> ::trac:: Downloading Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet?version=102 | ||
| [2010/01/11 21:26:04] <re_> anyone know why notice("blah") doesn't seem to work in 0.25.1? I should see it output a notice when running puppetd --test, right? | ||
| [2010/01/11 21:26:57] <kjetilho> no | ||
| [2010/01/11 21:27:13] <kjetilho> it's in the puppetmaster's logs | ||
| [2010/01/11 21:27:25] @ Quit: alexine_dsouza: Read error: 54 (Connection reset by peer) | ||
| [2010/01/11 21:27:44] <re_> ahh ty | ||
| [2010/01/11 21:37:27] <gepetto> ::trac:: Development/Code Names edited @ http://reductivelabs.com/trac/puppet/wiki/Development/CodeNames?version=25 | ||
| [2010/01/11 21:37:27] <gepetto> ::trac:: Type Reference edited @ http://reductivelabs.com/trac/puppet/wiki/TypeReference?version=42 | ||
| [2010/01/11 21:43:52] <gepetto> ::trac:: Nagios Reference edited @ http://reductivelabs.com/trac/puppet/wiki/NagiosReference?version=2 | ||
| [2010/01/11 21:54:18] <gepetto> ::trac:: Type Reference edited @ http://reductivelabs.com/trac/puppet/wiki/TypeReference?version=43 | ||
| [2010/01/11 21:54:18] <gepetto> ::trac:: Configuration Reference edited @ http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference?version=41 | ||
| [2010/01/11 21:58:25] @ Quit: bjaspan: | ||
| [2010/01/11 22:00:45] @ Quit: lero: Remote closed the connection | ||
| [2010/01/11 22:01:14] @ Quit: unxfrek: "Leaving" | ||
| [2010/01/11 22:04:35] @ ctso joined channel #puppet | ||
| [2010/01/11 22:07:07] @ M- joined channel #puppet | ||
| [2010/01/11 22:22:57] @ pheezy joined channel #puppet | ||
| [2010/01/11 22:25:36] @ artista-frustrad joined channel #puppet | ||
| [2010/01/11 22:28:00] @ jaredrhine joined channel #puppet | ||
| [2010/01/11 22:29:39] <gepetto> ::trac:: Downloading Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet?version=103 | ||
| [2010/01/11 22:29:39] <gepetto> ::trac:: Downloading Puppet edited @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet?version=104 | ||
| [2010/01/11 22:33:54] @ Quit: pheezy: Remote closed the connection | ||
| [2010/01/11 22:34:16] @ pheezy joined channel #puppet | ||
| [2010/01/11 22:36:15] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/11 22:39:23] @ Mode +o jamesturnbull by ChanServ | ||
| [2010/01/11 22:39:58] @ jamesturnbull set topic "Puppet 0.25.3 released - http://tinyurl.com/puppet0253 | Log bugs and feature requests at http://tinyurl.com/46ryk7" | ||
| [2010/01/11 22:40:06] @ Mode -o jamesturnbull by ChanServ | ||
| [2010/01/11 22:44:25] @ Quit: artista-frustrad: Success | ||
| [2010/01/11 22:45:47] @ Quit: ajf-: Read error: 60 (Operation timed out) | ||
| [2010/01/11 22:50:34] <gepetto> ::trac:: Release Notes edited @ http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes?version=54 | ||
| [2010/01/11 22:52:44] @ Quit: jes5: "Leaving." | ||
| [2010/01/11 22:56:48] @ Quit: mqr: | ||
| [2010/01/11 22:58:36] @ WALoeIII joined channel #puppet | ||
| [2010/01/11 22:59:32] @ teyo joined channel #puppet | ||
| [2010/01/11 23:05:39] @ ajf- joined channel #puppet | ||
| [2010/01/11 23:10:38] @ Quit: bodepd: | ||
| [2010/01/11 23:11:17] @ Quit: RageLink: "up up and away" | ||
| [2010/01/11 23:16:39] @ artista-frustrad joined channel #puppet | ||
| [2010/01/11 23:27:43] <re_> is it possible to have a file that's ensure => directory pull files from multiple sources? | ||
| [2010/01/11 23:32:17] @ vorlon2261 joined channel #puppet | ||
| [2010/01/11 23:32:24] <re_> the answer is yes, by using sourceselect => all | ||
| [2010/01/11 23:33:44] @ bodepd joined channel #puppet | ||
| [2010/01/11 23:34:19] @ artista joined channel #puppet | ||
| [2010/01/11 23:35:30] @ Quit: artista-frustrad: Read error: 110 (Connection timed out) | ||
| [2010/01/11 23:42:09] @ jes5 joined channel #puppet | ||
| [2010/01/11 23:45:57] @ vorlon2261 left channel #puppet () | ||
| [2010/01/11 23:49:28] @ mqr joined channel #puppet | ||
| [2010/01/11 23:57:51] @ artista-frustrad joined channel #puppet |
Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!