Tuesday, 2011-12-06

[2011/12/06 00:00:33] @ Log started by gepetto
[2011/12/06 00:00:33] <red_alert> fragfutter: no, I hoped to get someone clever's insight first. I think just having both might end in a unknown result because sometimes it will work and sometimes it won't. So I would probably add a dependency to circumvent that...but if puppet is clever enough that might be unnecessary :/
[2011/12/06 00:01:32] <fragfutter> red_alert: it should be clever enough. it first calculates what should all be there and what shouldn't and then it executes.
[2011/12/06 00:01:53] @ Quit: fetep: Read error: Operation timed out
[2011/12/06 00:01:58] @ fetep joined channel #puppet
[2011/12/06 00:04:03] @ trickyf joined channel #puppet
[2011/12/06 00:04:43] @ n8 joined channel #puppet
[2011/12/06 00:05:09] <red_alert> fragfutter: okay, thanks
[2011/12/06 00:05:22] @ marcus joined channel #puppet
[2011/12/06 00:05:34] @ zorg1 joined channel #puppet
[2011/12/06 00:09:50] @ pieter_ joined channel #puppet
[2011/12/06 00:10:18] @ Quit: monomyth: Remote host closed the connection
[2011/12/06 00:10:24] @ Quit: sascha_: Ping timeout: 248 seconds
[2011/12/06 00:11:11] @ emergion joined channel #puppet
[2011/12/06 00:16:39] @ lkoranda joined channel #puppet
[2011/12/06 00:18:13] @ Quit: n8: Quit: n8
[2011/12/06 00:21:36] @ Ramonster joined channel #puppet
[2011/12/06 00:23:53] @ Quit: nated: Ping timeout: 240 seconds
[2011/12/06 00:24:55] @ Quit: mrwacky42: Quit: Leaving.
[2011/12/06 00:26:07] @ Quit: Ramonster: Ping timeout: 240 seconds
[2011/12/06 00:28:13] @ Ramonster joined channel #puppet
[2011/12/06 00:30:51] @ Quit: KristianDK: Quit: KristianDK
[2011/12/06 00:32:06] <pradeep> Hi , can we use multiple "require" in a resource ?
[2011/12/06 00:32:28] @ verwilst joined channel #puppet
[2011/12/06 00:34:16] @ Quit: tilgovi: Ping timeout: 240 seconds
[2011/12/06 00:34:43] <Callek> yes, require=>[File['foo'], Package['bar']]
[2011/12/06 00:35:29] <pradeep> ok
[2011/12/06 00:37:57] @ d3c joined channel #puppet
[2011/12/06 00:39:24] <pieter_> Hi, I have a problem with Facter. It has been upgraded to 1.6.3. Now when I run puppet I get the following error: "Could not retrieve operatingsystem: can't convert nil into String". When I run facter --puppet by hand I get "operatingsystem => Debian". I also have a fact that does Facter.value(:operatingsystem) and it gives the same error. Any one an idea?
[2011/12/06 00:40:02] <d3c> I have a working production environment setup with puppet. I'd now like to setup a development environment on our dev boxes (OSX). what's the normal way to do this? create a manifest that includes everything, e.g. nginx, php, memcached, ... ? I already have written modules for everything but those are made for the CentOS environment that production is in. should I then modify those modules to also support OSX?
[2011/12/06 00:40:20] @ mogitaff joined channel #puppet
[2011/12/06 00:42:16] @ Quit: Vasik|work: Ping timeout: 240 seconds
[2011/12/06 00:43:58] @ Stenbryggen joined channel #puppet
[2011/12/06 00:43:58] @ Quit: diq: Read error: Connection reset by peer
[2011/12/06 00:44:32] @ Djelibeybi joined channel #puppet
[2011/12/06 00:44:33] @ kolla joined channel #puppet
[2011/12/06 00:45:11] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/06 00:46:14] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/06 00:47:27] @ KristianDK joined channel #puppet
[2011/12/06 00:48:56] <kjetilho> pieter_: you are not guaranteed an ordering on the fact loading
[2011/12/06 00:49:10] @ Razique joined channel #puppet
[2011/12/06 00:49:39] <pieter_> kjetilho, so how do I read a fact from my script (and why does it work when i use 'lsbdistid')?
[2011/12/06 00:49:48] <kjetilho> pieter_: I do a begin Facter.operatingsystem; rescue Facter.loadfacts; end
[2011/12/06 00:49:59] <kjetilho> before actually using the fact
[2011/12/06 00:50:18] <kjetilho> in my custom fact $osfamily
[2011/12/06 00:51:46] <pieter_> ah kjetilho does that slow down the facter run? As it has to load the facts twice
[2011/12/06 00:56:35] <kjetilho> it only loads if the operatingsystem fact hasn't been loaded already
[2011/12/06 00:56:45] <kjetilho> but I don't know, really
[2011/12/06 00:59:28] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/12/06 01:00:34] @ diq joined channel #puppet
[2011/12/06 01:00:46] @ red_alert left channel #puppet ()
[2011/12/06 01:01:10] @ fir31ight joined channel #puppet
[2011/12/06 01:02:27] @ pmorillon joined channel #puppet
[2011/12/06 01:05:02] @ Quit: ali3n0: Quit: Leaving.
[2011/12/06 01:05:03] @ ken_barber joined channel #puppet
[2011/12/06 01:06:02] @ daysmen joined channel #puppet
[2011/12/06 01:07:03] @ ezryx joined channel #puppet
[2011/12/06 01:16:10] @ Quit: duerF: Ping timeout: 252 seconds
[2011/12/06 01:17:25] @ nul0op joined channel #puppet
[2011/12/06 01:18:14] @ Quit: KaZeR_W: Remote host closed the connection
[2011/12/06 01:20:16] @ bascht joined channel #puppet
[2011/12/06 01:21:06] @ KaZeR_W joined channel #puppet
[2011/12/06 01:23:08] @ duerF joined channel #puppet
[2011/12/06 01:25:59] <bd> pierre1: is lsb_release installed?
[2011/12/06 01:26:03] @ sascha_ joined channel #puppet
[2011/12/06 01:26:16] <pierre1> bd: wrong nick
[2011/12/06 01:26:31] <bd> pierre1: but close ;)
[2011/12/06 01:26:41] <bd> pieter_: is lsb_release installed?
[2011/12/06 01:28:11] @ Holocaine joined channel #puppet
[2011/12/06 01:34:21] <pieter_> bd, yes
[2011/12/06 01:34:41] <pieter_> when I run facter --puppet no error occours
[2011/12/06 01:34:59] <pieter_> and the fact 'operatingsystem' has the correct value
[2011/12/06 01:37:05] @ Quit: kermit: Ping timeout: 244 seconds
[2011/12/06 01:37:44] <bd> pieter_: hm, and how about just running facter, without the --puppet
[2011/12/06 01:37:47] @ Quit: hardcore: Quit: Lost terminal
[2011/12/06 01:38:07] <pieter_> bd, works fine as well
[2011/12/06 01:39:24] @ Quit: jimmy1980: Ping timeout: 268 seconds
[2011/12/06 01:40:22] @ ckauhaus joined channel #puppet
[2011/12/06 01:44:47] @ jimmy1980 joined channel #puppet
[2011/12/06 01:45:41] @ Quit: ToKy: Ping timeout: 252 seconds
[2011/12/06 01:45:53] @ Spads joined channel #puppet
[2011/12/06 01:46:40] @ Quit: pradeep: Quit: Page closed
[2011/12/06 01:48:27] @ Quit: sascha_: Ping timeout: 244 seconds
[2011/12/06 01:50:34] @ Quit: choonming: Quit: Leaving
[2011/12/06 01:52:17] @ erkules left channel #puppet ("WeeChat 0.3.2")
[2011/12/06 01:54:31] @ n8 joined channel #puppet
[2011/12/06 01:56:36] <bd> I'd like to monitor puppet run 'freshness' on my nodes. I can't use the state.yaml file, as that gets updated even on a failed run.
[2011/12/06 01:57:33] @ dwatsonuk joined channel #puppet
[2011/12/06 01:59:40] <bd> can I just watch /etc/motd's mtime() (we update it on every puppet run), or can that be updated even if the whole run fails?
[2011/12/06 01:59:45] @ Quit: highclasshole: Ping timeout: 268 seconds
[2011/12/06 01:59:46] @ kjalil joined channel #puppet
[2011/12/06 02:00:29] @ Quit: pmorillon: Ping timeout: 252 seconds
[2011/12/06 02:01:04] @ sascha_ joined channel #puppet
[2011/12/06 02:01:51] @ nated joined channel #puppet
[2011/12/06 02:01:51] @ Quit: nated: Changing host
[2011/12/06 02:01:51] @ nated joined channel #puppet
[2011/12/06 02:02:19] @ pmorillon joined channel #puppet
[2011/12/06 02:03:43] @ Quit: kelseyhightower: Read error: Connection reset by peer
[2011/12/06 02:03:57] @ kelseyhightower joined channel #puppet
[2011/12/06 02:07:48] @ kermit joined channel #puppet
[2011/12/06 02:10:46] @ Quit: Spads: Remote host closed the connection
[2011/12/06 02:18:10] <tim|mac> bd: we found a script online that parses last_run_summary.yaml
[2011/12/06 02:18:19] <tim|mac> forgot where we found it, but it's in our github repo
[2011/12/06 02:18:21] <tim|mac> https://github.com/kumina/nagios-plugins-kumina/blob/master/check_puppet.rb
[2011/12/06 02:18:45] <tim|mac> doesn't really monitor freshness
[2011/12/06 02:18:51] <tim|mac> but at least tells you if the last run failed or not
[2011/12/06 02:18:52] @ Spads joined channel #puppet
[2011/12/06 02:19:22] <tim|mac> we combine it with the freshness of state.yaml
[2011/12/06 02:21:41] <d3c> when using puppet with OSX - and macports as the package provider - I get: change from absent to latest failed: Could not update: undefined method `[]' for nil:NilClass - shouldn't macports work out of the box?
[2011/12/06 02:22:47] <bd> tim|mac: so basically, if last_run.failed() || yaml.too_old() then ERROR?
[2011/12/06 02:23:39] <tim|mac> bd: nothing as fancy as that, we simply check both and alert on both cases, because things need investigation either way
[2011/12/06 02:24:04] <bd> tim|mac: ok, thanks.
[2011/12/06 02:24:48] @ Quit: adimania: Ping timeout: 252 seconds
[2011/12/06 02:25:25] <tim|mac> as said, script didn't originate from us, but apparently we forgot to document the source :S
[2011/12/06 02:25:35] <tim|mac> source is very probably Volcane ;-)
[2011/12/06 02:26:05] <d3c> tim|mac: looking at your nickname, you might know about this... does provider macports work for you on OSX? :)
[2011/12/06 02:28:14] <tim|mac> d3c: actually, the nick is very old... i bailed out of osx because i couldn't get stuff like macports working correctly with what i needed :) running Mint, these days
[2011/12/06 02:28:24] <tim|mac> gave away my macbook
[2011/12/06 02:28:40] @ Naresh joined channel #puppet
[2011/12/06 02:28:47] <Naresh> how do you extdata with puppet apply?
[2011/12/06 02:28:55] <Naresh> trying to do masterless puppet here
[2011/12/06 02:29:13] @ adimania joined channel #puppet
[2011/12/06 02:29:23] <Naresh> and is setting $extlookup_datadir to a relative path legal?
[2011/12/06 02:30:09] @ hco-bitlbee-mba joined channel #puppet
[2011/12/06 02:30:37] @ Quit: joe-mac: Read error: Connection reset by peer
[2011/12/06 02:31:33] @ jbraeuer joined channel #puppet
[2011/12/06 02:32:39] <d3c> tim|mac: ah, alright. I wanna get it working though. hm
[2011/12/06 02:33:17] @ Quit: pmorillon: Quit: pmorillon
[2011/12/06 02:35:56] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/06 02:36:16] <jbraeuer> Hi everyone! I run MCollective 1.2.1 with ActiveMQ 5.5 on EC2. Sometimes (eg. 1 out of 20 mco invokations) the discovery fails. Is this expected?
[2011/12/06 02:36:53] @ joe-mac joined channel #puppet
[2011/12/06 02:38:11] @ pmorillon joined channel #puppet
[2011/12/06 02:43:05] @ erthad joined channel #puppet
[2011/12/06 02:44:21] @ Quit: erthad: Changing host
[2011/12/06 02:44:21] @ erthad joined channel #puppet
[2011/12/06 02:46:33] @ brtl joined channel #puppet
[2011/12/06 02:46:51] @ MattyM joined channel #puppet
[2011/12/06 02:48:16] @ Quit: jimmy1980: Ping timeout: 253 seconds
[2011/12/06 02:51:07] @ jimmy1980 joined channel #puppet
[2011/12/06 02:51:55] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/12/06 02:54:29] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/06 02:54:56] @ ali3n0 joined channel #puppet
[2011/12/06 02:56:21] <tim|mac> jbraeuer: i dont have a ton of experience on ec2, but the experience i do have is not very good... network seems to be unreliable at times, just like the instances themselves
[2011/12/06 02:56:35] <tim|mac> that could be the cause
[2011/12/06 02:57:47] <jbraeuer> So you run it in a different environment and discovery just works reliably for you?
[2011/12/06 02:58:30] @ Quit: KristianDK: Quit: KristianDK
[2011/12/06 03:00:49] @ KristianDK joined channel #puppet
[2011/12/06 03:00:53] @ Quit: pmorillon: Quit: pmorillon
[2011/12/06 03:01:54] @ Quit: Enf: Quit: Leaving
[2011/12/06 03:02:47] @ Quit: KristianDK: Client Quit
[2011/12/06 03:03:32] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/06 03:05:52] @ Quit: jaytaph: Ping timeout: 255 seconds
[2011/12/06 03:07:22] @ bolt12 joined channel #puppet
[2011/12/06 03:11:45] @ Quit: bolt12: Ping timeout: 244 seconds
[2011/12/06 03:15:51] @ Quit: csanchez: Quit: csanchez
[2011/12/06 03:16:03] <tim|mac> jbraeuer: indeed
[2011/12/06 03:18:14] @ Quit: n8: Quit: n8
[2011/12/06 03:20:03] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 03:22:54] @ jsm joined channel #puppet
[2011/12/06 03:25:39] @ feylya-puppet joined channel #puppet
[2011/12/06 03:26:28] @ jimmy1980 joined channel #puppet
[2011/12/06 03:32:47] @ danikov joined channel #puppet
[2011/12/06 03:34:53] @ csanchez joined channel #puppet
[2011/12/06 03:36:31] @ Quit: sascha_: Read error: Connection reset by peer
[2011/12/06 03:36:48] @ sascha_ joined channel #puppet
[2011/12/06 03:36:59] @ Quit: joe-mac: Read error: Connection reset by peer
[2011/12/06 03:37:47] @ Quit: zsoftich: Read error: Operation timed out
[2011/12/06 03:37:47] @ hco-bitlbee-mba joined channel #puppet
[2011/12/06 03:38:28] @ joe-mac joined channel #puppet
[2011/12/06 03:38:48] @ Quit: paroneayea: Remote host closed the connection
[2011/12/06 03:38:49] @ salajand1r joined channel #puppet
[2011/12/06 03:39:17] @ Quit: salajander: Read error: Connection reset by peer
[2011/12/06 03:39:23] @ zsoftich joined channel #puppet
[2011/12/06 03:39:37] @ paroneay` joined channel #puppet
[2011/12/06 03:40:06] @ PedroGomes joined channel #puppet
[2011/12/06 03:44:43] @ Quit: Holocaine:
[2011/12/06 03:46:47] @ raphdg joined channel #puppet
[2011/12/06 03:47:14] @ Quit: drewrm: Ping timeout: 252 seconds
[2011/12/06 03:47:43] @ xoveruk joined channel #puppet
[2011/12/06 03:47:45] @ Quit: emergion: Quit: later...
[2011/12/06 03:48:04] <xoveruk> i am getting this error when i tried to readd a host with its new domain name
[2011/12/06 03:48:06] <xoveruk> notice: Run of Puppet configuration client already in progress; skipping
[2011/12/06 03:48:25] <xoveruk> I have removed the keys and readded the host to the server but it will not update.
[2011/12/06 03:49:09] <tim|mac> xorpaul: either you have a puppet client already running or the lockfile is still in place
[2011/12/06 03:49:13] <tim|mac> sorry
[2011/12/06 03:49:22] <tim|mac> xoveruk: either you have a puppet client already running or the lockfile is still in place
[2011/12/06 03:50:05] @ emergion joined channel #puppet
[2011/12/06 03:51:19] @ n8 joined channel #puppet
[2011/12/06 03:52:26] @ Quit: jsm: Quit: jsm
[2011/12/06 03:53:47] @ trickyf left channel #puppet ()
[2011/12/06 03:53:59] @ trickyf joined channel #puppet
[2011/12/06 03:54:54] @ jsurfer joined channel #puppet
[2011/12/06 03:55:35] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/06 03:55:49] @ jsurfer left channel #puppet ()
[2011/12/06 03:56:16] @ highclasshole joined channel #puppet
[2011/12/06 03:58:21] @ Quit: emergion: Quit: later...
[2011/12/06 03:58:45] <xoveruk> tim|mac: thanks it was that
[2011/12/06 03:59:30] @ jbn joined channel #puppet
[2011/12/06 04:02:39] @ KristianDK joined channel #puppet
[2011/12/06 04:03:13] @ jsm joined channel #puppet
[2011/12/06 04:05:22] <dwatsonuk> On installig a new server is there a way to request a certificate based on its hostname rather than a dns lookup?
[2011/12/06 04:06:14] <supplicant> you could create the cert ahead of time
[2011/12/06 04:07:09] <dwatsonuk> so I'd create the cert on the master then find a way to deploy it to the client before puppet runs for the first time?
[2011/12/06 04:07:11] @ Vasik|work joined channel #puppet
[2011/12/06 04:07:38] <supplicant> that's what we do
[2011/12/06 04:08:28] <PedroGomes> if I have a file type where I create a script that is "file{"path/file", ensure… " how can I delete it after the execution since it should be also something like "file{"path/file", ensure => absent"?
[2011/12/06 04:08:31] <dwatsonuk> ok thanks
[2011/12/06 04:08:35] <supplicant> although I don't know much about ssl, so I'm not sure if what you're proposing works. if it does, do let me know
[2011/12/06 04:08:46] @ Quit: n8: Quit: n8
[2011/12/06 04:09:01] <dwatsonuk> will do
[2011/12/06 04:09:42] <supplicant> PedroGomes: what are you trying to achieve?
[2011/12/06 04:10:38] * supplicant wonders if you can do an exec with a template for a multi-line script
[2011/12/06 04:11:57] <PedroGomes> supplicant: I have to execute dozens of commands so i copy a script to the client, execute it and then I want to remove it since its garbage after that
[2011/12/06 04:12:22] @ job joined channel #puppet
[2011/12/06 04:12:35] <supplicant> does an exec with command => template("script") work?
[2011/12/06 04:13:51] <PedroGomes> supplicant: noob here, sorry. I search a little in google and it I saw people advising the script way. I will look into that
[2011/12/06 04:14:06] <supplicant> well I don't know if what I said works :)
[2011/12/06 04:14:58] <PedroGomes> oh, ok then, but forgetting the problem, cant I create and delete a file in the same class?
[2011/12/06 04:15:08] <kjetilho> supplicant: the contents of the file script are used verbatim. this is unlikely to work unless you pay a lot of attention
[2011/12/06 04:15:22] <kjetilho> e.g. #! /bin/sh will disable the whole thing ;)
[2011/12/06 04:15:28] <kjetilho> (since it is a comment)
[2011/12/06 04:15:35] <supplicant> yeah, I suspected as much
[2011/12/06 04:15:45] <supplicant> semicolons EVERYWHERE
[2011/12/06 04:16:15] <job> i have a smokeping module, and smokeping demands that all slaves are define on a single line
[2011/12/06 04:16:34] <job> untill now i've been using concat to collect virtual exported resources into a single configfile
[2011/12/06 04:16:52] <job> but i'm at loss how to produce a line with all nodes that my puppetmaster administrates into a single line
[2011/12/06 04:17:47] <job> so under a node definition i do something like
[2011/12/06 04:17:50] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/06 04:17:54] <job> include smokeping::slave
[2011/12/06 04:18:09] <job> i hope i'm making a bit of sense
[2011/12/06 04:19:47] @ xoveruk left channel #puppet ()
[2011/12/06 04:25:16] @ pmorillon joined channel #puppet
[2011/12/06 04:28:12] @ natewalck joined channel #puppet
[2011/12/06 04:32:06] @ hco-bitlbee-mba joined channel #puppet
[2011/12/06 04:32:48] @ pmorillon_ joined channel #puppet
[2011/12/06 04:33:05] @ Quit: pmorillon: Ping timeout: 240 seconds
[2011/12/06 04:33:05] @ pmorillon_ is now known as pmorillon
[2011/12/06 04:35:57] @ Quit: jbn: Quit: Page closed
[2011/12/06 04:37:01] @ johnston_ joined channel #puppet
[2011/12/06 04:43:33] @ n0ts joined channel #puppet
[2011/12/06 04:44:38] @ MartVisser joined channel #puppet
[2011/12/06 04:44:43] @ Quit: jsm: Quit: jsm
[2011/12/06 04:48:04] @ leifmadsen joined channel #puppet
[2011/12/06 04:50:08] @ Quit: jodok: Quit: jodok
[2011/12/06 04:51:09] @ jodok joined channel #puppet
[2011/12/06 04:51:09] @ Quit: jodok: Changing host
[2011/12/06 04:51:09] @ jodok joined channel #puppet
[2011/12/06 04:51:36] @ Quit: paroneay`: Remote host closed the connection
[2011/12/06 04:52:25] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/06 04:53:08] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/06 04:57:47] @ hyperboreean joined channel #puppet
[2011/12/06 04:58:54] @ Quit: ranulf: Quit: leaving
[2011/12/06 04:59:16] <hyperboreean> hi guys, I need your help please, I have some machines deployed with puppet; I also have mcollective installed - what I want to achieve is to acquire all of the ip addresses of some predefined hostnames
[2011/12/06 04:59:22] <hyperboreean> is there any easy way to do that?
[2011/12/06 05:00:58] @ Quit: mogitaff: Remote host closed the connection
[2011/12/06 05:01:17] @ Quit: csanchez: Ping timeout: 244 seconds
[2011/12/06 05:07:21] @ DemonWitch joined channel #puppet
[2011/12/06 05:08:34] @ csanchez joined channel #puppet
[2011/12/06 05:09:24] @ Quit: _UsUrPeR_: Read error: Connection reset by peer
[2011/12/06 05:10:19] @ _flex joined channel #puppet
[2011/12/06 05:12:09] @ csanchez_ joined channel #puppet
[2011/12/06 05:13:02] @ cliff-hm joined channel #puppet
[2011/12/06 05:14:42] @ Quit: csanchez: Ping timeout: 252 seconds
[2011/12/06 05:14:42] @ csanchez_ is now known as csanchez
[2011/12/06 05:15:27] @ marczak joined channel #puppet
[2011/12/06 05:16:12] <erthad> hiall
[2011/12/06 05:16:28] @ aherzog joined channel #puppet
[2011/12/06 05:16:34] @ lbt is now known as lbt_away
[2011/12/06 05:16:47] <erthad> does anyone remember what parameter of puppet.conf sets how often puppet monitors it for changes?
[2011/12/06 05:16:57] <erthad> I can't find that in man page :-\
[2011/12/06 05:17:27] <Spads> erthad: runinterval?
[2011/12/06 05:17:50] <Spads> erthad: what do you mean "it"?
[2011/12/06 05:18:11] <Spads> Do you mean monitoring puppet.conf itself? Because the puppet daemon won't do that, I believ.
[2011/12/06 05:18:52] @ Quit: n0ts: Quit: Tiarra 0.1: SIGTERM received; exit
[2011/12/06 05:19:07] @ n0ts joined channel #puppet
[2011/12/06 05:19:26] @ Quit: hal-j: Quit: Leaving.
[2011/12/06 05:19:33] <erthad> Spads: yes, I mean monitoring puppet.conf itself
[2011/12/06 05:19:39] @ Suresh-linux joined channel #puppet
[2011/12/06 05:19:50] @ hal-j joined channel #puppet
[2011/12/06 05:20:39] <erthad> somebody on this channel have told me that Service['puppet'] doesn't need to be subscribed to config file changes because it monitors that but I can't make it work
[2011/12/06 05:20:44] @ szaydel joined channel #puppet
[2011/12/06 05:21:41] <Spads> erthad: That seems wrong to me.
[2011/12/06 05:22:40] @ Quit: AshishH: Ping timeout: 255 seconds
[2011/12/06 05:23:49] @ Quit: _flex: Remote host closed the connection
[2011/12/06 05:25:39] <dcarley> it's correct.
[2011/12/06 05:25:46] <erthad> puppet source helped me to find that at last -- it is called filetimeout
[2011/12/06 05:26:51] <Spads> ahhh
[2011/12/06 05:26:55] <Spads> good to know, I suppose.
[2011/12/06 05:27:03] <Spads> is this new in 2.7 or has it always been this way?
[2011/12/06 05:27:22] <dcarley> goes back to 0.25, maybe further.
[2011/12/06 05:27:38] @ Quit: tremble: Ping timeout: 240 seconds
[2011/12/06 05:28:20] <job> i'm looking for a pre-commit script that works with puppet 2.7
[2011/12/06 05:28:31] <job> it seems the --parseonly --ignoreimport options are gone
[2011/12/06 05:28:40] <job> and puppet parser validate doesnt accept on STDIN
[2011/12/06 05:29:16] <job> specificly for git
[2011/12/06 05:29:58] @ Quit: gniks: Quit: Leaving.
[2011/12/06 05:30:24] @ gniks joined channel #puppet
[2011/12/06 05:31:43] <n1x0n> did anyone have a problem with the dashboard where the run time (last 30 puppet runs) graph stopped refreshing ?
[2011/12/06 05:32:15] @ ldlework joined channel #puppet
[2011/12/06 05:32:19] @ Quit: gniks: Client Quit
[2011/12/06 05:33:40] <dcarley> job: dump to mktemp(1)?
[2011/12/06 05:36:13] <dwatsonuk> supplicant, certificates: The master sees the client as hostname.example.com and the client has the hostname hostname, but the dns has hostname pointed to another ip, all working fine, just letting you know
[2011/12/06 05:37:02] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/12/06 05:37:11] @ jaytaph joined channel #puppet
[2011/12/06 05:37:47] @ sdog joined channel #puppet
[2011/12/06 05:38:13] <Suresh-linux> I am very beginner in puppet and i am facing a problem while creating new useraccount using veriable for username
[2011/12/06 05:38:23] <Suresh-linux> Any one could help me this ?
[2011/12/06 05:38:35] @ tremble joined channel #puppet
[2011/12/06 05:38:36] @ Quit: tremble: Changing host
[2011/12/06 05:38:36] @ tremble joined channel #puppet
[2011/12/06 05:38:38] @ Quit: pmorillon: Quit: pmorillon
[2011/12/06 05:39:34] @ AshishH joined channel #puppet
[2011/12/06 05:39:47] <dwatsonuk> Suresh-linux, can you be more specific about what the problem is? Variables cannot be changed within the same scope, so perhaps thats what you are running in to?
[2011/12/06 05:40:40] <Suresh-linux> I have just created .pp file for creating user account which working fine no issues
[2011/12/06 05:41:30] @ n8 joined channel #puppet
[2011/12/06 05:41:31] <Suresh-linux> now i wanted to create a useraccount with variables , so that i can avoid giving username everywhere
[2011/12/06 05:42:20] <Suresh-linux> so that if i change it once place i should be able to create another user acccount
[2011/12/06 05:42:37] @ Quit: marczak: Ping timeout: 244 seconds
[2011/12/06 05:42:44] @ pmorillon joined channel #puppet
[2011/12/06 05:43:04] @ Quit: ldlework: Ping timeout: 252 seconds
[2011/12/06 05:43:13] @ brandon_dacrib joined channel #puppet
[2011/12/06 05:43:43] <dwatsonuk> I'm not sure I follow you, but perhaps you are looking for a define?
[2011/12/06 05:44:00] <Suresh-linux> yes
[2011/12/06 05:44:44] @ Niarf joined channel #puppet
[2011/12/06 05:44:44] <Suresh-linux> Do you have paste bin url so that i can paste you in that..
[2011/12/06 05:46:31] @ Niarf left channel #puppet ()
[2011/12/06 05:46:33] @ Niarf joined channel #puppet
[2011/12/06 05:46:51] <Niarf> hi :)
[2011/12/06 05:47:06] <Niarf> hi :)
[2011/12/06 05:47:40] <Niarf> anyone see me ?
[2011/12/06 05:47:55] <Spads> No, I can't see a word you're typing.
[2011/12/06 05:47:57] <dwatsonuk> I don't use defines for users myself, sorry, I'm not sure what a define really gives you over a user type
[2011/12/06 05:47:59] <dwatsonuk> Niarf, yes
[2011/12/06 05:48:11] <Niarf> ok, thanks, i try a new irc client
[2011/12/06 05:48:36] <Niarf> so, i have a problem with puppet :(
[2011/12/06 05:48:42] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/06 05:49:05] <KristianDK> Niarf, welcome to the club
[2011/12/06 05:49:13] <Niarf> error is : puppetmasterd[010203]: Could not parse YAML data for node node.domain.com: syntax error on line 79, col 18: `'
[2011/12/06 05:49:28] @ Quit: csanchez: Quit: csanchez
[2011/12/06 05:49:46] <Niarf> i have more than 200 clients runs OK but 2 no :(
[2011/12/06 05:49:55] <Niarf> any idea ?
[2011/12/06 05:50:05] @ csanchez joined channel #puppet
[2011/12/06 05:50:15] @ Quit: kubicek: Excess Flood
[2011/12/06 05:50:19] @ kubicek joined channel #puppet
[2011/12/06 05:50:20] @ Quit: kubicek: Excess Flood
[2011/12/06 05:50:24] <dwatsonuk> do those 2 have any different classes
[2011/12/06 05:50:40] <KristianDK> looks like you have a syntax error in the config for these two nodes
[2011/12/06 05:50:41] @ nevyn joined channel #puppet
[2011/12/06 05:51:43] @ kubicek joined channel #puppet
[2011/12/06 05:52:13] @ uphillian joined channel #puppet
[2011/12/06 05:53:07] <Niarf> hum
[2011/12/06 05:53:15] @ marczak joined channel #puppet
[2011/12/06 05:53:23] <KristianDK> missing a quite sign or something like that?
[2011/12/06 05:53:26] <KristianDK> quote *
[2011/12/06 05:53:30] <Niarf> i tested on other machine in the same subnode, no problem
[2011/12/06 05:53:30] @ NuclearLucifer joined channel #puppet
[2011/12/06 05:53:40] @ Quit: sdog: Changing host
[2011/12/06 05:53:40] @ sdog joined channel #puppet
[2011/12/06 05:53:41] @ Quit: sdog: Changing host
[2011/12/06 05:53:41] @ sdog joined channel #puppet
[2011/12/06 05:53:45] <NuclearLucifer> hello
[2011/12/06 05:54:03] <Niarf> theses nodes include same classes
[2011/12/06 05:54:33] <Niarf> classe is the same as other sub-nodes
[2011/12/06 05:54:56] <Niarf> class*
[2011/12/06 05:55:29] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/06 05:57:34] <ashp> classes within classes within classes, CLASSCEPTION
[2011/12/06 05:58:10] <Niarf> but in other nodes, in the same subnodes, this will be OK
[2011/12/06 05:58:42] @ ldlework joined channel #puppet
[2011/12/06 05:59:58] @ spiette joined channel #puppet
[2011/12/06 06:00:29] <PedroGomes> Hi, I see this bug "https://github.com/puppetlabs/puppet/commit/68c106e3ef192d64eb5a1e8daa1e070774909728" and I see the commit, I went to my code and version 2.7.1 already has this version. So why do I have to execute "puppet agent --test" two times to make it work ?
[2011/12/06 06:00:38] @ jimmy1980 joined channel #puppet
[2011/12/06 06:01:12] <PedroGomes> *make it work -> any deploy i trie to make in the client
[2011/12/06 06:01:59] @ Quit: sdog: Quit: Leaving.
[2011/12/06 06:02:15] @ choonming joined channel #puppet
[2011/12/06 06:03:07] <erthad> dcarley: Spads: puppet config re-reading seem to either work for puppetmaster only or not catch all the config file changes (like runinterval and environment)
[2011/12/06 06:03:26] <Niarf> ashp: i have puppet 0.25.4
[2011/12/06 06:05:27] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/06 06:06:46] @ Quit: marczak: Ping timeout: 248 seconds
[2011/12/06 06:07:03] @ jimmy1980 joined channel #puppet
[2011/12/06 06:08:08] @ Quit: n8: Quit: n8
[2011/12/06 06:10:09] @ Quit: jaytaph: Quit: jaytaph
[2011/12/06 06:10:15] <dcarley> erthad: there are some caveats like #793
[2011/12/06 06:10:15] <gepetto> dcarley: erthad: #793 is http://projects.puppetlabs.com/issues/show/793 "Puppet - Bug #793: changing runinterval in puppet.conf does not take effect on re-parse of puppet.conf file. It has a status of Closed and is assigned to -"
[2011/12/06 06:11:47] <erthad> dcarley: I see, thx
[2011/12/06 06:12:22] <erthad> the problem is when I restart puppet service through restarting I get catalog applying stopped and continued only after the restart
[2011/12/06 06:12:23] @ Quit: zwi: Quit: Leaving.
[2011/12/06 06:12:31] @ jsm joined channel #puppet
[2011/12/06 06:13:24] <erthad> I could move the restart to the first or latest stage but this still might lead to failures appear in puppet dashboard due to that
[2011/12/06 06:13:41] @ eshamow left channel #puppet ()
[2011/12/06 06:14:13] @ Quit: duerF: Quit: Leaving
[2011/12/06 06:14:33] <failure> i have some hosts that run puppet at 30 min interval and others that run 5 min interval, where is this set ?
[2011/12/06 06:15:01] <failure> can i set it on the puppetmaster with: schedule { puppet: } ?
[2011/12/06 06:18:15] <failure> debug: Creating default schedules but nothing else
[2011/12/06 06:18:23] @ blentz joined channel #puppet
[2011/12/06 06:19:04] @ sduchesneau joined channel #puppet
[2011/12/06 06:20:32] @ tomben[M7] is now known as tomben[T7]
[2011/12/06 06:22:21] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 06:24:06] @ jas4711 joined channel #puppet
[2011/12/06 06:25:08] <jas4711> hi. i'm new to puppet and want to confirm one thing for my understanding: clients trust the puppet master only because it has the proper SSL cert, right? Are there any plugins or similar which allows me to OpenPGP sign the manifest and have the client check the signature before applying the manifest? thanks
[2011/12/06 06:25:12] @ Quit: joe-mac: Remote host closed the connection
[2011/12/06 06:25:40] @ lborda joined channel #puppet
[2011/12/06 06:25:44] <lisa> jas4711: because of the SSL cert
[2011/12/06 06:26:07] @ Quit: bobra: Ping timeout: 240 seconds
[2011/12/06 06:26:27] <lisa> jas4711: because the client's cert is signed by the puppetmaster's CA and the puppetmaster's hostname is validated by the SSL certificate communications between the two (client <--> puppetmaster) are secured.
[2011/12/06 06:26:39] <lisa> data is also encrypted at the transport level
[2011/12/06 06:27:11] @ asteve joined channel #puppet
[2011/12/06 06:27:11] @ Quit: asteve: Changing host
[2011/12/06 06:27:12] @ asteve joined channel #puppet
[2011/12/06 06:27:43] @ marczak joined channel #puppet
[2011/12/06 06:27:51] <jas4711> lisa: ok thanks. my question is really if it is possible to use puppet in a mode where some semi-untrustworthy people have access to the puppetmaster and some sensitive machines run puppet clients. i don't want these sensitive machines to be disrupted because of some unintended changes someone did on the puppetmaster.
[2011/12/06 06:28:30] <jas4711> if each puppet client verified a openpgp signature of the manifest, i could sign those manually every time I make some change that applies to the sensitive machines
[2011/12/06 06:28:43] @ Quit: ezryx: Remote host closed the connection
[2011/12/06 06:28:48] <job> http://blog.snijders-it.nl/2011/12/example-puppet-27-git-pre-commit-script.html
[2011/12/06 06:29:05] <jas4711> or do i want multiple puppet masters? one for sensitive machines and one for non-sensitive machines
[2011/12/06 06:29:16] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/06 06:29:20] @ Quit: Vasik|work: *.net *.split
[2011/12/06 06:29:20] @ Quit: danikov: *.net *.split
[2011/12/06 06:29:21] @ Quit: ncmzx: *.net *.split
[2011/12/06 06:29:21] @ Quit: Arendtse1: *.net *.split
[2011/12/06 06:29:21] @ Quit: cwebber: *.net *.split
[2011/12/06 06:29:22] @ Quit: eskp: *.net *.split
[2011/12/06 06:29:23] <lisa> jas4711: i don't THINK anything like that is possible. We secure our Puppet SVN repo by role and access to the puppetmaster by role as well. People may not view, commit, or access puppetmaster manifests.
[2011/12/06 06:29:40] <Spads> jas4711: will you be storing sensitive configuration on the master for the sensitive machine? I like to keep sensitive file sources local, myself.
[2011/12/06 06:30:36] <jas4711> no sensitive information on the master, but there is sensitive information on the machines. however if someone has access to the puppetmaster, i guess they could roll out their own .ssh/authorized_keys file to my sensitive machines and then login to them -- i don't want
[2011/12/06 06:30:47] <jas4711> that
[2011/12/06 06:30:47] <lisa> jas4711: what we do for private SSL certs (for webservers and other services) is to keep those outside of the SCM and have the puppetmaster keep those files locally and merge it into the checked out puppetmaster data. that is why we forbid access to that host.
[2011/12/06 06:30:59] @ tily joined channel #puppet
[2011/12/06 06:31:06] <lisa> sounds like an enhancement request is in order ;-) i'd love to be able to sign files
[2011/12/06 06:31:17] <jas4711> lisa: how do you protect that someone with access to puppetmaster gains access on that machine?
[2011/12/06 06:31:31] @ jimmy1980 joined channel #puppet
[2011/12/06 06:31:39] @ Vasik|work joined channel #puppet
[2011/12/06 06:31:39] @ danikov joined channel #puppet
[2011/12/06 06:31:39] @ ncmzx joined channel #puppet
[2011/12/06 06:31:39] @ Arendtse1 joined channel #puppet
[2011/12/06 06:31:39] @ cwebber joined channel #puppet
[2011/12/06 06:31:39] @ eskp joined channel #puppet
[2011/12/06 06:32:04] <lisa> jas4711: we tell sshd to not allow access to people outside of a specific UNIX/ldap group
[2011/12/06 06:33:05] <jas4711> lisa: ok, but i guess if they compromise the puppetmaster system, they would get into your sensitive machines as well? by publishing a new manifest with some evil update
[2011/12/06 06:33:23] <lisa> jas4711: yes. if the puppetmaster is compromised you're really boned.
[2011/12/06 06:33:52] @ job left channel #puppet ()
[2011/12/06 06:33:54] <lisa> you should enact some kind of access control to whatever host is running puppetmaster(s)
[2011/12/06 06:34:05] @ gniks joined channel #puppet
[2011/12/06 06:34:08] <jas4711> lisa: thank you, that's what i wanted to confirm. i guess i need two puppetmasters in my environment. or possible my sensitive machines should not run puppet clients at all
[2011/12/06 06:34:46] @ nadavoid joined channel #puppet
[2011/12/06 06:34:49] @ skoom joined channel #puppet
[2011/12/06 06:34:53] <lisa> jas4711: why? what is your environment?
[2011/12/06 06:35:01] @ Quit: skm: Ping timeout: 244 seconds
[2011/12/06 06:35:46] @ skoom is now known as skm
[2011/12/06 06:36:40] <supplicant> dwatsonuk: thanks
[2011/12/06 06:37:07] @ Quit: asteve: Ping timeout: 240 seconds
[2011/12/06 06:40:48] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/06 06:40:51] @ londo__ is now known as londo_
[2011/12/06 06:41:11] @ Quit: tily: Remote host closed the connection
[2011/12/06 06:45:47] @ Stromgol74 joined channel #puppet
[2011/12/06 06:46:21] @ Quit: Stromgol74: Client Quit
[2011/12/06 06:46:32] @ Stromgol74 joined channel #puppet
[2011/12/06 06:48:05] @ Quit: Suresh-linux: Ping timeout: 265 seconds
[2011/12/06 06:49:21] @ johnston_ joined channel #puppet
[2011/12/06 06:50:34] @ Quit: xyn: Ping timeout: 252 seconds
[2011/12/06 06:51:18] @ Quit: raphdg: Ping timeout: 252 seconds
[2011/12/06 06:51:52] @ raphdg joined channel #puppet
[2011/12/06 06:52:29] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/06 06:54:29] @ omry_ joined channel #puppet
[2011/12/06 06:54:31] @ Quit: Vasik|work: Quit: Leaving
[2011/12/06 06:55:21] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/06 06:55:41] @ xyn joined channel #puppet
[2011/12/06 06:56:18] @ rcrowley joined channel #puppet
[2011/12/06 06:56:30] @ antony_ joined channel #puppet
[2011/12/06 06:56:37] @ Quit: exceion: Ping timeout: 258 seconds
[2011/12/06 06:56:59] @ Quit: Stromgol74: Quit: Leaving
[2011/12/06 06:57:08] @ Stromgol74 joined channel #puppet
[2011/12/06 06:57:30] <antony_> hello all, my puppet server is fully runing but I have in my log this error : ERROR OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv2/v3 read client hello A
[2011/12/06 06:58:22] @ Quit: tvsutton_: Quit: leaving
[2011/12/06 06:58:28] @ tvsutton joined channel #puppet
[2011/12/06 06:58:30] <antony_> I use puppet version 2.7.6, any idea about it ?
[2011/12/06 07:01:59] @ lak joined channel #puppet
[2011/12/06 07:01:59] @ Quit: lak: Changing host
[2011/12/06 07:02:00] @ lak joined channel #puppet
[2011/12/06 07:02:32] @ jimmy1980 joined channel #puppet
[2011/12/06 07:03:20] @ riha left channel #puppet ()
[2011/12/06 07:03:21] @ Quit: tvsutton: Client Quit
[2011/12/06 07:04:03] @ Quit: Stromgol74: Quit: Leaving
[2011/12/06 07:04:16] @ Stromgol74 joined channel #puppet
[2011/12/06 07:04:27] @ Quit: jsm: Quit: jsm
[2011/12/06 07:04:49] @ KristianDK__ joined channel #puppet
[2011/12/06 07:05:25] <PedroGomes> anyway of updating puppet to a post 2.7.1 version on Ubuntu 11.10?
[2011/12/06 07:05:56] @ Quit: KristianDK: Ping timeout: 240 seconds
[2011/12/06 07:05:56] @ KristianDK__ is now known as KristianDK
[2011/12/06 07:06:56] @ linksrum joined channel #puppet
[2011/12/06 07:08:12] @ Quit: clustermagnet: Quit: Leaving.
[2011/12/06 07:08:41] @ clustermagnet joined channel #puppet
[2011/12/06 07:09:06] <snk> PedroGomes: My guess would be either compile from source, install via rubygems, or use a PPA
[2011/12/06 07:09:13] @ Quit: linksrum: Client Quit
[2011/12/06 07:09:22] <snk> don't know if puppet has an official PPA, but there's one here with 2.7.6: https://launchpad.net/~skettler/+archive/puppet
[2011/12/06 07:09:31] @ linksrum joined channel #puppet
[2011/12/06 07:09:48] @ KristianDK__ joined channel #puppet
[2011/12/06 07:10:15] @ Quit: nuknad: Quit: nuknad
[2011/12/06 07:11:01] @ asteve joined channel #puppet
[2011/12/06 07:11:02] @ Quit: asteve: Changing host
[2011/12/06 07:11:02] @ asteve joined channel #puppet
[2011/12/06 07:11:47] @ tvsutton joined channel #puppet
[2011/12/06 07:12:41] @ Quit: KristianDK: Ping timeout: 240 seconds
[2011/12/06 07:12:41] @ KristianDK__ is now known as KristianDK
[2011/12/06 07:13:32] @ jsurfer joined channel #puppet
[2011/12/06 07:14:41] <PedroGomes> snk: I already have 2.7.1 installed and running trough apt-get so to mix ruby gems or source install…
[2011/12/06 07:15:05] <PedroGomes> snk: I will search the PPAs thanks
[2011/12/06 07:15:24] @ paroneayea joined channel #puppet
[2011/12/06 07:16:24] <limed> there is also this http://apt.puppetlabs.com/
[2011/12/06 07:16:49] @ lwhalen joined channel #puppet
[2011/12/06 07:17:31] @ n8 joined channel #puppet
[2011/12/06 07:19:15] <PedroGomes> limed: mhh, interesting
[2011/12/06 07:19:47] <PedroGomes> limed: let-me se if I can use it witth aptget
[2011/12/06 07:23:01] @ Quit: jaydg: Quit: Verlassend
[2011/12/06 07:23:07] @ Quit: lak: Quit: Leaving.
[2011/12/06 07:26:54] @ ccaum_ joined channel #puppet
[2011/12/06 07:27:05] @ Quit: ccaum_: Client Quit
[2011/12/06 07:28:15] <antony_> Anybody can help me ?
[2011/12/06 07:29:46] @ Wolfspyre joined channel #puppet
[2011/12/06 07:30:33] @ Quit: xyn: Changing host
[2011/12/06 07:30:33] @ xyn joined channel #puppet
[2011/12/06 07:31:26] @ Quit: Stromgol74: Quit: This computer has gone to sleep
[2011/12/06 07:32:03] @ lak joined channel #puppet
[2011/12/06 07:32:03] @ Quit: lak: Changing host
[2011/12/06 07:32:03] @ lak joined channel #puppet
[2011/12/06 07:33:48] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/06 07:34:24] @ zwi joined channel #puppet
[2011/12/06 07:35:51] @ the_ramink joined channel #puppet
[2011/12/06 07:36:06] @ Quit: n8: Quit: n8
[2011/12/06 07:36:13] @ n8 joined channel #puppet
[2011/12/06 07:37:16] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/06 07:37:41] @ Quit: shine: Ping timeout: 268 seconds
[2011/12/06 07:38:48] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/12/06 07:39:44] @ tblamer joined channel #puppet
[2011/12/06 07:39:46] <limed> PedroGomes: you need to import the key
[2011/12/06 07:39:52] <PedroGomes> limed: that worked thanks
[2011/12/06 07:40:35] <PedroGomes> but I keep getting an error "err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class ntp for 3d8.foreman.lsd.com on node 3d8.foreman.lsd.com" on my clients, and if I do a second puppet agent execution then the command works
[2011/12/06 07:40:56] @ 5EXAALH5K joined channel #puppet
[2011/12/06 07:41:13] @ Quit: walkeran: Read error: Connection reset by peer
[2011/12/06 07:41:28] @ walkeran joined channel #puppet
[2011/12/06 07:41:29] <limed> that doesnt look like a repo issue though
[2011/12/06 07:41:38] @ shine joined channel #puppet
[2011/12/06 07:42:05] <PedroGomes> _rc_ said that this was a know bug in class compilation, but I just updated to 2.7.6 in the client and server and nothing
[2011/12/06 07:42:13] @ paroneayea joined channel #puppet
[2011/12/06 07:43:03] @ dwalu joined channel #puppet
[2011/12/06 07:43:32] @ Quit: linksrum: Quit: Leaving.
[2011/12/06 07:43:45] @ Quit: paroneayea: Remote host closed the connection
[2011/12/06 07:44:32] @ jimmy1980 joined channel #puppet
[2011/12/06 07:44:38] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/12/06 07:44:53] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/06 07:45:22] @ paroneayea joined channel #puppet
[2011/12/06 07:46:52] @ omry_ joined channel #puppet
[2011/12/06 07:48:37] @ kaptk2 joined channel #puppet
[2011/12/06 07:48:39] @ seanh-ansca joined channel #puppet
[2011/12/06 07:48:42] @ mogitaff joined channel #puppet
[2011/12/06 07:50:40] @ e1mer joined channel #puppet
[2011/12/06 07:53:15] @ Quit: dwalu: Quit: dwalu
[2011/12/06 07:54:15] @ Quit: christophermlee: Quit: Page closed
[2011/12/06 07:54:50] @ christophermlee joined channel #puppet
[2011/12/06 07:55:46] @ Quit: clustermagnet: Quit: Leaving.
[2011/12/06 07:56:02] <yeled> is "include ::module" shorthand for something?
[2011/12/06 07:56:12] @ clustermagnet joined channel #puppet
[2011/12/06 07:56:12] <yeled> it was pulling in similarly named modules
[2011/12/06 07:56:37] @ Quit: raphdg: Remote host closed the connection
[2011/12/06 07:56:44] <dcarley> yeled: it includes a class called "module" from the top scope.
[2011/12/06 07:57:04] <dcarley> namely $modulepath/module/manifests/init.pp
[2011/12/06 07:57:13] <yeled> how bizarre
[2011/12/06 07:57:26] <dcarley> why?
[2011/12/06 07:57:34] <yeled> i have postfix and postfix-master
[2011/12/06 07:57:46] <yeled> the ::postfix was pulling in postfix-master
[2011/12/06 07:58:04] <yeled> by setting an explicit
[2011/12/06 07:58:21] <yeled> include postfix, earlier in a node, i force it to be the one i meant
[2011/12/06 07:58:29] <yeled> its an old puppet, so shrug
[2011/12/06 07:58:44] <dcarley> hypens in class names aren't officially supported. could have hit something weird.
[2011/12/06 07:58:51] <yeled> ah!
[2011/12/06 07:58:55] <yeled> good to know
[2011/12/06 07:59:05] <yeled> underscores only?
[2011/12/06 07:59:10] <dcarley> yeah
[2011/12/06 07:59:15] <yeled> thanks for the tip
[2011/12/06 07:59:18] <dcarley> :)
[2011/12/06 08:00:18] @ Stenbryggen joined channel #puppet
[2011/12/06 08:01:02] @ Quit: pieter_: Quit: Ex-Chat
[2011/12/06 08:01:15] @ Quit: lofidellity: Changing host
[2011/12/06 08:01:15] @ lofidellity joined channel #puppet
[2011/12/06 08:01:19] @ benjiedmund joined channel #puppet
[2011/12/06 08:01:43] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/06 08:02:17] @ Quit: tremble: Ping timeout: 240 seconds
[2011/12/06 08:03:01] @ Quit: lborda: Remote host closed the connection
[2011/12/06 08:10:35] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/06 08:11:39] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/06 08:11:51] @ johnston_ joined channel #puppet
[2011/12/06 08:11:55] @ marczak_ joined channel #puppet
[2011/12/06 08:13:20] <yeled> jesus
[2011/12/06 08:13:23] <yeled> its doing it again!
[2011/12/06 08:13:43] @ adimania joined channel #puppet
[2011/12/06 08:14:29] <yeled> ooh
[2011/12/06 08:14:31] @ Quit: marczak: Ping timeout: 244 seconds
[2011/12/06 08:14:37] @ miche joined channel #puppet
[2011/12/06 08:15:12] <yeled> what does a capital letter at the beginning mean again?
[2011/12/06 08:15:19] <yeled> info: //Postfix_master::Postmapfile[virtual]/File[/etc/postfix/virtual]: Scheduling refresh of Exec[postmapvirtual]
[2011/12/06 08:15:28] <yeled> my module is called postfix_master
[2011/12/06 08:18:27] @ Quit: DemonWitch: Quit: Leaving
[2011/12/06 08:18:30] @ digr1 joined channel #puppet
[2011/12/06 08:18:46] @ nomad__ joined channel #puppet
[2011/12/06 08:18:55] <nomad__> hi there!"
[2011/12/06 08:19:00] <nomad__> someone active around here?
[2011/12/06 08:19:34] @ tremble joined channel #puppet
[2011/12/06 08:20:03] <lak> nomad__: yes, we're around
[2011/12/06 08:20:32] <nomad__> ;)
[2011/12/06 08:20:50] <nomad__> i'm currentyl toying around with puppet and i ran into a smaller setback
[2011/12/06 08:20:56] <lak> oh?
[2011/12/06 08:21:20] <nomad__> i guess it's easy to fix but i'm new to all this and i did not find anything in the interweb
[2011/12/06 08:21:41] <nomad__> tried to use a manifest to install sudo-ldap on a server because we use this as a sudo-management
[2011/12/06 08:21:54] @ eventi joined channel #puppet
[2011/12/06 08:22:01] <nomad__> but the installation forces u to set a shell environment (forceremove=yes)
[2011/12/06 08:22:09] <nomad__> and i have no clue how to do it
[2011/12/06 08:22:13] @ wilmoore joined channel #puppet
[2011/12/06 08:22:17] @ jedi4ever joined channel #puppet
[2011/12/06 08:22:33] <nomad__> i did not experiment with exec but i guess it's not the guaranteed that is uses the change environment, or does it?
[2011/12/06 08:22:52] <lak> it definitely uses any env you set in exec
[2011/12/06 08:22:58] <nomad__> u
[2011/12/06 08:23:00] <lak> that's what i'd use, i think
[2011/12/06 08:23:01] <nomad__> that's nive
[2011/12/06 08:23:02] <nomad__> nice
[2011/12/06 08:23:05] <ashp> err: Could not retrieve catalog from remote server: Error 400 on SERVER: stack level too deep
[2011/12/06 08:23:10] <nomad__> than i guess the problem is solved
[2011/12/06 08:23:14] <ashp> I hate this one because I never know where to start looking to determine what I bust.
[2011/12/06 08:23:25] <ashp> lak: Hey nice to see you! congrats on the new round of funding etc etc
[2011/12/06 08:23:36] <ashp> lak: More importantly, how are the twins doing? :)
[2011/12/06 08:23:36] <nomad__> thanx lak, i'll try it an i'll let you know if it worked
[2011/12/06 08:23:54] <ashp> I assume by now they are big enough to run in opposite directions to mess with you
[2011/12/06 08:24:17] <lak> ashp: thanks! the twins are good, and happy that the investment is closed so i don't have to travel quite as much
[2011/12/06 08:24:27] <lak> (although i'm in a hotel in boston at #lisa11 right now)
[2011/12/06 08:25:01] * eventi wishes he could have gone to lisa11
[2011/12/06 08:26:09] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/06 08:26:14] @ hobbeswalsh joined channel #puppet
[2011/12/06 08:27:02] @ Quit: ccaum: Quit: Colloquy for iPad - http://colloquy.mobi
[2011/12/06 08:27:12] @ cwarden joined channel #puppet
[2011/12/06 08:29:08] <bascht> Hey folks.
[2011/12/06 08:29:13] @ adimania joined channel #puppet
[2011/12/06 08:29:42] <bascht> Any hints for which version of puppet the github projects at puppetlabs/puppetlabs-mysql should work?
[2011/12/06 08:29:47] <ashp> lak: I too am in Boston!
[2011/12/06 08:29:54] <ashp> lak: I didn't get to go to lisa, which bums me out hoever.
[2011/12/06 08:29:58] @ exceion joined channel #puppet
[2011/12/06 08:30:01] <lak> ashp: i thought you were based here
[2011/12/06 08:30:04] <ashp> What hotel are they doing lisa in?
[2011/12/06 08:30:16] <lisa> worst
[2011/12/06 08:30:18] <lisa> conference
[2011/12/06 08:30:18] <lisa> name
[2011/12/06 08:30:19] <ashp> Sheraton Boston Hotel?
[2011/12/06 08:30:19] <lisa> EVAR
[2011/12/06 08:30:22] <ashp> lisa: hahaha
[2011/12/06 08:30:54] <ashp> oh I see, it's about 2 miles away from here
[2011/12/06 08:31:19] <ashp> I tried to get my boss to send me like 4 times but apparently he's bad at taking hints
[2011/12/06 08:31:20] @ jaytaph joined channel #puppet
[2011/12/06 08:32:41] @ newtMcKerr joined channel #puppet
[2011/12/06 08:32:45] @ prometheanfire joined channel #puppet
[2011/12/06 08:33:24] <prometheanfire> is there a way to test and verify that a file/directory has a particular selinux context?
[2011/12/06 08:33:50] @ marczak joined channel #puppet
[2011/12/06 08:33:51] <prometheanfire> as in to make a simple ensure based on it
[2011/12/06 08:34:02] @ Quit: omry_: Read error: Operation timed out
[2011/12/06 08:34:25] @ Quit: exceion: Ping timeout: 268 seconds
[2011/12/06 08:35:10] <lisa> prometheanfire: http://docs.puppetlabs.com/references/2.7.5/type.html#file note the selinux parameters
[2011/12/06 08:35:19] @ omry_ joined channel #puppet
[2011/12/06 08:36:39] <prometheanfire> lisa: thanks
[2011/12/06 08:36:44] @ Quit: marczak_: Ping timeout: 244 seconds
[2011/12/06 08:36:54] <prometheanfire> I remember you from #lopsa :D
[2011/12/06 08:37:28] * lisa feels like lionel hutz
[2011/12/06 08:37:34] @ Quit: larstobi: Quit: Leaving.
[2011/12/06 08:37:40] @ larstobi joined channel #puppet
[2011/12/06 08:37:45] <lisa> you may remember me from such irc channels as...
[2011/12/06 08:38:01] <prometheanfire> lol
[2011/12/06 08:38:18] <lisa> oh wait, that's troy mclure
[2011/12/06 08:39:24] @ Quit: omry_: Max SendQ exceeded
[2011/12/06 08:39:47] @ Quit: AshishH: Ping timeout: 240 seconds
[2011/12/06 08:40:32] @ omry_ joined channel #puppet
[2011/12/06 08:41:39] @ Quit: rclark: Ping timeout: 258 seconds
[2011/12/06 08:41:45] @ Quit: PhilK: Excess Flood
[2011/12/06 08:42:28] @ PhilK joined channel #puppet
[2011/12/06 08:42:30] @ Quit: ncmzx: Ping timeout: 248 seconds
[2011/12/06 08:42:32] @ rclark joined channel #puppet
[2011/12/06 08:43:53] @ Quit: omry_: Max SendQ exceeded
[2011/12/06 08:45:02] @ omry_ joined channel #puppet
[2011/12/06 08:46:07] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/06 08:46:28] @ trickyf left channel #puppet ()
[2011/12/06 08:46:39] @ kenperkins joined channel #puppet
[2011/12/06 08:47:35] @ exceion joined channel #puppet
[2011/12/06 08:47:39] @ l0n joined channel #puppet
[2011/12/06 08:48:12] @ adimania joined channel #puppet
[2011/12/06 08:48:14] @ Quit: axisys: Quit: leaving
[2011/12/06 08:48:22] @ axisys joined channel #puppet
[2011/12/06 08:52:01] @ ccaum joined channel #puppet
[2011/12/06 08:52:56] @ Quit: aherzog: Read error: Connection reset by peer
[2011/12/06 08:53:02] @ Quit: MartVisser: Ping timeout: 252 seconds
[2011/12/06 08:53:24] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/06 08:53:35] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/06 08:54:25] @ aherzog joined channel #puppet
[2011/12/06 08:54:54] @ joe-mac joined channel #puppet
[2011/12/06 08:55:16] @ Quit: feylya-puppet: Quit: feylya-puppet
[2011/12/06 08:55:43] <fixxxermet> Question about 'hasstatus'. How does hasstatus parse the output of service whatever status? Is it the return code, or the text that it outputs?
[2011/12/06 08:55:58] <fixxxermet> Asking regarding an init.d script which I am writing
[2011/12/06 08:56:15] <nomad__> mh
[2011/12/06 08:56:38] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/06 08:56:46] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/06 08:56:52] <prometheanfire> fixxxermet: from what I know, it uses the whatever distro you use
[2011/12/06 08:56:59] <prometheanfire> so it depends on distro
[2011/12/06 08:57:00] @ rcrowley joined channel #puppet
[2011/12/06 08:58:20] @ Quit: hacim: Changing host
[2011/12/06 08:58:20] @ hacim joined channel #puppet
[2011/12/06 08:58:34] <fixxxermet> On deb / ubuntu, 'service ntp status' says " * NTP server is running", on centos, it says "ntpd (pid 11666) is running..."
[2011/12/06 08:58:39] <fixxxermet> So it must be the return code of the script
[2011/12/06 08:58:43] <fixxxermet> and not the text that it outputs
[2011/12/06 08:59:00] @ mrwacky42 joined channel #puppet
[2011/12/06 08:59:01] @ Quit: ali3n0: Quit: Leaving.
[2011/12/06 08:59:13] @ nevyn joined channel #puppet
[2011/12/06 09:00:19] <stew> fixxxermet: although I suspect your conclusion is correct, I think your reasoning is faulty, since puppet obviously knows how to do lots of things differently on centos vs. ubuntu, like install packages
[2011/12/06 09:00:19] <walkeran> fixxxermet: Correct... it uses, solely, the return/exit code of the init script
[2011/12/06 09:00:51] @ Quit: pmorillon: Quit: pmorillon
[2011/12/06 09:02:08] <nomad__> this exec thing does work :(
[2011/12/06 09:02:15] <prometheanfire> ya, gentoo returns exit codes depending
[2011/12/06 09:02:16] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/12/06 09:02:17] <nomad__> it just sets - as intended - the subshells envs
[2011/12/06 09:02:30] <nomad__> nothing to get to the apt-get environments :(
[2011/12/06 09:02:41] @ Quit: lak: Quit: Leaving.
[2011/12/06 09:03:16] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/06 09:03:51] @ lborda joined channel #puppet
[2011/12/06 09:04:15] @ prometheanfire left channel #puppet ()
[2011/12/06 09:04:34] @ Quit: Ahlee: Read error: Operation timed out
[2011/12/06 09:04:44] @ motomike joined channel #puppet
[2011/12/06 09:05:01] @ Quit: octane-: Quit: octane-
[2011/12/06 09:05:27] @ mrwacky42 joined channel #puppet
[2011/12/06 09:06:07] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/06 09:07:28] @ johnbatch joined channel #puppet
[2011/12/06 09:07:36] @ Quit: inecas: Quit: Leaving
[2011/12/06 09:11:12] @ Quit: OMCK: Read error: Operation timed out
[2011/12/06 09:11:26] <PedroGomes> Can't I have to classes that replace one file with different contents?
[2011/12/06 09:11:35] <PedroGomes> *two
[2011/12/06 09:12:06] @ cwarden left channel #puppet ()
[2011/12/06 09:14:02] @ the_ramink joined channel #puppet
[2011/12/06 09:14:27] @ langworthy joined channel #puppet
[2011/12/06 09:15:42] @ dan__t joined channel #puppet
[2011/12/06 09:16:29] @ beaknit_ joined channel #puppet
[2011/12/06 09:16:47] @ Quit: beaknit: Read error: Connection reset by peer
[2011/12/06 09:16:47] @ beaknit_ is now known as beaknit
[2011/12/06 09:17:11] @ Quit: n0ts: Ping timeout: 252 seconds
[2011/12/06 09:17:38] @ Quit: jsurfer: Quit: jsurfer
[2011/12/06 09:17:45] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/06 09:18:28] @ Quit: langworthy: Client Quit
[2011/12/06 09:18:43] @ vkdir joined channel #puppet
[2011/12/06 09:19:02] @ nul0op joined channel #puppet
[2011/12/06 09:19:12] @ Quit: riftman: Ping timeout: 248 seconds
[2011/12/06 09:19:31] @ jantman joined channel #puppet
[2011/12/06 09:19:37] @ omry_ joined channel #puppet
[2011/12/06 09:19:45] @ mrwacky421 joined channel #puppet
[2011/12/06 09:19:45] @ riftman joined channel #puppet
[2011/12/06 09:20:43] @ tvsutton_ joined channel #puppet
[2011/12/06 09:21:03] @ sdog joined channel #puppet
[2011/12/06 09:21:10] @ OMCK joined channel #puppet
[2011/12/06 09:21:15] @ Quit: d3c: Ping timeout: 240 seconds
[2011/12/06 09:21:30] @ zsoftich_ joined channel #puppet
[2011/12/06 09:21:34] @ shine_ joined channel #puppet
[2011/12/06 09:21:38] @ Quit: nomad__: Quit: Page closed
[2011/12/06 09:22:17] @ Quit: shine: Disconnected by services
[2011/12/06 09:22:20] @ neonflux joined channel #puppet
[2011/12/06 09:22:21] @ shine_ is now known as shine
[2011/12/06 09:22:50] @ williemach joined channel #puppet
[2011/12/06 09:23:06] @ jas4711_ joined channel #puppet
[2011/12/06 09:23:08] @ exceion_ joined channel #puppet
[2011/12/06 09:23:11] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/06 09:23:13] @ Quit: tvsutton: Ping timeout: 240 seconds
[2011/12/06 09:23:14] @ Quit: jedi4ever: Ping timeout: 240 seconds
[2011/12/06 09:23:15] @ Quit: jas4711: Ping timeout: 240 seconds
[2011/12/06 09:23:15] @ Quit: zsoftich: Ping timeout: 240 seconds
[2011/12/06 09:23:17] @ Quit: exceion: Ping timeout: 240 seconds
[2011/12/06 09:23:37] <jantman> I know that at one point there was a doc on puppetmaster hardware sizing, but I can't seem to find it. Does anyone happen to have a link, or remember where it was?
[2011/12/06 09:24:46] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/12/06 09:24:52] @ Quit: sdog: Changing host
[2011/12/06 09:24:53] @ sdog joined channel #puppet
[2011/12/06 09:24:54] @ Quit: sdog: Changing host
[2011/12/06 09:24:54] @ sdog joined channel #puppet
[2011/12/06 09:27:00] @ Quit: skm: Read error: Connection reset by peer
[2011/12/06 09:27:52] <yeled> dcarley, it was a 0.24 bug. i upgraded.
[2011/12/06 09:28:36] @ jkoppe left channel #puppet ()
[2011/12/06 09:28:59] @ Quit: 5EXAALH5K: Quit: This computer has gone to sleep
[2011/12/06 09:29:12] @ alanevans joined channel #puppet
[2011/12/06 09:29:18] @ kangman joined channel #puppet
[2011/12/06 09:30:30] @ emerson_me_beija joined channel #puppet
[2011/12/06 09:30:50] <emerson_me_beija> hello!!!
[2011/12/06 09:30:53] @ ghg joined channel #puppet
[2011/12/06 09:31:08] <emerson_me_beija> hellllooooooo
[2011/12/06 09:31:10] @ Quit: kangman: Remote host closed the connection
[2011/12/06 09:31:12] <emerson_me_beija> ui ui u
[2011/12/06 09:31:31] @ pcarlisle joined channel #puppet
[2011/12/06 09:31:49] <mrwacky421> ken_barber: ping
[2011/12/06 09:31:58] <emerson_me_beija> mrwacky421:
[2011/12/06 09:32:00] <emerson_me_beija> fuck you
[2011/12/06 09:32:08] <emerson_me_beija> suck my dick
[2011/12/06 09:32:10] <emerson_me_beija> hohohoho
[2011/12/06 09:32:17] <mrwacky421> oh my
[2011/12/06 09:32:22] @ mrwacky421 is now known as mrwacky42
[2011/12/06 09:32:27] @ Quit: tremble: Read error: Connection reset by peer
[2011/12/06 09:33:00] @ langworthy joined channel #puppet
[2011/12/06 09:33:36] <pll> what's the best way to structure code which is environment specific?
[2011/12/06 09:34:04] <pll> i.e. there's code specific to certain types of systems I need to create such as users and groups.
[2011/12/06 09:34:22] <pll> There may be packages which need to be installed as well.
[2011/12/06 09:34:30] @ kangman joined channel #puppet
[2011/12/06 09:35:01] <pll> Should I create a separate module for these, or have a company module which imports specific classes depending upon the node type ?
[2011/12/06 09:35:53] @ Quit: OMCK: Ping timeout: 252 seconds
[2011/12/06 09:36:05] <jantman> pll - have you read the Puppet Labs docs and wiki?
[2011/12/06 09:37:07] <kenperkins> say I'm doing a params case with a case based on $environment. is there a way to set default values for the params so I don't have to set it in every case statement?
[2011/12/06 09:37:18] @ adimania joined channel #puppet
[2011/12/06 09:37:46] @ OMCK joined channel #puppet
[2011/12/06 09:37:53] @ skm joined channel #puppet
[2011/12/06 09:37:57] <kenperkins> params class with a case rather
[2011/12/06 09:40:01] @ the_ramink joined channel #puppet
[2011/12/06 09:41:55] <pll> jantman: yes.
[2011/12/06 09:42:07] <pll> It doesn't seem to clarify the finer point of what I'm asking.
[2011/12/06 09:42:20] <pll> Though, perhaps I missed something.
[2011/12/06 09:42:55] @ alfism joined channel #puppet
[2011/12/06 09:43:24] @ Quit: langworthy: Quit: langworthy
[2011/12/06 09:43:25] <kenperkins> for example, is this a valid class: https://gist.github.com/1439126
[2011/12/06 09:44:29] @ digr11 joined channel #puppet
[2011/12/06 09:44:50] @ Vulcan[OMNI] joined channel #puppet
[2011/12/06 09:45:11] @ Quit: digr1: Ping timeout: 252 seconds
[2011/12/06 09:46:48] <ashp> If I use puppet:/// in source it should automatically fill in with whatever is in server = in puppet.conf, right?
[2011/12/06 09:46:59] <jantman> ashp, yes
[2011/12/06 09:47:27] <ashp> aha, I know what the issue is, the dns didn't get created
[2011/12/06 09:47:27] <ashp> :D
[2011/12/06 09:47:46] @ d3c joined channel #puppet
[2011/12/06 09:47:52] @ Quit: kermit: Quit: Leaving.
[2011/12/06 09:48:11] @ kermit joined channel #puppet
[2011/12/06 09:48:20] <emerson_me_beija> ashp:
[2011/12/06 09:48:24] <emerson_me_beija> u like me?
[2011/12/06 09:50:00] <kenperkins> so I'm getting a "could not find value for" error when parsing this template, am I doing it wrong: https://gist.github.com/1439154
[2011/12/06 09:50:22] @ Quit: ChikuLinu__: Quit: Quitte
[2011/12/06 09:50:34] @ Chiku joined channel #puppet
[2011/12/06 09:51:23] @ feylya-puppet joined channel #puppet
[2011/12/06 09:51:45] <the_ramink> kenperkins: yep, you're doing it wrong. You need to do it like this <%= scope.lookupvar('monit::params::configdir') %>
[2011/12/06 09:51:55] @ n0ts joined channel #puppet
[2011/12/06 09:52:00] @ benjiedmund joined channel #puppet
[2011/12/06 09:52:06] @ tilgovi joined channel #puppet
[2011/12/06 09:52:06] @ Quit: tilgovi: Changing host
[2011/12/06 09:52:07] @ tilgovi joined channel #puppet
[2011/12/06 09:52:22] <kenperkins> scope.lookup?
[2011/12/06 09:52:27] <kenperkins> never heard of that, thanks
[2011/12/06 09:52:36] <clustermagnet> gents, i feel awkward asking for hlep, i know people are super busy
[2011/12/06 09:53:02] <clustermagnet> if someone would not mind exchanging virtual beer for 2 mintues of their time, i would love to ask hiera related beginner questions
[2011/12/06 09:53:10] <clustermagnet> xoox
[2011/12/06 09:53:26] <kenperkins> brilliant the_ramink you rock
[2011/12/06 09:54:09] <the_ramink> kenperkins: scope.lookupvar is required because you're not using a fact or something in the top scope. np
[2011/12/06 09:54:47] @ Quit: d3c: Read error: Connection reset by peer
[2011/12/06 09:55:14] @ scsinutz joined channel #puppet
[2011/12/06 09:55:30] @ scsinutz left channel #puppet ()
[2011/12/06 09:55:43] @ jsurfer joined channel #puppet
[2011/12/06 09:55:44] @ DemonWitch joined channel #puppet
[2011/12/06 09:56:16] @ Quit: omry_: Ping timeout: 255 seconds
[2011/12/06 09:56:42] @ Quit: n0ts: Ping timeout: 244 seconds
[2011/12/06 09:58:04] <pll> jantman: Did you have a specific dock at puppetlabs you think I should have read ?
[2011/12/06 09:59:02] <clustermagnet> guys, here is where gem put hiera-puppet…. http://pastie.org/2976023
[2011/12/06 09:59:15] @ KaiserBeto1 joined channel #puppet
[2011/12/06 09:59:21] <clustermagnet> my puppet is in /etc/puppet/x … how do i get hiera-puppet backend working?
[2011/12/06 09:59:39] <clustermagnet> im still confused on how to actually use hiera… :(
[2011/12/06 09:59:51] <clustermagnet> trying to install https://github.com/ripienaar/hiera-puppet
[2011/12/06 10:00:01] @ Quit: DemonWitch: Quit: Leaving
[2011/12/06 10:00:17] @ Quit: ken_barber: Quit: Leaving.
[2011/12/06 10:00:34] @ KaiserBeto1 left channel #puppet ()
[2011/12/06 10:00:43] @ omry_ joined channel #puppet
[2011/12/06 10:01:10] @ Quit: danikov: Quit: danikov
[2011/12/06 10:01:12] @ geterdone joined channel #puppet
[2011/12/06 10:01:27] @ Quit: zorg1: Remote host closed the connection
[2011/12/06 10:02:01] @ dwalu joined channel #puppet
[2011/12/06 10:03:26] <clustermagnet> also, getting this strangenes :) http://pastie.org/2976036
[2011/12/06 10:03:58] @ Stromgol74 joined channel #puppet
[2011/12/06 10:04:20] @ Quit: dwatsonuk: Quit: HydraIRC -> http://www.hydrairc.com <- Try something fresh
[2011/12/06 10:05:16] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/06 10:05:22] @ ianbrandt joined channel #puppet
[2011/12/06 10:05:55] <clustermagnet> lol, firewall issues, got the git cloned :)
[2011/12/06 10:05:59] @ Quit: sdog: Quit: Leaving.
[2011/12/06 10:10:10] @ Quit: nul0op: Quit: Leaving
[2011/12/06 10:11:49] <PedroGomes> please help me on this, If i have a class for java 6 that adds file in profile.d and a class for java 7 that adds the same file, is there a way of applying them at the same time
[2011/12/06 10:12:16] <PedroGomes> can I have a file and change its content 2 times
[2011/12/06 10:12:17] <PedroGomes> ?
[2011/12/06 10:13:07] <pll> Why would you do that ?
[2011/12/06 10:13:24] <the_ramink> PedroGomes: why not two files?
[2011/12/06 10:13:25] @ octane- joined channel #puppet
[2011/12/06 10:13:31] <pll> Wouldn't the versions require two different files ?
[2011/12/06 10:13:52] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/06 10:14:03] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/06 10:14:20] @ jbraeuer joined channel #puppet
[2011/12/06 10:14:30] @ Quit: jbraeuer: Client Quit
[2011/12/06 10:14:31] @ langworthy joined channel #puppet
[2011/12/06 10:15:01] <PedroGomes> pll: the_ramink: there can be only one file define some paths, in the ideal scenario only one of them was chosen, but being selected trough foreman I can't control that
[2011/12/06 10:15:26] <PedroGomes> one of them <- classes
[2011/12/06 10:15:46] <pll> PedroGomes: are you installing both versions of java on the same system ?
[2011/12/06 10:16:53] <PedroGomes> pll: not that unusual, some people use 6, other 7. I gess its even worse on other languages like python
[2011/12/06 10:17:15] <pll> Sure, but when they do that, they install them all in separate areas.
[2011/12/06 10:17:58] @ Quit: octane-: Ping timeout: 248 seconds
[2011/12/06 10:19:34] @ Wolfspyre joined channel #puppet
[2011/12/06 10:19:41] <PedroGomes> mho, in the actual system you just do a "update-java-alternatives --set java-7" and you are done, but yep then the user would have to switch the file in the profile.d
[2011/12/06 10:19:50] @ djm68 joined channel #puppet
[2011/12/06 10:19:52] @ omry_ joined channel #puppet
[2011/12/06 10:19:55] @ tremble joined channel #puppet
[2011/12/06 10:19:56] @ Quit: tremble: Changing host
[2011/12/06 10:19:56] @ tremble joined channel #puppet
[2011/12/06 10:20:58] <PedroGomes> pll: I guess I will have to do a class choose_java6 and a chosse_java7
[2011/12/06 10:22:33] @ jkoppe joined channel #puppet
[2011/12/06 10:22:54] <PedroGomes> the declarative nature of puppet is killing me
[2011/12/06 10:23:52] <jkoppe> i'm working on extending the puppet-lvm provider/type so i can choose a physical_volume when adjusting logical_volumes. i added a parameter to the logical_volume type and added a few conditionals into the provider, but i'm getting an error like this http://groups.google.com/group/puppet-users/browse_thread/thread/ee9f7430c6a1f2f8 and restarting the master doesn't help
[2011/12/06 10:24:40] <jkoppe> http://pastie.org/private/t9nl5wa91bd6rx1afad7sq is a pastie of my changes to https://github.com/puppetlabs/puppet-lvm
[2011/12/06 10:25:16] @ lak joined channel #puppet
[2011/12/06 10:25:16] @ Quit: lak: Changing host
[2011/12/06 10:25:16] @ lak joined channel #puppet
[2011/12/06 10:25:39] <pll> PedroGomes: I think what you need to do is create a java6 and a java7 class, and have them each use a different file, or, have them each use the same file.
[2011/12/06 10:25:47] <pll> But there's no reason to apply the file twice.
[2011/12/06 10:26:02] <pll> Can the contents of the file be identical for both java versions ?
[2011/12/06 10:26:08] <jantman> I know that at one point there was a doc on puppetmaster hardware sizing, but I can't seem to find it. Does anyone happen to have a link, or remember where it was?
[2011/12/06 10:27:09] <clustermagnet> guys, with hiera-puppet… shout i git clone https://github.com/ripienaar/hiera-puppet.git into /etc/puppet/modules? or should i git it to /tmp, then move the hiera-puppet/example/ directory into /etc/puppet/modules and work with that
[2011/12/06 10:27:30] <clustermagnet> i dont quite understand what the bin, lib, and other files are for...
[2011/12/06 10:27:50] <PedroGomes> pll: yes, that is what I'm searching for. I was trying to define the file on the main class and do a "source => "puppet:///modules/java7/java.sh" in each one of them
[2011/12/06 10:28:08] <PedroGomes> pll: not working though
[2011/12/06 10:28:42] <pll> Oh, okay, I think I understand your problem more clearly now.
[2011/12/06 10:29:23] <pll> So, what I would do is this, 3 classes: java, java6, java7
[2011/12/06 10:29:43] <pll> java6 puts everthing in place required for java6 EXCEPT the common file.
[2011/12/06 10:29:49] <pll> same with java7.
[2011/12/06 10:30:17] <pll> the java class deals with all the stuff common to both, and is required by both.
[2011/12/06 10:30:23] <pll> No need to do anything twice.
[2011/12/06 10:31:35] @ ali3n0 joined channel #puppet
[2011/12/06 10:32:55] * Callek is in search of a "puppet"/"puppetlabs" goals/roadmap of some sort more specific better for me, but not needed
[2011/12/06 10:32:58] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/06 10:33:35] @ Quit: siezer: Ping timeout: 258 seconds
[2011/12/06 10:33:45] <pll> Is there a good doc somewhere on user management ?
[2011/12/06 10:34:08] <pll> Or something more verbose on the use of the modules/user concept ?
[2011/12/06 10:34:44] @ Quit: wollviech: Ping timeout: 258 seconds
[2011/12/06 10:34:58] <PedroGomes> pll: right If I'm managing that. But this is processed trough foreman and depends the choice of the user, so I don't know if they are installed together. I'm overcomplicating, I will assume they are never done togheter
[2011/12/06 10:35:09] <PedroGomes> pll: thanks anyway
[2011/12/06 10:35:22] @ wollviech joined channel #puppet
[2011/12/06 10:35:27] @ tomben[T7] is now known as tomben[T13]
[2011/12/06 10:35:40] <pll> PedroGomes: I don't see what foreman has to do with anything.
[2011/12/06 10:35:56] <PedroGomes> pll: dynamic class selection
[2011/12/06 10:36:06] <pll> Either the node will or will not install both versions.
[2011/12/06 10:36:22] <pll> Just write the code appropriately to deal with either case.
[2011/12/06 10:36:43] @ Quit: KristianDK: Quit: KristianDK
[2011/12/06 10:36:59] <PedroGomes> pll: node can install both, one of them or none, you can't now in advance, Yes I could create a class for install 6 an 7
[2011/12/06 10:37:02] <pll> As long as both classes require the same file, it doesn't matter which class gets called or even if both do.
[2011/12/06 10:37:02] <PedroGomes> *and
[2011/12/06 10:37:07] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/06 10:37:33] @ Quit: emerson_me_beija: Quit: Page closed
[2011/12/06 10:37:47] <pll> There has to be some deterministic behavior for any given node, correct?
[2011/12/06 10:38:14] <pll> i.e. if that node gets installed 5 times, it should have the same configuration each time.
[2011/12/06 10:38:46] @ Quit: tremble: Ping timeout: 252 seconds
[2011/12/06 10:38:52] <pll> therefore, you need to deal with 4 cases: no java, java6, java7, java6 & java7.
[2011/12/06 10:38:56] <PedroGomes> pll: no, time share system with dynamic configuration trough dynamic class selection on foreman
[2011/12/06 10:39:06] <PedroGomes> pll: yes yes
[2011/12/06 10:39:15] @ tremble joined channel #puppet
[2011/12/06 10:39:32] <pll> so, a single node could end up differently on 5 different runs of puppet ?
[2011/12/06 10:40:13] <pll> If the node requires no java, there's nothing to do.
[2011/12/06 10:40:37] <pll> If the node requires java6, then it's configuration will import the java6 class, which in turn will import the java class.
[2011/12/06 10:41:00] <pll> if the node requires java7, it will import the java7 class, which also imports the java class.
[2011/12/06 10:41:30] <pll> if the node requires both, then it will import both the java6 and the java7 classes, which in turn will both import the java class.
[2011/12/06 10:41:44] <pll> But since things are all declared only once, there is no problem.
[2011/12/06 10:41:58] @ omry_ joined channel #puppet
[2011/12/06 10:42:07] <pll> But there has to be some determant which dictates the path any give node will take through that code.
[2011/12/06 10:42:31] <pll> dynamic class assignment is great, but dynamic != random.
[2011/12/06 10:42:45] <pll> there is still some determinant factor somewhere.
[2011/12/06 10:44:17] @ maxmartin joined channel #puppet
[2011/12/06 10:44:34] <PedroGomes> pll: but the file that caused my question can have varying content depending on the selection. For now I guess I will for now just go with a java6 and java7 class that import the java class but I will assume only one of them is going to be installed
[2011/12/06 10:44:58] <torrancew> pll: I imagine that it calculates a dependency graph and operates somewhat logically upon that graph, attacking what is safest/most satisfied first, but I'm taking a stab in the dark there
[2011/12/06 10:44:59] <PedroGomes> pll: if the user wants them both he can install the other in a later phase
[2011/12/06 10:45:08] <pll> I just asked you if both versions of java could use the same file with the same content and you said yes.
[2011/12/06 10:45:53] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/06 10:46:37] <PedroGomes> be identical == equal?
[2011/12/06 10:46:52] <pll> So, since the answer to that question appears to be no, then I'd say you best bet is to figure out how to get each version of java to use a differently named files.
[2011/12/06 10:46:54] <PedroGomes> not my main language the english :P
[2011/12/06 10:47:05] <pll> yes identical == equal
[2011/12/06 10:47:24] <PedroGomes> pll: mho, ok. sorry then
[2011/12/06 10:47:45] <PedroGomes> pll: thanks anyway, sorry for the trouble
[2011/12/06 10:47:57] <pll> So, another possibility is to use a template for the file and have that filled in dynamically.
[2011/12/06 10:48:09] <jantman> as far as I can tell, Dashboard is read-only. Is there anything like the Puppet Enterprise web ui, that allows assigning modules to nodes, etc. tha's free/open source?
[2011/12/06 10:48:31] <PedroGomes> pll: http://docs.puppetlabs.com/guides/troubleshooting.html#class-inheritance-and-variable-scope , 3rd case?
[2011/12/06 10:48:51] <kenperkins> can you do concatnation with variables? i.e. $myvar = 'foo' + $environment + 'bar'
[2011/12/06 10:48:51] <pll> I don't know anything about Java, so I don't know what the contents of this file should be, or how java deals with it.
[2011/12/06 10:49:22] <pll> kenperkins: $myvar = "foo${environment}bar"
[2011/12/06 10:49:31] <kenperkins> ty
[2011/12/06 10:49:33] <pll> np
[2011/12/06 10:53:00] <BrickBag> Anyone know when Ken Barber will be in here? I have some Qs for him
[2011/12/06 10:57:11] <kenperkins> say I have a really long string, is there a way to add line breaks so that it reads easily?
[2011/12/06 10:57:28] <BrickBag> kenperkins: \n in a " quoted string?
[2011/12/06 10:57:39] <kenperkins> I don't mean in the value itself
[2011/12/06 10:57:48] <kenperkins> I mean in the puppet .pp file
[2011/12/06 10:57:51] <BrickBag> ohw, right
[2011/12/06 10:58:01] <pll> How long are we talking ?
[2011/12/06 10:58:20] <kenperkins> a list of 5 FQDNs of servers along with ports
[2011/12/06 10:58:35] @ Quit: Stromgol74: Quit: Leaving
[2011/12/06 10:58:36] <pll> Does it have to be in a single string ?
[2011/12/06 10:58:37] <BrickBag> kenperkins: put them in an array?
[2011/12/06 10:58:40] <kenperkins> so pretty long
[2011/12/06 10:58:46] <pll> BrickBag: that's what I was thinking .
[2011/12/06 10:59:05] <kenperkins> well, it gets pushed into a template file as json, so I don't know how to jsonify the array
[2011/12/06 10:59:05] @ jrmillette joined channel #puppet
[2011/12/06 10:59:19] <BrickBag> inline_template?
[2011/12/06 10:59:55] <pll> If you're using a puppet template, just loop over the array in the template itself such that the string gets concatenated correctly.
[2011/12/06 11:00:00] <christophermlee> I am working on Parameterized Classes for the first time and using define (). First question...
[2011/12/06 11:00:12] <christophermlee> my define () is in a module inside the init.pp. If I want to move the define to a different .pp file how do I call it from the site.pp. I tried this but I get syntax errors. See my code here http://pastie.org/2976325
[2011/12/06 11:01:16] @ erthad left channel #puppet ()
[2011/12/06 11:01:17] <pll> christophermlee: You need to read the docs on modules.
[2011/12/06 11:01:43] <christophermlee> pll: done that, if I missed something can you point me to what you think I missed.
[2011/12/06 11:01:52] <pll> move the class cmltest to some other file, probably classes/cmltest.pp
[2011/12/06 11:01:58] <christophermlee> RTFM is not what I need IRC for
[2011/12/06 11:02:05] @ duerF joined channel #puppet
[2011/12/06 11:02:16] @ Quit: pcarlisle: Remote host closed the connection
[2011/12/06 11:02:17] <pll> from where ever you want to include that class, import it
[2011/12/06 11:02:36] @ patrick__ joined channel #puppet
[2011/12/06 11:02:41] <walkeran> pll: import it?
[2011/12/06 11:02:45] <pll> import "classes/*"
[2011/12/06 11:02:48] <walkeran> christophermlee: First, don't put the define inside a class... put it in modules/cmltest/manifests/appdir.pp. Then call it as cmltest::appdir { 'foo': }
[2011/12/06 11:02:52] <walkeran> pll: Import = bad
[2011/12/06 11:03:03] <the_ramink> pll: never ever import classes
[2011/12/06 11:03:06] <pll> walkeran: really ? Has that changed ?
[2011/12/06 11:03:25] <walkeran> pll: Yeah, when autoloading came into play, importing went out of style :)
[2011/12/06 11:03:34] @ shadoi joined channel #puppet
[2011/12/06 11:03:42] @ Quit: patrick__: Remote host closed the connection
[2011/12/06 11:03:46] <pll> Ah, okay. I must have missed that between .25 and $latest :)
[2011/12/06 11:03:50] <Callek> christophermlee: and of course you still _want_ a file at modules/cmltest/manifests/init.pp
[2011/12/06 11:03:55] @ pcarlisle joined channel #puppet
[2011/12/06 11:04:07] <Callek> christophermlee: you don't even need to have it have any content unless you plan to use it directly :-)
[2011/12/06 11:04:14] <pll> do we still import files containing defines ?
[2011/12/06 11:04:31] <christophermlee> okay so I create a file called appdir.pp and in the file just have my define, not class { }?
[2011/12/06 11:04:36] <walkeran> christophermlee: and last but not least, you create the definition (in appdir.pp) suchly: define cmltest::appdir () { }
[2011/12/06 11:05:12] <christophermlee> okay so I think I see where I missed it...
[2011/12/06 11:05:13] <christophermlee> let me code some...
[2011/12/06 11:05:21] <Callek> christophermlee: so a working example I have http://hg.mozilla.org/build/puppet/file/2c514d1175cc/modules/packages/manifests/yumrepo.pp
[2011/12/06 11:05:32] <walkeran> pll: Nope... the only place you should really ever need to use an import is in your site.pp file, if you want to import a nodes.pp or roles.pp... something like that. No module stuffs (classes, defines, etc) should ever need to be imported
[2011/12/06 11:05:41] <Callek> christophermlee: used in: http://hg.mozilla.org/build/puppet/file/2c514d1175cc/modules/packages/manifests/setup.pp
[2011/12/06 11:06:00] <christophermlee> walkeran: so that setup.pp is the full file, it does not contain a class myclass { } statement?
[2011/12/06 11:06:16] @ Quit: MattyM: Remote host closed the connection
[2011/12/06 11:06:39] <Callek> in my case setup.pp could be any class/node really. its just where I include the define from
[2011/12/06 11:06:46] <pll> walkeran: sweet!
[2011/12/06 11:06:53] @ Quit: adimania: Read error: Operation timed out
[2011/12/06 11:07:10] <walkeran> pll: Handy, eh? :D
[2011/12/06 11:07:16] <pll> Indeed!
[2011/12/06 11:07:18] <Callek> christophermlee: elsewhere (in this case, my toplevel::base class) I include packages::setup :-)
[2011/12/06 11:07:47] <christophermlee> Callek: makes since... let me see if I can modify my example to use this....
[2011/12/06 11:10:48] @ Quit: Razique: Quit: Razique
[2011/12/06 11:10:53] @ geterdone left channel #puppet ()
[2011/12/06 11:11:56] <christophermlee> okay I moved my define () out of my init.pp into a stand along file called appdir.pp, my call is the same but if fails... how does this change in the site.pp file or do I need to call it from a module now?
[2011/12/06 11:12:49] <Callek> christophermlee: your define should be called |module::name| not just |name| now
[2011/12/06 11:12:53] * Callek wonders if he made sense
[2011/12/06 11:13:05] <Callek> then in site.pp you reference it by module::name { ... }
[2011/12/06 11:13:44] @ Quit: lwhalen: Quit: Leaving
[2011/12/06 11:14:34] @ Quit: ali3n0: Quit: Leaving.
[2011/12/06 11:14:40] <christophermlee> can you look at my updated pastie, I thought that is what I was doing... sorry I am having issues getting this
[2011/12/06 11:14:41] <christophermlee> http://pastie.org/2976325
[2011/12/06 11:15:28] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/12/06 11:16:30] @ ken_barber joined channel #puppet
[2011/12/06 11:16:44] <Callek> christophermlee: change define appdir ( ) { to define cmltest::appdir ( ) {
[2011/12/06 11:17:04] @ Quit: feylya-puppet: Quit: feylya-puppet
[2011/12/06 11:17:12] <limed> init.pp can be an empty file too
[2011/12/06 11:17:24] <Callek> limed: but that doesn't hurt with it as-is though :-)
[2011/12/06 11:17:34] <Callek> limed: and of course it can't be empty as long as he's still trying to include it above
[2011/12/06 11:18:00] <christophermlee> Callek: eventuall init.pp will contain all the stuff that is not variable and installed on every node
[2011/12/06 11:18:18] <Callek> of course :-)
[2011/12/06 11:18:28] @ Quit: alfism: Quit: alfism
[2011/12/06 11:18:32] <christophermlee> Callek: thanks it worked!
[2011/12/06 11:18:39] <christophermlee> okay starting to get this now...
[2011/12/06 11:18:43] <Callek> christophermlee: glad we could help
[2011/12/06 11:19:16] <christophermlee> okay so my next question on this and this is where I think I might be thinking completely incorrectly....
[2011/12/06 11:19:29] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/06 11:19:43] <Callek> 42
[2011/12/06 11:19:50] <Callek> ^^ answer to everything
[2011/12/06 11:19:57] <Atwa1337> If you include several classes in an init.pp can you specify their run state like this ` Class["foo"] -> Class["bar"] -> Class["tao"] `
[2011/12/06 11:20:17] <christophermlee> I want to give move the call to my define from the site.pp to another module. Then I am going to write case statements.... Can I call cmltest::appdir from another module and what would be the syntax if I can?
[2011/12/06 11:20:20] @ Quit: jodok: Quit: jodok
[2011/12/06 11:20:44] <christophermlee> s/give//
[2011/12/06 11:20:54] @ DemonWitch joined channel #puppet
[2011/12/06 11:20:57] @ asteve left channel #puppet ()
[2011/12/06 11:20:57] @ lwhalen joined channel #puppet
[2011/12/06 11:20:58] <Callek> you can, and it should be the same as it is in your site.pp
[2011/12/06 11:21:16] <christophermlee> Callek: okay perfect... let me test.
[2011/12/06 11:21:54] <Callek> Atwa1337: my experience is doing several classes in an init.pp leads to trouble
[2011/12/06 11:22:02] <Callek> Atwa1337: especially now that we have autoloader :-)
[2011/12/06 11:22:44] <Callek> Atwa1337: but you do need the fully qualified class name for Class[""] iirc
[2011/12/06 11:22:58] <Callek> so you can't omit the module name (aiui)
[2011/12/06 11:23:03] * Callek allows the chance that he is wrong
[2011/12/06 11:24:11] <Atwa1337> Callek: I am not familiar with that. What i was trying to do was to use the init.pp to call all the classes inside of a module so something like class::one class::two class::three and then inside of the init.pp specify their run order specific to that module. Trying to avoid init.pp files that are extremely large.
[2011/12/06 11:24:41] @ cwarden joined channel #puppet
[2011/12/06 11:24:48] @ omry_ joined channel #puppet
[2011/12/06 11:25:24] <Callek> my saying "doing several classes" was meant as defining the classes, not their dependancy chain..
[2011/12/06 11:25:27] <Callek> sorry for confusion
[2011/12/06 11:25:42] <Atwa1337> No problem. I didn't explain it properly.
[2011/12/06 11:26:09] <Callek> I mean you should be able to do Class["class::foo"] -> Class["class::bar"] -> Class["class:tao"] just fine, aiui
[2011/12/06 11:26:57] * Callek has always liked regular resource chains not class ones, but there are some valid reasons for class chains so I won't get into that debate :-)
[2011/12/06 11:27:42] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/06 11:29:00] @ nevyn joined channel #puppet
[2011/12/06 11:29:48] <the_ramink> Class chains are a bit more useful with the puppet stlib stuff where you can use the anchor resource to encapsulate composite classes.
[2011/12/06 11:31:01] <cwarden> is there an obvious problem with my use of a class chains here? https://gist.github.com/1439570
[2011/12/06 11:35:06] @ Quit: omry_: Ping timeout: 268 seconds
[2011/12/06 11:35:07] @ gebi joined channel #puppet
[2011/12/06 11:37:56] @ omry_ joined channel #puppet
[2011/12/06 11:38:40] <BrickBag> ken_barber: you there?
[2011/12/06 11:39:49] @ Quit: jeremy: Ping timeout: 252 seconds
[2011/12/06 11:40:05] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/06 11:40:14] <PedroGomes> is it normal for a puppet run to take 8 min…, it's just coping some files and executing minor commands
[2011/12/06 11:40:20] <PedroGomes> ?
[2011/12/06 11:41:28] <Callek> PedroGomes: on a repeat run, does it take that long?
[2011/12/06 11:41:57] @ Quit: pcarlisle: Remote host closed the connection
[2011/12/06 11:42:21] <Callek> if yes, its usually a sign of misplaced dependancy chains, and/or too many exec{}'s /etc. without proper guards (unless, creates, etc.)
[2011/12/06 11:42:40] <Callek> but overall depending on how much puppet has to do to your system, it can be perfectly normal
[2011/12/06 11:42:42] <Callek> :-)
[2011/12/06 11:43:18] @ alfism joined channel #puppet
[2011/12/06 11:43:19] <PedroGomes> Callek: I don't even know what did it execute since I see things semi done…. let me try a puppet agent --test
[2011/12/06 11:44:21] <limed> add a --debug
[2011/12/06 11:44:32] @ jeremy joined channel #puppet
[2011/12/06 11:44:32] @ Quit: jeremy: Changing host
[2011/12/06 11:44:32] @ jeremy joined channel #puppet
[2011/12/06 11:44:47] @ bmahe joined channel #puppet
[2011/12/06 11:47:17] <PedroGomes> limed | Callek: look for what?
[2011/12/06 11:47:28] @ Quit: mattr-: Ping timeout: 240 seconds
[2011/12/06 11:47:30] <PedroGomes> stopped at "debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson"
[2011/12/06 11:47:56] * Callek has to go for a while -- sorry, I'll defer you to others here
[2011/12/06 11:48:10] <PedroGomes> ik thanks anyway
[2011/12/06 11:48:49] @ mattr joined channel #puppet
[2011/12/06 11:49:08] <PedroGomes> also got some " Failed to load library 'selinux' and the same for rubygems"
[2011/12/06 11:49:16] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/06 11:49:34] @ jcrim joined channel #puppet
[2011/12/06 11:51:18] <cwarden> do explicit class dependencies work at all? i think this is as simple an example as possible: http://bit.ly/toPp36
[2011/12/06 11:52:40] @ Quit: Niarf: Remote host closed the connection
[2011/12/06 11:54:02] @ omry_ joined channel #puppet
[2011/12/06 11:56:13] @ jodok joined channel #puppet
[2011/12/06 11:56:14] @ Quit: jodok: Changing host
[2011/12/06 11:56:14] @ jodok joined channel #puppet
[2011/12/06 11:58:43] @ Quit: DemonWitch: Quit: Leaving
[2011/12/06 12:00:28] <clustermagnet> guys hiera question…. whatever yaml files you stick in /etc/puppet/hieradata/... are automatically included, yes?
[2011/12/06 12:00:29] @ Dr_Memory joined channel #puppet
[2011/12/06 12:00:35] <chrischris> basic heira question: when using heira on a client how is one to ensure that the gem exists -- should there be code in the puppet module to ensure that heira gem is installed on the client, or is there a better way?
[2011/12/06 12:00:49] @ Quit: omry_: Max SendQ exceeded
[2011/12/06 12:00:57] @ jcrim left channel #puppet ()
[2011/12/06 12:01:01] @ Quit: ken_barber: Quit: Leaving.
[2011/12/06 12:01:01] <clustermagnet> chrischris: lol working with hiera as well? :)
[2011/12/06 12:01:08] <Dr_Memory> in attempting to work around bug 10739, I seem to have screwed myself in an entertaining fashion: err: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key
[2011/12/06 12:01:09] <chrischris> clustermagnet: ha - yeah
[2011/12/06 12:01:15] <chrischris> clustermagnet: getting into it
[2011/12/06 12:01:25] <Dr_Memory> how do I force the PM to regenerate both its private key and cert?
[2011/12/06 12:01:32] <clustermagnet> hiera is installed on master… nothing to do with the client
[2011/12/06 12:01:32] <Dr_Memory> (it has no clients yet other than itself)
[2011/12/06 12:01:32] <walkeran> (This is me being lazy) #10739
[2011/12/06 12:01:33] <gepetto> walkeran: #10739 is http://projects.puppetlabs.com/issues/show/10739 "Puppet - Bug #10739: An initial installation of 2.7.6 results in a default certificate without alternate names. It has a status of Merged - Pending Release and is assigned to Josh Cooper"
[2011/12/06 12:01:56] @ omry_ joined channel #puppet
[2011/12/06 12:05:14] @ Quit: marcus: Disconnected by services
[2011/12/06 12:05:30] @ marcus__ joined channel #puppet
[2011/12/06 12:06:30] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/06 12:06:42] @ eventi left channel #puppet ()
[2011/12/06 12:06:52] @ abstrakt joined channel #puppet
[2011/12/06 12:07:12] @ Quit: PedroGomes: Quit: PedroGomes
[2011/12/06 12:07:32] @ Quit: apollo13: Quit: SIGILL
[2011/12/06 12:11:22] <chrischris> clustermagnet: I am mainly curious about the requirements between running heira between `puppet agent` and `puppet apply` -- I think it makes sense that with a `puppet agent` run that you'd be able to only install heira on the master, but for something like puppet apply it makes sense that heira gem would need to be installed locally...
[2011/12/06 12:12:14] <chrischris> clustermagnet: in that case - I think I have to go with the assumption that my environment needs to have the heira gem installed (basically the puppet confs for master versioned somewhere -- to actually install heira itself...)
[2011/12/06 12:12:24] @ DemonWitch joined channel #puppet
[2011/12/06 12:12:44] @ Spads joined channel #puppet
[2011/12/06 12:12:52] <clustermagnet> chrischris: i dont know… probably… not running hiera the way you are
[2011/12/06 12:13:06] <abstrakt> so are chef and puppet basically the same, or rather, do they accomplish basically the same thing?
[2011/12/06 12:13:18] @ Quit: lborda: Quit: Ex-Chat
[2011/12/06 12:13:26] <chrischris> clustermagnet: ok - thanks!
[2011/12/06 12:13:50] <abstrakt> I've used capistrano and fabric before, and I've heard that chef and puppet are good and I want to give them both a try and see what's up
[2011/12/06 12:14:22] <clustermagnet> abstrakt: i say gofor it!
[2011/12/06 12:14:25] <clustermagnet> and buy the book :)
[2011/12/06 12:15:27] @ ken_barber joined channel #puppet
[2011/12/06 12:16:07] @ drewrm joined channel #puppet
[2011/12/06 12:16:59] <abstrakt> so what's the difference between puppet and mcollective?
[2011/12/06 12:17:05] @ labrown joined channel #puppet
[2011/12/06 12:17:51] <abstrakt> clustermagnet, heh, I think i'll wait to spend money on anything OSS until I decide whether I like that particular OSS thing :P
[2011/12/06 12:18:36] <clustermagnet> a book is a book....
[2011/12/06 12:18:36] @ dylants joined channel #puppet
[2011/12/06 12:19:13] <clustermagnet> on another note, guys… hiera sample .yaml file…
[2011/12/06 12:19:14] <clustermagnet> http://pastie.org/2976763
[2011/12/06 12:19:20] <clustermagnet> am i on the correct path?
[2011/12/06 12:22:37] @ limed_ joined channel #puppet
[2011/12/06 12:22:38] @ Quit: limed_: Client Quit
[2011/12/06 12:23:08] @ Dr_Memory left channel #puppet ()
[2011/12/06 12:24:04] @ Quit: marczak: Read error: Connection reset by peer
[2011/12/06 12:24:08] @ marczak joined channel #puppet
[2011/12/06 12:28:36] <rocket> are there any documents on how puppets resources are constrained together etc? I am looking at the generated graph and I see items that I would have been contained inside my global class floating freely around
[2011/12/06 12:28:39] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/06 12:28:58] <BrickBag> ken_barber: you there?
[2011/12/06 12:29:12] @ siezer joined channel #puppet
[2011/12/06 12:29:21] @ ali3n0 joined channel #puppet
[2011/12/06 12:30:21] @ nevyn joined channel #puppet
[2011/12/06 12:30:52] <clustermagnet> guys… yaml, anyone? :)
[2011/12/06 12:30:53] <clustermagnet> Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find data item svnrepos in any Hiera data file and no default supplied at /etc/puppet/manifests/nodes/catch.pp:44 on node
[2011/12/06 12:31:42] @ Quit: jodok: Remote host closed the connection
[2011/12/06 12:33:23] @ jodok joined channel #puppet
[2011/12/06 12:34:49] <Callek> I've never used Hiera but let me look anyway
[2011/12/06 12:35:44] <Callek> clustermagnet: are you sure you're reading that data?
[2011/12/06 12:35:50] * Callek really has no clue, and is guessing
[2011/12/06 12:35:54] @ fredden joined channel #puppet
[2011/12/06 12:36:08] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/06 12:36:12] @ Quit: ken_barber: Quit: Leaving.
[2011/12/06 12:36:19] <clustermagnet> uhm… am I reading teh data :) one sec
[2011/12/06 12:36:21] @ Quit: localhost: Remote host closed the connection
[2011/12/06 12:37:10] @ nevyn joined channel #puppet
[2011/12/06 12:37:34] @ localhost joined channel #puppet
[2011/12/06 12:37:35] * Callek suggests inserting a YAML syntax error, and using --debug to see if puppet complains
[2011/12/06 12:37:51] * Callek has no idea how gracefully/quietly Hiera is with syntax errors liek that
[2011/12/06 12:38:08] @ Quit: tilgovi: Ping timeout: 252 seconds
[2011/12/06 12:39:25] @ jamesog joined channel #puppet
[2011/12/06 12:39:38] <clustermagnet> Callek: thats all the errors i see
[2011/12/06 12:39:47] <clustermagnet> i think the problem here is 1.) im an asswiipe that doesnt know yaml
[2011/12/06 12:40:01] <clustermagnet> 2.) docs are a bit illusive, unless i misread something
[2011/12/06 12:40:26] <Callek> my skim of Hiera docs were elusive as well
[2011/12/06 12:40:33] @ rsiegel joined channel #puppet
[2011/12/06 12:40:35] <clustermagnet> dood, ya
[2011/12/06 12:40:43] <clustermagnet> here, readme: https://github.com/ripienaar/hiera-puppet/blob/master/example/README.md
[2011/12/06 12:40:55] @ Djelibeybi joined channel #puppet
[2011/12/06 12:41:15] @ jodok_ joined channel #puppet
[2011/12/06 12:41:41] <clustermagnet> decent article: http://www.devco.net/archives/2011/06/06/puppet_backend_for_hiera.php
[2011/12/06 12:41:53] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/06 12:41:55] <Callek> for YAML I'm not really good at either, but: http://www.yaml.org/spec/1.2/spec.html#Preview
[2011/12/06 12:42:00] <Callek> at least gives you some examples
[2011/12/06 12:42:22] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/12/06 12:42:59] <clustermagnet> hot! thanks!
[2011/12/06 12:43:20] @ Quit: jrmillette: Ping timeout: 265 seconds
[2011/12/06 12:43:20] @ Quit: christophermlee: Ping timeout: 265 seconds
[2011/12/06 12:43:49] @ Quit: jantman: Ping timeout: 265 seconds
[2011/12/06 12:44:03] @ Quit: jodok: Ping timeout: 252 seconds
[2011/12/06 12:44:03] @ jodok_ is now known as jodok
[2011/12/06 12:44:21] @ tilgovi joined channel #puppet
[2011/12/06 12:44:22] @ Quit: tilgovi: Changing host
[2011/12/06 12:44:22] @ tilgovi joined channel #puppet
[2011/12/06 12:45:38] @ Quit: dwalu: Quit: dwalu
[2011/12/06 12:49:22] <clustermagnet> ya, im still not getting it right :(
[2011/12/06 12:49:33] <clustermagnet> $temp = hiera("websites")
[2011/12/06 12:49:34] <clustermagnet> notify { "YAML is : ${temp}": }
[2011/12/06 12:50:32] @ christophermlee joined channel #puppet
[2011/12/06 12:50:40] <clustermagnet> here is my yaml
[2011/12/06 12:50:40] <clustermagnet> http://pastie.org/2976925
[2011/12/06 12:51:47] @ Quit: e1mer: Ping timeout: 240 seconds
[2011/12/06 12:52:55] @ nul0op joined channel #puppet
[2011/12/06 12:55:05] <Callek> clustermagnet: try killing off the svnrepos temporarily and using only one value for websites in YAML
[2011/12/06 12:55:10] <Callek> so we can see how it behaves :-)
[2011/12/06 12:55:22] <Callek> "simplify the testcase until it works as expected, then add back" :-)
[2011/12/06 12:55:38] <Callek> the trial/error way can work, but its a pain in the ass when you don't know _where_ in the stack the error is
[2011/12/06 13:00:55] @ marczak joined channel #puppet
[2011/12/06 13:02:09] @ sebnash joined channel #puppet
[2011/12/06 13:02:09] @ luckman212 joined channel #puppet
[2011/12/06 13:03:00] @ Quit: motomike: Remote host closed the connection
[2011/12/06 13:03:33] @ sdog joined channel #puppet
[2011/12/06 13:03:50] <pll> What's the best way to deal with users ?
[2011/12/06 13:04:16] <walkeran> pll: Lock them all in a closet and forget about them
[2011/12/06 13:04:19] @ motomike joined channel #puppet
[2011/12/06 13:04:24] <pll> walkeran++++++++
[2011/12/06 13:04:31] <walkeran> :)
[2011/12/06 13:04:40] <pll> Create a modules/user module ? Put them into whatever other module they might be associated with ?
[2011/12/06 13:05:06] <pll> a combination of the two on a case-by-case basis ?
[2011/12/06 13:05:19] <pll> I seem to have two types of users thus far.
[2011/12/06 13:05:35] <pll> the admin group, i.e. me and 2 others.
[2011/12/06 13:05:43] <pll> and some role accounts.
[2011/12/06 13:05:55] <walkeran> pll: That's a good question. I don't know if there really is a right answer (maybe I'll let someone else try to take that one on) ... I do the "combination" trick you speak of, which has worked just fine for me thus far
[2011/12/06 13:07:17] @ miche joined channel #puppet
[2011/12/06 13:07:24] <the_ramink> pll: I tag uses and realize tags as needed in various classes
[2011/12/06 13:07:31] <the_ramink> er users
[2011/12/06 13:07:33] <walkeran> pll: I have a admin::users sub-class that handles all of our users that should be everywhere, and then let individual modules manage the users that are specific to those modules
[2011/12/06 13:07:43] <walkeran> the_ramink: Ooo, that's a good idea, too
[2011/12/06 13:08:10] <pll> the_ramink: did you put admin::users in an admin module ?
[2011/12/06 13:08:25] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/06 13:08:34] <tobert> require => Class[foo::bar] makes a lot of ordering less nasty ... thanks whoever mentioned that yesterday
[2011/12/06 13:09:06] <the_ramink> walkeran: it's not bad, but my implementation isn't very flexible. I tag myself and one dev as admin and realize on all servers. devs get realized on a subset, but I don't change permissions per hosgroup for a user.
[2011/12/06 13:09:35] <walkeran> pll: That was me, but yes, it's in my admin module.... honestly, though, there aren't any other classes in my admin module :)
[2011/12/06 13:11:49] @ Quit: sdog: Changing host
[2011/12/06 13:11:49] @ sdog joined channel #puppet
[2011/12/06 13:11:49] @ Quit: sdog: Changing host
[2011/12/06 13:11:49] @ sdog joined channel #puppet
[2011/12/06 13:12:54] @ lborda joined channel #puppet
[2011/12/06 13:14:29] <tobert> if I include a class that has a useful define in it, it should get parsed before the file doing the including, right?
[2011/12/06 13:15:14] <walkeran> tobert: It would be better to put the define into its own file and let autoloading do the lifting for you
[2011/12/06 13:15:15] <tobert> I have an s3file() define that's failing parse even though I include the containing class (that's in another module)
[2011/12/06 13:15:53] <tobert> walkeran: as in manifests/classes style or $module/manifests/s3file.pp ?
[2011/12/06 13:16:11] <walkeran> tobert: $module/manifests/s3file.pp
[2011/12/06 13:16:14] <tobert> ugh
[2011/12/06 13:16:33] <tobert> it has some facts that go with it to contain the S3 credentials
[2011/12/06 13:16:38] <walkeran> tobert: So, foo/manifests/s3file.pp would contain "define foo::s3file () { }"
[2011/12/06 13:16:41] <tobert> so it's in a separate module
[2011/12/06 13:17:27] <walkeran> tobert: Then, I'd maybe (not sure exactly what you have going) suggest that you have an s3 module, and have an s3::params that contains all of your credentials, as well as an s3::file define that includes s3::params
[2011/12/06 13:18:08] <tobert> right then I'd "include s3::file" which would be pretty much what I'm doing now ...
[2011/12/06 13:18:21] <walkeran> well... you don't include it, since it's a define, but yeah
[2011/12/06 13:19:01] <tobert> ah ok
[2011/12/06 13:19:16] <matti> tobert: ;]
[2011/12/06 13:21:12] @ dwalu joined channel #puppet
[2011/12/06 13:21:12] @ newtMcKerr joined channel #puppet
[2011/12/06 13:21:57] @ Text joined channel #puppet
[2011/12/06 13:23:01] <rtyler> has anybody pinged github about making "puppet" a recognized language for source files?
[2011/12/06 13:23:56] @ Quit: christophermlee: Ping timeout: 265 seconds
[2011/12/06 13:25:54] @ Shanlar is now known as shanlar
[2011/12/06 13:26:01] <Text> Is autoloading broken or something? I posted a message about it in Groups. Anyone have a minute to look at it? http://groups.google.com/group/puppet-users/browse_thread/thread/69b37ee8892d55a6#
[2011/12/06 13:27:09] <tobert> Text, it's never worked properly for me so I explicitly include everything
[2011/12/06 13:27:16] <agaffney> Text: you need a create_resources/manifests/init.pp to be able to use it that way
[2011/12/06 13:27:36] <Text> k
[2011/12/06 13:27:52] <agaffney> include only works for classes, and you have no class named create_resources
[2011/12/06 13:29:12] <Text> I do have a module for it. init.pp will be the calss then?
[2011/12/06 13:30:02] <agaffney> yes
[2011/12/06 13:30:09] <agaffney> it can just have class create_resources { }
[2011/12/06 13:30:14] <nlew> Text: create_resources is a function, not a class. You don't need to include it, just call the function.
[2011/12/06 13:30:24] <agaffney> although, what do you need to include it for? it doesn't appear to have any manifests or defines
[2011/12/06 13:30:47] @ Quit: natewalck: Quit: Outta here
[2011/12/06 13:32:33] @ apollo13 joined channel #puppet
[2011/12/06 13:34:17] @ PedroGomes joined channel #puppet
[2011/12/06 13:38:42] @ Holocaine joined channel #puppet
[2011/12/06 13:39:10] @ Quit: tilgovi: Read error: Operation timed out
[2011/12/06 13:39:10] <Text> I have removed the includes for create_resources and hiera, but it doesn't build out the tree as expected. http://pastebin.com/bPTdQWFc
[2011/12/06 13:39:29] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/06 13:40:09] @ tilgovi joined channel #puppet
[2011/12/06 13:40:10] @ Quit: tilgovi: Changing host
[2011/12/06 13:40:10] @ tilgovi joined channel #puppet
[2011/12/06 13:44:58] @ jimmy1980 joined channel #puppet
[2011/12/06 13:46:14] @ emergion joined channel #puppet
[2011/12/06 13:49:29] @ Quit: zul: Ping timeout: 252 seconds
[2011/12/06 13:50:05] <clustermagnet> Text: dood, can i bug you about hiera, plz! :)
[2011/12/06 13:50:17] <clustermagnet> i think i need a jump start, then i'll be fine :)
[2011/12/06 13:50:18] <Text> sure
[2011/12/06 13:50:23] <clustermagnet> awesome!
[2011/12/06 13:50:26] <Text> I'll try
[2011/12/06 13:50:28] <clustermagnet> let me pastie you
[2011/12/06 13:50:43] @ aesptux joined channel #puppet
[2011/12/06 13:50:55] <clustermagnet> Text: here is my yaml file
[2011/12/06 13:50:55] <clustermagnet> http://pastie.org/2976925
[2011/12/06 13:51:04] <clustermagnet> am i getting the right idea ?
[2011/12/06 13:51:16] <clustermagnet> i need to get a streamlined deployment of websites into dev/prod via puppet
[2011/12/06 13:51:37] <clustermagnet> i have about 20+ websites, and configuring svn repos…. etc etc, netscalers…e tc… is a tedious task
[2011/12/06 13:51:44] <clustermagnet> so i would love to automate all this shit with puppet
[2011/12/06 13:52:05] <clustermagnet> so, keeping website and svn definitions in yaml, and have puppet deploy templates… i think is where i need to be.
[2011/12/06 13:52:31] <clustermagnet> problem : im a freaking moron, and simply cant get the hiera to read any of the values in the yaml file
[2011/12/06 13:52:44] <clustermagnet> also, if you have any suggestions in how to structure my yaml database, im all yours!!!!
[2011/12/06 13:53:08] @ Quit: diq: Ping timeout: 240 seconds
[2011/12/06 13:55:11] @ diq joined channel #puppet
[2011/12/06 13:55:15] <Text> http://pastie.org/2977292
[2011/12/06 13:55:34] <clustermagnet> reading :)
[2011/12/06 13:55:44] <clustermagnet> k, so hiera.yaml is the main config file hiera loooks at, ya?
[2011/12/06 13:55:48] <agaffney> when you specify "ssl_client_header = SSL_CLIENT_S_DN", what's the exact name of the header that puppet is looking at?
[2011/12/06 13:56:16] <agaffney> the default nginx/unicorn config on puppetlabs.com has incompatible SSL headers for the passenger+apache setup
[2011/12/06 13:56:20] <Text> I have to go to a meeting, and I'll send you an example in about an hour. Sorry about that. I have to jump through many hoops to get the data to you.
[2011/12/06 13:56:21] <agaffney> which makes it difficult to migrate
[2011/12/06 13:56:30] <agaffney> so I just want to set the extra headers in the nginx conf
[2011/12/06 13:56:39] <clustermagnet> Text: THANK YOU!!! :)
[2011/12/06 13:56:44] <clustermagnet> ive been beating my head on shtuff :)
[2011/12/06 13:56:45] <Text> np
[2011/12/06 13:56:59] <Text> Ping me at @UncleSiggy if we don't meet up
[2011/12/06 13:57:01] <Text> here
[2011/12/06 13:57:18] <Text> I am doing the same thing as you and hopefully we can help one another ;-)
[2011/12/06 13:59:00] @ Quit: labrown: Quit: Leaving
[2011/12/06 13:59:34] <clustermagnet> Text: UncleSiggy is another nic on freenode for you?
[2011/12/06 14:03:25] @ avandendorpe left channel #puppet ()
[2011/12/06 14:04:21] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 14:05:22] @ jimmy1980 joined channel #puppet
[2011/12/06 14:11:47] @ Quit: Text: Ping timeout: 265 seconds
[2011/12/06 14:11:48] @ bluemustard joined channel #puppet
[2011/12/06 14:12:13] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/06 14:14:12] @ nevyn joined channel #puppet
[2011/12/06 14:14:21] @ Quit: brtl: Quit: Leaving.
[2011/12/06 14:14:48] @ dylants left channel #puppet ()
[2011/12/06 14:15:23] @ Quit: digr11: Quit: Leaving.
[2011/12/06 14:15:40] @ Neostim joined channel #puppet
[2011/12/06 14:15:57] @ Quit: tremble: Quit: Leaving
[2011/12/06 14:16:11] @ Neostim left channel #puppet ()
[2011/12/06 14:16:27] @ althara joined channel #puppet
[2011/12/06 14:17:02] <shortbus-> i'm trying to run an exec as a user using cwd, and its failing with Permission denied, but when i su - to the user, cd to that dir and run it, it works fine. any suggestions on what to check?
[2011/12/06 14:17:45] @ rsiegel_ joined channel #puppet
[2011/12/06 14:18:48] @ Quit: marrusl: Remote host closed the connection
[2011/12/06 14:20:45] <clustermagnet> Text http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/ :)
[2011/12/06 14:20:48] <clustermagnet> awesome article
[2011/12/06 14:20:52] @ Quit: rsiegel: Ping timeout: 255 seconds
[2011/12/06 14:20:53] @ rsiegel_ is now known as rsiegel
[2011/12/06 14:21:36] <jorhett> shortbus: "su -" means you are loading environment. Look into that.
[2011/12/06 14:21:37] @ joe-mac joined channel #puppet
[2011/12/06 14:21:51] <clustermagnet> thank god for evernote lol
[2011/12/06 14:22:10] <clustermagnet> i mean, thank santa claus for evernote
[2011/12/06 14:22:12] @ ken_barber joined channel #puppet
[2011/12/06 14:22:19] <clustermagnet> i mean, thanks developers, there is no santa claus
[2011/12/06 14:22:32] <clustermagnet> thank you science
[2011/12/06 14:22:33] <clustermagnet> lol
[2011/12/06 14:22:51] <Callek> clustermagnet: no santa????
[2011/12/06 14:22:55] <clustermagnet> ofcourse lol
[2011/12/06 14:23:31] <clustermagnet> Callek: im trying to eliminate any jesus/god related gibberish i find in my language, and substitute it with lucifer lol
[2011/12/06 14:23:39] <Callek> clustermagnet: there should be a santa: http://www.youtube.com/watch?feature=player_embedded&v=3c_mPevNk8E
[2011/12/06 14:23:40] <clustermagnet> puppet module for blasphemy? fuuuuk
[2011/12/06 14:23:51] <clustermagnet> Callek: :)
[2011/12/06 14:24:32] @ Quit: gniks: Quit: Leaving.
[2011/12/06 14:25:38] @ pcarlisle joined channel #puppet
[2011/12/06 14:26:38] <kenperkins> so I'm working on trying to better parameterize my modules, does this look right: https://gist.github.com/1440324
[2011/12/06 14:26:51] <kenperkins> regarding clipboard::params::$varname
[2011/12/06 14:27:33] <Callek> kenperkins: "cp -r * {clipboard::params::$site_path}" should be "cp -r * ${clipboard::params::site_path}"
[2011/12/06 14:27:51] <Callek> same above in file {
[2011/12/06 14:27:51] <kenperkins> you don't need the $ internal, got it
[2011/12/06 14:27:52] <kenperkins> ty
[2011/12/06 14:28:09] <Callek> you still need the $ but you don't put it at the end
[2011/12/06 14:28:35] <kenperkins> like yay: https://gist.github.com/1440324
[2011/12/06 14:29:40] <Callek> kenperkins: great, btw if its one-time-only copy, I would use creates=> if its a frequent "sync" I would use rsync instead
[2011/12/06 14:30:16] <kenperkins> it is indeed a sync, basically it pulls from our local git dir into the running web dir
[2011/12/06 14:30:48] <Callek> yea, I would use rsync then, since cp can be expensive over time
[2011/12/06 14:31:12] @ ezmobius joined channel #puppet
[2011/12/06 14:31:16] @ Quit: dfamorato: Remote host closed the connection
[2011/12/06 14:32:39] @ dfamorato joined channel #puppet
[2011/12/06 14:34:02] @ Quit: ldlework: Ping timeout: 252 seconds
[2011/12/06 14:34:40] @ Quit: csanchez: Quit: csanchez
[2011/12/06 14:35:26] <clustermagnet> Failed to start Hiera: ArgumentError: syntax error on line 7, col 3: `- common'
[2011/12/06 14:35:27] @ johnston_ joined channel #puppet
[2011/12/06 14:35:41] <clustermagnet> http://pastie.org/2977509
[2011/12/06 14:38:37] <clustermagnet> fixed… has to be spaces , not tabs :)
[2011/12/06 14:38:40] @ jkoppe left channel #puppet ()
[2011/12/06 14:40:36] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 14:41:16] @ Quit: ali3n0: Quit: Leaving.
[2011/12/06 14:41:43] @ Quit: sduchesneau: Remote host closed the connection
[2011/12/06 14:42:41] @ Quit: PedroGomes: Quit: PedroGomes
[2011/12/06 14:44:26] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/06 14:46:01] @ Quit: lborda: Remote host closed the connection
[2011/12/06 14:46:33] @ jimmy1980 joined channel #puppet
[2011/12/06 14:49:10] @ Quit: dwalu: Quit: dwalu
[2011/12/06 14:49:46] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com
[2011/12/06 14:51:16] @ Quit: blentz: Ping timeout: 252 seconds
[2011/12/06 14:51:25] @ Quit: jsurfer: Quit: jsurfer
[2011/12/06 14:51:52] @ Quit: alfism: Quit: alfism
[2011/12/06 14:52:29] <kenperkins> I'm getting a syntax error on this line: sitename => $clipboard-node::params::base_url,
[2011/12/06 14:52:42] <kenperkins> it doesn't like the dash in the class name, but I can't figure out how to wrap it in { }
[2011/12/06 14:52:55] <agaffney> kenperkins: you should change the class/module name so it doesn't have a dash
[2011/12/06 14:53:02] <kenperkins> ...
[2011/12/06 14:53:05] <kenperkins> non trivial :(
[2011/12/06 14:53:08] <agaffney> you can only wrap in {} in quotes
[2011/12/06 14:53:17] <agaffney> "${clipboard-node::params::base_url}"
[2011/12/06 14:54:06] @ e1mer joined channel #puppet
[2011/12/06 14:55:31] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/12/06 14:55:35] <kenperkins> re: dash in class names, why is it soft permitted
[2011/12/06 14:55:38] @ nitram_macair left channel #puppet ()
[2011/12/06 14:56:02] @ nitram_macair joined channel #puppet
[2011/12/06 14:56:20] <kenperkins> are underscores ok?
[2011/12/06 14:56:25] <agaffney> yes
[2011/12/06 14:58:14] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 14:59:21] @ Quit: sdog: Remote host closed the connection
[2011/12/06 15:00:17] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/06 15:00:35] @ jimmy1980 joined channel #puppet
[2011/12/06 15:01:43] @ pll is now known as pll_work
[2011/12/06 15:04:15] @ Quit: aherzog: Quit: aherzog
[2011/12/06 15:05:17] @ PedroGomes joined channel #puppet
[2011/12/06 15:07:37] @ Quit: ken_barber: Quit: Leaving.
[2011/12/06 15:08:22] @ Text joined channel #puppet
[2011/12/06 15:09:09] <Text> http://pastebin.com/d9cMXimG
[2011/12/06 15:09:53] @ Quit: kangman: Remote host closed the connection
[2011/12/06 15:10:31] <kenperkins> what's the proper way to reference $environment within a template
[2011/12/06 15:11:53] @ Quit: shine: Ping timeout: 240 seconds
[2011/12/06 15:12:18] @ kangman joined channel #puppet
[2011/12/06 15:13:06] @ sevard joined channel #puppet
[2011/12/06 15:14:17] @ Niarf joined channel #puppet
[2011/12/06 15:14:27] <Niarf> hi :)
[2011/12/06 15:15:14] @ Quit: Niarf: Client Quit
[2011/12/06 15:15:54] @ gniks joined channel #puppet
[2011/12/06 15:16:10] @ shine joined channel #puppet
[2011/12/06 15:16:31] <the_ramink> kenperkins: it's a fact so this should work <%= environment %> though I think <%= @environment %> is the new fanciness.
[2011/12/06 15:18:07] @ Quit: aesptux:
[2011/12/06 15:20:07] <kenperkins> I've been getting the dreaded dynamic $foo is deprecated
[2011/12/06 15:20:55] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/06 15:21:13] @ Quit: zwi: Quit: Leaving.
[2011/12/06 15:22:04] @ ken_barber joined channel #puppet
[2011/12/06 15:22:45] @ nevyn joined channel #puppet
[2011/12/06 15:23:34] @ Quit: geekbri: Remote host closed the connection
[2011/12/06 15:26:04] @ Quit: kaptk2: Quit: Leaving.
[2011/12/06 15:27:18] <joe-mac> meh, I don't think it's dreaded
[2011/12/06 15:27:35] @ Quit: rsiegel: Quit: rsiegel
[2011/12/06 15:27:36] <joe-mac> forces proper design principles without dynamic scope
[2011/12/06 15:29:35] @ ezmobius is now known as ezmobius|zoning
[2011/12/06 15:30:11] @ Quit: gniks: Quit: Leaving.
[2011/12/06 15:30:27] @ Quit: ken_barber: Quit: Leaving.
[2011/12/06 15:30:48] @ Quit: skm: Ping timeout: 244 seconds
[2011/12/06 15:31:23] @ skm joined channel #puppet
[2011/12/06 15:32:57] <the_ramink> kenperkins: try it with either @ or :: in front of it. IIRC someone mentioned that it was @ and it was poorly documented.
[2011/12/06 15:33:10] @ nitram_macair left channel #puppet ()
[2011/12/06 15:34:14] @ Quit: wilmoore: Ping timeout: 248 seconds
[2011/12/06 15:34:14] @ marczak joined channel #puppet
[2011/12/06 15:34:38] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/12/06 15:35:04] @ Quit: lak: Quit: Leaving.
[2011/12/06 15:35:18] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/06 15:37:21] @ nevyn joined channel #puppet
[2011/12/06 15:40:38] @ Quit: drewrm: Ping timeout: 240 seconds
[2011/12/06 15:41:40] @ gniks joined channel #puppet
[2011/12/06 15:41:48] @ Quit: gniks: Changing host
[2011/12/06 15:41:48] @ gniks joined channel #puppet
[2011/12/06 15:42:21] @ Quit: gniks: Client Quit
[2011/12/06 15:42:33] @ Quit: raphink: Remote host closed the connection
[2011/12/06 15:43:11] @ Quit: kelseyhightower: Quit: leaving
[2011/12/06 15:43:53] @ Quit: kangman: Remote host closed the connection
[2011/12/06 15:45:04] @ Quit: Text: Ping timeout: 265 seconds
[2011/12/06 15:47:34] @ dylants joined channel #puppet
[2011/12/06 15:48:19] @ gniks joined channel #puppet
[2011/12/06 15:49:11] @ Soahc joined channel #puppet
[2011/12/06 15:49:22] @ dissipate joined channel #puppet
[2011/12/06 15:50:29] <dissipate> hello. does puppet have a plugin for APL? I need to do a statistical analysis of my machine's state using APL that Puppet can act on.
[2011/12/06 15:51:35] @ Quit: jodok: Remote host closed the connection
[2011/12/06 15:51:49] @ jodok joined channel #puppet
[2011/12/06 15:51:49] @ Quit: jodok: Changing host
[2011/12/06 15:51:49] @ jodok joined channel #puppet
[2011/12/06 15:51:53] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/06 15:54:16] <Soahc> Anyone here used the memberships api in puppet-dashboard?
[2011/12/06 15:56:04] @ Quit: skm: Quit: Leaving...
[2011/12/06 15:57:48] @ jodok_ joined channel #puppet
[2011/12/06 15:57:48] @ Quit: jodok_: Changing host
[2011/12/06 15:57:48] @ jodok_ joined channel #puppet
[2011/12/06 15:59:52] @ Quit: jodok_: Client Quit
[2011/12/06 16:00:09] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/06 16:01:27] <joe-mac> dissipate: I don't think so but, what does APL output and what do you need Puppet to do to it?
[2011/12/06 16:05:04] <dissipate> joe-mac, i have an APL program that does data crunching for a large number of files that were dumped out from another process. depending on the results of this number crunching, I need certain directory structures set up and configured.
[2011/12/06 16:05:20] @ Quit: kermit: Quit: Leaving.
[2011/12/06 16:05:27] @ drewrm joined channel #puppet
[2011/12/06 16:05:27] <joe-mac> ok if you need information from the node to use in a manifest- you need custom facts
[2011/12/06 16:05:34] @ kermit joined channel #puppet
[2011/12/06 16:05:51] <dissipate> joe-mac, i see. perhaps a plugin for facter would do the trick?
[2011/12/06 16:06:21] <joe-mac> well, yea it's a custom fact
[2011/12/06 16:06:31] <joe-mac> be careful not to put too much data in custom facts though
[2011/12/06 16:06:48] <joe-mac> it is limited by url length of your webserver cause it's transmitted base64 in a url
[2011/12/06 16:07:09] @ Quit: PedroGomes: Quit: PedroGomes
[2011/12/06 16:07:13] <dissipate> facter seems the way to go. thanks for the tip.
[2011/12/06 16:07:27] <zleslie> facter rocks
[2011/12/06 16:07:31] <joe-mac> indeed
[2011/12/06 16:07:40] <clustermagnet> guys, im trying to streamline my website deployment scripts… they all include svn repo, mysql….storage… ssh key information in them
[2011/12/06 16:07:55] <clustermagnet> im choosing to go with hiera… and have a test env working
[2011/12/06 16:08:00] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/06 16:08:04] <clustermagnet> what i dont understand, or conceptualize… is....
[2011/12/06 16:08:10] <clustermagnet> how do organize the freaking info :)
[2011/12/06 16:08:30] <clustermagnet> ie, i would have a site, in dev prod, qa… with like svn info, but different mysql/storage/etc information
[2011/12/06 16:08:48] @ Quit: maes_`: Ping timeout: 248 seconds
[2011/12/06 16:08:57] <joe-mac> clustermagnet: highly order dependent operations like deployment, can be done in puppet, but is not its strong suit
[2011/12/06 16:09:11] <clustermagnet> joe-mac: true...
[2011/12/06 16:09:16] <joe-mac> tools like capistrano, mcollective, better for deployment
[2011/12/06 16:09:21] <clustermagnet> joe-mac: k
[2011/12/06 16:09:23] <dissipate> clustermagnet, i use a custom config file that is created by puppet using variables dependent on the machine that is being configured.
[2011/12/06 16:09:31] <clustermagnet> joe-mac: well, a list of sites in development farm… can it be stored in yaml?
[2011/12/06 16:09:45] <clustermagnet> dissipate: ya, got that already :)
[2011/12/06 16:09:53] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/06 16:09:59] <clustermagnet> i essentially need something like:
[2011/12/06 16:10:11] <clustermagnet> http://pastie.org/2977872
[2011/12/06 16:10:15] <clustermagnet> for each site....
[2011/12/06 16:10:20] <dissipate> clustermagnet, so what's the problem?
[2011/12/06 16:10:23] <clustermagnet> taking examples from : http://www.yaml.org/spec/1.2/spec.html#Preview
[2011/12/06 16:10:36] <clustermagnet> dissipate: problem is im learning :)
[2011/12/06 16:11:08] <clustermagnet> i followed this: http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/
[2011/12/06 16:11:14] @ Quit: rejectreality: Quit: .
[2011/12/06 16:11:16] <dissipate> clustermagnet, have you read about puppet's template system?
[2011/12/06 16:11:23] <clustermagnet> dissipate: already use it
[2011/12/06 16:11:27] @ ezmobius|zoning is now known as ezmobius|zoning|
[2011/12/06 16:11:37] <clustermagnet> dissipate: im trying to understand how to do this in yaml:
[2011/12/06 16:11:56] <clustermagnet> websiteA-> array i guess -> storage, svn,mysql, sshkey info
[2011/12/06 16:12:12] @ maes_ joined channel #puppet
[2011/12/06 16:12:26] <clustermagnet> i can figure out the <% [ntpservers].flatten.each do |server| -%> bit later
[2011/12/06 16:13:05] <clustermagnet> i guess my assumption is to keep all website definitions in yaml, then have puppet spit out configs
[2011/12/06 16:13:25] <clustermagnet> maybe i should just start doing it, and hack along the way
[2011/12/06 16:14:14] @ rejectreality joined channel #puppet
[2011/12/06 16:14:35] @ jongrocho joined channel #puppet
[2011/12/06 16:14:59] <clustermagnet> k, let me give you a more concrete example...
[2011/12/06 16:15:08] @ zul joined channel #puppet
[2011/12/06 16:15:33] @ Quit: spiette: Ping timeout: 252 seconds
[2011/12/06 16:15:40] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/06 16:15:41] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/06 16:15:41] <clustermagnet> how do you say "dear hiera, please query the dev websites, and return me the mysql u/p for a site in dev"
[2011/12/06 16:16:14] <joe-mac> I use extlookup so I can't comment exacltly on hiera, but I think what you want is a define that has defaults that lookup hiera values
[2011/12/06 16:16:17] <dissipate> clustermagnet, mcollective with facter?
[2011/12/06 16:16:20] <joe-mac> that way you can override by hand if you need to
[2011/12/06 16:16:22] <clustermagnet> would it be $info = hiera("mysql ") with $env is predefined… fuck ,, the documentation is confusing … and lacking
[2011/12/06 16:16:41] <clustermagnet> sigh
[2011/12/06 16:16:50] @ Quit: bmahe: Quit: Leaving
[2011/12/06 16:16:53] @ sumsuch joined channel #puppet
[2011/12/06 16:16:54] @ Quit: DJClean: Read error: Operation timed out
[2011/12/06 16:17:02] <joe-mac> clustermagnet: just fiddle with it til it works
[2011/12/06 16:17:03] <clustermagnet> like, even in puppet, you cant have this
[2011/12/06 16:17:08] @ Quit: jaytaph: Ping timeout: 240 seconds
[2011/12/06 16:17:09] <clustermagnet> joe-mac: lol im about to i think
[2011/12/06 16:17:10] <joe-mac> ccan't have what?
[2011/12/06 16:17:12] <clustermagnet> well
[2011/12/06 16:17:20] @ nevyn joined channel #puppet
[2011/12/06 16:17:23] <clustermagnet> database type ! thats it
[2011/12/06 16:17:28] <clustermagnet> you cant have a database type
[2011/12/06 16:17:32] <clustermagnet> what i mean by that is....
[2011/12/06 16:17:42] <clustermagnet> you can say shit like… give me the mysql user for this site
[2011/12/06 16:17:43] <joe-mac> I do things like this, like I said parameterized classes with parameter default s like $user = extlookup("mysql_user")
[2011/12/06 16:17:47] <joe-mac> same thing for define
[2011/12/06 16:18:06] <clustermagnet> yes, but this mysql_user is for X, right?
[2011/12/06 16:18:10] <joe-mac> sure you can- you are on the right track. both hiera and extlookup are designed for this
[2011/12/06 16:18:11] <clustermagnet> how do you link X and mysql_user ;)
[2011/12/06 16:18:24] <joe-mac> well, in extlookup you set up a lookup precedence
[2011/12/06 16:18:34] <joe-mac> that uses variables/facts to find the proper csv file
[2011/12/06 16:18:36] <clustermagnet> yes, i see that
[2011/12/06 16:18:58] @ Quit: johnbatch: Ping timeout: 258 seconds
[2011/12/06 16:19:15] <clustermagnet> so you have a ton of directories and subdirectories describing stuff?
[2011/12/06 16:19:27] <clustermagnet> kinda of a directory based database
[2011/12/06 16:19:56] <joe-mac> not a ton, but, fwiu hiera is going to have or already does have pluggable backends, could use a db if you want
[2011/12/06 16:19:58] <clustermagnet> in actual csv files in extlookup, or yaml files in hiera… do you keep information only about 1 website
[2011/12/06 16:20:02] @ ldlework joined channel #puppet
[2011/12/06 16:20:03] <clustermagnet> or about all your websites :)
[2011/12/06 16:20:06] @ bmahe joined channel #puppet
[2011/12/06 16:20:10] <matchaw> Anyone know a way to show if a report is reaching the dashboard?
[2011/12/06 16:20:33] <matchaw> I have the master in debug mode and it shows debug :: processing report from...
[2011/12/06 16:20:34] <clustermagnet> look at the dashboard?
[2011/12/06 16:20:35] <joe-mac> clustermagnet: I don't support hundreds of sites at any of my gigs or have I at previous day jobs, but you would want to do all your sites, you want to strive to have your whole infrastructure in puppet
[2011/12/06 16:20:39] <matchaw> but it never shows in dashboard.
[2011/12/06 16:21:00] <clustermagnet> joe-mac: yeh dood, i hear ya
[2011/12/06 16:21:10] <clustermagnet> im actually trying to battle a task....
[2011/12/06 16:21:25] <clustermagnet> ie… i go through 30 steps to setup a website, which should be automated to say the least
[2011/12/06 16:21:44] <clustermagnet> due to the nature of these tasks, its not simple… because you have to setup load balancers, google search appliances, etc
[2011/12/06 16:21:51] <clustermagnet> all of which i've written soap scripts for
[2011/12/06 16:21:56] <clustermagnet> now its time to tie shit together
[2011/12/06 16:22:00] @ jaytaph joined channel #puppet
[2011/12/06 16:22:02] <clustermagnet> oh, netapp export… shit like that
[2011/12/06 16:22:09] <joe-mac> clustermagnet: yea, I mean that kind of stuff I use capistrano for
[2011/12/06 16:22:18] <clustermagnet> oh
[2011/12/06 16:22:22] @ Quit: DemonWitch: Quit: Leaving
[2011/12/06 16:22:39] <clustermagnet> ive never used capistrano, let me rtfm
[2011/12/06 16:22:42] @ Quit: nadavoid: Remote host closed the connection
[2011/12/06 16:23:06] <clustermagnet> maybe i should leave ntp server configuration to puppet
[2011/12/06 16:23:24] <clustermagnet> and do more elegant shit with another tool, like capistrano
[2011/12/06 16:23:30] <clustermagnet> thanks joe-mac!
[2011/12/06 16:24:21] <clustermagnet> ofcourse… dead link on capistrano site :)
[2011/12/06 16:24:21] <clustermagnet> https://github.com/capistrano/capistrano/wiki/2.x-Getting-Started
[2011/12/06 16:25:43] <clustermagnet> well, this may not be the tool either
[2011/12/06 16:25:49] <clustermagnet> because 50% of sites are java war files
[2011/12/06 16:25:57] <clustermagnet> 25 percent are drupal/wordpress
[2011/12/06 16:26:06] <clustermagnet> 25 percent are wtf ever else....
[2011/12/06 16:26:19] <clustermagnet> i was ready to write modules for all this junk
[2011/12/06 16:26:25] @ Quit: joe-mac: Ping timeout: 255 seconds
[2011/12/06 16:27:33] <matchaw> I'm getting "406 Not Acceptable [http://localhost/reports/upload" ?
[2011/12/06 16:27:53] <Soahc> check your database
[2011/12/06 16:28:27] <Soahc> I get that error when the database can't be written to (locked/down/disk full)
[2011/12/06 16:28:42] @ jsurfer joined channel #puppet
[2011/12/06 16:28:54] <matchaw> Soahc, ah the stored config db?
[2011/12/06 16:29:12] <nlew> matchaw: Check that the process can write to all of its directories. spool in particular causes problems.
[2011/12/06 16:29:14] <Soahc> yeah, or where ever your puppet-dashboard db is
[2011/12/06 16:30:09] <agaffney> does anyone have some nginx-fu to take some load off of the puppetmaster? I'm already serving the file_content requests directly, but I'd like to do something about file_metadata too, if possible
[2011/12/06 16:31:30] <nlew> Ohhh, apparently dashboard will explicitly render 406 if it can't save the reportfor processing. That's why spool causes problems.
[2011/12/06 16:31:40] <matchaw> Soahc, nlew, mysql seems fine and the storeddb config in puppet.conf on the master is correct.
[2011/12/06 16:31:52] <matchaw> cannot save the report?
[2011/12/06 16:32:00] <matchaw> does it save them to /var/lib/puppet/reports ?
[2011/12/06 16:32:18] <nlew> It saves them to spool in whatever the root of the dashboard application is
[2011/12/06 16:32:28] @ Vulcan[OMNI] joined channel #puppet
[2011/12/06 16:32:38] <nlew> If that directory doesn't exist, or the permissions are wrong, it will fail and return 406
[2011/12/06 16:32:41] @ rcrowley joined channel #puppet
[2011/12/06 16:33:46] @ skm joined channel #puppet
[2011/12/06 16:35:04] <matchaw> nlew, awesome, ok I changed /usr/share/puppet-dashboad/spool perms to the user running dashboard and all is ok
[2011/12/06 16:35:25] <matchaw> weird though, afaik these perms weren't changed.
[2011/12/06 16:35:27] @ dwalu joined channel #puppet
[2011/12/06 16:35:28] <matchaw> Thanks though!
[2011/12/06 16:36:30] <dissipate> what are the advantages of capistrano vs. mcollective?
[2011/12/06 16:36:47] @ Quit: dan__t: Ping timeout: 240 seconds
[2011/12/06 16:37:26] @ joe-mac joined channel #puppet
[2011/12/06 16:39:08] <joe-mac> man, if my phone is not on a proper charger, the mobile hotspot eats battery faster than it can charge
[2011/12/06 16:39:13] <joe-mac> wrong #
[2011/12/06 16:39:31] <joe-mac> anyways, clustermagnet not sure if you had any questions but I got kicked for aforementioned reason
[2011/12/06 16:40:27] <clustermagnet> joe-mac: dood, thanks for your time
[2011/12/06 16:40:32] <clustermagnet> i'll bug again tomorrow
[2011/12/06 16:40:35] <dissipate> joe-mac, i had a question. what are the advantages of capistrano vs. mcollective?
[2011/12/06 16:40:36] <clustermagnet> im now reading about capistrano
[2011/12/06 16:40:48] <Soahc> nlew: you added the REST API for group membership to puppet-dashboard via /memberships is there any doco on getting it working? everytime i try I get "Missing template node_group_memberships/index.erb"
[2011/12/06 16:40:57] <clustermagnet> puppet stays, may need to use capistrano for what i need
[2011/12/06 16:41:34] <joe-mac> dissipate: capistrano is bsed on ssh
[2011/12/06 16:41:40] <joe-mac> so it has some scalability issues
[2011/12/06 16:41:47] <nevyn> mcollective is an orchestration tool capistrano is a release tool aiui
[2011/12/06 16:41:51] <joe-mac> mcollective is unbelievably scalable
[2011/12/06 16:42:02] <joe-mac> you can write an mcollective agent for deployment
[2011/12/06 16:42:14] <joe-mac> but capistrano is more designed specifically for deployment
[2011/12/06 16:42:30] <joe-mac> I like cap but it has serious issues with trying to do massively parallel ssh
[2011/12/06 16:42:46] <clustermagnet> joe-mac: that may be a problem :)
[2011/12/06 16:42:55] <joe-mac> I use it for most of my deploys nonetheless- but like I said I am not doing massive deploys
[2011/12/06 16:43:00] <clustermagnet> so…. in hiera… can you do something like:
[2011/12/06 16:43:12] <clustermagnet> ie… websiteA ->  gsa u/p is this, netscaler vip is this, svn path is this, email is this… etc
[2011/12/06 16:43:13] <dissipate> nevyn, i see.
[2011/12/06 16:43:36] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/06 16:43:39] <joe-mac> clustermagnet: since that's all so order dependent- I really recommend using capistrano
[2011/12/06 16:43:40] <clustermagnet> i dont think i get the full yaml power i guess
[2011/12/06 16:43:46] <joe-mac> how many servers you thinking about clustermagnet?
[2011/12/06 16:43:55] <joe-mac> if you're talking less than 50 or so
[2011/12/06 16:43:56] <clustermagnet> joe-mac: well, domUs get spun up
[2011/12/06 16:43:57] <joe-mac> it should be fine
[2011/12/06 16:44:06] <clustermagnet> less than 50
[2011/12/06 16:44:47] <joe-mac> should be fine with cap
[2011/12/06 16:44:55] @ brandon_dacrib joined channel #puppet
[2011/12/06 16:45:06] <joe-mac> thing with cap is the documentation is terrible
[2011/12/06 16:45:12] <joe-mac> takes a bit of using it to understand it
[2011/12/06 16:45:33] @ Quit: skm: Read error: Connection reset by peer
[2011/12/06 16:45:50] @ kermit is now known as Bryce
[2011/12/06 16:46:08] @ johnbatch1 joined channel #puppet
[2011/12/06 16:46:14] <mfridh> I'd like to do conf.d-style snmpd configuration... has anyone done that before?
[2011/12/06 16:46:16] <clustermagnet> joe-mac: in hiera/yaml… can you setup an interdependence of vraiables?
[2011/12/06 16:46:37] <clustermagnet> ie, dev.site.org has mysql info and nfs path, and x y z
[2011/12/06 16:46:55] <clustermagnet> but prod.site.com has mysqlb nfs path b, k, l, e
[2011/12/06 16:47:06] <clustermagnet> i need a neat way to push info into modules
[2011/12/06 16:47:16] <clustermagnet> since we're all trying to keep things 'reusable'
[2011/12/06 16:47:18] <joe-mac> clustermagnet: I haven't used hiera yet, I use extlookup cause I've been using it for years now and works well for my simple needs, but I don't really understand the question
[2011/12/06 16:47:23] <nlew> Soahc: It's a json-only api, and I think the only thing really implemented is create. The rest probably work, but may give back data in strange formats.
[2011/12/06 16:47:31] <matchaw> anyone used foreman and see the same issue ? "POST /reports/create?format=yml HTTP/1.1" 404 406 "-" "-" ?
[2011/12/06 16:47:34] <joe-mac> clustermagnet: right you're going to use parameterized classes and defined resources
[2011/12/06 16:47:41] <clustermagnet> yep
[2011/12/06 16:47:56] <clustermagnet> so like… lets say you want puppet to build you an apache vhosts file
[2011/12/06 16:48:19] <clustermagnet> and you want puppet to build a svn/hooks/post-commit script for you, so you dont have to bother
[2011/12/06 16:48:27] <clustermagnet> also, you want puppet to make sure the mysql database is there
[2011/12/06 16:48:47] <clustermagnet> all these tasks can be a module, with varibales stored in extlookup/hiera
[2011/12/06 16:48:49] <clustermagnet> right?
[2011/12/06 16:49:17] <clustermagnet> so the question in turn is… how the fuuuuk do i organize my yaml files in hiera to do this crud :)
[2011/12/06 16:49:26] <clustermagnet> maybe this is the best question i asked yet :)
[2011/12/06 16:49:32] <Soahc> nlew: yeah I was just trying to import some group memberships from my netgroups definitions, but it just gives me a 500 error
[2011/12/06 16:50:34] <joe-mac> clustermagnet: you set up apache with a paramterized class- you set up apahce vhosts with a defined resource scoped in the class
[2011/12/06 16:50:51] <joe-mac> you set up mysql in a separate parameterized class
[2011/12/06 16:51:01] @ Quit: neonflux: Quit: Leaving.
[2011/12/06 16:51:11] <joe-mac> svn in another, hooks could be say subversion::hook { type => "post" } etc for example
[2011/12/06 16:51:42] <joe-mac> you have to make sure you clearly understand the difference between classes and defines, and when to use which, and you have to understand proper module structure
[2011/12/06 16:51:47] <nlew> Soahc: You should be able to do a json POST to /memberships shaped like {"node_name": "foo", "group_name": "bar"}
[2011/12/06 16:52:05] <nlew> Soahc: But the group and node both have to exist first
[2011/12/06 16:52:09] <Soahc> ahh
[2011/12/06 16:52:13] <Soahc> that might have been my issue
[2011/12/06 16:52:32] @ Quit: abstrakt: Ping timeout: 248 seconds
[2011/12/06 16:56:08] <dissipate> joe-mac, it seems defines are good for abstracting away gnarly resources that puppet doesn't support natively. at least that has been my experience so far. :O
[2011/12/06 16:57:13] @ Quit: jsurfer: Quit: jsurfer
[2011/12/06 16:57:27] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/06 16:58:46] <torrancew> dissipate: I would go farther, and say that defines are useful when you need multiple "instances" of one resource on one node. I find that particularly helpful when considering if something should be a define or a class
[2011/12/06 16:59:03] @ Quit: negronjl: Read error: Connection reset by peer
[2011/12/06 17:00:17] <dissipate> torrancew, i see. i used a define to wrap up some procedures necessary for downloading files from my Amazon S3 bucket. without the define i would have had S3 commands all over the place. really nasty.
[2011/12/06 17:00:41] <joe-mac> the best way to describe it to people, or how I always explain it is, defines in puppet are analagous to a class in traditional OOP, while a class in puppet is more like a singleton, container, or namespace
[2011/12/06 17:01:31] <nlew> I like to make simple defines that are essentially like subtypes
[2011/12/06 17:02:04] <nlew> To share attributes/behavior
[2011/12/06 17:02:24] <torrancew> joe-mac: glad to see that I'm not the only one who has come to that conclusion
[2011/12/06 17:02:53] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/12/06 17:02:56] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/06 17:03:29] <dissipate> joe-mac, is it possible and desirable for vendors of certain products to write puppet defines that allow you to interact with their product in a consistent and well defined way within puppet manifests? i certainly would have saved time if Amazon had some kind of define for S3 available.
[2011/12/06 17:03:35] <joe-mac> I've been explaining it that way for a long time now, I think it's the shortest, clearest way to describe it
[2011/12/06 17:03:50] <joe-mac> dissipate: no- they would write a type for that
[2011/12/06 17:04:34] @ mosen joined channel #puppet
[2011/12/06 17:04:57] <dissipate> joe-mac, i see.
[2011/12/06 17:05:15] <dissipate> joe-mac, have vendors written types for puppet? any good examples?
[2011/12/06 17:05:40] @ marczak joined channel #puppet
[2011/12/06 17:05:50] @ abstrakt joined channel #puppet
[2011/12/06 17:06:23] @ jbarnett joined channel #puppet
[2011/12/06 17:06:57] <jbarnett> I just install the puppet client on a server that had previously been signed with the puppet master
[2011/12/06 17:07:04] <jbarnett> so the cert is new on the client
[2011/12/06 17:07:17] <jbarnett> how do i initiate a manual cert request from the client?
[2011/12/06 17:07:25] <odyi> masterzen: So cool! https://github.com/puppetlabs/puppet/pull/233. Great job.
[2011/12/06 17:08:24] @ Quit: jaytaph: Ping timeout: 252 seconds
[2011/12/06 17:08:27] <joe-mac> dissipate: I don't know if any vendors have but you can look at types in the puppet code base, or search for custom puppet types should be plenty on github
[2011/12/06 17:09:30] <jbarnett> anybody?
[2011/12/06 17:09:36] <tobert> odyi: yeah that's an awesome first step towards really supporting multi-level CA properly
[2011/12/06 17:09:47] <tobert> which will make multiple puppetmasters a lot more robust IMO
[2011/12/06 17:09:56] @ Quit: seanh-ansca: Ping timeout: 240 seconds
[2011/12/06 17:10:16] <dissipate> joe-mac, i see.
[2011/12/06 17:10:55] <dissipate> joe-mac, if someone wrote a bunch of types for AWS resources for puppet, say goodbye to CloudFormation? :D
[2011/12/06 17:12:24] <joe-mac> idk what cloudformation is, but I'm sure someone has already done this
[2011/12/06 17:12:29] @ jaytaph joined channel #puppet
[2011/12/06 17:14:36] <dissipate> joe-mac, i would be quite surprised if they did. and i would be elated because i could get rid of my CloudFormation template.
[2011/12/06 17:15:12] <joe-mac> google for it
[2011/12/06 17:15:20] <joe-mac> it seems like someone would have already done this
[2011/12/06 17:15:21] @ Quit: althara: Ping timeout: 244 seconds
[2011/12/06 17:15:38] <dissipate> joe-mac, CloudFormation is Amazon's template based tool for launching AWS resources (e.g. S3 buckets, Queues, databases)
[2011/12/06 17:16:18] <dissipate> i use CloudFormation to launch my AWS resources (EC2 instances etc.) and bootstrap a Puppet Master server.
[2011/12/06 17:16:41] <dissipate> what sucks is i have to maintain both my Puppet manifests/modules AND the CF template
[2011/12/06 17:17:26] <joe-mac> dissipate: o I c, I use ec2 very little, just dickign around mostly so I don't do anything advanced other than a bash script to spin up some boxes... my buddy wrote an api thingamajig for firing up a bunch of them for pw cracking and whatnot
[2011/12/06 17:17:41] <joe-mac> dissipate: I would figure out how to get that into puppet
[2011/12/06 17:17:57] <supplicant> I think everyone has there own tools for working with EC2
[2011/12/06 17:18:04] * supplicant notes that he does
[2011/12/06 17:18:29] <dissipate> supplicant, maybe it's time to start sharing and stop reinventing the wheel?
[2011/12/06 17:18:47] * tobert finally got ec2-run-instances + user-data to launch hadoop datanode+tasktracker going
[2011/12/06 17:18:55] <supplicant> maybe, eventually this probably will get open sourced
[2011/12/06 17:19:08] <dissipate> to work with EC2 i'm using CloudFormation, Puppet and Fabric.
[2011/12/06 17:19:18] <supplicant> especially since my boss hates puppet, it almost seems like he wants to write a replacement
[2011/12/06 17:19:35] <supplicant> we use EC2 and some homegrown tools
[2011/12/06 17:19:39] <supplicant> err
[2011/12/06 17:19:43] <supplicant> s/EC2/puppet/
[2011/12/06 17:19:47] <dissipate> supplicant, i'm surprised how little cross pollination is going on between the Puppet and AWS communities.
[2011/12/06 17:19:50] <joe-mac> supplicant: why does your boss hate puppet?
[2011/12/06 17:19:55] <tobert> haha we're still using the default ec2 tools :)
[2011/12/06 17:19:56] <joe-mac> seems like a dumb thing to hate
[2011/12/06 17:20:19] <supplicant> I believe because it is "slow" and written in ruby
[2011/12/06 17:20:27] <supplicant> and some bug is really bothering him for some reason
[2011/12/06 17:20:27] <dissipate> it took me forever to find out how to use S3 with puppet and my solution is still less than satisfactory. :(
[2011/12/06 17:20:27] <tobert> both true
[2011/12/06 17:20:37] <tobert> though 2.7 is waaaaay better
[2011/12/06 17:20:50] <supplicant> http://projects.puppetlabs.com/issues/5610
[2011/12/06 17:21:33] @ Quit: ianbrandt: Quit: ianbrandt
[2011/12/06 17:21:40] <joe-mac> supplicant: I question why speed matters for this application, and I question why anyone would want it written in a non dynamic language
[2011/12/06 17:21:45] <joe-mac> does he like cfengine>?
[2011/12/06 17:21:58] <supplicant> joe-mac: no, like he would rather it be in python
[2011/12/06 17:22:24] <supplicant> he doesn't like any solution afaict, otherwise we would probably be using it
[2011/12/06 17:23:10] <joe-mac> rofl... it wouldn't be much faster in python... sounds like he might have 'the manager who can engineer better than anyone' syndrome
[2011/12/06 17:23:21] <tobert> we tend to use it on-the-fly a lot either via puppet agent --onetime or via apply, so we notice speed problems
[2011/12/06 17:23:28] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/06 17:23:30] <supplicant> heh, he is actually a great engineer
[2011/12/06 17:23:30] <hajile> howdy
[2011/12/06 17:24:21] <dissipate> supplicant, what about chef?
[2011/12/06 17:24:26] <supplicant> ruby
[2011/12/06 17:24:28] <joe-mac> it's written in ruby
[2011/12/06 17:24:44] <dissipate> could be faster though
[2011/12/06 17:24:53] <supplicant> we went with puppet because it was more well established
[2011/12/06 17:25:06] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/06 17:25:09] <supplicant> maybe, I know a guy using it I'll have to ask
[2011/12/06 17:25:13] <dissipate> puppet is DOG slow for checking and applying group and owner to files recursively.
[2011/12/06 17:25:21] <supplicant> yeah
[2011/12/06 17:25:33] <hajile> anyone know why this is failing? http://pastebin.com/qcuuWxM7
[2011/12/06 17:25:35] <dissipate> i had to use a 'chown' command
[2011/12/06 17:25:39] <tobert> I think it still shells out for that and useradd/groupadd which explains a lot
[2011/12/06 17:25:43] @ Quit: djm68: Quit: leaving
[2011/12/06 17:25:53] <supplicant> also, puppet likes to randomly fail on runs, something to do with tempfiles
[2011/12/06 17:26:04] @ Quit: duerF: Quit: Leaving
[2011/12/06 17:26:21] <tobert> don't tell him about the basically random ordering unless you're really diligent ;)
[2011/12/06 17:26:27] <zleslie> So you can do if defined(Class["blag"]), can you do the same with defines?
[2011/12/06 17:26:53] <zleslie> anyone know what that syntax looks like?
[2011/12/06 17:27:12] <joe-mac> supplicant: I'm not familiar with this bug... sounds like a pretty big deal
[2011/12/06 17:27:23] <hajile> the general idea is that i'm having trouble using .each on a global variable in a template
[2011/12/06 17:27:53] <zleslie> hajile: using scope.lookup ? er whatever its called?
[2011/12/06 17:28:17] <hajile> yeah
[2011/12/06 17:28:21] <hajile> scope.lookupvar4
[2011/12/06 17:28:22] <supplicant> joe-mac: I've been meaning to file a bug
[2011/12/06 17:28:23] <hajile> -4
[2011/12/06 17:28:24] @ Quit: NuclearLucifer: Read error: Connection reset by peer
[2011/12/06 17:28:28] <joe-mac> you don't need ::
[2011/12/06 17:28:30] @ NuclearLucifer joined channel #puppet
[2011/12/06 17:28:51] <hajile> but it shouldn't break if it's there?
[2011/12/06 17:28:57] <joe-mac> you also probably need an if statement to ensure it's not nil before doing stuff with it
[2011/12/06 17:29:00] <nlew> dissipate: Unfortunately, it currently checks and sets each file independently. :/
[2011/12/06 17:29:10] <hajile> hm ok
[2011/12/06 17:29:21] @ pcarlisle joined channel #puppet
[2011/12/06 17:29:33] <joe-mac> supplicant: I doubt you would be the only one experiencing this bug
[2011/12/06 17:29:38] <joe-mac> is it selinux related supplicant?
[2011/12/06 17:29:50] <dissipate> nlew, hence, the reason why i switched it to a CLI command that checks and sets it all at once.
[2011/12/06 17:30:11] <hajile> joe-mac: the :: shouldn't cause it to fail though, right?
[2011/12/06 17:30:13] <joe-mac> you will see obscure failures about temp files if selinux interferes in some cases, or if someone did like a chattr +i on a file puppet is managing
[2011/12/06 17:30:23] <supplicant> joe-mac: no, no selinux
[2011/12/06 17:30:53] <joe-mac> hajile: I would think not however- you should check if it's undefined before trying to use it
[2011/12/06 17:31:04] <joe-mac> you can't call .each on something that doesn't exist
[2011/12/06 17:31:16] <hajile> joe-mac: haha yeah i know.. i'll add the error checking for sure
[2011/12/06 17:31:22] <hajile> joe-mac: it appears that having the :: in there DOES break it
[2011/12/06 17:31:29] <hajile> removing the :: allowed it to work
[2011/12/06 17:31:35] <joe-mac> interesting
[2011/12/06 17:31:43] <joe-mac> I never use the :: when looking up globals
[2011/12/06 17:31:50] <hajile> which doesn't match the behavior in module scenario
[2011/12/06 17:31:55] <nlew> It's not global, is why.
[2011/12/06 17:32:11] @ Quit: maxmartin: Remote host closed the connection
[2011/12/06 17:32:14] <joe-mac> oh, then yea
[2011/12/06 17:32:17] <hajile> hmm
[2011/12/06 17:32:18] <nlew> It's in node scope, which is slightly distinct from global in very obscure and obnoxious ways.
[2011/12/06 17:32:24] <hajile> that's a brain bender
[2011/12/06 17:32:24] @ Quit: e1mer: Ping timeout: 244 seconds
[2011/12/06 17:32:25] <hajile> haha
[2011/12/06 17:32:26] <hajile> ok
[2011/12/06 17:32:27] @ Quit: jaytaph: Ping timeout: 240 seconds
[2011/12/06 17:32:35] <hajile> that makes more sense, i suppose :)
[2011/12/06 17:32:36] <nlew> Though that's certainly on the radar to be fixed
[2011/12/06 17:32:44] <joe-mac> yea I eliminated node scope vars
[2011/12/06 17:32:50] <joe-mac> thanks to parameterized classes
[2011/12/06 17:32:58] <joe-mac> so I have either globals or locals
[2011/12/06 17:33:00] <joe-mac> thank god
[2011/12/06 17:33:04] <joe-mac> globals as in site.pp
[2011/12/06 17:33:08] <hajile> oh yeah, i guess i could just parameterize this
[2011/12/06 17:33:10] <hajile> duh
[2011/12/06 17:33:41] @ Quit: pcarlisle: Client Quit
[2011/12/06 17:33:41] <joe-mac> I re wrote all my code to use parameterized classes
[2011/12/06 17:33:54] <hajile> i finally upgraded to 2.7.x recently
[2011/12/06 17:34:02] <hajile> so i'm getting used to having nice features available to me :)
[2011/12/06 17:34:03] <joe-mac> almost done with my base modules, maybe 60-70% done
[2011/12/06 17:34:15] <hajile> nice
[2011/12/06 17:34:19] <joe-mac> I'm using 2.6 at all my gigs right now
[2011/12/06 17:34:29] <hajile> i've been pretty happy with 2.7
[2011/12/06 17:34:35] <hajile> then again, i never used 2.6
[2011/12/06 17:34:42] <hajile> skipped straight from 0.25.5 -> 2.7.6 :)
[2011/12/06 17:35:18] <hajile> ok, well i'll convert to parameterized class.. in the meantime, thanks for your help!
[2011/12/06 17:35:30] <joe-mac> 2.6 is good. at first it was pretty bad- one bug was causing results from the previous catalog compilation's values for extlookup to get used in the current catalog
[2011/12/06 17:35:36] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/06 17:35:45] <joe-mac> which was absolutely disastrous, luckily I was only testing small portion of nodes
[2011/12/06 17:35:48] <hajile> i remember 2.6 having serious problems when it first came out
[2011/12/06 17:35:58] <hajile> i stayed clear
[2011/12/06 17:36:06] <joe-mac> was changing firewalls and routes and all sorts of ridiculous shit
[2011/12/06 17:36:07] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/06 17:36:38] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/06 17:36:50] <hajile> doh
[2011/12/06 17:37:00] @ jaytaph joined channel #puppet
[2011/12/06 17:37:19] <joe-mac> yea np, I try to help out in here, helps me keep my knowledge fresh, tests me, and helps to keep current since puppet movoes so fast
[2011/12/06 17:38:07] <joe-mac> wow my buddy's cat was just rolled up in a ball and he's so dark I thought it was a blanket and almost stepped on him rofl, win
[2011/12/06 17:38:23] <hajile> haha
[2011/12/06 17:38:29] @ skm joined channel #puppet
[2011/12/06 17:38:36] <hajile> yeah, i've definitely found helping people helps me learn more
[2011/12/06 17:38:36] @ InsolentDreams joined channel #puppet
[2011/12/06 17:38:41] <hajile> even though i haven't helped many people yet
[2011/12/06 17:38:47] <hajile> all in good time
[2011/12/06 17:39:38] <joe-mac> yea, it takes a lot of work and experience to get comfortable with puppet
[2011/12/06 17:39:52] <hajile> i'm getting tehre
[2011/12/06 17:40:42] <joe-mac> I was lucky enough to be in a position when I started with .22 to need literally everything at this place I was at, they had nothing not even monitoring, so I was working like 18 hour days, most of it spent in puppet for a year and a half, then like 10-12 hour days more of the same for the next year+, then contracting, many different OSs during this time too
[2011/12/06 17:41:08] <hajile> cool
[2011/12/06 17:41:25] <joe-mac> nothing like necessity to get you to really learn a new tech, puppet pretty much changed my life, coolest piece of software out there imo
[2011/12/06 17:41:49] <hajile> haha yeah for sure
[2011/12/06 17:41:57] <dissipate> joe-mac, odd. i've run into at least 4 sysadmins who have only heard of puppet.
[2011/12/06 17:42:00] <hajile> i'm on my first rewrite of an original puppet install
[2011/12/06 17:42:23] <hajile> it's starting to be really awesome
[2011/12/06 17:42:34] @ Quit: shadoi: Quit: Leaving.
[2011/12/06 17:42:37] <joe-mac> dissipate: there are lots of sys admins stuck in days long gone
[2011/12/06 17:43:01] <dissipate> joe-mac, i think the power of puppet (and other config management tools) is only starting to be realized.
[2011/12/06 17:44:33] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/06 17:44:55] <joe-mac> dissipate: I sort of agree, but I've always been big into version control and using code to make more of you... a lot of people fall into systems administration and don't really think abiout it from that perspective
[2011/12/06 17:45:11] <dissipate> one idea i had was using puppet to distribute 'flavors' of linux distributions. instead of creating tons of distributions, why not take a minimal distro like arch linux and use puppet manifests to customize the install? e.g. a workstation flavor, a LAMP flavor, mail server flavor etc. idea being you can customize the puppet manifests so it's all transparent, and you don't have to create a whole new distro with opaque install procedures.
[2011/12/06 17:45:19] @ Quit: Scott-Mc: Ping timeout: 248 seconds
[2011/12/06 17:45:21] <joe-mac> and I was also lucky to work with lots of dudes on the same page from early on
[2011/12/06 17:46:11] @ nevyn joined channel #puppet
[2011/12/06 17:46:58] @ Quit: shine: Ping timeout: 255 seconds
[2011/12/06 17:47:03] <joe-mac> dissipate: that's sort of taking the accepted best practice to thenext level... you basically want to set up the bare minimum in your kickstart or preseed that makes a stem cell of sorts, then puppet does the actual setup completely
[2011/12/06 17:48:22] <dissipate> joe-mac, right. so why don't i see people sharing flavors of arch linux via Puppet or even Chef? seems to me the community there are CLI junkies.
[2011/12/06 17:49:05] @ Quit: jbarnett:
[2011/12/06 17:49:09] <joe-mac> I hate to generalize but gentoo and arch people are the kind of people who think manual labor makes you leet
[2011/12/06 17:49:38] <dissipate> haha, seems like it.
[2011/12/06 17:50:24] <dissipate> joe-mac, is it far fetched to think that puppet could spawn an ecosystem of linux distro flavors though? seems strange that this idea hasn't caught on.
[2011/12/06 17:50:44] @ Enf joined channel #puppet
[2011/12/06 17:50:55] <joe-mac> I mean that's what you end up with, idk if anybody is describing it that way
[2011/12/06 17:51:03] @ shine joined channel #puppet
[2011/12/06 17:52:20] <dissipate> i see
[2011/12/06 17:55:41] @ nitram_macair joined channel #puppet
[2011/12/06 17:55:49] <dissipate> joe-mac, i think i'm going to put up some puppet manifests on github for Arch Linux for a basic Arch Linux workstation. see if anyone is interested.
[2011/12/06 17:56:05] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/06 17:56:22] <joe-mac> yea problem is everybody has their own definition of what they want for a workstation
[2011/12/06 17:56:54] <dissipate> great. they can fork and customize. :D
[2011/12/06 17:59:37] @ Scott-Mc joined channel #puppet
[2011/12/06 18:02:52] @ Quit: jaytaph: Read error: Operation timed out
[2011/12/06 18:05:36] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/06 18:07:48] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/06 18:09:34] @ jaytaph joined channel #puppet
[2011/12/06 18:09:54] @ Quit: ccaum: Quit: ccaum
[2011/12/06 18:14:23] @ Quit: jongrocho: Remote host closed the connection
[2011/12/06 18:15:52] @ Quit: nul0op: Quit: Leaving
[2011/12/06 18:16:07] @ Quit: Demosthenes: Read error: Operation timed out
[2011/12/06 18:17:45] @ marczak joined channel #puppet
[2011/12/06 18:18:16] @ Demosthenes joined channel #puppet
[2011/12/06 18:19:20] <joe-mac> headed out, see ya
[2011/12/06 18:19:27] @ Quit: joe-mac: Remote host closed the connection
[2011/12/06 18:20:02] @ ghg joined channel #puppet
[2011/12/06 18:20:30] @ jroid joined channel #puppet
[2011/12/06 18:23:23] @ gaveen joined channel #puppet
[2011/12/06 18:25:53] @ Quit: cwarden: Ping timeout: 240 seconds
[2011/12/06 18:26:18] @ newtMcKerr joined channel #puppet
[2011/12/06 18:31:40] @ xeor_ joined channel #puppet
[2011/12/06 18:32:32] <mattr> hmm, i run arch, and I don't think i'm leet for doing manual labor, it's the extra customizability that I want. :)
[2011/12/06 18:33:37] @ Quit: langworthy: Quit: langworthy
[2011/12/06 18:33:53] @ Quit: xeor: Ping timeout: 240 seconds
[2011/12/06 18:34:34] @ Boltsky joined channel #puppet
[2011/12/06 18:35:38] @ Quit: alanevans: Remote host closed the connection
[2011/12/06 18:36:38] @ Quit: Boltsky: Client Quit
[2011/12/06 18:40:36] @ seanh-ansca joined channel #puppet
[2011/12/06 18:44:12] @ negronjl joined channel #puppet
[2011/12/06 18:46:02] @ Quit: marczak: Quit: leaving
[2011/12/06 18:46:02] @ Quit: choonming: Quit: Leaving
[2011/12/06 18:47:39] @ n0ts joined channel #puppet
[2011/12/06 18:54:02] @ ben_duyujie joined channel #puppet
[2011/12/06 18:56:10] @ Quit: bluemustard: Quit: bluemustard
[2011/12/06 18:57:52] <jpalmer> question: you can make a "file" type refer to a directory, and then populate the entire directory with files from within the module. Can you do the same thing with templates? every example I see, is for a regular file, rather than using a .erb template.
[2011/12/06 19:00:54] @ Quit: xeor_: Read error: Connection reset by peer
[2011/12/06 19:01:28] @ xeor joined channel #puppet
[2011/12/06 19:05:06] <eric0> jpalmer: not natively no, the recurse attributes on file only make sense with 'source' not 'content'
[2011/12/06 19:05:54] <eric0> is it a finite number of files that you're OK enumerating in line, or do you want to just plop a template in the directory on server and have it magically show up
[2011/12/06 19:07:04] @ zwi joined channel #puppet
[2011/12/06 19:07:19] <jpalmer> eric0: the magic option ;)
[2011/12/06 19:07:32] @ Quit: bmahe: Remote host closed the connection
[2011/12/06 19:11:22] <eric0> in that case you need two pieces, i did something very similar to this for home directories
[2011/12/06 19:11:36] <jroid> are there any code projects out there that can read a puppet manifest and provide all the class names and parameters used within that class including parameters used in a template referenced by the class?
[2011/12/06 19:12:44] @ langworthy joined channel #puppet
[2011/12/06 19:13:41] <eric0> 1. a parser function that returns an array of files in a given modules templates/ directory, which you use to invoke
[2011/12/06 19:14:33] <eric0> 2. a define that iterates each of those and makes file { "$name": content=>template("${name}.erb") }
[2011/12/06 19:15:46] <eric0> make sense? if not, the magic option is probably not for you... ;)
[2011/12/06 19:16:00] @ Quit: shanlar: Ping timeout: 248 seconds
[2011/12/06 19:17:32] @ Quit: jas4711_: Quit: Ex-Chat
[2011/12/06 19:18:19] <jroid> to be honest its not 100% clear to me. The problem I'm running into is I have 2 template .erb files with the same name but in different directories that are referenced by class that uses a variable to specify to directory name. ex. rhel5, rhel6.
[2011/12/06 19:18:39] <eric0> jroid: all of that was for jpalmer
[2011/12/06 19:18:40] <jroid> The problem i'm trying to solve is my company has been using flat files for external node configs but I recently wrote a psedo custom version of Foreman for them to meet all of their specific needs and now I need to import the entire puppet environment from subversion into a custom database I've designed.
[2011/12/06 19:18:58] <jroid> oh, lol
[2011/12/06 19:19:03] <jroid> seemed related
[2011/12/06 19:20:12] <jroid> The hard part of the import is knowing which "global" for lack of a better term, parameters are being used by the class
[2011/12/06 19:22:20] <jroid> The Puppet implementation handed to me utilizes 0 parametrized classes. Instead all parameters used within a class are either via facter or via external node config. So I have to somehow parse the puppet manifests and determine which parameters in a nodes external config are used in which class
[2011/12/06 19:22:58] @ Quit: drewrm: Ping timeout: 244 seconds
[2011/12/06 19:23:07] @ shanlar joined channel #puppet
[2011/12/06 19:23:55] <jroid> templates are my biggest hurdle. since parameters like yum_server are only mentioned in a template but are used by the linux_base::yum_repos class.\
[2011/12/06 19:24:31] <eric0> jroid: IMO you are better off doing coverage testing on real world hosts than trying to programmatically extract that kind of business logic
[2011/12/06 19:24:44] @ hobbeswalsh joined channel #puppet
[2011/12/06 19:25:09] <eric0> jroid: when we switch ENC we run a second puppetmaster instance on a different port that uses the new external_nodes script
[2011/12/06 19:25:27] <eric0> jroid: then run --noop on the clients against the test instance and collect the diffs
[2011/12/06 19:26:01] @ Quit: williemach: Quit: Leaving.
[2011/12/06 19:26:51] @ jongrocho joined channel #puppet
[2011/12/06 19:26:55] <eric0> gotta go run the dogs, bbl
[2011/12/06 19:30:10] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/06 19:30:45] @ Djelibeybi joined channel #puppet
[2011/12/06 19:37:24] @ nitram_macair joined channel #puppet
[2011/12/06 19:37:29] @ shanlar- joined channel #puppet
[2011/12/06 19:38:25] @ Quit: jimmy1980: Ping timeout: 253 seconds
[2011/12/06 19:39:34] @ Quit: shanlar: Ping timeout: 252 seconds
[2011/12/06 19:41:33] @ neonflux joined channel #puppet
[2011/12/06 19:43:41] @ Quit: daysmen: Ping timeout: 252 seconds
[2011/12/06 19:44:07] @ Quit: InsolentDreams: Quit: InsolentDreams
[2011/12/06 19:44:12] @ choonming joined channel #puppet
[2011/12/06 19:45:39] @ jimmy1980 joined channel #puppet
[2011/12/06 19:46:59] @ Quit: motomike: Quit: Leaving.
[2011/12/06 19:47:07] @ bobra joined channel #puppet
[2011/12/06 19:49:11] @ Quit: shanlar-: Ping timeout: 252 seconds
[2011/12/06 19:49:41] @ shanlar joined channel #puppet
[2011/12/06 19:50:47] @ drewrm joined channel #puppet
[2011/12/06 19:51:33] @ shanlar- joined channel #puppet
[2011/12/06 19:52:58] @ Quit: jeremy: Ping timeout: 255 seconds
[2011/12/06 19:54:22] @ jeremy joined channel #puppet
[2011/12/06 19:54:22] @ Quit: jeremy: Changing host
[2011/12/06 19:54:22] @ jeremy joined channel #puppet
[2011/12/06 19:54:29] @ Quit: shanlar: Ping timeout: 244 seconds
[2011/12/06 19:54:56] @ Boltsky joined channel #puppet
[2011/12/06 19:57:10] @ dylants joined channel #puppet
[2011/12/06 19:57:20] @ Quit: abstrakt: Quit: Leaving
[2011/12/06 20:01:02] @ digr1 joined channel #puppet
[2011/12/06 20:01:48] @ Quit: abetterlie: Read error: Connection reset by peer
[2011/12/06 20:06:32] @ Quit: jeremy: Read error: Connection reset by peer
[2011/12/06 20:07:13] @ lak joined channel #puppet
[2011/12/06 20:07:13] @ Quit: lak: Changing host
[2011/12/06 20:07:13] @ lak joined channel #puppet
[2011/12/06 20:08:13] @ jeremy joined channel #puppet
[2011/12/06 20:08:13] @ Quit: jeremy: Changing host
[2011/12/06 20:08:13] @ jeremy joined channel #puppet
[2011/12/06 20:08:50] @ Quit: lak: Read error: Connection reset by peer
[2011/12/06 20:09:15] @ lak joined channel #puppet
[2011/12/06 20:09:17] @ Quit: lak: Changing host
[2011/12/06 20:09:17] @ lak joined channel #puppet
[2011/12/06 20:10:04] @ Quit: cliff-hm: Ping timeout: 255 seconds
[2011/12/06 20:10:06] @ Quit: neonflux: Ping timeout: 244 seconds
[2011/12/06 20:11:16] @ Quit: szaydel: Quit: Leaving Chat
[2011/12/06 20:13:27] @ lak1 joined channel #puppet
[2011/12/06 20:13:36] @ Quit: lak: Ping timeout: 244 seconds
[2011/12/06 20:13:57] @ Quit: bje: Ping timeout: 252 seconds
[2011/12/06 20:13:57] @ Quit: ralfgro: Ping timeout: 252 seconds
[2011/12/06 20:14:30] @ ralfgro joined channel #puppet
[2011/12/06 20:16:39] @ kelseyhightower joined channel #puppet
[2011/12/06 20:17:08] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/06 20:17:32] @ neonflux joined channel #puppet
[2011/12/06 20:18:10] @ cwarden joined channel #puppet
[2011/12/06 20:19:35] @ Quit: fredden: Quit: Leaving
[2011/12/06 20:19:42] @ bje joined channel #puppet
[2011/12/06 20:19:44] @ Quit: jongrocho: Remote host closed the connection
[2011/12/06 20:21:37] @ Quit: ghanima: Quit: Leaving.
[2011/12/06 20:28:55] @ Quit: choonming: Ping timeout: 252 seconds
[2011/12/06 20:32:11] @ gniks1 joined channel #puppet
[2011/12/06 20:32:34] @ Quit: lak1: Quit: Leaving.
[2011/12/06 20:34:47] @ Quit: gniks: Ping timeout: 244 seconds
[2011/12/06 20:37:29] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/06 20:38:08] @ bonhoffer joined channel #puppet
[2011/12/06 20:44:30] @ Quit: bonhoffer: Quit: bonhoffer
[2011/12/06 20:47:50] @ choonming joined channel #puppet
[2011/12/06 20:52:07] @ AshishH joined channel #puppet
[2011/12/06 20:58:47] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/06 20:59:25] @ Quit: bosszaru: Remote host closed the connection
[2011/12/06 20:59:38] @ ehebert joined channel #puppet
[2011/12/06 21:00:47] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/06 21:02:17] @ Quit: orjan: Ping timeout: 244 seconds
[2011/12/06 21:02:22] @ orjan joined channel #puppet
[2011/12/06 21:02:34] @ adimania joined channel #puppet
[2011/12/06 21:07:51] @ jongrocho joined channel #puppet
[2011/12/06 21:12:52] @ dissipate_ joined channel #puppet
[2011/12/06 21:13:27] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/06 21:15:03] <ehebert> hi. quick question (hopefully), what's the most common way to purge 'dead hosts'
[2011/12/06 21:15:22] <ehebert> e.g. a node that has been killed and removed from ldap, still shows up in exported resources
[2011/12/06 21:15:52] <ehebert> and would like that to have that nodes' info purged as soon as possible
[2011/12/06 21:16:25] <ehebert> been doing 'manual' clean up via https://github.com/puppetlabs/puppet/blob/master/ext/puppetstoredconfigclean.rb
[2011/12/06 21:17:35] @ Quit: jongrocho: Remote host closed the connection
[2011/12/06 21:17:54] @ Quit: l0n:
[2011/12/06 21:19:21] @ miche joined channel #puppet
[2011/12/06 21:20:33] @ jsurfer joined channel #puppet
[2011/12/06 21:24:48] @ Naresh left channel #puppet ()
[2011/12/06 21:34:18] @ Quit: tilgovi: Remote host closed the connection
[2011/12/06 21:37:15] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/06 21:38:47] @ jimmy1980 joined channel #puppet
[2011/12/06 21:41:07] @ Quit: fenrus02: Quit: This computer has gone to sleep
[2011/12/06 21:45:06] @ Quit: xizhendu: Quit: leaving
[2011/12/06 21:45:13] @ xizhendu joined channel #puppet
[2011/12/06 21:46:10] @ Quit: xizhendu: Client Quit
[2011/12/06 21:46:57] @ Stenbryggen joined channel #puppet
[2011/12/06 21:47:27] @ Quit: paroneayea: Ping timeout: 240 seconds
[2011/12/06 21:47:33] @ xizhendu joined channel #puppet
[2011/12/06 21:47:47] @ Quit: xizhendu: Client Quit
[2011/12/06 21:48:29] @ fenrus02 joined channel #puppet
[2011/12/06 21:50:08] @ Quit: Stenbryggen: Client Quit
[2011/12/06 21:52:00] @ Quit: sumsuch: Quit: sumsuch
[2011/12/06 21:52:33] @ paroneayea joined channel #puppet
[2011/12/06 21:56:28] @ jroid_ joined channel #puppet
[2011/12/06 21:58:33] @ Quit: jroid: Ping timeout: 268 seconds
[2011/12/06 22:01:26] @ Quit: langworthy: Quit: langworthy
[2011/12/06 22:01:59] @ Quit: adimania: Quit: Leaving
[2011/12/06 22:04:13] @ jbraeuer joined channel #puppet
[2011/12/06 22:04:47] @ Quit: neonflux: Quit: Leaving.
[2011/12/06 22:06:36] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/06 22:08:18] @ _at0S joined channel #puppet
[2011/12/06 22:11:33] <_at0S> Hi guys, need some help. Using puppet 2.6.4 I need to run shell command and return the result of this command to variable and then pass this var to puppet class. Is it possible?
[2011/12/06 22:13:17] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/06 22:14:09] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/06 22:15:15] @ Quit: emergion: Quit: later...
[2011/12/06 22:16:07] @ Quit: Holocaine: Ping timeout: 240 seconds
[2011/12/06 22:17:26] @ Quit: kelseyhightower: Ping timeout: 248 seconds
[2011/12/06 22:24:26] @ dylants joined channel #puppet
[2011/12/06 22:28:18] @ z30 joined channel #puppet
[2011/12/06 22:28:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/06 22:30:43] @ ali3n0 joined channel #puppet
[2011/12/06 22:31:49] @ Quit: KaZeR_W: Ping timeout: 255 seconds
[2011/12/06 22:32:29] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/06 22:33:46] <misc> _at0S: you need to use facter
[2011/12/06 22:34:48] @ riha joined channel #puppet
[2011/12/06 22:35:41] @ jaydg joined channel #puppet
[2011/12/06 22:36:22] @ Quit: kubicek: Excess Flood
[2011/12/06 22:36:28] @ kubicek joined channel #puppet
[2011/12/06 22:36:28] @ Quit: kubicek: Excess Flood
[2011/12/06 22:37:46] @ kubicek joined channel #puppet
[2011/12/06 22:43:17] @ KaZeR_W joined channel #puppet
[2011/12/06 22:45:42] @ Quit: z30: Ping timeout: 248 seconds
[2011/12/06 22:47:09] @ msaum joined channel #puppet
[2011/12/06 22:47:56] @ Quit: drewrm: Ping timeout: 252 seconds
[2011/12/06 22:51:02] @ artkrz joined channel #puppet
[2011/12/06 22:51:43] @ Quit: mosen: Quit: Leaving
[2011/12/06 22:52:51] @ Quit: gniks1: Quit: Leaving.
[2011/12/06 22:52:52] @ langworthy joined channel #puppet
[2011/12/06 22:58:01] @ nuknad joined channel #puppet
[2011/12/06 22:59:21] @ csanchez joined channel #puppet
[2011/12/06 23:05:25] @ Quit: ali3n0: Quit: Leaving.
[2011/12/06 23:06:27] @ Quit: cwarden: Ping timeout: 240 seconds
[2011/12/06 23:16:18] @ jakkudanieru joined channel #puppet
[2011/12/06 23:16:47] @ Quit: riftman: Ping timeout: 240 seconds
[2011/12/06 23:18:17] @ Quit: langworthy: Quit: langworthy
[2011/12/06 23:23:14] @ riftman joined channel #puppet
[2011/12/06 23:24:36] @ mfladischer joined channel #puppet
[2011/12/06 23:28:47] @ Quit: riftman: Ping timeout: 240 seconds
[2011/12/06 23:29:26] @ ckauhaus joined channel #puppet
[2011/12/06 23:32:35] @ DJClean joined channel #puppet
[2011/12/06 23:33:01] @ sumsuch joined channel #puppet
[2011/12/06 23:33:52] @ d3c joined channel #puppet
[2011/12/06 23:35:04] @ jodok joined channel #puppet
[2011/12/06 23:35:04] @ Quit: jodok: Changing host
[2011/12/06 23:35:04] @ jodok joined channel #puppet
[2011/12/06 23:35:39] @ raphdg joined channel #puppet
[2011/12/06 23:37:19] @ MattyM joined channel #puppet
[2011/12/06 23:41:08] @ Quit: larstobi: Quit: Leaving.
[2011/12/06 23:43:13] @ riftman joined channel #puppet
[2011/12/06 23:43:22] @ Quit: d3c: Read error: Connection reset by peer
[2011/12/06 23:46:14] @ Quit: dissipate_: Quit: Leaving
[2011/12/06 23:46:59] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/06 23:48:48] @ Quit: johnbatch1: Quit: Leaving.
[2011/12/06 23:51:19] @ Quit: mfladischer: Ping timeout: 252 seconds
[2011/12/06 23:51:22] @ jayne joined channel #puppet
[2011/12/06 23:51:23] @ ali3n0 joined channel #puppet
[2011/12/06 23:55:26] @ pmorillon joined channel #puppet
[2011/12/06 23:57:27] @ Quit: jeremy: Read error: Operation timed out

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!