| [2011/10/25 00:00:10] @ Log started by gepetto | ||
| [2011/10/25 00:00:10] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/25 00:00:50] @ Ramonster joined channel #puppet | ||
| [2011/10/25 00:01:41] @ MattyM joined channel #puppet | ||
| [2011/10/25 00:02:06] @ Quit: ecolitan: Read error: Connection reset by peer | ||
| [2011/10/25 00:03:02] @ nul0op joined channel #puppet | ||
| [2011/10/25 00:04:05] @ Quit: beddari: Ping timeout: 244 seconds | ||
| [2011/10/25 00:06:15] @ pmorillon joined channel #puppet | ||
| [2011/10/25 00:06:35] @ `aimka` joined channel #puppet | ||
| [2011/10/25 00:07:23] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/25 00:07:30] @ ckauhaus joined channel #puppet | ||
| [2011/10/25 00:08:44] @ zorg1 joined channel #puppet | ||
| [2011/10/25 00:10:01] @ Quit: pugnacity: Read error: No route to host | ||
| [2011/10/25 00:10:13] @ pugnacity joined channel #puppet | ||
| [2011/10/25 00:13:34] @ los324 joined channel #puppet | ||
| [2011/10/25 00:14:18] @ Quit: zorg1: Quit: Leaving | ||
| [2011/10/25 00:16:28] <mpdude> jamesturnbull: thanks for the info! so i'll go ahead and move the code I need from util/ into the distributed fact itself until that get's fixed | ||
| [2011/10/25 00:16:42] @ Quit: mosen: Quit: Leaving | ||
| [2011/10/25 00:17:17] <crayfishx> yay, not using certdnsnames anywhere, was dreading having my entire (already busy) day sorting that one out. | ||
| [2011/10/25 00:17:35] @ raphdg joined channel #puppet | ||
| [2011/10/25 00:17:51] <crayfishx> I presume Im right in thinking that if we are, and never have been, using certdnsnames then we're fine? | ||
| [2011/10/25 00:18:00] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/10/25 00:18:11] @ larstobi joined channel #puppet | ||
| [2011/10/25 00:18:21] @ Quit: sticky: Remote host closed the connection | ||
| [2011/10/25 00:18:27] @ sticky joined channel #puppet | ||
| [2011/10/25 00:20:22] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/10/25 00:22:44] @ gaveen joined channel #puppet | ||
| [2011/10/25 00:22:44] @ Quit: gaveen: Changing host | ||
| [2011/10/25 00:22:44] @ gaveen joined channel #puppet | ||
| [2011/10/25 00:24:12] @ Quit: Ryan_Lane: Quit: Leaving. | ||
| [2011/10/25 00:27:31] @ djambar joined channel #puppet | ||
| [2011/10/25 00:29:12] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/10/25 00:30:48] @ Quit: sticky: Ping timeout: 240 seconds | ||
| [2011/10/25 00:31:00] @ Quit: v: Ping timeout: 255 seconds | ||
| [2011/10/25 00:31:19] @ v joined channel #puppet | ||
| [2011/10/25 00:31:27] @ Quit: wooster: Ping timeout: 255 seconds | ||
| [2011/10/25 00:31:28] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/10/25 00:32:44] @ EL84 left channel #puppet () | ||
| [2011/10/25 00:35:22] @ wooster joined channel #puppet | ||
| [2011/10/25 00:36:33] @ sticky joined channel #puppet | ||
| [2011/10/25 00:36:57] @ Quit: KaZeR_W: Remote host closed the connection | ||
| [2011/10/25 00:37:41] @ KaZeR_W joined channel #puppet | ||
| [2011/10/25 00:38:14] @ Quit: drags: Read error: Operation timed out | ||
| [2011/10/25 00:39:16] @ Quit: iFire: Quit: No Ping reply in 180 seconds. | ||
| [2011/10/25 00:39:18] @ Vasik|work joined channel #puppet | ||
| [2011/10/25 00:39:25] @ Quit: djmitche: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/10/25 00:39:26] @ fir31ight joined channel #puppet | ||
| [2011/10/25 00:39:38] @ drags joined channel #puppet | ||
| [2011/10/25 00:39:42] @ djmitche joined channel #puppet | ||
| [2011/10/25 00:39:57] @ iFire joined channel #puppet | ||
| [2011/10/25 00:40:04] @ stni joined channel #puppet | ||
| [2011/10/25 00:40:04] @ davincicode joined channel #puppet | ||
| [2011/10/25 00:40:39] <stni> hello guys, can anyone help me with some problems with Dashboard installation? | ||
| [2011/10/25 00:40:49] @ Quit: davincicode: Client Quit | ||
| [2011/10/25 00:41:14] @ pisco joined channel #puppet | ||
| [2011/10/25 00:42:31] @ Quit: silentg: Quit: Leaving. | ||
| [2011/10/25 00:42:38] @ jes-o-mat left channel #puppet () | ||
| [2011/10/25 00:43:06] @ MartVisser joined channel #puppet | ||
| [2011/10/25 00:43:17] @ Quit: jodok: Read error: Connection reset by peer | ||
| [2011/10/25 00:43:41] @ jodok joined channel #puppet | ||
| [2011/10/25 00:43:41] @ Quit: jodok: Changing host | ||
| [2011/10/25 00:43:41] @ jodok joined channel #puppet | ||
| [2011/10/25 00:44:35] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/10/25 00:46:24] @ skm joined channel #puppet | ||
| [2011/10/25 00:47:31] @ maes_` joined channel #puppet | ||
| [2011/10/25 00:49:36] @ Quit: maes_: Ping timeout: 248 seconds | ||
| [2011/10/25 00:49:48] @ Quit: stni: Quit: Page closed | ||
| [2011/10/25 00:50:52] @ Quit: cyflea: Ping timeout: 265 seconds | ||
| [2011/10/25 00:51:05] @ jaervosz joined channel #puppet | ||
| [2011/10/25 00:53:20] <dcarley> crayfishx: s/are/aren't/; yeah | ||
| [2011/10/25 00:54:00] <crayfishx> dcarley: early morning typing :) | ||
| [2011/10/25 00:54:01] <crayfishx> cool | ||
| [2011/10/25 00:55:45] @ Quit: Amto_res: Ping timeout: 244 seconds | ||
| [2011/10/25 00:55:52] @ Quit: PhilK: Excess Flood | ||
| [2011/10/25 00:56:14] @ sihil joined channel #puppet | ||
| [2011/10/25 00:56:40] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/10/25 00:56:47] @ PhilK joined channel #puppet | ||
| [2011/10/25 00:59:54] @ Quit: sdog: Ping timeout: 258 seconds | ||
| [2011/10/25 01:02:47] @ mogitaff joined channel #puppet | ||
| [2011/10/25 01:04:13] @ Quit: olof: Ping timeout: 240 seconds | ||
| [2011/10/25 01:04:39] @ j-w joined channel #puppet | ||
| [2011/10/25 01:05:04] @ skm joined channel #puppet | ||
| [2011/10/25 01:06:50] <j-w> i feel a bit stupid not finding the answer, maybe someone of you has a hint? I just did an apt-get upgrade of my Ubuntu Lucid based machine. I use puppetlabs' apt sources to get the puppet-dashboard, which it tried to upgrade to 1.2.2rc2. This upgrade was not succesful as the puppet-dashboard would not start anymore. | ||
| [2011/10/25 01:07:16] <j-w> some error with: undefined method `requirement' for #<Rails::GemDependency:0x7f35db6e4a20> (NoMethodError) | ||
| [2011/10/25 01:07:53] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/10/25 01:08:38] @ jaytaph joined channel #puppet | ||
| [2011/10/25 01:09:48] @ EL84 joined channel #puppet | ||
| [2011/10/25 01:11:09] @ jbraeuer joined channel #puppet | ||
| [2011/10/25 01:11:26] @ larstobi joined channel #puppet | ||
| [2011/10/25 01:11:35] <nevyn> so inside a resource I need to specialcase provider for one platform | ||
| [2011/10/25 01:11:52] <nevyn> but it appears that I can't have if inside a resource? | ||
| [2011/10/25 01:11:54] <nevyn> ie... | ||
| [2011/10/25 01:12:25] <j-w> i had hoped the apt-sources would be fairly stable, not sure where to start debugging this. anyone a clue? | ||
| [2011/10/25 01:14:04] <nevyn> http://paste.debian.net/139651/ has the resource I'm having trouble with. | ||
| [2011/10/25 01:15:43] @ ingarS joined channel #puppet | ||
| [2011/10/25 01:16:42] @ Quit: mogitaff: Ping timeout: 260 seconds | ||
| [2011/10/25 01:17:01] <Dominic> nevyn: you could try something like this, setting provider to undef unless it's Solaris: http://paste.debian.net/139652/ | ||
| [2011/10/25 01:17:15] @ Quit: sihil: Quit: Leaving... | ||
| [2011/10/25 01:17:51] @ Quit: Stenbryggen1: Quit: Leaving. | ||
| [2011/10/25 01:17:59] @ jonhattan joined channel #puppet | ||
| [2011/10/25 01:19:13] <nevyn> Dominic: is there a way to refer to the detected provider? | ||
| [2011/10/25 01:19:22] <nevyn> or does undef do that? | ||
| [2011/10/25 01:19:59] @ trickyf joined channel #puppet | ||
| [2011/10/25 01:22:08] @ olof joined channel #puppet | ||
| [2011/10/25 01:26:44] @ lynn joined channel #puppet | ||
| [2011/10/25 01:26:48] <nevyn> Dominic: thanks that works (which is what I'd reverted to every other time but because provider is evaluated at runtime by puppetd I didn't know about undef | ||
| [2011/10/25 01:28:01] <lynn> ? | ||
| [2011/10/25 01:28:08] @ lynn left channel #puppet () | ||
| [2011/10/25 01:30:41] @ Quit: tilgovi: Ping timeout: 252 seconds | ||
| [2011/10/25 01:32:07] @ Quit: chewie_: Remote host closed the connection | ||
| [2011/10/25 01:32:35] @ Quit: mauve_: Ping timeout: 256 seconds | ||
| [2011/10/25 01:32:52] @ Quit: hi2u: Ping timeout: 258 seconds | ||
| [2011/10/25 01:32:57] @ hi2u joined channel #puppet | ||
| [2011/10/25 01:33:47] <Dominic> nevyn: good, undef just means the same as the resource parameter not being specified.. so it should revert to the detected one in this case, or for other parameters as if you hadn't specified it. | ||
| [2011/10/25 01:34:24] @ Quit: nul0op: Ping timeout: 248 seconds | ||
| [2011/10/25 01:34:25] @ Razique joined channel #puppet | ||
| [2011/10/25 01:34:39] @ nul0op joined channel #puppet | ||
| [2011/10/25 01:35:11] @ AikiLinux|home joined channel #puppet | ||
| [2011/10/25 01:35:21] @ AikiLinux|home left channel #puppet () | ||
| [2011/10/25 01:37:17] @ Quit: hi2u: Ping timeout: 252 seconds | ||
| [2011/10/25 01:37:36] @ hi2u joined channel #puppet | ||
| [2011/10/25 01:40:12] <nevyn> so given I have a solaris default provider of pkgutil | ||
| [2011/10/25 01:40:13] @ krak3n joined channel #puppet | ||
| [2011/10/25 01:40:43] <nevyn> I don't really need the $operatingsystem ? { I could just set default => undef instead of default => pkgutil | ||
| [2011/10/25 01:43:32] <Dominic> nevyn: indeed | ||
| [2011/10/25 01:46:10] <j-w> hmm, i actually found a pastebin from someone else, that looks exactly like the error I see when I try to restart puppet-dashboard: http://pastebin.com/nTkrTH6u | ||
| [2011/10/25 01:46:31] <nevyn> so I have a provider in a module for pkgutil. | ||
| [2011/10/25 01:46:35] <j-w> too bad the pastbin has no reference to the original context | ||
| [2011/10/25 01:46:59] <nevyn> puppet seems to forget about the provider in the module. | ||
| [2011/10/25 01:47:48] @ k4nu1 joined channel #puppet | ||
| [2011/10/25 01:48:17] <nevyn> http://paste.debian.net/139659/ | ||
| [2011/10/25 01:48:42] @ Quit: ingarS: Remote host closed the connection | ||
| [2011/10/25 01:48:44] <nevyn> if I rm the /opt/csw/var/puppet/lib/puppet/pkgutil.rb and then re-run puppetd it's all happy | ||
| [2011/10/25 01:48:50] <nevyn> but this is an old version of puppet... | ||
| [2011/10/25 01:51:45] @ Quit: k4nu1: Max SendQ exceeded | ||
| [2011/10/25 01:52:44] @ k4nu1 joined channel #puppet | ||
| [2011/10/25 01:53:11] @ Quit: k4nu1: Max SendQ exceeded | ||
| [2011/10/25 01:53:32] @ k4nu1 joined channel #puppet | ||
| [2011/10/25 01:53:45] @ Quit: k4nu1: Max SendQ exceeded | ||
| [2011/10/25 01:54:14] @ Quit: toi: Quit: Leaving | ||
| [2011/10/25 01:54:58] @ k4nu1 joined channel #puppet | ||
| [2011/10/25 01:55:20] @ Quit: k4nu1: Max SendQ exceeded | ||
| [2011/10/25 01:55:49] @ Stenbryggen joined channel #puppet | ||
| [2011/10/25 01:56:29] @ k4nu1 joined channel #puppet | ||
| [2011/10/25 01:56:37] @ Quit: k4nu1: Client Quit | ||
| [2011/10/25 01:58:22] @ nimrod10` joined channel #puppet | ||
| [2011/10/25 02:00:41] @ dnjaramba joined channel #puppet | ||
| [2011/10/25 02:00:58] @ chewie_ joined channel #puppet | ||
| [2011/10/25 02:01:03] @ Quit: nimrod10: Ping timeout: 258 seconds | ||
| [2011/10/25 02:02:32] @ beddari joined channel #puppet | ||
| [2011/10/25 02:02:33] @ Holocaine joined channel #puppet | ||
| [2011/10/25 02:02:59] @ beddari left channel #puppet () | ||
| [2011/10/25 02:03:20] @ sdog joined channel #puppet | ||
| [2011/10/25 02:04:02] @ Quit: colon_D: Ping timeout: 260 seconds | ||
| [2011/10/25 02:04:38] @ ukd1 joined channel #puppet | ||
| [2011/10/25 02:04:50] @ MattyM joined channel #puppet | ||
| [2011/10/25 02:06:12] @ Quit: elasticdog: Read error: Operation timed out | ||
| [2011/10/25 02:06:15] @ Quit: skm: Read error: Connection reset by peer | ||
| [2011/10/25 02:06:53] @ elasticdog joined channel #puppet | ||
| [2011/10/25 02:07:22] @ Quit: sdog: Changing host | ||
| [2011/10/25 02:07:22] @ sdog joined channel #puppet | ||
| [2011/10/25 02:16:14] @ skm joined channel #puppet | ||
| [2011/10/25 02:18:57] @ bobra joined channel #puppet | ||
| [2011/10/25 02:19:33] @ mogitaff joined channel #puppet | ||
| [2011/10/25 02:21:15] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/10/25 02:24:40] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/10/25 02:25:12] @ Quit: hi2u: Ping timeout: 240 seconds | ||
| [2011/10/25 02:26:49] @ Quit: ukd1: Quit: Lost terminal | ||
| [2011/10/25 02:28:24] <Vide> hi, i have classA including classB, and classB (with defineB defining a fileB) including classC. I declare defineB in classA and in classC I require fileB, and the require throws me an error. the manifest should include all, I don't get this error. | ||
| [2011/10/25 02:28:59] <crayfishx> Vide: I think a pastie may be easier to follow :) | ||
| [2011/10/25 02:29:32] <Vide> crayfishx, the problem is that it's scattered in a lot of files... I'll try to create a paste anyway | ||
| [2011/10/25 02:29:32] <crayfishx> including the errir | ||
| [2011/10/25 02:30:15] @ toi joined channel #puppet | ||
| [2011/10/25 02:34:43] <Vide> crayfishx, http://pastebin.com/c26YNXAr | ||
| [2011/10/25 02:34:49] <Vide> it should be everything | ||
| [2011/10/25 02:36:12] @ brtl joined channel #puppet | ||
| [2011/10/25 02:36:51] <jedi4ever> hi, i'm trying to find a way to have my package apply the apt-get --force-yes. Ideas? | ||
| [2011/10/25 02:38:08] <Spads> jedi4ever: specify a version | ||
| [2011/10/25 02:38:49] <crayfishx> Vide: as a side note, how do you find mmm? We played with that in 2008/9 and found it pretty frutstrating. | ||
| [2011/10/25 02:39:48] <jedi4ever> Spads: puppet version 2.7.6 , debian squeeze | ||
| [2011/10/25 02:39:52] @ andyhold joined channel #puppet | ||
| [2011/10/25 02:40:53] <Spads> jedi4ever: nono, ensure => 2.4.2 for example | ||
| [2011/10/25 02:41:01] <Spads> jedi4ever: that will do all kinds of horrifying --force-yes options | ||
| [2011/10/25 02:41:14] <j-w> i guess, my problem is described in this issue: projects.puppetlabs.com/issues/8800 | ||
| [2011/10/25 02:42:16] <Vide> crayfishx, quite cool even if it has some strange behaviors in corner cases | ||
| [2011/10/25 02:42:32] <Vide> like when the agent is not responding correctly | ||
| [2011/10/25 02:42:45] <jedi4ever> Spads: hm then I have to pin the version, will ensure => latest work as well? | ||
| [2011/10/25 02:43:40] <Vide> i mean, the monitor relies way too much on the agent sanity, if something goes wrong with an agent, you can have the monito simply stuck waiting for the agent, and you can't do anything at all | ||
| [2011/10/25 02:43:54] <crayfishx> Vide: we dumped it :) | ||
| [2011/10/25 02:44:08] <crayfishx> but that was 3 years ago | ||
| [2011/10/25 02:44:11] <crayfishx> anyway.... | ||
| [2011/10/25 02:45:49] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/25 02:46:07] @ Quit: MattyM: Read error: Operation timed out | ||
| [2011/10/25 02:46:49] <Vide> well it has improved from 2008, don't know when 2.x was published | ||
| [2011/10/25 02:47:06] <Vide> crayfishx, anyway, do you see something strange in my classes? | ||
| [2011/10/25 02:47:56] @ danikov joined channel #puppet | ||
| [2011/10/25 02:48:35] @ itguru joined channel #puppet | ||
| [2011/10/25 02:48:36] @ Quit: itguru: Changing host | ||
| [2011/10/25 02:48:36] @ itguru joined channel #puppet | ||
| [2011/10/25 02:49:23] <Spads> jedi4ever: even ensure => installed does some kind of --yes options | ||
| [2011/10/25 02:49:54] <crayfishx> Vide: are all the classes being included? | ||
| [2011/10/25 02:53:27] @ Quit: bronto: Quit: Leaving. | ||
| [2011/10/25 02:55:08] <Vide> crayfishx, I guess so... mysql_mmm::common is included by mysql_mmm::agent | ||
| [2011/10/25 02:55:53] <Vide> and mysql::agent is included by roles::mmm_db_extra where I define mysql_mmm::common::config | ||
| [2011/10/25 02:56:24] @ Espen-_o joined channel #puppet | ||
| [2011/10/25 02:56:45] @ rsnhyperion joined channel #puppet | ||
| [2011/10/25 02:57:04] <crayfishx> Vide: you are requiring a resource from within the definition | ||
| [2011/10/25 02:57:06] @ Quit: rsnhyperion: Read error: Connection reset by peer | ||
| [2011/10/25 02:57:13] @ Quit: gebi: Ping timeout: 252 seconds | ||
| [2011/10/25 02:57:19] <crayfishx> oh wait hang on | ||
| [2011/10/25 02:57:21] @ rsnhyperion joined channel #puppet | ||
| [2011/10/25 02:58:01] <Vide> http://pastebin.com/Er3XcfgP < new paste with expiry 1 day (the other had 1 hour) | ||
| [2011/10/25 02:59:12] @ sihil joined channel #puppet | ||
| [2011/10/25 02:59:53] @ Quit: jbraeuer: Ping timeout: 260 seconds | ||
| [2011/10/25 03:00:36] @ Quit: bmahe: Remote host closed the connection | ||
| [2011/10/25 03:03:42] @ Quit: choonming: Quit: Leaving | ||
| [2011/10/25 03:05:21] @ bronto joined channel #puppet | ||
| [2011/10/25 03:07:50] @ Quit: bobra: Quit: Leaving. | ||
| [2011/10/25 03:08:14] @ rocket joined channel #puppet | ||
| [2011/10/25 03:08:19] @ Quit: Recourse: Quit: Ouch! | ||
| [2011/10/25 03:08:29] @ Quit: mogitaff: Quit: Leaving | ||
| [2011/10/25 03:08:35] @ Quit: AshishH: Ping timeout: 252 seconds | ||
| [2011/10/25 03:08:47] @ Recourse_ joined channel #puppet | ||
| [2011/10/25 03:08:48] @ Recourse_ is now known as Recourse | ||
| [2011/10/25 03:09:43] @ bronto left channel #puppet () | ||
| [2011/10/25 03:13:03] @ Quit: bettydre1mit: Quit: Lost terminal | ||
| [2011/10/25 03:14:20] @ mogitaff joined channel #puppet | ||
| [2011/10/25 03:15:49] @ Quit: rocket: Ping timeout: 240 seconds | ||
| [2011/10/25 03:19:52] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/10/25 03:20:22] @ octane- joined channel #puppet | ||
| [2011/10/25 03:21:46] <Vide> crayfishx, I'm requiring the file from another class, but the class should be already included | ||
| [2011/10/25 03:22:07] @ Guest5057 joined channel #puppet | ||
| [2011/10/25 03:22:14] <Vide> maybe it's a 2.6.2 bug? | ||
| [2011/10/25 03:24:19] <crayfishx> Vide: are you sure the file your requiring is being applied? | ||
| [2011/10/25 03:25:48] @ MattyM joined channel #puppet | ||
| [2011/10/25 03:26:20] <Vide> yeah, the file is there, I added the require cause on the first install the execution order was random and the service may be started before the file was created | ||
| [2011/10/25 03:26:37] <Vide> failing | ||
| [2011/10/25 03:28:48] @ Quit: Guest5057: Ping timeout: 240 seconds | ||
| [2011/10/25 03:29:32] @ CAMIR joined channel #puppet | ||
| [2011/10/25 03:29:40] @ rocket joined channel #puppet | ||
| [2011/10/25 03:31:53] @ caviwipes joined channel #puppet | ||
| [2011/10/25 03:32:59] @ Spads_ joined channel #puppet | ||
| [2011/10/25 03:35:25] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2011/10/25 03:35:39] @ Quit: Spads_: Client Quit | ||
| [2011/10/25 03:35:56] @ Spads joined channel #puppet | ||
| [2011/10/25 03:41:13] @ AshishH joined channel #puppet | ||
| [2011/10/25 03:46:43] @ Spads_ joined channel #puppet | ||
| [2011/10/25 03:47:39] @ NuclearLucifer joined channel #puppet | ||
| [2011/10/25 03:47:41] <NuclearLucifer> hello. | ||
| [2011/10/25 03:49:26] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/10/25 03:51:11] @ Quit: Spads_: Ping timeout: 260 seconds | ||
| [2011/10/25 03:51:40] @ Spads joined channel #puppet | ||
| [2011/10/25 03:56:12] @ Quit: danikov: Ping timeout: 255 seconds | ||
| [2011/10/25 03:56:57] @ Quit: Spads: Quit: Reconnecting | ||
| [2011/10/25 03:57:13] @ Spads joined channel #puppet | ||
| [2011/10/25 03:57:25] @ danikov joined channel #puppet | ||
| [2011/10/25 04:03:25] <Vide> crayfishx, found the error (after posting to the ML :/ ), it was a leading / missing | ||
| [2011/10/25 04:03:32] <Vide> frack me | ||
| [2011/10/25 04:03:37] <crayfishx> lol | ||
| [2011/10/25 04:03:43] <crayfishx> in fairness, i didn't spot that either :) | ||
| [2011/10/25 04:04:06] <R1ck> is there a sort of "isset" or "defined" function you can use in manifests (not inline templates please)? | ||
| [2011/10/25 04:04:07] <Vide> now it works smooth :) | ||
| [2011/10/25 04:04:08] @ Quit: Holocaine: | ||
| [2011/10/25 04:04:17] <Vide> ricky, define() | ||
| [2011/10/25 04:04:23] <Vide> R1ck, sorry | ||
| [2011/10/25 04:04:40] <Vide> ricky, defined() | ||
| [2011/10/25 04:05:14] @ brandon_dacrib joined channel #puppet | ||
| [2011/10/25 04:05:15] <Vide> aaargh, R1ck again | ||
| [2011/10/25 04:05:18] <R1ck> hehe | ||
| [2011/10/25 04:05:20] <R1ck> thanks Vide | ||
| [2011/10/25 04:05:38] @ tevz joined channel #puppet | ||
| [2011/10/25 04:05:41] @ pmorillon joined channel #puppet | ||
| [2011/10/25 04:05:57] @ beddari joined channel #puppet | ||
| [2011/10/25 04:06:01] @ tevz left channel #puppet () | ||
| [2011/10/25 04:06:48] @ Quit: AshishH: Ping timeout: 240 seconds | ||
| [2011/10/25 04:10:16] <R1ck> http://docs.puppetlabs.com/references/stable/function.html#defined is it me or should that "notify()" in the example be a "notice()" ? | ||
| [2011/10/25 04:11:44] <Dominic> R1ck: agreed | ||
| [2011/10/25 04:13:08] <Spads> those functions aren't the least bit confusing | ||
| [2011/10/25 04:15:44] @ skm joined channel #puppet | ||
| [2011/10/25 04:21:23] @ Quit: marczak: Ping timeout: 244 seconds | ||
| [2011/10/25 04:23:58] @ andyhold left channel #puppet () | ||
| [2011/10/25 04:34:09] @ Quit: jcspray: Quit: jcspray | ||
| [2011/10/25 04:35:15] @ fenrus02 joined channel #puppet | ||
| [2011/10/25 04:37:13] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/25 04:45:30] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/10/25 04:47:10] @ marrusl joined channel #puppet | ||
| [2011/10/25 04:48:49] @ rgsteele joined channel #puppet | ||
| [2011/10/25 04:49:48] @ Quit: Enf: Quit: Leaving | ||
| [2011/10/25 04:50:21] @ Quit: csanchez: Quit: csanchez | ||
| [2011/10/25 04:53:27] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2011/10/25 04:58:22] @ skm joined channel #puppet | ||
| [2011/10/25 05:02:14] @ nick joined channel #puppet | ||
| [2011/10/25 05:02:40] @ nick is now known as Guest81624 | ||
| [2011/10/25 05:03:18] @ Quit: rsnhyperion: Quit: rsnhyperion | ||
| [2011/10/25 05:06:00] @ Guest81624 left channel #puppet () | ||
| [2011/10/25 05:07:35] @ lbt is now known as lbt_away | ||
| [2011/10/25 05:12:38] @ matchaw_ joined channel #puppet | ||
| [2011/10/25 05:12:56] @ freezey joined channel #puppet | ||
| [2011/10/25 05:20:49] @ marcus_ joined channel #puppet | ||
| [2011/10/25 05:21:49] <marcus_> i am using dashboard 1.2.2 on a rhel setup and noticed that delayed jobs are not handled with the puppet-dashboard-workers init script | ||
| [2011/10/25 05:22:24] <marcus_> there are two jobs delayed_job.0_monitor delayed_job.1_monitor running but no jobs are processed | ||
| [2011/10/25 05:22:26] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/10/25 05:22:37] <marcus_> i also wonder what the monitoring process is for | ||
| [2011/10/25 05:23:11] @ KaZeR_W joined channel #puppet | ||
| [2011/10/25 05:24:46] @ lborda joined channel #puppet | ||
| [2011/10/25 05:24:52] @ Quit: kolla: Remote host closed the connection | ||
| [2011/10/25 05:26:34] @ Quit: lborda: Client Quit | ||
| [2011/10/25 05:26:55] @ Quit: freezey: Quit: freezey | ||
| [2011/10/25 05:27:42] @ Graeme joined channel #puppet | ||
| [2011/10/25 05:27:59] @ Graeme is now known as Graeme78 | ||
| [2011/10/25 05:29:06] @ kelseyhightower joined channel #puppet | ||
| [2011/10/25 05:30:47] @ lborda joined channel #puppet | ||
| [2011/10/25 05:30:49] <Graeme78> hi | ||
| [2011/10/25 05:31:50] <Graeme78> I have defined a class to manage openntpd (http://pastebin.com/rmgsGVuJ), yet every time i run 'puppetd --test', I get this: err: /Stage[main]/Openntpd/Service[openntpd]/ensure: change from stopped to running failed: Could not start Service[openntpd]: Execution of '/etc/init.d/openntpd start' returned 1: at /etc/puppet/modules/openntpd/manifests/init.pp:24 | ||
| [2011/10/25 05:33:07] <Graeme78> the init script has no status command, so I use pattern => "ntpd", yet puppet seems to think its not running, although it is. the init script is returning 1 when the start command is used and the service is already running | ||
| [2011/10/25 05:33:17] <kelseyhightower> Graeme78: Puppet expects the openntpd script to return 0 | ||
| [2011/10/25 05:33:55] <Graeme78> i understand that, but the problem is that it's not realising that its already running | ||
| [2011/10/25 05:34:40] <Graeme78> if i do /etc/init.d/openntpd stop, then 'puppetd --test' it works, because the init script returns 0 when you call it with the start command and the service starts normally | ||
| [2011/10/25 05:34:54] @ Quit: matchaw_: Remote host closed the connection | ||
| [2011/10/25 05:35:12] <Graeme78> but if its already running puppet tries to start it, its not realising that its running | ||
| [2011/10/25 05:35:12] <kelseyhightower> Graeme78: Ok we need to get the pattern right | ||
| [2011/10/25 05:36:08] <kelseyhightower> Graeme78: OK, can you start the service and provide a paste bin of ps ? | ||
| [2011/10/25 05:36:30] @ Quit: dnjaramba: Remote host closed the connection | ||
| [2011/10/25 05:36:50] @ dnjaramba joined channel #puppet | ||
| [2011/10/25 05:37:16] <Graeme78> http://pastebin.com/tgutQT4J | ||
| [2011/10/25 05:37:59] <dcarley> will pattern override a default hasstatus=>true? | ||
| [2011/10/25 05:38:23] <kelseyhightower> Graeme78: hmm, I wonder if the process name needs to be regex "*ntpd*" | ||
| [2011/10/25 05:38:51] <kelseyhightower> dcarley: not sure, but I guess it would be better to set it to false | ||
| [2011/10/25 05:39:11] @ Amto_res joined channel #puppet | ||
| [2011/10/25 05:39:13] @ pwn3dSparr0w joined channel #puppet | ||
| [2011/10/25 05:39:52] <dcarley> kelseyhightower: aye | ||
| [2011/10/25 05:40:36] <Graeme78> oh wow, i think that might solve my question too, i didn't realise that hasstatus defaults to true, it never did before. | ||
| [2011/10/25 05:40:40] * Graeme78 tests | ||
| [2011/10/25 05:40:55] <dcarley> it changed somewhere around 2.6 | ||
| [2011/10/25 05:42:02] <kelseyhightower> Graeme78: you pattern should be updated to "/usr/sbin/ntpd" to be more exact | ||
| [2011/10/25 05:42:07] @ uphillian joined channel #puppet | ||
| [2011/10/25 05:42:18] @ Quit: pwn3dSparr0w: Remote host closed the connection | ||
| [2011/10/25 05:43:01] @ pwn3dSparr0w joined channel #puppet | ||
| [2011/10/25 05:43:08] <Graeme78> i'll do that, although specifying hasstatus => false has fixed it | ||
| [2011/10/25 05:43:21] <Graeme78> thanks kelseyhightower, dcarley :-) | ||
| [2011/10/25 05:43:32] <dcarley> :) | ||
| [2011/10/25 05:43:57] <kelseyhightower> Graeme78: cool | ||
| [2011/10/25 05:46:25] <pwn3dSparr0w> Hello everyone :) | ||
| [2011/10/25 05:46:55] @ Quit: Graeme78: | ||
| [2011/10/25 05:46:55] <kelseyhightower> pwn3dSparr0w: hello | ||
| [2011/10/25 05:47:16] <pwn3dSparr0w> what's thing channel all about? | ||
| [2011/10/25 05:47:28] <pwn3dSparr0w> *what's this channel all about? | ||
| [2011/10/25 05:47:42] <kelseyhightower> pwn3dSparr0w: Puppet Configuration management | ||
| [2011/10/25 05:47:55] <krak3n> pwn3dSparr0w: the topic kinda says it all ;) | ||
| [2011/10/25 05:48:00] <kelseyhightower> pwn3dSparr0w: http://puppetlabs.com/ | ||
| [2011/10/25 05:48:54] @ Quit: MattTheRat: Changing host | ||
| [2011/10/25 05:48:54] @ MattTheRat joined channel #puppet | ||
| [2011/10/25 05:48:58] <pwn3dSparr0w> great :) | ||
| [2011/10/25 05:49:29] @ pwn3dSparr0w left channel #puppet () | ||
| [2011/10/25 05:49:34] <walkeran> Heh | ||
| [2011/10/25 05:52:45] @ blentz joined channel #puppet | ||
| [2011/10/25 05:53:04] @ cliff-hm joined channel #puppet | ||
| [2011/10/25 05:54:37] @ swygue joined channel #puppet | ||
| [2011/10/25 05:57:16] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/10/25 05:58:37] @ Quit: erm: Ping timeout: 240 seconds | ||
| [2011/10/25 06:00:41] @ erm joined channel #puppet | ||
| [2011/10/25 06:01:26] @ mcarpent joined channel #puppet | ||
| [2011/10/25 06:02:24] @ Quit: kelseyhightower: Ping timeout: 240 seconds | ||
| [2011/10/25 06:02:43] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/10/25 06:02:43] @ kelseyhightower joined channel #puppet | ||
| [2011/10/25 06:03:56] @ Quit: artkrz: Read error: Connection reset by peer | ||
| [2011/10/25 06:07:07] @ marczak joined channel #puppet | ||
| [2011/10/25 06:09:18] @ bretm joined channel #puppet | ||
| [2011/10/25 06:09:24] @ Spads_ joined channel #puppet | ||
| [2011/10/25 06:11:48] @ Quit: doo: Quit: Leaving. | ||
| [2011/10/25 06:11:52] @ Quit: Spads_: Client Quit | ||
| [2011/10/25 06:12:05] @ doo joined channel #puppet | ||
| [2011/10/25 06:12:07] @ Spads_ joined channel #puppet | ||
| [2011/10/25 06:12:28] @ Quit: Spads: Ping timeout: 245 seconds | ||
| [2011/10/25 06:14:21] @ sduchesneau joined channel #puppet | ||
| [2011/10/25 06:15:17] @ Quit: doo: Client Quit | ||
| [2011/10/25 06:16:26] @ wreiner joined channel #puppet | ||
| [2011/10/25 06:16:49] @ doo joined channel #puppet | ||
| [2011/10/25 06:17:36] <wreiner> hi - how would you accomplish to dynamically build the facter varname which you want to use? example: i want the macadress of my interface $iface $mac = "macaddress_${iface}" | ||
| [2011/10/25 06:18:17] <wreiner> i tried to use it with inline_template but it doesn't seem to work - $mac2 = inline_template("<%= scope.lookupvar(${mac}) %>") | ||
| [2011/10/25 06:18:56] <Razique> Oct 25 15:18:18 nova-cc1-pp su[32352]: Successful su for nova by root | ||
| [2011/10/25 06:18:56] <Razique> Oct 25 15:18:18 nova-cc1-pp su[32352]: + ??? root:nova | ||
| [2011/10/25 06:18:57] <Razique> Oct 25 15:18:18 nova-cc1-pp su[32352]: pam_unix(su:session): session opened for user nova by (uid=0) | ||
| [2011/10/25 06:19:08] <Razique> oups sorry | ||
| [2011/10/25 06:19:59] @ cperry-out joined channel #puppet | ||
| [2011/10/25 06:21:47] <_rc> wreiner: you probably want some quotes in there - $mac2 = inline_template("<%= scope.lookupvar('${mac}') %>") | ||
| [2011/10/25 06:22:12] @ rsnhyperion joined channel #puppet | ||
| [2011/10/25 06:22:43] <wreiner> _rc - ah thank you :) | ||
| [2011/10/25 06:23:02] <wreiner> do you know is there a better way as using inline_templates? | ||
| [2011/10/25 06:23:35] @ Quit: krak3n: Remote host closed the connection | ||
| [2011/10/25 06:23:56] <_rc> I think we have a lookup function which pretty much does the same thing | ||
| [2011/10/25 06:25:24] @ eRefre joined channel #puppet | ||
| [2011/10/25 06:25:50] @ eRefre left channel #puppet () | ||
| [2011/10/25 06:25:59] <wreiner> i only found extlookup | ||
| [2011/10/25 06:26:04] <wreiner> but it's something different | ||
| [2011/10/25 06:26:30] @ eRefre joined channel #puppet | ||
| [2011/10/25 06:26:51] @ jaymurtii joined channel #puppet | ||
| [2011/10/25 06:27:03] @ nokia3510 joined channel #puppet | ||
| [2011/10/25 06:27:16] <HostingNerd5000> anyone awake? Had a quick question about filebuckets... | ||
| [2011/10/25 06:27:54] <HostingNerd5000> I see when I change the config file, puppet fixes the file and says "filebucketed" but I cannot find it on the puppetmaster | ||
| [2011/10/25 06:28:26] @ Quit: larsks: Remote host closed the connection | ||
| [2011/10/25 06:29:29] <HostingNerd5000> trying to use remote file bucket. | ||
| [2011/10/25 06:29:44] <brd> HostingNerd5000: IIRC it is on the client.. | ||
| [2011/10/25 06:30:08] <HostingNerd5000> Yep I see how to get the filebucket to the client ... I see it locally there. Is there a way to place the backed up file on the remote system? | ||
| [2011/10/25 06:30:12] <HostingNerd5000> err on the puppetmaster | ||
| [2011/10/25 06:30:15] <HostingNerd5000> as a global repo for changes made | ||
| [2011/10/25 06:31:01] <_rc> you can configure where it filebuckets to | ||
| [2011/10/25 06:31:16] <HostingNerd5000> filebucket { 'main': server => "puppet.domain.com", path => false, } File { backup => main } | ||
| [2011/10/25 06:31:44] <HostingNerd5000> I see in verbose output it bucketed the file to "main" but how do you specify the filebucket path on the puppetmaster server (where it will stash changed configs from all nodes) | ||
| [2011/10/25 06:31:49] <HostingNerd5000> maybe I am confused.... highly likely. | ||
| [2011/10/25 06:32:01] <askreet> HostingNerd5000: I believe that's configured in puppet.conf on the server. | ||
| [2011/10/25 06:32:08] <askreet> But I couldn't tell you the config option. | ||
| [2011/10/25 06:32:09] <HostingNerd5000> ah cool checking | ||
| [2011/10/25 06:32:51] @ krak3n joined channel #puppet | ||
| [2011/10/25 06:33:09] <askreet> HostingNerd5000: I t hink the options start with 'archive_', check puppet --genconfig | less if it's not already defined. | ||
| [2011/10/25 06:33:16] @ j-w left channel #puppet () | ||
| [2011/10/25 06:34:41] @ meth left channel #puppet () | ||
| [2011/10/25 06:35:29] @ mmckinst joined channel #puppet | ||
| [2011/10/25 06:35:58] <HostingNerd5000> info: /File[/etc/syslog.conf]: Filebucketed /etc/syslog.conf to main with sum d29b0a30f7def69091ab85a614b34c41 | ||
| [2011/10/25 06:36:14] <HostingNerd5000> whats whats confusing.... I specified main in my site.pp above .... main should be remote server puppet.domain.com | ||
| [2011/10/25 06:36:19] @ itguru left channel #puppet ("Leaving") | ||
| [2011/10/25 06:36:24] <HostingNerd5000> it says it bucketed it but I do not see the backed up config anywhere | ||
| [2011/10/25 06:36:42] <askreet> HostingNerd5000: How are you looking for it? It will not be called syslog.conf? | ||
| [2011/10/25 06:36:47] <askreet> Second part isn't a question, sorry. | ||
| [2011/10/25 06:36:59] <askreet> It's saved by it's md5sum, in some magic directory. | ||
| [2011/10/25 06:37:07] <HostingNerd5000> askreet - I do not even know what path to look for on the remote file bucket (puppet master) | ||
| [2011/10/25 06:37:16] <HostingNerd5000> /etc/puppet/filebucket is empty | ||
| [2011/10/25 06:37:30] <askreet> What version of Puppet? | ||
| [2011/10/25 06:37:44] <HostingNerd5000> 2.6.6 | ||
| [2011/10/25 06:37:44] <askreet> I need to finish a rollout and then I'll see wha tI can find, if you're around in 15-20. | ||
| [2011/10/25 06:37:51] <HostingNerd5000> okay no worries I will be lurking around | ||
| [2011/10/25 06:37:57] <HostingNerd5000> pounding away at this | ||
| [2011/10/25 06:38:56] @ Quit: kermit: Quit: Leaving. | ||
| [2011/10/25 06:38:59] <HostingNerd5000> Got it! | ||
| [2011/10/25 06:39:04] <HostingNerd5000> default location is actually /var/lib/puppet/bucket | ||
| [2011/10/25 06:39:07] <HostingNerd5000> on puppetmaster. | ||
| [2011/10/25 06:39:13] @ kermit joined channel #puppet | ||
| [2011/10/25 06:39:13] <HostingNerd5000> thanks for listening to me babble :) | ||
| [2011/10/25 06:39:18] <askreet> np, you find it? | ||
| [2011/10/25 06:39:23] <askreet> the file that is | ||
| [2011/10/25 06:39:36] @ ken_barber joined channel #puppet | ||
| [2011/10/25 06:42:14] @ blogbasti joined channel #puppet | ||
| [2011/10/25 06:45:32] @ Quit: gwmngilfen: Ping timeout: 244 seconds | ||
| [2011/10/25 06:45:50] @ themadcanudist joined channel #puppet | ||
| [2011/10/25 06:46:10] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/10/25 06:46:22] @ Spads joined channel #puppet | ||
| [2011/10/25 06:46:58] @ astrostl joined channel #puppet | ||
| [2011/10/25 06:47:23] @ gwmngilfen joined channel #puppet | ||
| [2011/10/25 06:48:05] @ freezey joined channel #puppet | ||
| [2011/10/25 06:48:47] <HostingNerd5000> yep thanks askreet | ||
| [2011/10/25 06:49:50] <askreet> No problem :) | ||
| [2011/10/25 06:52:47] @ Quit: freezey: Client Quit | ||
| [2011/10/25 06:52:50] @ zwi joined channel #puppet | ||
| [2011/10/25 06:53:30] @ Quit: Chiku|dc: Read error: Connection reset by peer | ||
| [2011/10/25 06:54:00] @ Chiku|dc joined channel #puppet | ||
| [2011/10/25 06:54:21] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/10/25 06:54:53] @ pmorillon joined channel #puppet | ||
| [2011/10/25 06:57:24] @ Quit: blentz: Quit: Ex-Chat | ||
| [2011/10/25 06:57:30] @ brandon_dacrib joined channel #puppet | ||
| [2011/10/25 06:57:36] @ blentz joined channel #puppet | ||
| [2011/10/25 06:58:42] @ Wolfspyre joined channel #puppet | ||
| [2011/10/25 07:03:48] @ eshamow joined channel #puppet | ||
| [2011/10/25 07:05:25] @ colon_D joined channel #puppet | ||
| [2011/10/25 07:06:49] @ Spads_ joined channel #puppet | ||
| [2011/10/25 07:07:03] <crayfishx> cd ../classes | ||
| [2011/10/25 07:07:07] <crayfishx> feck. sorry | ||
| [2011/10/25 07:07:10] @ Quit: jaydg: Quit: Verlassend | ||
| [2011/10/25 07:07:45] @ Quit: wollviech: Ping timeout: 244 seconds | ||
| [2011/10/25 07:08:15] <shortbus-> so i ran across something in puppet the other day that feels like a bug, but i'm not sure. Here's what i did: i created an init script for tomcat, and used puppet to push it out. I originally had it start at S99, but then changed it to S90 because i wanted it to start before puppet did. When i pushed the change out, it didn't change the links in /etc/rc*.d | ||
| [2011/10/25 07:08:19] <eRefre> date | ||
| [2011/10/25 07:08:43] @ Quit: Spads_: Client Quit | ||
| [2011/10/25 07:09:01] @ Spads_ joined channel #puppet | ||
| [2011/10/25 07:09:34] @ wollviech joined channel #puppet | ||
| [2011/10/25 07:09:45] @ Quit: Spads: Ping timeout: 256 seconds | ||
| [2011/10/25 07:10:12] @ AphisOne joined channel #puppet | ||
| [2011/10/25 07:10:17] @ choonming joined channel #puppet | ||
| [2011/10/25 07:10:33] <shortbus-> i poked around a little bit, and it seems like what puppet does to see if a script is set to start at boot is just /sbin/chkconfig <name>, which just checks to see if its enable, but doesn't seem to confirm if its the right run number. not sure if this is a problem with puppet or chkconfig, but i figured i'd start here and see what you guys think | ||
| [2011/10/25 07:10:55] @ AphisOne left channel #puppet () | ||
| [2011/10/25 07:10:56] <shortbus-> btw, this was on centos 5.6 | ||
| [2011/10/25 07:11:39] <lisa> Are manifests created for Puppet 0.25.5 fully backwards compatible with 2.7.5? | ||
| [2011/10/25 07:12:58] <_rc> itym forwards. and it really depends on what features you used in them | ||
| [2011/10/25 07:13:12] <lisa> you're right | ||
| [2011/10/25 07:13:17] @ kaptk2 joined channel #puppet | ||
| [2011/10/25 07:14:08] @ trapni joined channel #puppet | ||
| [2011/10/25 07:14:11] * trapni waves | ||
| [2011/10/25 07:16:34] <trapni> I would like to know whether a node declaration can only inherit from a node but also from a definition and/or class declaration. is that possible? | ||
| [2011/10/25 07:17:10] @ freezey joined channel #puppet | ||
| [2011/10/25 07:17:52] <_rc> thankfully it's not | ||
| [2011/10/25 07:18:36] @ Quit: ilmenite: Read error: Connection reset by peer | ||
| [2011/10/25 07:18:38] <trapni> _rc: you mean a node can only inherit from other node | ||
| [2011/10/25 07:19:06] @ Quit: jamison: Excess Flood | ||
| [2011/10/25 07:19:13] <Volcane> yes | ||
| [2011/10/25 07:19:13] @ Quit: saiju: Ping timeout: 258 seconds | ||
| [2011/10/25 07:19:23] <_rc> yes | ||
| [2011/10/25 07:19:24] <trapni> ah, thanks :) | ||
| [2011/10/25 07:19:45] @ jamison joined channel #puppet | ||
| [2011/10/25 07:19:45] <Volcane> node foo { include bar } should be the same your wish of node foo inherits bar { } though right? | ||
| [2011/10/25 07:19:56] <trapni> I also could not actually find the difference between a definition and a class in the puppet docs | ||
| [2011/10/25 07:20:20] <trapni> Volcane: yeah, right. I just wanted to know whether it is actually possible to inherit from it :) | ||
| [2011/10/25 07:20:32] <Volcane> its best to just forget inheritance exist | ||
| [2011/10/25 07:20:46] <n1x0n> is class inharitance always done before all dependencies (including run stages) ? | ||
| [2011/10/25 07:21:15] <trapni> Volcane: fine with me, but still. what's the difference between a def and a class then? | ||
| [2011/10/25 07:21:23] <trapni> as I can `include def_or_class` | ||
| [2011/10/25 07:21:34] <Volcane> a class is a singleton | ||
| [2011/10/25 07:21:39] <Volcane> any node can only have one instance of a class on it | ||
| [2011/10/25 07:21:45] <Volcane> include foo is alwas the same thing | ||
| [2011/10/25 07:21:59] <Volcane> so think for example apache::install as a class - this would install the rpm or whatever, | ||
| [2011/10/25 07:22:07] <trapni> that means, if I include class `foo` twice, it's only included once? | ||
| [2011/10/25 07:22:08] <Volcane> a define is for things that u want many on a machine - but each is unique | ||
| [2011/10/25 07:22:21] <Volcane> for example: apache::vhost{"foo.com": contact => "me@foo.com"} | ||
| [2011/10/25 07:22:31] <Volcane> this would create a new vhost - but it would be unique from other vhosts | ||
| [2011/10/25 07:22:35] <trapni> i c | ||
| [2011/10/25 07:22:38] <trapni> so it's a def | ||
| [2011/10/25 07:22:42] <Volcane> yes | ||
| [2011/10/25 07:22:48] <Volcane> now classes can also now take parameters | ||
| [2011/10/25 07:22:50] <Volcane> so you could have | ||
| [2011/10/25 07:22:59] <Volcane> class{"apache::install": version => 1.2.3} | ||
| [2011/10/25 07:23:04] @ ldlework joined channel #puppet | ||
| [2011/10/25 07:23:07] <Volcane> but still the constraint of once only exist | ||
| [2011/10/25 07:23:21] <Volcane> you couldnt on the same node have 2 x of those each with a different version set | ||
| [2011/10/25 07:23:25] <trapni> as the only difference between the two | ||
| [2011/10/25 07:23:32] <trapni> i c | ||
| [2011/10/25 07:24:39] @ brandon_dacrib_ joined channel #puppet | ||
| [2011/10/25 07:24:42] <trapni> so if I have a system-unique file (e.g. /etc/passwd) I could make the manager-object a class, as this ought to exist only once anyways, or how would you propose?( /etc/passwwd is just an example) :) | ||
| [2011/10/25 07:24:53] <Volcane> yes, in a class | ||
| [2011/10/25 07:24:57] <trapni> i c | ||
| [2011/10/25 07:24:59] <trapni> thanks :) | ||
| [2011/10/25 07:25:00] @ n8 joined channel #puppet | ||
| [2011/10/25 07:25:01] <Volcane> for /etc/password you'd use the user/group type | ||
| [2011/10/25 07:25:12] <Volcane> those types abstract each entry in the file into unique resources | ||
| [2011/10/25 07:25:20] @ labrown joined channel #puppet | ||
| [2011/10/25 07:25:44] <trapni> yeah, i want to manage /etc/pam.d/su actually, it's just, that I was faster in typing /etc/passwd :) | ||
| [2011/10/25 07:26:00] @ rcrowley joined channel #puppet | ||
| [2011/10/25 07:26:35] <krak3n> guys, whats the best way to run a puppet master? | ||
| [2011/10/25 07:27:42] @ blogbasti left channel #puppet ("PONG :hubbard.freenode.net") | ||
| [2011/10/25 07:27:50] @ Quit: brandon_dacrib: Ping timeout: 258 seconds | ||
| [2011/10/25 07:27:50] @ brandon_dacrib_ is now known as brandon_dacrib | ||
| [2011/10/25 07:28:45] <abetterlie> krak3n: on apache, with passenger | ||
| [2011/10/25 07:29:06] @ ridankulous joined channel #puppet | ||
| [2011/10/25 07:29:25] @ asteve joined channel #puppet | ||
| [2011/10/25 07:31:04] <krak3n> ok, was hoping to avoid apache | ||
| [2011/10/25 07:31:42] <lusis> passenger ships with a minimum nginx option as well | ||
| [2011/10/25 07:31:43] <abetterlie> there are other ways, like you can run it on mongrel, but there's not alot of documentation on it out there. | ||
| [2011/10/25 07:31:46] @ gniks joined channel #puppet | ||
| [2011/10/25 07:31:58] <krak3n> i've noticed ;) | ||
| [2011/10/25 07:32:36] <lusis> s/minimum/embedded | ||
| [2011/10/25 07:32:42] <lusis> probably a more apt description | ||
| [2011/10/25 07:33:19] <abetterlie> I had no idea you could run a puppet master from nginx. Makes sense, I'm surprised I didn't think of that. | ||
| [2011/10/25 07:33:36] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/10/25 07:33:56] @ lwhalen joined channel #puppet | ||
| [2011/10/25 07:33:59] @ Quit: zwi: Quit: Leaving. | ||
| [2011/10/25 07:34:04] <krak3n> i can get most of the way with nginx and mongrel but I just end up with nodes getting forbidden access to catalog | ||
| [2011/10/25 07:34:09] <krak3n> and hit a dead end | ||
| [2011/10/25 07:34:46] <lusis> yeah I didn't say it was tested ;) | ||
| [2011/10/25 07:35:07] @ Spads joined channel #puppet | ||
| [2011/10/25 07:35:08] <lusis> but it's an option (would require a different set of configuration headaches) | ||
| [2011/10/25 07:35:22] <Volcane> works with unicorn too afaik | ||
| [2011/10/25 07:35:30] <krak3n> lol think i'll bite the bullet and go with apache | ||
| [2011/10/25 07:35:36] @ gebi joined channel #puppet | ||
| [2011/10/25 07:35:37] <kelseyhightower> lusis: hello | ||
| [2011/10/25 07:35:47] <lusis> kelseyhightower: yo | ||
| [2011/10/25 07:36:35] * Volcane wonders if we can make the master work on heroku? :P | ||
| [2011/10/25 07:36:45] <lusis> http://groups.google.com/group/puppet-users/browse_thread/thread/27db45d35fd2c819?pli=1 | ||
| [2011/10/25 07:36:48] <lusis> that thread has some tips | ||
| [2011/10/25 07:36:58] @ ckauhaus1 joined channel #puppet | ||
| [2011/10/25 07:36:59] <lusis> the upshot is that with Passenger3 you can use the embedded nginx | ||
| [2011/10/25 07:37:03] @ Quit: krak3n: Read error: No route to host | ||
| [2011/10/25 07:37:10] @ krak3n joined channel #puppet | ||
| [2011/10/25 07:37:10] <lusis> but again, probably requires some additional hurdles | ||
| [2011/10/25 07:37:14] @ Quit: ckauhaus1: Client Quit | ||
| [2011/10/25 07:37:18] @ Quit: riha: Quit: Leaving. | ||
| [2011/10/25 07:37:24] <lusis> of note, rcrowley mentioned getting it working with unicorn | ||
| [2011/10/25 07:37:29] <lusis> which is impressive =P | ||
| [2011/10/25 07:37:37] <kelseyhightower> thin works too | ||
| [2011/10/25 07:37:43] @ Quit: Spads_: Ping timeout: 244 seconds | ||
| [2011/10/25 07:38:17] <krak3n> I still end up with catalog forbidden with thin as well :/ | ||
| [2011/10/25 07:38:42] <dcarley> krak3n: what do you have in front of it, nginx? | ||
| [2011/10/25 07:38:47] <krak3n> yup | ||
| [2011/10/25 07:38:53] <krak3n> 1.0.8 | ||
| [2011/10/25 07:39:12] <dcarley> krak3n: do your headers (SSL client auth) match up either side? | ||
| [2011/10/25 07:40:37] <dcarley> namely X-Client_DN and X-Client-Verify, by default. | ||
| [2011/10/25 07:40:40] @ Quit: jedi4ever: Remote host closed the connection | ||
| [2011/10/25 07:40:42] @ jedi4ever_ joined channel #puppet | ||
| [2011/10/25 07:40:53] <krak3n> those are set in nginx and in the puppetmaster conf | ||
| [2011/10/25 07:41:14] <dcarley> some of the howtos took the liberty of changing the names from the puppet defaults. | ||
| [2011/10/25 07:41:48] @ xim1 joined channel #puppet | ||
| [2011/10/25 07:42:49] <bd__> more fun that way? | ||
| [2011/10/25 07:43:37] <krak3n> this is in my puppet conf: https://gist.github.com/a63728162aa733ea1f39 and this in my nginx: https://gist.github.com/5c9af5bcc9c16bb8bec2 | ||
| [2011/10/25 07:46:00] <bosszaru> krak3n: do you set ssl_ciphers and ssl_crl | ||
| [2011/10/25 07:46:16] <krak3n> yup, further up in the nginx conf | ||
| [2011/10/25 07:46:38] <dcarley> krak3n: you have a dupe var. one is also missing the HTTP_ prefix, which i believe is needed. | ||
| [2011/10/25 07:47:37] @ Quit: gniks: Quit: Leaving. | ||
| [2011/10/25 07:47:41] <dcarley> krak3n: fwiw, this block works for me with no modifications to puppet.conf: http://pastie.org/2756567 | ||
| [2011/10/25 07:48:23] @ los324 left channel #puppet () | ||
| [2011/10/25 07:48:33] <krak3n> thanks :) i'll give it a shot | ||
| [2011/10/25 07:48:58] @ gniks joined channel #puppet | ||
| [2011/10/25 07:49:28] @ ldlework joined channel #puppet | ||
| [2011/10/25 07:49:53] @ neonflux joined channel #puppet | ||
| [2011/10/25 07:51:39] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/10/25 07:52:22] @ lwhalen joined channel #puppet | ||
| [2011/10/25 07:52:59] @ Quit: jedi4ever_: Quit: jedi4ever_ | ||
| [2011/10/25 07:53:00] @ Quit: Spads: Quit: Reconnecting | ||
| [2011/10/25 07:53:06] @ jedi4ever joined channel #puppet | ||
| [2011/10/25 07:53:22] @ Spads joined channel #puppet | ||
| [2011/10/25 07:54:06] @ Quit: jamison: Excess Flood | ||
| [2011/10/25 07:54:17] @ Quit: toi: Ping timeout: 258 seconds | ||
| [2011/10/25 07:55:45] @ jamison joined channel #puppet | ||
| [2011/10/25 07:56:39] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/10/25 07:56:46] @ hettik joined channel #puppet | ||
| [2011/10/25 07:57:27] @ Quit: marcus_: Quit: Verlassend | ||
| [2011/10/25 07:57:29] <hettik> Hello folks. Checking on how to address the puppet security vulnarability | ||
| [2011/10/25 07:58:09] <HostingNerd5000> keep your private keys safe :) | ||
| [2011/10/25 07:58:28] <hettik> Has anyone configured a load balanced DNS (Big IP/wide IP or netscalar or round robin) so it's not vulnarable to certdnsname issue ? | ||
| [2011/10/25 07:59:13] <_rc> run scan_certs from the CVE toolkit on your master to know for sure | ||
| [2011/10/25 07:59:57] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/10/25 08:00:22] <hettik> Agree with keeping private keys safe, specially ca.pem | ||
| [2011/10/25 08:00:24] @ Wolfspyre joined channel #puppet | ||
| [2011/10/25 08:01:38] @ jon6000 joined channel #puppet | ||
| [2011/10/25 08:01:55] <xim1> how can I specify in puppet master config to use the templates directory in each modules e.g. /etc/puppet/modules/iscsi/templates and not /var/lib/puppet/templates | ||
| [2011/10/25 08:02:29] <hettik> thks. will do scan_certs. Mine's a new deployment. I can destroy and re-create. So wondering if there are guidelines to create a safe cert from scratch | ||
| [2011/10/25 08:02:57] <_rc> you don't need to, it automatically will translate template('iscsi/foo') into iscsi/templates/foo | ||
| [2011/10/25 08:03:43] @ timyim joined channel #puppet | ||
| [2011/10/25 08:03:45] <_rc> from scratch you should be safe as long as you didn't enable certdnsnames | ||
| [2011/10/25 08:04:04] <_rc> if you did then you need to upgrade and reissue | ||
| [2011/10/25 08:04:09] @ Quit: pieter_: Quit: Ex-Chat | ||
| [2011/10/25 08:04:14] @ Quit: eshamow: Quit: eshamow | ||
| [2011/10/25 08:04:19] <xim1> _rc: fixed it. thanks a lot. I was specifiying template/filename.erb. | ||
| [2011/10/25 08:04:43] @ eshamow_ joined channel #puppet | ||
| [2011/10/25 08:04:48] @ Quit: jaytaph: Ping timeout: 248 seconds | ||
| [2011/10/25 08:04:54] <hettik> we need to use certdnsname because we use the alias name for the master (s) | ||
| [2011/10/25 08:05:34] @ anveo joined channel #puppet | ||
| [2011/10/25 08:05:36] <_rc> not so. you could set an alias for the master with the certname option alone | ||
| [2011/10/25 08:05:37] <hettik> unless there's another way | ||
| [2011/10/25 08:05:57] <timyim> _rc: that's what we do too | ||
| [2011/10/25 08:07:13] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/10/25 08:07:57] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/10/25 08:08:34] @ jsurfer joined channel #puppet | ||
| [2011/10/25 08:09:35] @ mcarpent joined channel #puppet | ||
| [2011/10/25 08:10:07] @ Quit: sdog: Remote host closed the connection | ||
| [2011/10/25 08:10:27] <xim1> " Could not retrieve catalog from remote server: hostname was not match with the server certificate" <- what could cause this? | ||
| [2011/10/25 08:11:11] @ Quit: mogitaff: Quit: Leaving | ||
| [2011/10/25 08:11:37] <timyim> puppet.conf -> certname | ||
| [2011/10/25 08:12:17] <hettik> let me dig up how we do and appreciate if you could give some pointers | ||
| [2011/10/25 08:12:37] <xim1> timyim: ain't defined | ||
| [2011/10/25 08:12:56] <_rc> by default puppet connects to a host called 'puppet' | ||
| [2011/10/25 08:13:07] @ johnston joined channel #puppet | ||
| [2011/10/25 08:13:08] <_rc> but your puppetmaster may not have that name on its cert | ||
| [2011/10/25 08:13:23] <timyim> right, good point, we set servername and certname to masterp | ||
| [2011/10/25 08:13:24] <timyim> hahaha | ||
| [2011/10/25 08:13:39] <_rc> so on the client try puppetd --server $server_name --noop | ||
| [2011/10/25 08:13:47] <kesor> is there a puppet task somewhere that downloads a file, if the file is different from the one on the server ? | ||
| [2011/10/25 08:14:06] <_rc> kesor: that's the file type, source parameter | ||
| [2011/10/25 08:14:18] <kesor> but it does not accept http sources | ||
| [2011/10/25 08:14:42] <kesor> or does it? | ||
| [2011/10/25 08:14:42] <timyim> http://docs.puppetlabs.com/references/stable/type.html#file | ||
| [2011/10/25 08:14:42] <_rc> you didn't specify it was a http source | ||
| [2011/10/25 08:14:49] <timyim> ugh | ||
| [2011/10/25 08:14:59] <xim1> other nodes are connecting just fine | ||
| [2011/10/25 08:15:29] @ Quit: gebi: Ping timeout: 252 seconds | ||
| [2011/10/25 08:15:37] <timyim> xim1: rm -Rf /var/lib/puppet/ssl/* | ||
| [2011/10/25 08:15:44] <timyim> works for me sometimes | ||
| [2011/10/25 08:15:51] <timyim> it just forces to regenerate the certs | ||
| [2011/10/25 08:15:53] <_rc> don't go nuclear so soon. | ||
| [2011/10/25 08:15:57] <timyim> HAHAHAHA | ||
| [2011/10/25 08:16:22] <xim1> I ain't gonna touch the server since it seems to be running fine for other nodes. | ||
| [2011/10/25 08:16:59] <timyim> find /var/lib/puppet/ssl -type f -name '$YOUR_NODE_NAME' | xargs -n 1 rm | ||
| [2011/10/25 08:17:07] <timyim> only delete YOUR NODES certs | ||
| [2011/10/25 08:17:12] <xim1> I assume that will be on the server. | ||
| [2011/10/25 08:17:22] <timyim> and on the node | ||
| [2011/10/25 08:17:37] <timyim> we need to clear out whatever certs are messed up and just get the system to regenerate them | ||
| [2011/10/25 08:17:39] <kesor> _rc: Parameter source failed: Cannot use URLs of type 'http' as source for fileserving | ||
| [2011/10/25 08:17:50] <_rc> kesor: yes. I know. | ||
| [2011/10/25 08:18:20] <kesor> _rc ... so to my original question, can I somehow get a file if it changed on the (http) server ? | ||
| [2011/10/25 08:18:34] <timyim> exec + rsync? | ||
| [2011/10/25 08:18:52] <mutex> what is the best way to have an exported resource for a host that cannot run puppet ? | ||
| [2011/10/25 08:18:54] <kesor> but wouldnt that be marked as "changed" on each invocation of puppet? | ||
| [2011/10/25 08:18:56] <mutex> say a nagios service test | ||
| [2011/10/25 08:19:23] <timyim> ya pretty much | ||
| [2011/10/25 08:19:24] @ sumsuch joined channel #puppet | ||
| [2011/10/25 08:19:49] @ ksheurs joined channel #puppet | ||
| [2011/10/25 08:19:53] <timyim> an exported resource without running puppet???? huh??? | ||
| [2011/10/25 08:20:31] <mutex> so, my understanding of exported resources for something like nagios is | ||
| [2011/10/25 08:20:32] <_rc> you could use the model to insert directly into the storeconfig db, it'd be funky though | ||
| [2011/10/25 08:20:56] <mutex> the puppet client connects, the exported resources are created on the puppetmaster | ||
| [2011/10/25 08:21:00] <kesor> is there a puppet task somewhere that downloads a file, if the file is different from the one on a server (http)? ... that wont mark the invocation as "changed" each time it runs. | ||
| [2011/10/25 08:21:08] <walkeran> kesor: No | ||
| [2011/10/25 08:21:16] <kesor> no one wrote anything like that? nowhere? | ||
| [2011/10/25 08:21:33] <mutex> then when the nagios server connects to the puppet master, the exported resources containing the information from the other clients, create the exported resources for monitoring those hosts | ||
| [2011/10/25 08:21:42] <timyim> kesor: yes, its called curl + etag | ||
| [2011/10/25 08:21:43] <johnmorr> is any special escaping necessary for erb templates? for example, i've got an apache vhost and the parser is complaining about 'bad URI(is not URI?)' on a few of the lines, such as '<VirtualHost *:80>' or 'RewriteRule ^/+(.*) http://example.com/$1 [L,R=permanent]' | ||
| [2011/10/25 08:21:43] <mutex> my question is, what if my other clients cannot run puppet ? | ||
| [2011/10/25 08:21:44] <_rc> they may have written one, but it's not part of the standard library. to the search engine! | ||
| [2011/10/25 08:21:52] <kesor> timyim: any puppet examples? | ||
| [2011/10/25 08:21:57] @ Quit: pisco: Quit: pisco | ||
| [2011/10/25 08:22:11] <timyim> no sorry | ||
| [2011/10/25 08:22:18] <timyim> i've never done it but its totally possible | ||
| [2011/10/25 08:22:28] <kesor> *sigh* | ||
| [2011/10/25 08:22:44] <timyim> sorry I was unable to do your work for you today ;-( | ||
| [2011/10/25 08:22:47] <timyim> haha | ||
| [2011/10/25 08:22:48] <timyim> j/k | ||
| [2011/10/25 08:22:56] @ Quit: samrose: Quit: Ex-Chat | ||
| [2011/10/25 08:24:32] <kesor> will if be possible to do with exec() and return code from "wget -N" or something? :/ | ||
| [2011/10/25 08:24:43] <kesor> i mean onlyif => "wget -N" | ||
| [2011/10/25 08:25:59] @ Quit: Vasik|work: Quit: Leaving | ||
| [2011/10/25 08:26:22] <xim1> so i removed every instance of the node's ssl request on the server and deleted the ssl dir on the node. Then created a requested which was successfully signed by the server but running puppetd -t gave the same error | ||
| [2011/10/25 08:26:29] @ Quit: jamison: Excess Flood | ||
| [2011/10/25 08:27:07] @ csanchez joined channel #puppet | ||
| [2011/10/25 08:27:12] <_rc> xim1: that's because that wasn't the problem | ||
| [2011/10/25 08:27:34] <_rc> xim1: it was objecting to the servers certificate, not that of the client | ||
| [2011/10/25 08:28:08] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/10/25 08:28:11] <xim1> _rc and why would it do that? | ||
| [2011/10/25 08:28:15] @ jamison joined channel #puppet | ||
| [2011/10/25 08:28:19] <xim1> the name is defined as puppet now | ||
| [2011/10/25 08:28:40] @ ed209 joined channel #puppet | ||
| [2011/10/25 08:30:21] <_rc> so it wasn't before? | ||
| [2011/10/25 08:31:38] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/10/25 08:32:04] <lisa> is puppetrun supported with puppet 0.25.5? | ||
| [2011/10/25 08:32:19] <timyim> kesor: possibly, we do that sort of stuff all the time | ||
| [2011/10/25 08:32:28] <timyim> check into 'unless' also | ||
| [2011/10/25 08:32:34] @ gebi joined channel #puppet | ||
| [2011/10/25 08:32:43] <timyim> it all depends on what the exit code of wget will be if the file is not modified | ||
| [2011/10/25 08:32:50] <timyim> you have to take that into consideration | ||
| [2011/10/25 08:33:00] <timyim> and jsut find a combination that works the way you want | ||
| [2011/10/25 08:33:23] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 08:33:35] @ tnguyen joined channel #puppet | ||
| [2011/10/25 08:34:13] @ Quit: wollviech: Ping timeout: 240 seconds | ||
| [2011/10/25 08:35:23] <n1x0n> Did anyone have a problem where puppet stopped seeing facts in templates ? I'm running 2.7.6 and it fails to see fqdn (while facter fqdn works)? | ||
| [2011/10/25 08:35:54] <ashp> i am going to punch our local developers in the face | ||
| [2011/10/25 08:35:56] @ hobbeswalsh joined channel #puppet | ||
| [2011/10/25 08:35:58] @ wollviech joined channel #puppet | ||
| [2011/10/25 08:36:07] <ashp> the next time someone says "uh you just gotta update a few settings" after lobbing code into the build system | ||
| [2011/10/25 08:36:14] <timyim> n1x0n: yes, this exact thing happened to me | ||
| [2011/10/25 08:36:25] <timyim> the 2.7 release is missing some files i think | ||
| [2011/10/25 08:36:37] <timyim> i installed 2.6.9 and then upgraded to 2.7.x and everything worked | ||
| [2011/10/25 08:36:43] <timyim> took me a week to figure that one out | ||
| [2011/10/25 08:36:53] @ saiju joined channel #puppet | ||
| [2011/10/25 08:37:04] <n1x0n> ough | ||
| [2011/10/25 08:38:07] <n1x0n> hmm the odd thing is that it works on hostA and it doesn't on hostB and facter and puppet rpms are the same o_O but maybe that's inddeed because hostA was upgraded and hostB had 2.7 from the beginning | ||
| [2011/10/25 08:38:10] @ Quit: viq: Ping timeout: 244 seconds | ||
| [2011/10/25 08:38:42] @ Quit: EL84: Quit: Leaving. | ||
| [2011/10/25 08:38:47] @ hooper joined channel #puppet | ||
| [2011/10/25 08:39:02] @ Quit: freezey: Quit: freezey | ||
| [2011/10/25 08:39:14] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/10/25 08:39:18] <n1x0n> timyim: thanks , I'll have a look | ||
| [2011/10/25 08:39:37] <timyim> good luck, it should work ;-) | ||
| [2011/10/25 08:39:55] @ pmorillon joined channel #puppet | ||
| [2011/10/25 08:40:00] <n1x0n> timyim: yeah we'll see, but now if I want to deploy 600 servers I'll have to install 2.6 to install 2.7 ? that sucks :) | ||
| [2011/10/25 08:40:06] @ Quit: nate_h: Read error: Connection reset by peer | ||
| [2011/10/25 08:40:24] <timyim> you can still use puppet to do it | ||
| [2011/10/25 08:40:29] @ nate_h joined channel #puppet | ||
| [2011/10/25 08:40:37] <n1x0n> timyim: you didn't have to be sarcastic ;-P | ||
| [2011/10/25 08:40:48] <timyim> just have one package ensure => 2.6.9, then another package ensure => latest | ||
| [2011/10/25 08:40:51] <timyim> i wasn't | ||
| [2011/10/25 08:40:54] <timyim> i was still typing | ||
| [2011/10/25 08:40:57] <timyim> fat fingers today | ||
| [2011/10/25 08:41:13] <timyim> hahah | ||
| [2011/10/25 08:41:16] <n1x0n> timyim: yeah it's just soo ugly, I would get killed for that | ||
| [2011/10/25 08:41:29] @ Quit: pmorillon: Client Quit | ||
| [2011/10/25 08:41:29] <n1x0n> or at least castrated | ||
| [2011/10/25 08:41:30] <_rc> which isn't going to work very well. best just get the 2.7 packages fixed | ||
| [2011/10/25 08:41:49] <timyim> i've already submitted a bug to puppet devs | ||
| [2011/10/25 08:41:53] <timyim> but they disagree | ||
| [2011/10/25 08:42:09] @ jkoppe left channel #puppet () | ||
| [2011/10/25 08:42:15] <timyim> even their package from here is wrong: http://yum.puppetlabs.com/el/6/products/x86_64/ | ||
| [2011/10/25 08:42:27] <timyim> le broken | ||
| [2011/10/25 08:42:28] <n1x0n> that's the one I'm using atm | ||
| [2011/10/25 08:42:35] <jhelwig> timyim: What's the bug #? | ||
| [2011/10/25 08:43:09] <timyim> i submitted right to my contact at puppet... dustin@ i don't know whatever came of it | ||
| [2011/10/25 08:43:16] @ viq joined channel #puppet | ||
| [2011/10/25 08:44:23] <timyim> he probably just ignored it | ||
| [2011/10/25 08:45:25] <_rc> #9109? | ||
| [2011/10/25 08:45:26] <gepetto> _rc: #9109 is http://projects.puppetlabs.com/issues/show/9109 "Puppet - Bug #9109: facts being discarded. It has a status of Accepted and is assigned to -" | ||
| [2011/10/25 08:46:17] <timyim> that would be it | ||
| [2011/10/25 08:46:20] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/10/25 08:46:37] <timyim> (probably explains why he ignored my email) | ||
| [2011/10/25 08:46:58] @ kang left channel #puppet () | ||
| [2011/10/25 08:48:11] <n1x0n> yeah looks like the thing we are having here | ||
| [2011/10/25 08:48:32] @ Quit: MartVisser: Quit: This computer has gone to sleep | ||
| [2011/10/25 08:48:35] <timyim> just install 2.6.9 from their repo then yum upgrade... and all is back to normal | ||
| [2011/10/25 08:48:47] <jhelwig> timyim: Does your setup match the one described in the bug report? If not can you add details about your setup? Dunno if it'll be helpful, but it can't hurt to have more data points. | ||
| [2011/10/25 08:49:30] @ Quit: trickyf: Quit: Leaving. | ||
| [2011/10/25 08:49:57] <n1x0n> timyim: yeah, BUT this isn't really a solution, this is a workaround :-/ | ||
| [2011/10/25 08:50:25] <timyim> jhelwig: sure will... only difference is OS, and nginx -vs- apache but I'm glad to add my notes | ||
| [2011/10/25 08:50:42] <timyim> n1x0n: the joys of FOSS | ||
| [2011/10/25 08:50:59] * n1x0n nods | ||
| [2011/10/25 08:51:21] <caviwipes> anyone running puppet agent on windows? | ||
| [2011/10/25 08:51:53] <jhelwig> timyim: I find it really hard to believe that installing 2.6.9 and upgrading to 2.7.x would fix it given how it's packaged, but we'll have to check it out... | ||
| [2011/10/25 08:52:24] <jhelwig> caviwipes: I'm assuming you have a real question that you're trying to lead into. :P | ||
| [2011/10/25 08:52:35] <caviwipes> :-) I do | ||
| [2011/10/25 08:53:03] <caviwipes> The agent will simply not run and throws an error about not being a executable file | ||
| [2011/10/25 08:53:34] <jhelwig> Did the .bat wrapper files get installed? How did you install Puppet on Windows? | ||
| [2011/10/25 08:53:39] @ maxmartin joined channel #puppet | ||
| [2011/10/25 08:53:58] <timyim> jhelwig: that's exactly what i did.... yum install 2.6.9, yum upgrade puppet and everything worked fine..... my friend had same excact issue at another company and it worked for him too | ||
| [2011/10/25 08:54:12] <caviwipes> just followed the instructions on the wiki, install ruby (used link from wiki) and then grabed the puppet zip files | ||
| [2011/10/25 08:54:14] <sticky> mmm nginx | ||
| [2011/10/25 08:54:22] @ los324 joined channel #puppet | ||
| [2011/10/25 08:54:31] @ los324 left channel #puppet () | ||
| [2011/10/25 08:54:45] <jhelwig> caviwipes: Which link did you use? There may still be a stale page lying around. | ||
| [2011/10/25 08:54:46] @ Quit: octane-: Quit: octane- | ||
| [2011/10/25 08:55:17] <caviwipes> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows | ||
| [2011/10/25 08:55:27] <jhelwig> timyim: I just said I find it hard to believe, not that it was impossible. ;P I'll talk with stahnma at some point today to see if anything funny is going on with the packaging. | ||
| [2011/10/25 08:56:23] <jhelwig> caviwipes: Where did you install Ruby? C:\ruby187? | ||
| [2011/10/25 08:56:37] <caviwipes> yes | ||
| [2011/10/25 08:57:00] <caviwipes> PATH was added automagically it seems | ||
| [2011/10/25 08:57:24] @ cruzfox joined channel #puppet | ||
| [2011/10/25 08:57:35] <jhelwig> caviwipes: You have a c:\ruby187\bin\puppet.bat, right? | ||
| [2011/10/25 08:57:47] <caviwipes> correct | ||
| [2011/10/25 08:58:24] @ cosman2001 joined channel #puppet | ||
| [2011/10/25 08:59:30] <jhelwig> Can you pastie the output you're getting when you try running the agent (including the command-line invocation you're using to run it)? | ||
| [2011/10/25 08:59:57] <caviwipes> yup, one moment | ||
| [2011/10/25 09:00:07] <Ebron> pastebin ftw | ||
| [2011/10/25 09:01:00] <askreet> Does anyone know if PE 2.0 is any different from Puppet Dashboard 1.2.2? | ||
| [2011/10/25 09:01:23] <n1x0n> timyim: mmm didn't work for me , still can't see fqdn fact :-( | ||
| [2011/10/25 09:01:46] @ Quit: labrown: Quit: Leaving | ||
| [2011/10/25 09:01:56] @ Quit: cliff-hm: Quit: Leaving | ||
| [2011/10/25 09:02:19] @ freezey joined channel #puppet | ||
| [2011/10/25 09:02:49] @ ryancoleman joined channel #puppet | ||
| [2011/10/25 09:02:55] <n1x0n> but it sees facter's facts in 2.6.9 | ||
| [2011/10/25 09:03:26] <jhelwig> askreet: Since PE has a lot more than Dashboard in it, yes, it's very different. I'm guessing you mean if the Dashboard in PE is different from "standard" Dashboard 1.2.2? | ||
| [2011/10/25 09:04:04] @ mrwacky42 joined channel #puppet | ||
| [2011/10/25 09:04:09] <n1x0n> timyim: I lied, downgrading to 2.6.12 then 2.7.6 doesn't work, downgrading to 2.6.9 then upgrade works | ||
| [2011/10/25 09:04:34] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/10/25 09:04:45] <timyim> n1x0n: exactly | ||
| [2011/10/25 09:04:51] <timyim> 2.6.9 is the magical number | ||
| [2011/10/25 09:05:09] <timyim> jhelwig: you want any more info than this: http://projects.puppetlabs.com/issues/9109#note-9 | ||
| [2011/10/25 09:05:31] <xim1> openssl tells me this "verify error:num=19:self signed certificate in certificate chain" | ||
| [2011/10/25 09:06:12] <jhelwig> timyim: Hopefully, if not we can always prod for more info/testing. | ||
| [2011/10/25 09:06:21] @ Quit: saiju: Read error: Connection reset by peer | ||
| [2011/10/25 09:06:46] @ jon6000 left channel #puppet () | ||
| [2011/10/25 09:06:58] @ mitchellh joined channel #puppet | ||
| [2011/10/25 09:07:10] <n1x0n> timyim: I'll chip in with our setup when I get back home, thanks again for help | ||
| [2011/10/25 09:07:16] <timyim> np | ||
| [2011/10/25 09:08:13] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/10/25 09:08:30] @ Quit: mitchellh: Client Quit | ||
| [2011/10/25 09:09:16] <clustermagnet> guys… trying to wrap my head around the sendmail class…. it keeps going from stopped to running... | ||
| [2011/10/25 09:09:19] <clustermagnet> (/Stage[main]/Sendmail/Service[sendmail]/ensure) ensure changed 'stopped' to 'running' | ||
| [2011/10/25 09:09:20] <xim1> timyim: Out of 4 nodes, i have 1 node that is actually working. The config is the same on all servers. | ||
| [2011/10/25 09:09:26] <tmz> timyim: It might be interesting to compare the output of rpm -qlv puppet and rpm -V puppet with both 2.6.9 and 2.7.6. | ||
| [2011/10/25 09:09:32] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/10/25 09:09:58] <clustermagnet> http://pastie.org/2757004 class itself | ||
| [2011/10/25 09:10:19] <clustermagnet> how should i rewrite it for it to work properly :) thanks!! | ||
| [2011/10/25 09:10:34] <_rc> clustermagnet: does the sendmail service leave an entry called 'sendmail' in the process list? | ||
| [2011/10/25 09:10:42] <jhelwig> cosman2001: 'puppet agent --configprint config' will tell you where Puppet's config file is (RE: Your update to the Windows wiki page.) | ||
| [2011/10/25 09:10:51] <_rc> and/or does the init script support status? | ||
| [2011/10/25 09:11:07] <timyim> tmz: right, I can totally provide the diffs of the packages if someone is willing to do something with them????? | ||
| [2011/10/25 09:11:31] @ thisKat joined channel #puppet | ||
| [2011/10/25 09:11:31] <clustermagnet> _rc /etc/init.d/sendmail status | ||
| [2011/10/25 09:11:31] <clustermagnet> sendmail dead but subsys locked | ||
| [2011/10/25 09:11:31] <clustermagnet> sm-client (pid 5663) is running... | ||
| [2011/10/25 09:11:44] <timyim> xim1: backreading, hold on | ||
| [2011/10/25 09:11:45] <clustermagnet> however, im able to telnet to port 25 localhost, and sendmail greets me, etc | ||
| [2011/10/25 09:11:59] <xim1> thanks | ||
| [2011/10/25 09:12:06] <_rc> clustermagnet: so no process? | ||
| [2011/10/25 09:12:13] <clustermagnet> _rc i guess not.... | ||
| [2011/10/25 09:12:19] <clustermagnet> so add the has status= no? | ||
| [2011/10/25 09:12:21] <_rc> clustermagnet: use hasstatus in your service resource. | ||
| [2011/10/25 09:12:24] <tmz> timyim: I'm not volunteering to do analysis there, but if you compare the output you should be able to see whether there is anything amiss in the packaging. | ||
| [2011/10/25 09:12:55] <omry> clustermagnet, if your sendmail init.d script does not support status, try to add something like this to your service definition: hasstatus => "false", pattern => "sendmail", | ||
| [2011/10/25 09:13:09] <tmz> timyim: Also would need to do a listing of any dirs puppet created to look for left over files. This would be pretty odd for rpm, as it cleans up any files it installs. | ||
| [2011/10/25 09:13:19] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 09:13:33] @ negronjl joined channel #puppet | ||
| [2011/10/25 09:13:33] <clustermagnet> _rc omry thanks guys… that fixed the error | ||
| [2011/10/25 09:13:45] <clustermagnet> but that will ensure sendmail is running, ya? | ||
| [2011/10/25 09:13:53] <omry> turn it off and check | ||
| [2011/10/25 09:13:57] <_rc> it'll ensure that status says it is | ||
| [2011/10/25 09:14:05] <clustermagnet> nice | ||
| [2011/10/25 09:14:10] <clustermagnet> omry: :) doing | ||
| [2011/10/25 09:14:11] <hettik> Hi _rc. Could you clarify what you meant by you don't need certdnsname to create the cert: Here's how we create the cert so the clients can fail over to any master | ||
| [2011/10/25 09:14:11] <clustermagnet> thanks | ||
| [2011/10/25 09:14:20] <timyim> tmz: right, I was thinking the same thing... diff package before and after, diff filesystem before and after | ||
| [2011/10/25 09:14:31] <_rc> for a real service you care about I'd teach nagios about it | ||
| [2011/10/25 09:14:48] <hettik> 1. set puppetmaster.mydomain.com alias in /etc/hosts and run: puppet master --verbose --no-daemonize --ca_name "Puppet CA: puppetmaster.mydomain.com" --onetime | ||
| [2011/10/25 09:15:02] <clustermagnet> yep, 100% good, thanks ppl! | ||
| [2011/10/25 09:15:24] <clustermagnet> _rc by proc, you means when you do ps -ef | grep -i sendmail, what the process name is? | ||
| [2011/10/25 09:15:26] <hettik> 2. set certname=puppetmaster.mydomain.com in master's puppet.conf | ||
| [2011/10/25 09:15:36] <_rc> clustermagnet: yes | ||
| [2011/10/25 09:15:48] <hettik> 3. generate and sign the key for the master: puppet cert --debug -g prodhost01.mydomain.com.pem --certdnsname=puppetmaster.mydomain.com (real machine name scsxcatd01.usscshw.amrs.bankofamerica.com.pem used in apache config. | ||
| [2011/10/25 09:15:52] <clustermagnet> _rc: got ya! other than ps -ef, where else in /proc maybe, where does it write the name? | ||
| [2011/10/25 09:16:16] <clustermagnet> also, guys, i would like to push .tgz to machines… vs rpms | ||
| [2011/10/25 09:16:25] <_rc> clustermagnet: this is how puppet 2.6 and earlier check when it hasn't been told how the service should be identified as running | ||
| [2011/10/25 09:16:29] <clustermagnet> ie, apache, php, whatever installs, push .tgz | ||
| [2011/10/25 09:16:33] <clustermagnet> any suggestions? | ||
| [2011/10/25 09:16:34] <_rc> don't/ | ||
| [2011/10/25 09:17:03] <clustermagnet> _rc: but but but, building rpms... | ||
| [2011/10/25 09:17:20] <_rc> clustermagnet: http://docs.puppetlabs.com/references/2.6.11/type.html#service | ||
| [2011/10/25 09:17:47] <_rc> is quite easy and the best way to play within the lines of your operating system? | ||
| [2011/10/25 09:18:04] <clustermagnet> sorry? | ||
| [2011/10/25 09:18:15] <jhelwig> clustermagnet: Building RPMs really isn't any more difficult than shipping .tgz, and compiling on the target system. It's often much easier to build the RPMs once. | ||
| [2011/10/25 09:18:20] <timyim> xim1: i'm not sure how to help out..... if 1 node works but the other 3 don't???? | ||
| [2011/10/25 09:18:25] <clustermagnet> you suggest me buildling my own rpms, vs compiling from source, then pushing .tgz? | ||
| [2011/10/25 09:18:25] <jhelwig> clustermagnet: He was finishing your sentence after the "...". | ||
| [2011/10/25 09:18:26] <timyim> that's what you are saying | ||
| [2011/10/25 09:18:36] <_rc> I was completing your sentence. "building rpms... is quite easy and the best way to play within the lines of your operating system" | ||
| [2011/10/25 09:18:51] <clustermagnet> ah | ||
| [2011/10/25 09:18:53] <xim1> timyim: yeah..its very frustrating given the fact that all were working fine a couple of hours ago. I am going to create a new CA in any case now. | ||
| [2011/10/25 09:18:53] <clustermagnet> got ya :) | ||
| [2011/10/25 09:19:16] <askreet> clustermagnet: If you want to build RPMs from a directory easily, you can use "fpm" | ||
| [2011/10/25 09:19:24] <timyim> ya, sometimes, its worth it to jsut start from a clean slate... we are only talking about 4 nodes here ;-) | ||
| [2011/10/25 09:19:27] <askreet> It's not ideal, but I agree that building RPMs is a pain. | ||
| [2011/10/25 09:19:43] <timyim> RPM's is the way to go !!!!!!! | ||
| [2011/10/25 09:19:48] <timyim> just thought i'd chime in on this one | ||
| [2011/10/25 09:19:58] <askreet> also, for things like Apache, you can download the official SRPMS, then swap out the source tarball and make only minor tweaks to get it to work. Beats the pants off trying to build a specfile by hand. | ||
| [2011/10/25 09:20:06] <timyim> takes a little while but after you've done 5 or 6, they get way easier | ||
| [2011/10/25 09:20:14] <timyim> the first one will prbably suck to build | ||
| [2011/10/25 09:20:22] @ Spads_ joined channel #puppet | ||
| [2011/10/25 09:20:54] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/10/25 09:21:12] <timyim> askreet: yes, that is the best kept secret to RPMs... in fact, they should say that right on the command line.... rpm -h Just do this.... | ||
| [2011/10/25 09:21:13] <timyim> haha | ||
| [2011/10/25 09:21:36] @ lwhalen joined channel #puppet | ||
| [2011/10/25 09:21:39] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2011/10/25 09:22:27] <Ahlee> Anybody know of a clever way of handling an exit code of 1 meaning success on a script I'm trying to execute with exec? I realize it's not correct for exit 1 to signify success, but the script is third party and the vendor isn't responsive to 'fixing' it | ||
| [2011/10/25 09:22:59] <tmz> Ahlee: There's a parameter to handle that on exec resources. | ||
| [2011/10/25 09:23:03] @ Quit: Meier: Quit: Leaving. | ||
| [2011/10/25 09:23:15] <Ahlee> tmz: oh? thanks, must have missed it =\ Sorry to bother | ||
| [2011/10/25 09:23:39] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/10/25 09:23:49] <haus> yea... the returns parameter can be used for expected return codes | ||
| [2011/10/25 09:24:33] <timyim> 뭉바ㅏ로ㅗㅉㅇ | ||
| [2011/10/25 09:24:33] @ Quit: slseed: Remote host closed the connection | ||
| [2011/10/25 09:24:39] <timyim> shit, wrong window sorry | ||
| [2011/10/25 09:24:42] @ Quit: the_ramink: Ping timeout: 255 seconds | ||
| [2011/10/25 09:24:56] @ shug left channel #puppet ("Leaving") | ||
| [2011/10/25 09:25:05] <timyim> Ahlee: you COULD just do this too.... $yourcomman || : | ||
| [2011/10/25 09:25:21] <ed209> timyim: nice password | ||
| [2011/10/25 09:25:24] @ Spads joined channel #puppet | ||
| [2011/10/25 09:25:25] <timyim> but not recommeded | ||
| [2011/10/25 09:25:30] @ Quit: Spads: Changing host | ||
| [2011/10/25 09:25:30] @ Spads joined channel #puppet | ||
| [2011/10/25 09:25:34] <timyim> hahahaha | ||
| [2011/10/25 09:25:59] @ Quit: Spads_: Ping timeout: 260 seconds | ||
| [2011/10/25 09:26:32] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/10/25 09:26:34] @ zwi joined channel #puppet | ||
| [2011/10/25 09:27:42] <cosman2001> jhelwig, thanks will have to test later as my master is running 2.6 so I need to upgrade to 2.7.6 first | ||
| [2011/10/25 09:27:44] <clustermagnet> fpm? will read up | ||
| [2011/10/25 09:28:17] <clustermagnet> my problem is two fold… i hate rpms going in many places… and same package should ideally work on different systems | ||
| [2011/10/25 09:28:55] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/10/25 09:30:07] @ tily joined channel #puppet | ||
| [2011/10/25 09:30:19] @ Quit: Spads: Ping timeout: 258 seconds | ||
| [2011/10/25 09:30:21] @ cosman2001 joined channel #puppet | ||
| [2011/10/25 09:30:25] @ Spads joined channel #puppet | ||
| [2011/10/25 09:30:25] <_rc> 'many places'? | ||
| [2011/10/25 09:30:29] @ Quit: Spads: Changing host | ||
| [2011/10/25 09:30:29] @ Spads joined channel #puppet | ||
| [2011/10/25 09:30:34] @ djm68 joined channel #puppet | ||
| [2011/10/25 09:30:44] @ Quit: djm68: Client Quit | ||
| [2011/10/25 09:31:23] <_rc> and you have the same package working on different systems quite simply by having all the systems be the same base build | ||
| [2011/10/25 09:31:38] @ Quit: cosman2001: Client Quit | ||
| [2011/10/25 09:32:08] @ Quit: wreiner: Quit: Leaving | ||
| [2011/10/25 09:32:30] @ sdog joined channel #puppet | ||
| [2011/10/25 09:32:42] @ Quit: sdog: Changing host | ||
| [2011/10/25 09:32:42] @ sdog joined channel #puppet | ||
| [2011/10/25 09:32:55] <clustermagnet> _rc: if we ditch centos and go to deb, my process of releasing soft wont change much :) | ||
| [2011/10/25 09:33:15] <clustermagnet> or if i spin up more solaris zones... | ||
| [2011/10/25 09:33:23] <clustermagnet> rpm binds you to building bs | ||
| [2011/10/25 09:33:39] <clustermagnet> like… right now centos doesnt look too hot, may move to deb | ||
| [2011/10/25 09:33:56] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses | ||
| [2011/10/25 09:33:57] <clustermagnet> doesnt matter who your distro is… like… it really doesnt :) | ||
| [2011/10/25 09:33:58] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/10/25 09:34:28] <asteve> solaris zones…talk about bs :p | ||
| [2011/10/25 09:34:38] <_rc> the problem with scripting tarballs is you lose confidence that they all built the same on all your nodes | ||
| [2011/10/25 09:34:42] <clustermagnet> asteve: part of my job :) | ||
| [2011/10/25 09:35:02] <clustermagnet> _rc: oh, no… ill be uploading a final product... | ||
| [2011/10/25 09:35:10] @ jaytaph joined channel #puppet | ||
| [2011/10/25 09:35:20] <asteve> clustermagnet: it used to be part of mine as well, back when it was Sun Solaris; not oraris | ||
| [2011/10/25 09:35:24] <clustermagnet> ie ./configure —prefix=/usr/local/apache-2.blah/ then tgz it, then up it | ||
| [2011/10/25 09:35:49] <clustermagnet> asteve: dood, i haz legacy stuff :) dont hate | ||
| [2011/10/25 09:36:03] <asteve> it can't be that legacy if you're using zones :p | ||
| [2011/10/25 09:36:19] <clustermagnet> asteve: oh, it used to be sol 8 refrigerators | ||
| [2011/10/25 09:36:28] <clustermagnet> all moved to zones | ||
| [2011/10/25 09:36:35] <xim1> timyim: cleaned up everything. Revoked all nodes and deleted the ssl dir on all clients. Seems to work now. | ||
| [2011/10/25 09:36:50] <xim1> timyim: thanks for your time | ||
| [2011/10/25 09:36:50] <clustermagnet> asteve: has to be sparc... | ||
| [2011/10/25 09:36:56] <asteve> hah; either way, solaris' value diminishes every day; unless you're still churning out legacy sparc gabage | ||
| [2011/10/25 09:37:37] <clustermagnet> asteve: neither, looking for a new job :P | ||
| [2011/10/25 09:37:42] <clustermagnet> harr | ||
| [2011/10/25 09:38:20] <clustermagnet> shhhhh, there are departments here that still have their pages in classic asp | ||
| [2011/10/25 09:38:24] <asteve> i have a sun u2 and a5000 storedge array you can have for free if you pay for shipping! | ||
| [2011/10/25 09:38:24] <asteve> :) | ||
| [2011/10/25 09:38:26] <clustermagnet> and refuse to hire people to rewrite their useless shit | ||
| [2011/10/25 09:38:44] <clustermagnet> asteve: im a skydiver, can i jump it? :) | ||
| [2011/10/25 09:38:52] <clustermagnet> dood, that would be a cool ass film | ||
| [2011/10/25 09:39:05] <clustermagnet> ever seen a skydiving video witha vw bug? | ||
| [2011/10/25 09:39:12] <whack> clustermagnet: that's why you should use fpm | ||
| [2011/10/25 09:39:19] <asteve> nope | ||
| [2011/10/25 09:39:19] <clustermagnet> i should round up some oooold fuckoff useless hardware, and make a skydive video :) | ||
| [2011/10/25 09:39:19] @ xim1 left channel #puppet () | ||
| [2011/10/25 09:39:28] <clustermagnet> whack reading about fpm :) | ||
| [2011/10/25 09:39:34] <clustermagnet> whack: thanks dood | ||
| [2011/10/25 09:39:38] <whack> clustermagnet: if you are on rpm now, fpm can build rpms. if you switch to deb (or need to support both) producing debs from fpm is just a flag change from doing rpms :) | ||
| [2011/10/25 09:39:51] <clustermagnet> whack: awesome | ||
| [2011/10/25 09:39:57] <asteve> whack: http://bit.ly/5aej8d | ||
| [2011/10/25 09:39:59] <clustermagnet> whack: appreciate it | ||
| [2011/10/25 09:40:02] <whack> zero knowledge of how to build rpms/debs required ;) | ||
| [2011/10/25 09:40:16] <clustermagnet> whack: well, i've built both in the past | ||
| [2011/10/25 09:40:27] <clustermagnet> consider it working 'backwards' if puppet/chef is in use | ||
| [2011/10/25 09:40:30] <brandon_dacrib> another +1 for fpm | ||
| [2011/10/25 09:40:39] <whack> clustermagnet: same, but it's kidna bullshit dealing with all the boilerplate in rpms/deb package building | ||
| [2011/10/25 09:40:40] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/10/25 09:40:52] <clustermagnet> ideally, you shoudl roll between centos/debian/ EC2/rackspace/blah within hours | ||
| [2011/10/25 09:40:55] <clustermagnet> thats the goal here | ||
| [2011/10/25 09:40:56] @ matchaw joined channel #puppet | ||
| [2011/10/25 09:41:00] <clustermagnet> fuck the phylosophy | ||
| [2011/10/25 09:41:05] <whack> plus trying to deploy a debuggable library as an rpm/deb is annoying (rpm and deb *both* will run strip(1) on all libs/bins before packaging) | ||
| [2011/10/25 09:41:12] <whack> asteve: https://github.com/jordansissel/fpm | ||
| [2011/10/25 09:41:15] <clustermagnet> brandon_dacrib: yes :) | ||
| [2011/10/25 09:41:34] <asteve> whack: i like my link more :p | ||
| [2011/10/25 09:41:39] <whack> asteve: hehe | ||
| [2011/10/25 09:42:00] <brandon_dacrib> https://github.com/jordansissel/fpm/wiki <-- docs | ||
| [2011/10/25 09:42:26] <asteve> a ruby gem for package management…..GENIUS (oh wait, gems can't do something very important regarding package management...) | ||
| [2011/10/25 09:43:02] <whack> the implementation of fpm in ruby is completely unimportant to what it does | ||
| [2011/10/25 09:43:58] <clustermagnet> in either case, thanks for the fpm way | ||
| [2011/10/25 09:44:03] <clustermagnet> will fix my brain :) | ||
| [2011/10/25 09:44:04] <clustermagnet> xoxo | ||
| [2011/10/25 09:44:08] <wollviech> whack: the strip-feature of deb/rpm can be deactivated ... (else packaging of ...-dbg packages would be very annoying) | ||
| [2011/10/25 09:44:20] @ alfism joined channel #puppet | ||
| [2011/10/25 09:44:24] <whack> wollviech: yes, I am very aware :) | ||
| [2011/10/25 09:44:29] <clustermagnet> omg, thie fpm $@)%( kicks ass! | ||
| [2011/10/25 09:45:07] <whack> wollviech: I'm suggesting the defautls are stupid, and changing the defaults requires digging into stuff I'd prefer not spending time on, so I wrote fpm to avoid the nonsense ;) | ||
| [2011/10/25 09:46:22] * _UsUrPeR_ tips his hat | ||
| [2011/10/25 09:46:44] <wollviech> whack: that is definitly one way to deal with the problem :-) | ||
| [2011/10/25 09:47:11] @ toi joined channel #puppet | ||
| [2011/10/25 09:47:31] <wollviech> whack: looks very neat, especially the 'dir' source type ;-) | ||
| [2011/10/25 09:47:38] @ shadoi joined channel #puppet | ||
| [2011/10/25 09:47:49] <_UsUrPeR_> I am attempting to transfer a script from my puppet master to my client, then execute that script on the agent. I am getting the error "/tmp/build returned 1 instead of one of [0] at /etc/puppet/modules/filetransfer/manifests/nit.pp:16" | ||
| [2011/10/25 09:48:37] <_UsUrPeR_> When puppet executes a remote script with the exec { /path/to/script }, how does it execute? Is it run with bash, or does puppet actualy read the file and type out it's contents? | ||
| [2011/10/25 09:49:04] @ mrwacky42 joined channel #puppet | ||
| [2011/10/25 09:49:13] <brandon_dacrib> its run with the interpreter in the 1st line | ||
| [2011/10/25 09:49:28] @ samrose joined channel #puppet | ||
| [2011/10/25 09:49:32] <brandon_dacrib> is it a bash script? | ||
| [2011/10/25 09:49:37] <whack> wollviech: also useful for gem/python/etc source conversion to deb/rpm/solaris | ||
| [2011/10/25 09:49:49] <_UsUrPeR_> brandon_dacrib: No. I will change that now. | ||
| [2011/10/25 09:51:26] <_UsUrPeR_> brandon_dacrib: cool. Just added #!/bin/bash to first line. looks like it's working now. Thanks bud. | ||
| [2011/10/25 09:51:41] <brandon_dacrib> :) | ||
| [2011/10/25 09:52:14] @ kelseyhightower joined channel #puppet | ||
| [2011/10/25 09:53:10] <_UsUrPeR_> ok, so I have a fairly complicated question for anybody willing to pay attention. | ||
| [2011/10/25 09:53:23] <_UsUrPeR_> I am attempting to use puppet to administer some LTSP servers. | ||
| [2011/10/25 09:54:11] <_UsUrPeR_> LTSP is for running thin clients from PXE boot. The thin clients boot off a compressed image located on the LTSP server | ||
| [2011/10/25 09:54:32] <dpittman> _UsUrPeR_: We execute it like any Unix executable. You almost certainly ... ah, different LTSP deployment to the one I worked on. | ||
| [2011/10/25 09:55:02] <_UsUrPeR_> The only way to make changes to the thinclient image is to use chroot. Now, I can code scripts for chroot, but I am wondering if there's a way to get puppet to check (i.e. "ensure") package installation in a chroot | ||
| [2011/10/25 09:55:09] <_UsUrPeR_> has anybody seen/done anything like this? | ||
| [2011/10/25 09:55:13] @ jon6000 joined channel #puppet | ||
| [2011/10/25 09:55:23] <dpittman> _UsUrPeR_: Anyway, if you run on the client then it just runs the script like it runs the script. By default we use a direct exec, but (with recent Puppet) you can set `provider => shell` to get at executing with '/bin/sh -c' | ||
| [2011/10/25 09:55:42] <dpittman> _UsUrPeR_: You almost certainly want to run puppet by doing the chroot, *then* running Puppet, or just running it "live" on the client. | ||
| [2011/10/25 09:55:45] @ the_ramink joined channel #puppet | ||
| [2011/10/25 09:55:50] <dpittman> _UsUrPeR_: I did, some time back, basically that. :) | ||
| [2011/10/25 09:55:51] <wollviech> _UsUrPeR_: yes. just run the puppet client in the chroot | ||
| [2011/10/25 09:56:23] <hettik> anyone had issue running scan_certs | ||
| [2011/10/25 09:56:25] <hettik> ? | ||
| [2011/10/25 09:56:31] <hettik> getting the error : 3. generate and sign the key for the master: puppet cert --debug -g prodhost01.mydomain.com.pem --certdnsname=puppetmaster.mydomain.com (real machine name scsxcatd01.usscshw.amrs.bankofamerica.com.pem used in apache config. | ||
| [2011/10/25 09:56:37] <_UsUrPeR_> interesting idea | ||
| [2011/10/25 09:56:39] <hettik> with ruby 1.8.5 | ||
| [2011/10/25 09:56:39] * _UsUrPeR_ ponders for a bit | ||
| [2011/10/25 09:57:12] <_rc> I don't think that's the error you're getting | ||
| [2011/10/25 09:57:23] <hettik> sorry .. wrong cut and paste | ||
| [2011/10/25 09:57:44] <_rc> http://pastie.org/2757241 | ||
| [2011/10/25 09:57:53] @ Quit: negronjl: Quit: Bye | ||
| [2011/10/25 09:58:08] <_rc> that's the change we had to make to it to backport it to 1.8.5 | ||
| [2011/10/25 09:58:08] <hettik> scan_certs:99:in `display': undefined method `reduce' for #<Hash:0x2b30056c1370> (NoMethodError) | ||
| [2011/10/25 09:58:41] <_rc> hettik: yeah, see my paste, it's around line 104 of scan_certs | ||
| [2011/10/25 09:58:45] <jhelwig> hettik: Yeah. Reduce doesn't exist in 1.8.5, iirc. :-\ | ||
| [2011/10/25 09:58:52] <jhelwig> jmccune: Ping? ----^ | ||
| [2011/10/25 09:59:19] <hettik> thanks | ||
| [2011/10/25 09:59:26] <_rc> the reduce version I found more dense than the non-reduce equivalent | ||
| [2011/10/25 09:59:29] @ Spads_ joined channel #puppet | ||
| [2011/10/25 09:59:31] <hettik> I'll make the code change and re-run it | ||
| [2011/10/25 09:59:57] @ highclasshole joined channel #puppet | ||
| [2011/10/25 10:00:01] <hooper> any osx users have issues with the following "puppet/util/suidmanager.rb:34 - Invalid argument" | ||
| [2011/10/25 10:00:07] <hettik> _rc, did you see any issue with the cert generation method we follow ? (let me resend it) | ||
| [2011/10/25 10:00:12] <wollviech> _UsUrPeR_: you will probably want to use a bind-mount for /var/lib/puppet and /etc/puppet for the chroot | ||
| [2011/10/25 10:00:24] @ Quit: toi: Ping timeout: 276 seconds | ||
| [2011/10/25 10:00:31] @ Quit: blentz: Remote host closed the connection | ||
| [2011/10/25 10:01:15] <highclasshole> Is there a module that exists already that will purge users if they are not defined by puppet -- but only for specific group(s) | ||
| [2011/10/25 10:01:28] <wollviech> _UsUrPeR_: at least if you have several of them, so you can share the clientkeys and config across them | ||
| [2011/10/25 10:01:43] @ jsurfer joined channel #puppet | ||
| [2011/10/25 10:01:43] @ blentz joined channel #puppet | ||
| [2011/10/25 10:02:20] @ Ryan_Lane joined channel #puppet | ||
| [2011/10/25 10:02:35] @ Quit: Spads: Ping timeout: 256 seconds | ||
| [2011/10/25 10:02:57] @ Quit: lian_: Ping timeout: 265 seconds | ||
| [2011/10/25 10:03:03] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/10/25 10:03:20] @ hobbeswalsh joined channel #puppet | ||
| [2011/10/25 10:03:25] @ williemach joined channel #puppet | ||
| [2011/10/25 10:03:26] @ Bass10 joined channel #puppet | ||
| [2011/10/25 10:03:55] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/10/25 10:04:18] @ alanevans joined channel #puppet | ||
| [2011/10/25 10:04:45] @ Quit: Bass10: Max SendQ exceeded | ||
| [2011/10/25 10:04:46] @ Quit: skm: Ping timeout: 265 seconds | ||
| [2011/10/25 10:04:53] @ Quit: hettik: Ping timeout: 265 seconds | ||
| [2011/10/25 10:05:22] @ skm joined channel #puppet | ||
| [2011/10/25 10:05:56] <salajander> glarizza: what's the status of your launchd rewrite? i don't see it in 2.7.6. | ||
| [2011/10/25 10:06:18] @ p3rror joined channel #puppet | ||
| [2011/10/25 10:06:32] @ hettik joined channel #puppet | ||
| [2011/10/25 10:06:51] <hettik> sorry got disconnected | ||
| [2011/10/25 10:07:19] <glarizza> salajander: I've talked with someone today to try and get it merged in before Mactech. I'll will let you know as soon as I see anything. | ||
| [2011/10/25 10:07:25] <hettik> _rc, not sure if you saw my last update | ||
| [2011/10/25 10:08:20] <glarizza> salajander: 2.7.6 was largely for the Altnames vulnerability and to fix a couple of Windows bugs. | ||
| [2011/10/25 10:09:15] @ jon6000 left channel #puppet () | ||
| [2011/10/25 10:10:57] <salajander> glarizza: aye. i'll keep on patching yours in :) | ||
| [2011/10/25 10:11:01] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/10/25 10:12:00] @ tilgovi joined channel #puppet | ||
| [2011/10/25 10:12:00] @ Quit: tilgovi: Changing host | ||
| [2011/10/25 10:12:00] @ tilgovi joined channel #puppet | ||
| [2011/10/25 10:12:29] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/10/25 10:12:41] <_rc> hettik: no, did scan_certs work for you with that change? | ||
| [2011/10/25 10:12:49] @ Spads joined channel #puppet | ||
| [2011/10/25 10:13:01] * _UsUrPeR_ just got back | ||
| [2011/10/25 10:13:45] <jmccune> hettik: I'll take a look at https://github.com/puppetlabs/puppetlabs-cve20113872/issues/74 and should have it fixed within the hour | ||
| [2011/10/25 10:14:28] <_UsUrPeR_> wollviech: I was thinking further about this, and realized that differentiating between the chroot and non-chroot on the same server may be impossible. They both share the same IP address. That means that everything that needs to be done on the LTSP server will be duplicated on the LTSP client. That is not desireable because all the LTSP chroot information is transferred to a LTSP client with a limited amount of memory on boot | ||
| [2011/10/25 10:14:38] <hettik> rc, yes, the scan_certs worked. As I suspected if flaged the master certs as potentially vulnarable | ||
| [2011/10/25 10:14:39] @ maxmartin joined channel #puppet | ||
| [2011/10/25 10:15:12] <hettik> Now, we use altname so we can fail over clients to our multi-masters with the single wide ip name | ||
| [2011/10/25 10:15:54] <hettik> three steps we use to create the server, 1. run: puppet master --verbose --no-daemonize --ca_name "Puppet CA: puppetmaster.mydomain.com" --onetime | ||
| [2011/10/25 10:15:59] <_UsUrPeR_> That means that the LTSP client will need to swap to the server via the network, and that starts to slow down everything :/ | ||
| [2011/10/25 10:16:15] <hettik> then second step : set certname=puppetmaster.mydomain.com in master's puppet.con | ||
| [2011/10/25 10:16:22] <glarizza> salajander: I REALLY want to fix this before MacTech, so I REALLY hope to let you know before then ;) | ||
| [2011/10/25 10:16:24] @ Quit: Ryan_Lane: Ping timeout: 240 seconds | ||
| [2011/10/25 10:16:40] <hettik> and the third : sign the master cert: generate and sign the key for the master: puppet cert --debug -g prodhost01.mydomain.com.pem --certdnsname=puppetmaster.mydomain.com (real machine name scsxcatd01.usscshw.amrs.bankofamerica.com.pem used in apache config. | ||
| [2011/10/25 10:16:53] <hettik> is there an alternate way to do that without using certdnsname ? | ||
| [2011/10/25 10:16:53] @ toi joined channel #puppet | ||
| [2011/10/25 10:17:43] @ Ryan_Lane joined channel #puppet | ||
| [2011/10/25 10:18:09] @ Quit: rocket: Read error: Operation timed out | ||
| [2011/10/25 10:18:10] <salajander> glarizza: fyi, http://puppetlabs.com/misc/download-options/ still lists 2.7.5 as latest | ||
| [2011/10/25 10:18:20] @ rocket joined channel #puppet | ||
| [2011/10/25 10:18:23] <_rc> hettik: what you're doing is/was fine. | ||
| [2011/10/25 10:18:43] <_rc> as you're not setting it permanently in the puppet.conf | ||
| [2011/10/25 10:18:49] <_rc> so it's not leaking out | ||
| [2011/10/25 10:20:03] <hettik> that's what I thought. thanks for the input _rc. | ||
| [2011/10/25 10:20:08] <timyim> what is certdnsname for? | ||
| [2011/10/25 10:20:48] <_rc> http://docs.puppetlabs.com/references/stable/configuration.html#certdnsnames | ||
| [2011/10/25 10:20:54] @ lindenle_ joined channel #puppet | ||
| [2011/10/25 10:21:22] <hettik> we don't set certdnsname in master's puppet.conf and the client have server=puppetmaster.mydomain.conf | ||
| [2011/10/25 10:21:34] <timyim> ahhh so you can have multiple masters without hardcoding certname in puppet.conf? | ||
| [2011/10/25 10:21:46] <timyim> i just rsync my certs between masters | ||
| [2011/10/25 10:21:47] <_rc> ish | ||
| [2011/10/25 10:21:49] @ Quit: sdog: Quit: Leaving. | ||
| [2011/10/25 10:22:00] <timyim> and then haproxy for hailover | ||
| [2011/10/25 10:22:08] @ Coff joined channel #puppet | ||
| [2011/10/25 10:22:12] <timyim> *failover | ||
| [2011/10/25 10:22:23] @ Coff is now known as coff_ | ||
| [2011/10/25 10:22:30] @ Quit: PhilK: Excess Flood | ||
| [2011/10/25 10:22:39] <lindenle_> hi guys, asked this last week but why does puppet enterprise run at install and can I change this behavior? The reason I ask is that I am running the installer st kickstart and I dont want puppet to actually run until the machine reboots. | ||
| [2011/10/25 10:22:49] <hettik> correct. multi-master config | ||
| [2011/10/25 10:22:58] @ Quit: askreet: Quit: Lost terminal | ||
| [2011/10/25 10:22:58] @ gregp76 joined channel #puppet | ||
| [2011/10/25 10:23:03] <timyim> sweet, i will need to look into that | ||
| [2011/10/25 10:23:26] <timyim> better than my stupid rsync setup hahaha | ||
| [2011/10/25 10:23:37] <hettik> Was working fine until yesterday :-) vulnarability notice about certdnsname | ||
| [2011/10/25 10:24:09] @ cosman2001 joined channel #puppet | ||
| [2011/10/25 10:24:17] @ PhilK joined channel #puppet | ||
| [2011/10/25 10:24:27] <hettik> you still need to sync the client certs between masters .. you can use somethign like unison (bi-directional sync) to do that | ||
| [2011/10/25 10:25:14] <timyim> hhaah | ||
| [2011/10/25 10:25:16] <timyim> ya we just went with an rsync daemon on each master... home-brew bi-directional | ||
| [2011/10/25 10:25:21] <_rc> you don't | ||
| [2011/10/25 10:25:32] <lindenle_> For instance what does th -n option do during install? | ||
| [2011/10/25 10:25:41] <_rc> it's enough that they're signed by the ca | ||
| [2011/10/25 10:26:05] <timyim> then during failover, they will automatically send to new master? | ||
| [2011/10/25 10:26:09] <timyim> since they are signed? | ||
| [2011/10/25 10:26:37] <hettik> Ah.. with one caveat. then your failure point is the CA | ||
| [2011/10/25 10:26:40] <_rc> they don't need to be sent | ||
| [2011/10/25 10:26:50] <wollviech> _UsUrPeR_: you could use environments for this | ||
| [2011/10/25 10:26:53] <timyim> ok | ||
| [2011/10/25 10:26:53] <hettik> the single CA I meant | ||
| [2011/10/25 10:26:57] <_rc> the CA is just some files; you can put the ca cert on all your masters | ||
| [2011/10/25 10:27:07] <timyim> ca is my weakpoint | ||
| [2011/10/25 10:27:28] <_UsUrPeR_> wollviech: Is there a doc you could point me toward? I am intrigued. | ||
| [2011/10/25 10:27:35] <timyim> right, the CA being just some files, that's why i rsync them across masters | ||
| [2011/10/25 10:27:42] <wollviech> _UsUrPeR_: http://docs.puppetlabs.com/guides/environment.html | ||
| [2011/10/25 10:27:47] <hettik> yes, that what we did with multi-master.... so the load balancer can direct to any master in round-borin | ||
| [2011/10/25 10:27:47] <timyim> (just the certs) | ||
| [2011/10/25 10:27:59] * _UsUrPeR_ tips his hat to wollviech | ||
| [2011/10/25 10:28:45] <hettik> round-robin. and when we re-provision a host, we clean up from one master (and unison will take care of the rest) | ||
| [2011/10/25 10:29:53] <lindenle_> hi guys, asked this last week but why does puppet enterprise run at install and can I change this behavior? The reason I ask is that I am running the installer st kickstart and I dont want puppet to actually run until the machine reboots. | ||
| [2011/10/25 10:30:12] <hettik> _rc, thanks a lot | ||
| [2011/10/25 10:32:57] @ bman1 joined channel #puppet | ||
| [2011/10/25 10:33:06] @ Quit: aranc23: Remote host closed the connection | ||
| [2011/10/25 10:33:25] @ mauve_ joined channel #puppet | ||
| [2011/10/25 10:38:13] @ Quit: sihil: Quit: Linkinus - http://linkinus.com | ||
| [2011/10/25 10:38:43] @ mitchellh joined channel #puppet | ||
| [2011/10/25 10:42:20] @ Quit: jaervosz: Read error: Connection reset by peer | ||
| [2011/10/25 10:43:18] @ Quit: krak3n: Remote host closed the connection | ||
| [2011/10/25 10:47:57] @ Quit: jodok: Quit: jodok | ||
| [2011/10/25 10:48:36] @ Quit: dak419: Quit: Leaving. | ||
| [2011/10/25 10:48:42] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/10/25 10:52:59] @ zoredache joined channel #puppet | ||
| [2011/10/25 10:53:03] @ devdas joined channel #puppet | ||
| [2011/10/25 10:54:07] @ claussen joined channel #puppet | ||
| [2011/10/25 10:54:15] @ Quit: Razique: Quit: Razique | ||
| [2011/10/25 10:56:35] @ cjdaniel joined channel #puppet | ||
| [2011/10/25 10:56:56] @ benkevan joined channel #puppet | ||
| [2011/10/25 10:56:57] @ Quit: benkevan: Changing host | ||
| [2011/10/25 10:56:57] @ benkevan joined channel #puppet | ||
| [2011/10/25 11:00:55] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/25 11:03:59] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/10/25 11:04:48] @ cruzfox joined channel #puppet | ||
| [2011/10/25 11:05:02] @ Quit: astrostl: Read error: Connection reset by peer | ||
| [2011/10/25 11:07:51] @ djm68 joined channel #puppet | ||
| [2011/10/25 11:08:09] <jmccune> hettik: I've fixed the ruby 1.8.5 issue | ||
| [2011/10/25 11:08:20] <jmccune> hettik: Were you the one who reported https://github.com/puppetlabs/puppetlabs-cve20113872/issues/74 ? | ||
| [2011/10/25 11:08:21] @ larstobi joined channel #puppet | ||
| [2011/10/25 11:08:31] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/10/25 11:08:31] <hettik> thanks jmcune | ||
| [2011/10/25 11:08:52] <hettik> I tested with the pastie _rc sent and it worked. | ||
| [2011/10/25 11:09:24] <jmccune> hettik: There's also a new version of the module at http://links.puppetlabs.com/cve20113872_remediation | ||
| [2011/10/25 11:09:29] <jmccune> (version 0.0.5) | ||
| [2011/10/25 11:09:33] <jmccune> That includes this fix | ||
| [2011/10/25 11:10:35] @ jodok joined channel #puppet | ||
| [2011/10/25 11:10:36] @ Quit: jodok: Changing host | ||
| [2011/10/25 11:10:36] @ jodok joined channel #puppet | ||
| [2011/10/25 11:10:37] <hettik> excellent. Thank you | ||
| [2011/10/25 11:11:06] <jmccune> hettik: Anytime. Please mention my name if you run into any other issues | ||
| [2011/10/25 11:11:19] <jmccune> (IRC mentions go straight to my phone) | ||
| [2011/10/25 11:11:38] <whack> jmccune: now I Know how to harass you ;) | ||
| [2011/10/25 11:11:50] <jmccune> Yeah... | ||
| [2011/10/25 11:11:56] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/10/25 11:12:01] <jmccune> jamesturnbull has known this trick for quite some time. | ||
| [2011/10/25 11:12:21] <jmccune> He's nearly gotten me to impose rate limiting. | ||
| [2011/10/25 11:12:33] <jmccune> But it hasn't been a problem. (yet) =) | ||
| [2011/10/25 11:13:02] <jamesturnbull> jmccune: jmccune jmccune jmccune jmccune hi jmccune hi jmccune hi hi hi | ||
| [2011/10/25 11:13:07] <kjetilho> only when you're away, right? | ||
| [2011/10/25 11:13:21] @ pugnacity joined channel #puppet | ||
| [2011/10/25 11:13:57] @ nfagerlund joined channel #puppet | ||
| [2011/10/25 11:13:57] <ashp> I am makin an oracle module | ||
| [2011/10/25 11:14:01] <ashp> and so far I've only managed to do this today: | ||
| [2011/10/25 11:14:01] <ashp> http://fpaste.org/Gawq/ | ||
| [2011/10/25 11:14:17] <nlew> ashp: Ship it! | ||
| [2011/10/25 11:14:25] @ bronto joined channel #puppet | ||
| [2011/10/25 11:14:36] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/10/25 11:15:03] <ed209> lol, nice | ||
| [2011/10/25 11:15:16] @ bmahe joined channel #puppet | ||
| [2011/10/25 11:15:17] <ed209> include dba2.0 | ||
| [2011/10/25 11:15:25] <ashp> our dbas are really upset by the idea of an automatically installing oracle class | ||
| [2011/10/25 11:15:28] <ashp> like they got super mad about it | ||
| [2011/10/25 11:15:32] <ashp> and said they HAVE to do things manually | ||
| [2011/10/25 11:15:37] <ed209> I think that's part of the oracle training | ||
| [2011/10/25 11:16:04] * ed209 spits out the koolaide | ||
| [2011/10/25 11:16:05] <jmccune> kjetilho: No , all the time. =) | ||
| [2011/10/25 11:16:56] <ashp> they also told me no rpms exist | ||
| [2011/10/25 11:17:03] <ashp> and you "have to" manually install it every time | ||
| [2011/10/25 11:17:05] <ashp> and it can't be packaged | ||
| [2011/10/25 11:17:08] @ Quit: claussen: Quit: claussen | ||
| [2011/10/25 11:17:12] <ashp> so this is going to take some work | ||
| [2011/10/25 11:17:25] @ lwhalen joined channel #puppet | ||
| [2011/10/25 11:17:26] <dpittman> ashp: The hard part of Puppet, getting business buy-in. :) | ||
| [2011/10/25 11:17:52] @ Quit: coff_: Ping timeout: 265 seconds | ||
| [2011/10/25 11:18:18] @ ckauhaus joined channel #puppet | ||
| [2011/10/25 11:18:32] <ed209> ashp: you can make an answer file, and tell your dba's to go read the whitepaper on oracle.com | ||
| [2011/10/25 11:18:51] @ Quit: mfladischer: Ping timeout: 244 seconds | ||
| [2011/10/25 11:18:58] <ashp> ed209: I'm the one who'll have to go read that.. | ||
| [2011/10/25 11:19:05] <ashp> I asked them to send me a list of steps they take to install oracle: | ||
| [2011/10/25 11:19:11] <ashp> 11. Run Oracle installer displaying back to my workstation | ||
| [2011/10/25 11:19:11] <ashp> 12. Install code and run root level scripts necessary to install and configure Linux box | ||
| [2011/10/25 11:19:19] <ken_barber> ashp: I automated oracle installation using rollout (another CM) some years back. | ||
| [2011/10/25 11:19:29] <ashp> I guess for now I'll go the answer file route | ||
| [2011/10/25 11:19:33] <ashp> ken_barber: how bad is it? | ||
| [2011/10/25 11:19:47] <ken_barber> ashp: nasty. slow to test while your developing the module for it. | ||
| [2011/10/25 11:19:51] <ken_barber> ashp: but it does work. | ||
| [2011/10/25 11:19:54] @ Quit: toi: Ping timeout: 255 seconds | ||
| [2011/10/25 11:19:55] <ken_barber> ashp: I mean - you can make it happen. | ||
| [2011/10/25 11:20:22] <ken_barber> ashp: largely used answer file initially for installation (although considered switching to binary like an rpm or some such) | ||
| [2011/10/25 11:20:33] <ken_barber> ashp: and created a 'resource' like thing for managing the configuration | ||
| [2011/10/25 11:20:59] <ken_barber> ashp: whats that binary file format in oracle for config … let me find it again. | ||
| [2011/10/25 11:21:01] <clustermagnet> whack: brandon_dacrib +infinity for fpm | ||
| [2011/10/25 11:21:05] <ashp> I am trying to determine what version of oracle they have so I can see if there really is an rpm | ||
| [2011/10/25 11:21:13] <ashp> because they have oracle linux so it seems bizarre they wouldn't have it | ||
| [2011/10/25 11:21:16] <ashp> fpm is so good | ||
| [2011/10/25 11:21:17] <ken_barber> ashp: spfile | ||
| [2011/10/25 11:21:45] <ashp> ken_barber: will take a look, it's such a different world :/ | ||
| [2011/10/25 11:21:53] <ken_barber> ashp: so creating a resource to manage spfile is totally doable | ||
| [2011/10/25 11:21:56] @ Quit: ckauhaus: Client Quit | ||
| [2011/10/25 11:22:03] <ken_barber> ashp: but the oracle dudes will find it weird yeah | ||
| [2011/10/25 11:22:26] <ashp> ken_barber: Oh I see, so you made a resource that then modifies spfile? For now I'm just working on having a module capable of a/ install b/ initial setup with some defaults c/ maybe importing the schema for this app | ||
| [2011/10/25 11:22:30] <ashp> other than that they are on their own right now | ||
| [2011/10/25 11:22:32] <whack> clustermagnet: :) | ||
| [2011/10/25 11:22:36] <ashp> i have about 500 other things to puppetize too | ||
| [2011/10/25 11:22:54] <ashp> whack: wait, you wrote fpm? | ||
| [2011/10/25 11:22:59] <ashp> whack: if you're ever in boston I owe you beers | ||
| [2011/10/25 11:23:04] <ken_barber> ashp: ya spfile 'resource' but it wasn't in puppet | ||
| [2011/10/25 11:23:10] <whack> ashp: deal :) | ||
| [2011/10/25 11:23:13] <ashp> I am using fpm to bundle up a load of php crap in the build system and it's glorious | ||
| [2011/10/25 11:23:21] <wooster> is there a cpanm module? | ||
| [2011/10/25 11:23:26] @ negronjl_mobile joined channel #puppet | ||
| [2011/10/25 11:23:31] <whack> ashp: awesome! Lemme know if you have any feature/bug reports :) | ||
| [2011/10/25 11:23:35] <ken_barber> whack: I missed you at puppetconf in portland btw. I was hoping to say hi. | ||
| [2011/10/25 11:23:36] @ negronjl_mobile is now known as negronjl | ||
| [2011/10/25 11:23:46] <highclasshole> Is there a module that exists already that will purge users if they are not defined by puppet -- but only for specific group(s) | ||
| [2011/10/25 11:23:52] <ashp> whack: So far every time I think I need something I find it's in there already, but I definitely will give back any useful feedback :) | ||
| [2011/10/25 11:24:34] <whack> ken_barber: yeah I really wanted to go, but timing didn't add up -plus I'm quitting flying for a while, dealing with the TSA is not worth it. | ||
| [2011/10/25 11:25:06] <ken_barber> whack: I was asked about how puppet deals with tarballs by a customer last week. I told him 'there is this thing called fpm - so there is no more excuses for not making an rpm' he laughed his head off :-). | ||
| [2011/10/25 11:25:15] <ken_barber> whack: aah fair enough | ||
| [2011/10/25 11:25:15] @ AikiLinux|home joined channel #puppet | ||
| [2011/10/25 11:25:22] @ AikiLinux|home left channel #puppet () | ||
| [2011/10/25 11:25:57] @ brandon_dacrib left channel #puppet () | ||
| [2011/10/25 11:26:15] @ serverhorror joined channel #puppet | ||
| [2011/10/25 11:27:31] <ashp> fpm is amazing because we have dumb developers who constantly reorg the tree | ||
| [2011/10/25 11:27:36] <ashp> and take no responsibility for how its packaged | ||
| [2011/10/25 11:27:38] <ashp> so it saves me constantly | ||
| [2011/10/25 11:28:02] <lindenle_> note to all, I just hacked the enterprise installer to prevent the run at install and service start. This is the way it shoulde be for a kickstart install i believe | ||
| [2011/10/25 11:28:11] <timyim> 1 week before launch... hey guys, i need these two servers setup with X.... business: why isn't the launch ready? dammit guys!!! | ||
| [2011/10/25 11:28:18] <timyim> ashp: ^^ | ||
| [2011/10/25 11:28:29] <timyim> from devs | ||
| [2011/10/25 11:28:37] <ken_barber> ashp & whack: Yeah fpm rocks. I actually mention it frequently to people. | ||
| [2011/10/25 11:28:42] <ashp> timyim: i am trying, constantly, to force them in the direction of devops type stuff | ||
| [2011/10/25 11:28:45] <ashp> timyim: but it's just agony | ||
| [2011/10/25 11:28:55] <ashp> timyim: i still get 'why do we even need automation' 'why can't we just install it all by hand' | ||
| [2011/10/25 11:29:04] <timyim> haha that sucks man | ||
| [2011/10/25 11:29:11] <ashp> 'why do we need automatic deploys? why is CI useful anyway? the cloud is a stupid gimmick why can't we just have more powerful desktops' | ||
| [2011/10/25 11:29:12] <lindenle_> We should all just switch to nixOS ;) | ||
| [2011/10/25 11:29:17] <timyim> we got lucky, the owner is all about technology and loves automation | ||
| [2011/10/25 11:29:18] @ Quit: jamison: Excess Flood | ||
| [2011/10/25 11:29:28] <timyim> we even have a small 2 person devops team | ||
| [2011/10/25 11:29:37] <ashp> nixOS sounds like something I've been on about a lot lately | ||
| [2011/10/25 11:29:40] @ sduchesneau left channel #puppet ("Leaving") | ||
| [2011/10/25 11:29:41] <ashp> an OS designed from the ground up for automation | ||
| [2011/10/25 11:29:46] <ashp> hmm, gonna have to look at this | ||
| [2011/10/25 11:29:46] @ jamison joined channel #puppet | ||
| [2011/10/25 11:29:52] <timyim> they block 90% of the nonsense but a lot of it still makes it to us | ||
| [2011/10/25 11:29:55] <ashp> seems the dbas were right and oracle enterprise doesn't come in an rpm | ||
| [2011/10/25 11:30:00] <lindenle_> yeah, we should use git and the nixOS hashing idea | ||
| [2011/10/25 11:30:14] <lindenle_> they use svn as the bottom but git is faster and already makes hash keys | ||
| [2011/10/25 11:30:31] <ashp> are people using this nixOS thing in production? | ||
| [2011/10/25 11:30:49] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/10/25 11:34:24] <lindenle_> no, but If I were in charge I would be considering it | ||
| [2011/10/25 11:34:32] <lindenle_> imaging your whole OS in revisions control | ||
| [2011/10/25 11:34:38] <lindenle_> no more surprises | ||
| [2011/10/25 11:36:32] @ Quit: jedi4ever: Remote host closed the connection | ||
| [2011/10/25 11:37:20] @ Quit: gregp76: Quit: gregp76 | ||
| [2011/10/25 11:38:58] @ Quit: semiosis: Remote host closed the connection | ||
| [2011/10/25 11:39:50] @ cruzfox joined channel #puppet | ||
| [2011/10/25 11:40:55] <clustermagnet> hey guys, i would like a node to inherit a 'base' node setup… and also a 'web server' setup, etc | ||
| [2011/10/25 11:41:05] <clustermagnet> is it possible to say 'inherit' from 2 places? | ||
| [2011/10/25 11:41:14] <kjetilho> use classes, not node inheritance | ||
| [2011/10/25 11:41:37] <clustermagnet> kjetilho: k, so inside the class include the base/web, ya? | ||
| [2011/10/25 11:41:55] <kjetilho> or make one base class and one web class | ||
| [2011/10/25 11:42:30] @ semiosis joined channel #puppet | ||
| [2011/10/25 11:44:10] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/10/25 11:52:10] @ gregp76 joined channel #puppet | ||
| [2011/10/25 11:53:23] @ pugnacity joined channel #puppet | ||
| [2011/10/25 11:54:15] @ bluethundr joined channel #puppet | ||
| [2011/10/25 11:54:48] <bluethundr> hello #puppet.. what version of ruby does the latest version of puppet prefer? I am planning on installing both by source | ||
| [2011/10/25 11:55:51] <asteve> bluethundr: i think you should rethink your "by source" comment; puppet will be the most resourceful when you use packaged installs | ||
| [2011/10/25 11:56:03] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/10/25 11:56:53] <walkeran> asteve: While I agree that "by packages" is generally the better choice, what's your argument for saying that puppet will be more resourceful? | ||
| [2011/10/25 11:57:31] <asteve> walkeran: you can use puppets built in package management later on, should you decide to change system ruby | ||
| [2011/10/25 11:58:01] <asteve> to rephrase what I'm trying to say; how can you easily upgrade ruby if it was built from source, using puppet? | ||
| [2011/10/25 11:58:03] @ Quit: shadoi: Read error: Connection reset by peer | ||
| [2011/10/25 11:58:08] <walkeran> asteve: Oh. Well, that goes for any package that puppet is going to manage. I guess the bigger question is whether bluethundr means for the master or for the agents | ||
| [2011/10/25 11:58:16] <asteve> i know how I can easily tell puppet that package "ruby" needs to be 1.9.2 now | ||
| [2011/10/25 11:58:29] <the_ramink> bluethundr: 1.8.7, 1.9.2 can be a bit flaky though PuppetLabs is pretty good about squashing bugs as they come in. | ||
| [2011/10/25 11:59:00] <walkeran> that's the easy answer :D | ||
| [2011/10/25 11:59:12] @ shadoi joined channel #puppet | ||
| [2011/10/25 11:59:45] <bluethundr> the_ramink: ok thanks for the info | ||
| [2011/10/25 12:00:12] @ geekbri joined channel #puppet | ||
| [2011/10/25 12:00:16] <stahnma> bluethundr: 1.8.7 is probably the *best* but we'll support 1.8.5, 1.8.6, 1.8.7 and 1.9.2 | ||
| [2011/10/25 12:00:28] <ashp> Client.InstanceLimitExceeded: 20 instance(s) are already running. | ||
| [2011/10/25 12:00:32] <ashp> that's my day ruined. | ||
| [2011/10/25 12:01:14] <agaffney> ashp: 20 instances of what? | ||
| [2011/10/25 12:01:26] <ashp> agaffney: ec2 instances | ||
| [2011/10/25 12:01:33] <ashp> apparently there's a default 20 max limit | ||
| [2011/10/25 12:02:12] @ Quit: gregp76: Quit: gregp76 | ||
| [2011/10/25 12:02:16] @ Quit: caviwipes: Quit: Computer has gone to sleep. | ||
| [2011/10/25 12:02:34] <agaffney> ashp: I thought the limit was 50, but yes | ||
| [2011/10/25 12:02:48] <agaffney> you can contact a rep and request a limit increase | ||
| [2011/10/25 12:03:09] <ashp> agaffney: yeah, I filled in the form so hopefully that'll happen relatively soon | ||
| [2011/10/25 12:05:12] @ Quit: bretm: Ping timeout: 260 seconds | ||
| [2011/10/25 12:05:38] @ indigo joined channel #puppet | ||
| [2011/10/25 12:07:01] @ Quit: tilgovi: Ping timeout: 240 seconds | ||
| [2011/10/25 12:07:46] <indigo> every tutorial I read has me set up fileserver.conf, but I also read that it isn't necessary unless I want to serve files outside of modules. However, if I don't set up fileserver.conf, I can't get agents to connect to the master at all. What's going on? | ||
| [2011/10/25 12:07:48] @ Quit: p3rror: Quit: Leaving | ||
| [2011/10/25 12:08:08] <agaffney> indigo: what puppet version? | ||
| [2011/10/25 12:08:16] <indigo> 2.6.2 | ||
| [2011/10/25 12:08:20] <indigo> debian squeeze | ||
| [2011/10/25 12:08:44] @ kenperkins joined channel #puppet | ||
| [2011/10/25 12:08:47] @ Quit: ken_barber: Quit: Leaving. | ||
| [2011/10/25 12:09:05] <agaffney> indigo: when you use the stock fileserver.conf, the agents can't connect to the master? | ||
| [2011/10/25 12:09:24] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/10/25 12:10:18] <indigo> the stock fileserver.conf has [files] and [plugins], but only comments in each section. When I run "puppet agent --test" I get "err: Could not retrieve catalog from remote server: Connection refused - connect(2)" | ||
| [2011/10/25 12:10:41] <agaffney> what errors are in the master's log? | ||
| [2011/10/25 12:10:56] <agaffney> the master is likely failing to start if the agents can't connect | ||
| [2011/10/25 12:11:39] <indigo> I see "Starting Puppet master version 2.6.2" in /var/log/syslog. Is there another log somewhere? | ||
| [2011/10/25 12:11:44] @ ukd1 joined channel #puppet | ||
| [2011/10/25 12:12:33] <indigo> there's a masterhttp.log in /var/log/puppet, that has a couple INFO entries, but I don't see any errors | ||
| [2011/10/25 12:12:50] @ djandruczyk joined channel #puppet | ||
| [2011/10/25 12:13:17] <agaffney> indigo: does netstat show it listening on 8140? | ||
| [2011/10/25 12:13:24] <agaffney> can you connect to it with netcat? | ||
| [2011/10/25 12:13:26] <zoredache> are you using the correct path in your manifests perhaps? | ||
| [2011/10/25 12:13:41] <djandruczyk> gepetto: help | ||
| [2011/10/25 12:13:41] <gepetto> djandruczyk: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 13 plugins: botsnack, factoids, github, karma, nickserv, note, pastie, puppetdocsurls, redmineurls, rss, seen, shortenurls, time (help <topic> for more info) | ||
| [2011/10/25 12:13:52] <indigo> puppet master --no-daemonize -d ends with "Could not run: Invalid mount files" | ||
| [2011/10/25 12:13:58] <djandruczyk> gepetto: help irclog | ||
| [2011/10/25 12:13:58] <gepetto> djandruczyk: no help | ||
| [2011/10/25 12:14:08] @ Quit: brtl: Quit: Leaving. | ||
| [2011/10/25 12:14:08] @ Quit: ukd1: Client Quit | ||
| [2011/10/25 12:14:12] <agaffney> indigo: try commenting out the headers in fileserver.conf | ||
| [2011/10/25 12:14:17] <agaffney> the [files] header | ||
| [2011/10/25 12:14:22] <agaffney> and whatever else is in there | ||
| [2011/10/25 12:14:59] <indigo> that does it | ||
| [2011/10/25 12:15:07] @ methods1 joined channel #puppet | ||
| [2011/10/25 12:15:09] <djandruczyk> any idea why there aren't any puppet logs for Oct 9th thru the 19th ? http://pelin.lovedthanlost.net/puppet/ I'm trying to refer to notes, but the logs aren't there | ||
| [2011/10/25 12:15:10] <indigo> i guess the init.d script that ships with debian is buggy also :( | ||
| [2011/10/25 12:15:17] <methods1> isn't it normal to store passwords and other sensitive data outside of the repository ? | ||
| [2011/10/25 12:16:22] <methods1> puppet has ability to pushlish that data to the agent when needed right ? | ||
| [2011/10/25 12:16:44] @ bretm joined channel #puppet | ||
| [2011/10/25 12:17:19] <agaffney> methods1: via something like hiera, yes | ||
| [2011/10/25 12:17:27] <agaffney> there are a couple of different ways | ||
| [2011/10/25 12:17:31] <indigo> ok, last question. What documentation do I read to know what to put in site.pp? How do I configure my hosts differently, what's this "node" thing, etc? | ||
| [2011/10/25 12:17:52] <agaffney> indigo: I recommend picking up a copy of Pro Puppet and reading it :) | ||
| [2011/10/25 12:18:06] <indigo> i don't do books | ||
| [2011/10/25 12:18:07] @ rew joined channel #puppet | ||
| [2011/10/25 12:18:12] <indigo> because you can't grep a dead tree. | ||
| [2011/10/25 12:18:19] <zoredache> indigo: that book is worth doing, buy the ebook | ||
| [2011/10/25 12:18:22] <nfagerlund> indigo: Good beginner documentation for how to classify nodes is still pending, I'm afraid. | ||
| [2011/10/25 12:18:23] <agaffney> you can get it electronically | ||
| [2011/10/25 12:18:26] <asteve> indigo: hopefully you read them.. | ||
| [2011/10/25 12:18:42] <nfagerlund> indigo: but we're working on it. | ||
| [2011/10/25 12:20:54] <indigo> i've never bought an ebook. Is it just a plain PDF, or some DRM encumbered thing that i'm not going to be able to read? | ||
| [2011/10/25 12:21:17] <zoredache> the version from apress has no drm, it comes in several formats. | ||
| [2011/10/25 12:21:36] <rew> any good docs out there on using puppet to auto generate nagios configs? looking over the puppet exported resources docs now. didnt know if there was any guides or such already online somewhere | ||
| [2011/10/25 12:22:49] <methods1> agaffney: how is the client verified to receive the data ? | ||
| [2011/10/25 12:22:54] @ Quit: bretm: Quit: Leaving | ||
| [2011/10/25 12:23:04] <agaffney> rew: there are multiple people doing various levels of integration, but there's no definitive guide for it | ||
| [2011/10/25 12:23:06] @ bretm joined channel #puppet | ||
| [2011/10/25 12:23:19] <agaffney> I've got a fairly high level of integration in my setup, but there's all sorts of black magic involved | ||
| [2011/10/25 12:23:31] <agaffney> methods1: I don't understand your question | ||
| [2011/10/25 12:24:13] <rew> agaffney: thanks yeah i see some online posts mentioning it being done, but not really how they're doing it. | ||
| [2011/10/25 12:25:11] <methods1> agaffney: well the point is for security so your keys and passwords aren't in the manifest repository that anyone can work with right ? so my point was if i run heira client and ask for something like aws key how does it know I'm authorized to read that ? perhaps hostname ? or puppet cert ? because if the manifest has a user/pass for heira defeats the purpose | ||
| [2011/10/25 12:25:25] <agaffney> rew: mine is a combination of exported resources, custom facts, and custom parser functions | ||
| [2011/10/25 12:26:21] @ dan__t_ joined channel #puppet | ||
| [2011/10/25 12:26:23] <dan__t_> Hi. | ||
| [2011/10/25 12:26:52] @ illsci joined channel #puppet | ||
| [2011/10/25 12:26:53] @ caviwipes joined channel #puppet | ||
| [2011/10/25 12:27:29] <illsci> Should groups require the user or user require the group... I'm getting this error and I'm sure why... err: /Stage[main]/Zenoss::Install/User[mysql]/ensure: change from absent to present failed: Could not create user mysql: Execution of '/usr/sbin/useradd mysql' returned 9: useradd: group mysql exists - if you want to add this user to that group, use -g. | ||
| [2011/10/25 12:27:50] <rew> agaffney: cool. my initial attempt right now is using exported resources. and i have a nagios::basechecks that i install on the clients that have @@nagios_host and @@nagios_service defined there.. and it seems to generate the configs on the master, however all of my clients seem to also be generating the entire configs as well (which seems unneccessary / messy). | ||
| [2011/10/25 12:28:08] <rew> good to know that there is hope tho as i try to figure this out :) | ||
| [2011/10/25 12:28:40] @ djandruczyk left channel #puppet () | ||
| [2011/10/25 12:28:43] <agaffney> methods1: I wrote custom parser functions called encrypt() and decrypt() that use a static key that's manually placed on the puppet masters | ||
| [2011/10/25 12:28:43] @ Quit: nb: Quit: ZNC - http://znc.in | ||
| [2011/10/25 12:29:11] <agaffney> illsci: it depends :) | ||
| [2011/10/25 12:29:14] <methods1> what ? | ||
| [2011/10/25 12:29:36] <agaffney> methods1: it sidesteps the issue of access control to the data...it's encrypted | ||
| [2011/10/25 12:29:47] <agaffney> however, it gets unencrypted and ends up in the clear in the compiled manifest | ||
| [2011/10/25 12:30:10] <methods1> ah hm | ||
| [2011/10/25 12:30:19] <agaffney> illsci: ideally, you should have puppet create both the group and user, and have the user require the group | ||
| [2011/10/25 12:30:20] @ tilgovi joined channel #puppet | ||
| [2011/10/25 12:30:21] <methods1> do you have those up somewhere ? | ||
| [2011/10/25 12:30:29] @ Quit: tilgovi: Changing host | ||
| [2011/10/25 12:30:30] @ tilgovi joined channel #puppet | ||
| [2011/10/25 12:30:30] <agaffney> methods1: nope, but I really should | ||
| [2011/10/25 12:30:40] <agaffney> there's a lot of stuff I've done that I really should post :P | ||
| [2011/10/25 12:30:59] <agaffney> mostly, I don't want to deal with people complaining that it doesn't work because they don't understand it | ||
| [2011/10/25 12:31:12] <agaffney> I've done plenty of OSS work before, and I know how it works ;) | ||
| [2011/10/25 12:31:25] <methods1> i mean i can do it my self | ||
| [2011/10/25 12:31:32] <methods1> but if you have it out there already | ||
| [2011/10/25 12:31:36] <methods1> or gist it | ||
| [2011/10/25 12:32:08] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/10/25 12:32:53] <methods1> agaffney: so what's the point of heira then ? | ||
| [2011/10/25 12:33:21] @ lwhalen joined channel #puppet | ||
| [2011/10/25 12:34:26] <agaffney> methods1: extlookup on steroids :P | ||
| [2011/10/25 12:34:36] @ Boskey joined channel #puppet | ||
| [2011/10/25 12:35:03] <rew> agaffney: can i ask, would something like this seem reasonable for autogenerating nagios configs: have a "nagios::basicchecks" that is installed in say a basenode config that all hosts inherits, and then something like "nagios::webchecks" that is included for webservers, etc? | ||
| [2011/10/25 12:35:17] <Boskey> I am having problem getting the compliance reports on dashboard to work, any help? | ||
| [2011/10/25 12:35:38] <rew> just want to make sure im not taking the wrong path :) | ||
| [2011/10/25 12:36:33] <methods1> what's extlookup ? | ||
| [2011/10/25 12:36:58] <agaffney> rew: yes, that's generally a good idea | ||
| [2011/10/25 12:37:07] <agaffney> methods1: google can help :P | ||
| [2011/10/25 12:37:26] <rodjek> rew: i do it slightly differently. each module has a nagios_check class in it that sets up the checks and this class is automatically included whenever i use the module in question | ||
| [2011/10/25 12:37:53] <rodjek> so using my nginx defined type automatically includes nginx::nagios_check | ||
| [2011/10/25 12:38:08] <agaffney> I created nagios::magic::* defines that create exported resources which are then "collected" by a custom parser function that weeds out duplicates | ||
| [2011/10/25 12:38:34] <rodjek> yeah, i'm not a fan of the existing nagios_* types | ||
| [2011/10/25 12:38:50] <agaffney> I use the types | ||
| [2011/10/25 12:38:50] <agaffney> my defines just wrap them | ||
| [2011/10/25 12:39:15] <rew> agaffney, rodjek : thanks , taking notes :) | ||
| [2011/10/25 12:39:31] <rodjek> i've got nagios::object::* defined types that just drop config fragments from templates in /etc/nagios/<objecttype>.d/ | ||
| [2011/10/25 12:39:54] @ aranc23 joined channel #puppet | ||
| [2011/10/25 12:40:06] <rodjek> makes it nice and easy for puppet to purge entries that don't exist in storeconfigs anymore | ||
| [2011/10/25 12:40:09] <rew> does your clients that has the nagios checks on them, generate the configs for everything (as seems to be the case in my attempt) | ||
| [2011/10/25 12:40:15] <agaffney> rodjek: yep, I do that too | ||
| [2011/10/25 12:40:35] <agaffney> I use /etc/nagios/puppet.d/ and prefix the filenames with the object type | ||
| [2011/10/25 12:41:52] <rew> do you guys use this in your configs: | ||
| [2011/10/25 12:41:54] <rew> Nagios_host <<||>> | ||
| [2011/10/25 12:41:54] <rew> Nagios_service <<||>> | ||
| [2011/10/25 12:42:16] @ hettik left channel #puppet () | ||
| [2011/10/25 12:42:22] <agaffney> rew: yes | ||
| [2011/10/25 12:42:30] <agaffney> that's the syntax for realizing exported resources | ||
| [2011/10/25 12:42:33] <asteve> <<||>> | ||
| [2011/10/25 12:42:42] <rodjek> yeah, my only concern with that is eventually running into the 32000 link per inode limit | ||
| [2011/10/25 12:42:47] <rew> i have that in the class that the master uses, and then the client ones (like nagios::webchecks) inherits that master class | ||
| [2011/10/25 12:42:49] <rodjek> with one file per dependency etc | ||
| [2011/10/25 12:42:54] <agaffney> although, I use tags to only grab specific ones | ||
| [2011/10/25 12:42:56] @ Quit: rgsteele: Remote host closed the connection | ||
| [2011/10/25 12:44:23] <illsci> agaffney: I am doing the user requires the group http://pastebin.com/diiaPci1 | ||
| [2011/10/25 12:44:27] <illsci> but its giving that error | ||
| [2011/10/25 12:44:32] <illsci> I'm not sure what I'm doing wrong here... | ||
| [2011/10/25 12:44:45] <illsci> newtMcKerr: /Stage[main]/Zenoss::Install/User[mysql]/ensure: change from absent to present failed: Could not create user mysql: Execution of '/usr/sbin/useradd mysql' returned 9: useradd: group mysql exists - if you want to add this user to that group, use -g. | ||
| [2011/10/25 12:45:19] <agaffney> rodjek: that's why I did the additional black magic to attack services to hostgroups and assign hosts to hostgroups | ||
| [2011/10/25 12:45:48] <rodjek> heh, fair enough | ||
| [2011/10/25 12:45:50] <agaffney> instead of exporting a service once for each host | ||
| [2011/10/25 12:45:53] <zoredache> illsci, it sure seems like the useradd tool on your system is trying to create the group for you automatically. Are you sure really need to have a group resource at all? | ||
| [2011/10/25 12:46:07] <illsci> no... I'm not... | ||
| [2011/10/25 12:46:11] <illsci> let me rm them and see | ||
| [2011/10/25 12:46:30] <zoredache> you may need to delete the mysql group on that is already on your system as well | ||
| [2011/10/25 12:46:53] <indigo> say I replaced my master install with a different one; what do i need to do to the clients to get them to connect to the new master? | ||
| [2011/10/25 12:47:04] <indigo> specifically how do i update their cert | ||
| [2011/10/25 12:47:53] @ Quit: matti: Read error: Connection reset by peer | ||
| [2011/10/25 12:48:01] <illsci> how does puppet pick uid's? | ||
| [2011/10/25 12:48:04] <rew> agaffney: ah… i've been doing it service based instead of hostgroup based. hostgroup based makes more sense yeah | ||
| [2011/10/25 12:48:18] <illsci> I want to ensure that process uid's are less than 1000... | ||
| [2011/10/25 12:48:51] <zoredache> indigo: illsci it depends on the platform distribution. On debian it is just calling the standard tools which pick the next available id | ||
| [2011/10/25 12:49:11] <zoredache> I believe there is a system=>true paramater or something for a User resource, check the docs. | ||
| [2011/10/25 12:49:12] <jhelwig> illsci: Puppet doesn't pick UIDs. It leaves that up to the underlying tools. | ||
| [2011/10/25 12:49:13] <illsci> ok so I should pick one explicitly | ||
| [2011/10/25 12:49:43] @ methods1 left channel #puppet () | ||
| [2011/10/25 12:49:47] @ methods1 joined channel #puppet | ||
| [2011/10/25 12:49:50] <illsci> hmm system=>true... ill see if that works | ||
| [2011/10/25 12:49:52] @ HCoyote1 joined channel #puppet | ||
| [2011/10/25 12:50:42] <zoredache> http://docs.puppetlabs.com/references/stable/type.html#user.. sorry it was system_users | ||
| [2011/10/25 12:50:51] @ Quit: HCoyote: Ping timeout: 252 seconds | ||
| [2011/10/25 12:51:47] <kjetilho> illsci: you should look into managing /etc/login.defs | ||
| [2011/10/25 12:52:03] <kjetilho> illsci: in combination with system_users mentioned by zoredache | ||
| [2011/10/25 12:52:09] <illsci> ok | ||
| [2011/10/25 12:52:24] <colon_D> anyone else have problems with the is_virtual fact not working on openvz servers? looks like in the source code it checks for the existence of /proc/vz/vzquota and i only see vzaquota | ||
| [2011/10/25 12:52:27] <illsci> I have a users module that adds normal users with specified uids... | ||
| [2011/10/25 12:52:32] <illsci> ill look at adding that in there | ||
| [2011/10/25 12:53:16] <kjetilho> illsci: yeah, well. the problem with that is that packages may already have installed these users with diverging uids | ||
| [2011/10/25 12:53:36] <kjetilho> and Puppet will happily change the UID but leave owned files alone | ||
| [2011/10/25 12:55:14] <illsci> yeah I've experienced that... thats why im trying to set the zenoss uids | ||
| [2011/10/25 12:56:13] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/10/25 12:56:28] @ themadcanudist joined channel #puppet | ||
| [2011/10/25 12:57:13] @ Quit: Boskey: Quit: Page closed | ||
| [2011/10/25 12:58:29] @ HCoyote1 is now known as HCoyote | ||
| [2011/10/25 12:58:37] @ Quit: HCoyote: Changing host | ||
| [2011/10/25 12:58:37] @ HCoyote joined channel #puppet | ||
| [2011/10/25 13:02:23] @ Quit: devdas: Ping timeout: 276 seconds | ||
| [2011/10/25 13:04:59] @ thisKat joined channel #puppet | ||
| [2011/10/25 13:05:16] @ Quit: nokia3510: Read error: Operation timed out | ||
| [2011/10/25 13:06:12] <rew> so in my nagios::basechecks i have something like this, and i have "include nagios::basechecks" in basenode… does this snippet look correct? if anyone can take a peek (agaffney, rodjek) | ||
| [2011/10/25 13:06:15] <rew> http://pastebin.com/uV8LCtGF | ||
| [2011/10/25 13:06:45] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/10/25 13:07:03] @ fredden joined channel #puppet | ||
| [2011/10/25 13:07:19] @ devdas joined channel #puppet | ||
| [2011/10/25 13:08:05] <rew> (just trying to figure out why it keeps creating the entire config set on the clients too) | ||
| [2011/10/25 13:08:52] <jason^> other than remctl and mcollective, are there any decent orchestration software? | ||
| [2011/10/25 13:09:20] <jamesturnbull> jason^: depends on your definition of orchestration | ||
| [2011/10/25 13:09:25] <the_ramink> ashp: if you email the Amazon reps for your area they'll send you the list of EC2 default limits. There are some interesting ones like 20 security groups IIRC and some you probably won't hit like 20TB total of ebs | ||
| [2011/10/25 13:09:27] @ nb joined channel #puppet | ||
| [2011/10/25 13:09:43] <jason^> jamesturnbull: being able to run a command on a specific machine or all machines | ||
| [2011/10/25 13:09:44] <jamesturnbull> the_ramink: and number of active instances | ||
| [2011/10/25 13:10:08] @ Djelibeybi joined channel #puppet | ||
| [2011/10/25 13:10:14] <jamesturnbull> jason^: then there are a lot of tools that'll do that - as to decent - well things vary - fabric is probably another that is okay | ||
| [2011/10/25 13:10:32] <ashp> glad to see that auto installing oracle is a nightmare and even people who work for oracle struggle to do it in puppet | ||
| [2011/10/25 13:10:34] <agaffney> rew: are you realizing the resources on the clients, too? | ||
| [2011/10/25 13:10:37] <ashp> this is reassuringly awful | ||
| [2011/10/25 13:10:42] <agaffney> heh | ||
| [2011/10/25 13:11:21] <ashp> http://groups.google.com/group/puppet-users/browse_thread/thread/49e1af6ae7ad27b8?pli=1 based on this | ||
| [2011/10/25 13:11:44] <rew> agaffney: yeah i have the Nagios_host <||> and Nagios_service <||> in the nagios::mainconfigs, is that what you mean? | ||
| [2011/10/25 13:12:00] @ cyflea joined channel #puppet | ||
| [2011/10/25 13:12:12] @ gregp76 joined channel #puppet | ||
| [2011/10/25 13:12:14] <agaffney> rew: if clients include that class, they'll get the config too :) | ||
| [2011/10/25 13:12:19] <agaffney> you only want to include that on your nagios server | ||
| [2011/10/25 13:12:21] <the_ramink> jamesturnbull: that too, but their list was much larger than I imagined. instances not running is limit to 50 per region, s3 buckets hard limited to 100, and so on | ||
| [2011/10/25 13:12:56] @ gregp76 left channel #puppet () | ||
| [2011/10/25 13:13:11] <Djelibeybi> ashp: we don't stuggle to install Oracle with Puppet | ||
| [2011/10/25 13:13:12] <rew> agaffney: ah ok.. i tried having the nagios::basechecks not inherit nagios::maincofigs , but then it doesnt seem to generate anything on the nagios server | ||
| [2011/10/25 13:13:15] <rew> i'll try again :) | ||
| [2011/10/25 13:13:23] <ashp> Djelibeybi: You're smarter than me ;) | ||
| [2011/10/25 13:13:29] <Djelibeybi> ashp: I work for Oracle. :) | ||
| [2011/10/25 13:13:34] <ashp> well in that case | ||
| [2011/10/25 13:13:36] <ashp> let me be the first to say | ||
| [2011/10/25 13:13:48] <ashp> PROVIDE SOME FUCKING RPMS SERIOUSLY ORACLE SHAKE SOME PEOPLE UNTIL THEY LISTEN | ||
| [2011/10/25 13:13:49] <agaffney> rew: include the classes separately | ||
| [2011/10/25 13:13:51] <ashp> :D | ||
| [2011/10/25 13:13:53] <Djelibeybi> ashp: can't do it. | ||
| [2011/10/25 13:14:03] <Djelibeybi> ashp: the same installer works on Linux, Windows, HP-UX, AIX and Solaris. | ||
| [2011/10/25 13:14:16] <ashp> Djelibeybi: Don't suppose you have some stuff you could ... slide in my direction in terms of the execs/files to get the pre-reqs? | ||
| [2011/10/25 13:14:20] <Djelibeybi> ashp: but, drop Puppet for EM's deployment procedures. | ||
| [2011/10/25 13:14:24] <ashp> i was looking at the oracle-validated but I don't fancy updating that for el6 | ||
| [2011/10/25 13:14:25] <rew> agaffney: i'll give it a shot now, thanks | ||
| [2011/10/25 13:14:39] <Djelibeybi> ashp: oracle-validated will ship for el6 when we certify DB on el6 | ||
| [2011/10/25 13:14:49] <Djelibeybi> (it's already ready on our build systems) | ||
| [2011/10/25 13:14:58] <ashp> Djelibeybi: The same installer works on all 5 but that doesn't make it a good thing for sysadmins trying to get things done, oracle are such a pain about how they do things | ||
| [2011/10/25 13:14:58] <Djelibeybi> ashp: do not install Oracle on EL6 now. | ||
| [2011/10/25 13:15:05] <ashp> I'm afraid I'm doing just that | ||
| [2011/10/25 13:15:11] <Djelibeybi> ashp: you're not going to get support | ||
| [2011/10/25 13:15:16] <ashp> we're not going to downgrade our entire environment to EL5 just for one app | ||
| [2011/10/25 13:15:22] <ashp> it's ok, I'm fine with that | ||
| [2011/10/25 13:15:27] <Djelibeybi> ashp: well, best-effort support | ||
| [2011/10/25 13:15:35] <Djelibeybi> ashp: but yeah, oracle-validated is coming | ||
| [2011/10/25 13:15:37] <ashp> by the time this monsterous development effort is ready for realistic production | ||
| [2011/10/25 13:15:43] <ashp> we'll have oracle-validated for 6 out for sure | ||
| [2011/10/25 13:15:59] <ashp> I am making oracle install modules for el6 for dev boxes for something new we're working on | ||
| [2011/10/25 13:16:07] <ashp> so we're not gonna be in a position to do production stuff for a while | ||
| [2011/10/25 13:16:23] <ashp> our dbas are already upset with me for insisting on automating this stuff | ||
| [2011/10/25 13:16:30] <Djelibeybi> ashp: heh, I'm in that email thread. | ||
| [2011/10/25 13:16:40] <Djelibeybi> ashp: you're using RHEL6? | ||
| [2011/10/25 13:16:41] <asteve> dbas…guys that can only work on DB's….ya | ||
| [2011/10/25 13:16:54] <ashp> Djelibeybi: If I can't see the oracle-validated for 6 is there any way to at least get an idea if there's anything significant that's changed since el5 for just really basic installs | ||
| [2011/10/25 13:17:08] <ashp> Djelibeybi: yeah, we're using rhel6 for all new deploys unless we have stuff that has to be on 5 for support purposes | ||
| [2011/10/25 13:17:12] <Djelibeybi> ashp: I haven't actually looked at it yet. It's on my list of things to review | ||
| [2011/10/25 13:17:24] <asteve> "what is it you do here?" …. "I interface with the customers"…. "so you meet with the customers?" … "no, I have a secretary for that" | ||
| [2011/10/25 13:17:29] <ashp> Djelibeybi: so if I get to the point that we go to production and we have no official support on 6 we'll roll with 5 | ||
| [2011/10/25 13:17:39] <ashp> but for now I want to try and stick with rhel6 on the assumption those pieces will fall in place by then | ||
| [2011/10/25 13:17:49] @ ghanima joined channel #puppet | ||
| [2011/10/25 13:17:53] @ Quit: themadcanudist: Ping timeout: 245 seconds | ||
| [2011/10/25 13:17:53] <Djelibeybi> ashp: there is no date for certification for rhel6, btw. | ||
| [2011/10/25 13:18:08] <ashp> for now I guess I'm just going to base all the pre-reqs on what's in oracle-validated for el5 and hope I can at least stumble my way through an answer file provided install | ||
| [2011/10/25 13:18:21] <ashp> Djelibeybi: no offense, because I would work absolutely anywhere for money, but you work for the devil himself :) | ||
| [2011/10/25 13:18:32] <Djelibeybi> ashp: I work for the Oracle Linux team | ||
| [2011/10/25 13:18:47] <Djelibeybi> ashp: and Larry's not the devil. Oracle's actually a really nice place to work. | ||
| [2011/10/25 13:18:58] <ashp> Oh I didn't mean Larry as such, just the company as a whole | ||
| [2011/10/25 13:19:01] <ed209> tough crowd | ||
| [2011/10/25 13:19:04] <ed209> ;-) | ||
| [2011/10/25 13:19:04] <ashp> because you do all kinds of awkward shit like not provide me rpms :) | ||
| [2011/10/25 13:19:22] <ed209> it's enterprisy | ||
| [2011/10/25 13:19:30] <ashp> this product was bought working on mysql | ||
| [2011/10/25 13:19:33] <ashp> and we're moving to oracle | ||
| [2011/10/25 13:19:38] <ashp> because we have two oracle dbas who want to justify their job | ||
| [2011/10/25 13:19:42] <Djelibeybi> ashp: well, the Linux team would obviously love RPMs but it's just not feasible. | ||
| [2011/10/25 13:19:45] <ashp> that's the worst bit about this stuff i'm doing | ||
| [2011/10/25 13:20:00] <ashp> Djelibeybi: It's totally feasible if they wanted to put the effort in to do things properly and natively | ||
| [2011/10/25 13:20:10] <ashp> Djelibeybi: they don't have to have a single installer for 5 different OSes | ||
| [2011/10/25 13:20:28] <Djelibeybi> ashp: no, it's not. Trust me, I've discussed this with development. | ||
| [2011/10/25 13:20:39] <ashp> I believe it but only because oracle database is evil | ||
| [2011/10/25 13:20:50] * ed209 waits for the fps link to reappear | ||
| [2011/10/25 13:20:52] <Djelibeybi> ashp: the XE DB ships as an RPM and that's a nightmare. And we only do it because there is no support provided. | ||
| [2011/10/25 13:20:53] <ashp> i mean anything is possible because it's just code, it just takes a certain.. willingness :) | ||
| [2011/10/25 13:20:53] <rew> agaffney: so i have nagios::basechecks not inherit nagios::mainconfigs.. and on the node i have include nagios::basechecks" and "include nagios::mainconfigs".. still generated configs for all of the clients on the clients :\ | ||
| [2011/10/25 13:21:06] <Djelibeybi> ashp: takes a certain amount of money/effort/time. :) | ||
| [2011/10/25 13:21:14] <ashp> Djelibeybi: Why is it impossible to provide support for something that comes as an RPM with a configuration script at the end? | ||
| [2011/10/25 13:21:25] <Djelibeybi> ashp: we don't provide support for the XE database. | ||
| [2011/10/25 13:21:26] <xalimar> universal installer takes a tremendous amount of my time | ||
| [2011/10/25 13:21:28] <ashp> well oracle certainly have enough money to write an rpm, i'm fairly sure | ||
| [2011/10/25 13:21:39] <Djelibeybi> ashp: yeah, but there's no money in it. ;-) | ||
| [2011/10/25 13:21:50] <Djelibeybi> ashp: if you want automated Oracle installs, check out Enterprise Manager. | ||
| [2011/10/25 13:21:58] <Djelibeybi> ashp: it actually works pretty damn well these days. | ||
| [2011/10/25 13:22:00] @ ryancoleman joined channel #puppet | ||
| [2011/10/25 13:22:01] <ashp> there's the good will of your customers and not making them hate you forever when they have to put oracle instances in the cloud | ||
| [2011/10/25 13:22:01] <misc> ashp: they didn't get rich by writing check :) | ||
| [2011/10/25 13:22:11] <ashp> I mean just from an outsider point of view | ||
| [2011/10/25 13:22:17] <Djelibeybi> ashp: Oracle instances inthe cloud? *lol* | ||
| [2011/10/25 13:22:21] <ashp> i will do my very best to lobby and argue against oracle in every single job I ever have | ||
| [2011/10/25 13:22:29] <ashp> and do my best to stay away from the products in anything I have influence over | ||
| [2011/10/25 13:22:35] <Djelibeybi> ashp: your licensing alone for that will prevent it from happening, I reckon. :) | ||
| [2011/10/25 13:22:36] <ashp> because they are clumsy and difficult to integrate with my existing automation systems | ||
| [2011/10/25 13:22:44] <ashp> Djelibeybi: You know I kept raising that | ||
| [2011/10/25 13:22:50] <ashp> Djelibeybi: and they promised they checked it out and it's "fine" | ||
| [2011/10/25 13:22:59] <Djelibeybi> ashp: Amazon RDS/EC2 is approved, I believe | ||
| [2011/10/25 13:23:06] <ashp> Ah that might explain it, as we're doing EC2 | ||
| [2011/10/25 13:23:13] <Djelibeybi> Yeah, EC2 has special licensing | ||
| [2011/10/25 13:23:13] <ashp> so you can stick it in EC2 but not your own private cloud or something? | ||
| [2011/10/25 13:23:16] <asteve> doing ec2? congrats! | ||
| [2011/10/25 13:23:16] <ashp> the licensing is... special | ||
| [2011/10/25 13:23:17] @ Quit: csanchez: Quit: csanchez | ||
| [2011/10/25 13:23:23] <Djelibeybi> ashp: you can do it in your private cloud, sure | ||
| [2011/10/25 13:23:33] <Djelibeybi> ashp: I'd use RDS and not try and install Oracle on an EC2 instance | ||
| [2011/10/25 13:23:41] <Djelibeybi> ashp: EC2 instance performance is … interesting. | ||
| [2011/10/25 13:23:54] <ashp> well these are just standalone dev environments so performance is definitely not a concern | ||
| [2011/10/25 13:23:58] <asteve> ec2 instance performance is not interesting; EBS performance is interesting | ||
| [2011/10/25 13:23:58] <ashp> but I can use RDS to do oracle stuff? | ||
| [2011/10/25 13:24:02] <Djelibeybi> RDS uses Oracle VM underneath, so it's optimized for virtualized performance. | ||
| [2011/10/25 13:24:08] <Djelibeybi> ashp: yeah, RDS now supports MySQL and Oracle DB | ||
| [2011/10/25 13:24:10] <ashp> see the thing is we're trying to make dev environments that somewhat resemble what production will look like | ||
| [2011/10/25 13:24:11] <asteve> and supposedly with RDS they've done voodoo to correct the EBS speed issues | ||
| [2011/10/25 13:24:25] <ashp> so if I use RDS isn't it going to be dramatically different to talking to a real oracle db? | ||
| [2011/10/25 13:24:32] <Djelibeybi> ashp: http://aws.amazon.com/rds/oracle/ | ||
| [2011/10/25 13:24:47] <ashp> I'm totally going to check this out as I would far prefer to do this for now and worry about oracle automation another day | ||
| [2011/10/25 13:24:59] <Djelibeybi> ashp: you are talking to a real Oracle DB | ||
| [2011/10/25 13:25:22] <ashp> I'm going to lobby to use RDS for cloud instances | ||
| [2011/10/25 13:25:29] <ashp> they did have the requirement that devs be capable of working offline as well | ||
| [2011/10/25 13:25:39] <ashp> so I still have to automate enough of an install to get them up and running in a local vm | ||
| [2011/10/25 13:25:44] <ashp> but this will still make life easier | ||
| [2011/10/25 13:25:44] @ Quit: ksheurs: Read error: Connection reset by peer | ||
| [2011/10/25 13:25:45] <Djelibeybi> Also, and I can't believe I'm saying this, we do have http://cloud.oracle.com :) | ||
| [2011/10/25 13:26:13] <ashp> got the time to make a cloud but not rpms *grumble grumble* :) | ||
| [2011/10/25 13:26:27] <whack> ashp: cloud sells, rpms do not | ||
| [2011/10/25 13:26:30] <ashp> Really I'm only bitter because I don't like things that make me work harder, I don't have any real opinion on how oracle actually works as a db | ||
| [2011/10/25 13:26:50] <ed209> so when amazon is making the demands, automation is possible | ||
| [2011/10/25 13:26:55] <misc> whack: that's right, as long people still buy their db, they have no incentive to do it :) | ||
| [2011/10/25 13:26:57] <ashp> whack: I'm still going to try and install oracle then use fpm to turn it into an rpm for the maximum evil possible - might not work | ||
| [2011/10/25 13:26:59] <Djelibeybi> ashp: yeah, Oracle DB is actually remarkably powerful. I had no real concept of just how much bigger it is than MySQL/PostgreSQL until I started working here. | ||
| [2011/10/25 13:26:59] <flipwork> working harder is for suckers | ||
| [2011/10/25 13:27:13] @ kenperkins joined channel #puppet | ||
| [2011/10/25 13:27:22] <ashp> Djelibeybi: I just wish it didn't seem to go out of its way to be as difficult and annoying as possible for regular sysadmins who don't specialize in oracle stuff | ||
| [2011/10/25 13:27:27] <Djelibeybi> ashp: though, I do manage to keep killing mine. I'm so not a DBA. | ||
| [2011/10/25 13:27:32] <ashp> i know it's possible to automate the entire thing, goldman sachs has | ||
| [2011/10/25 13:27:38] <Djelibeybi> ashp: I find the 11gR2 version pretty easy to install/automate | ||
| [2011/10/25 13:27:40] @ zenChild joined channel #puppet | ||
| [2011/10/25 13:27:51] <Djelibeybi> ashp: automation is built into EM11gR1/EM12c | ||
| [2011/10/25 13:27:57] <ashp> Djelibeybi: Have you ever tested picking up an installed version and dumping it elsewhere? | ||
| [2011/10/25 13:28:00] @ ksheurs joined channel #puppet | ||
| [2011/10/25 13:28:05] <Djelibeybi> ashp: sure, do it all the time | ||
| [2011/10/25 13:28:13] <Djelibeybi> ashp: it's called "Clone Database" in EM11/12. :) | ||
| [2011/10/25 13:28:13] <ashp> ok because that seems a better approach than automating the installer | ||
| [2011/10/25 13:28:37] <ashp> i just want to package up a pre-installed version and push it to boxes and then push whatever conf changes are needed on top to make them work | ||
| [2011/10/25 13:28:37] <Djelibeybi> ashp: oh, wait. You mean manually? | ||
| [2011/10/25 13:28:41] <Djelibeybi> ashp: NOOOOOOOOOO | ||
| [2011/10/25 13:28:53] <Djelibeybi> ashp: or, if you do, package an UNconfigured DB | ||
| [2011/10/25 13:29:00] @ Quit: ronan_1: Remote host closed the connection | ||
| [2011/10/25 13:29:02] <Djelibeybi> so, do a software-ony install and don't create a database | ||
| [2011/10/25 13:29:11] <ashp> Yeah, that's what I was thinking to do | ||
| [2011/10/25 13:29:17] <Djelibeybi> then, after you clone out, use the netca/dbca tools to create a database on each box. | ||
| [2011/10/25 13:29:21] <ashp> no database then do the database creation bit afterwards | ||
| [2011/10/25 13:29:25] <Djelibeybi> Yeah | ||
| [2011/10/25 13:29:33] <ashp> god I really need an oracle for dummies book or 'oracle for people that have used mysql' | ||
| [2011/10/25 13:29:58] <Djelibeybi> ashp: heh, Oracle is nothing like MySQL. Even the concept of a database is different | ||
| [2011/10/25 13:30:04] @ ronan_1 joined channel #puppet | ||
| [2011/10/25 13:30:13] <Djelibeybi> ashp: a MySQL "Database" is an Oracle "Schema" | ||
| [2011/10/25 13:30:19] <Djelibeybi> (Vaguely) | ||
| [2011/10/25 13:30:25] <Djelibeybi> brb, need more coffee. | ||
| [2011/10/25 13:30:32] <ashp> Oh ok, that explains why they kept going on about seperate schemas per developer | ||
| [2011/10/25 13:31:43] <Djelibeybi> Yeah, you'd have one database with multiple schemas | ||
| [2011/10/25 13:31:56] <Djelibeybi> A "database" in Oracle is like a MySQL Server install | ||
| [2011/10/25 13:31:57] @ gaspa joined channel #puppet | ||
| [2011/10/25 13:32:08] <gaspa> ciao | ||
| [2011/10/25 13:32:12] <gaspa> !list | ||
| [2011/10/25 13:32:15] <Djelibeybi> So you can have multiple Databases in the same home (install location) and in differenet locations. | ||
| [2011/10/25 13:32:22] <Djelibeybi> It becomes very interesting to manage | ||
| [2011/10/25 13:32:26] @ gaspa left channel #puppet () | ||
| [2011/10/25 13:32:53] <devdas> Djelibeybi, precisely that | ||
| [2011/10/25 13:33:38] <Djelibeybi> ashp: the flip side is that it is amazingly easy to diagnose | ||
| [2011/10/25 13:34:02] <Djelibeybi> ashp: because Oracle has lots and lots of processes, each doing a specific task, doing troubleshooting/bottleneck analysis is much, much easier | ||
| [2011/10/25 13:34:11] @ ksheurs left channel #puppet () | ||
| [2011/10/25 13:35:21] @ Quit: ronan_1: Read error: Connection reset by peer | ||
| [2011/10/25 13:35:21] <xalimar> i've absolutely never experienced easy diagnosis, since each separate process has its own log file hidden in some obscure location | ||
| [2011/10/25 13:35:38] @ ronan_1 joined channel #puppet | ||
| [2011/10/25 13:36:16] <ashp> xalimar: Djelibeybi had to report for 2 weeks of brainwashing when he accepted the job ;) | ||
| [2011/10/25 13:36:31] <Djelibeybi> xalimar: again, EM/DBConsole is your friend here | ||
| [2011/10/25 13:36:47] @ Quit: rsnhyperion: Ping timeout: 260 seconds | ||
| [2011/10/25 13:36:54] <Djelibeybi> ashp: nah, I work with Oracle Linux and Oracle VM. I'm just gaining an appreciation for how complex DB actually is over time. | ||
| [2011/10/25 13:37:08] @ illsci left channel #puppet () | ||
| [2011/10/25 13:37:35] @ Quit: mmckinst: Quit: mmckinst | ||
| [2011/10/25 13:37:45] @ londo_ joined channel #puppet | ||
| [2011/10/25 13:38:02] @ Quit: timyim: Ping timeout: 265 seconds | ||
| [2011/10/25 13:38:07] @ Quit: diq: Remote host closed the connection | ||
| [2011/10/25 13:38:30] @ eikenberry joined channel #puppet | ||
| [2011/10/25 13:39:47] @ illsci joined channel #puppet | ||
| [2011/10/25 13:41:05] <illsci> hmmm system => true and system_users => true both aren't working... | ||
| [2011/10/25 13:41:21] <illsci> wtf... err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter system_users at /etc/puppet/modules/zenoss/manifests/install.pp:11 err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter system at /etc/puppet/modules/zenoss/manifests/install.pp:11 | ||
| [2011/10/25 13:42:58] <devdas> ashp, you could also use PostgreSQL | ||
| [2011/10/25 13:42:58] <devdas> ;) | ||
| [2011/10/25 13:42:58] <devdas> (But seriously, the conceptual lessons learnt from Pg translate well to Oracle or MS SQL Server or DB2) | ||
| [2011/10/25 13:44:33] <ashp> devdas: We started the project with a plan to move from mysql to postgres | ||
| [2011/10/25 13:44:44] <asteve> brilliant! | ||
| [2011/10/25 13:44:46] <ashp> devdas: but then the dbas paniced and went for job security | ||
| [2011/10/25 13:44:53] <ashp> and for whatever reason we pandered to it and here we are | ||
| [2011/10/25 13:46:22] <Djelibeybi> ashp: what's the application, out of interest? Can you say? | ||
| [2011/10/25 13:46:27] <illsci> Any idea why a system using useradd doesn't seem to like system => true or system_users => true | ||
| [2011/10/25 13:46:53] <Dominic> illsci: the "system" parameter appeared in 2.6.7, perhaps your version is older? | ||
| [2011/10/25 13:47:01] <illsci> http://docs.puppetlabs.com/references/stable/type.html#user says it's supported... | ||
| [2011/10/25 13:47:09] <illsci> yeah probably... how about system_users | ||
| [2011/10/25 13:47:10] <the_ramink> illsci: which version of Puppet? For some reason I thought system => was fairly new | ||
| [2011/10/25 13:47:12] <illsci> let me check my versions | ||
| [2011/10/25 13:47:21] <Dominic> illsci: change "stable" in the URL to your version, then check :) | ||
| [2011/10/25 13:47:41] <illsci> 2.6.2-4 master and client | ||
| [2011/10/25 13:47:46] <Dominic> illsci: system_users is just the feature name I think, so probably again no | ||
| [2011/10/25 13:47:49] @ Quit: devdas: Ping timeout: 240 seconds | ||
| [2011/10/25 13:48:42] @ Quit: negronjl: Remote host closed the connection | ||
| [2011/10/25 13:48:48] <illsci> yeah not supported... | ||
| [2011/10/25 13:48:53] @ negronjl joined channel #puppet | ||
| [2011/10/25 13:49:56] @ jedi4ever joined channel #puppet | ||
| [2011/10/25 13:50:07] <asteve> http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL | ||
| [2011/10/25 13:50:59] @ KaiserBeto1 joined channel #puppet | ||
| [2011/10/25 13:52:56] @ methods1 left channel #puppet () | ||
| [2011/10/25 13:53:02] @ jongrocho joined channel #puppet | ||
| [2011/10/25 13:54:11] @ devdas joined channel #puppet | ||
| [2011/10/25 13:56:26] <rew> agaffney: (reg'd auto create nagios configs) so i resolved the duplicate configs on the clients issue :) … quick question if you are still around. is it possible within the puppet/manifets/pools.pp to define what hostgroup a client should belong to? | ||
| [2011/10/25 13:56:44] @ Quit: zwi: Quit: Leaving. | ||
| [2011/10/25 13:57:28] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/10/25 13:58:04] @ Quit: bronto: Quit: Leaving. | ||
| [2011/10/25 13:59:32] @ Quit: Xeross: Ping timeout: 244 seconds | ||
| [2011/10/25 13:59:42] @ nimrod10 joined channel #puppet | ||
| [2011/10/25 14:00:30] <agaffney> rew: I handled that by using concat to create a file on the client which is then exported by a custom fact | ||
| [2011/10/25 14:00:46] <agaffney> so each "application class" can add hostgroups to this list | ||
| [2011/10/25 14:01:09] <rew> ah i see | ||
| [2011/10/25 14:01:15] <rew> thanks btw | ||
| [2011/10/25 14:01:43] @ Quit: nimrod10`: Ping timeout: 258 seconds | ||
| [2011/10/25 14:02:43] @ Quit: indigo: Quit: leaving | ||
| [2011/10/25 14:04:21] @ devzero|afk is now known as devzero | ||
| [2011/10/25 14:05:41] <nb> bout.net | ||
| [2011/10/25 14:08:36] @ Xeross joined channel #puppet | ||
| [2011/10/25 14:12:58] @ Quit: Xeross: Ping timeout: 244 seconds | ||
| [2011/10/25 14:12:59] @ Quit: uphillian: Read error: Connection reset by peer | ||
| [2011/10/25 14:13:03] @ uphillian joined channel #puppet | ||
| [2011/10/25 14:13:42] @ Quit: matchaw: Remote host closed the connection | ||
| [2011/10/25 14:13:44] @ Xeross joined channel #puppet | ||
| [2011/10/25 14:13:49] @ Quit: cperry-out: Ping timeout: 240 seconds | ||
| [2011/10/25 14:14:16] @ Stenbryggen joined channel #puppet | ||
| [2011/10/25 14:14:43] @ benkevan_ joined channel #puppet | ||
| [2011/10/25 14:14:47] @ Quit: benkevan_: Client Quit | ||
| [2011/10/25 14:15:03] @ skm joined channel #puppet | ||
| [2011/10/25 14:16:35] @ Quit: benkevan: Ping timeout: 244 seconds | ||
| [2011/10/25 14:16:41] @ sdog joined channel #puppet | ||
| [2011/10/25 14:17:21] @ Quit: abetterlie: Ping timeout: 260 seconds | ||
| [2011/10/25 14:17:55] @ ccaum joined channel #puppet | ||
| [2011/10/25 14:18:16] @ erodriguez joined channel #puppet | ||
| [2011/10/25 14:20:25] @ csanchez joined channel #puppet | ||
| [2011/10/25 14:22:31] @ benkevan joined channel #puppet | ||
| [2011/10/25 14:22:32] @ Quit: benkevan: Changing host | ||
| [2011/10/25 14:22:32] @ benkevan joined channel #puppet | ||
| [2011/10/25 14:22:46] <aranc23> is anyone running puppet 2.7.6 on RHEL4/Centos4? if so, where did you get your ruby rpms from? | ||
| [2011/10/25 14:23:49] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/10/25 14:24:09] <aranc23> I was going along happily with 2.6/2.7 releases on rhel4 using the default ruby rpm (1.8.1) but some change from 2.7.5 to 2.7.6 seems to have broken puppet on ruby-1.8.1 | ||
| [2011/10/25 14:24:26] @ matchaw_ joined channel #puppet | ||
| [2011/10/25 14:25:14] @ zenChild left channel #puppet () | ||
| [2011/10/25 14:25:58] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/10/25 14:26:04] <dpittman> aranc23: ....totally could happen. We don't support 1.8.1. Get 1.8.5, or better 1.8.7. :) | ||
| [2011/10/25 14:26:21] <aranc23> my problem is in getting 1.8.5 or 1.8.7 built as an rpm | ||
| [2011/10/25 14:26:42] <dpittman> aranc23: Ah. So I see, if I had read the line before. ;) | ||
| [2011/10/25 14:26:51] @ the_ramink joined channel #puppet | ||
| [2011/10/25 14:26:53] <aranc23> to make it worse, I need to build it on i386/ppc64/x86_64 :( | ||
| [2011/10/25 14:27:12] <aranc23> and it's the ppc64 one that is the problem child | ||
| [2011/10/25 14:27:34] @ Quit: matchaw_: Remote host closed the connection | ||
| [2011/10/25 14:31:24] @ Quit: thisKat: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/10/25 14:32:47] @ Quit: marczak: Ping timeout: 260 seconds | ||
| [2011/10/25 14:32:53] @ pedro joined channel #puppet | ||
| [2011/10/25 14:33:40] @ Quit: pedro: Client Quit | ||
| [2011/10/25 14:33:45] <zoredache> I have some settings to recursively deploy some files from the skelton to a user's home directory on one of my systems. When a user has a large number of files already in the folder the puppet agent seems to take a huge ammount of time to process to run. More details at http://serverfault.com/q/324757/984 | ||
| [2011/10/25 14:35:44] <zoredache> Does that sound 'normal' for a recursive deploy? The source folder only has about a dozen files in it. | ||
| [2011/10/25 14:35:57] @ Holocaine joined channel #puppet | ||
| [2011/10/25 14:36:50] @ themadcanudist joined channel #puppet | ||
| [2011/10/25 14:37:55] @ Quit: nul0op: Ping timeout: 252 seconds | ||
| [2011/10/25 14:38:03] @ MrBIOS-seamicro joined channel #puppet | ||
| [2011/10/25 14:39:52] @ zwi joined channel #puppet | ||
| [2011/10/25 14:40:22] <eric0> zoredache: posted, use recurse=>remote instead of recurse=>true | ||
| [2011/10/25 14:40:48] @ Quit: geekbri: Remote host closed the connection | ||
| [2011/10/25 14:42:47] @ thisKat joined channel #puppet | ||
| [2011/10/25 14:43:47] @ Quit: bretm: Ping timeout: 276 seconds | ||
| [2011/10/25 14:44:27] @ Quit: ccaum: Ping timeout: 260 seconds | ||
| [2011/10/25 14:45:23] @ Quit: csanchez: Quit: csanchez | ||
| [2011/10/25 14:45:32] <zoredache> eric0: that is great, that fixed it. | ||
| [2011/10/25 14:46:13] @ csanchez joined channel #puppet | ||
| [2011/10/25 14:48:29] <selenamarie> i'm playing with cloud provisioner, and finding that it installs a gem, but no init.d scripts. normal or problem? | ||
| [2011/10/25 14:48:37] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/10/25 14:51:11] @ thisKat joined channel #puppet | ||
| [2011/10/25 14:51:38] @ Quit: ldlework: Read error: Operation timed out | ||
| [2011/10/25 14:51:49] <eric0> cool, thx for accepting the answer..havent been on serverfault for a while | ||
| [2011/10/25 14:51:56] @ Quit: negronjl: Quit: AndroIRC - Android IRC Client ( http://www.androirc.com ) | ||
| [2011/10/25 14:51:57] @ Quit: kaptk2: Quit: Leaving. | ||
| [2011/10/25 14:53:37] @ Spads_ joined channel #puppet | ||
| [2011/10/25 14:56:13] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2011/10/25 14:57:32] <highclasshole> For some reason with puppet-dashboard if I run it as script/server the reports come through fine without any issues | ||
| [2011/10/25 14:57:55] <highclasshole> if I run it puppet-dashboard in apache with passenger, even on *:3000 reports never make it through | ||
| [2011/10/25 14:58:21] <highclasshole> I see the POST requests getting sent to it | ||
| [2011/10/25 14:58:39] <highclasshole> in the apache logs | ||
| [2011/10/25 14:58:56] <highclasshole> I don't see any errors in the application's logs or apache's logs | ||
| [2011/10/25 14:59:30] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/10/25 14:59:56] @ Quit: tnguyen: Ping timeout: 260 seconds | ||
| [2011/10/25 15:00:16] @ Quit: freezey: Quit: freezey | ||
| [2011/10/25 15:00:30] @ Quit: illsci: Quit: BitchX: double your pleasure, double your fun! | ||
| [2011/10/25 15:00:45] @ Quit: asteve: Quit: asteve | ||
| [2011/10/25 15:01:01] @ Quit: hooper: Ping timeout: 252 seconds | ||
| [2011/10/25 15:06:22] @ Quit: csanchez: Quit: csanchez | ||
| [2011/10/25 15:07:37] @ Quit: kermit: Quit: Leaving. | ||
| [2011/10/25 15:07:51] @ kermit joined channel #puppet | ||
| [2011/10/25 15:08:17] @ marczak joined channel #puppet | ||
| [2011/10/25 15:09:02] @ silentg joined channel #puppet | ||
| [2011/10/25 15:09:31] @ benjiedmund joined channel #puppet | ||
| [2011/10/25 15:10:15] @ nul0op joined channel #puppet | ||
| [2011/10/25 15:10:26] @ shadoi joined channel #puppet | ||
| [2011/10/25 15:11:17] @ Quit: blentz: Ping timeout: 258 seconds | ||
| [2011/10/25 15:11:37] @ nokia3510 joined channel #puppet | ||
| [2011/10/25 15:13:13] @ lborda joined channel #puppet | ||
| [2011/10/25 15:13:36] @ Quit: marczak: Ping timeout: 248 seconds | ||
| [2011/10/25 15:13:45] @ mwcjr joined channel #puppet | ||
| [2011/10/25 15:14:41] @ marczak joined channel #puppet | ||
| [2011/10/25 15:18:50] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/10/25 15:19:14] @ Spads joined channel #puppet | ||
| [2011/10/25 15:23:59] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/10/25 15:24:08] @ iw_work joined channel #puppet | ||
| [2011/10/25 15:25:42] @ eshamow__ joined channel #puppet | ||
| [2011/10/25 15:26:45] @ mwcjr left channel #puppet () | ||
| [2011/10/25 15:27:12] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/10/25 15:27:12] @ jaminja joined channel #puppet | ||
| [2011/10/25 15:28:48] @ dgillies joined channel #puppet | ||
| [2011/10/25 15:29:21] @ Quit: eshamow_: Ping timeout: 260 seconds | ||
| [2011/10/25 15:29:41] @ Quit: bluethundr: Ping timeout: 265 seconds | ||
| [2011/10/25 15:31:03] <the_ramink> highclasshole: are you running the delayed job? | ||
| [2011/10/25 15:31:07] @ Quit: kangman: Remote host closed the connection | ||
| [2011/10/25 15:35:36] @ Quit: kelseyhightower: Ping timeout: 240 seconds | ||
| [2011/10/25 15:36:10] @ kelseyhightower joined channel #puppet | ||
| [2011/10/25 15:40:12] @ ed2091 joined channel #puppet | ||
| [2011/10/25 15:40:46] @ Quit: marczak: Ping timeout: 260 seconds | ||
| [2011/10/25 15:41:11] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/10/25 15:42:27] @ Quit: ed209: Ping timeout: 252 seconds | ||
| [2011/10/25 15:42:49] @ Guest99255 joined channel #puppet | ||
| [2011/10/25 15:43:55] @ mwcjr joined channel #puppet | ||
| [2011/10/25 15:45:02] @ duerF joined channel #puppet | ||
| [2011/10/25 15:45:58] @ Quit: Guest99255: Excess Flood | ||
| [2011/10/25 15:47:54] <helindbe> just announced geppetto release 2.1 - http://cloudsmith.github.com/geppetto/2011/10/25/version-2_1_0.html | ||
| [2011/10/25 15:48:13] @ Transformer joined channel #puppet | ||
| [2011/10/25 15:48:40] <kjetilho> oooh! | ||
| [2011/10/25 15:49:24] @ methods1 joined channel #puppet | ||
| [2011/10/25 15:49:44] <highclasshole> the_ramink: yea I'm running the delyed jobs | ||
| [2011/10/25 15:49:47] <methods1> is it normal to have graphviz crash trying to generate puppet agent —graph output because the graph is to large ? | ||
| [2011/10/25 15:49:56] <highclasshole> the_ramink: I can see it clearly working fine when its running with script/server | ||
| [2011/10/25 15:49:57] @ Quit: mwcjr: Quit: mwcjr | ||
| [2011/10/25 15:50:58] @ Quit: Transformer: Excess Flood | ||
| [2011/10/25 15:53:50] <the_ramink> highclasshole: cool, anything interesting in your $dashboard/log/production.log file | ||
| [2011/10/25 15:54:09] <kenperkins> ok puppeteers, I need some assitance: a particular puppet run is hanging for up to 1000 seconds. Can't figure out why | ||
| [2011/10/25 15:54:13] <kenperkins> happens on both of my webservers | ||
| [2011/10/25 15:54:36] <kenperkins> I have a run in progress wiht --debug enabled as well, but while the hang is happening, I'm seeing no output whatever | ||
| [2011/10/25 15:55:30] <dpittman> kenperkins: You could run with '--trace', and break the process while it is "hung". That should give a stack trace pointing you to where it is happening, and might give a clue... | ||
| [2011/10/25 15:55:44] @ claussen joined channel #puppet | ||
| [2011/10/25 15:55:44] @ Quit: eikenberry: Quit: End of line. | ||
| [2011/10/25 15:55:45] @ abetterlie joined channel #puppet | ||
| [2011/10/25 15:56:00] <kenperkins> rgr | ||
| [2011/10/25 15:56:08] <kenperkins> killing and rerunning with --trace | ||
| [2011/10/25 15:56:22] <kenperkins> how should I kill it? | ||
| [2011/10/25 15:56:30] <dpittman> control-c should do it. | ||
| [2011/10/25 15:57:20] @ Quit: Spads: Ping timeout: 244 seconds | ||
| [2011/10/25 15:57:23] <highclasshole> the_ramink: nope, it stays quiet - I can see in the apache access_logs the POST lines | ||
| [2011/10/25 15:57:29] @ Spads joined channel #puppet | ||
| [2011/10/25 15:57:31] @ Quit: shadoi: Read error: No route to host | ||
| [2011/10/25 15:57:43] <kenperkins> ok, where would the trace have gone? | ||
| [2011/10/25 15:57:54] @ shadoi joined channel #puppet | ||
| [2011/10/25 15:58:40] <kenperkins> dpittman: http://pastebin.com/9Ehp2cax | ||
| [2011/10/25 15:58:41] @ ccaum joined channel #puppet | ||
| [2011/10/25 15:58:44] <kenperkins> nothing... | ||
| [2011/10/25 15:58:44] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/10/25 15:58:53] @ ccaum left channel #puppet () | ||
| [2011/10/25 16:00:06] <dpittman> kenperkins: Darnit. We must not be dumping a trace when interrupted. I thought that was going to work. Sorry. :( | ||
| [2011/10/25 16:00:26] <highclasshole> I've tried running it on port 3000 with apache and it didn't work that way either | ||
| [2011/10/25 16:00:34] @ cperry-out joined channel #puppet | ||
| [2011/10/25 16:00:39] <highclasshole> no reports are coming in and hitting background tasks | ||
| [2011/10/25 16:01:40] @ Quit: claussen: Quit: claussen | ||
| [2011/10/25 16:02:36] <kenperkins> so what are my options | ||
| [2011/10/25 16:02:43] <kenperkins> waiting 1000 seconds makes deployments a real PITA | ||
| [2011/10/25 16:05:52] <dpittman> kenperkins: Check the metrics in the report for a successful run, and see if they shed any light about where the time was spent? | ||
| [2011/10/25 16:06:21] <kenperkins> ... there's a report? | ||
| [2011/10/25 16:06:55] <dpittman> kenperkins: Yeah, we generate a report about what happened in the run. We send it to a report processor if you configure it, but you can find a copy of it in the state dir (/var/lib/puppet on Linux, typically) | ||
| [2011/10/25 16:07:06] <kenperkins> on the master or the node | ||
| [2011/10/25 16:07:09] <dpittman> kenperkins: ...big blob of YAML, contains all sorts of useful data. On the node. | ||
| [2011/10/25 16:07:14] <kenperkins> ty | ||
| [2011/10/25 16:07:28] <kenperkins> what's wierd is this only happens on my servers with nginx | ||
| [2011/10/25 16:07:29] <dpittman> kenperkins: ...on the node, unless you configure reports to be sent back to the master. | ||
| [2011/10/25 16:10:28] @ Quit: nxhack: Quit: Quit Nadoka 0.7.2-trunk (-) - http://www.atdot.net/nadoka/ | ||
| [2011/10/25 16:11:33] <Volcane> the /var/lib/puppet/state/last_run_summary.yaml file might also give good hints | ||
| [2011/10/25 16:11:50] @ nxhack joined channel #puppet | ||
| [2011/10/25 16:13:35] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/10/25 16:16:36] @ keisaku joined channel #puppet | ||
| [2011/10/25 16:16:48] @ TheAvatar left channel #puppet () | ||
| [2011/10/25 16:16:55] @ keisaku left channel #puppet () | ||
| [2011/10/25 16:16:59] @ methods1 left channel #puppet () | ||
| [2011/10/25 16:17:02] @ methods1 joined channel #puppet | ||
| [2011/10/25 16:17:07] @ methods1 left channel #puppet () | ||
| [2011/10/25 16:18:08] @ Quit: DJClean: Ping timeout: 252 seconds | ||
| [2011/10/25 16:20:00] @ keisaku joined channel #puppet | ||
| [2011/10/25 16:20:40] @ Quit: keisaku: Client Quit | ||
| [2011/10/25 16:21:27] @ keisaku joined channel #puppet | ||
| [2011/10/25 16:21:41] @ Quit: keisaku: Client Quit | ||
| [2011/10/25 16:23:17] @ Quit: zwi: Quit: Leaving. | ||
| [2011/10/25 16:27:15] @ Quit: abetterlie: Quit: Lost terminal | ||
| [2011/10/25 16:28:54] @ kelseyhightower left channel #puppet () | ||
| [2011/10/25 16:29:40] @ Quit: RoyK: Remote host closed the connection | ||
| [2011/10/25 16:31:05] @ Quit: nul0op: Quit: Leaving | ||
| [2011/10/25 16:31:39] @ Quit: CAMIR: Read error: Connection reset by peer | ||
| [2011/10/25 16:33:46] @ mosen joined channel #puppet | ||
| [2011/10/25 16:33:57] @ Quit: benkevan: Quit: leaving | ||
| [2011/10/25 16:35:59] @ metcalfc joined channel #puppet | ||
| [2011/10/25 16:36:41] @ kelseyhightower joined channel #puppet | ||
| [2011/10/25 16:38:12] @ abetterlie joined channel #puppet | ||
| [2011/10/25 16:38:56] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/10/25 16:40:29] @ Spads_ joined channel #puppet | ||
| [2011/10/25 16:43:46] @ Quit: Spads: Ping timeout: 256 seconds | ||
| [2011/10/25 16:44:03] <metcalfc> Is there a way I can tell puppet parser validate to use storeconfigs so I can not see those warnings? | ||
| [2011/10/25 16:46:28] @ Quit: kelseyhightower: Quit: Colloquy for iPhone - http://colloquy.mobi | ||
| [2011/10/25 16:48:18] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/10/25 16:49:54] @ Shanlar_ joined channel #puppet | ||
| [2011/10/25 16:49:55] @ cruzfox joined channel #puppet | ||
| [2011/10/25 16:51:25] @ hooper joined channel #puppet | ||
| [2011/10/25 16:51:31] @ Quit: alfism: Quit: alfism | ||
| [2011/10/25 16:52:51] @ Quit: Shanlar-: Ping timeout: 252 seconds | ||
| [2011/10/25 16:58:49] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/10/25 17:00:01] <dan__t_> So I have some custom facts... on first run, Puppet can't see/download/whatever the facts. Shouldn't that be the first thing it does? | ||
| [2011/10/25 17:00:14] @ ianbrandt joined channel #puppet | ||
| [2011/10/25 17:00:30] @ ccaum joined channel #puppet | ||
| [2011/10/25 17:00:40] @ Quit: ccaum: Client Quit | ||
| [2011/10/25 17:02:00] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/10/25 17:05:12] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/25 17:06:41] @ Quit: duerF: Quit: Leaving | ||
| [2011/10/25 17:09:40] @ Quit: Spads_: Ping timeout: 244 seconds | ||
| [2011/10/25 17:10:12] @ Quit: iw_work: Quit: Leaving | ||
| [2011/10/25 17:12:37] @ RoyK joined channel #puppet | ||
| [2011/10/25 17:13:53] <dan__t_> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template puppet/puppet.conf.erb: Could not find value for 'env' at 13:/etc/puppet/modules/prod/puppet/templates/puppet.conf.erb at /etc/puppet/modules/prod/puppet/manifests/init.pp:16 on node | ||
| [2011/10/25 17:14:05] <dan__t_> I get that - it can't resolve that fact 'env'. Yet, facter -p sees it just fine. | ||
| [2011/10/25 17:15:53] <zleslie> dan__t_: on first run, you should turn on --pluginsync true | ||
| [2011/10/25 17:17:01] @ shadoi joined channel #puppet | ||
| [2011/10/25 17:18:03] <dan__t_> hm | ||
| [2011/10/25 17:20:37] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/10/25 17:21:06] @ Spads joined channel #puppet | ||
| [2011/10/25 17:21:19] <zleslie> dan__t_: we have some of the same issue. Our puppet.conf is managed by puppet, and pluginsync gets turned on once its written. | ||
| [2011/10/25 17:21:32] <zleslie> but for the first run, default is false, so my modules that rely on facts don't run | ||
| [2011/10/25 17:21:47] <dan__t_> that makes sense. | ||
| [2011/10/25 17:22:54] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/10/25 17:24:46] @ KaiserBeto2 joined channel #puppet | ||
| [2011/10/25 17:24:47] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/10/25 17:25:39] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/10/25 17:26:14] <dan__t_> thanks. | ||
| [2011/10/25 17:27:41] @ Quit: rutger: Ping timeout: 252 seconds | ||
| [2011/10/25 17:27:48] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/10/25 17:27:57] @ rutger joined channel #puppet | ||
| [2011/10/25 17:28:29] @ claussen joined channel #puppet | ||
| [2011/10/25 17:28:40] <dan__t_> it just doesn't want tow ork | ||
| [2011/10/25 17:28:41] <dan__t_> work | ||
| [2011/10/25 17:30:26] @ Quit: hooper: Ping timeout: 258 seconds | ||
| [2011/10/25 17:33:11] @ Quit: swygue: Ping timeout: 252 seconds | ||
| [2011/10/25 17:33:19] @ marczak joined channel #puppet | ||
| [2011/10/25 17:35:24] @ cruzfox joined channel #puppet | ||
| [2011/10/25 17:36:04] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/10/25 17:37:31] <dan__t_> notice: /File[/var/lib/puppet/lib/facter/client.rb]/ensure: defined content as '{md5}6077a4102cb3d3256d1253fa7c7370b3' | ||
| [2011/10/25 17:37:33] <dan__t_> they're being made. | ||
| [2011/10/25 17:38:04] @ Quit: eshamow__: Quit: eshamow__ | ||
| [2011/10/25 17:39:12] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/10/25 17:41:59] @ Quit: ed2091: Quit: Leaving. | ||
| [2011/10/25 17:42:24] @ Quit: zoredache: Quit: Lost terminal | ||
| [2011/10/25 17:43:10] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/10/25 17:45:19] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/10/25 17:45:21] @ Quit: zul: Read error: Connection reset by peer | ||
| [2011/10/25 17:46:11] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/10/25 17:46:33] @ Quit: williemach: Quit: Leaving. | ||
| [2011/10/25 17:46:40] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 17:46:55] <zleslie> same error? | ||
| [2011/10/25 17:47:12] <dan__t_> mmm, red herring | ||
| [2011/10/25 17:47:16] @ macmichael01 joined channel #puppet | ||
| [2011/10/25 17:47:21] <dan__t_> i ran in to this the other day. unfortunately I don't remember what I did to fix it. | ||
| [2011/10/25 17:47:22] <dan__t_> Host is missing hostname and/or domain: | ||
| [2011/10/25 17:47:24] @ zul joined channel #puppet | ||
| [2011/10/25 17:48:08] @ Quit: walterheck: Ping timeout: 260 seconds | ||
| [2011/10/25 17:48:16] <zleslie> when doing what? | ||
| [2011/10/25 17:48:31] <dan__t_> just doing a run | ||
| [2011/10/25 17:48:34] <dan__t_> it was apache related | ||
| [2011/10/25 17:48:43] <dan__t_> indeed, i jsut disabled apache, and it now works. | ||
| [2011/10/25 17:48:53] <zleslie> cool | ||
| [2011/10/25 17:48:57] <dan__t_> nope. | ||
| [2011/10/25 17:49:03] <dan__t_> apache is butghering that info | ||
| [2011/10/25 17:49:07] <zleslie> so fix it | ||
| [2011/10/25 17:49:17] <zleslie> then it will be neat | ||
| [2011/10/25 17:49:40] <dan__t_> i don't know what's *broken* | ||
| [2011/10/25 17:49:43] <macmichael01> Hello I have a dedicated box where I would like to host/deploy web apps to. Is there a way within puppet to have dynamically make apache virtualhosts and to make sure the port it uses is available? | ||
| [2011/10/25 17:49:44] <RoyK> there are issues in all sorts of software, but it's only in the lands of Oracle and Microsoft where you need a handful of gods or a trillion dollars to fix them..... | ||
| [2011/10/25 17:50:11] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/10/25 17:50:16] <dan__t_> so, apache butchers first-runs | ||
| [2011/10/25 17:50:21] <dan__t_> apache or mongrel | ||
| [2011/10/25 17:50:47] <zleslie> macmichael01: you could write or borrow a defined type that would create the vhost configurtion for an application. | ||
| [2011/10/25 17:53:08] <macmichael01> zleslie: so basically make a reusable vhost template? Is there anyway to ensure that they port used is open? | ||
| [2011/10/25 17:53:19] <macmichael01> sorry very new to puppet | ||
| [2011/10/25 17:53:36] @ walterheck joined channel #puppet | ||
| [2011/10/25 17:54:14] <mosen> macmichael01, I think that the example42 repository has apache and a script for opening the port | ||
| [2011/10/25 17:54:36] <mosen> macmichael01, but I think once I've been told to use puppet forge instead of example42's repo but I can't remember why :) | ||
| [2011/10/25 17:55:19] <mosen> macmichael01, these are all modules from example42: https://github.com/example42/puppet-modules | ||
| [2011/10/25 17:56:20] <macmichael01> mosen: Oh wow thanks so much! I'll check this out | ||
| [2011/10/25 17:57:41] <mosen> macmichael01, no problem.. they all come with a tiny bit of doco | ||
| [2011/10/25 17:57:44] <mosen> well, most | ||
| [2011/10/25 18:00:12] <the_ramink> mosen: example42's Puppet modules are 10x better than the average Forge module | ||
| [2011/10/25 18:00:34] <mosen> the_ramink, hehe probably true | ||
| [2011/10/25 18:00:37] <the_ramink> well that's my opinion at least. :) | ||
| [2011/10/25 18:01:19] <the_ramink> though admittedly they are kinda complext to wrap your head around if you're just starting. | ||
| [2011/10/25 18:01:59] <macmichael01> what exactly is puppet forge? Another repo? | ||
| [2011/10/25 18:02:16] <mosen> macmichael01, its the official site for err.. user contributions :) | ||
| [2011/10/25 18:02:31] <mosen> macmichael01, http://forge.puppetlabs.com/ | ||
| [2011/10/25 18:02:40] <macmichael01> ok sorry I am such a noob :p | ||
| [2011/10/25 18:02:44] <mosen> macmichael01, all good | ||
| [2011/10/25 18:02:51] @ Quit: djm68: Quit: leaving | ||
| [2011/10/25 18:03:05] <mosen> i'm not as advanced as a lot of these guys anyway | ||
| [2011/10/25 18:03:21] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/10/25 18:07:21] @ Quit: jodok: Quit: jodok | ||
| [2011/10/25 18:08:27] @ neonflux joined channel #puppet | ||
| [2011/10/25 18:11:32] @ maxmartin joined channel #puppet | ||
| [2011/10/25 18:20:00] @ Quit: choonming: Ping timeout: 240 seconds | ||
| [2011/10/25 18:23:47] @ jsurfer joined channel #puppet | ||
| [2011/10/25 18:26:24] @ swygue joined channel #puppet | ||
| [2011/10/25 18:27:18] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/10/25 18:27:33] @ jsurfer joined channel #puppet | ||
| [2011/10/25 18:30:47] @ Quit: Ryan_Lane: Quit: Leaving. | ||
| [2011/10/25 18:32:13] @ Quit: metcalfc: Ping timeout: 252 seconds | ||
| [2011/10/25 18:34:49] @ Quit: cyflea: Read error: Connection reset by peer | ||
| [2011/10/25 18:36:29] @ Quit: ohadlevy: Ping timeout: 276 seconds | ||
| [2011/10/25 18:37:47] @ ohadlevy joined channel #puppet | ||
| [2011/10/25 18:37:52] @ cyflea joined channel #puppet | ||
| [2011/10/25 18:41:04] @ Quit: ghanima: Ping timeout: 256 seconds | ||
| [2011/10/25 18:41:05] @ Quit: tilgovi: Ping timeout: 256 seconds | ||
| [2011/10/25 18:42:22] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/10/25 18:43:05] @ Quit: swygue: Ping timeout: 260 seconds | ||
| [2011/10/25 18:44:27] @ Quit: KaiserBeto2: Ping timeout: 252 seconds | ||
| [2011/10/25 18:49:06] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/10/25 18:55:24] @ oatsport1__ joined channel #puppet | ||
| [2011/10/25 18:55:42] @ dwalu joined channel #puppet | ||
| [2011/10/25 18:56:17] @ Quit: eal: Remote host closed the connection | ||
| [2011/10/25 18:56:21] @ eal joined channel #puppet | ||
| [2011/10/25 18:56:35] @ Quit: oatsport1_: Read error: Connection reset by peer | ||
| [2011/10/25 18:57:06] <dwalu> Hi. I'm not sure if I can do this with the DSL or if this is something I need to do in Ruby. I'm writing an exec that runs a command to grab some data, and then I want to take that data and pass it back to a Notify with a formatting string like notify { "Deployed software version $version":}. Can this be done in the DSL? | ||
| [2011/10/25 18:58:56] @ swygue joined channel #puppet | ||
| [2011/10/25 18:59:53] <dwalu> (where $version is data extracted from the output of an Exec) | ||
| [2011/10/25 19:00:25] @ bman1 left channel #puppet () | ||
| [2011/10/25 19:02:12] @ asteve joined channel #puppet | ||
| [2011/10/25 19:02:12] @ Quit: asteve: Changing host | ||
| [2011/10/25 19:02:12] @ asteve joined channel #puppet | ||
| [2011/10/25 19:02:42] @ silentg left channel #puppet () | ||
| [2011/10/25 19:04:00] @ Moe__ joined channel #puppet | ||
| [2011/10/25 19:04:12] @ Quit: macmichael01: Quit: macmichael01 | ||
| [2011/10/25 19:05:59] @ zwi joined channel #puppet | ||
| [2011/10/25 19:06:01] @ Quit: danikov: Read error: Connection timed out | ||
| [2011/10/25 19:06:46] @ danikov joined channel #puppet | ||
| [2011/10/25 19:10:30] @ Quit: claussen: Quit: claussen | ||
| [2011/10/25 19:11:23] <zleslie> notify => Notice["blag"] | ||
| [2011/10/25 19:11:30] <zleslie> sorry | ||
| [2011/10/25 19:11:43] <zleslie> It might b notify => Notify["blag"] | ||
| [2011/10/25 19:12:07] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/10/25 19:19:44] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 19:20:09] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 19:20:30] @ Spads_ joined channel #puppet | ||
| [2011/10/25 19:22:38] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/10/25 19:23:46] @ Quit: bmahe: Quit: Leaving | ||
| [2011/10/25 19:25:52] @ Quit: abetterlie: Ping timeout: 248 seconds | ||
| [2011/10/25 19:32:31] @ abetterlie joined channel #puppet | ||
| [2011/10/25 19:33:18] @ KaiserBeto1 joined channel #puppet | ||
| [2011/10/25 19:35:31] <dwalu> zleslie: what I'm really trying to do is extract the output of an Exec and put it into a Notify. that's where I'm stuck | ||
| [2011/10/25 19:38:36] <rodjek> dwalu: you can't capture the output of an exec into a variable | ||
| [2011/10/25 19:38:54] <dwalu> rodjek: what if I write it in ruby? | ||
| [2011/10/25 19:38:54] <rodjek> what you probably want to do is create a fact that runs your command | ||
| [2011/10/25 19:39:14] @ Quit: Moe__: Remote host closed the connection | ||
| [2011/10/25 19:39:22] <dwalu> oh I hadn't thought about that | ||
| [2011/10/25 19:39:35] <rodjek> http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts | ||
| [2011/10/25 19:39:40] <rodjek> that should do what you're after | ||
| [2011/10/25 19:40:31] @ Quit: maxmartin: Remote host closed the connection | ||
| [2011/10/25 19:43:46] @ Quit: dan__t_: Read error: Operation timed out | ||
| [2011/10/25 19:44:47] @ ghg joined channel #puppet | ||
| [2011/10/25 19:45:07] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/10/25 19:51:48] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 19:52:40] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 19:54:34] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 19:54:44] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 19:57:33] @ metcalfc joined channel #puppet | ||
| [2011/10/25 19:58:04] @ sumsuch joined channel #puppet | ||
| [2011/10/25 20:01:22] @ Ryan_Lane joined channel #puppet | ||
| [2011/10/25 20:04:54] @ Spads joined channel #puppet | ||
| [2011/10/25 20:05:53] @ Corren joined channel #puppet | ||
| [2011/10/25 20:07:16] @ Quit: zwi: Quit: Leaving. | ||
| [2011/10/25 20:07:45] <dwalu> rodjek that got what I needed, thank you again! | ||
| [2011/10/25 20:08:47] @ Quit: Spads_: Ping timeout: 276 seconds | ||
| [2011/10/25 20:09:50] @ wilmoore joined channel #puppet | ||
| [2011/10/25 20:10:13] @ Quit: Xeross: Ping timeout: 240 seconds | ||
| [2011/10/25 20:10:48] @ Xeross joined channel #puppet | ||
| [2011/10/25 20:11:30] @ los3241 joined channel #puppet | ||
| [2011/10/25 20:12:29] @ los3241 left channel #puppet () | ||
| [2011/10/25 20:16:08] @ ccaum joined channel #puppet | ||
| [2011/10/25 20:16:26] @ ccaum left channel #puppet () | ||
| [2011/10/25 20:18:08] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 20:18:48] @ Quit: cperry-out: Ping timeout: 240 seconds | ||
| [2011/10/25 20:20:18] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 20:20:26] <rodjek> dwalu: no worries | ||
| [2011/10/25 20:21:09] @ negronjl joined channel #puppet | ||
| [2011/10/25 20:22:07] @ ukd1 joined channel #puppet | ||
| [2011/10/25 20:25:27] @ Djelibeybi joined channel #puppet | ||
| [2011/10/25 20:25:30] @ Quit: Djelibeybi: Changing host | ||
| [2011/10/25 20:25:30] @ Djelibeybi joined channel #puppet | ||
| [2011/10/25 20:27:38] <dwalu> rodjek could you look at https://gist.github.com/1315342 for me? | ||
| [2011/10/25 20:28:11] @ alanevans joined channel #puppet | ||
| [2011/10/25 20:28:21] <dwalu> For some reason that kills my puppet agent with puppet-agent[15846]: Could not load downloaded file /var/lib/puppet/lib/facter/console_deployed_version.rb: /var/lib/puppet/lib/facter/console_deployed_version.rb:4: syntax error, unexpected kEND, expecting ')' | ||
| [2011/10/25 20:29:14] <dwalu> when I put it in ~/lib/ruby/facter/console_deployed_version and set RUBYLIB to be ~/lib/ruby, and then run faster console_deployed_version it returns what I would expect it to | ||
| [2011/10/25 20:29:36] @ mrwacky42 joined channel #puppet | ||
| [2011/10/25 20:30:05] @ Quit: ohadlevy: Ping timeout: 252 seconds | ||
| [2011/10/25 20:30:33] <dwalu> should the name of the fact be ("console_deployed_version") or should it be (:console_deployed_version) ? | ||
| [2011/10/25 20:31:04] @ Quit: ukd1: Quit: Lost terminal | ||
| [2011/10/25 20:32:44] <rodjek> dwalu: a string is fine | ||
| [2011/10/25 20:32:55] @ ccaum joined channel #puppet | ||
| [2011/10/25 20:33:03] @ chequers joined channel #puppet | ||
| [2011/10/25 20:33:20] <dwalu> any idea what's wrong with that fact? It's killing my puppet agent :( | ||
| [2011/10/25 20:33:50] <chequers> hi. I'm newish to puppet from cfengine. I understand the principles of how to use puppet to manage stuff, but I'm looking for practical advice on how to structure our puppet configuration hierarchy | ||
| [2011/10/25 20:34:14] <chequers> are there any Best Practice guides for this layout? | ||
| [2011/10/25 20:35:00] <chequers> as a quick overview, the stuff I manage is the same application deployed in very similar onfigurations at a few sites globally, then some other unique sites as well | ||
| [2011/10/25 20:35:17] @ ohadlevy joined channel #puppet | ||
| [2011/10/25 20:35:39] @ Quit: ccaum: Client Quit | ||
| [2011/10/25 20:35:52] <chequers> I've been writing my configurtion in modules called eg 'logrotate', which has region specific classes I import | ||
| [2011/10/25 20:36:10] <chequers> but little idea how 'normal' this is | ||
| [2011/10/25 20:36:42] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 20:36:53] <dwalu> do I need a confine statement in there? | ||
| [2011/10/25 20:37:34] <rodjek> dwalu: you don't want to use exec | ||
| [2011/10/25 20:37:39] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 20:37:46] <the_ramink> chequers: why don't you pastie.org up your code and let's take a peak at how you're structuring it | ||
| [2011/10/25 20:37:57] <dwalu> rodjek: what should I use instead? | ||
| [2011/10/25 20:38:08] <rodjek> try https://gist.github.com/1315361 | ||
| [2011/10/25 20:39:19] @ Quit: Stenbryggen: Ping timeout: 252 seconds | ||
| [2011/10/25 20:39:33] @ Quit: soosfarm: Read error: Operation timed out | ||
| [2011/10/25 20:39:59] @ Stenbryggen joined channel #puppet | ||
| [2011/10/25 20:40:13] @ soosfarm joined channel #puppet | ||
| [2011/10/25 20:40:32] @ Quit: lohapuk: Ping timeout: 252 seconds | ||
| [2011/10/25 20:40:32] @ Quit: mogwai: Ping timeout: 252 seconds | ||
| [2011/10/25 20:40:33] @ Quit: Maliuta: Ping timeout: 252 seconds | ||
| [2011/10/25 20:40:37] @ lohapuk joined channel #puppet | ||
| [2011/10/25 20:40:48] @ mogwai joined channel #puppet | ||
| [2011/10/25 20:40:50] @ Maliuta joined channel #puppet | ||
| [2011/10/25 20:41:10] <dwalu> rodjek: that fixed it, thanks. I know ruby has at least 3 types of execs, sys, system & exec, but I'm not sure what ` is (except that it seems similar to bash's `` or $()). what was the difference? | ||
| [2011/10/25 20:42:13] <rodjek> Kernel.exec replaces the running process where `` runs the command in a subshell and returns the output | ||
| [2011/10/25 20:42:34] <rodjek> http://www.ruby-doc.org/core-1.8.7/Kernel.html | ||
| [2011/10/25 20:44:19] <chequers> the_ramink: well it's an existing repo that I inherited | ||
| [2011/10/25 20:44:45] @ claussen joined channel #puppet | ||
| [2011/10/25 20:44:54] <chequers> it's not really specific advice I'm after, just a general idea of How It's Done | ||
| [2011/10/25 20:45:39] <chequers> eg I know people put up their modules online to share. All the modules I've written so far have company specific configuration in them, but I don't know where else it's meant ot go | ||
| [2011/10/25 20:46:10] @ Quit: dwalu: Quit: dwalu | ||
| [2011/10/25 20:46:40] @ Quit: claussen: Client Quit | ||
| [2011/10/25 20:46:46] <the_ramink> chequers: gotcha, best thing to do is pick up the recent Pro Puppet book and use the method they recommend. You shouldn't need to use import * anymore which is an 0.24-ism. Generally they're going to look somthing like this, https://github.com/rkhatibi/rdk-puppet-modules/tree/master/syslog | ||
| [2011/10/25 20:47:11] @ Corren is now known as kenperkins | ||
| [2011/10/25 20:47:36] @ claussen joined channel #puppet | ||
| [2011/10/25 20:53:26] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/10/25 20:54:29] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 20:55:25] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 20:55:52] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/10/25 20:56:00] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/10/25 20:57:54] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 20:59:55] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 21:05:45] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 21:07:23] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 21:07:41] @ Quit: the_ramink: Ping timeout: 252 seconds | ||
| [2011/10/25 21:11:28] @ Djelibeybi joined channel #puppet | ||
| [2011/10/25 21:21:07] @ macmichael01 joined channel #puppet | ||
| [2011/10/25 21:21:16] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/10/25 21:26:13] @ Quit: Xeross: Ping timeout: 240 seconds | ||
| [2011/10/25 21:27:36] @ ghg27 joined channel #puppet | ||
| [2011/10/25 21:28:18] @ Quit: ghg: Ping timeout: 258 seconds | ||
| [2011/10/25 21:28:18] @ ghg27 is now known as ghg | ||
| [2011/10/25 21:30:31] @ Xeross joined channel #puppet | ||
| [2011/10/25 21:30:37] @ Quit: ghg: Client Quit | ||
| [2011/10/25 21:31:24] @ Quit: mogwai: *.net *.split | ||
| [2011/10/25 21:31:26] @ Quit: nated: *.net *.split | ||
| [2011/10/25 21:31:27] @ Quit: axisys: *.net *.split | ||
| [2011/10/25 21:31:28] @ Quit: SFox: *.net *.split | ||
| [2011/10/25 21:31:29] @ Quit: krash3r_: *.net *.split | ||
| [2011/10/25 21:31:36] @ newtMcKerr joined channel #puppet | ||
| [2011/10/25 21:32:38] @ Quit: newtMcKerr: Client Quit | ||
| [2011/10/25 21:36:24] @ Quit: walterheck: Quit: Computer has gone to sleep | ||
| [2011/10/25 21:36:30] @ Quit: fredden: Quit: Leaving | ||
| [2011/10/25 21:37:27] @ mogwai joined channel #puppet | ||
| [2011/10/25 21:37:27] @ nated joined channel #puppet | ||
| [2011/10/25 21:37:27] @ axisys joined channel #puppet | ||
| [2011/10/25 21:37:27] @ SFox joined channel #puppet | ||
| [2011/10/25 21:37:27] @ krash3r_ joined channel #puppet | ||
| [2011/10/25 21:38:02] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/10/25 21:38:06] @ KaiserBeto1 joined channel #puppet | ||
| [2011/10/25 21:39:05] @ sumsuch joined channel #puppet | ||
| [2011/10/25 21:39:34] @ Kazuhiro joined channel #puppet | ||
| [2011/10/25 21:40:06] @ jwhitlock_zzz is now known as jwhitlock | ||
| [2011/10/25 21:40:53] @ jwhitlock is now known as jwhitlock_zzz | ||
| [2011/10/25 21:44:37] @ xim1 joined channel #puppet | ||
| [2011/10/25 21:50:13] @ Quit: Xeross: Ping timeout: 240 seconds | ||
| [2011/10/25 21:54:39] @ bgupta joined channel #puppet | ||
| [2011/10/25 21:55:37] <xim1> http://pastebin.com/JFQEY4TN | ||
| [2011/10/25 21:56:12] @ Xeross joined channel #puppet | ||
| [2011/10/25 21:56:20] <xim1> Can someone take a look at that? Seems to run fine on the client when i run the code via ruby. pluginsync is set to true and puppetd -t invocation shows the code running but can't find the poolmaster fact afterwards | ||
| [2011/10/25 21:57:10] <rodjek> if you run facter -p, do you see it in the output? | ||
| [2011/10/25 21:58:41] <xim1> let me check | ||
| [2011/10/25 21:58:58] <xim1> I do | ||
| [2011/10/25 21:59:14] <xim1> what's -p for? | ||
| [2011/10/25 22:00:27] @ EL84 joined channel #puppet | ||
| [2011/10/25 22:02:14] <xim1> nevermind..got it. thanks a lot rodjek | ||
| [2011/10/25 22:08:53] @ Quit: jaminja: Read error: Operation timed out | ||
| [2011/10/25 22:09:00] <chequers> hm. How do I deploy the same user in two palces but use a different password for each? | ||
| [2011/10/25 22:10:47] <xim1> chequers: i am still learning myself but I think templates will do the job for you. | ||
| [2011/10/25 22:12:59] <chequers> I thought templates were just for files, rather than base types (or whatever you call built in resource types) | ||
| [2011/10/25 22:14:00] <chequers> hm, maybe I'm meant to define `user::foo` and then define `user::au::foo inherits user::foo` and `user::uk::foo inherits user::foo` | ||
| [2011/10/25 22:16:05] @ Spads_ joined channel #puppet | ||
| [2011/10/25 22:17:41] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/10/25 22:18:47] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/10/25 22:28:09] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/10/25 22:29:06] @ Quit: gniks: Quit: Leaving. | ||
| [2011/10/25 22:29:38] @ Quit: nimrod10: Ping timeout: 258 seconds | ||
| [2011/10/25 22:31:04] @ jaminja joined channel #puppet | ||
| [2011/10/25 22:32:49] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/10/25 22:35:42] @ Quit: JodieC: Ping timeout: 260 seconds | ||
| [2011/10/25 22:36:24] @ Quit: _UsUrPeR_: Ping timeout: 240 seconds | ||
| [2011/10/25 22:37:11] @ jaydg joined channel #puppet | ||
| [2011/10/25 22:37:38] @ _UsUrPeR_ joined channel #puppet | ||
| [2011/10/25 22:38:01] @ Quit: claussen: Quit: claussen | ||
| [2011/10/25 22:40:55] @ benjiedmund joined channel #puppet | ||
| [2011/10/25 22:41:27] @ riha joined channel #puppet | ||
| [2011/10/25 22:42:22] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/10/25 22:46:01] @ Quit: Xeross: Ping timeout: 244 seconds | ||
| [2011/10/25 22:46:31] @ claussen joined channel #puppet | ||
| [2011/10/25 22:47:08] @ jsurfer_ joined channel #puppet | ||
| [2011/10/25 22:47:34] @ Quit: jaytaph: Ping timeout: 244 seconds | ||
| [2011/10/25 22:47:43] @ Xeross joined channel #puppet | ||
| [2011/10/25 22:48:59] @ Quit: jaydg: Ping timeout: 258 seconds | ||
| [2011/10/25 22:49:36] @ Quit: _UsUrPeR_: Ping timeout: 240 seconds | ||
| [2011/10/25 22:49:59] @ Meier joined channel #puppet | ||
| [2011/10/25 22:49:59] @ Quit: jsurfer: Ping timeout: 252 seconds | ||
| [2011/10/25 22:49:59] @ jsurfer_ is now known as jsurfer | ||
| [2011/10/25 22:54:55] @ cosman2001_ joined channel #puppet | ||
| [2011/10/25 22:55:08] @ jaydg joined channel #puppet | ||
| [2011/10/25 22:55:13] @ Quit: metcalfc: Quit: Leaving | ||
| [2011/10/25 22:56:21] @ Quit: cosman2001: Ping timeout: 244 seconds | ||
| [2011/10/25 22:56:21] @ cosman2001_ is now known as cosman2001 | ||
| [2011/10/25 23:01:22] @ Vasik|work joined channel #puppet | ||
| [2011/10/25 23:06:22] @ Quit: claussen: Quit: claussen | ||
| [2011/10/25 23:06:50] @ choonming joined channel #puppet | ||
| [2011/10/25 23:08:32] @ Quit: jrickman: Ping timeout: 256 seconds | ||
| [2011/10/25 23:08:53] @ shug joined channel #puppet | ||
| [2011/10/25 23:10:16] @ jrickman joined channel #puppet | ||
| [2011/10/25 23:12:51] @ artkrz joined channel #puppet | ||
| [2011/10/25 23:16:16] @ mrwacky42 joined channel #puppet | ||
| [2011/10/25 23:21:15] @ Guest29100 joined channel #puppet | ||
| [2011/10/25 23:22:36] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/10/25 23:22:53] @ thot_ joined channel #puppet | ||
| [2011/10/25 23:22:59] @ Quit: Guest29100: Quit: Leaving | ||
| [2011/10/25 23:25:02] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/10/25 23:28:10] @ Quit: Kazuhiro: Quit: Leaving. | ||
| [2011/10/25 23:29:22] @ Quit: choonming: Read error: Connection timed out | ||
| [2011/10/25 23:30:17] @ ckauhaus joined channel #puppet | ||
| [2011/10/25 23:31:37] @ DJClean joined channel #puppet | ||
| [2011/10/25 23:35:18] @ EspadaV8 joined channel #puppet | ||
| [2011/10/25 23:36:36] @ pisco joined channel #puppet | ||
| [2011/10/25 23:37:03] @ Quit: EL84: Ping timeout: 245 seconds | ||
| [2011/10/25 23:38:17] @ StreetFighter joined channel #puppet | ||
| [2011/10/25 23:39:18] @ StreetFighter left channel #puppet () | ||
| [2011/10/25 23:40:45] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/10/25 23:42:08] @ toi joined channel #puppet | ||
| [2011/10/25 23:43:29] <chequers> where does puppet look for user::foo::bar? | ||
| [2011/10/25 23:43:31] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/10/25 23:44:11] <chequers> I have include user::foo:bar, and that class is defined in user/manifests/foo/init.pp | ||
| [2011/10/25 23:44:14] <mosen> moduledir/user/foo/bar.pp I think | ||
| [2011/10/25 23:44:21] <nevyn> modules/user/manifests/virtusers.pp | ||
| [2011/10/25 23:44:21] <mosen> oh wait hehe, yes manifests | ||
| [2011/10/25 23:44:53] @ Quit: mosen: Quit: Leaving | ||
| [2011/10/25 23:44:54] <chequers> and I define the class as `clas user::foo::bar`, right? | ||
| [2011/10/25 23:45:03] <nevyn> class but yes. | ||
| [2011/10/25 23:45:31] <chequers> I am getting an error: Error 400 on SERVER: Could not find class | ||
| [2011/10/25 23:45:55] @ brtl joined channel #puppet | ||
| [2011/10/25 23:47:55] <chequers> this is my code: http://pastebin.com/raw.php?i=wpVRkivu | ||
| [2011/10/25 23:48:02] <nevyn> are you importing the module? | ||
| [2011/10/25 23:48:29] <chequers> the module is imported. If I change the definition location so it's just in user/manifests/init.pp and `include user::releasemanager`, things work | ||
| [2011/10/25 23:51:05] @ skm joined channel #puppet | ||
| [2011/10/25 23:54:15] @ bmahe joined channel #puppet | ||
| [2011/10/25 23:54:16] @ Quit: bmahe: Changing host | ||
| [2011/10/25 23:54:16] @ bmahe joined channel #puppet | ||
| [2011/10/25 23:55:31] <fragfutter> chequers: wrong file location so auto loader won't find it. | ||
| [2011/10/25 23:56:14] <fragfutter> you should define user::foo::bar inside of modules/user/manifests/init.pp or modules/user/manifests/foo.pp | ||
| [2011/10/25 23:57:06] @ mitchellh joined channel #puppet | ||
| [2011/10/25 23:57:12] @ csanchez joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!