| [2011/11/10 00:00:00] @ Log started by gepetto | ||
| [2011/11/10 00:00:00] <gniks> d3c: if the software stops running, the zones will remain on the file system | ||
| [2011/11/10 00:00:12] <d3c> gniks: I mean a complete failure. the whole master box dies | ||
| [2011/11/10 00:00:15] <gniks> if the server itself dies, and you must rebuild, you should pull a copy of the zone files from the slave and put on the master | ||
| [2011/11/10 00:00:44] <gniks> you can also set the other server to be master (as you shoud in a complete failure situation so that you can update the zones and not interrupt service) | ||
| [2011/11/10 00:01:01] <gniks> and the rebuilt one will rebuild with blank zones, but slave off of the new master, and update the zones immediately before being put into service | ||
| [2011/11/10 00:01:07] @ bobra joined channel #puppet | ||
| [2011/11/10 00:01:13] <gniks> DNS slave replication is pretty great stuff if configured right | ||
| [2011/11/10 00:01:55] <d3c> gniks: yeah ok. actually, my zone files are stored in a git repo which is checked out on the DDNS master (used to configure it initially). asteve mentioned I could just push changes in a hook somehow | ||
| [2011/11/10 00:02:03] <d3c> gniks: I guess that would be ok | ||
| [2011/11/10 00:02:17] @ frostynova joined channel #puppet | ||
| [2011/11/10 00:02:29] <gniks> i just fear that puppet and the DDNS server will fight for control of each other | ||
| [2011/11/10 00:02:43] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/10 00:02:58] <gniks> so i just leave DNS to its own management, and keep a copy of the static zones in puppet | ||
| [2011/11/10 00:03:04] @ zorg1 joined channel #puppet | ||
| [2011/11/10 00:03:07] <gniks> and those zones get updated via puppet | ||
| [2011/11/10 00:03:31] <gniks> now i have awesome ideas on redoing my dns module :p | ||
| [2011/11/10 00:03:50] <d3c> gniks: heh, yeah. ddns is awesome. got a lot of ideas as well. thanks | ||
| [2011/11/10 00:04:00] <gniks> what are you using for DNS? | ||
| [2011/11/10 00:04:02] <gniks> i use bind | ||
| [2011/11/10 00:04:13] @ Quit: taihen: Ping timeout: 240 seconds | ||
| [2011/11/10 00:04:59] <d3c> gniks: bind too. works like a charm. using it on ec2 to 'emulate' static private IPs which is not available on ec2 | ||
| [2011/11/10 00:05:01] @ Quit: hansi: Remote host closed the connection | ||
| [2011/11/10 00:05:11] <d3c> gniks: so I'm using hostnames instead | ||
| [2011/11/10 00:05:14] @ brtl joined channel #puppet | ||
| [2011/11/10 00:05:14] <gniks> awesome, so yeah, bind writes the DDNS updates to FS as they come in | ||
| [2011/11/10 00:05:24] <gniks> yeah, ec2 is a bear | ||
| [2011/11/10 00:05:31] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/11/10 00:05:49] <gniks> well good luck, i must sleep, im only getting 4 hours now before work, hehe | ||
| [2011/11/10 00:05:52] @ Andorka joined channel #puppet | ||
| [2011/11/10 00:06:03] <gniks> if you remember, let me know how it works out | ||
| [2011/11/10 00:06:12] <d3c> gniks: sure, will let you know. bye | ||
| [2011/11/10 00:06:22] <gniks> bye bye | ||
| [2011/11/10 00:06:31] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/10 00:06:53] @ ToKy joined channel #puppet | ||
| [2011/11/10 00:07:47] @ raphdg joined channel #puppet | ||
| [2011/11/10 00:08:57] @ kwazar- joined channel #puppet | ||
| [2011/11/10 00:10:50] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/10 00:11:02] @ Phungis joined channel #puppet | ||
| [2011/11/10 00:11:15] @ Quit: kwazar-: Read error: Connection reset by peer | ||
| [2011/11/10 00:11:54] @ kwazar- joined channel #puppet | ||
| [2011/11/10 00:13:04] @ Quit: ToKy: Ping timeout: 248 seconds | ||
| [2011/11/10 00:13:36] @ Quit: tmz: Ping timeout: 248 seconds | ||
| [2011/11/10 00:13:37] @ Quit: cmoates: Ping timeout: 248 seconds | ||
| [2011/11/10 00:14:40] @ ToKy joined channel #puppet | ||
| [2011/11/10 00:16:23] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 00:16:30] @ Quit: bobra: Ping timeout: 240 seconds | ||
| [2011/11/10 00:16:46] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/10 00:18:10] @ Quit: zorg1: Quit: Leaving | ||
| [2011/11/10 00:19:24] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/10 00:22:24] @ Razique joined channel #puppet | ||
| [2011/11/10 00:25:25] @ verwilst joined channel #puppet | ||
| [2011/11/10 00:26:27] @ Quit: toobulkeh: | ||
| [2011/11/10 00:26:43] @ Quit: lovemj: Ping timeout: 260 seconds | ||
| [2011/11/10 00:27:34] @ lkoranda joined channel #puppet | ||
| [2011/11/10 00:27:42] @ CAMIR joined channel #puppet | ||
| [2011/11/10 00:28:56] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/10 00:31:01] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/10 00:31:15] @ Phungis joined channel #puppet | ||
| [2011/11/10 00:31:42] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/10 00:31:45] @ bobra joined channel #puppet | ||
| [2011/11/10 00:33:11] @ trevs joined channel #puppet | ||
| [2011/11/10 00:34:34] @ cmoates joined channel #puppet | ||
| [2011/11/10 00:34:42] @ ezryx joined channel #puppet | ||
| [2011/11/10 00:35:35] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/10 00:36:48] @ jodok_ joined channel #puppet | ||
| [2011/11/10 00:36:50] @ Quit: jodok_: Changing host | ||
| [2011/11/10 00:36:50] @ jodok_ joined channel #puppet | ||
| [2011/11/10 00:36:57] @ Quit: jodok: Read error: Connection reset by peer | ||
| [2011/11/10 00:36:57] @ jodok_ is now known as jodok | ||
| [2011/11/10 00:37:17] @ KaZeR_W joined channel #puppet | ||
| [2011/11/10 00:37:55] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/11/10 00:38:10] @ jonhattan joined channel #puppet | ||
| [2011/11/10 00:40:07] @ Quit: z30: Ping timeout: 256 seconds | ||
| [2011/11/10 00:40:48] @ Quit: ToKy: Ping timeout: 245 seconds | ||
| [2011/11/10 00:45:30] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/10 00:50:54] @ ToKy joined channel #puppet | ||
| [2011/11/10 00:51:42] @ trickyf joined channel #puppet | ||
| [2011/11/10 00:52:06] @ Quit: trespan: Ping timeout: 240 seconds | ||
| [2011/11/10 00:53:42] @ Quit: The-Bat: Ping timeout: 240 seconds | ||
| [2011/11/10 00:54:23] @ Quit: danikov: Quit: danikov | ||
| [2011/11/10 00:55:05] <rutger> does anyone know what is the cause of the following error? "change from unmounted to mounted failed: Got a nil value for should", this is from a mount resource. | ||
| [2011/11/10 00:57:00] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 00:57:15] @ pmorillon joined channel #puppet | ||
| [2011/11/10 00:58:58] @ Stenbryggen joined channel #puppet | ||
| [2011/11/10 00:59:41] @ poison joined channel #puppet | ||
| [2011/11/10 00:59:59] @ Quit: eal``: Read error: Connection reset by peer | ||
| [2011/11/10 01:00:02] @ eal``` joined channel #puppet | ||
| [2011/11/10 01:01:11] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/10 01:01:11] @ jsurfer joined channel #puppet | ||
| [2011/11/10 01:01:28] @ Phungis joined channel #puppet | ||
| [2011/11/10 01:05:34] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/10 01:07:21] @ duerF joined channel #puppet | ||
| [2011/11/10 01:10:32] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/10 01:14:51] @ mpdude joined channel #puppet | ||
| [2011/11/10 01:16:19] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/10 01:16:35] @ jaytaph joined channel #puppet | ||
| [2011/11/10 01:16:38] @ Quit: blahdeblah: Ping timeout: 245 seconds | ||
| [2011/11/10 01:16:44] @ Phungis joined channel #puppet | ||
| [2011/11/10 01:17:08] @ danikov joined channel #puppet | ||
| [2011/11/10 01:17:41] @ mogitaff joined channel #puppet | ||
| [2011/11/10 01:18:36] @ cek joined channel #puppet | ||
| [2011/11/10 01:19:00] @ Quit: cek: Client Quit | ||
| [2011/11/10 01:21:31] @ Quit: brunix: Remote host closed the connection | ||
| [2011/11/10 01:24:02] @ Quit: Phungis: | ||
| [2011/11/10 01:26:38] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 01:28:47] @ Holocaine joined channel #puppet | ||
| [2011/11/10 01:29:32] @ frostynova joined channel #puppet | ||
| [2011/11/10 01:31:05] @ Quit: Razique: Quit: Razique | ||
| [2011/11/10 01:33:01] @ Razique joined channel #puppet | ||
| [2011/11/10 01:38:06] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/10 01:39:18] @ Quit: MattTheRat: Ping timeout: 240 seconds | ||
| [2011/11/10 01:39:26] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/10 01:39:48] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/10 01:41:04] @ smooth_p joined channel #puppet | ||
| [2011/11/10 01:42:18] @ MattTheRat joined channel #puppet | ||
| [2011/11/10 01:42:37] @ brunix joined channel #puppet | ||
| [2011/11/10 01:42:45] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/10 01:46:47] @ AshishH joined channel #puppet | ||
| [2011/11/10 01:48:28] @ dnjaramba_ joined channel #puppet | ||
| [2011/11/10 01:48:58] @ Quit: dnjaramba: Ping timeout: 255 seconds | ||
| [2011/11/10 01:49:23] @ Quit: hal-j1: Quit: Leaving. | ||
| [2011/11/10 01:53:51] @ artkrz joined channel #puppet | ||
| [2011/11/10 02:04:45] @ DigitalNinja joined channel #puppet | ||
| [2011/11/10 02:05:42] @ Quit: TheDigitalNinja: Ping timeout: 258 seconds | ||
| [2011/11/10 02:06:32] @ orjan joined channel #puppet | ||
| [2011/11/10 02:13:00] @ MartVisser joined channel #puppet | ||
| [2011/11/10 02:13:55] @ Deesl joined channel #puppet | ||
| [2011/11/10 02:30:05] @ taihen joined channel #puppet | ||
| [2011/11/10 02:30:16] @ marrusl joined channel #puppet | ||
| [2011/11/10 02:32:30] @ Ram_ joined channel #puppet | ||
| [2011/11/10 02:32:34] @ Quit: choonming: Quit: Leaving | ||
| [2011/11/10 02:34:13] <TooExcited> Hello, gentlemen. Have you ever configured the haproxy module? I am new to augeas, so I'm trying to figure out how to modify haproxy's conf :) | ||
| [2011/11/10 02:34:35] @ adimania joined channel #puppet | ||
| [2011/11/10 02:34:49] <Ram_> Hello,i need info on puppet enterprise | ||
| [2011/11/10 02:34:57] <xover1> is it unsafe to put two wires into one terminal? | ||
| [2011/11/10 02:35:42] <xover1> I need to wire two amps and one head unit into one terminal. there will be four cables, two thick ones and two tiny ones. can the tiny ones share the same distribution port as the AWG4 wires? | ||
| [2011/11/10 02:37:01] @ Ram_ left channel #puppet () | ||
| [2011/11/10 02:39:05] <xover1> wrong channel | ||
| [2011/11/10 02:39:06] <xover1> lol | ||
| [2011/11/10 02:39:08] @ Quit: DJClean: Read error: Connection reset by peer | ||
| [2011/11/10 02:39:17] @ ckauhaus joined channel #puppet | ||
| [2011/11/10 02:42:01] @ zorg1 joined channel #puppet | ||
| [2011/11/10 02:42:08] @ Quit: zorg1: Remote host closed the connection | ||
| [2011/11/10 02:44:20] @ DJClean joined channel #puppet | ||
| [2011/11/10 02:49:37] @ Quit: Stenbryggen: Read error: Connection reset by peer | ||
| [2011/11/10 02:49:42] @ Stenbryggen joined channel #puppet | ||
| [2011/11/10 02:50:03] @ Quit: Stenbryggen: Client Quit | ||
| [2011/11/10 02:52:39] @ Quit: simNIX: Quit: Ik ga weg | ||
| [2011/11/10 02:54:27] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 02:54:55] @ skm joined channel #puppet | ||
| [2011/11/10 02:55:33] @ Quit: skm: Remote host closed the connection | ||
| [2011/11/10 02:56:29] @ Quit: DigitalNinja: Remote host closed the connection | ||
| [2011/11/10 02:58:51] @ The-Bat joined channel #puppet | ||
| [2011/11/10 02:59:18] @ trespan joined channel #puppet | ||
| [2011/11/10 03:04:31] <d3c> when the puppet agent launches for the first time, will it automatically perform a first run? or will it wait 30 mins? | ||
| [2011/11/10 03:06:10] <mig5> runs first time usually, presuming that it has a signed cert | ||
| [2011/11/10 03:08:34] @ Quit: _nono_: Ping timeout: 260 seconds | ||
| [2011/11/10 03:08:37] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 03:09:56] @ sppadic joined channel #puppet | ||
| [2011/11/10 03:10:01] <sppadic> morning all | ||
| [2011/11/10 03:10:19] <d3c> mig5: alright. problem is that I'm using puppet (apply) to setup a puppetmaster which installs both puppetmaster and puppet (client). during the run (when puppet is started), I'll suddenly receive error msgs like 'Could not request certificate: SIGTERM'. probably because puppet/puppetmaster should be started at the very last when everything is done. right? | ||
| [2011/11/10 03:12:03] <d3c> mig5: this is what happens: http://pastebin.com/7WQ2NqjA | ||
| [2011/11/10 03:14:54] @ Quit: trevs: Ping timeout: 240 seconds | ||
| [2011/11/10 03:15:29] <d3c> mig5: so basically, how do I avoid puppet starting another puppet process while doing a puppet apply? | ||
| [2011/11/10 03:16:53] @ MrBIOS-seamicro left channel #puppet () | ||
| [2011/11/10 03:17:14] <sppadic> hello all - getting this error now when trying to start up puppetmaster v0.25.4 on ubuntu 10.04 | ||
| [2011/11/10 03:17:19] <sppadic> Failed to load feature test for rack: no such file to load -- rubygems | ||
| [2011/11/10 03:17:42] <sppadic> i dont believe I changed anything in the puppet.conf | ||
| [2011/11/10 03:27:01] <smooth_p> hey in ruby how do I get Facter.value('custom_fact') | ||
| [2011/11/10 03:27:04] <smooth_p> to get listed | ||
| [2011/11/10 03:27:14] <smooth_p> I dont see my custom facts in Facter.list | ||
| [2011/11/10 03:32:33] @ _nono_ joined channel #puppet | ||
| [2011/11/10 03:34:37] <Radex> hi, have problem to change 'checksum' to 'mtime' - looks like always 'md5' is running. Someone know that problem? | ||
| [2011/11/10 03:35:41] <Radex> btw md5 it's really slow when i'm trying to deploy some webapp on the node server.. | ||
| [2011/11/10 03:36:51] @ Stenbryggen joined channel #puppet | ||
| [2011/11/10 03:37:11] @ themadcanudist joined channel #puppet | ||
| [2011/11/10 03:43:17] @ pmorillon joined channel #puppet | ||
| [2011/11/10 03:43:18] @ Quit: The-Bat: Read error: Connection reset by peer | ||
| [2011/11/10 03:43:30] @ The-Bat joined channel #puppet | ||
| [2011/11/10 03:45:38] @ iw_work joined channel #puppet | ||
| [2011/11/10 03:45:54] @ Quit: _nono_: Ping timeout: 260 seconds | ||
| [2011/11/10 03:47:18] @ _nono_ joined channel #puppet | ||
| [2011/11/10 03:48:52] @ jongrocho joined channel #puppet | ||
| [2011/11/10 03:49:24] <d3c> Radex: maybe it's this issue? http://projects.puppetlabs.com/issues/264 | ||
| [2011/11/10 03:50:45] <d3c> Radex: (though it should be fixed, it seems) | ||
| [2011/11/10 03:52:23] <Radex> d3c: yes it's bug from 5 years :S, for me it's working still over md5 - and it's harible sloww.. | ||
| [2011/11/10 03:53:24] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 03:53:35] @ The-Bat joined channel #puppet | ||
| [2011/11/10 03:53:46] <Radex> d3c: using the simplest case http://pastebin.com/xez3neUX | ||
| [2011/11/10 03:54:47] <Radex> and for earch file i'm getting ensure: defined content as '{md5}f77a5d134356e77e039ee8dce381073a', puppet copy 5MB in 30mins :/ | ||
| [2011/11/10 03:56:00] @ densebits joined channel #puppet | ||
| [2011/11/10 03:56:01] @ Quit: densebits: Changing host | ||
| [2011/11/10 03:56:01] @ densebits joined channel #puppet | ||
| [2011/11/10 03:56:21] <tremble> Is anyone else running puppet on RHEL5 with the latest kernels? | ||
| [2011/11/10 03:56:32] <fragfutter> me | ||
| [2011/11/10 03:56:55] <tremble> fragfutter: How do you run the clients, cron or daemon? | ||
| [2011/11/10 03:57:06] <fragfutter> manual ;) | ||
| [2011/11/10 03:57:47] @ Quit: _nono_: Ping timeout: 260 seconds | ||
| [2011/11/10 03:58:32] <tremble> fragfutter: Does "puppet agent --listen --no-splay --verbose --no-daemonize" complete a run ? | ||
| [2011/11/10 03:59:25] <fragfutter> tremble: no | ||
| [2011/11/10 03:59:42] <tremble> Hangs trying to collect facts? | ||
| [2011/11/10 03:59:48] <fragfutter> tremble: no. | ||
| [2011/11/10 04:00:24] <tremble> Oh hang on it needs to be on a host with bonded nics too. | ||
| [2011/11/10 04:00:33] @ frostynova joined channel #puppet | ||
| [2011/11/10 04:00:34] <tremble> Yeah, obscure bug | ||
| [2011/11/10 04:01:28] @ _nono_ joined channel #puppet | ||
| [2011/11/10 04:02:13] <fragfutter> tremble: ok, run will complete, i just got confused by the kill (missing --ontime) | ||
| [2011/11/10 04:03:11] <tremble> Ah yeah, It specifically needs to be missing the --onetime flag, and on a host with bonded nics. | ||
| [2011/11/10 04:03:40] <tremble> Ergh, of course if this is a kernel bug, they you may need to have the same nics... | ||
| [2011/11/10 04:04:17] <fragfutter> BCM5709 | ||
| [2011/11/10 04:05:19] @ jaymurtii joined channel #puppet | ||
| [2011/11/10 04:05:44] <tremble> BCM5708S | ||
| [2011/11/10 04:05:50] <tremble> close enough... | ||
| [2011/11/10 04:06:18] @ Quit: Holocaine: | ||
| [2011/11/10 04:06:21] * tremble wonders what the hell is going on in his environment. I've got ~ 50 hosts all hanging. | ||
| [2011/11/10 04:06:40] <fragfutter> tremble: which kernel? | ||
| [2011/11/10 04:07:08] <tremble> 2.6.18-274.7.1.el5 #1 SMP Mon Oct 17 11:57:14 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux | ||
| [2011/11/10 04:07:08] <gepetto> tremble: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions. It has a status of Closed and is assigned to Luke Kanies" | ||
| [2011/11/10 04:07:28] <d3c> when I do puppet agent --disable and then puppet agent, it successfully starts the agent. isn't this wrong? | ||
| [2011/11/10 04:08:04] <tremble> d3c: No the agent should start, but shouldn't then run the catalogues. | ||
| [2011/11/10 04:08:21] <d3c> tremble: should it be requesting certificates? | ||
| [2011/11/10 04:08:23] <misc> tremble: does strace on the puppet process say something relevent ? or you can try to use gdb + various ruby macros ( https://github.com/michaelklishin/gdb-macros-for-ruby ), to see where it hang | ||
| [2011/11/10 04:08:39] <tremble> misc: Oh I know where it's hanging | ||
| [2011/11/10 04:08:50] <tremble> bondinfo = IO.readlines("/proc/net/bonding/#{bonddev}") | ||
| [2011/11/10 04:08:57] <d3c> tremble: I'm getting those (with the agent disabled): http://pastebin.com/wD0rwpiJ | ||
| [2011/11/10 04:10:11] <tremble> d3c: Has the master signed the cert? | ||
| [2011/11/10 04:10:22] <misc> tremble: while it may not be related, this remind me of this bug : http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/155744 | ||
| [2011/11/10 04:10:46] <misc> but the bug is really old | ||
| [2011/11/10 04:11:13] @ Quit: densebits: Quit: Leaving | ||
| [2011/11/10 04:12:48] <d3c> tremble: actually this is when I'm setting up the master (master managing itself). using puppet apply for this. before running puppet apply, I'll lock the agent and unlock it afterwards. however, those errors pop up while puppet apply is running (probably when puppet starts managing itself--starts the service). | ||
| [2011/11/10 04:13:11] <tremble> puppetca list | ||
| [2011/11/10 04:13:44] @ noecc joined channel #puppet | ||
| [2011/11/10 04:13:58] <d3c> tremble: nothing has been signed yet. this is part of a bootstrapping process. I'll just do 1) puppet agent --disable, 2) puppet apply manifests/site.pp, and 3) puppet agent --enable | ||
| [2011/11/10 04:14:17] * tremble nods | ||
| [2011/11/10 04:14:23] <d3c> tremble: but puppetca --list lists itself | ||
| [2011/11/10 04:14:45] <tremble> d3c: that's listing certs waiting to be signed. | ||
| [2011/11/10 04:14:54] <d3c> tremble: so I should sign the master itself during the puppet apply run? | ||
| [2011/11/10 04:15:32] <tremble> when you first start the master it should generate the ca, and can then sign the client certs | ||
| [2011/11/10 04:15:45] <tremble> puppet apply will bypass that | ||
| [2011/11/10 04:16:13] <d3c> tremble: but puppet apply will run a manifests that installs, configures and starts puppetmaster (and puppet) | ||
| [2011/11/10 04:16:29] <tremble> yeah... | ||
| [2011/11/10 04:16:50] <tremble> Well that depends what's in your site.pp | ||
| [2011/11/10 04:17:11] <d3c> tremble: so while "puppet apply manifests/site.pp" is going on, puppet agent will suddenly start and start complaining. | ||
| [2011/11/10 04:17:29] <tremble> You can ignore those complaints | ||
| [2011/11/10 04:17:42] @ Quit: CAMIR: Ping timeout: 240 seconds | ||
| [2011/11/10 04:18:21] <d3c> tremble: but should the master sign itself? | ||
| [2011/11/10 04:18:35] <d3c> tremble: I mean, should I issue a puppetca --sign masterfqdn | ||
| [2011/11/10 04:18:54] <tremble> d3c: I don't remember, I've not bootstrapped in a long while | ||
| [2011/11/10 04:19:53] <d3c> tremble: just found out it should. I can't run puppet agent otherwise. will build that into my manifests. thanks for your help | ||
| [2011/11/10 04:20:14] @ kedipdikitkenana joined channel #puppet | ||
| [2011/11/10 04:21:00] @ kedipdikitkenana left channel #puppet () | ||
| [2011/11/10 04:21:19] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 04:21:31] @ The-Bat joined channel #puppet | ||
| [2011/11/10 04:27:18] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 04:27:30] @ The-Bat joined channel #puppet | ||
| [2011/11/10 04:30:26] @ Guest1595 joined channel #puppet | ||
| [2011/11/10 04:31:32] @ Guest1595 left channel #puppet () | ||
| [2011/11/10 04:31:54] <d3c> tremble: btw, do you know if puppetca should be invoked via an exec resource in puppet or if there's some native way to handle it? | ||
| [2011/11/10 04:32:26] <tremble> d3c: You might want to allow the master to autosign 12.0.0.1 | ||
| [2011/11/10 04:32:33] <tremble> 127.0.0.1 even | ||
| [2011/11/10 04:34:41] <d3c> tremble: oh, pretty good idea. don't know if it works in my case since I'm on ec2. puppetca --list shows the master itself as its (public) FQDN | ||
| [2011/11/10 04:34:57] @ halcyonCorsair joined channel #puppet | ||
| [2011/11/10 04:35:10] <tremble> So template the autosign list to include $FQDN | ||
| [2011/11/10 04:36:30] @ Quit: st33v: Quit: st33v | ||
| [2011/11/10 04:45:14] <d3c> tremble: bright idea. thanks a lot for your help, appreciate it | ||
| [2011/11/10 04:54:10] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 04:55:23] @ Quit: marczak: Ping timeout: 245 seconds | ||
| [2011/11/10 04:56:03] @ Quit: AshishH: Ping timeout: 276 seconds | ||
| [2011/11/10 04:56:20] @ Quit: Deesl: Quit: Bye! | ||
| [2011/11/10 04:57:20] @ Quit: pmorillon: Ping timeout: 248 seconds | ||
| [2011/11/10 04:57:23] @ Quit: bobra: Ping timeout: 256 seconds | ||
| [2011/11/10 04:58:10] @ blitzrage joined channel #puppet | ||
| [2011/11/10 05:01:27] @ pmorillon joined channel #puppet | ||
| [2011/11/10 05:05:56] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/10 05:08:05] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 05:11:37] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/10 05:15:05] @ samkottler joined channel #puppet | ||
| [2011/11/10 05:16:50] @ Quit: jameswhite: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/11/10 05:16:50] @ Quit: jamison: Read error: Connection reset by peer | ||
| [2011/11/10 05:27:19] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 05:27:35] @ The-Bat joined channel #puppet | ||
| [2011/11/10 05:27:45] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/10 05:29:19] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 05:29:35] @ The-Bat joined channel #puppet | ||
| [2011/11/10 05:29:52] @ Quit: blentz: Ping timeout: 248 seconds | ||
| [2011/11/10 05:31:16] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/10 05:31:19] @ Stenbryggen1 joined channel #puppet | ||
| [2011/11/10 05:34:11] @ pmorillon joined channel #puppet | ||
| [2011/11/10 05:34:31] @ trevs joined channel #puppet | ||
| [2011/11/10 05:35:19] @ pmorillon_ joined channel #puppet | ||
| [2011/11/10 05:35:46] @ tmz joined channel #puppet | ||
| [2011/11/10 05:35:47] @ Quit: tmz: Changing host | ||
| [2011/11/10 05:35:47] @ tmz joined channel #puppet | ||
| [2011/11/10 05:36:12] @ Quit: MartVisser: Quit: Leaving | ||
| [2011/11/10 05:36:26] @ MartVisser joined channel #puppet | ||
| [2011/11/10 05:38:33] @ st33v joined channel #puppet | ||
| [2011/11/10 05:38:46] @ Quit: pmorillon: Ping timeout: 260 seconds | ||
| [2011/11/10 05:39:49] @ Quit: pmorillon_: Ping timeout: 260 seconds | ||
| [2011/11/10 05:40:10] @ uphillian joined channel #puppet | ||
| [2011/11/10 05:40:55] @ Quit: paravoid: Remote host closed the connection | ||
| [2011/11/10 05:41:31] <Raboo> hmm | ||
| [2011/11/10 05:43:22] <Raboo> can someone else try this so i'm not crazy. using puppet source: "ruby install.rb --destdir=/tmp/puppet --mandir=/tmp/puppet/share/man --quick --no-rdoc" | ||
| [2011/11/10 05:43:40] <Raboo> does the man files end up in /tmp/puppet/share/man? | ||
| [2011/11/10 05:45:20] @ Quit: nevyn: Ping timeout: 248 seconds | ||
| [2011/11/10 05:46:31] @ johnbatch joined channel #puppet | ||
| [2011/11/10 05:47:00] @ nevyn joined channel #puppet | ||
| [2011/11/10 05:50:44] <Raboo> man dir uses relative path | ||
| [2011/11/10 05:50:54] @ Quit: zul: Ping timeout: 260 seconds | ||
| [2011/11/10 05:51:13] <Raboo> ls | ||
| [2011/11/10 05:53:03] @ matchaw__ joined channel #puppet | ||
| [2011/11/10 05:53:22] @ zul joined channel #puppet | ||
| [2011/11/10 05:53:23] @ Quit: matchaw_: Ping timeout: 240 seconds | ||
| [2011/11/10 05:53:26] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 05:53:32] @ johnbatch joined channel #puppet | ||
| [2011/11/10 05:54:40] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/10 05:57:05] @ ldlework joined channel #puppet | ||
| [2011/11/10 05:59:45] @ Quit: adimania: Ping timeout: 252 seconds | ||
| [2011/11/10 06:00:16] @ spiette joined channel #puppet | ||
| [2011/11/10 06:00:41] @ stevie-bash joined channel #puppet | ||
| [2011/11/10 06:00:43] @ pmorillon joined channel #puppet | ||
| [2011/11/10 06:05:02] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/10 06:05:36] @ Quit: ldlework: Ping timeout: 248 seconds | ||
| [2011/11/10 06:09:25] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/10 06:09:26] @ blentz joined channel #puppet | ||
| [2011/11/10 06:13:56] @ cliff-hm joined channel #puppet | ||
| [2011/11/10 06:15:13] @ brandon_dacrib joined channel #puppet | ||
| [2011/11/10 06:15:19] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 06:15:30] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:16:52] @ Quit: Chosi: Ping timeout: 258 seconds | ||
| [2011/11/10 06:17:19] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 06:17:31] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:17:42] @ Quit: zul: Ping timeout: 240 seconds | ||
| [2011/11/10 06:18:45] @ samkottler joined channel #puppet | ||
| [2011/11/10 06:19:18] @ zul joined channel #puppet | ||
| [2011/11/10 06:19:42] @ Quit: zul: Read error: Connection reset by peer | ||
| [2011/11/10 06:20:10] @ chuck__ joined channel #puppet | ||
| [2011/11/10 06:20:26] @ ldlework joined channel #puppet | ||
| [2011/11/10 06:20:28] @ chuck__ is now known as zul | ||
| [2011/11/10 06:23:06] @ Quit: localhost: Remote host closed the connection | ||
| [2011/11/10 06:24:36] @ Chosi joined channel #puppet | ||
| [2011/11/10 06:24:55] @ localhost joined channel #puppet | ||
| [2011/11/10 06:25:31] @ weloki left channel #puppet () | ||
| [2011/11/10 06:25:33] @ Quit: Chosi: Changing host | ||
| [2011/11/10 06:25:33] @ Chosi joined channel #puppet | ||
| [2011/11/10 06:28:00] <Andorka> Could not find template 'nginx/nginx.erb' at /etc/puppet/modules/nginx/manifests/init.pp:36 on node sfarm11.megoplan.ru | ||
| [2011/11/10 06:28:18] <Andorka> file { 'nginx.conf': content => template("nginx/${name}.erb"), } | ||
| [2011/11/10 06:28:30] <Andorka> why nginx.erb not nginx.conf.erb? | ||
| [2011/11/10 06:29:04] <walkeran> Andorka: What's the name of the resource/definition that that file resource is inside? | ||
| [2011/11/10 06:29:06] @ Quit: mfladischer: Read error: Connection reset by peer | ||
| [2011/11/10 06:29:18] <Andorka> walkeran: file { 'nginx.conf'... as i say | ||
| [2011/11/10 06:29:20] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 06:29:26] <walkeran> Andorka: That's not what I asked | ||
| [2011/11/10 06:29:32] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:29:47] <walkeran> What is that file resource inside of? | ||
| [2011/11/10 06:29:50] <Andorka> i don't undestand :\ | ||
| [2011/11/10 06:30:05] @ lborda joined channel #puppet | ||
| [2011/11/10 06:30:35] <walkeran> Go up one level from the file resource... what's the name of that class and/or definition... presumably it's called "nginx".. that is what $name is referring to | ||
| [2011/11/10 06:30:43] <Andorka> oh | ||
| [2011/11/10 06:30:46] @ marczak joined channel #puppet | ||
| [2011/11/10 06:30:52] @ erthad joined channel #puppet | ||
| [2011/11/10 06:30:56] @ mcarpent joined channel #puppet | ||
| [2011/11/10 06:31:04] @ Quit: erthad: Changing host | ||
| [2011/11/10 06:31:04] @ erthad joined channel #puppet | ||
| [2011/11/10 06:31:13] <Andorka> i think its name of file | ||
| [2011/11/10 06:31:14] <Andorka> no? | ||
| [2011/11/10 06:31:44] <Andorka> class name is 'nginx', sure | ||
| [2011/11/10 06:31:51] <walkeran> Yeah, and that's what $name is referring to | ||
| [2011/11/10 06:32:03] <Andorka> i understand my mistake | ||
| [2011/11/10 06:32:24] <Andorka> what variable i must use? | ||
| [2011/11/10 06:32:48] <walkeran> Andorka: I guess I wouldn't use a variable at all... it's always going to be nginx.conf, right? | ||
| [2011/11/10 06:33:06] <Andorka> in this place - yes | ||
| [2011/11/10 06:33:36] <walkeran> Yeah, I'd just use file { 'nginx.conf': content => template("nginx/nginx.conf.erb"), }, then | ||
| [2011/11/10 06:33:54] <Andorka> template("${name}/nginx.conf.erb") | ||
| [2011/11/10 06:34:09] <walkeran> Oh, yeah, that could be what you are looking for | ||
| [2011/11/10 06:34:33] <walkeran> If you are using this definition for multiple purposes, that would work | ||
| [2011/11/10 06:36:13] <walkeran> Andorka: But, if the class name is nginx, I find it hard to believe that you'd be using it for anything other than nginx, so it doesn't make sense to me to use a variable there... but you might have something else going on that I'm not aware of | ||
| [2011/11/10 06:36:48] @ Quit: kolla: Remote host closed the connection | ||
| [2011/11/10 06:37:08] <Andorka> wait 1 minute | ||
| [2011/11/10 06:37:39] <Andorka> walkeran: http://dpaste.com/650653/ look right? | ||
| [2011/11/10 06:37:46] @ themadcanudist joined channel #puppet | ||
| [2011/11/10 06:38:26] <Andorka> *looks | ||
| [2011/11/10 06:38:30] <Andorka> sorry my english | ||
| [2011/11/10 06:38:54] <walkeran> Andorka: Yeah, that looks good to me! | ||
| [2011/11/10 06:39:56] <walkeran> Andorka: Not a big thing, but you don't need line 11, as Puppet will automatically create that requirement. Doesn't hurt though | ||
| [2011/11/10 06:40:14] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/10 06:40:14] <Andorka> oh, yes, sure | ||
| [2011/11/10 06:40:26] <Andorka> thank you | ||
| [2011/11/10 06:40:29] @ kermit joined channel #puppet | ||
| [2011/11/10 06:40:32] @ Quit: kermit: Changing host | ||
| [2011/11/10 06:40:32] @ kermit joined channel #puppet | ||
| [2011/11/10 06:40:40] <walkeran> Yeah, you're welcome :) | ||
| [2011/11/10 06:41:13] <Andorka> i have many resources | ||
| [2011/11/10 06:41:18] <Andorka> like file { 'fastcgi_params': | ||
| [2011/11/10 06:41:19] <Andorka> path => "${prefix}/fastcgi_params", | ||
| [2011/11/10 06:41:19] <Andorka> source => "puppet:///modules/${name}/fastcgi_params", | ||
| [2011/11/10 06:41:19] <Andorka> | ||
| [2011/11/10 06:41:20] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 06:41:30] @ kaptk2 joined channel #puppet | ||
| [2011/11/10 06:41:31] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:41:42] <Andorka> i must each file name write 3 times | ||
| [2011/11/10 06:41:47] @ jiveturkey joined channel #puppet | ||
| [2011/11/10 06:42:25] @ abetterlie joined channel #puppet | ||
| [2011/11/10 06:42:52] <walkeran> You can put the full path of the file in the resource name, and skip the "path" parameter: file { "${prefix}/fastcgi_params": source => "puppet:///modules/${name}/fastcgi_params", } | ||
| [2011/11/10 06:42:55] <Andorka> maybe exist better way? | ||
| [2011/11/10 06:42:57] <walkeran> That would get rid of one of them | ||
| [2011/11/10 06:43:14] <Andorka> then dependences looks bigger | ||
| [2011/11/10 06:43:16] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/10 06:43:37] <Andorka> current: File['nginx.conf'] -> Package['nginx'] -> Service['nginx'] | ||
| [2011/11/10 06:43:47] <Andorka> oh, wai~ | ||
| [2011/11/10 06:43:59] <Andorka> sorry me stupid :D | ||
| [2011/11/10 06:44:03] <walkeran> :) That's alright | ||
| [2011/11/10 06:44:33] @ axisys joined channel #puppet | ||
| [2011/11/10 06:45:15] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/11/10 06:45:25] @ Quit: FARE-SEARCH_COM: Ping timeout: 240 seconds | ||
| [2011/11/10 06:45:54] @ choonming joined channel #puppet | ||
| [2011/11/10 06:47:20] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 06:47:31] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:48:51] <Andorka> walkeran: http://dpaste.com/650663/ Must pass config to Nginx::Nginx::Confd_config[instance.conf] at /etc/puppet/modules/nginx/manifests/init.pp:75 | ||
| [2011/11/10 06:49:11] <Andorka> 75 line is a first line in paste | ||
| [2011/11/10 06:50:12] <Andorka> hm.. | ||
| [2011/11/10 06:50:14] <walkeran> Oh.. I didn't even see that that would be a problem :D You need to remove $config as a parameter, and use $name throughout your nginx::confd_config definition, if you are going to be calling it like you do | ||
| [2011/11/10 06:50:30] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/10 06:50:37] <walkeran> Since you are passing instance.conf, off.conf, etc, as the name of the resource, not as the config parameter | ||
| [2011/11/10 06:50:44] @ mawser joined channel #puppet | ||
| [2011/11/10 06:50:53] <Andorka> okay | ||
| [2011/11/10 06:51:18] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 06:51:30] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:51:57] <walkeran> Andorka: Here's what I'd do: http://dpaste.com/650666/ | ||
| [2011/11/10 06:52:38] @ FARE-SEARCH_COM joined channel #puppet | ||
| [2011/11/10 06:52:45] <Andorka> yeah, i already change like this | ||
| [2011/11/10 06:52:49] <Andorka> thank you again | ||
| [2011/11/10 06:52:57] <walkeran> You're welcome :) | ||
| [2011/11/10 06:53:46] <Andorka> another part :D | ||
| [2011/11/10 06:53:51] <Andorka> $ssldir = "${prefix}/ssl" | ||
| [2011/11/10 06:54:02] <Andorka> file { 'ssl.key': | ||
| [2011/11/10 06:54:03] <Andorka> path => '${ssldir}/ssl.key', | ||
| [2011/11/10 06:54:14] <Andorka> Parameter path failed: File paths must be fully qualified, not '${ssldir}/ssl.key' at /etc/puppet/modules/nginx/manifests/init.pp:68 | ||
| [2011/11/10 06:54:23] <Andorka> oh | ||
| [2011/11/10 06:54:26] <Andorka> ''! | ||
| [2011/11/10 06:54:28] <Andorka> not "" | ||
| [2011/11/10 06:54:31] <walkeran> :D | ||
| [2011/11/10 06:55:19] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 06:55:25] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:55:47] <magicaltrout> hey guys I've borrowed the puppetcamp mysql module and augeas appears to be having a few issues with some of the config files when you run it the first time | ||
| [2011/11/10 06:55:52] <magicaltrout> but then clears up the 2nd time | ||
| [2011/11/10 06:56:10] <magicaltrout> change from need_to_run to 0 failed: Save failed with return code false | ||
| [2011/11/10 06:56:21] <magicaltrout> i see that but no real indication as to what would cause it | ||
| [2011/11/10 06:56:23] @ johnston joined channel #puppet | ||
| [2011/11/10 06:56:34] <magicaltrout> because as i say when i run it the 2nd time the error is gone | ||
| [2011/11/10 06:56:37] <walkeran> magicaltrout: Does the same problem occur if you install all of the mysql packages prior to your puppet run? | ||
| [2011/11/10 06:57:15] <magicaltrout> good question, i don't know, i'll give it a shot walkeran | ||
| [2011/11/10 06:57:17] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 06:57:25] <walkeran> magicaltrout: Just a guess, but it sounds like a dependency problem. I've not used that module before though | ||
| [2011/11/10 06:57:29] @ The-Bat joined channel #puppet | ||
| [2011/11/10 06:59:00] @ astrostl joined channel #puppet | ||
| [2011/11/10 07:02:08] @ Quit: FARE-SEARCH_COM: Ping timeout: 248 seconds | ||
| [2011/11/10 07:02:28] @ lborda joined channel #puppet | ||
| [2011/11/10 07:02:49] @ dwatsonuk joined channel #puppet | ||
| [2011/11/10 07:02:54] <marksteele> anyone use clip? http://oss.tresys.com/projects/clip | ||
| [2011/11/10 07:03:20] <marksteele> or secstate in conjunction with puppet? | ||
| [2011/11/10 07:03:31] @ FARE-SEARCH_COM joined channel #puppet | ||
| [2011/11/10 07:04:12] @ Quit: Enf: Remote host closed the connection | ||
| [2011/11/10 07:04:17] @ kangman joined channel #puppet | ||
| [2011/11/10 07:04:19] @ Quit: cliff-hm: Ping timeout: 260 seconds | ||
| [2011/11/10 07:05:38] <dwatsonuk> I'd like to be able to lock a set of users on some nodes, at the moment I'm trying by setting a variable in the node and attempting to concatonate strings in the password field (whith the first interpolated and the second not) can I do this or should I be doing this another way? | ||
| [2011/11/10 07:06:15] @ ptman joined channel #puppet | ||
| [2011/11/10 07:06:17] <bd> dwatsonuk: you could use pam and groups | ||
| [2011/11/10 07:06:22] <ptman> can custom functions return arrays? | ||
| [2011/11/10 07:06:31] <ptman> (I'm trying to, but apparently failing) | ||
| [2011/11/10 07:07:47] <dwatsonuk> bd: thanks, I guess was chasing a quick fix ;) | ||
| [2011/11/10 07:08:36] <bd> dwatsonuk: ssh's AllowGroup might be an option too | ||
| [2011/11/10 07:09:18] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 07:09:25] @ The-Bat joined channel #puppet | ||
| [2011/11/10 07:09:27] <dwatsonuk> bd: yeah, thanks - I was hoping to cover console access to some degree too so I think pam might be abetter way for me | ||
| [2011/11/10 07:10:28] @ lusis joined channel #puppet | ||
| [2011/11/10 07:11:21] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 07:11:24] <bd> dwatsonuk: yeah, pam is the way to go then. | ||
| [2011/11/10 07:11:34] @ The-Bat joined channel #puppet | ||
| [2011/11/10 07:11:42] <magicaltrout> no dice walkeran thanks for the idea anyway | ||
| [2011/11/10 07:11:59] @ xeor_ joined channel #puppet | ||
| [2011/11/10 07:12:01] <walkeran> magicaltrout: Darn :( Well... now you know what ISN'T the problem! :) | ||
| [2011/11/10 07:12:08] <magicaltrout> hehe | ||
| [2011/11/10 07:15:09] @ Quit: xeor: Ping timeout: 276 seconds | ||
| [2011/11/10 07:15:29] @ Wolfspyre joined channel #puppet | ||
| [2011/11/10 07:15:42] @ Quit: tizzo-afk: Ping timeout: 240 seconds | ||
| [2011/11/10 07:18:54] @ cliff-hm joined channel #puppet | ||
| [2011/11/10 07:19:15] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/10 07:20:02] @ soh joined channel #puppet | ||
| [2011/11/10 07:23:17] @ kermit joined channel #puppet | ||
| [2011/11/10 07:25:00] @ riha left channel #puppet () | ||
| [2011/11/10 07:25:18] @ Quit: sdog: Ping timeout: 240 seconds | ||
| [2011/11/10 07:25:28] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/10 07:28:38] @ brandon_dacrib_ joined channel #puppet | ||
| [2011/11/10 07:31:35] @ dwalu joined channel #puppet | ||
| [2011/11/10 07:31:38] @ Quit: brandon_dacrib: Ping timeout: 245 seconds | ||
| [2011/11/10 07:31:38] @ brandon_dacrib_ is now known as brandon_dacrib | ||
| [2011/11/10 07:31:53] @ key joined channel #puppet | ||
| [2011/11/10 07:33:39] @ marrusl joined channel #puppet | ||
| [2011/11/10 07:34:08] @ gniks joined channel #puppet | ||
| [2011/11/10 07:34:16] @ kolla joined channel #puppet | ||
| [2011/11/10 07:35:25] @ Quit: dballing: Ping timeout: 240 seconds | ||
| [2011/11/10 07:35:54] @ rcrowley joined channel #puppet | ||
| [2011/11/10 07:36:10] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 07:36:21] @ dballing joined channel #puppet | ||
| [2011/11/10 07:36:35] @ bosszaru joined channel #puppet | ||
| [2011/11/10 07:36:48] @ pmorillon joined channel #puppet | ||
| [2011/11/10 07:37:26] @ Quit: EL84: Quit: Leaving. | ||
| [2011/11/10 07:38:34] @ ghg joined channel #puppet | ||
| [2011/11/10 07:38:48] @ Quit: pmorillon: Client Quit | ||
| [2011/11/10 07:40:11] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 07:43:01] @ cruzfox joined channel #puppet | ||
| [2011/11/10 07:43:52] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/10 07:44:30] @ pmorillon joined channel #puppet | ||
| [2011/11/10 07:45:32] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/10 07:50:41] <walkeran> Grr. Used to get warnings about AIX stuff on puppet agent runs... now, I guess, we've traded that out for messages about the MSI package provider. Sweet :) C'mon 2.7.7! | ||
| [2011/11/10 07:50:52] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/11/10 07:50:57] @ p3rror joined channel #puppet | ||
| [2011/11/10 07:51:29] <fragfutter> *g* | ||
| [2011/11/10 07:51:40] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com | ||
| [2011/11/10 07:51:44] @ Quit: danikov: Read error: Connection reset by peer | ||
| [2011/11/10 07:52:10] @ dan__t joined channel #puppet | ||
| [2011/11/10 07:52:13] @ gucki joined channel #puppet | ||
| [2011/11/10 07:52:40] @ Quit: toi: Remote host closed the connection | ||
| [2011/11/10 07:53:09] <gucki> hi there. I just installed puppet 2.7.6 gem and followed the howto. using a very basic test manifest I always get | ||
| [2011/11/10 07:53:10] <gucki> Could not load confine test 'operatingsystem': cannot load such file -- puppet/provider/confine/operatingsystem | ||
| [2011/11/10 07:53:20] <gucki> the manifest is run, but why do i get this error? | ||
| [2011/11/10 07:53:38] @ dwalu joined channel #puppet | ||
| [2011/11/10 07:53:47] <gucki> there are also deprecations displayed | ||
| [2011/11/10 07:53:58] <gucki> /home/gucki/.rvm/gems/ruby-1.9.3-p0/gems/facter-1.6.2/lib/facter/util/config.rb:7: Use RbConfig instead of obsolete and deprecated Config. | ||
| [2011/11/10 07:54:15] <gucki> /home/gucki/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. | ||
| [2011/11/10 07:57:19] @ seanh-ansca joined channel #puppet | ||
| [2011/11/10 07:59:27] @ benkevan joined channel #puppet | ||
| [2011/11/10 07:59:33] @ Quit: socomm: Ping timeout: 245 seconds | ||
| [2011/11/10 08:01:09] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/10 08:01:41] @ socomm joined channel #puppet | ||
| [2011/11/10 08:02:10] @ Quit: duerF: Read error: Operation timed out | ||
| [2011/11/10 08:04:31] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/10 08:04:38] @ verwilst joined channel #puppet | ||
| [2011/11/10 08:05:16] <erthad> is there any use case for environment setting in puppetmaster's puppet.conf? if agent has no environment set it defaults to production (client side) and the puppetmaster's setting seems to be ignored.. | ||
| [2011/11/10 08:06:22] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/10 08:06:39] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 08:07:49] <Volcane> only place to set it sanely is on the agent puppet.conf yeah | ||
| [2011/11/10 08:10:14] @ soh joined channel #puppet | ||
| [2011/11/10 08:16:06] @ Quit: axisys: Quit: leaving | ||
| [2011/11/10 08:18:59] <justintime> Is there a function that I can use to say something like 'if a class named myclass-${fqdn} exists, include myclass-${fqdn}'? | ||
| [2011/11/10 08:19:42] @ Quit: cliff-hm: Ping timeout: 240 seconds | ||
| [2011/11/10 08:21:19] <erthad> justintime: if defined(Class["myclass-${fqdn}"]) {...} | ||
| [2011/11/10 08:21:25] <walkeran> justintime: I could be wrong, but I think you can use defined() for that, but that might be only if it's already included | ||
| [2011/11/10 08:21:57] <erthad> yes, it should be already included for that to work | ||
| [2011/11/10 08:22:43] <justintime> Yeah, that doesn't work for me. Basically, I'd rather not have to hardcode a new include for each host I have to add. | ||
| [2011/11/10 08:22:54] <justintime> I can, it's just harder to maintain. | ||
| [2011/11/10 08:23:17] @ sdog joined channel #puppet | ||
| [2011/11/10 08:23:28] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/10 08:23:55] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/11/10 08:24:46] <walkeran> justintime: Hrmm. That seems like a good candidate for something that should be rethought/refactored :) | ||
| [2011/11/10 08:24:59] <walkeran> Not saying I don't have my fair share of those, too... heh | ||
| [2011/11/10 08:25:30] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 08:25:33] @ Quit: newtMcKerr: Changing host | ||
| [2011/11/10 08:25:33] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 08:29:11] @ Quit: sppadic: Quit: Leaving | ||
| [2011/11/10 08:30:15] <benkevan> my puppet agents are not reporting to dashboard, here's the puppetmaster puppet.conf http://pastebin.com/VsVPM4Nv | ||
| [2011/11/10 08:31:12] @ dfinn joined channel #puppet | ||
| [2011/11/10 08:31:33] @ marrusl joined channel #puppet | ||
| [2011/11/10 08:32:20] @ sumsuch joined channel #puppet | ||
| [2011/11/10 08:32:58] @ cliff-hm joined channel #puppet | ||
| [2011/11/10 08:35:49] @ Quit: sdog: Quit: Leaving. | ||
| [2011/11/10 08:37:46] @ Quit: marczak: Read error: Connection reset by peer | ||
| [2011/11/10 08:37:46] @ marczak joined channel #puppet | ||
| [2011/11/10 08:37:47] @ Quit: marczak: Changing host | ||
| [2011/11/10 08:37:47] @ marczak joined channel #puppet | ||
| [2011/11/10 08:38:29] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 08:39:40] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/10 08:40:10] <benkevan> dfinn: hi | ||
| [2011/11/10 08:40:39] @ soh joined channel #puppet | ||
| [2011/11/10 08:40:41] <dfinn> good morning. you get any sleep last night? | ||
| [2011/11/10 08:40:48] <benkevan> yup.. :D haha. | ||
| [2011/11/10 08:40:56] <dfinn> :) | ||
| [2011/11/10 08:41:46] @ Razique left channel #puppet () | ||
| [2011/11/10 08:42:34] @ Quit: showy_: Remote host closed the connection | ||
| [2011/11/10 08:42:42] <benkevan> dfinn: you good with puppet-dashboard? | ||
| [2011/11/10 08:43:16] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 08:43:29] @ The-Bat joined channel #puppet | ||
| [2011/11/10 08:43:37] @ neonflux joined channel #puppet | ||
| [2011/11/10 08:43:42] <dfinn> I'm not unfortunately. recently started a new job and they use puppet, which is new to me so I'm trying to get my learning on | ||
| [2011/11/10 08:44:40] <benkevan> dfinn: ah.. i'm going to redo my environment I think.. :( .. make it 2.7.8 compat.. and take it off my current admin server (which also hosts wiki's).. so I can use port 80 instead of 3000 for reports. | ||
| [2011/11/10 08:45:02] <benkevan> ever since an upgrade to 1.2.0 for dashboard (in sept) none of my agents are reporting to dashboard correctly | ||
| [2011/11/10 08:46:07] <dfinn> looks like we are on puppet-server-0.25.4-1.el5. is that pretty out of date I'm guessing? | ||
| [2011/11/10 08:46:31] <benkevan> dfinn: holy good god.. | ||
| [2011/11/10 08:46:36] <dfinn> uh oh | ||
| [2011/11/10 08:46:54] <dfinn> oh yeah, the repo has 2.6.6 | ||
| [2011/11/10 08:47:11] @ samkottler joined channel #puppet | ||
| [2011/11/10 08:47:28] <dfinn> how ugly would the upgrade be from ours to current? | ||
| [2011/11/10 08:48:35] <benkevan> dfinn: which repo are you looking at? repos (yum.puppetlabs.com) has 2.7.8 IIRC or 2.6.12. but moving up will likely break your configs, so you'll def want to bring up a dev instance or dev environment to test your modules.. how in depth is it setup where you're at? | ||
| [2011/11/10 08:49:00] <benkevan> fu puppet dashboard, fu you to hell. | ||
| [2011/11/10 08:49:06] <dfinn> I think we aren't doing anything crazy with it | ||
| [2011/11/10 08:49:14] * dfinn heads off to a benefits meeting. back in a bit | ||
| [2011/11/10 08:49:16] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 08:49:16] <bgupta> jamesturnbull: Are you PM 4 PE? | ||
| [2011/11/10 08:49:28] @ The-Bat joined channel #puppet | ||
| [2011/11/10 08:49:39] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 08:49:44] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 08:50:29] @ Quit: Meier: Quit: Leaving. | ||
| [2011/11/10 08:52:50] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/10 08:53:18] @ Quit: trevs: Ping timeout: 240 seconds | ||
| [2011/11/10 08:53:55] @ Quit: jodok: Quit: jodok | ||
| [2011/11/10 08:55:54] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/10 08:57:04] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 08:57:35] @ labrown joined channel #puppet | ||
| [2011/11/10 08:57:43] @ negronjl joined channel #puppet | ||
| [2011/11/10 08:58:11] <benkevan> in my puppet agent I have the reports url pointing to puppet:3000 but when I do a puppet agent run on the agent, the puppetdashboard shows puppet/reports/upload, which makes me think it's not uploading it to puppet:3000 but trying on port 80.. | ||
| [2011/11/10 08:58:16] <benkevan> is my assumption correct? | ||
| [2011/11/10 08:58:51] @ Quit: gucki: Ping timeout: 260 seconds | ||
| [2011/11/10 08:59:10] @ Quit: marczak: Ping timeout: 255 seconds | ||
| [2011/11/10 08:59:37] @ pmorillon joined channel #puppet | ||
| [2011/11/10 09:00:30] @ Quit: trickyf: Quit: Leaving. | ||
| [2011/11/10 09:00:33] <hacim> how can I instantiate multiple defines that have no parameters, just different names? with something like a file resource, i separate each one by a semicolon, but for a define? | ||
| [2011/11/10 09:00:57] <hacim> eg. this is most definitely not right: dovecot::config::file { '10-auth.conf':; '20-imap.conf':; } | ||
| [2011/11/10 09:01:23] @ jaytaph joined channel #puppet | ||
| [2011/11/10 09:01:37] <hacim> oh duh, I can use dovecot::config::file { [ '10-auth.conf', '20-imap.conf' ]: } | ||
| [2011/11/10 09:02:12] @ Quit: MartVisser: Quit: Leaving | ||
| [2011/11/10 09:02:59] @ mpdude joined channel #puppet | ||
| [2011/11/10 09:03:23] <christophermlee> sorry little off topic but does anyone know of / run an internal pastebin type site? I need one for internal use. | ||
| [2011/11/10 09:04:54] <benkevan> is there a way to delete pending tasks | ||
| [2011/11/10 09:05:20] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 09:05:31] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:05:52] @ Quit: chewie71_: Ping timeout: 265 seconds | ||
| [2011/11/10 09:06:13] @ marrusl joined channel #puppet | ||
| [2011/11/10 09:06:44] @ jcspray joined channel #puppet | ||
| [2011/11/10 09:07:17] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:07:29] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:07:38] @ jaytaph left channel #puppet () | ||
| [2011/11/10 09:09:01] @ Quit: mpdude: Ping timeout: 240 seconds | ||
| [2011/11/10 09:09:16] <benkevan> god I hope there's a way I can get rid of "pending tasks" | ||
| [2011/11/10 09:10:53] @ Quit: astrostl: | ||
| [2011/11/10 09:11:11] <benkevan> YAY.. rake jobs:clear did it.. and now .. I'm golden.. just needed to start some delayed_job stufff.. | ||
| [2011/11/10 09:11:56] @ astrostl joined channel #puppet | ||
| [2011/11/10 09:12:07] <benkevan> I'm talking to myself. | ||
| [2011/11/10 09:12:21] @ gucki joined channel #puppet | ||
| [2011/11/10 09:12:30] @ Quit: fir31ight: Remote host closed the connection | ||
| [2011/11/10 09:13:53] <stevie-bash> I have problems with my certificate for a new host, how to debug this? puppet version 0.25.4 | ||
| [2011/11/10 09:13:56] <stevie-bash> SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | ||
| [2011/11/10 09:14:31] <stevie-bash> I changed the hostname of the puppetmaster. May this be the cause of the problem? | ||
| [2011/11/10 09:14:41] @ edovale joined channel #puppet | ||
| [2011/11/10 09:14:41] <stevie-bash> all old hosts still work | ||
| [2011/11/10 09:15:27] @ alanevans joined channel #puppet | ||
| [2011/11/10 09:15:34] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/10 09:16:28] @ johnbatch joined channel #puppet | ||
| [2011/11/10 09:17:19] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 09:17:26] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:18:30] @ Quit: ali3n0: Ping timeout: 240 seconds | ||
| [2011/11/10 09:18:35] @ Quit: mogitaff: Remote host closed the connection | ||
| [2011/11/10 09:19:22] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:19:28] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:19:56] <stevie-bash> i removed the ssl information on the client and resign the new cert, but still fails | ||
| [2011/11/10 09:20:30] @ Quit: smooth_p: Ping timeout: 240 seconds | ||
| [2011/11/10 09:21:20] <ghanima> Whomever wrote the article on GIT workflow and Puppet ENV is brilliant: http://bit.ly/vFj1sB | ||
| [2011/11/10 09:22:57] <benkevan> ghanima: thanks for the link.. i suck at git, but want to use it for puppet.. :D | ||
| [2011/11/10 09:24:00] <ghanima> benekevan: yeah I am pretty green on GIT as well... but this article doesn't go into alot of detail about GIT syntax, but it does reference examples | ||
| [2011/11/10 09:24:11] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/10 09:24:34] <benkevan> ghanima: yah.. i'll take basics.. for now lmao | ||
| [2011/11/10 09:26:08] @ joshcooper joined channel #puppet | ||
| [2011/11/10 09:26:23] @ ezryx joined channel #puppet | ||
| [2011/11/10 09:26:54] @ jsurfer joined channel #puppet | ||
| [2011/11/10 09:29:03] @ ianbrandt joined channel #puppet | ||
| [2011/11/10 09:29:10] <benkevan> how can I choose what hostname the puppet agent uses when reporting to the puppet master? | ||
| [2011/11/10 09:29:44] <tremble> benkevan: --fqdn | ||
| [2011/11/10 09:30:07] <benkevan> tremble: is that doing puppet agent --fqdn ? how can I force it within puppet.conf? | ||
| [2011/11/10 09:30:33] <tremble> using fqdn in the agent section. | ||
| [2011/11/10 09:30:46] <tremble> --fqdn will do it on the command line | ||
| [2011/11/10 09:31:16] @ trevs joined channel #puppet | ||
| [2011/11/10 09:31:18] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 09:31:29] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:31:29] @ Quit: jonhattan: Remote host closed the connection | ||
| [2011/11/10 09:31:38] @ marczak joined channel #puppet | ||
| [2011/11/10 09:31:52] @ Quit: iw_work: Quit: Leaving | ||
| [2011/11/10 09:32:08] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/10 09:32:31] <benkevan> tremble: do you have an example? | ||
| [2011/11/10 09:32:51] <benkevan> trying to find it on puppetlabs | ||
| [2011/11/10 09:33:10] <tremble> Ah try --certname | ||
| [2011/11/10 09:33:16] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:33:23] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:33:31] <tremble> I think it's mostly a case of not having done that for a long time and the option changing name | ||
| [2011/11/10 09:33:34] <benkevan> my big problem is.. I have hosts with ahost aliases, so the reverse lookup switching back and forth.. | ||
| [2011/11/10 09:34:08] @ Quit: ewoud: Ping timeout: 244 seconds | ||
| [2011/11/10 09:35:16] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:35:20] @ brandon_dacrib_ joined channel #puppet | ||
| [2011/11/10 09:35:23] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:36:51] @ williemach joined channel #puppet | ||
| [2011/11/10 09:37:31] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/10 09:38:53] @ Quit: benkevan: Ping timeout: 260 seconds | ||
| [2011/11/10 09:38:55] @ Quit: brandon_dacrib: Ping timeout: 260 seconds | ||
| [2011/11/10 09:38:55] @ brandon_dacrib_ is now known as brandon_dacrib | ||
| [2011/11/10 09:39:03] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/10 09:39:51] @ Quit: negronjl: Ping timeout: 260 seconds | ||
| [2011/11/10 09:40:06] @ Quit: The-Bat: Ping timeout: 240 seconds | ||
| [2011/11/10 09:40:26] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 09:40:32] @ Quit: newtMcKerr: Changing host | ||
| [2011/11/10 09:40:32] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 09:41:09] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:41:13] @ Quit: trevs: Ping timeout: 260 seconds | ||
| [2011/11/10 09:41:40] @ ewoud joined channel #puppet | ||
| [2011/11/10 09:42:09] @ benkevan joined channel #puppet | ||
| [2011/11/10 09:42:54] @ Quit: The-Bat: Read error: Connection reset by peer | ||
| [2011/11/10 09:43:06] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:43:08] @ adimania joined channel #puppet | ||
| [2011/11/10 09:43:09] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 09:43:18] <benkevan> weird.. my machine hung | ||
| [2011/11/10 09:44:16] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:44:22] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:44:41] <stevie-bash> i found it, the date/time on the client differd too much | ||
| [2011/11/10 09:45:53] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:46:05] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:46:15] @ fir31ight joined channel #puppet | ||
| [2011/11/10 09:46:29] @ Quit: samkottler: Read error: Connection reset by peer | ||
| [2011/11/10 09:47:40] @ samkottler joined channel #puppet | ||
| [2011/11/10 09:47:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 09:47:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:49:44] @ trevs joined channel #puppet | ||
| [2011/11/10 09:49:48] @ soh joined channel #puppet | ||
| [2011/11/10 09:51:41] @ Quit: mawser: Quit: mawser | ||
| [2011/11/10 09:51:42] @ rcrowley joined channel #puppet | ||
| [2011/11/10 09:53:53] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 09:54:00] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:54:40] @ lak joined channel #puppet | ||
| [2011/11/10 09:54:41] @ Quit: lak: Changing host | ||
| [2011/11/10 09:54:41] @ lak joined channel #puppet | ||
| [2011/11/10 09:54:46] @ natewalck joined channel #puppet | ||
| [2011/11/10 09:54:56] <benkevan> so back to my question, how can I force my puppet clients to use their "hostname" as their connection, and not something that they get from a reverse lookup? | ||
| [2011/11/10 09:54:57] <natewalck> Afternoon | ||
| [2011/11/10 09:56:06] <erthad> benkevan: what do you mean by connection? | ||
| [2011/11/10 09:56:36] <natewalck> I am running into issues getting a puppet master going on CentOS 6 using the EPEL packages | ||
| [2011/11/10 09:56:45] <benkevan> erthad: the connection from agent to server.. since it's resolving with reverse name lookups and I have 2 ahosts for 1 server, the reverse lookup with swap, and then it'll show up as failures in puppet dasyboard. | ||
| [2011/11/10 09:56:50] <benkevan> natewalck: what kind? | ||
| [2011/11/10 09:56:53] <natewalck> sec | ||
| [2011/11/10 09:57:11] <benkevan> min | ||
| [2011/11/10 09:57:22] <jpalmer> benkevan: you can use 'certname' in puppet.conf on the agents, to specify the certificate Common Name,. but your question is a bit unclear, so that may or may not be what you want. | ||
| [2011/11/10 09:57:36] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/10 09:57:42] @ Vulcan[OMNI] joined channel #puppet | ||
| [2011/11/10 09:57:52] <natewalck> benkevan Here are two ways I tried to kick it off: http://pastebin.com/QS04ZYc5 | ||
| [2011/11/10 09:57:53] @ Quit: The-Bat: Read error: Connection reset by peer | ||
| [2011/11/10 09:58:00] @ The-Bat joined channel #puppet | ||
| [2011/11/10 09:58:15] <benkevan> grr.. brb meeting. | ||
| [2011/11/10 09:58:40] <jpalmer> benkevan: for the most part, puppet doesnt care about the tcp part of things (including rDNS) what it cares about, is the certificate CN for authentication. that CN is normally the fqdn of the server as shown by 'hostname' | ||
| [2011/11/10 09:59:00] @ joshcooper joined channel #puppet | ||
| [2011/11/10 09:59:19] @ KaiserBeto joined channel #puppet | ||
| [2011/11/10 09:59:54] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 10:00:00] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:00:17] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 10:00:21] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 10:00:29] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/10 10:00:31] <jpalmer> benkevan: to override the default behavior (using fqdn for the cert CN) you can use 'certname' in the puppet.conf of the agent. | ||
| [2011/11/10 10:01:01] @ scsinutz joined channel #puppet | ||
| [2011/11/10 10:01:04] @ scsinutz left channel #puppet () | ||
| [2011/11/10 10:01:56] <natewalck> benkevan: ha. I forgot to put the server name in hosts :) | ||
| [2011/11/10 10:03:05] @ brandon_dacrib_ joined channel #puppet | ||
| [2011/11/10 10:03:44] @ nigelk joined channel #puppet | ||
| [2011/11/10 10:05:13] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/10 10:05:15] @ alfism joined channel #puppet | ||
| [2011/11/10 10:05:21] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/10 10:05:31] @ Quit: brandon_dacrib: Ping timeout: 260 seconds | ||
| [2011/11/10 10:05:31] @ brandon_dacrib_ is now known as brandon_dacrib | ||
| [2011/11/10 10:06:21] @ soh joined channel #puppet | ||
| [2011/11/10 10:08:42] <TuxOtaku> hey I'm having a huge problem with puppet | ||
| [2011/11/10 10:08:47] @ Quit: IndyMichaelB: Ping timeout: 258 seconds | ||
| [2011/11/10 10:08:57] <TuxOtaku> I keep getting this error: err: Could not send report: certificate verify failed. This is often because the time is out of sync on the server or client | ||
| [2011/11/10 10:09:22] <TuxOtaku> but the time on the server AND client machines are perfectly in sync | ||
| [2011/11/10 10:09:23] <agaffney> did you check that the time (and timzeone) are in sync between the master and client? | ||
| [2011/11/10 10:09:38] <TuxOtaku> saw something about this being a bug in ruby 1.9 | ||
| [2011/11/10 10:09:44] <TuxOtaku> so I checked my version | ||
| [2011/11/10 10:09:50] <TuxOtaku> and I'm running 1.8.7 | ||
| [2011/11/10 10:09:54] <TuxOtaku> so it's not that either | ||
| [2011/11/10 10:10:09] <natewalck> benkevan: but that is not fully fixing it…I called nodaemonize and its taking forever to say anything past the version. I'll let it go for a few (its on a vm, could be generating CA?) | ||
| [2011/11/10 10:10:14] <agaffney> does the server cert name match the hostname you're trying to use to connect to it? | ||
| [2011/11/10 10:10:39] <TuxOtaku> yup | ||
| [2011/11/10 10:11:11] <agaffney> you're sure? the output of 'hostname -f' on the master matches the 'server = ' parameter in your agent's puppet.conf? | ||
| [2011/11/10 10:11:35] @ cosman2001 joined channel #puppet | ||
| [2011/11/10 10:12:22] <natewalck> Also realized this RPM is old. 2.6.6. *sigh* | ||
| [2011/11/10 10:12:44] @ Quit: tremble: Quit: Leaving | ||
| [2011/11/10 10:13:26] <TuxOtaku> agaffney: yep | ||
| [2011/11/10 10:14:27] @ Quit: socomm: Ping timeout: 258 seconds | ||
| [2011/11/10 10:14:30] @ Quit: stevie-bash: Quit: Verlassend | ||
| [2011/11/10 10:15:51] @ Quit: dwatsonuk: Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client | ||
| [2011/11/10 10:16:00] @ socomm joined channel #puppet | ||
| [2011/11/10 10:18:12] @ kelseyhi1htower joined channel #puppet | ||
| [2011/11/10 10:19:11] <adedommelin> ./c | ||
| [2011/11/10 10:19:21] @ Quit: kelseyhightower: Ping timeout: 260 seconds | ||
| [2011/11/10 10:19:59] @ brandon_dacrib_ joined channel #puppet | ||
| [2011/11/10 10:20:35] @ zwi joined channel #puppet | ||
| [2011/11/10 10:21:18] @ Quit: brandon_dacrib: Ping timeout: 240 seconds | ||
| [2011/11/10 10:21:18] @ brandon_dacrib_ is now known as brandon_dacrib | ||
| [2011/11/10 10:22:53] @ Quit: astrostl: | ||
| [2011/11/10 10:23:53] @ indigo joined channel #puppet | ||
| [2011/11/10 10:23:53] @ ezryx joined channel #puppet | ||
| [2011/11/10 10:24:13] @ Quit: trevs: Ping timeout: 255 seconds | ||
| [2011/11/10 10:24:17] @ mawser joined channel #puppet | ||
| [2011/11/10 10:24:26] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/10 10:24:49] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/10 10:25:35] @ Quit: kelseyhi1htower: Quit: leaving | ||
| [2011/11/10 10:25:47] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 10:25:55] <indigo> the nagios_* resources seem to create files with mode 600 owned by root, but nagios is running as user "nagios". Is there a way to change that? | ||
| [2011/11/10 10:26:13] @ the_ramink joined channel #puppet | ||
| [2011/11/10 10:26:46] @ trevs joined channel #puppet | ||
| [2011/11/10 10:28:49] <agaffney> indigo: I fixed it by having corresponding File resources, which was necessary anyway to get puppet to remove config files when the resources are removed from the manifests | ||
| [2011/11/10 10:29:28] @ jaytaph joined channel #puppet | ||
| [2011/11/10 10:29:53] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 10:30:05] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:30:11] <agaffney> indigo: before that, I had an exec that changed the permissions of the files and was triggered by the nagios_* resources | ||
| [2011/11/10 10:30:24] @ samkottler joined channel #puppet | ||
| [2011/11/10 10:31:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 10:32:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:33:24] <ghanima> hey guys quick question... if you have puppet and your pulling content from svn or git... On the puppetmaster is general practice to manually pull from these repositories or do you schedule updated automatically... obviously you can do both, but I am curious what people normally due. | ||
| [2011/11/10 10:33:39] <hajile> manual | ||
| [2011/11/10 10:33:47] <dfinn> we do manual, not sure if that's "normal" or not though | ||
| [2011/11/10 10:33:48] <ghanima> It just seems to be a headache to have to log into puppetmaster to do an update and then going to each client and triggering the update | ||
| [2011/11/10 10:33:54] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/10 10:34:22] <ghanima> I would think that you could wrap that function in like capistrano or maybe mcollective? | ||
| [2011/11/10 10:34:27] <hajile> why would you go to each client to do an update? | ||
| [2011/11/10 10:34:34] @ ccaum joined channel #puppet | ||
| [2011/11/10 10:34:43] <hajile> either run puppet from cron or as a service | ||
| [2011/11/10 10:34:43] <dfinn> they will get it in 30 minutes or less | ||
| [2011/11/10 10:34:47] <hajile> the agent, that is | ||
| [2011/11/10 10:35:21] <ghanima> dfinn: My understanding was that 30 minute checkin can't be changed if your saying or less are you saying that you can make it quicker than 30 minutes | ||
| [2011/11/10 10:35:49] <hajile> i'm sure you can adjust the checkin period | ||
| [2011/11/10 10:35:58] <dfinn> I said less because you could be making changes to your puppet master 15 minutes into a checkin period | ||
| [2011/11/10 10:36:02] <dpittman> ghanima: You can absolutely run the agent more frequently than every thirty minutes, either through cron, or through the configuration options. | ||
| [2011/11/10 10:36:40] <ghanima> dpittman: I am aware that you can run the checking manually, but wasn't aware that the timer can be configured in the agent configuration file | ||
| [2011/11/10 10:36:43] <ghanima> that is good to know :) | ||
| [2011/11/10 10:37:17] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/10 10:37:33] <dpittman> ghanima: `runinterval` is the setting you want. | ||
| [2011/11/10 10:37:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 10:38:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:39:12] @ mpdude joined channel #puppet | ||
| [2011/11/10 10:39:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 10:40:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:40:22] @ mitchellh joined channel #puppet | ||
| [2011/11/10 10:40:34] <shortbus-> are you supposed to setup stages in nodes.pp or inside the module itself? | ||
| [2011/11/10 10:41:03] @ nimrod10` joined channel #puppet | ||
| [2011/11/10 10:41:11] @ Quit: nimrod10: Read error: Connection reset by peer | ||
| [2011/11/10 10:41:50] <shortbus-> argh. and googling 'puppet staging examples' returning puppet help of the felt kind, not the unix kind | ||
| [2011/11/10 10:41:52] @ astrostl joined channel #puppet | ||
| [2011/11/10 10:42:15] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/10 10:43:05] <agaffney> does anyone have suggestions for decent puppet interview questions? | ||
| [2011/11/10 10:43:24] <misc> sure | ||
| [2011/11/10 10:43:30] @ jongrocho joined channel #puppet | ||
| [2011/11/10 10:43:42] <agaffney> I've already put together a couple like "write a class for managing ntp", "what are virtual/exported resources?", and a few others like that | ||
| [2011/11/10 10:43:50] <misc> ""how many sock do you need to make a puppet" | ||
| [2011/11/10 10:43:59] <agaffney> heh | ||
| [2011/11/10 10:44:00] <Hunner> Can cloud provisioner provision with ebs-backed AMIs, or attach ebs volumes to current AMIs? | ||
| [2011/11/10 10:44:04] <hajile> has anyone found a decent rpm based newer version of ruby for centos 5.6? | ||
| [2011/11/10 10:44:15] <shortbus-> here's my nodes.pp, can someone point me in the right direction on what i'm doing wrong? http://fpaste.org/TPKO/ | ||
| [2011/11/10 10:44:17] <agaffney> hajile: there be dragons | ||
| [2011/11/10 10:44:20] <misc> agaffney: in fact, just wait for people asking question here, note them and ask to the candidate | ||
| [2011/11/10 10:44:25] <hajile> agaffney: totally. :) | ||
| [2011/11/10 10:44:29] <asteve> hajile: "newer version" ? | ||
| [2011/11/10 10:44:37] <asteve> i suggest you use rvm either way | ||
| [2011/11/10 10:44:41] <hajile> haha, yeah newer than ridiculous 1.8.5 | ||
| [2011/11/10 10:44:49] <agaffney> hajile: I've built a set myself before based on the fedora 11 (iirc) specs for ruby 1.8.7 | ||
| [2011/11/10 10:44:53] <hajile> i do use rvm, but i'm trying to use the puppet/puppet-server rpm | ||
| [2011/11/10 10:45:02] <agaffney> I think someone in here hosts a set they built lke that | ||
| [2011/11/10 10:45:10] <Hunner> agaffney:instead of asking for a class for ntp, ask for a module | ||
| [2011/11/10 10:45:12] @ smooth_p joined channel #puppet | ||
| [2011/11/10 10:45:13] <hajile> which has dependencies on having an rpm installed | ||
| [2011/11/10 10:45:21] <hajile> i guess i can just force the install ignoring dependencies | ||
| [2011/11/10 10:45:26] <misc> agaffney: ask to someone "what is the most surprising stuff you have seen in puppet" | ||
| [2011/11/10 10:45:38] <agaffney> Hunner: ooh, that actually made me thing of another question: "what is the structure of a module?" | ||
| [2011/11/10 10:45:44] <hajile> this is the new rathole i'm running down trying to switch to passenger :) | ||
| [2011/11/10 10:45:54] <agaffney> misc: or a variation..."what pisses you off about puppet?" | ||
| [2011/11/10 10:46:07] <misc> agaffney: yep | ||
| [2011/11/10 10:46:20] <misc> "do you know what ENC mean" | ||
| [2011/11/10 10:46:39] <misc> "what is the difference between puppet face and poker face" | ||
| [2011/11/10 10:46:59] <indigo> puppet is awesome. | ||
| [2011/11/10 10:47:00] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2011/11/10 10:47:03] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/10 10:47:17] <agaffney> misc: hmm, the ENC one is good | ||
| [2011/11/10 10:47:23] <the_ramink> Isn't the simplest Puppet interview question, "Where is your github repo of modules?" | ||
| [2011/11/10 10:47:33] <misc> "how would you manage a 1000 nodes setup ?" ( ie, server load balancing, server signature, supervision) | ||
| [2011/11/10 10:47:43] <agaffney> that's a good one | ||
| [2011/11/10 10:48:09] <agaffney> which is related to the other one I just came up with: "webrick, mongrel, passenger, or something else?" | ||
| [2011/11/10 10:48:17] <misc> and "speak of others tools in the same space of puppet" ? | ||
| [2011/11/10 10:48:31] <hajile> mongrel makes me a sad panda | ||
| [2011/11/10 10:48:37] <hajile> after wasting much of my day yesterday | ||
| [2011/11/10 10:48:38] <misc> "if you had to do a talk about puppet, what would you speak about" | ||
| [2011/11/10 10:49:16] <misc> agaffney: "what is helping on irc and whose nickname start by V" :) | ||
| [2011/11/10 10:49:49] <agaffney> heh | ||
| [2011/11/10 10:50:00] <agaffney> I don't know if this guy I'm going to interview hangs out in here | ||
| [2011/11/10 10:50:22] <hajile> ooh, now there's an idea. i could just use RVM and then gem install puppet/facter/puppet-server | ||
| [2011/11/10 10:50:37] <hajile> and say screw you rpm | ||
| [2011/11/10 10:50:42] @ mpdude joined channel #puppet | ||
| [2011/11/10 10:50:50] <agaffney> hajile: RPM is hardly at fault here | ||
| [2011/11/10 10:50:56] <hajile> indeed | ||
| [2011/11/10 10:51:01] <hajile> sorry, i'll rephrase | ||
| [2011/11/10 10:51:08] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/10 10:51:09] @ hooper joined channel #puppet | ||
| [2011/11/10 10:51:10] <hajile> screw you centos 5 :) | ||
| [2011/11/10 10:51:11] <jpalmer> hajile: my experience with that is: rpm always wins the "screw you" game. your OS has package management for a reason. use it. | ||
| [2011/11/10 10:51:46] <hajile> except when it comes to modern versions of ruby | ||
| [2011/11/10 10:51:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 10:51:52] @ Quit: nycko: Quit: upgrade de ram | ||
| [2011/11/10 10:51:54] <hajile> on centos, that is. | ||
| [2011/11/10 10:52:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:52:13] <misc> agaffney: the position is about puppet precisely ? you could give him a module and ask him to find errors in it ? | ||
| [2011/11/10 10:52:17] <jpalmer> hajile: I'll note: I'm using Centos5, and puppet without issues, and without getting a new version of ruby. | ||
| [2011/11/10 10:52:26] <the_ramink> agaffney: I'd ask something about how they seperate data from their puppet code. Can lead into talking about extlookup, hiera, enc, etc. Also you get a feel for how they think about what they are managing. | ||
| [2011/11/10 10:52:29] <tobert> rpm -i --force --fsck-me-harder --oh-yeah --harder foo.rpm | ||
| [2011/11/10 10:52:50] <misc> ( and see if he first try to run it, to look at the changelog, etc ) | ||
| [2011/11/10 10:53:03] <jpalmer> agaffney: I'd ask something along the lines of :how do you manage sensitive information in your puppet infra" | ||
| [2011/11/10 10:53:05] @ jodok joined channel #puppet | ||
| [2011/11/10 10:53:06] @ Quit: jodok: Changing host | ||
| [2011/11/10 10:53:06] @ jodok joined channel #puppet | ||
| [2011/11/10 10:53:22] <hajile> jpalmer: using ruby 1.8.5 and passenger? | ||
| [2011/11/10 10:53:25] <agaffney> misc: no, not puppet specifically | ||
| [2011/11/10 10:53:29] <agaffney> around here, I'm the puppet master :P | ||
| [2011/11/10 10:53:30] <jpalmer> hajile: yes. | ||
| [2011/11/10 10:53:31] @ Quit: dfinn: Quit: Leaving | ||
| [2011/11/10 10:53:36] @ Quit: kelseyhightower: Ping timeout: 248 seconds | ||
| [2011/11/10 10:53:38] <agaffney> jpalmer: ooh, good one | ||
| [2011/11/10 10:53:39] <hajile> jpalmer: interesting, what version of rack/passenger? | ||
| [2011/11/10 10:54:10] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 10:54:11] <hajile> jpalmer: did you install rack and passenger via their rpms? | ||
| [2011/11/10 10:54:13] <jpalmer> hajile: I'm not at the office right now, but let me login. sec | ||
| [2011/11/10 10:54:16] <hajile> ok | ||
| [2011/11/10 10:54:18] <hajile> thanks! | ||
| [2011/11/10 10:55:07] <misc> "what to upgrade frst, server or client ?" + why ( of course, without the why, that's just random ) | ||
| [2011/11/10 10:55:15] <jpalmer> hajile: I used the "foreman" puppet module included with 'theforeman' and let it setup apache, and passenger. then I just created a "puppetmaster.conf" for apache to serve puppet using the same. | ||
| [2011/11/10 10:55:20] <agaffney> the_ramink: added ;) | ||
| [2011/11/10 10:55:40] <hajile> jpalmer: isn't that a bit of a chicken&egg scenario? | ||
| [2011/11/10 10:55:46] <agaffney> I'm up to 15 questions now | ||
| [2011/11/10 10:55:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 10:55:54] <hajile> jpalmer: or you just ran it via webrick first? | ||
| [2011/11/10 10:55:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 10:56:18] <jpalmer> hajile: echo foreman | puppet apply --modulepath . | ||
| [2011/11/10 10:56:31] <hajile> jpalmer: i have much to learn. | ||
| [2011/11/10 10:56:33] <hajile> haha | ||
| [2011/11/10 10:56:34] <misc> agaffney: you should publish the questions :) | ||
| [2011/11/10 10:56:34] @ matthaus is now known as haus | ||
| [2011/11/10 10:56:42] <hajile> thanks i'll give that a shot! | ||
| [2011/11/10 10:56:42] <agaffney> misc: I probably will | ||
| [2011/11/10 10:56:50] <misc> ( and give fake answers with it so people can be caught cheating ) | ||
| [2011/11/10 10:56:55] <jpalmer> hajile: you don't need a full puppet infra, to use a puppet module. puppet can run standalone with 'puppet apply' | ||
| [2011/11/10 10:57:36] <hajile> jpalmer: that's pretty cool | ||
| [2011/11/10 10:57:44] <jpalmer> hajile: it was rack 1.1.0, not sure of the passenger version now (I literally just migrated to CentOS 6 this week) | ||
| [2011/11/10 10:58:03] <agaffney> http://pastie.org/2843166 <-- current question list in no particular order | ||
| [2011/11/10 10:58:54] <hajile> jpalmer: ok, i'll give it a try and see what happens | ||
| [2011/11/10 10:59:18] <jpalmer> hajile: this may be worth a moment of your time: https://github.com/ohadlevy/puppet-foreman/blob/master/README.md | ||
| [2011/11/10 10:59:26] <hajile> ah i was about to ask that | ||
| [2011/11/10 10:59:31] <hajile> if foreman was on github | ||
| [2011/11/10 10:59:32] <hajile> thanks! | ||
| [2011/11/10 10:59:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 10:59:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:00:12] <jpalmer> hajile: mind if I ask: why CentOS 5 if this is a new/fresh install? why not CentOS 6? it's got a more recent version of ruby | ||
| [2011/11/10 11:00:29] <hajile> jpalmer: we just haven't migrated to centos 6 yet | ||
| [2011/11/10 11:00:47] <jpalmer> You know the best way to migrate, right? "Start now!" haha | ||
| [2011/11/10 11:00:49] <Volcane> centos 6 is abandonware | ||
| [2011/11/10 11:01:04] * agaffney switched to Scientific Linux | ||
| [2011/11/10 11:01:14] <jpalmer> j/k I don't know your infra, environment, or needs. so that last part was purely a joke ;) | ||
| [2011/11/10 11:01:15] <agaffney> moving from CentOS 5.x to Scientific 6.1 | ||
| [2011/11/10 11:01:27] <hajile> jpalmer: i know ;) | ||
| [2011/11/10 11:01:30] @ shadoi joined channel #puppet | ||
| [2011/11/10 11:01:45] <hajile> far too many changes in centos6 for that to be a simple migration path for us yet | ||
| [2011/11/10 11:01:57] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:01:59] <jpalmer> agaffney/Volcane, I'm sticking with CentOS until I see what happens with Ascendos. I've submitted patches to facter for it, and have contributed a bit of code to the Ascendos project! | ||
| [2011/11/10 11:02:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:02:19] @ Quit: kermit: Ping timeout: 252 seconds | ||
| [2011/11/10 11:02:28] <TuxOtaku> hey can anyone see any syntax problems with my site.pp file? | ||
| [2011/11/10 11:02:30] <hajile> that said, on my puppetmaster, it really doesn't matter what I run. | ||
| [2011/11/10 11:02:43] <TuxOtaku> err sorry | ||
| [2011/11/10 11:02:44] <hajile> bbl, off to play some fifa | ||
| [2011/11/10 11:02:52] <TuxOtaku> meant to paste a pastebin link there | ||
| [2011/11/10 11:02:55] @ Quit: st33v: Ping timeout: 255 seconds | ||
| [2011/11/10 11:02:57] <Volcane> yeah def hoping ascendos gets somewhere, indications are good at least | ||
| [2011/11/10 11:02:57] <jpalmer> hajile: if you're doing this up in a lab, I'd strongly encourage 6. but you know your needs way better than I do. | ||
| [2011/11/10 11:03:06] @ Quit: kolla: Remote host closed the connection | ||
| [2011/11/10 11:03:30] <jpalmer> Volcane: did you install it? I saw you tweeted about it when ken_barber merged my patch. | ||
| [2011/11/10 11:03:36] <Volcane> yeah i did | ||
| [2011/11/10 11:03:41] <Volcane> just quickly to check it out | ||
| [2011/11/10 11:03:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:03:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:04:00] <jpalmer> Volcane: did you see the comps.xml bug? (when you selected minimal, it still installed a full desktop) | ||
| [2011/11/10 11:04:14] <Volcane> yup, saw that, assumed it was just cos it was early days still | ||
| [2011/11/10 11:04:41] <jpalmer> *nod* I submitted a patch for that issue that was accepted and will be rolled into alpha-rc3 | ||
| [2011/11/10 11:04:48] <Volcane> neat | ||
| [2011/11/10 11:05:03] <TuxOtaku> hey can anyone see any syntax problems with my site.pp file? | ||
| [2011/11/10 11:05:05] <TuxOtaku> http://pastebin.com/9nUVf7e7 | ||
| [2011/11/10 11:05:11] <indigo> so, am i correct in thinking that Foo<<||>> will be a collection of all exported foos i declared, but if i say Foo<<||>> again, I get an empty collection? | ||
| [2011/11/10 11:05:47] <jpalmer> I know most linux distros die before they get off the ground. and many more at the 2 year mark or so.. but since aos has people from SL on board.. my hope is that they have previous experience doing a respin.. so I'm hopeful it'll survive those two key times. | ||
| [2011/11/10 11:05:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:05:56] <indigo> here's why i think that: http://pastebin.com/HcwWhYj2 | ||
| [2011/11/10 11:05:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:06:14] @ Quit: newtMcKerr: Read error: Connection reset by peer | ||
| [2011/11/10 11:06:23] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 11:07:10] <rodjek> TuxOtaku: what version of puppet? | ||
| [2011/11/10 11:07:21] <TuxOtaku> rodjek: 2.7.5 | ||
| [2011/11/10 11:07:21] @ Razique joined channel #puppet | ||
| [2011/11/10 11:07:32] <Hunner> agaffney: you get the question about the structure of a module answered by asking them to write an ntp module | ||
| [2011/11/10 11:07:58] <the_ramink> TuxOtaku: I don't see any reason that shouldn't work, but you may find it simpler to use regex matching, node /^smtraining\d+/ { | ||
| [2011/11/10 11:08:19] <TuxOtaku> well puppet's choking on it | ||
| [2011/11/10 11:08:30] <TuxOtaku> Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at 'SMTraining-VMs' at /etc/puppet/manifests/site.pp:16 | ||
| [2011/11/10 11:08:41] @ Quit: nigelk: Read error: Connection reset by peer | ||
| [2011/11/10 11:08:53] @ nigelk joined channel #puppet | ||
| [2011/11/10 11:09:06] @ smooth_p_ joined channel #puppet | ||
| [2011/11/10 11:10:32] <the_ramink> TuxOtaku: I'd try quoting and curly brackets, node "${SMTraining-VMs}" { | ||
| [2011/11/10 11:11:12] @ Quit: smooth_p: Ping timeout: 248 seconds | ||
| [2011/11/10 11:11:22] <the_ramink> but I'm not sure Puppet does variable expansion there, regex definately works. | ||
| [2011/11/10 11:11:44] <TuxOtaku> the_ramink: nope, still chokes | ||
| [2011/11/10 11:11:52] <agaffney> Hunner: I'll be doing it with a whiteboard, so asking them to do the rest of the module is silly, when it's just one class in it | ||
| [2011/11/10 11:12:30] <benkevan> err: Could not retrieve catalog from remote server: Error 400 on SERVER: No support for http method POST | ||
| [2011/11/10 11:12:37] @ kermit joined channel #puppet | ||
| [2011/11/10 11:12:40] <benkevan> ^ I'm getting that error on one client.. any idea why? | ||
| [2011/11/10 11:12:58] <eric0> benkevan: you need to update your server before the client, that suggests client is 2.7.x and server is 2.6 | ||
| [2011/11/10 11:13:14] <benkevan> oh wtf.. it sure is.. oh whoop. :) | ||
| [2011/11/10 11:14:05] @ langworthy joined channel #puppet | ||
| [2011/11/10 11:14:08] <benkevan> eric0: thank you | ||
| [2011/11/10 11:14:08] <rodjek> TuxOtaku: i'm not sure you can have an array in node definitions | ||
| [2011/11/10 11:14:16] <rodjek> i'd just use a regex | ||
| [2011/11/10 11:15:35] @ Quit: d3c: Quit: Lost terminal | ||
| [2011/11/10 11:16:05] <lofidellity> is there some prefered method for setting up commands based on os for a puppet provider? | ||
| [2011/11/10 11:16:36] <Hunner> agaffney: You might think it's silly, but you see their problem solving skills | ||
| [2011/11/10 11:16:43] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/10 11:16:59] <Hunner> agaffney: let them come to the conclusion that they only need one class. Maybe they see it a different way from yout | ||
| [2011/11/10 11:17:18] <Hunner> agaffney: And yes, I figured it was on a whiteboard | ||
| [2011/11/10 11:18:04] <Hunner> agaffney: Asking exported/virtual resources checked their knowledge domain, but not their problem solving skills | ||
| [2011/11/10 11:18:52] <TuxOtaku> ensure => "enabled,started" <--- is this correct? | ||
| [2011/11/10 11:19:54] @ Quit: astrostl: | ||
| [2011/11/10 11:20:10] <benkevan> is there any way I can make sure puppet users $hostname for certname lookup? instead of relying on reverse dns? is certname the only way to do it? | ||
| [2011/11/10 11:21:01] <rodjek> TuxOtaku: no | ||
| [2011/11/10 11:21:16] <TuxOtaku> rodjek: what would the proper syntax be? | ||
| [2011/11/10 11:21:32] <TuxOtaku> I'm trying to ensure a number of services are both enabled and started | ||
| [2011/11/10 11:21:41] <rodjek> TuxOtaku: http://docs.puppetlabs.com/references/stable/type.html#service | ||
| [2011/11/10 11:21:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 11:22:00] @ jim80net joined channel #puppet | ||
| [2011/11/10 11:22:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:22:24] @ negronjl joined channel #puppet | ||
| [2011/11/10 11:23:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:24:02] <indigo> is there a function available that converts its argument to lowercase? | ||
| [2011/11/10 11:24:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:24:27] <indigo> or some other way i can get "debian" out of facter on a debian box ($operatingsystem is Debian) | ||
| [2011/11/10 11:26:40] <rodjek> indigo: why do you need it lowercase? | ||
| [2011/11/10 11:27:05] <indigo> rodjek: because i'm trying to set the logo for debian hosts in nagios, and it's debian.png, not Debian.png. | ||
| [2011/11/10 11:27:33] <indigo> i could of course rename all the logo files, but that's a pain. | ||
| [2011/11/10 11:27:58] <rodjek> use the downcase function from puppetlabs-stdlib module | ||
| [2011/11/10 11:29:10] <benkevan> host many of you guys use certname in puppet.conf to ensure you get the correct hostname lookup? | ||
| [2011/11/10 11:29:43] <rodjek> benkevan: not me | ||
| [2011/11/10 11:30:14] <benkevan> rodjek: do you have issues with multiple ahosts to a single host where reverse lookup gets confused? | ||
| [2011/11/10 11:31:04] <rodjek> nope | ||
| [2011/11/10 11:31:15] <benkevan> rodjek: do you have hosts setup like that? | ||
| [2011/11/10 11:31:46] @ Quit: kinsel: Ping timeout: 256 seconds | ||
| [2011/11/10 11:31:52] @ Quit: Razique: Quit: Razique | ||
| [2011/11/10 11:32:01] <rodjek> i have a working dns setup | ||
| [2011/11/10 11:33:35] @ kinsel joined channel #puppet | ||
| [2011/11/10 11:33:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 11:33:59] <benkevan> rodjek: yah, as do I. But if you have 2 A HOST records to a single host, the revrse lookup will round robin the return, which will make puppet use them in a round robin fashion. unless you put something into the hosts file for the host.. is that what you're doing? | ||
| [2011/11/10 11:34:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:34:46] @ dfinn joined channel #puppet | ||
| [2011/11/10 11:35:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:35:58] @ rharrison joined channel #puppet | ||
| [2011/11/10 11:36:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:36:22] <rodjek> you have two PTR records for your host? and no, i only have 1 record for my primary IP, any services sit on additional IPs bound to the nic | ||
| [2011/11/10 11:36:36] @ dym left channel #puppet () | ||
| [2011/11/10 11:37:06] <benkevan> ah.. yah.. that's why, yes.. someone set this one up with 2 PTR records.. so it's round robining.. i may just have one of the PTR records removed, in hopes that.. i'll work.. (I'm not even sure why it's not a cname).. | ||
| [2011/11/10 11:37:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:37:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:38:30] @ dnjaramba joined channel #puppet | ||
| [2011/11/10 11:38:37] @ Quit: dnjaramba_: Ping timeout: 240 seconds | ||
| [2011/11/10 11:40:48] @ Quit: trevs: Ping timeout: 245 seconds | ||
| [2011/11/10 11:42:39] <benkevan> f it.. think I'll just do certname = <%= fqdn %> that'll ensure everything uses the actual hostname, but it seems so .. blah.. | ||
| [2011/11/10 11:44:04] @ trevs joined channel #puppet | ||
| [2011/11/10 11:46:26] <rodjek> benkevan: you really should only have 1 PTR record per IP | ||
| [2011/11/10 11:47:47] @ BManojlovic joined channel #puppet | ||
| [2011/11/10 11:47:48] @ Quit: BManojlovic: Changing host | ||
| [2011/11/10 11:47:48] @ BManojlovic joined channel #puppet | ||
| [2011/11/10 11:47:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 11:48:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:48:16] <benkevan> rodjek: I understand that.. but I'm can't go through and undo what a bunch of people have already done.. so just going to improvise for now, until I can find all the duplicate ptr's and find the implications of removal of them (i.e., what applications rely on the reverse lookup of those). | ||
| [2011/11/10 11:48:40] @ Quit: natewalck: Read error: Connection reset by peer | ||
| [2011/11/10 11:50:48] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 11:51:17] @ bmahe joined channel #puppet | ||
| [2011/11/10 11:51:17] @ Quit: bmahe: Changing host | ||
| [2011/11/10 11:51:17] @ bmahe joined channel #puppet | ||
| [2011/11/10 11:51:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:52:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:52:24] @ natewalck joined channel #puppet | ||
| [2011/11/10 11:53:12] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/10 11:53:29] @ soh joined channel #puppet | ||
| [2011/11/10 11:53:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 11:53:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 11:55:05] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 11:55:54] @ jsurfer joined channel #puppet | ||
| [2011/11/10 11:58:17] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/10 11:58:24] @ Quit: rcrowley: Ping timeout: 256 seconds | ||
| [2011/11/10 11:58:34] <rodjek> benkevan: fair enough, i wouldn't expect anything to be depending on it though. as you said, it resolves intermittently | ||
| [2011/11/10 11:59:51] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 11:59:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:00:05] @ Quit: mcarpent: Read error: Operation timed out | ||
| [2011/11/10 12:00:16] @ mcarpent joined channel #puppet | ||
| [2011/11/10 12:00:31] @ Quit: marczak: Ping timeout: 255 seconds | ||
| [2011/11/10 12:01:12] <indigo> is there any way to specify dependencies between exported resources before realizing them? | ||
| [2011/11/10 12:01:37] @ geekbri joined channel #puppet | ||
| [2011/11/10 12:01:52] @ cliff-hm joined channel #puppet | ||
| [2011/11/10 12:02:05] <walkeran> I don't even understand how people always have a problem with reverse DNS/PTR records and their puppet setups. I don't have anything special going on with any of my certs, and we (admittedly) have the biggest mess when it comes to our PTR records | ||
| [2011/11/10 12:02:35] <lofidellity> is there a way to require a class before a provider? | ||
| [2011/11/10 12:03:00] @ pugnacity joined channel #puppet | ||
| [2011/11/10 12:03:08] <walkeran> indigo: What do you mean by "before realizing them"? | ||
| [2011/11/10 12:03:12] <lofidellity> ive added some confines to my provider so that it doesnt attempt to use the provider before the executable is installed | ||
| [2011/11/10 12:03:20] @ noecc left channel #puppet ("pax") | ||
| [2011/11/10 12:03:33] <indigo> walkeran: i mean, where i declare them, not where i realize them with <<||>> | ||
| [2011/11/10 12:03:42] <lofidellity> but that just seems to make the provider fail and not continue with anything else in the manifest | ||
| [2011/11/10 12:04:02] @ paxos joined channel #puppet | ||
| [2011/11/10 12:04:15] <walkeran> indigo: Oh, so declare the dependencies on the host that the resources originated from, not the one you are realizing them on? | ||
| [2011/11/10 12:04:30] <indigo> walkeran: yes. | ||
| [2011/11/10 12:04:38] <walkeran> indigo: I'm fairly certain that you can't do that....but I could be wrong | ||
| [2011/11/10 12:05:25] <hobbeswalsh> hey everyone -- I have a node that runs a bunch of Execs that are exported from other nodes | ||
| [2011/11/10 12:05:39] @ Quit: MattTheRat: Changing host | ||
| [2011/11/10 12:05:39] @ MattTheRat joined channel #puppet | ||
| [2011/11/10 12:05:42] <hobbeswalsh> is there a way I can tell the node that collects (and runs) the Execs not to run them until something else is done? | ||
| [2011/11/10 12:06:05] <walkeran> lofidellity: I don't know the answer to your question, but a lot of people have suggested a look at the puppet-vcs module, as it handles that scenario quite well | ||
| [2011/11/10 12:06:20] <lofidellity> thanks | ||
| [2011/11/10 12:06:32] @ jiveturkey left channel #puppet () | ||
| [2011/11/10 12:06:38] <walkeran> hobbeswalsh: You can probably make them refreshonly, and then have some resources on your node that's realizing them notify them | ||
| [2011/11/10 12:07:39] <indigo> walkeran: so if i have two exported resources that have some dependency relationship, how can i describe that? Something like Foo <<||>> -> Bar <<||>> makes all bars require all foos, which isn't the same as one bar requiring one specific foo. | ||
| [2011/11/10 12:07:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 12:08:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:08:46] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 12:09:14] <walkeran> indigo: I'm not sure it would fit the situation, but it kinda sounds like you should make a definition which makes a Foo and a Bar, specify the dependency within, and then export an instantiation of that definition, instead of both resources individually | ||
| [2011/11/10 12:09:17] <natewalck> benkevan: Which linux flavor do you do Puppet on? | ||
| [2011/11/10 12:10:15] @ kenperkins joined channel #puppet | ||
| [2011/11/10 12:10:55] <hobbeswalsh> walkeran: notify them by name? isn't that violating the principle of, er, encapsulation or something? | ||
| [2011/11/10 12:11:33] <jamesturnbull> bgupta: not really - nigelk is best to ask about such matters | ||
| [2011/11/10 12:11:36] <walkeran> hobbeswalsh: you can probably use resource chaining, too. Not sure, though, I haven't actually tried that :) | ||
| [2011/11/10 12:11:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:12:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:12:09] <nigelk> jamesturnbull: I don't keep a persistent IRC connection anymore, no idea what the context was there. | ||
| [2011/11/10 12:12:51] <bgupta> nogelk: Was asking if he was PM 4 PE | ||
| [2011/11/10 12:13:14] <bgupta> nigelk: ^^ | ||
| [2011/11/10 12:13:26] <hobbeswalsh> walkeran: woot. turns out I can | ||
| [2011/11/10 12:13:27] <nigelk> ah | ||
| [2011/11/10 12:13:36] <walkeran> hobbeswalsh: Ah, nice :) Glad to hear! | ||
| [2011/11/10 12:13:40] <nigelk> no, that's all me :) | ||
| [2011/11/10 12:13:41] <walkeran> And, good to know | ||
| [2011/11/10 12:13:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:13:53] @ tilgovi joined channel #puppet | ||
| [2011/11/10 12:13:54] @ Quit: tilgovi: Changing host | ||
| [2011/11/10 12:13:54] @ tilgovi joined channel #puppet | ||
| [2011/11/10 12:14:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:14:27] <bgupta> Cool.. I can't even remember now why I was asking. | ||
| [2011/11/10 12:14:50] <bgupta> I know I had a question.. but when I remeber I know who to ask | ||
| [2011/11/10 12:17:07] @ Quit: the_ramink: Ping timeout: 252 seconds | ||
| [2011/11/10 12:18:16] @ soh joined channel #puppet | ||
| [2011/11/10 12:18:23] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/10 12:21:53] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 12:22:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:23:38] @ Quit: trevs: Ping timeout: 258 seconds | ||
| [2011/11/10 12:24:11] @ Quit: ckauhaus: Remote host closed the connection | ||
| [2011/11/10 12:24:34] @ ckauhaus joined channel #puppet | ||
| [2011/11/10 12:24:42] @ Quit: ckauhaus: Client Quit | ||
| [2011/11/10 12:24:59] @ ckauhaus joined channel #puppet | ||
| [2011/11/10 12:25:05] <brandon_dacrib> bah, what was the name of the tool to build rpms from source packages | ||
| [2011/11/10 12:25:11] <brandon_dacrib> I know I saw it here 1st… | ||
| [2011/11/10 12:25:17] <walkeran> FPM? | ||
| [2011/11/10 12:26:00] <brandon_dacrib> YES! thx. | ||
| [2011/11/10 12:26:06] <walkeran> No prob :) | ||
| [2011/11/10 12:27:24] <brandon_dacrib> must have drank that memory away last weekend | ||
| [2011/11/10 12:27:37] <walkeran> Hah! It happens :P | ||
| [2011/11/10 12:28:06] @ Quit: joe-mac: Read error: Connection reset by peer | ||
| [2011/11/10 12:28:31] <cparedes> hey guys - is there a way to create a template and manage it within a provider? | ||
| [2011/11/10 12:28:39] @ Quit: edovale: Quit: edovale | ||
| [2011/11/10 12:29:07] <bgupta> nigel I'm thinking it was just a query on target release for 2.0 still on track for 14th. | ||
| [2011/11/10 12:29:11] @ joe-mac joined channel #puppet | ||
| [2011/11/10 12:29:20] <cparedes> err... hm. actually, i'll have to think about this a bit more, i might just have the resource 'autorequire' the appropriate resource. | ||
| [2011/11/10 12:29:51] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 12:30:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:30:19] @ cr3 joined channel #puppet | ||
| [2011/11/10 12:31:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:32:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:32:58] @ jiboumans_ joined channel #puppet | ||
| [2011/11/10 12:33:35] <jiboumans_> howdy folks, i have a question about hashes; since puppet throws an error if i try to access $hash[a][b] if a is not a valid key, how do i test for that condition? | ||
| [2011/11/10 12:33:42] @ Quit: gucki: Ping timeout: 240 seconds | ||
| [2011/11/10 12:33:50] <jiboumans_> this is on 2.6.3 | ||
| [2011/11/10 12:34:28] @ gucki joined channel #puppet | ||
| [2011/11/10 12:34:30] @ Quit: benkevan: Ping timeout: 240 seconds | ||
| [2011/11/10 12:35:27] <indigo> so hum. The nagios_* resources want to put their stuff in /etc/nagios/whatever, but i want them to go in /etc/nagios3/conf.d. How do I accomplish that, short of specifying target => every time i use them? | ||
| [2011/11/10 12:35:37] @ benkevan joined channel #puppet | ||
| [2011/11/10 12:35:55] <indigo> i don't want to do that because it breaks encapsulation; the location of the configuration is a property of the nagios host, not the thing being monitored. | ||
| [2011/11/10 12:36:14] @ Quit: newtMcKerr: Ping timeout: 260 seconds | ||
| [2011/11/10 12:36:21] <cr3> if I want to write a postgresql::service class that needs to know about the version of postgresql installed, what's the difference between passing the version as argument and defining another postgresql::common class with a $version variable? both work, just wondering which is most appropriate | ||
| [2011/11/10 12:37:07] <jiboumans_> indigo: you could set it globally: Nagios::Command[ Target => … ], alternately, symlink /etc/nagios to the dir you want | ||
| [2011/11/10 12:37:09] @ jkoppe joined channel #puppet | ||
| [2011/11/10 12:37:10] <jiboumans_> (if that's an option) | ||
| [2011/11/10 12:37:33] <indigo> jiboumans_: almost, except i'd like each host in a separate file | ||
| [2011/11/10 12:37:37] <jiboumans_> cr3: i like to keep that stuff in a seperate params.pp file, so it can be included form elsewhere | ||
| [2011/11/10 12:37:43] <nigelk> bgupta: yes, it is | ||
| [2011/11/10 12:37:53] * nigelk modifies new client to highlight on 'nigel' as well | ||
| [2011/11/10 12:37:57] <jiboumans_> indigo: for that puprose, i've written wrappers | ||
| [2011/11/10 12:38:13] <jiboumans_> mycorp::nagios( target => … ) | ||
| [2011/11/10 12:38:28] <jiboumans_> and then call the builtin, with the things munged you want. auto-suffixing with $fqdn for example | ||
| [2011/11/10 12:38:38] <jiboumans_> nigelk: just the man that can answer my question >:) | ||
| [2011/11/10 12:38:47] <indigo> jiboumans_: i don't suppose there's a way to write a wrapper such that i don't have to enumerate every single attribute the native nagios_* resources take | ||
| [2011/11/10 12:38:48] <nigelk> oh dear | ||
| [2011/11/10 12:39:34] @ marczak joined channel #puppet | ||
| [2011/11/10 12:39:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 12:39:52] <jiboumans_> indigo: that's where my deep insights end really.. at that point i'd look at how the resource is implemented inside puppet. others here may have better suggestions though | ||
| [2011/11/10 12:40:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:40:04] <jiboumans_> nigelk: i have a question about hashes; since puppet throws an error if i try to access $hash[a][b] if a is not a valid key, how do i test for that condition? | ||
| [2011/11/10 12:40:31] <nigelk> several not ideal answers | ||
| [2011/11/10 12:40:35] <nigelk> a) inline_template | ||
| [2011/11/10 12:40:38] <nigelk> b) custom function | ||
| [2011/11/10 12:40:49] <nigelk> c) I look at whether we're adding this to stdlib... | ||
| [2011/11/10 12:41:04] @ Quit: maes_: Read error: Connection reset by peer | ||
| [2011/11/10 12:41:04] <jiboumans_> nigelk: ok.. my use case is this: | ||
| [2011/11/10 12:41:05] <nigelk> d) we proceed on the feature request for an 'in' keyword a la python | ||
| [2011/11/10 12:41:28] <cr3> jiboumans_: so you would have class postgresql::common in params.pp, right? | ||
| [2011/11/10 12:41:31] * indigo is somewhat inclined to not use the nagios_* resources...they seem to be more trouble than they are worth | ||
| [2011/11/10 12:41:31] @ djmitche joined channel #puppet | ||
| [2011/11/10 12:41:32] <jiboumans_> given a config that's being written out, i want to look for facts specific to this config as provided by an ENC that might override the defautls | ||
| [2011/11/10 12:41:46] <jiboumans_> cr3: i'd include params.pp in all your postgresql::* classes | ||
| [2011/11/10 12:41:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:41:51] <djmitche> I'm being stupid and stressed out - does "cannot acces mount[production]" come from an SSL error or a fileserver.conf error? | ||
| [2011/11/10 12:41:57] <jiboumans_> indigo: might be something that scratches your itch on the forge actually | ||
| [2011/11/10 12:42:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:42:06] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/10 12:42:16] @ maes_ joined channel #puppet | ||
| [2011/11/10 12:42:32] <jiboumans_> nigelk: whatever lets me check easily if a more specific value is there, and use it to override the default is good | ||
| [2011/11/10 12:42:50] <jiboumans_> an rtfm pointer would be great as well (also, link that rtfm pointer from the docs :) | ||
| [2011/11/10 12:43:04] <nigelk> jiboumans_: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/has_key.rb | ||
| [2011/11/10 12:43:07] <hajile> will i run into problems having this in a 0.25.5 puppetmaster config file? http://pastebin.com/FjtkMRQG | ||
| [2011/11/10 12:43:12] <nigelk> install puppetlabs-stdlib and use that function :) | ||
| [2011/11/10 12:43:24] <hajile> i guess i can just try, but i don't currently have a convenient way to test this | ||
| [2011/11/10 12:43:33] <jiboumans_> nigelk: sweet.. how do i do that? | ||
| [2011/11/10 12:43:43] <nigelk> what puppet version are you on? | ||
| [2011/11/10 12:43:44] <indigo> personally i see a lot of puppet modules that try to redesign the configuration of some software as puppet resources rather than files, and it seems kinda silly...a config file is exactly a file, and the config file is more expressive than a puppet resource, and exactly what is needed | ||
| [2011/11/10 12:43:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:44:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:44:08] <jiboumans_> nigelk: 2.6.3 | ||
| [2011/11/10 12:44:25] <nigelk> ok | ||
| [2011/11/10 12:44:29] <nigelk> gem install puppet-module | ||
| [2011/11/10 12:44:39] <nigelk> cd $modulepath ; puppet-module install puppetlabs-stdlib | ||
| [2011/11/10 12:45:03] <nigelk> and it will get the latest stable version from the Forge with that has_key function in it. | ||
| [2011/11/10 12:45:19] <jiboumans_> nigelk: if 2.6.3 comes from an apt repo (basically, packaged like 0.24.x was on 10.04), that's expect to work, yes? | ||
| [2011/11/10 12:45:23] <nigelk> yes | ||
| [2011/11/10 12:45:32] <jiboumans_> nigelk, cheers | ||
| [2011/11/10 12:45:33] <nigelk> but I would try to get a newer version honestly. | ||
| [2011/11/10 12:45:38] <jiboumans_> than.. 2.6.3? | ||
| [2011/11/10 12:45:47] <jiboumans_> cool, package 2.6.x on your apt repo and i will | ||
| [2011/11/10 12:45:50] <jiboumans_> 2.7 breaks configs | ||
| [2011/11/10 12:45:53] <nigelk> yeah if you can, what platform? | ||
| [2011/11/10 12:45:58] <jiboumans_> ubuntu 10.04 | ||
| [2011/11/10 12:46:23] <nigelk> so I'm about to get dragged off, but can you mail me about the configs that 2.7.x is breaking for you? | ||
| [2011/11/10 12:46:25] @ Quit: lborda: Remote host closed the connection | ||
| [2011/11/10 12:46:25] <jiboumans_> you have 2.7 packaged (awesome) and 2.6.x with it woudl be even awesomer | ||
| [2011/11/10 12:46:27] <nigelk> nigel@puppetlabs.com | ||
| [2011/11/10 12:46:28] @ Quit: mawser: Quit: mawser | ||
| [2011/11/10 12:46:46] <jiboumans_> nigelk: not easily without upgrading our puppet master (which happened accidentally) | ||
| [2011/11/10 12:46:54] <jiboumans_> nigelk: but we can discuss later, would love to give you useful feedback | ||
| [2011/11/10 12:46:56] <nigelk> :( | ||
| [2011/11/10 12:47:02] <nigelk> awesome. | ||
| [2011/11/10 12:47:04] <jiboumans_> nigelk: thanks for the puppet-stdlibs pointer, i'm going to try that now | ||
| [2011/11/10 12:47:05] <natewalck> Anyone run Puppet on CentOS 6 ? | ||
| [2011/11/10 12:47:15] <natewalck> (PuppetMaster) | ||
| [2011/11/10 12:47:33] @ edovale joined channel #puppet | ||
| [2011/11/10 12:47:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:48:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:48:52] <djmitche> ergh, editing the wrong fileserver.conf file. phew. | ||
| [2011/11/10 12:48:55] @ djmitche left channel #puppet () | ||
| [2011/11/10 12:49:20] @ jongrocho joined channel #puppet | ||
| [2011/11/10 12:49:57] @ fronlius joined channel #puppet | ||
| [2011/11/10 12:50:43] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/10 12:51:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 12:52:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 12:52:17] @ mitchellh joined channel #puppet | ||
| [2011/11/10 12:52:42] @ Quit: kangman: Remote host closed the connection | ||
| [2011/11/10 12:53:02] <hajile> jpalmer: puppet apply ftw, thanks for the tip! | ||
| [2011/11/10 12:53:14] @ kangman joined channel #puppet | ||
| [2011/11/10 12:53:18] <hajile> jpalmer: also the foreman stuff, that helped as well. | ||
| [2011/11/10 12:56:04] @ ghg joined channel #puppet | ||
| [2011/11/10 12:56:43] @ mawser joined channel #puppet | ||
| [2011/11/10 12:56:45] @ Quit: abetterlie: Quit: Lost terminal | ||
| [2011/11/10 12:56:46] @ Quit: smooth_p_: Ping timeout: 255 seconds | ||
| [2011/11/10 12:56:51] @ Quit: natewalck: Quit: Outta here | ||
| [2011/11/10 12:56:51] <jiboumans_> nigelk: awesome tip, seems to be working | ||
| [2011/11/10 12:56:59] <nigelk> woot! | ||
| [2011/11/10 12:57:13] <nigelk> we've got lots of cool stuff in stdlib, it's separate from core so it can have a faster release cycle | ||
| [2011/11/10 12:57:21] <nigelk> and we can identify the most used things and get them into core | ||
| [2011/11/10 12:58:12] <jkoppe> jiboumans_: can you pastbin/pastie/gist the errors you're seeing in your 2.7 upgrade | ||
| [2011/11/10 12:58:18] @ djm68 joined channel #puppet | ||
| [2011/11/10 12:58:20] <jkoppe> i had some things i sortted through, might be able to help | ||
| [2011/11/10 12:59:02] <jiboumans_> jkoppe: much appreciated. i wasn't smart enough to save the logs off the ec2 instance before amazon decided to hose it unfortunately, so i'll have to do a seperate install/upgrade again to reproduce. | ||
| [2011/11/10 12:59:14] <jiboumans_> jkoppe: which is scary right now as i don't have a 'test' puppet master | ||
| [2011/11/10 12:59:28] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/11/10 12:59:56] <jkoppe> i used my real puppet master to test | ||
| [2011/11/10 13:00:02] <jkoppe> lemmme show you how | ||
| [2011/11/10 13:00:16] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 13:00:17] <jiboumans_> jkoppe: that'd be awesome.. | ||
| [2011/11/10 13:00:28] @ marrusl joined channel #puppet | ||
| [2011/11/10 13:00:56] @ Quit: marrusl: Read error: Connection reset by peer | ||
| [2011/11/10 13:01:51] <jkoppe> http://pastie.org/private/cvgpnv8z0vu1pmhpyvcga | ||
| [2011/11/10 13:01:52] @ Quit: The-Bat: Read error: Connection reset by peer | ||
| [2011/11/10 13:02:00] <jkoppe> i just straight upgraded a few agents to 2.7.6 | ||
| [2011/11/10 13:02:03] <jkoppe> and used a git branch | ||
| [2011/11/10 13:02:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:02:06] <jkoppe> on the real master | ||
| [2011/11/10 13:02:18] <jkoppe> with the new master starting on a different port | ||
| [2011/11/10 13:02:59] <jiboumans_> nice.. i'd run the actual install using puppetlabs' apt repo, but for testing purposes, this'd wokr nicely | ||
| [2011/11/10 13:03:16] <jiboumans_> in fact, i already run local puppet masters for developers keyed against difference git branches for development | ||
| [2011/11/10 13:03:23] <jkoppe> there ya go | ||
| [2011/11/10 13:03:26] <jiboumans_> so this is the same trick, just chaning the puppet binary | ||
| [2011/11/10 13:03:29] <jiboumans_> nice, thanks | ||
| [2011/11/10 13:03:29] <jkoppe> yeh | ||
| [2011/11/10 13:03:32] <jkoppe> you bet | ||
| [2011/11/10 13:03:39] @ Quit: dwalu: Remote host closed the connection | ||
| [2011/11/10 13:03:54] @ dwalu joined channel #puppet | ||
| [2011/11/10 13:04:00] <jkoppe> i install from the puppetlabs repo too, i just use the git branches for testing | ||
| [2011/11/10 13:07:40] @ rcrowley joined channel #puppet | ||
| [2011/11/10 13:08:23] @ Quit: mawser: Remote host closed the connection | ||
| [2011/11/10 13:08:40] @ mawser joined channel #puppet | ||
| [2011/11/10 13:08:51] @ lkoranda joined channel #puppet | ||
| [2011/11/10 13:08:51] @ Quit: lkoranda: Client Quit | ||
| [2011/11/10 13:11:00] @ Quit: gucki: Remote host closed the connection | ||
| [2011/11/10 13:11:32] @ the_ramink joined channel #puppet | ||
| [2011/11/10 13:13:30] <clustermagnet> guys, how do i stick a .jsp file into a template? :P | ||
| [2011/11/10 13:13:31] <clustermagnet> http://pastie.org/2843866 | ||
| [2011/11/10 13:13:44] <clustermagnet> naturally shtuff beginning with <% borks out | ||
| [2011/11/10 13:14:08] <clustermagnet> on line 19, i need it to stick in the servlet_name variable coming from manifest | ||
| [2011/11/10 13:14:31] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 13:15:39] @ Quit: edovale: Quit: edovale | ||
| [2011/11/10 13:15:40] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/10 13:15:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 13:16:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:16:08] <nate_h> clustermagnet, ouch | ||
| [2011/11/10 13:16:35] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/10 13:16:35] <nate_h> i wonder if there is a way to change the separator variable | ||
| [2011/11/10 13:16:35] @ fir31ight joined channel #puppet | ||
| [2011/11/10 13:16:40] @ emergion joined channel #puppet | ||
| [2011/11/10 13:17:38] @ Quit: alfism: Quit: alfism | ||
| [2011/11/10 13:17:46] @ neonflux joined channel #puppet | ||
| [2011/11/10 13:17:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:18:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:19:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:20:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:20:19] <nate_h> clustermagnet, you could escape the jsp comments | ||
| [2011/11/10 13:20:22] <nate_h> with <## | ||
| [2011/11/10 13:20:31] <nate_h> <%% | ||
| [2011/11/10 13:20:45] <nate_h> http://stackoverflow.com/questions/2322413/how-do-i-escape-erb-code-in-fixtures | ||
| [2011/11/10 13:21:13] @ duerF joined channel #puppet | ||
| [2011/11/10 13:23:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:24:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:25:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:26:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:26:20] @ edovale joined channel #puppet | ||
| [2011/11/10 13:28:01] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/10 13:29:12] @ Quit: emergion: Quit: later... | ||
| [2011/11/10 13:29:29] <clustermagnet> nate_h: thanks! :P | ||
| [2011/11/10 13:29:50] @ Holocaine joined channel #puppet | ||
| [2011/11/10 13:29:51] <clustermagnet> ouch is right | ||
| [2011/11/10 13:30:21] <nate_h> clustermagnet, maybe it would be better to restructure the code so it reads from an external data source | ||
| [2011/11/10 13:30:24] <nate_h> instead of templating | ||
| [2011/11/10 13:30:25] @ sumsuch joined channel #puppet | ||
| [2011/11/10 13:35:56] @ Quit: marczak: Ping timeout: 260 seconds | ||
| [2011/11/10 13:36:55] @ Quit: the_ramink: Read error: Connection reset by peer | ||
| [2011/11/10 13:36:55] <clustermagnet> nate_h: dood, cant | ||
| [2011/11/10 13:37:14] <clustermagnet> also, this way i can push new app deployments every week | ||
| [2011/11/10 13:37:33] <clustermagnet> sales people actually change their mind about <% servlet_name %> all the fucking time | ||
| [2011/11/10 13:37:35] @ the_ramink joined channel #puppet | ||
| [2011/11/10 13:38:06] <clustermagnet> and the developers are using Jahia's core without any modifications, | ||
| [2011/11/10 13:38:07] <clustermagnet> long story | ||
| [2011/11/10 13:38:22] @ abetterlie joined channel #puppet | ||
| [2011/11/10 13:38:30] <clustermagnet> anyways, will do what you suggested, thanks man | ||
| [2011/11/10 13:38:38] <nate_h> clustermagnet, maybe template with something other then ruby too | ||
| [2011/11/10 13:38:40] <nate_h> clustermagnet, shrug | ||
| [2011/11/10 13:39:01] <nate_h> clustermagnet, if its just one single entry puppet has functions for regexp search/replace | ||
| [2011/11/10 13:39:04] @ swankier joined channel #puppet | ||
| [2011/11/10 13:39:05] @ Quit: swankier: Changing host | ||
| [2011/11/10 13:39:05] @ swankier joined channel #puppet | ||
| [2011/11/10 13:39:16] <nate_h> clustermagnet, then you can create some crazy tag like <$$$$$ my name $$$$$> and replace that | ||
| [2011/11/10 13:39:19] <clustermagnet> uhm…. hmmm | ||
| [2011/11/10 13:39:22] <clustermagnet> yes! | ||
| [2011/11/10 13:39:25] <clustermagnet> can do that ;) | ||
| [2011/11/10 13:39:32] <nate_h> KACHOW! | ||
| [2011/11/10 13:39:37] <swankier> hi there :) | ||
| [2011/11/10 13:39:46] <nate_h> swankier, then what | ||
| [2011/11/10 13:39:48] <nate_h> :) | ||
| [2011/11/10 13:39:56] <swankier> quick question, how do I reference a variable from a separate module? | ||
| [2011/11/10 13:40:16] <clustermagnet> http://docs.puppetlabs.com/guides/templating.html | ||
| [2011/11/10 13:40:19] <swankier> I tried require <class> and then ${<class>::params::variable}, but it doesn't seem to work | ||
| [2011/11/10 13:40:26] <nate_h> swankier, if you have that other module loaded it should just work with the scoping | ||
| [2011/11/10 13:40:34] <clustermagnet> define the variable higher? | ||
| [2011/11/10 13:40:43] <nate_h> that's not really a good solution :P | ||
| [2011/11/10 13:40:45] <nate_h> globals suck | ||
| [2011/11/10 13:40:58] @ Quit: FARE-SEARCH_COM: Ping timeout: 256 seconds | ||
| [2011/11/10 13:40:58] <nate_h> you sure you're loading the params class ? | ||
| [2011/11/10 13:41:01] <nate_h> vs just the top level class | ||
| [2011/11/10 13:41:32] <nate_h> put a notify in the params class and make sure its actually loading | ||
| [2011/11/10 13:41:41] @ toi joined channel #puppet | ||
| [2011/11/10 13:42:48] <hajile> I realize this may result in getting flamed, but I'm honestly stuck here.. my certs match as far as I can tell and the great google in the sky isn't helping.. i'm trying to bring up a new test environment using passenger, and i'm getting this trying to run a puppet agent --test against it: http://pastebin.com/eWXY58en | ||
| [2011/11/10 13:43:17] <clustermagnet> ntp synced? :) | ||
| [2011/11/10 13:43:20] <clustermagnet> without looking | ||
| [2011/11/10 13:43:26] <nate_h> well it says hostname doesn't match server cert | ||
| [2011/11/10 13:43:30] <hajile> it's the puppet master running against itself | ||
| [2011/11/10 13:43:34] <hajile> it does though :/ | ||
| [2011/11/10 13:43:39] <hajile> let me pastebin that, 1 sec | ||
| [2011/11/10 13:43:43] <nate_h> certs suck i hate them | ||
| [2011/11/10 13:44:00] <dpittman> hajile: Are you trying to access '--server localhost' or something? The actual *DNS* name that you connect to matters. :( | ||
| [2011/11/10 13:44:05] @ peridot joined channel #puppet | ||
| [2011/11/10 13:44:12] @ Quit: blitzrage: Quit: All right. Where is the poison? The battle of wits has begun. It ends when you decide and we both drink, and find out who is right... and who is dead. | ||
| [2011/11/10 13:44:13] <hajile> all i ran was puppet --agent --test | ||
| [2011/11/10 13:44:18] <hajile> will that assume localhost? | ||
| [2011/11/10 13:44:23] <hajile> or should i call out the fqdn? | ||
| [2011/11/10 13:44:37] <dpittman> hajile: It should talk to whatever your default server is; out of the box, `puppet` | ||
| [2011/11/10 13:44:39] <peridot> Hey, when you set a package to ensure => remove, what happens if that package has dependencies? | ||
| [2011/11/10 13:44:50] <hajile> that's been my experience | ||
| [2011/11/10 13:44:53] @ jab_doa joined channel #puppet | ||
| [2011/11/10 13:44:53] @ Quit: jab_doa: Changing host | ||
| [2011/11/10 13:44:54] @ jab_doa joined channel #puppet | ||
| [2011/11/10 13:44:55] <hajile> hmm. | ||
| [2011/11/10 13:44:55] <dpittman> hajile: `puppet agent --configprint server` should do that. | ||
| [2011/11/10 13:45:03] <dpittman> hajile: *tell you that* | ||
| [2011/11/10 13:45:15] <hajile> where server is my hostname or the actual word server | ||
| [2011/11/10 13:45:20] @ marczak joined channel #puppet | ||
| [2011/11/10 13:45:20] <hajile> ? | ||
| [2011/11/10 13:45:25] <dpittman> hajile: The actual word server. :) | ||
| [2011/11/10 13:45:30] <nate_h> peridot, depends what your provider does i'd guess. | ||
| [2011/11/10 13:45:32] <hajile> just making sure :) | ||
| [2011/11/10 13:45:38] <nate_h> peridot, some just delete, some fail unless you say "yes" | ||
| [2011/11/10 13:45:45] @ Quit: mcarpent: Ping timeout: 258 seconds | ||
| [2011/11/10 13:45:45] <dpittman> hajile: (it prints the config setting 'server', as in 'server = whatever', or '--server=whatever' :) | ||
| [2011/11/10 13:45:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 13:45:53] <peridot> they'll delete the dependencies too? | ||
| [2011/11/10 13:45:57] <hajile> yeah it's returning puppet | ||
| [2011/11/10 13:45:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:45:58] <hajile> hmm. | ||
| [2011/11/10 13:46:05] <nate_h> peridot, you'd have to test to see what your provider does | ||
| [2011/11/10 13:46:10] <peridot> ok | ||
| [2011/11/10 13:47:19] <dpittman> hajile: ...and the SSL certificate you have passenger configured to use, is that for `puppet`? | ||
| [2011/11/10 13:47:36] <dpittman> hajile: (openssl s_client can be very useful to figure that out. :) | ||
| [2011/11/10 13:47:43] @ the_ramink_ joined channel #puppet | ||
| [2011/11/10 13:47:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:47:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:48:19] <hajile> it is not. | ||
| [2011/11/10 13:48:26] <hajile> it's configured for the fqdn | ||
| [2011/11/10 13:48:29] <hajile> of the host | ||
| [2011/11/10 13:48:49] <hajile> what's confusing is, my current puppetmaster is configured identically | ||
| [2011/11/10 13:48:53] <dpittman> hajile: Does it have a subjectAltName that includes puppet, and puppet.$fqdn? It generally would.... | ||
| [2011/11/10 13:48:55] <hajile> and it works | ||
| [2011/11/10 13:49:12] <hajile> let me see | ||
| [2011/11/10 13:49:18] <dpittman> hajile: at least, generally would if it was a CA when you bootstrapped the machine. :) | ||
| [2011/11/10 13:49:31] @ NightMonkey joined channel #puppet | ||
| [2011/11/10 13:49:42] <hajile> i need to check /var/lib/puppet/ssl/hostname.pem? | ||
| [2011/11/10 13:49:45] <dpittman> hajile: Anyway, you need to get your certificate (subject, or subjectAltName), and the value of `server`, to match. :) | ||
| [2011/11/10 13:49:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:49:54] <dpittman> hajile: Whatever certificate Passenger is serving up. | ||
| [2011/11/10 13:49:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:49:58] <hajile> ok | ||
| [2011/11/10 13:50:15] <dpittman> hajile: SSL is, indeed, a headache, at times. :) | ||
| [2011/11/10 13:50:26] <hajile> dpittman: ssl is painful for me, yes :) | ||
| [2011/11/10 13:50:35] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/10 13:50:38] <dpittman> hajile: Not just you, I assure you. :) | ||
| [2011/11/10 13:50:41] <hajile> so how exactly can i check this, if my cert is called cert.pem | ||
| [2011/11/10 13:50:45] <nate_h> there are some guides on the certs out there | ||
| [2011/11/10 13:50:49] <nate_h> that have openssl commands etc | ||
| [2011/11/10 13:50:53] <nate_h> that you can use to verify everything matches up | ||
| [2011/11/10 13:51:13] @ Quit: the_ramink: Ping timeout: 255 seconds | ||
| [2011/11/10 13:52:25] <Volcane> openssl x509 -in foo.pem -text | ||
| [2011/11/10 13:52:42] <Volcane> look for "X509v3 Subject Alternative Name" | ||
| [2011/11/10 13:53:22] @ peridot left channel #puppet () | ||
| [2011/11/10 13:53:35] <hajile> i don't see one | ||
| [2011/11/10 13:53:37] <hajile> odd. | ||
| [2011/11/10 13:53:41] <hajile> let me check my existing puppetmaster | ||
| [2011/11/10 13:54:08] @ Quit: edovale: Quit: edovale | ||
| [2011/11/10 13:54:38] @ Quit: kangman: Remote host closed the connection | ||
| [2011/11/10 13:55:04] @ the_ramink__ joined channel #puppet | ||
| [2011/11/10 13:55:06] <hajile> ok so i think I know why this is jacked.. | ||
| [2011/11/10 13:55:14] <hajile> alternative names are read from /etc/hosts? | ||
| [2011/11/10 13:55:31] @ the_ramink__ is now known as the_ramink | ||
| [2011/11/10 13:55:35] <Volcane> no puppet.conf | ||
| [2011/11/10 13:55:36] <hajile> and if the puppet alias isn't in there at the time when the cert is built, it won't be present in the cert... is that true? | ||
| [2011/11/10 13:55:51] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 13:55:55] <Volcane> at the time the cert is made - typically first time you started the master up right after install or something | ||
| [2011/11/10 13:55:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:56:01] <hajile> yup | ||
| [2011/11/10 13:56:04] <hajile> ok | ||
| [2011/11/10 13:56:10] @ Quit: the_ramink_: Ping timeout: 255 seconds | ||
| [2011/11/10 13:56:22] <hajile> let me nuke the existing cert and try again | ||
| [2011/11/10 13:56:22] <Volcane> and by default if you just left it alone it would have puppet, puppet.$domain and $fqdn | ||
| [2011/11/10 13:56:30] @ Quit: negronjl: Ping timeout: 240 seconds | ||
| [2011/11/10 13:56:38] @ skm joined channel #puppet | ||
| [2011/11/10 13:56:38] <hajile> even with nothing about "puppet" in /etc/hosts? | ||
| [2011/11/10 13:56:51] <Volcane> nothing to do with hosts file | ||
| [2011/11/10 13:56:54] <hajile> ok | ||
| [2011/11/10 13:56:57] <swankier> nate_h: what would that notify look like? | ||
| [2011/11/10 13:57:01] @ Quit: jiboumans_: Ping timeout: 240 seconds | ||
| [2011/11/10 13:57:08] <hajile> well so it didn't add any of the puppet aliases to the cert | ||
| [2011/11/10 13:57:30] <hajile> and this is just the cert that was created the first time i launched the puppetmaster | ||
| [2011/11/10 13:57:33] <swankier> (to check if a require worked) | ||
| [2011/11/10 13:57:38] <nate_h> swankier, notify { "This class was loaded" : } | ||
| [2011/11/10 13:57:44] <nate_h> then it shows up in the client log | ||
| [2011/11/10 13:57:48] @ mcarpent joined channel #puppet | ||
| [2011/11/10 13:57:49] <swankier> OH | ||
| [2011/11/10 13:57:52] <swankier> in the other class! | ||
| [2011/11/10 13:57:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 13:57:53] <swankier> I see. | ||
| [2011/11/10 13:57:58] <nate_h> notice ("this class was loaded") shows on the server log | ||
| [2011/11/10 13:57:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 13:58:17] <hajile> volcane: any ideas for how to remedy this? | ||
| [2011/11/10 13:58:30] <hajile> sorry this is such a basic problem | ||
| [2011/11/10 13:58:49] @ the_ramink_ joined channel #puppet | ||
| [2011/11/10 13:58:50] <nate_h> Volcane, hey I can't remember if you ever answered, but is there some way to specify a hierarchy in the puppet backend for hiera? | ||
| [2011/11/10 13:58:56] <nate_h> vs just data.pp | ||
| [2011/11/10 13:58:58] <clustermagnet> nate_h: im still missing something... | ||
| [2011/11/10 13:59:00] <hajile> the cert on my existing puppetmaster looks just fine | ||
| [2011/11/10 13:59:06] <Volcane> nate_h: it honors the configured hierarchy yes | ||
| [2011/11/10 13:59:14] <clustermagnet> sion 1.0 (the "License"), or (at your ...#012 ^#012/etc/puppet/modules/jahia/templates/index.jsp.erb:5: syntax error#012 | ||
| [2011/11/10 13:59:14] <gepetto> clustermagnet: #012 is http://projects.puppetlabs.com/issues/show/012 "Puppet - Feature #12: Support processes in addition to services. It has a status of Closed and is assigned to Luke Kanies" | ||
| [2011/11/10 13:59:31] @ jiboumans_ joined channel #puppet | ||
| [2011/11/10 13:59:49] <clustermagnet> http://pastie.org/2843866 | ||
| [2011/11/10 13:59:51] <nate_h> Volcane, but its in a different datadir | ||
| [2011/11/10 13:59:52] @ Quit: The-Bat: Read error: Connection reset by peer | ||
| [2011/11/10 13:59:53] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/11/10 13:59:56] <clustermagnet> it really doesnt like the <%— i think | ||
| [2011/11/10 13:59:57] <clustermagnet> :) | ||
| [2011/11/10 13:59:59] <Volcane> nate_h: see the example @ https://github.com/puppetlabs/hiera-puppet/tree/master/example and u can see how it would look it up | ||
| [2011/11/10 14:00:02] @ Djelibeybi joined channel #puppet | ||
| [2011/11/10 14:00:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:00:08] <nate_h> Volcane, k reading | ||
| [2011/11/10 14:00:13] <Volcane> nate_h: it maps the hierarchy onto a bunch of predictably named puppet classes | ||
| [2011/11/10 14:00:14] @ Quit: the_ramink: Ping timeout: 260 seconds | ||
| [2011/11/10 14:00:31] @ Quit: indigo: Quit: leaving | ||
| [2011/11/10 14:00:33] <swankier> hmm... | ||
| [2011/11/10 14:00:36] <swankier> I never see the notify trigger. | ||
| [2011/11/10 14:00:50] <nate_h> clustermagnet, ya, i'd try and do a regular expression replace with an exec or somethign | ||
| [2011/11/10 14:01:03] <nate_h> clustermagnet, file resource for jsp + a notify to the exec | ||
| [2011/11/10 14:01:33] <Volcane> hajile: just dont set certname etc in your puppet.conf and start up the master in webrick mode after deleting the old certs | ||
| [2011/11/10 14:01:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:01:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:02:17] <clustermagnet> nate_h: yep got ya! | ||
| [2011/11/10 14:02:18] <clustermagnet> thanks! | ||
| [2011/11/10 14:02:19] @ frostynova joined channel #puppet | ||
| [2011/11/10 14:02:30] <hajile> Volcane: that's odd, I thought I did that.. let me try again. | ||
| [2011/11/10 14:02:35] <swankier> syntax error. nm. | ||
| [2011/11/10 14:02:39] <clustermagnet> thats the right way to go anyways | ||
| [2011/11/10 14:02:45] <nate_h> Volcane, ah so if I had %{environment} in the config and my env name is "foo" i could have foo.pp in manifests and it would look in that file | ||
| [2011/11/10 14:02:48] @ mrwacky42 joined channel #puppet | ||
| [2011/11/10 14:03:05] <Volcane> nate_h: data::foo yes | ||
| [2011/11/10 14:03:15] <nate_h> Volcane, oh | ||
| [2011/11/10 14:03:22] <Volcane> assuming you config'd it for that | ||
| [2011/11/10 14:03:29] <nate_h> now i get it :) | ||
| [2011/11/10 14:03:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:03:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:04:39] @ Quit: mrwacky42: Client Quit | ||
| [2011/11/10 14:05:33] <swankier> so in short… this is what is not working: if ("${fdqn}" != "${yum::params::realrepomaster}" ) { | ||
| [2011/11/10 14:05:42] <swankier> oh. | ||
| [2011/11/10 14:05:47] <nate_h> maybe your if is just dumb | ||
| [2011/11/10 14:05:48] <swankier> I'm so embarressed. | ||
| [2011/11/10 14:05:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:05:53] <swankier> :) | ||
| [2011/11/10 14:05:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:06:08] <nate_h> typo in the var name ? hehe | ||
| [2011/11/10 14:06:14] <swankier> thanks for your help getting the variables working nate_h | ||
| [2011/11/10 14:06:17] <hajile> Volcane: Nuked the /var/lib/puppet/ssl directory, restored the webrick based config, started puppetmaster and the resulting cert doesn't have any alternate names.. :/ | ||
| [2011/11/10 14:06:34] * hajile boggles | ||
| [2011/11/10 14:06:35] <Volcane> hajile: what version? | ||
| [2011/11/10 14:06:37] <hajile> 2.7.6 | ||
| [2011/11/10 14:06:42] <nate_h> swankier, 8 times out of 10 just asking the question and then reading what you type is what makes me see my own errors :P | ||
| [2011/11/10 14:06:50] <swankier> :) | ||
| [2011/11/10 14:06:51] <swankier> so true | ||
| [2011/11/10 14:06:53] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 14:06:54] <Volcane> maybe behavior changed since the recent security shenanigans | ||
| [2011/11/10 14:06:54] <hajile> 2.7.6-2 from the puppetlabs repo | ||
| [2011/11/10 14:07:24] <hajile> is there a way to add the alternate names after the fact? | ||
| [2011/11/10 14:07:37] <hajile> i guess that'd be silly to be able to do that, but i guess you never know | ||
| [2011/11/10 14:07:38] @ Quit: sascha_: Read error: Connection reset by peer | ||
| [2011/11/10 14:07:46] <Volcane> no just add the right config option to your puppet.conf for the alt names and make a new cert | ||
| [2011/11/10 14:07:51] @ sascha_ joined channel #puppet | ||
| [2011/11/10 14:07:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:07:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:08:33] @ Quit: blentz: Read error: Operation timed out | ||
| [2011/11/10 14:08:51] @ marrusl joined channel #puppet | ||
| [2011/11/10 14:08:57] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2011/11/10 14:09:20] <hajile> any idea which config option that is? if you don't know off the top of your head no prob, i'll poke around. | ||
| [2011/11/10 14:11:44] <hajile> ahhh dns_alt_names | ||
| [2011/11/10 14:11:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:11:53] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/10 14:11:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:12:43] @ Quit: geekbri: Remote host closed the connection | ||
| [2011/11/10 14:13:12] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/11/10 14:13:19] <hajile> Volcane/dpittman: thank you for your help! | ||
| [2011/11/10 14:13:40] <dpittman> hajile: NP. Thanks Volcane for picking up where I left off. :) | ||
| [2011/11/10 14:13:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:13:52] <hajile> i'm gonna give the dns_alt_names a shot right now | ||
| [2011/11/10 14:13:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:14:03] <hajile> but it'd be interesting to know if the behavior did indeed change | ||
| [2011/11/10 14:14:11] <hajile> because i'm not going to be the only person this will bite | ||
| [2011/11/10 14:14:33] <dpittman> hajile: We should bootstrap the same way we used to, but... | ||
| [2011/11/10 14:14:41] <hajile> agreed, it's weird. | ||
| [2011/11/10 14:14:54] <dpittman> hajile: something may have changed, or possibly: did you have `certdnsnames` in the configuration file in your master? | ||
| [2011/11/10 14:15:02] <hajile> nope | ||
| [2011/11/10 14:15:08] <hajile> i was using the stock puppet.conf from the rpm | ||
| [2011/11/10 14:15:41] <hajile> adding dns_alt_names with puppet, puppet.domain.name fixed it | ||
| [2011/11/10 14:15:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:15:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:16:55] @ carpenoctem joined channel #puppet | ||
| [2011/11/10 14:17:03] <dpittman> hajile: *shrug* Odd. If you ran `puppet agent` as the first thing you did on that machine, that wouldn't add the altnames. | ||
| [2011/11/10 14:17:07] <dpittman> hajile: Otherwise, don't know. | ||
| [2011/11/10 14:17:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:17:54] <carpenoctem> I have a simple mysql module and need to run some mysql commands upon initial startup of the service after install. | ||
| [2011/11/10 14:17:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:18:02] <carpenoctem> How do I go about that? | ||
| [2011/11/10 14:18:04] <hajile> first thing i did was to start puppetmaster before touching anything | ||
| [2011/11/10 14:18:08] <hajile> to generate the certs | ||
| [2011/11/10 14:18:17] <hajile> which is what i've always done | ||
| [2011/11/10 14:19:31] @ negronjl joined channel #puppet | ||
| [2011/11/10 14:19:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 14:19:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:20:10] <dpittman> hajile: Hrm. The new code, after the CVE, is *supposed* to do the right thing with aliases there. | ||
| [2011/11/10 14:20:17] <dpittman> hajile: Which platform / version? | ||
| [2011/11/10 14:20:27] <dpittman> hajile: (/source of packages, if not "the distro") | ||
| [2011/11/10 14:20:37] <hajile> centos 5.6, newest available rpm from puppetlabs repo | ||
| [2011/11/10 14:20:45] <carpenoctem> anyone? just an example would be very helpful | ||
| [2011/11/10 14:20:54] <dpittman> hajile: Thanks. | ||
| [2011/11/10 14:20:58] <hajile> sure | ||
| [2011/11/10 14:21:11] <hajile> i can nuke this box and reinstall to reproduce if that would be helpful | ||
| [2011/11/10 14:21:13] <hajile> it's just a vm | ||
| [2011/11/10 14:21:30] <dpittman> hajile: Nah, don't go to that much trouble. | ||
| [2011/11/10 14:21:34] <dpittman> hajile: ...but thanks. | ||
| [2011/11/10 14:21:42] <hajile> it'll take several minutes | ||
| [2011/11/10 14:21:48] <hajile> it's all automated | ||
| [2011/11/10 14:21:51] <hajile> :) | ||
| [2011/11/10 14:22:03] <hajile> i'm gonna do it anyways for my own piece of mind | ||
| [2011/11/10 14:22:08] <hajile> because i had planned to use 2.7.6 in prod | ||
| [2011/11/10 14:22:27] @ Quit: tessier: Changing host | ||
| [2011/11/10 14:22:27] @ tessier joined channel #puppet | ||
| [2011/11/10 14:22:46] @ ghanima joined channel #puppet | ||
| [2011/11/10 14:22:52] <dpittman> hajile: Awesome. It should add the altnames if (a) it is bootstrapping the machine, (b) in master mode, (c) and is the CA | ||
| [2011/11/10 14:23:35] <hajile> ok | ||
| [2011/11/10 14:23:46] <hajile> all i'm going to do is install puppet/puppet-server and then start puppetmaster | ||
| [2011/11/10 14:24:30] @ Quit: The-Bat: Ping timeout: 240 seconds | ||
| [2011/11/10 14:26:41] <dpittman> hajile: Would you mention my nick next time you want my attention? I am going to be busy for a few minutes, and that helps me find context again. Thanks. | ||
| [2011/11/10 14:26:47] <hajile> for sure | ||
| [2011/11/10 14:27:01] <benkevan> uggg | ||
| [2011/11/10 14:27:13] <benkevan> facter fqdn just does a check for reverse dns.. and not getting hostname -f | ||
| [2011/11/10 14:27:16] <hajile> dpittman: it's almost done installing, i'll let you know the outcome when it's done. | ||
| [2011/11/10 14:27:24] <benkevan> so if you have 2 ptr's then you're f'ed anyways.. lmao | ||
| [2011/11/10 14:27:26] <benkevan> grrrr | ||
| [2011/11/10 14:28:40] <benkevan> what causes Could not evaluate: Could not retrieve file metadata for | ||
| [2011/11/10 14:31:09] @ Quit: mawser: Quit: mawser | ||
| [2011/11/10 14:31:43] @ Quit: ldlework: Ping timeout: 255 seconds | ||
| [2011/11/10 14:32:24] <hajile> dpittman: no altnames :) | ||
| [2011/11/10 14:32:25] @ johnbatch joined channel #puppet | ||
| [2011/11/10 14:32:37] @ erodriguez joined channel #puppet | ||
| [2011/11/10 14:32:54] <dpittman> hajile: Damn. OK, thanks for reproducing that. I will poke people about that possible logic bug somewhere and see if we can't fix it in a later release. | ||
| [2011/11/10 14:33:01] <dpittman> nigelk: ^^^^^ | ||
| [2011/11/10 14:33:03] <hajile> ok | ||
| [2011/11/10 14:33:36] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/10 14:33:39] <hajile> Damn, this is the second significant bug I've hit in 2.7.6 after I made the decision to move forward with it haha.. | ||
| [2011/11/10 14:33:57] @ jsnby joined channel #puppet | ||
| [2011/11/10 14:34:10] <dpittman> hajile: You have the magic "break this software all over the place" touch. ;) | ||
| [2011/11/10 14:34:20] <hajile> dpittman: it appears that way :) | ||
| [2011/11/10 14:34:28] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:35:04] <Elwell> Hi folks, is there a way to specify a specific repo that a package should be installed from, sort of package { name => foo, repo => epel } | ||
| [2011/11/10 14:35:04] <hajile> well at least I know WHY I hit this one and I can easily fix it.. the other bug is the mongrel issue where clients can't communicate facts back to the server.. | ||
| [2011/11/10 14:35:17] <hajile> no choice but to switch to passenger or wait for 2.7.7 | ||
| [2011/11/10 14:35:27] <Elwell> ie, the puppet equivalent of yum --enablerepo epel install foo | ||
| [2011/11/10 14:36:00] <hajile> did you check out the package type ref? | ||
| [2011/11/10 14:36:36] <Elwell> yeah but that (looks) like it just specifes the provider (ie, yum) | ||
| [2011/11/10 14:36:44] <hajile> hmm | ||
| [2011/11/10 14:36:54] @ Quit: kelseyhightower: Ping timeout: 240 seconds | ||
| [2011/11/10 14:37:08] <Elwell> or is it in install_options? | ||
| [2011/11/10 14:37:13] <jsnby> so, I know turning on autosign is a bad idea. I'm wondering what other people have done to enable something similar? My issue is that I have an internal cloud and when VM's are spawned, I want them to get their certs signed in a timely manner without human intervention. My current idea is to poll the puppetmaster to see if there are any CSR's and then reconcile those against our cloud provisioning software to see if there's a match, and if so, sig | ||
| [2011/11/10 14:37:15] @ tizzo-afk joined channel #puppet | ||
| [2011/11/10 14:37:22] @ Quit: cr3: Quit: leaving | ||
| [2011/11/10 14:37:24] <Elwell> hajile: from http://docs.puppetlabs.com/references/stable/type.html#package | ||
| [2011/11/10 14:37:38] <walkeran> Elwell: Nope, not install_options. There's no way to do that with the package type and the yum provider | ||
| [2011/11/10 14:37:51] <benkevan> is there a way I can find out why a node said it failed in dashboard, but "Failed" is 0? | ||
| [2011/11/10 14:38:19] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/10 14:38:46] <Elwell> walkeran: ah OK. On the roadmap? | ||
| [2011/11/10 14:38:48] <walkeran> benkevan: Did it have a successful run after the failed run? Just thinking that you might have a failed report, but the host's current status is 'ok' (or whatever it's called) | ||
| [2011/11/10 14:38:50] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/10 14:39:25] <walkeran> Elwell: I have no idea :) I don't ever use the epel repo. Anything that I want from EPEL I test and put into our in-house repository, and I've found out that that's millions times better | ||
| [2011/11/10 14:39:41] <benkevan> walkeran: but that was a successful run.. nothing failed (which IMO is successful).. is it because it took longer then the "average" time? | ||
| [2011/11/10 14:39:43] @ Quit: negronjl: Read error: Operation timed out | ||
| [2011/11/10 14:39:51] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 14:39:55] <Elwell> walkeran: I know, but when we're testing against what's in EPEL... :-) | ||
| [2011/11/10 14:39:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 14:40:07] @ nigelk left channel #puppet () | ||
| [2011/11/10 14:40:51] @ mosen joined channel #puppet | ||
| [2011/11/10 14:41:00] <walkeran> Elwell: Yeah, I don't know then :D the only other way you can pull that off, is with an exec that actually does "yum --enablerepo epel" and then uses an onlyif param to check and see if the package is up-to-date | ||
| [2011/11/10 14:41:09] <walkeran> Kludgy, I know :S | ||
| [2011/11/10 14:41:33] <walkeran> benkevan: Oo, that is strange, then. AFAIK, it doesn't do that, but I guess I could be wrong :S | ||
| [2011/11/10 14:41:51] @ mawser joined channel #puppet | ||
| [2011/11/10 14:42:21] @ Quit: mawser: Remote host closed the connection | ||
| [2011/11/10 14:42:21] <dpittman> jsnby: Sounds absolutely reasonable. We have plans, but no timeline, for making an "external script" autosign thing that would help you out building that model. | ||
| [2011/11/10 14:42:36] @ mawser joined channel #puppet | ||
| [2011/11/10 14:43:38] @ Quit: jiboumans_: Quit: jiboumans_ | ||
| [2011/11/10 14:43:41] <eric0> jsnby: you might consider pre-provisioning the keys+certs and delivering them to the clients at bootstrap time, so they're already there when puppet runs for the first time | ||
| [2011/11/10 14:44:13] <jsnby> dpittman: that sort of mechanism would be cool to see. I guess another possibility would be to auto-generate the autosign config from our cloud provisioning software | ||
| [2011/11/10 14:44:36] @ emergion joined channel #puppet | ||
| [2011/11/10 14:44:44] <dpittman> jsnby: ...but you best bet, indeed, is just poll the list of pending certificates and sign the ones you are happy with. | ||
| [2011/11/10 14:45:12] @ ona_matt joined channel #puppet | ||
| [2011/11/10 14:45:20] <nevyn> dpittman: hello | ||
| [2011/11/10 14:45:30] <dpittman> nevyn: G'day. :) | ||
| [2011/11/10 14:45:38] <jsnby> ericO: perhaps that might work....can the same pre-signed certificate be used by multiple clients? If so, that's easy for me to do....just put that certificate into the image that gets deployed | ||
| [2011/11/10 14:45:51] <ona_matt> so I see the latest ubuntu packages are 2.7.1.. are there any PPAs or other sources of packages that anyone is aware of with anything newer? | ||
| [2011/11/10 14:46:08] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/10 14:46:13] <benkevan> walkeran: http://www.picpaste.com/ah_failed-89lPeVW0.png < is what I'm talking about. | ||
| [2011/11/10 14:46:50] @ Quit: mawser: Client Quit | ||
| [2011/11/10 14:46:50] <jsnby> benkevan: click on the failed run and look at the log tab | ||
| [2011/11/10 14:47:05] <benkevan> jsnby: it's empty | ||
| [2011/11/10 14:47:07] <walkeran> benkevan: It looks like there are all sorts of nodes with failed resouces in the nodes list below | ||
| [2011/11/10 14:47:31] <benkevan> walkeran: that was the failed nodes list :) | ||
| [2011/11/10 14:47:43] <dpittman> nevyn: I am going to be busy for a few minutes; mention my nick if you want me to find your question. :) | ||
| [2011/11/10 14:47:53] <benkevan> Log | ||
| [2011/11/10 14:47:54] <benkevan> — No logs found for this report — | ||
| [2011/11/10 14:48:08] <nevyn> dpittman: just saying hi. | ||
| [2011/11/10 14:48:11] <walkeran> benkevan: Ick :( I'm stumped, then! | ||
| [2011/11/10 14:48:15] <dpittman> nevyn: Ah, cool. :) | ||
| [2011/11/10 14:48:25] <Radex> hi! | ||
| [2011/11/10 14:48:29] <dpittman> nevyn: I try to take questions seriously. That is an easy one. ;) | ||
| [2011/11/10 14:49:23] @ Quit: IndyMichaelB: Read error: Connection reset by peer | ||
| [2011/11/10 14:49:30] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/10 14:49:36] <Radex> i have problem to change 'checksum' option in File directive - looks like puppet overwrite my 'mtime' settings and always using 'md5'. Somebody know that issue? | ||
| [2011/11/10 14:49:56] <magicaltrout> evenin all, i have an issue with ordering (i think) that i would like someone cleverer than I to look at | ||
| [2011/11/10 14:50:09] <magicaltrout> http://pastebin.com/3vYFrdH2 can anyone tell me why the databases are not created until a 2nd run | ||
| [2011/11/10 14:50:19] <magicaltrout> but the exec import tries to run in the first run | ||
| [2011/11/10 14:50:39] <magicaltrout> even though there is a bunch of requires in there to try and keep it on the straight and narrow | ||
| [2011/11/10 14:50:45] @ Arlo joined channel #puppet | ||
| [2011/11/10 14:50:47] <benkevan> also .. majority of my failures are: Could not evaluate: Could not retrieve file metadata for (is there a way I can limit those?) | ||
| [2011/11/10 14:51:46] @ Quit: Stenbryggen1: Quit: Leaving. | ||
| [2011/11/10 14:53:00] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/10 14:53:01] @ brandon_dacrib joined channel #puppet | ||
| [2011/11/10 14:53:14] <Arlo> hi everybody. we recently upgraded a handful of centos5.6 servers to 5.7, no mods were made to puppet or any of the configs.... now the only way that puppet agent functions is if --onetime is specified or if listen=true is removed from the puppet.conf.... we've been working on this for 3 days now and are out of ideas.... reverse dns, dns, certs, everything is good... we're on ruby 1.8.5 using puppet 2.6.7 (also tried 2.7.5 with the sam | ||
| [2011/11/10 14:54:24] <benkevan> Arlo: what errors when you run puppet agent --test? | ||
| [2011/11/10 14:55:00] <Arlo> no errors. puppet agent --test enables --onetime which always works. | ||
| [2011/11/10 14:55:52] @ negronjl joined channel #puppet | ||
| [2011/11/10 14:56:32] <Arlo> failing does not cause errors either, it just sits there after printing "debug: Loaded state in 0.00 seconds" to the screen | ||
| [2011/11/10 14:56:36] <nate_h> magicaltrout, looking | ||
| [2011/11/10 14:57:20] @ Quit: themadcanudist: Ping timeout: 248 seconds | ||
| [2011/11/10 14:58:09] <magicaltrout> thanks nate_h | ||
| [2011/11/10 14:58:19] <magicaltrout> i have a debug output if thats of any use | ||
| [2011/11/10 14:58:22] <Arlo> agent is listening though... we can make rest request for puppet to run to the agent from the puppet master which then prints out it's auth logic.. however it still sits | ||
| [2011/11/10 14:58:39] @ Quit: countskm: Quit: leaving | ||
| [2011/11/10 14:59:00] @ countskm joined channel #puppet | ||
| [2011/11/10 15:00:25] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/10 15:00:53] @ Quit: kubicek: Excess Flood | ||
| [2011/11/10 15:00:54] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 15:01:36] @ kubicek joined channel #puppet | ||
| [2011/11/10 15:01:46] @ danikov joined channel #puppet | ||
| [2011/11/10 15:02:29] @ mpdude joined channel #puppet | ||
| [2011/11/10 15:02:58] <hajile> dpittman: should i file a bug or something? | ||
| [2011/11/10 15:03:24] <dpittman> hajile: Sure, that would help. That way we don't have any risk of losing track of this, or that it hit someone out in the wild world. | ||
| [2011/11/10 15:04:32] <hajile> dpittman: sounds good, I'll get it filed tonight. | ||
| [2011/11/10 15:05:06] @ Quit: abetterlie: Ping timeout: 258 seconds | ||
| [2011/11/10 15:05:19] <dpittman> hajile: Thanks. It doesn't have to be super-long or anything. Awesome work diagnosing the problem though. :) | ||
| [2011/11/10 15:05:38] <nate_h> magicaltrout, hmm i dunno, maybe remove the require mysql::server in the actual resources and rely on the chain you made | ||
| [2011/11/10 15:05:46] <nate_h> like add it to the beginning of the chain | ||
| [2011/11/10 15:05:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 15:05:58] @ kolla joined channel #puppet | ||
| [2011/11/10 15:06:02] <carpenoctem> Hi All | ||
| [2011/11/10 15:06:03] <carpenoctem> I have a simple mysql module and need to run some mysql commands upon initial startup of the service after install. | ||
| [2011/11/10 15:06:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:06:09] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 15:06:14] <carpenoctem> what is the best way to do that? | ||
| [2011/11/10 15:06:18] <carpenoctem> any examples? | ||
| [2011/11/10 15:06:35] <magicaltrout> interesting nate_h i shall try it, initially i didn't have any requires | ||
| [2011/11/10 15:06:37] <magicaltrout> just chained | ||
| [2011/11/10 15:06:42] <magicaltrout> but it made no difference | ||
| [2011/11/10 15:07:20] <nate_h> maybe its the file resources and directories? | ||
| [2011/11/10 15:07:23] <nate_h> could try requiring those too | ||
| [2011/11/10 15:07:40] <nate_h> nm | ||
| [2011/11/10 15:07:42] <nate_h> thats implicit | ||
| [2011/11/10 15:07:48] @ Quit: Arlo: Quit: Page closed | ||
| [2011/11/10 15:08:51] @ bobinabottle joined channel #puppet | ||
| [2011/11/10 15:09:49] @ Quit: jodok: Quit: jodok | ||
| [2011/11/10 15:11:12] @ Quit: toi: Ping timeout: 248 seconds | ||
| [2011/11/10 15:11:36] @ soh joined channel #puppet | ||
| [2011/11/10 15:11:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 15:11:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:12:27] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2011/11/10 15:13:59] @ dgillies joined channel #puppet | ||
| [2011/11/10 15:14:40] <swankier> thanks again nate_h | ||
| [2011/11/10 15:14:44] @ Quit: swankier: Quit: bye! | ||
| [2011/11/10 15:15:10] @ kcrawford joined channel #puppet | ||
| [2011/11/10 15:15:32] @ Quit: dfinn: Quit: Leaving | ||
| [2011/11/10 15:15:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:15:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:16:02] @ gniks joined channel #puppet | ||
| [2011/11/10 15:16:16] <agaffney> has anyone been through the Puppet Master or Puppet Developers courses? | ||
| [2011/11/10 15:16:33] <dpittman> agaffney: As a trainer, yes. What do you want to know? | ||
| [2011/11/10 15:17:27] <bosszaru> agaffney: as a learner yes | ||
| [2011/11/10 15:17:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:17:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:17:58] * nevyn just sent a coworker on puppet training. | ||
| [2011/11/10 15:18:07] <magicaltrout> meh no change nate_h | ||
| [2011/11/10 15:18:13] @ Quit: spiette: Quit: Leaving | ||
| [2011/11/10 15:18:17] <magicaltrout> http://pastebin.com/QFc1ZkNj | ||
| [2011/11/10 15:18:27] <agaffney> I'm wondering how useful the classes are for two types of people: 1) junior sysadm with some level of puppet knowledge, and 2) puppet gurus (already does custom facts and parser functions) | ||
| [2011/11/10 15:18:30] <magicaltrout> it doesn't make much sense, straight from the mysql install | ||
| [2011/11/10 15:18:32] <nevyn> he understands the DSL which is ++good but the focus on standalone interpretation is.. disapointing. | ||
| [2011/11/10 15:18:35] <magicaltrout> into trying to import data | ||
| [2011/11/10 15:19:30] <dpittman> agaffney: master is useful to type 1, developer to type 2, maybe. By maybe I mean, they might already know what it teaches, since it does those two things, but also types and providers, report processors, etc... | ||
| [2011/11/10 15:20:15] <dpittman> agaffney: Basically, the "developer" course is "learn to write Ruby plugins to Puppet". The master course is "use puppet day to day, more awesomely" | ||
| [2011/11/10 15:20:16] <agaffney> we're looking at sending some people from our ops group to one of these classes | ||
| [2011/11/10 15:20:29] <agaffney> dpittman: yeah, that was the impression I got from the descriptions | ||
| [2011/11/10 15:20:42] @ ghg joined channel #puppet | ||
| [2011/11/10 15:20:50] <dpittman> agaffney: Good. We had some people who mistook "developer" for "master" in the last one I was part of. :) | ||
| [2011/11/10 15:20:52] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/10 15:21:00] <agaffney> dpittman: the titles are a bit confusing :P | ||
| [2011/11/10 15:21:22] @ Quit: labrown: Quit: Leaving | ||
| [2011/11/10 15:21:34] <dpittman> agaffney: I gave that feedback as well. :) | ||
| [2011/11/10 15:21:38] @ Quit: dan__t: Ping timeout: 245 seconds | ||
| [2011/11/10 15:21:50] @ Quit: bzrk: Remote host closed the connection | ||
| [2011/11/10 15:23:35] @ Quit: countskm: Quit: leaving | ||
| [2011/11/10 15:23:59] @ countskm joined channel #puppet | ||
| [2011/11/10 15:24:27] <agaffney> dpittman: I passed your feedback along to my boss. thanks | ||
| [2011/11/10 15:26:39] <kcrawford> wonder if anyone can help with a problem: enc not working inside of passenger -- gets "Could not find node" | ||
| [2011/11/10 15:27:04] <kcrawford> enc works fine with web brick though | ||
| [2011/11/10 15:27:38] <kcrawford> enc is owned by puppet, and config.ru is owned by puppet | ||
| [2011/11/10 15:27:53] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/10 15:28:13] @ abetterlie joined channel #puppet | ||
| [2011/11/10 15:29:42] @ Quit: kelseyhightower: Ping timeout: 240 seconds | ||
| [2011/11/10 15:30:07] @ fronlius joined channel #puppet | ||
| [2011/11/10 15:30:39] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/11/10 15:31:15] <agaffney> bosszaru: which class did you take? | ||
| [2011/11/10 15:31:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 15:32:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:35:13] @ dan__t joined channel #puppet | ||
| [2011/11/10 15:35:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:35:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:36:21] <bosszaru> both. The master was useful after day 2 since I had already had some puppet experience and showed up with everything prepared | ||
| [2011/11/10 15:36:51] <bosszaru> there were useful things that helped as well as the instructor (jeff m) was very helpful with answering questions | ||
| [2011/11/10 15:37:22] <bosszaru> the developer class was good, but we didn't move as fast as I wanted | ||
| [2011/11/10 15:37:35] <jmccune> hi. =) | ||
| [2011/11/10 15:37:38] <agaffney> yeah, it seems that a whole day introducing ruby is a bit too slow :P | ||
| [2011/11/10 15:37:39] <bosszaru> both were worth my now ex-empolyers money | ||
| [2011/11/10 15:37:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:37:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:38:02] <agaffney> bosszaru: good to know | ||
| [2011/11/10 15:38:36] <bosszaru> jmccune: pointed out vcsrepo to me to do large file trees with git (best tip ever) | ||
| [2011/11/10 15:39:34] <bosszaru> probably the most useful training I've been on | ||
| [2011/11/10 15:39:50] <bosszaru> Hitachi SAN training had better swag tho | ||
| [2011/11/10 15:39:56] <bosszaru> hint! | ||
| [2011/11/10 15:40:02] <mosen> jmccune, PS. thanks for the book :) | ||
| [2011/11/10 15:40:23] <jmccune> mosen: Heh, anytime | ||
| [2011/11/10 15:40:38] <jmccune> Hope it's been good | ||
| [2011/11/10 15:40:59] <mosen> I've learned a ton | ||
| [2011/11/10 15:41:16] @ sumsuch joined channel #puppet | ||
| [2011/11/10 15:41:33] @ Quit: kcrawford: Quit: kcrawford | ||
| [2011/11/10 15:43:27] @ st33v joined channel #puppet | ||
| [2011/11/10 15:45:38] @ jkoppe left channel #puppet () | ||
| [2011/11/10 15:45:52] @ Quit: sumsuch: Read error: Connection reset by peer | ||
| [2011/11/10 15:45:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 15:45:55] @ sumsuch_ joined channel #puppet | ||
| [2011/11/10 15:46:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:49:28] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/10 15:49:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:50:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:51:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:51:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:52:09] @ themadcanudist joined channel #puppet | ||
| [2011/11/10 15:53:26] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/10 15:53:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 15:53:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 15:54:37] <nate_h> bosszaru, ya except it sucks to version binary files in git :P | ||
| [2011/11/10 15:54:54] <nate_h> bosszaru, we've been doing that for our rpm repos, but its messy | ||
| [2011/11/10 15:55:05] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/10 15:55:20] @ kermit joined channel #puppet | ||
| [2011/11/10 15:55:39] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 15:55:43] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/10 15:56:05] @ Quit: abetterlie: Ping timeout: 258 seconds | ||
| [2011/11/10 15:56:46] <ianbrandt> Greetings. I've installed the puppetlabs/stdlib module, and added it to my modulepath in puppet.conf along with "pluginsync = true". I've gone through the troubleshooting steps at http://docs.puppetlabs.com/guides/custom_functions.html#troubleshooting-functions. All pass: 'ruby-1.8.7-p352 :003 > Puppet::Parser::Functions.function(:keys) => "function_keys"'. But when I try to use the function in one of my modules I get an erro | ||
| [2011/11/10 15:56:46] <ianbrandt> "Unknown function keys at..." What would my next troubleshooting step be? | ||
| [2011/11/10 15:57:36] @ erodriguez joined channel #puppet | ||
| [2011/11/10 15:57:42] @ abetterlie joined channel #puppet | ||
| [2011/11/10 15:57:49] <nate_h> ianbrandt, download the puppetlabs-stdlib module off github | ||
| [2011/11/10 15:58:05] <nate_h> oh sorry missedy your first message | ||
| [2011/11/10 15:58:24] <ianbrandt> nate_h: No worries. Yep, tried that. ;) | ||
| [2011/11/10 15:58:44] <nate_h> can you confirm it exists on the client? | ||
| [2011/11/10 15:59:02] <ianbrandt> nate_h: I'm using puppet apply at the moment. | ||
| [2011/11/10 15:59:12] <nate_h> i just mean go look in the lib dir and see if it synced | ||
| [2011/11/10 15:59:21] <nate_h> also maybe try to use one of othe other functions | ||
| [2011/11/10 15:59:25] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/10 15:59:40] <bosszaru> nate_h: less messy than your puppet server slowing to a crawl every 30 min? :) | ||
| [2011/11/10 16:00:40] <nate_h> bosszaru, oh, used an rsync exec instead. | ||
| [2011/11/10 16:00:57] <ianbrandt> nate_h: It's here... "ruby-1.8.7-p352 :002 > require '/Users/ibrandt/.puppet/modules/stdlib/lib/puppet/parser/functions/keys.rb' => true" | ||
| [2011/11/10 16:01:54] <ianbrandt> nate_h: And in my module I have just "$my_keys = keys($my_hash)" | ||
| [2011/11/10 16:02:04] <bosszaru> git blame is one of my best friends ;) | ||
| [2011/11/10 16:02:07] <nate_h> sure seems like it should work, try one of the other stdlib functions | ||
| [2011/11/10 16:02:09] @ gniks1 joined channel #puppet | ||
| [2011/11/10 16:03:17] @ mitchellh joined channel #puppet | ||
| [2011/11/10 16:04:58] <ianbrandt> nate_h: "Unknown function time at...", so looks like it's all of them are unavailable for some reason. I didn't think I had to do any 'include' or namespacing or anything? | ||
| [2011/11/10 16:05:04] <eric0> did '$module' become an internal variable recently...? | ||
| [2011/11/10 16:05:19] @ Quit: gniks: Ping timeout: 255 seconds | ||
| [2011/11/10 16:05:51] <nate_h> ianbrandt, hmm, that's kind of weird if its pluginsyncing and the autoloader should just grab them | ||
| [2011/11/10 16:05:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 16:06:05] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:07:09] <nate_h> ianbrandt, oh what I meant when I said does it exist was, is it on the lib dir on the client | ||
| [2011/11/10 16:07:12] <nate_h> /var/lib/puppet/lib/puppet/parser/functions/keys.rb | ||
| [2011/11/10 16:07:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:08:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:08:22] <ianbrandt> nate_h: regarding pluginsync... "$ puppet apply -e 'notice($settings::pluginsync)'... notice: Scope(Class[main]): true" | ||
| [2011/11/10 16:09:04] @ Quit: piezo: Ping timeout: 260 seconds | ||
| [2011/11/10 16:09:18] @ gniks joined channel #puppet | ||
| [2011/11/10 16:09:51] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:09:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:10:15] @ jsm_ joined channel #puppet | ||
| [2011/11/10 16:11:25] @ Quit: gniks1: Ping timeout: 252 seconds | ||
| [2011/11/10 16:11:28] <ianbrandt> nate_h: I'm not following, I'm using apply so client and server are one as I understand it. I only have it at '/Users/ibrandt/.puppet/modules/stdlib/lib/puppet/parser/functions/keys.rb'. My config is just, "[main]\n pluginsync = true" | ||
| [2011/11/10 16:11:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:11:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:12:11] @ gniks1 joined channel #puppet | ||
| [2011/11/10 16:12:45] <nate_h> ianbrandt, ooooh | ||
| [2011/11/10 16:12:51] <ianbrandt> nate_h: Oh shoot, nevermind... | ||
| [2011/11/10 16:13:01] <nate_h> ianbrandt, i bet you have to add something to the apply command line | ||
| [2011/11/10 16:13:02] <nate_h> to it loads | ||
| [2011/11/10 16:13:04] <nate_h> so it loads | ||
| [2011/11/10 16:13:16] <ianbrandt> nate_h: I forgot I aliased puppet apply to puppet apply [modulepath] [manifest]! | ||
| [2011/11/10 16:13:20] @ Quit: asteve: Quit: asteve | ||
| [2011/11/10 16:13:38] <ianbrandt> And I didn't update my modulepath in the alias. | ||
| [2011/11/10 16:13:42] <nate_h> ah | ||
| [2011/11/10 16:13:43] <nate_h> hehe | ||
| [2011/11/10 16:13:49] <ianbrandt> Only in my conf, for the server. | ||
| [2011/11/10 16:14:01] @ Quit: gniks: Ping timeout: 260 seconds | ||
| [2011/11/10 16:15:20] <ianbrandt> nate_h: I filed https://projects.puppetlabs.com/issues/10538 the other day related to having puppet apply fully leverage puppet.conf. | ||
| [2011/11/10 16:16:34] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 16:16:36] <nate_h> ya i think a flag that says use them | ||
| [2011/11/10 16:16:43] <nate_h> maybe not use them y default | ||
| [2011/11/10 16:16:45] <nate_h> but makes sense | ||
| [2011/11/10 16:16:59] @ zoredache joined channel #puppet | ||
| [2011/11/10 16:17:19] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/10 16:18:13] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/10 16:18:22] @ Quit: bobinabottle: Quit: bobinabottle | ||
| [2011/11/10 16:21:25] <zoredache> So can someone point me at what in the docs I can read to understand how variable usage fits into ordering? | ||
| [2011/11/10 16:21:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 16:21:53] <zoredache> I had been under the impression that order didn't matter at all, but this is confusing me... http://pastebin.com/TRLaYM0x | ||
| [2011/11/10 16:22:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:23:19] @ Quit: tessier: Ping timeout: 255 seconds | ||
| [2011/11/10 16:23:28] @ rcrowley joined channel #puppet | ||
| [2011/11/10 16:23:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:24:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:24:54] @ jsnby left channel #puppet () | ||
| [2011/11/10 16:25:28] <kjetilho> what would you expect? | ||
| [2011/11/10 16:25:35] <nate_h> "bar" two times | ||
| [2011/11/10 16:25:47] <nate_h> would be my expectation too. | ||
| [2011/11/10 16:25:57] <kjetilho> variables are evaluated there and then | ||
| [2011/11/10 16:25:58] <zoredache> nate_h: I would expect the output of both to be bar. | ||
| [2011/11/10 16:26:25] @ tessier joined channel #puppet | ||
| [2011/11/10 16:26:28] <kjetilho> how would you resolve if $foo == 'bar' otherwise? | ||
| [2011/11/10 16:26:31] <nate_h> kjetilho, but it should implicitely lookup the value of $foo | ||
| [2011/11/10 16:26:55] <nate_h> i mean what if you had two file resources instead of notifies that utilized the $foo | ||
| [2011/11/10 16:27:03] <nate_h> wouldn't it make sense for that to work? | ||
| [2011/11/10 16:27:15] <zoredache> I expected that all the variables to be evaluated before any resources were evaluted... | ||
| [2011/11/10 16:27:54] <kjetilho> so what should if $foo != 'bar' { $foo = 'zot' } do ? | ||
| [2011/11/10 16:28:17] <zoredache> kjetilho: it should give you an error, since you cannot redefine variables. | ||
| [2011/11/10 16:28:37] <kjetilho> you can, in a class which inherits the class which defined the original $foo | ||
| [2011/11/10 16:28:51] <kjetilho> (and $foo could be unset) | ||
| [2011/11/10 16:29:06] @ Azrial joined channel #puppet | ||
| [2011/11/10 16:29:55] <nate_h> I assumed variables would get added to the dependency dag and resolved | ||
| [2011/11/10 16:30:57] <kjetilho> if ! $var { $var = "mydefault" } | ||
| [2011/11/10 16:31:11] <kjetilho> what happens? | ||
| [2011/11/10 16:31:14] @ Quit: tessier: Ping timeout: 260 seconds | ||
| [2011/11/10 16:31:20] @ blahdeblah joined channel #puppet | ||
| [2011/11/10 16:31:29] <kjetilho> if followed by $var = "blah" | ||
| [2011/11/10 16:31:45] <blahdeblah> Anyone around from puppetlabs who knows about the partner program? | ||
| [2011/11/10 16:31:58] <kjetilho> or if "$var = 'blah'" was set in the node definition before your class was included? | ||
| [2011/11/10 16:32:15] <zoredache> kjetilho: I can accept that, should become mydefault. the problem becomes in ordering.. | ||
| [2011/11/10 16:32:18] <nate_h> kjetilho, i would think it should only look in current scope | ||
| [2011/11/10 16:32:31] <nate_h> kjetilho, unless you specify the scope explicitely | ||
| [2011/11/10 16:32:33] <Volcane> blahdeblah: best to mail sales@ i think | ||
| [2011/11/10 16:32:49] <kjetilho> nate_h: that would make inheritance a lot less useful | ||
| [2011/11/10 16:33:01] <nate_h> kjetilho, its already pretty useless with parameterized classes :P | ||
| [2011/11/10 16:33:07] <kjetilho> well. current scope includes variables set in parent scope | ||
| [2011/11/10 16:33:16] @ Quit: kwazar-: Quit: Leaving... | ||
| [2011/11/10 16:33:19] <nate_h> kjetilho, but i see what you are saying. | ||
| [2011/11/10 16:33:34] <zoredache> lets say in a node I include base, and base include mta, and mailtool, and widgetx. mta, sets a variable, mailtool requires mta, but in widgetx I want to use the value of a variable defined in mta... | ||
| [2011/11/10 16:33:45] @ Quit: dan__t: Ping timeout: 260 seconds | ||
| [2011/11/10 16:33:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 16:33:59] <kjetilho> zoredache: no, you can not rely on "dynamic scoping" in the future | ||
| [2011/11/10 16:34:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:34:16] <kjetilho> only "lexical scoping" will be supported in the future | ||
| [2011/11/10 16:34:39] @ gniks joined channel #puppet | ||
| [2011/11/10 16:34:51] <zoredache> I am not relying on dynamic scoping, I have fully qualified everything... so in widget x I want to use $mta:mtaname. | ||
| [2011/11/10 16:34:55] <kjetilho> ok | ||
| [2011/11/10 16:35:09] <zoredache> but it seems now that the order the classes are included matter. | ||
| [2011/11/10 16:35:11] @ gniks2 joined channel #puppet | ||
| [2011/11/10 16:35:17] <zoredache> which I didn't expect | ||
| [2011/11/10 16:35:27] <kjetilho> *nod* | ||
| [2011/11/10 16:35:49] <zoredache> so back to my main question, is that in the documentation somewhere, that I missed? | ||
| [2011/11/10 16:35:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:35:53] <kjetilho> this is why it is common to put this in a separate class, mta::params | ||
| [2011/11/10 16:35:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:36:10] @ Quit: benkevan: Quit: leaving | ||
| [2011/11/10 16:36:14] <nate_h> i pretty much share all data via hiera | ||
| [2011/11/10 16:36:22] <nate_h> so i avoid it mostly | ||
| [2011/11/10 16:36:22] <nate_h> hehe | ||
| [2011/11/10 16:36:39] <ianbrandt> nate_h: Sorry, had to step away for a sec. Regarding puppet apply and puppet.conf, why not use modulepath and manifest entries by default? | ||
| [2011/11/10 16:36:49] @ Quit: gniks1: Ping timeout: 255 seconds | ||
| [2011/11/10 16:36:56] <nate_h> ianbrandt, well you still have to specify an env? | ||
| [2011/11/10 16:37:32] <ianbrandt> I was thinking, "[User]\n environment = ..." | ||
| [2011/11/10 16:38:24] <ianbrandt> nate_h: Otherwise default to "production" as usual. | ||
| [2011/11/10 16:39:11] <nate_h> i guess i wouldn't want libraries and functions, defines, etc getting added without me understanding | ||
| [2011/11/10 16:39:13] @ trnzmeta joined channel #puppet | ||
| [2011/11/10 16:39:20] <nate_h> vs just applying a a single local manifest | ||
| [2011/11/10 16:39:21] @ Quit: gniks: Ping timeout: 260 seconds | ||
| [2011/11/10 16:39:41] <nate_h> i totally agree there should be a flag to use it though | ||
| [2011/11/10 16:40:24] @ trevs joined channel #puppet | ||
| [2011/11/10 16:40:35] <ianbrandt> nate_h: Okay, that makes sense. I ask so to collect the feedback for the issue. I was thinking of taking a stab at a patch if I could. | ||
| [2011/11/10 16:41:03] <ianbrandt> nate_h: I'll add your suggestion to the tracker if you don't mind? | ||
| [2011/11/10 16:41:22] <nate_h> ya sure | ||
| [2011/11/10 16:41:36] <ianbrandt> nate_h: Very good. Thanks! | ||
| [2011/11/10 16:41:56] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 16:42:12] <nate_h> bbl | ||
| [2011/11/10 16:43:49] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/10 16:44:56] @ Quit: localhost: Remote host closed the connection | ||
| [2011/11/10 16:45:00] <blahdeblah> Volcane: will that get me someone with clue? | ||
| [2011/11/10 16:45:53] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 16:46:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:46:16] @ Quit: abetterlie: Ping timeout: 255 seconds | ||
| [2011/11/10 16:47:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 16:48:03] @ The-Bat joined channel #puppet | ||
| [2011/11/10 16:48:20] @ localhost joined channel #puppet | ||
| [2011/11/10 16:48:57] @ soh joined channel #puppet | ||
| [2011/11/10 16:49:36] @ Quit: soh: Client Quit | ||
| [2011/11/10 16:53:28] @ Quit: williemach: Quit: Leaving. | ||
| [2011/11/10 16:54:22] @ Quit: BManojlovic: Remote host closed the connection | ||
| [2011/11/10 16:56:08] @ abetterlie joined channel #puppet | ||
| [2011/11/10 17:02:37] <jamesturnbull> blahdeblah: yep :) | ||
| [2011/11/10 17:03:17] @ Quit: zoredache: Quit: Lost terminal | ||
| [2011/11/10 17:04:14] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/10 17:05:39] @ Quit: dcsobralWork: Ping timeout: 260 seconds | ||
| [2011/11/10 17:05:46] @ 18VAAI8J3 joined channel #puppet | ||
| [2011/11/10 17:08:46] @ Quit: seanh-ansca: Ping timeout: 255 seconds | ||
| [2011/11/10 17:09:10] <blahdeblah> jamesturnbull: Cool - thanks. Would it make more sense to them if i just fill in a partner application form, or is there someone who would be willing to answer questions without it? | ||
| [2011/11/10 17:09:33] <jamesturnbull> blahdeblah: if you have queries best to email sales@ | ||
| [2011/11/10 17:09:45] @ 18VAAI8J3 is now known as tessier | ||
| [2011/11/10 17:09:46] <jamesturnbull> blahdeblah: and we can sort a during Q&A | ||
| [2011/11/10 17:09:46] <blahdeblah> Thanks jame | ||
| [2011/11/10 17:09:47] @ Quit: tessier: Client Quit | ||
| [2011/11/10 17:10:00] <blahdeblah> s/jame/jamesturnbull | ||
| [2011/11/10 17:10:11] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/10 17:12:21] @ Quit: kelseyhightower: Ping timeout: 260 seconds | ||
| [2011/11/10 17:13:49] @ Quit: marczak: Ping timeout: 240 seconds | ||
| [2011/11/10 17:13:52] @ Quit: NightMonkey: Quit: Body blow! Body blow! | ||
| [2011/11/10 17:15:37] @ dcsobralWork joined channel #puppet | ||
| [2011/11/10 17:15:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 17:15:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:16:41] <Volcane> blahdeblah: yeah sales team deals with that afaik | ||
| [2011/11/10 17:16:54] <blahdeblah> Thanks - appreciate it, guys | ||
| [2011/11/10 17:21:05] @ Quit: trn: Ping timeout: 252 seconds | ||
| [2011/11/10 17:21:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 17:22:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:23:13] @ kelseyhightower joined channel #puppet | ||
| [2011/11/10 17:23:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:23:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:24:34] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/11/10 17:25:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:25:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:26:52] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/10 17:29:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:29:54] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/10 17:29:58] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:30:20] <blahdeblah> On a related note, does anyone know of individuals or companies in Brisbane, Australia who provide puppet support? I found that there's one partner in Sydney listed on puppetlabs.com, but nothing around here... | ||
| [2011/11/10 17:31:34] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/10 17:31:45] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/10 17:31:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:31:55] @ kermit joined channel #puppet | ||
| [2011/11/10 17:32:00] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:32:51] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/11/10 17:32:52] @ ghg27 joined channel #puppet | ||
| [2011/11/10 17:33:31] @ Quit: ghg: Ping timeout: 255 seconds | ||
| [2011/11/10 17:33:31] @ ghg27 is now known as ghg | ||
| [2011/11/10 17:38:31] @ Quit: ghg: Quit: Out of here. | ||
| [2011/11/10 17:39:23] @ dbgster joined channel #puppet | ||
| [2011/11/10 17:41:09] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/10 17:42:49] @ Quit: the_ramink_: Ping timeout: 260 seconds | ||
| [2011/11/10 17:42:53] @ Quit: gniks2: Quit: Leaving. | ||
| [2011/11/10 17:43:17] <carpenoctem> have a class in my mysql module not being executed and can't figure out why | ||
| [2011/11/10 17:43:26] <carpenoctem> http://pastebin.com/7xygZX0r | ||
| [2011/11/10 17:44:09] <carpenoctem> just attempting to set mysql root password | ||
| [2011/11/10 17:44:57] @ Quit: kelseyhightower: Ping timeout: 258 seconds | ||
| [2011/11/10 17:46:06] <Theory> carpenoctem: on the pastebin there is a space "mysql_ password" < there on line 34 | ||
| [2011/11/10 17:46:21] <Theory> not sure if that is also present in the source, but if so it's probably not helping | ||
| [2011/11/10 17:47:51] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 17:47:55] @ Quit: failure: Read error: Operation timed out | ||
| [2011/11/10 17:47:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:48:42] <carpenoctem> Theory: thanks, fixed that. unfortunately still not working how I planned | ||
| [2011/11/10 17:49:52] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:50:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:51:42] <carpenoctem> Here's the debug output: http://pastebin.com/U6tFgSSa | ||
| [2011/11/10 17:51:54] <carpenoctem> it appears to be running the status and then not going further | ||
| [2011/11/10 17:52:42] <carpenoctem> completely new to all this so it could very well be a misconception and not just syntatical. | ||
| [2011/11/10 17:53:17] @ Quit: jaymurtii: Remote host closed the connection | ||
| [2011/11/10 17:54:17] @ failure joined channel #puppet | ||
| [2011/11/10 17:55:29] @ trn joined channel #puppet | ||
| [2011/11/10 17:55:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 17:55:59] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:57:53] @ Quit: The-Bat: Client Quit | ||
| [2011/11/10 17:58:05] @ The-Bat joined channel #puppet | ||
| [2011/11/10 17:58:30] @ Quit: trevs: Ping timeout: 240 seconds | ||
| [2011/11/10 18:00:04] @ Wolfspyre joined channel #puppet | ||
| [2011/11/10 18:01:35] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/10 18:02:16] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/10 18:03:17] @ frostynova joined channel #puppet | ||
| [2011/11/10 18:03:43] @ Quit: trn: Ping timeout: 245 seconds | ||
| [2011/11/10 18:04:38] @ gniks joined channel #puppet | ||
| [2011/11/10 18:05:16] @ Quit: doo: Quit: Leaving. | ||
| [2011/11/10 18:07:52] @ Quit: The-Bat: Quit: Konversation terminated! | ||
| [2011/11/10 18:07:55] <carpenoctem> looks like my variable isn't being expanded $mysql_password | ||
| [2011/11/10 18:08:04] @ The-Bat joined channel #puppet | ||
| [2011/11/10 18:09:22] @ Quit: ccaum: Quit: ccaum | ||
| [2011/11/10 18:09:58] <carpenoctem> wouldn't there be an error if a variable were used that was never assigned? | ||
| [2011/11/10 18:12:37] @ Quit: darix: Quit: may the packets be with you | ||
| [2011/11/10 18:13:57] @ Quit: jsm_: Quit: jsm_ | ||
| [2011/11/10 18:15:47] @ KaiserBeto left channel #puppet () | ||
| [2011/11/10 18:17:30] @ trn joined channel #puppet | ||
| [2011/11/10 18:18:48] @ Enf joined channel #puppet | ||
| [2011/11/10 18:20:03] @ darix joined channel #puppet | ||
| [2011/11/10 18:20:24] @ edovale joined channel #puppet | ||
| [2011/11/10 18:22:14] <carpenoctem> found the mistake, the variable was in the init.pp and not inside the class | ||
| [2011/11/10 18:22:27] <carpenoctem> I thought it would look "globally" if not in the class | ||
| [2011/11/10 18:22:38] <carpenoctem> guess I don't understand scope in puppet | ||
| [2011/11/10 18:23:30] <carpenoctem> also, why doesn't debug mode return a notice or error when a variable was used that was never assigned? Reminds me of Perl or something... | ||
| [2011/11/10 18:25:46] @ soh joined channel #puppet | ||
| [2011/11/10 18:25:53] @ puppet-user joined channel #puppet | ||
| [2011/11/10 18:27:17] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/10 18:29:34] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/10 18:34:01] @ Quit: KaiserBeto1: Ping timeout: 258 seconds | ||
| [2011/11/10 18:34:33] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/10 18:38:49] @ cr3 joined channel #puppet | ||
| [2011/11/10 18:39:27] <cr3> how should I create a temporary file in puppet which will get removed at some point afterwards, perhaps through dependencies | ||
| [2011/11/10 18:41:59] @ neonflux joined channel #puppet | ||
| [2011/11/10 18:42:20] @ edward joined channel #puppet | ||
| [2011/11/10 18:42:39] @ edward is now known as Teddy_ | ||
| [2011/11/10 18:42:54] @ Quit: Tobu: Quit: No Ping reply in 180 seconds. | ||
| [2011/11/10 18:43:09] @ Tobu joined channel #puppet | ||
| [2011/11/10 18:43:48] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 18:46:59] @ erodriguez joined channel #puppet | ||
| [2011/11/10 18:47:59] <cr3> nevermind, I'll ask again tomorrow. g'night folks! | ||
| [2011/11/10 18:48:01] <Teddy_> well that went well. five minutes into trying a new feature I hit a bug | ||
| [2011/11/10 18:49:37] <Teddy_> http://pastebin.com/G6fT0CpK is this PEBKAC? | ||
| [2011/11/10 18:50:21] <Teddy_> Parameter 'content' is already set on File[custom.list] by #<Puppet::Resource::Type:0x7fb1ec649268> at /puppet/modules/apt/manifests/init.pp:105; cannot redefine at /puppet/modules/apt/manifests/init.pp:111 on node test.internal | ||
| [2011/11/10 18:53:38] @ abetterlie_ joined channel #puppet | ||
| [2011/11/10 18:53:48] @ Quit: abetterlie_: Client Quit | ||
| [2011/11/10 18:55:14] @ Quit: cr3: Quit: leaving | ||
| [2011/11/10 18:55:47] @ Quit: amoe: Ping timeout: 258 seconds | ||
| [2011/11/10 18:55:53] <Teddy_> ah PEBKAC, good, fixed :) | ||
| [2011/11/10 18:57:12] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/10 18:57:30] @ amoe joined channel #puppet | ||
| [2011/11/10 18:59:54] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/10 19:00:27] @ jsurfer left channel #puppet () | ||
| [2011/11/10 19:02:15] @ Quit: Teddy_: Quit: leaving | ||
| [2011/11/10 19:06:25] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/10 19:06:29] @ Quit: Chillax: Quit: No Ping reply in 180 seconds. | ||
| [2011/11/10 19:07:14] @ Quit: trn: Read error: Operation timed out | ||
| [2011/11/10 19:07:40] @ Chillax joined channel #puppet | ||
| [2011/11/10 19:08:36] @ Quit: tilgovi: Read error: Operation timed out | ||
| [2011/11/10 19:11:09] @ Moe__ joined channel #puppet | ||
| [2011/11/10 19:11:37] @ Quit: choonming: Ping timeout: 260 seconds | ||
| [2011/11/10 19:12:47] @ Quit: hooper: Ping timeout: 260 seconds | ||
| [2011/11/10 19:19:56] @ Quit: abetterlie: Ping timeout: 258 seconds | ||
| [2011/11/10 19:22:14] <nevyn> bkero: did you change the puppet-gitolite module based on our discussion the other day? if so can you please push to github? | ||
| [2011/11/10 19:22:55] @ matchaw___ joined channel #puppet | ||
| [2011/11/10 19:22:55] @ trn joined channel #puppet | ||
| [2011/11/10 19:23:28] @ Quit: matchaw__: Ping timeout: 248 seconds | ||
| [2011/11/10 19:28:05] @ Quit: trnzmeta: Quit: Leaving | ||
| [2011/11/10 19:28:24] @ Quit: carpenoctem: Ping timeout: 265 seconds | ||
| [2011/11/10 19:28:29] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/11/10 19:30:05] @ alanevans joined channel #puppet | ||
| [2011/11/10 19:35:34] @ edward joined channel #puppet | ||
| [2011/11/10 19:43:19] @ Boltsky joined channel #puppet | ||
| [2011/11/10 19:47:19] @ ocherno joined channel #puppet | ||
| [2011/11/10 19:49:02] @ ldlework joined channel #puppet | ||
| [2011/11/10 19:50:03] @ gaveen joined channel #puppet | ||
| [2011/11/10 19:50:04] @ Quit: gaveen: Changing host | ||
| [2011/11/10 19:50:04] @ gaveen joined channel #puppet | ||
| [2011/11/10 19:51:00] @ choonming joined channel #puppet | ||
| [2011/11/10 19:52:12] @ Quit: djm68: Quit: leaving | ||
| [2011/11/10 19:54:08] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/10 19:56:07] @ KaiserBeto joined channel #puppet | ||
| [2011/11/10 19:58:27] @ AshishH joined channel #puppet | ||
| [2011/11/10 20:04:14] @ dhogland joined channel #puppet | ||
| [2011/11/10 20:05:06] @ tizzo-afk is now known as tizzo | ||
| [2011/11/10 20:05:54] @ mosen joined channel #puppet | ||
| [2011/11/10 20:06:18] @ Quit: edovale: Quit: edovale | ||
| [2011/11/10 20:07:12] @ soh joined channel #puppet | ||
| [2011/11/10 20:07:41] @ frostynova joined channel #puppet | ||
| [2011/11/10 20:07:55] @ bobra joined channel #puppet | ||
| [2011/11/10 20:08:07] @ Quit: dbgster: Quit: dbgster | ||
| [2011/11/10 20:08:39] @ Quit: cliff-hm: Ping timeout: 276 seconds | ||
| [2011/11/10 20:10:15] @ Quit: st33v: Quit: st33v | ||
| [2011/11/10 20:10:36] @ Quit: skm: Quit: Leaving... | ||
| [2011/11/10 20:15:03] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/10 20:18:30] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/10 20:20:19] @ johnbatch joined channel #puppet | ||
| [2011/11/10 20:21:46] @ Quit: gaveen: Ping timeout: 252 seconds | ||
| [2011/11/10 20:27:49] @ Quit: Vulcan[OMNI]: Ping timeout: 240 seconds | ||
| [2011/11/10 20:33:17] @ gaveen joined channel #puppet | ||
| [2011/11/10 20:33:18] @ Quit: gaveen: Changing host | ||
| [2011/11/10 20:33:18] @ gaveen joined channel #puppet | ||
| [2011/11/10 20:33:36] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/10 20:33:45] @ cruzfox joined channel #puppet | ||
| [2011/11/10 20:34:39] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/10 20:34:43] @ mitchellh joined channel #puppet | ||
| [2011/11/10 20:34:48] @ newtMcKerr joined channel #puppet | ||
| [2011/11/10 20:34:57] @ Quit: choonming: Ping timeout: 244 seconds | ||
| [2011/11/10 20:38:08] @ Quit: cruzfox: Ping timeout: 248 seconds | ||
| [2011/11/10 20:40:07] @ Quit: IndyMichaelB: Remote host closed the connection | ||
| [2011/11/10 20:40:23] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/10 20:42:45] @ mitchell1 joined channel #puppet | ||
| [2011/11/10 20:42:49] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 20:44:37] @ soh joined channel #puppet | ||
| [2011/11/10 20:45:16] @ Quit: mitchellh: Ping timeout: 260 seconds | ||
| [2011/11/10 20:45:48] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/10 20:51:22] @ adimania joined channel #puppet | ||
| [2011/11/10 20:53:40] @ steakknife joined channel #puppet | ||
| [2011/11/10 20:55:28] @ Quit: The-Bat: Ping timeout: 258 seconds | ||
| [2011/11/10 20:56:20] @ jsurfer joined channel #puppet | ||
| [2011/11/10 20:57:20] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/11/10 20:59:27] @ jsurfer left channel #puppet () | ||
| [2011/11/10 21:01:14] @ lpaul7 joined channel #puppet | ||
| [2011/11/10 21:02:30] @ Quit: bobra: Ping timeout: 240 seconds | ||
| [2011/11/10 21:03:38] @ choonming joined channel #puppet | ||
| [2011/11/10 21:05:59] @ Quit: rtyler: Read error: Connection reset by peer | ||
| [2011/11/10 21:06:12] @ rtyler joined channel #puppet | ||
| [2011/11/10 21:11:08] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/10 21:15:48] @ Quit: DrPppr242: Ping timeout: 245 seconds | ||
| [2011/11/10 21:17:34] @ DrPppr242 joined channel #puppet | ||
| [2011/11/10 21:20:50] @ gniks joined channel #puppet | ||
| [2011/11/10 21:21:56] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/10 21:25:44] @ flamboz joined channel #puppet | ||
| [2011/11/10 21:26:54] @ bobra joined channel #puppet | ||
| [2011/11/10 21:27:08] <alanevans> when using the file {"/foo:" mode => "640"; "/bar": mode => "640"; } is there a way to collapse similar attributes like defaults but only for that set of resources? | ||
| [2011/11/10 21:27:43] <alanevans> like in the example since they have the same mode could that be represented somehow once | ||
| [2011/11/10 21:28:31] <alanevans> file { mode => "640"; "/foo": source => "somewhere"; "bar": source => "somewhereelse"; } | ||
| [2011/11/10 21:29:25] <mosen> well theres resource defaults | ||
| [2011/11/10 21:29:54] <alanevans> yeah but doesn't that hold for the entire scope? | ||
| [2011/11/10 21:29:59] <mosen> yup true | ||
| [2011/11/10 21:30:16] <mosen> otherwise i'd use a variable | ||
| [2011/11/10 21:30:17] <mosen> but im new | ||
| [2011/11/10 21:30:18] <alanevans> so you can't set defaults, operate on a few files, then set defaults and operate on another set of files right? | ||
| [2011/11/10 21:31:34] <mosen> Don't know but since its not sequential i'd say no | ||
| [2011/11/10 21:31:48] <alanevans> oh well | ||
| [2011/11/10 21:31:54] <alanevans> copy and paste it is | ||
| [2011/11/10 21:32:06] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/10 21:32:15] <mosen> use a variable at least? | ||
| [2011/11/10 21:33:04] <alanevans> nah, its just i have a augeas resource that will operate on 3 files | ||
| [2011/11/10 21:33:17] @ eft left channel #puppet () | ||
| [2011/11/10 21:33:39] <alanevans> all the same lense | ||
| [2011/11/10 21:33:43] <alanevans> and all the same requires | ||
| [2011/11/10 21:33:53] <alanevans> but different context and changes | ||
| [2011/11/10 21:33:56] <mosen> ahh ok | ||
| [2011/11/10 21:34:11] <mosen> defined type with the same stuff? | ||
| [2011/11/10 21:35:03] <alanevans> hmm | ||
| [2011/11/10 21:38:12] <alanevans> i think if it were more than just the three files yeah | ||
| [2011/11/10 21:38:49] <mosen> sorry.. i'm out of ideas | ||
| [2011/11/10 21:41:51] <alanevans> no worries | ||
| [2011/11/10 21:42:03] <alanevans> was just looking for a nifty shorthand syntax if it was available | ||
| [2011/11/10 21:42:22] @ mrwacky42 joined channel #puppet | ||
| [2011/11/10 21:42:34] @ Quit: mrwacky42: Client Quit | ||
| [2011/11/10 21:44:05] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/11/10 21:48:42] @ tremble joined channel #puppet | ||
| [2011/11/10 21:48:43] @ Quit: tremble: Changing host | ||
| [2011/11/10 21:48:43] @ tremble joined channel #puppet | ||
| [2011/11/10 21:55:13] @ seanh-ansca joined channel #puppet | ||
| [2011/11/10 21:55:27] @ Quit: seanh-ansca: Client Quit | ||
| [2011/11/10 21:57:22] @ jsnby joined channel #puppet | ||
| [2011/11/10 21:58:51] @ Quit: jsnby: Client Quit | ||
| [2011/11/10 21:59:26] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 22:00:29] @ jsnby joined channel #puppet | ||
| [2011/11/10 22:05:13] @ hfnix joined channel #puppet | ||
| [2011/11/10 22:08:31] @ soh joined channel #puppet | ||
| [2011/11/10 22:13:39] @ tizzo is now known as tizzo-afk | ||
| [2011/11/10 22:14:51] @ Quit: KaiserBeto: Read error: Connection reset by peer | ||
| [2011/11/10 22:15:01] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/11/10 22:17:50] @ pugnacity joined channel #puppet | ||
| [2011/11/10 22:18:58] @ jaytaph joined channel #puppet | ||
| [2011/11/10 22:19:46] @ Quit: justintime: Ping timeout: 260 seconds | ||
| [2011/11/10 22:23:28] @ Quit: sumsuch_: Quit: sumsuch_ | ||
| [2011/11/10 22:25:15] @ the_weanus joined channel #puppet | ||
| [2011/11/10 22:27:56] @ steakknife left channel #puppet () | ||
| [2011/11/10 22:29:18] @ Quit: the_weanus: Quit: the_weanus | ||
| [2011/11/10 22:31:42] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/10 22:33:22] @ Quit: Holocaine: Ping timeout: 259 seconds | ||
| [2011/11/10 22:33:57] @ riha joined channel #puppet | ||
| [2011/11/10 22:35:49] @ tilgovi joined channel #puppet | ||
| [2011/11/10 22:35:50] @ Quit: tilgovi: Changing host | ||
| [2011/11/10 22:35:50] @ tilgovi joined channel #puppet | ||
| [2011/11/10 22:36:59] @ Quit: dhogland: Remote host closed the connection | ||
| [2011/11/10 22:40:47] @ hooper joined channel #puppet | ||
| [2011/11/10 22:45:44] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/10 22:47:04] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/10 22:48:16] @ Quit: tremble: Ping timeout: 248 seconds | ||
| [2011/11/10 22:50:22] @ Quit: alanevans: Read error: Operation timed out | ||
| [2011/11/10 22:53:47] @ Quit: ocherno: Quit: Leaving | ||
| [2011/11/10 22:54:57] @ Quit: tilgovi: Read error: Operation timed out | ||
| [2011/11/10 22:55:22] @ Quit: amoe: Ping timeout: 258 seconds | ||
| [2011/11/10 22:55:24] @ dym joined channel #puppet | ||
| [2011/11/10 22:55:39] <dym> Hey - im looking for an overall puppet documentation on pdf - can someone hint me towards one? | ||
| [2011/11/10 22:55:44] <dym> (which is more than 2 pages :D ) | ||
| [2011/11/10 22:57:09] @ amoe joined channel #puppet | ||
| [2011/11/10 22:59:47] @ fronlius joined channel #puppet | ||
| [2011/11/10 23:01:13] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/10 23:03:51] <dym> Are they serious? Signups for whitepapers? | ||
| [2011/11/10 23:03:58] <dym> :/ Fine - no reading then :( | ||
| [2011/11/10 23:04:06] <whack> dym: hah, whitepapers? | ||
| [2011/11/10 23:04:22] <whack> what kind of docs are you looking for? | ||
| [2011/11/10 23:04:42] <dym> im in a rush - i just wanted to get an overview of basic puppet functionality and possibilities. | ||
| [2011/11/10 23:04:50] <dym> do you have a doc handy? | ||
| [2011/11/10 23:05:03] <dym> im gonna be on commute and would like some lecture :D | ||
| [2011/11/10 23:05:10] <whack> hah, fair enough. hmmm | ||
| [2011/11/10 23:05:15] <whack> maybe search slideshare? | ||
| [2011/11/10 23:05:26] <whack> or scribd | ||
| [2011/11/10 23:05:49] <dym> ok so you dont | ||
| [2011/11/10 23:05:51] <dym> :D | ||
| [2011/11/10 23:06:11] <whack> http://www.slideshare.net/jamtur01/using-puppet-real-world-configuration-management that seems OK | ||
| [2011/11/10 23:06:28] <whack> skipping around through that slideset gives a decent background plus some examples | ||
| [2011/11/10 23:07:48] <dym> nah thats not what im looking for | ||
| [2011/11/10 23:07:51] <dym> but thanks | ||
| [2011/11/10 23:08:00] <dym> if i wanted random geek pictures i'd go elsewhere :D | ||
| [2011/11/10 23:08:19] <whack> no no | ||
| [2011/11/10 23:08:45] <whack> slide 22 and on | ||
| [2011/11/10 23:10:34] @ sumsuch joined channel #puppet | ||
| [2011/11/10 23:13:34] @ Quit: iamchrisf: Read error: Operation timed out | ||
| [2011/11/10 23:14:39] @ jodok joined channel #puppet | ||
| [2011/11/10 23:14:40] @ Quit: jodok: Changing host | ||
| [2011/11/10 23:14:40] @ jodok joined channel #puppet | ||
| [2011/11/10 23:15:46] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/10 23:16:19] @ iamchrisf joined channel #puppet | ||
| [2011/11/10 23:18:13] @ lkoranda joined channel #puppet | ||
| [2011/11/10 23:19:48] @ the_ramink joined channel #puppet | ||
| [2011/11/10 23:20:50] @ tremble joined channel #puppet | ||
| [2011/11/10 23:20:50] @ Quit: tremble: Changing host | ||
| [2011/11/10 23:20:50] @ tremble joined channel #puppet | ||
| [2011/11/10 23:29:32] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/10 23:30:24] @ gaveen joined channel #puppet | ||
| [2011/11/10 23:30:32] @ Quit: gaveen: Changing host | ||
| [2011/11/10 23:30:32] @ gaveen joined channel #puppet | ||
| [2011/11/10 23:31:57] @ larstobi joined channel #puppet | ||
| [2011/11/10 23:32:19] @ DJClean joined channel #puppet | ||
| [2011/11/10 23:34:11] @ nitram_macair_ joined channel #puppet | ||
| [2011/11/10 23:35:02] <nitram_macair_> if i want to have a custom function do i need to create a module to put it in? | ||
| [2011/11/10 23:35:24] <bobra> nitram_macair_: no need | ||
| [2011/11/10 23:35:36] <nitram_macair_> where do i put it? | ||
| [2011/11/10 23:35:48] <nitram_macair_> reading this http://docs.puppetlabs.com/guides/custom_functions.html | ||
| [2011/11/10 23:36:14] <bobra> you can create a file customfunctions.pp and add "import customfunctions.pp" in site.pp | ||
| [2011/11/10 23:36:31] @ Quit: kubicek: Excess Flood | ||
| [2011/11/10 23:36:38] <nitram_macair_> thanks | ||
| [2011/11/10 23:36:40] @ ckauhaus joined channel #puppet | ||
| [2011/11/10 23:36:45] <bobra> yw | ||
| [2011/11/10 23:37:29] @ kubicek joined channel #puppet | ||
| [2011/11/10 23:38:30] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/11/10 23:38:54] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/11/10 23:39:44] @ Quit: emergion: Quit: later... | ||
| [2011/11/10 23:40:27] @ Quit: viq: Ping timeout: 260 seconds | ||
| [2011/11/10 23:41:14] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/10 23:44:31] <jamesturnbull> nitram_macair_: a module is easiest to manage IMHO | ||
| [2011/11/10 23:45:24] @ justintime joined channel #puppet | ||
| [2011/11/10 23:45:26] <nitram_macair_> its the hiera plugin, should i just create a hiera module, can i reference it globally ? | ||
| [2011/11/10 23:46:09] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/10 23:47:43] <jamesturnbull> nitram_macair_: yeah just include hiera in site.pp | ||
| [2011/11/10 23:47:56] <nitram_macair_> got it thanks. | ||
| [2011/11/10 23:48:09] @ rutger_ joined channel #puppet | ||
| [2011/11/10 23:50:21] @ larsar joined channel #puppet | ||
| [2011/11/10 23:51:28] @ Stenbryggen joined channel #puppet | ||
| [2011/11/10 23:52:23] @ Quit: larsar_: Ping timeout: 256 seconds | ||
| [2011/11/10 23:54:26] @ larsar_ joined channel #puppet | ||
| [2011/11/10 23:55:40] @ Quit: fimblo: Quit: leaving | ||
| [2011/11/10 23:56:30] @ Quit: larsar: Ping timeout: 240 seconds |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!