Wednesday, 2011-11-16

[2011/11/16 00:00:54] @ Log started by gepetto
[2011/11/16 00:00:54] @ m3ridian joined channel #puppet
[2011/11/16 00:01:21] <erthad> nitram_macair_: no, custom facts/functions work without manifests included in the module
[2011/11/16 00:01:40] <ohadlevy> ralfgro: sorry, a few options, 1. try it, 2. dont upgrade, 3. use something else that supports older versions too
[2011/11/16 00:03:29] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/11/16 00:07:55] <ralfgro> ohadlevy: hm, I'm about to try it out. Just wanted to know if it's known to break things badly
[2011/11/16 00:08:47] <ohadlevy> ralfgro: sorry, cant help you there :) never used dashboard :p
[2011/11/16 00:08:52] @ BManojlovic joined channel #puppet
[2011/11/16 00:08:53] @ Quit: BManojlovic: Changing host
[2011/11/16 00:08:53] @ BManojlovic joined channel #puppet
[2011/11/16 00:09:30] @ Quit: sdog: Ping timeout: 258 seconds
[2011/11/16 00:09:36] <ralfgro> ha ha ;)
[2011/11/16 00:10:21] @ Quit: bobbyz: Ping timeout: 252 seconds
[2011/11/16 00:10:35] @ zorg1 joined channel #puppet
[2011/11/16 00:11:03] @ sdog joined channel #puppet
[2011/11/16 00:12:18] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/11/16 00:13:00] @ Quit: KaZeR_W: Remote host closed the connection
[2011/11/16 00:13:31] @ raphdg joined channel #puppet
[2011/11/16 00:13:34] <|Frederik> aargh, right after reporting the bug that facter detects a qemu-kvm system as physical, I found out that it already has been reported before: http://projects.puppetlabs.com/issues/8210
[2011/11/16 00:14:34] @ mitchellh joined channel #puppet
[2011/11/16 00:15:09] @ Quit: mitchellh: Client Quit
[2011/11/16 00:15:36] @ joe-mac joined channel #puppet
[2011/11/16 00:16:13] @ Holocaine joined channel #puppet
[2011/11/16 00:16:50] @ KaZeR_W joined channel #puppet
[2011/11/16 00:18:36] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/16 00:19:34] @ jodok joined channel #puppet
[2011/11/16 00:19:35] @ Quit: jodok: Changing host
[2011/11/16 00:19:35] @ jodok joined channel #puppet
[2011/11/16 00:20:35] @ jongrocho joined channel #puppet
[2011/11/16 00:21:54] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/16 00:23:14] @ Quit: jongrocho: Remote host closed the connection
[2011/11/16 00:23:31] @ Quit: jsm: Quit: jsm
[2011/11/16 00:23:58] @ Quit: sdog: Changing host
[2011/11/16 00:23:58] @ sdog joined channel #puppet
[2011/11/16 00:27:39] @ Quit: sarkis_: Ping timeout: 244 seconds
[2011/11/16 00:27:49] @ Quit: sumsuch: Quit: sumsuch
[2011/11/16 00:28:23] @ bronto joined channel #puppet
[2011/11/16 00:31:24] @ Quit: dym: Quit: Lost terminal
[2011/11/16 00:31:27] @ bronto left channel #puppet ()
[2011/11/16 00:34:13] @ bobbyz joined channel #puppet
[2011/11/16 00:34:36] @ Quit: riftman: Ping timeout: 260 seconds
[2011/11/16 00:34:47] @ riftman joined channel #puppet
[2011/11/16 00:35:16] @ trickyf joined channel #puppet
[2011/11/16 00:41:38] @ Quit: larstobi: Quit: Leaving.
[2011/11/16 00:42:01] @ artkrz joined channel #puppet
[2011/11/16 00:46:45] @ verwilst joined channel #puppet
[2011/11/16 00:48:14] <ohadlevy> |Frederik: so send the patch then ;)
[2011/11/16 00:50:02] @ Quit: tilgovi_: Read error: Connection reset by peer
[2011/11/16 00:51:48] @ Quit: sdog: Remote host closed the connection
[2011/11/16 00:52:13] @ Quit: dballing: Ping timeout: 240 seconds
[2011/11/16 00:52:53] @ Quit: jsurfer: Quit: jsurfer
[2011/11/16 00:59:09] @ Quit: kubicek: Excess Flood
[2011/11/16 00:59:14] @ kubicek joined channel #puppet
[2011/11/16 00:59:25] @ jonhattan joined channel #puppet
[2011/11/16 00:59:49] @ dballing joined channel #puppet
[2011/11/16 00:59:53] @ Spads joined channel #puppet
[2011/11/16 01:00:40] <|Frederik> ohadlevy: there is no patch, afaik
[2011/11/16 01:05:50] @ Quit: brtl: Remote host closed the connection
[2011/11/16 01:05:52] @ Quit: emag: Ping timeout: 240 seconds
[2011/11/16 01:06:47] @ ezryx joined channel #puppet
[2011/11/16 01:06:48] @ Quit: dwalu: Quit: dwalu
[2011/11/16 01:09:18] @ emag joined channel #puppet
[2011/11/16 01:09:30] <|Frederik> ohadlevy: Just using virt-what would be the easiest solution, latest version works fine: http://people.redhat.com/~rjones/virt-what/
[2011/11/16 01:09:41] @ brtl joined channel #puppet
[2011/11/16 01:09:48] <ohadlevy> |Frederik: i think you can simply use dmidecode
[2011/11/16 01:11:15] <|Frederik> OK. although it does not mention qemu on my system either, it mentions bochs.
[2011/11/16 01:11:25] @ larstobi joined channel #puppet
[2011/11/16 01:11:52] @ Quit: Rince: Remote host closed the connection
[2011/11/16 01:11:57] @ Rince joined channel #puppet
[2011/11/16 01:12:09] @ Quit: danikov: Quit: danikov
[2011/11/16 01:12:52] @ steakknife joined channel #puppet
[2011/11/16 01:17:23] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/11/16 01:18:03] @ AshishH joined channel #puppet
[2011/11/16 01:18:05] @ MartVisser joined channel #puppet
[2011/11/16 01:20:25] @ mukulm joined channel #puppet
[2011/11/16 01:20:48] @ Quit: kelseyhightower: Ping timeout: 248 seconds
[2011/11/16 01:21:21] <ohadlevy> |Frederik: dmidecode -s system-product-name ?
[2011/11/16 01:21:45] @ nul0op joined channel #puppet
[2011/11/16 01:23:32] @ Ramonster joined channel #puppet
[2011/11/16 01:23:36] <|Frederik> ohadlevy: Bochs
[2011/11/16 01:23:56] @ Stenbryggen joined channel #puppet
[2011/11/16 01:24:03] @ holsta joined channel #puppet
[2011/11/16 01:24:14] <ohadlevy> |Frederik: odd, for me its kvm
[2011/11/16 01:24:38] <|Frederik> http://paste.debian.net/145737/
[2011/11/16 01:25:45] <mukulm> Hi, I am getting a syntac error in my manifest code.. U can check the code at http://pastebin.com/DbdeNW1K
[2011/11/16 01:26:28] <misc> missing comma on the previous line
[2011/11/16 01:26:32] @ Quit: pmorillon: Quit: pmorillon
[2011/11/16 01:26:35] <mukulm> Getting sytax error at unless ?
[2011/11/16 01:27:44] @ hartmut_ joined channel #puppet
[2011/11/16 01:27:46] <mukulm> oh yes, it solves my problem
[2011/11/16 01:27:53] <mukulm> yes misc..
[2011/11/16 01:28:16] @ Quit: ricky: Ping timeout: 248 seconds
[2011/11/16 01:32:39] @ Quit: AshishH: Remote host closed the connection
[2011/11/16 01:32:50] @ sdog joined channel #puppet
[2011/11/16 01:33:20] @ ricky joined channel #puppet
[2011/11/16 01:33:21] @ Quit: sdog: Changing host
[2011/11/16 01:33:21] @ sdog joined channel #puppet
[2011/11/16 01:34:17] @ Quit: mmoya: Ping timeout: 240 seconds
[2011/11/16 01:36:03] @ Vasik|work joined channel #puppet
[2011/11/16 01:40:12] @ danikov joined channel #puppet
[2011/11/16 01:41:56] @ pmorillon joined channel #puppet
[2011/11/16 01:43:35] @ Quit: Rince: Remote host closed the connection
[2011/11/16 01:43:36] @ matti joined channel #puppet
[2011/11/16 01:44:39] @ Quit: mukulm: Ping timeout: 265 seconds
[2011/11/16 01:50:08] @ Shanlar joined channel #puppet
[2011/11/16 01:51:27] @ Shanlar_ joined channel #puppet
[2011/11/16 01:52:23] @ Quit: Shanlar-: Ping timeout: 244 seconds
[2011/11/16 01:54:12] @ willemb joined channel #puppet
[2011/11/16 01:54:31] @ Rince joined channel #puppet
[2011/11/16 01:54:58] @ Quit: Shanlar: Ping timeout: 244 seconds
[2011/11/16 01:55:39] <willemb> Hi guys. should I take some special precaution about ensure => running if the same service is managed by monit as well?
[2011/11/16 01:57:26] @ Quit: ricky: Ping timeout: 260 seconds
[2011/11/16 01:58:05] <_rc> you'd want to pick one tool and let that do its thing
[2011/11/16 01:58:54] <willemb> ok. I need a thin instance to pretty much always be up. since puppet runs only happen every 30 to 120 minutes, and might become long lost, I guess monit is the better tool here
[2011/11/16 01:59:21] <willemb> can I still use puppet to make the service restart if the config file changes?
[2011/11/16 02:00:05] <dcarley> willemb: you'll need to tell puppet to ignore the service check with ensure=>undef or find a monit provider for the service{} type.
[2011/11/16 02:00:47] <willemb> that second option sounds interesting
[2011/11/16 02:01:02] <willemb> any examples?
[2011/11/16 02:01:35] <willemb> or would it look a lot like how I would override the package provider to use ports in stead of pkg_install for bsd?
[2011/11/16 02:01:58] <dcarley> willemb: for the former, you may be able to hack together "manual" commands for restart=>
[2011/11/16 02:02:42] <willemb> for the latter, I imagine something like:
[2011/11/16 02:03:22] <willemb> wait
[2011/11/16 02:03:24] <dcarley> willemb: the top-level use would be the same. but the type needs an implementation underneath for that provider. there isn't one OOTB, but there are similar ones for daemontools and runit.
[2011/11/16 02:03:24] <willemb> hmmm
[2011/11/16 02:03:44] <willemb> ah, thanks
[2011/11/16 02:04:02] <dcarley> somebody might have written one already.
[2011/11/16 02:05:55] <willemb> looking on the interwebs now, thanks :-)
[2011/11/16 02:06:55] @ Arash joined channel #puppet
[2011/11/16 02:06:59] @ artista_frustrad joined channel #puppet
[2011/11/16 02:07:21] <Arash> is there any way to check the existence of a file
[2011/11/16 02:07:32] @ ricky joined channel #puppet
[2011/11/16 02:07:41] <Arash> if the file exists rename it and add new file
[2011/11/16 02:09:32] @ Quit: artista_frustrad: Client Quit
[2011/11/16 02:11:14] <_rc> why rename? for a backup?
[2011/11/16 02:12:37] <willemb> dcarley: is the runit provider built-in, or would I have to install it from somewhere?
[2011/11/16 02:13:03] <masterzen> willemb: it's built-in
[2011/11/16 02:13:22] @ Quit: choonming: Quit: Leaving
[2011/11/16 02:14:27] @ Quit: siezer: Ping timeout: 276 seconds
[2011/11/16 02:14:32] <willemb> damn. Makes it more difficult to clone the behaviour into a custom monit service provider
[2011/11/16 02:14:47] <Arash> _rc : backup is also possible
[2011/11/16 02:14:49] <dcarley> willemb: https://github.com/puppetlabs/puppet/tree/master/lib/puppet/provider/service
[2011/11/16 02:15:36] <dcarley> that's a list of the builtin providers. you can take one of those as a base, modify it and put into a module as a plugin.
[2011/11/16 02:15:45] <_rc> Arash: how about you say what you really have in mind, because it's not really a config management thing in my head to respect what's already there. I go with configuration assertion
[2011/11/16 02:18:10] <Arash> -rc : I want to check if a config file exists. it shouldnt overwrite. but first it should backup the old file en copy the new file from the server
[2011/11/16 02:19:00] <Arash> _rc : I am using puppet for my graduation
[2011/11/16 02:19:11] <_rc> if you just replace it with a file resource the default is to filebucket it
[2011/11/16 02:19:41] <holsta> Arash: Why would you want to backup the old file?
[2011/11/16 02:19:48] <_rc> which stashes a copy in a filesystem path, hashed on the checksum of its contents
[2011/11/16 02:20:18] <_rc> but really, for this, you don't want to know if a file exists, you want to assert that the file will exist with certain content
[2011/11/16 02:20:22] <Arash> holsta : in case if something goes wrong
[2011/11/16 02:21:08] <holsta> Arash: Define "something". You mean a broken config file?
[2011/11/16 02:21:10] <Arash> _rc ; thanks for info I will check it
[2011/11/16 02:22:22] @ ukd1 joined channel #puppet
[2011/11/16 02:23:48] @ Quit: nimrod10`: Quit: Coyote finally caught me
[2011/11/16 02:24:14] @ nimrod10 joined channel #puppet
[2011/11/16 02:28:22] @ jaytaph left channel #puppet ()
[2011/11/16 02:29:35] @ mayak joined channel #puppet
[2011/11/16 02:37:48] @ Quit: AvaCam: Quit: Page closed
[2011/11/16 02:38:51] @ Quit: sdog: Ping timeout: 260 seconds
[2011/11/16 02:39:17] @ Quit: flex___: Remote host closed the connection
[2011/11/16 02:46:05] @ Quit: Enf: Quit: Leaving
[2011/11/16 02:49:20] @ Quit: _nono_: Quit: Leaving
[2011/11/16 02:52:28] @ RhysMorgan joined channel #puppet
[2011/11/16 02:52:48] @ sdog joined channel #puppet
[2011/11/16 02:52:54] @ magicaltrout is now known as ^magicaltrout
[2011/11/16 02:59:10] @ Quit: m3ridian: Remote host closed the connection
[2011/11/16 02:59:26] @ Quit: emergion: Quit: later...
[2011/11/16 03:00:57] @ _nono_ joined channel #puppet
[2011/11/16 03:03:50] @ ken_barber joined channel #puppet
[2011/11/16 03:05:58] @ AshishH joined channel #puppet
[2011/11/16 03:07:29] @ sdog1 joined channel #puppet
[2011/11/16 03:09:22] @ Quit: willemb: Quit: Konversation terminated!
[2011/11/16 03:09:29] @ Quit: sdog: Ping timeout: 256 seconds
[2011/11/16 03:10:36] @ furbage joined channel #puppet
[2011/11/16 03:10:51] @ Legooolas joined channel #puppet
[2011/11/16 03:10:56] @ Quit: sdog1: Client Quit
[2011/11/16 03:11:11] @ sdog joined channel #puppet
[2011/11/16 03:12:42] @ sdog left channel #puppet ()
[2011/11/16 03:14:45] @ Quit: pmorillon: Quit: pmorillon
[2011/11/16 03:24:11] @ Quit: steakknife: Quit: Leaving.
[2011/11/16 03:25:24] @ alcy joined channel #puppet
[2011/11/16 03:26:28] @ Quit: andreaturli: Remote host closed the connection
[2011/11/16 03:29:02] <alcy> is it not possible to have a case statement inside a block that's calling a define ? foo::define { param => bar, param => bax, case $host { { 'host1': 'foobar' } } ?
[2011/11/16 03:29:37] <_rc> you want a selector, not a case statement
[2011/11/16 03:30:07] <_rc> http://docs.puppetlabs.com/guides/language_guide.html#conditionals
[2011/11/16 03:30:15] <alcy> I meant case $host { 'host1' : param => 'foobar' }
[2011/11/16 03:30:21] @ Quit: nimrod10: Quit: Coyote finally caught me
[2011/11/16 03:30:35] @ nimrod10 joined channel #puppet
[2011/11/16 03:35:33] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 03:40:14] @ Quit: Arash: Quit: Page closed
[2011/11/16 03:40:14] @ dnjaramba joined channel #puppet
[2011/11/16 03:40:30] @ pmorillon joined channel #puppet
[2011/11/16 03:40:34] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/16 03:43:25] <alcy> _rc: so, its possible to assign values to variables, but not manipulate class/define parameters ?
[2011/11/16 03:45:01] <_rc> alcy: I'm not sure how you jumped to that
[2011/11/16 03:46:33] <_rc> alcy: foo::define { bar => $host ? { "red": "on red host", "blue": "on blue host" } } would vary the value for bar based on a host fact/variable
[2011/11/16 03:47:01] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/16 03:47:45] <_rc> you can't use a case within a resource definition, they contain resources, not sit within them. to sit within you use the selectors
[2011/11/16 03:50:13] <alcy> _rc: some::class { case $host { 'foo' : { $var = 'value' } } } Vs. some::define { case { $host : { $param => value } } }
[2011/11/16 03:51:06] <alcy> the former works ok, but the latter throws a parse error. what's the main difference ?
[2011/11/16 03:51:39] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/16 03:51:41] @ flex___ joined channel #puppet
[2011/11/16 03:52:15] <_rc> class some::class { ... } - ... is a block
[2011/11/16 03:52:44] <_rc> there is no such thing as some::class { ... }
[2011/11/16 03:52:55] <_rc> that's just a define invocation
[2011/11/16 03:53:40] @ marczak joined channel #puppet
[2011/11/16 03:53:40] <alcy> class someclass { } even.
[2011/11/16 03:54:18] <_rc> you wouldn't expect file { case { $host: {}} to work, because file is a resource
[2011/11/16 04:01:04] @ Quit: hartmut_: Ping timeout: 240 seconds
[2011/11/16 04:08:36] <alcy> _rc: thanks, will revisit the lang guide
[2011/11/16 04:09:44] @ Quit: jodok: Quit: jodok
[2011/11/16 04:11:30] @ Quit: ukd1: Quit: Lost terminal
[2011/11/16 04:14:29] @ jodok joined channel #puppet
[2011/11/16 04:14:29] @ Quit: jodok: Changing host
[2011/11/16 04:14:29] @ jodok joined channel #puppet
[2011/11/16 04:14:55] @ RhysMorgan joined channel #puppet
[2011/11/16 04:15:58] @ rsnhyperion joined channel #puppet
[2011/11/16 04:16:20] @ Raboo_ joined channel #puppet
[2011/11/16 04:16:20] @ Quit: rsnhyperion: Read error: Connection reset by peer
[2011/11/16 04:16:32] @ rsnhyperion joined channel #puppet
[2011/11/16 04:17:57] @ Quit: Raboo: Ping timeout: 245 seconds
[2011/11/16 04:18:26] @ hazmat joined channel #puppet
[2011/11/16 04:20:18] @ mpdude joined channel #puppet
[2011/11/16 04:20:57] @ pmorillon_ joined channel #puppet
[2011/11/16 04:21:24] @ Quit: pmorillon: *.net *.split
[2011/11/16 04:21:24] @ Quit: _nono_: *.net *.split
[2011/11/16 04:21:25] @ Quit: danikov: *.net *.split
[2011/11/16 04:21:26] @ Quit: zleslie: *.net *.split
[2011/11/16 04:21:27] @ Quit: mattswe: *.net *.split
[2011/11/16 04:21:27] @ Quit: jmeeuwen: *.net *.split
[2011/11/16 04:21:28] @ Quit: astrostl: *.net *.split
[2011/11/16 04:21:29] @ Quit: fragfutter: *.net *.split
[2011/11/16 04:21:29] @ Quit: shine: *.net *.split
[2011/11/16 04:21:30] @ Quit: druggo: *.net *.split
[2011/11/16 04:21:30] @ Quit: Atwa1337: *.net *.split
[2011/11/16 04:21:31] @ Quit: phips: *.net *.split
[2011/11/16 04:21:31] @ Quit: satman: *.net *.split
[2011/11/16 04:21:31] @ Quit: tomaw: *.net *.split
[2011/11/16 04:21:32] @ Quit: iFire: *.net *.split
[2011/11/16 04:21:32] @ Quit: Maliuta: *.net *.split
[2011/11/16 04:21:33] @ Quit: felipe`: *.net *.split
[2011/11/16 04:21:34] @ Quit: Radex: *.net *.split
[2011/11/16 04:21:34] @ Quit: ralfgro: *.net *.split
[2011/11/16 04:21:35] @ Quit: fivefish: *.net *.split
[2011/11/16 04:21:35] @ Quit: redpepper: *.net *.split
[2011/11/16 04:21:36] @ Quit: Chosi: *.net *.split
[2011/11/16 04:21:36] @ pmorillon_ is now known as pmorillon
[2011/11/16 04:22:15] @ jmeeuwen joined channel #puppet
[2011/11/16 04:23:59] @ _nono_ joined channel #puppet
[2011/11/16 04:24:00] @ danikov joined channel #puppet
[2011/11/16 04:24:00] @ zleslie joined channel #puppet
[2011/11/16 04:24:00] @ mattswe joined channel #puppet
[2011/11/16 04:24:00] @ astrostl joined channel #puppet
[2011/11/16 04:24:00] @ fragfutter joined channel #puppet
[2011/11/16 04:24:00] @ shine joined channel #puppet
[2011/11/16 04:24:00] @ druggo joined channel #puppet
[2011/11/16 04:24:00] @ Atwa1337 joined channel #puppet
[2011/11/16 04:24:00] @ phips joined channel #puppet
[2011/11/16 04:24:00] @ satman joined channel #puppet
[2011/11/16 04:24:00] @ tomaw joined channel #puppet
[2011/11/16 04:24:00] @ iFire joined channel #puppet
[2011/11/16 04:24:00] @ Maliuta joined channel #puppet
[2011/11/16 04:24:00] @ Radex joined channel #puppet
[2011/11/16 04:24:00] @ ralfgro joined channel #puppet
[2011/11/16 04:24:00] @ redpepper joined channel #puppet
[2011/11/16 04:24:00] @ fivefish joined channel #puppet
[2011/11/16 04:24:00] @ Chosi joined channel #puppet
[2011/11/16 04:24:35] @ natewalck joined channel #puppet
[2011/11/16 04:27:16] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/16 04:33:28] @ ghaskins_ joined channel #puppet
[2011/11/16 04:34:52] <Andorka> hello
[2011/11/16 04:35:09] <Andorka> how to add subscribe to all packages specified in class?
[2011/11/16 04:35:29] <Andorka> i trying write puppet classes for gentoo portage system
[2011/11/16 04:35:51] <kjetilho> have you tried subscribe => Class['foo'] ?
[2011/11/16 04:35:55] <kjetilho> (I haven't :)
[2011/11/16 04:36:10] <Andorka> i want for 'if file /etc/portage/package/blabla, then rebuild package blabla'
[2011/11/16 04:36:38] <kjetilho> you want a provider implementation for portage
[2011/11/16 04:36:45] @ Quit: ghaskins: Ping timeout: 256 seconds
[2011/11/16 04:36:46] <kjetilho> don't do it in Puppet code
[2011/11/16 04:37:02] <Andorka> current provider don't know about use flags and its changes
[2011/11/16 04:39:16] <kjetilho> well, fix it and make fellow Gentoo users happy? :)
[2011/11/16 04:39:37] <Andorka> me? :D
[2011/11/16 04:39:44] <natewalck> It IS open source after all
[2011/11/16 04:39:45] <natewalck> :)
[2011/11/16 04:39:45] <Andorka> i don't know ruby :\
[2011/11/16 04:39:47] <kjetilho> yes! :)
[2011/11/16 04:39:54] <kjetilho> you can learn
[2011/11/16 04:40:05] <Andorka> and portage system isnt symple like apt or yum
[2011/11/16 04:40:10] <Andorka> *simple
[2011/11/16 04:40:35] <natewalck> How hard could it be?
[2011/11/16 04:40:36] <natewalck> :)
[2011/11/16 04:40:40] <natewalck> O wait, its Gentoo, nevermind
[2011/11/16 04:41:11] <Andorka> overlays, layman config, eix configs, /etc/portage/package.{use,mask,keywords,unmask}/, /etc/make.conf
[2011/11/16 04:41:17] <natewalck> :)
[2011/11/16 04:41:20] <Andorka> init-scripts configs in /etc/conf.d/
[2011/11/16 04:41:23] <natewalck> sorry
[2011/11/16 04:41:26] <Andorka> many and many works :(
[2011/11/16 04:41:29] <natewalck> I forgot to tack on *Clarkson voice*
[2011/11/16 04:41:31] <natewalck> at the end of that
[2011/11/16 04:44:23] <flex___> Andorka: you can use gentoo's binpkg, this can avoid use flag and long compile process
[2011/11/16 04:44:34] <Andorka> i know
[2011/11/16 04:44:48] <Andorka> my expirience in gentoo is 6 years
[2011/11/16 04:44:56] <Andorka> and in puppet is 1 week :)
[2011/11/16 04:45:01] <flex___> for the source code, i don't think using puppet to manage is a good way,
[2011/11/16 04:47:18] <Andorka> flex___: i don't want to touch source code :)
[2011/11/16 04:47:31] <flex___> we use gentoo as servers too, package management is a trouble problem
[2011/11/16 04:47:46] <Andorka> i want to configure in /etc/portage/package.use/file and rebuild needed if some change
[2011/11/16 04:47:56] @ car|0s joined channel #puppet
[2011/11/16 04:48:35] @ sdog joined channel #puppet
[2011/11/16 04:48:43] @ Quit: sdog: Changing host
[2011/11/16 04:48:43] @ sdog joined channel #puppet
[2011/11/16 04:49:06] <Andorka> or maybe better way is just run 'emerge -uND @world'..
[2011/11/16 04:49:07] <Andorka> hm
[2011/11/16 04:49:10] <flex___> ugly method is using exec resource
[2011/11/16 04:49:17] <Andorka> yeah
[2011/11/16 04:49:34] @ Quit: justintime: Ping timeout: 255 seconds
[2011/11/16 04:50:33] <larsar> Doe any of you use Geppetto?
[2011/11/16 04:50:49] <larsar> s/Doe/Do/
[2011/11/16 04:51:04] <Andorka> wtf?
[2011/11/16 04:51:41] <Andorka> omg
[2011/11/16 04:51:45] <Andorka> no, i use emacs
[2011/11/16 04:51:49] <flex___> vim
[2011/11/16 04:52:03] <larsar> I usually like emacs, and sometimes vim....
[2011/11/16 04:52:43] <larsar> But when I'm setting up an environment for others to use as well, it's nice to have the option to more 'user friendly' parsing and formatting...and git integration.
[2011/11/16 04:52:48] <natewalck> why emacs instead of vim? :)
[2011/11/16 04:52:49] <natewalck> just curious
[2011/11/16 04:52:56] * natewalck starts fanning the flame war
[2011/11/16 04:53:06] <Andorka> natewalck: emacs is sooo cooool :)
[2011/11/16 04:53:12] <larsar> yeah, let's start the editor religion war.
[2011/11/16 04:53:17] <larsar> Just what I wanted. Lol
[2011/11/16 04:53:26] <natewalck> rofl
[2011/11/16 04:53:27] <natewalck> :)
[2011/11/16 04:53:37] <natewalck> I learned vim
[2011/11/16 04:53:41] <natewalck> I was using Nano before that :)
[2011/11/16 04:53:51] <larsar> The thing I'm struggeling with is the git integration in Eclipse/Geppetto.
[2011/11/16 04:54:03] <larsar> Just wondered if any of you guys had tried this...with luck.
[2011/11/16 04:54:22] <Andorka> emacs already have integration with git
[2011/11/16 04:54:35] <larsar> It seems to work...but Eclipse/Geppetto has a strange way of looking at the git repo...and it's own project file.
[2011/11/16 04:54:46] <larsar> I guess it's Eclipse SNAFU.
[2011/11/16 04:54:47] @ skm joined channel #puppet
[2011/11/16 04:55:15] @ Quit: hal-j: Quit: Leaving.
[2011/11/16 04:55:54] <larsar> If you are promoting Emacs to me....we'll let's put it this way: you are preaching to the choir.
[2011/11/16 04:56:38] <larsar> If I promote Emacs internally here....then the choir does not now which church they have been put in.
[2011/11/16 04:57:25] @ Quit: Beast: Quit: Leaving.
[2011/11/16 04:58:46] @ marrusl joined channel #puppet
[2011/11/16 04:59:12] <Andorka> well.. i want to firsh setup config files and later install specified packages
[2011/11/16 04:59:20] @ justintime joined channel #puppet
[2011/11/16 04:59:30] <Andorka> *first
[2011/11/16 05:00:12] <Andorka> packages in array: $packages = ['app-admin/logrotate', 'app-portage/eix'] and like than
[2011/11/16 05:00:13] <Andorka> *that
[2011/11/16 05:01:22] <Andorka> http://paste.pocoo.org/show/508617/
[2011/11/16 05:03:22] @ Quit: Vasik|work: Remote host closed the connection
[2011/11/16 05:04:17] <Andorka> anyone can help me? :(
[2011/11/16 05:04:37] @ Quit: R1ck: Ping timeout: 240 seconds
[2011/11/16 05:04:40] @ hal-j joined channel #puppet
[2011/11/16 05:04:49] <flex___> and the problem is ?
[2011/11/16 05:05:09] <verwilst> "Could not autoload active_record: uninitialized constant ActiveRecord" when trying to enable storeconfigs
[2011/11/16 05:05:19] <verwilst> i installed libmysql-ruby18 on the puppet server
[2011/11/16 05:05:23] <Andorka> flex___: files and packages want install randomly
[2011/11/16 05:05:23] @ R1ck joined channel #puppet
[2011/11/16 05:05:28] <verwilst> any ideas?
[2011/11/16 05:05:29] <Andorka> and i want firsh install files
[2011/11/16 05:05:33] <Andorka> *directories
[2011/11/16 05:05:40] <Andorka> and later packages
[2011/11/16 05:05:51] <Andorka> argh.. *first
[2011/11/16 05:06:24] <flex___> using before and require meteparameters
[2011/11/16 05:06:38] <flex___> or use chaining
[2011/11/16 05:06:42] <flex___> http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources
[2011/11/16 05:06:48] <Andorka> how i must use its with my config?
[2011/11/16 05:07:40] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/16 05:07:40] <flex___> i think you can insert a line below line 81
[2011/11/16 05:07:57] <flex___> require => File["xxx","xxx","xxx"]
[2011/11/16 05:08:15] @ skm joined channel #puppet
[2011/11/16 05:08:48] @ Quit: erodriguez: Quit: erodriguez
[2011/11/16 05:08:48] <flex___> or require => Common::portage_config["xxx"]
[2011/11/16 05:09:10] <Andorka> maybe is something like require => Common::portage_confog[$portage_dirs] ?
[2011/11/16 05:09:18] <Andorka> *config
[2011/11/16 05:10:21] <flex___> i am not sure the array could be correctly extended
[2011/11/16 05:11:00] <flex___> you can try
[2011/11/16 05:13:26] <Andorka> Syntax error at 'common::portage_config'; expected '}' at /etc/puppet/modules/common/manifests/init.pp:82
[2011/11/16 05:13:43] <Andorka> and require => portage_config[$portage_dirs], : Could not find dependency Portage_config[package.use] for Package[dev-util/ccache] at /etc/puppet/modules/common/manifests/init.pp:83
[2011/11/16 05:13:52] <Andorka> i must create class?
[2011/11/16 05:13:54] @ Quit: sdog: Quit: Leaving.
[2011/11/16 05:14:05] @ junaid joined channel #puppet
[2011/11/16 05:14:15] @ Quit: jwhitlock_zzz: Ping timeout: 258 seconds
[2011/11/16 05:14:36] <junaid> looking for help to configure mysql my.cnf using puppet
[2011/11/16 05:14:41] <flex___> the line 82 is?
[2011/11/16 05:14:48] @ Raboo_ is now known as Raboo
[2011/11/16 05:14:54] <Andorka> require => portage_config[$portage_dirs],
[2011/11/16 05:15:07] @ Vasik|work joined channel #puppet
[2011/11/16 05:15:32] <larstobi> I have a class where I use a template to create a file. In a different class, I use the file_line() function from stdlib to add one or more lines to the same file created by the first class. The line(s) must only be added if the second class is included in the node declaration. It works, but both the template and the file_line get "ensure: created" on every puppetrun for obvious reasons. Are there any better solutions?
[2011/11/16 05:15:58] <flex___> Andorka: i think you must give the namespace
[2011/11/16 05:16:11] <Andorka> flex___: i try both variants
[2011/11/16 05:16:33] <Andorka> require => common::portage_config[$portage_dirs],
[2011/11/16 05:16:33] <Andorka>
[2011/11/16 05:16:37] <Andorka> Syntax error at 'common::portage_config'; expected '}' at /etc/puppet/modules/common/manifests/init.pp:82 on node sfarm11.megoplan.ru
[2011/11/16 05:16:58] <flex___> replace common with Common
[2011/11/16 05:17:06] <Andorka> its same
[2011/11/16 05:17:20] <Andorka> Syntax error at '::portage_config'; expected '}' at /etc/puppet/modules/common/manifests/init.pp:82
[2011/11/16 05:17:56] @ sdog joined channel #puppet
[2011/11/16 05:18:08] <flex___> ::portage_config ?
[2011/11/16 05:18:14] <Andorka> zomg
[2011/11/16 05:18:21] <Andorka> Common::Portage_Config :D
[2011/11/16 05:18:54] <Andorka> but puppet apply --noop write same text
[2011/11/16 05:19:14] <Andorka> oh, no
[2011/11/16 05:19:22] <Andorka> its works, thank you %)
[2011/11/16 05:19:41] <flex___> :)
[2011/11/16 05:19:50] @ Quit: pmorillon: Quit: pmorillon
[2011/11/16 05:21:04] @ Quit: bobra: Ping timeout: 240 seconds
[2011/11/16 05:21:42] @ orkaa_ joined channel #puppet
[2011/11/16 05:23:28] @ Quit: Kritz: Ping timeout: 240 seconds
[2011/11/16 05:24:50] @ blitzrage joined channel #puppet
[2011/11/16 05:25:03] @ Quit: sdog: Changing host
[2011/11/16 05:25:03] @ sdog joined channel #puppet
[2011/11/16 05:26:16] @ pmorillon joined channel #puppet
[2011/11/16 05:26:48] @ Quit: sdog: Remote host closed the connection
[2011/11/16 05:30:05] @ sdog joined channel #puppet
[2011/11/16 05:30:33] @ Quit: sdog: Changing host
[2011/11/16 05:30:33] @ sdog joined channel #puppet
[2011/11/16 05:34:15] @ Quit: trulsa: Quit: leaving
[2011/11/16 05:34:26] @ Quit: blitzrage: Quit: The system is going down for reboot NOW! (pts/0)
[2011/11/16 05:34:28] @ trulsa joined channel #puppet
[2011/11/16 05:36:15] @ Quit: junaid: Quit: Page closed
[2011/11/16 05:37:06] @ kelseyhightower joined channel #puppet
[2011/11/16 05:40:30] @ Quit: AshishH: Ping timeout: 276 seconds
[2011/11/16 05:41:28] @ sdog1 joined channel #puppet
[2011/11/16 05:41:50] @ CrazyGir_ joined channel #puppet
[2011/11/16 05:42:00] @ Quit: sdog: Ping timeout: 252 seconds
[2011/11/16 05:42:08] @ Quit: raphdg: Ping timeout: 248 seconds
[2011/11/16 05:42:29] @ Quit: kubicek: Excess Flood
[2011/11/16 05:42:37] @ Quit: liff: Ping timeout: 240 seconds
[2011/11/16 05:43:10] @ kubicek joined channel #puppet
[2011/11/16 05:43:36] @ jhford_ joined channel #puppet
[2011/11/16 05:43:40] @ liff joined channel #puppet
[2011/11/16 05:44:01] @ Quit: Razique: Quit: Razique
[2011/11/16 05:44:15] @ Quit: Raboo: *.net *.split
[2011/11/16 05:44:16] @ Quit: marczak: *.net *.split
[2011/11/16 05:44:16] @ Quit: BManojlovic: *.net *.split
[2011/11/16 05:44:17] @ Quit: negronjl: *.net *.split
[2011/11/16 05:44:18] @ Quit: susman: *.net *.split
[2011/11/16 05:44:18] @ Quit: newtMcKerr: *.net *.split
[2011/11/16 05:44:19] @ Quit: tily: *.net *.split
[2011/11/16 05:44:19] @ Quit: n0ts: *.net *.split
[2011/11/16 05:44:20] @ Quit: jhford: *.net *.split
[2011/11/16 05:44:21] @ Quit: lh: *.net *.split
[2011/11/16 05:44:21] @ Quit: abetterlie: *.net *.split
[2011/11/16 05:44:22] @ Quit: booi: *.net *.split
[2011/11/16 05:44:23] @ Quit: RoyK: *.net *.split
[2011/11/16 05:44:24] @ Quit: chadh: *.net *.split
[2011/11/16 05:44:24] @ Quit: antoon_i: *.net *.split
[2011/11/16 05:44:24] @ Quit: countskm: *.net *.split
[2011/11/16 05:44:25] @ Quit: filler: *.net *.split
[2011/11/16 05:44:26] @ Quit: jbarratt: *.net *.split
[2011/11/16 05:44:27] @ Quit: vinci: *.net *.split
[2011/11/16 05:44:27] @ Quit: cybrhuman: *.net *.split
[2011/11/16 05:44:28] @ Quit: CrazyGir: *.net *.split
[2011/11/16 05:44:28] @ Quit: Amto_res: *.net *.split
[2011/11/16 05:44:29] @ Quit: jmccune: *.net *.split
[2011/11/16 05:44:29] @ Quit: legoklods: *.net *.split
[2011/11/16 05:46:30] <verwilst> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql adapter: `gem install activerecord-mysql-adapter` (Could not find mysql (~> 2.8.1) amongst [activemodel-3.1.1, activerecord-3.1.1, activesupport-3.1.1, arel-2.2.1, builder-3.0.0, gems-0.5.0, i18n-0.6.0, multi_json-1.0.3, tzinfo-0.3.31])
[2011/11/16 05:46:31] <verwilst> raaaah
[2011/11/16 05:47:14] @ Razique joined channel #puppet
[2011/11/16 05:48:25] @ Raboo joined channel #puppet
[2011/11/16 05:48:25] @ marczak joined channel #puppet
[2011/11/16 05:48:25] @ BManojlovic joined channel #puppet
[2011/11/16 05:48:25] @ negronjl joined channel #puppet
[2011/11/16 05:48:25] @ susman joined channel #puppet
[2011/11/16 05:48:25] @ newtMcKerr joined channel #puppet
[2011/11/16 05:48:25] @ tily joined channel #puppet
[2011/11/16 05:48:25] @ n0ts joined channel #puppet
[2011/11/16 05:48:25] @ lh joined channel #puppet
[2011/11/16 05:48:25] @ abetterlie joined channel #puppet
[2011/11/16 05:48:25] @ antoon_i joined channel #puppet
[2011/11/16 05:48:25] @ booi joined channel #puppet
[2011/11/16 05:48:25] @ RoyK joined channel #puppet
[2011/11/16 05:48:26] @ chadh joined channel #puppet
[2011/11/16 05:48:26] @ countskm joined channel #puppet
[2011/11/16 05:48:26] @ jbarratt joined channel #puppet
[2011/11/16 05:48:26] @ vinci joined channel #puppet
[2011/11/16 05:48:26] @ cybrhuman joined channel #puppet
[2011/11/16 05:48:26] @ Amto_res joined channel #puppet
[2011/11/16 05:48:26] @ jmccune joined channel #puppet
[2011/11/16 05:48:26] @ legoklods joined channel #puppet
[2011/11/16 05:49:17] @ Quit: marczak: Ping timeout: 256 seconds
[2011/11/16 05:49:18] @ Quit: antoon_i: Ping timeout: 256 seconds
[2011/11/16 05:49:36] @ antoon_i joined channel #puppet
[2011/11/16 05:49:41] @ marczak joined channel #puppet
[2011/11/16 05:49:51] @ Quit: chadh: Ping timeout: 256 seconds
[2011/11/16 05:50:17] @ chadh joined channel #puppet
[2011/11/16 05:50:36] <rocket> is there a way to have puppet set the chkconfig state other than using an Exec?
[2011/11/16 05:50:47] @ Stenbryggen joined channel #puppet
[2011/11/16 05:51:34] @ raphdg joined channel #puppet
[2011/11/16 05:52:37] @ AshishH joined channel #puppet
[2011/11/16 05:52:58] <_rc> http://docs.puppetlabs.com/references/latest/type.html#service enable does the basic chkconfig on/off
[2011/11/16 05:56:56] @ Quit: themadcanudist: Quit: Leaving.
[2011/11/16 05:57:23] <rocket> _rc: thanks I am probably missing something stupid
[2011/11/16 06:00:25] @ choonming joined channel #puppet
[2011/11/16 06:04:42] @ cliff-hm joined channel #puppet
[2011/11/16 06:07:23] @ Quit: jaydg: Quit: Verlassend
[2011/11/16 06:08:47] @ Quit: ckauhaus: Ping timeout: 244 seconds
[2011/11/16 06:09:56] @ Quit: AshishH: Ping timeout: 260 seconds
[2011/11/16 06:10:48] @ mattford63 joined channel #puppet
[2011/11/16 06:11:00] @ Quit: mattford63: Client Quit
[2011/11/16 06:11:11] @ amoe joined channel #puppet
[2011/11/16 06:12:13] @ Quit: Vasik|work: Remote host closed the connection
[2011/11/16 06:13:01] @ Quit: emag: Ping timeout: 240 seconds
[2011/11/16 06:13:28] @ mcarpent joined channel #puppet
[2011/11/16 06:13:40] @ Quit: car|0s: Ping timeout: 258 seconds
[2011/11/16 06:13:58] @ Quit: alcy: Quit: leaving
[2011/11/16 06:14:41] @ rsnhyperion joined channel #puppet
[2011/11/16 06:15:35] @ Quit: sdog1: Quit: Leaving.
[2011/11/16 06:15:37] @ sduchesneau joined channel #puppet
[2011/11/16 06:15:55] @ car|0s joined channel #puppet
[2011/11/16 06:16:47] @ emag joined channel #puppet
[2011/11/16 06:17:54] @ samkottler joined channel #puppet
[2011/11/16 06:17:59] @ xeor_ joined channel #puppet
[2011/11/16 06:18:12] @ Quit: soosfarm: Quit: ZNC - http://znc.sourceforge.net
[2011/11/16 06:18:12] @ Quit: adimania: Ping timeout: 276 seconds
[2011/11/16 06:18:42] @ soosfarm joined channel #puppet
[2011/11/16 06:18:51] @ Quit: xeor: Ping timeout: 276 seconds
[2011/11/16 06:19:21] @ Chris64 joined channel #puppet
[2011/11/16 06:19:27] <amoe> hey, is creating a CNAME of 'puppet' still the recommended mode of operation? i notice the setting up guide was changed to use '--server' option
[2011/11/16 06:19:59] @ johnston joined channel #puppet
[2011/11/16 06:22:03] @ Quit: anveo: Quit: Computer has gone to sleep.
[2011/11/16 06:22:18] <helindbe> larsar: there is a #geppetto channel here at freenode - noticed your question earlier about Geppetto and git...
[2011/11/16 06:23:12] <larsar> helindbe: Thanks for the tips. Magically I solved my problem, but I guess I'll run into more problems later on. :D
[2011/11/16 06:24:30] @ tily_ joined channel #puppet
[2011/11/16 06:25:36] @ Raboo_ joined channel #puppet
[2011/11/16 06:27:29] @ steki-BLAH joined channel #puppet
[2011/11/16 06:28:31] @ lh_ joined channel #puppet
[2011/11/16 06:28:32] @ abetterlie_ joined channel #puppet
[2011/11/16 06:28:35] @ countskm_ joined channel #puppet
[2011/11/16 06:28:41] @ labrown joined channel #puppet
[2011/11/16 06:29:02] @ lborda joined channel #puppet
[2011/11/16 06:29:12] @ jbarratt_ joined channel #puppet
[2011/11/16 06:29:17] @ RoyK^ joined channel #puppet
[2011/11/16 06:29:18] @ legoklod1 joined channel #puppet
[2011/11/16 06:29:18] @ Amto_res_ joined channel #puppet
[2011/11/16 06:29:27] @ Bass10 joined channel #puppet
[2011/11/16 06:30:05] <helindbe> using magic is a neat technical skill to have :D
[2011/11/16 06:30:16] @ Quit: _nalle: Read error: Operation timed out
[2011/11/16 06:30:27] @ Quit: Bass10: Max SendQ exceeded
[2011/11/16 06:30:44] @ n0ts_ joined channel #puppet
[2011/11/16 06:30:46] @ Bass10 joined channel #puppet
[2011/11/16 06:31:26] @ _nalle joined channel #puppet
[2011/11/16 06:31:52] @ Quit: tizzo-afk: Ping timeout: 240 seconds
[2011/11/16 06:31:54] @ vinci` joined channel #puppet
[2011/11/16 06:33:06] <fragfutter> helindbe: only if you have enough mana points.
[2011/11/16 06:33:15] @ newtMcKerr1 joined channel #puppet
[2011/11/16 06:33:41] @ Quit: Raboo: *.net *.split
[2011/11/16 06:33:41] @ Quit: BManojlovic: *.net *.split
[2011/11/16 06:33:42] @ Quit: negronjl: *.net *.split
[2011/11/16 06:33:42] @ Quit: susman: *.net *.split
[2011/11/16 06:33:43] @ Quit: newtMcKerr: *.net *.split
[2011/11/16 06:33:44] @ Quit: tily: *.net *.split
[2011/11/16 06:33:44] @ Quit: n0ts: *.net *.split
[2011/11/16 06:33:45] @ Quit: lh: *.net *.split
[2011/11/16 06:33:46] @ Quit: abetterlie: *.net *.split
[2011/11/16 06:33:47] @ Quit: booi: *.net *.split
[2011/11/16 06:33:47] @ Quit: RoyK: *.net *.split
[2011/11/16 06:33:48] @ Quit: countskm: *.net *.split
[2011/11/16 06:33:49] @ Quit: jbarratt: *.net *.split
[2011/11/16 06:33:49] @ Quit: vinci: *.net *.split
[2011/11/16 06:33:50] @ Quit: cybrhuman: *.net *.split
[2011/11/16 06:33:51] @ Quit: Amto_res: *.net *.split
[2011/11/16 06:33:51] @ Quit: jmccune: *.net *.split
[2011/11/16 06:33:52] @ Quit: legoklods: *.net *.split
[2011/11/16 06:33:52] @ elmer__ joined channel #puppet
[2011/11/16 06:34:22] @ jmccune joined channel #puppet
[2011/11/16 06:34:22] @ Quit: jmccune: Changing host
[2011/11/16 06:34:22] @ jmccune joined channel #puppet
[2011/11/16 06:34:33] @ themadcanudist joined channel #puppet
[2011/11/16 06:36:15] @ ckauhaus joined channel #puppet
[2011/11/16 06:38:09] @ Quit: ckauhaus: Client Quit
[2011/11/16 06:39:22] @ booi joined channel #puppet
[2011/11/16 06:39:48] @ AshishH joined channel #puppet
[2011/11/16 06:40:00] @ cybrhuman joined channel #puppet
[2011/11/16 06:40:48] @ benkevan joined channel #puppet
[2011/11/16 06:41:12] @ ckauhaus joined channel #puppet
[2011/11/16 06:41:18] @ negronjl joined channel #puppet
[2011/11/16 06:41:52] @ Quit: cliff-hm: Ping timeout: 248 seconds
[2011/11/16 06:42:13] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 06:42:42] @ susman joined channel #puppet
[2011/11/16 06:43:09] @ themadcanudist1 joined channel #puppet
[2011/11/16 06:43:57] @ Quit: themadcanudist: Ping timeout: 258 seconds
[2011/11/16 06:44:34] @ RhysMorgan joined channel #puppet
[2011/11/16 06:45:07] @ sdog joined channel #puppet
[2011/11/16 06:45:21] @ steki-BLAH is now known as BManojlovic
[2011/11/16 06:46:45] @ brandon_dacrib joined channel #puppet
[2011/11/16 06:47:15] @ Quit: RhysMorgan: Client Quit
[2011/11/16 06:47:16] @ larstobi1 joined channel #puppet
[2011/11/16 06:48:31] @ Quit: larstobi: Ping timeout: 260 seconds
[2011/11/16 06:50:51] @ Quit: sdog: Changing host
[2011/11/16 06:50:51] @ sdog joined channel #puppet
[2011/11/16 06:51:50] @ kangman joined channel #puppet
[2011/11/16 06:52:32] @ Quit: Chris64: Quit: .
[2011/11/16 06:53:50] @ nfagerlund joined channel #puppet
[2011/11/16 06:54:00] @ djambar joined channel #puppet
[2011/11/16 06:55:26] @ eliteiyzhg joined channel #puppet
[2011/11/16 06:56:27] @ cliff-hm joined channel #puppet
[2011/11/16 06:57:54] @ Quit: leepa: Remote host closed the connection
[2011/11/16 06:57:56] @ Quit: arnihermann: Remote host closed the connection
[2011/11/16 06:57:57] @ Quit: jnewland: Remote host closed the connection
[2011/11/16 06:57:58] @ Quit: Tribaal: Remote host closed the connection
[2011/11/16 06:57:58] @ Quit: tswicegood: Read error: Connection reset by peer
[2011/11/16 06:57:59] @ Quit: cparedes: Remote host closed the connection
[2011/11/16 06:58:00] @ Quit: garethr: Remote host closed the connection
[2011/11/16 06:58:00] @ Quit: lusis: Read error: Connection reset by peer
[2011/11/16 06:58:01] @ Quit: devicenull: Read error: Connection reset by peer
[2011/11/16 06:58:13] <MattTheRat> anyone feel like a little fact qa?
[2011/11/16 07:00:48] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/11/16 07:02:28] @ anveo joined channel #puppet
[2011/11/16 07:03:17] @ zwi joined channel #puppet
[2011/11/16 07:04:20] @ abetterlie_ is now known as abetterlie
[2011/11/16 07:04:53] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/16 07:06:36] @ Quit: kermit: Read error: Connection reset by peer
[2011/11/16 07:08:56] @ Quit: nul0op: Ping timeout: 260 seconds
[2011/11/16 07:09:21] @ leepa joined channel #puppet
[2011/11/16 07:09:36] @ kermit joined channel #puppet
[2011/11/16 07:09:49] @ garethr joined channel #puppet
[2011/11/16 07:09:58] @ rsnhyperion joined channel #puppet
[2011/11/16 07:10:17] @ Quit: xeor_: Quit: Leaving...
[2011/11/16 07:10:35] @ xeor joined channel #puppet
[2011/11/16 07:10:36] @ jnewland joined channel #puppet
[2011/11/16 07:10:54] @ arnihermann joined channel #puppet
[2011/11/16 07:11:07] @ Quit: kermit: Read error: Connection reset by peer
[2011/11/16 07:11:34] @ avandendorpe joined channel #puppet
[2011/11/16 07:14:24] @ ironmunk joined channel #puppet
[2011/11/16 07:14:55] @ csanchez joined channel #puppet
[2011/11/16 07:16:05] @ lusis joined channel #puppet
[2011/11/16 07:16:42] @ Quit: tty234: Ping timeout: 276 seconds
[2011/11/16 07:17:17] @ tty234 joined channel #puppet
[2011/11/16 07:17:45] @ kermit joined channel #puppet
[2011/11/16 07:18:34] @ eliteiyzhg left channel #puppet ()
[2011/11/16 07:20:22] @ seanh-ansca joined channel #puppet
[2011/11/16 07:22:00] @ patcon joined channel #puppet
[2011/11/16 07:23:04] @ Quit: newtMcKerr1: Quit: Leaving.
[2011/11/16 07:23:14] @ jsm joined channel #puppet
[2011/11/16 07:24:36] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/16 07:24:54] @ aricg joined channel #puppet
[2011/11/16 07:25:09] @ Quit: aricg: Changing host
[2011/11/16 07:25:09] @ aricg joined channel #puppet
[2011/11/16 07:25:47] @ mcarpent joined channel #puppet
[2011/11/16 07:26:32] @ tswicegood joined channel #puppet
[2011/11/16 07:26:47] @ Quit: benkevan: Quit: leaving
[2011/11/16 07:26:52] <larstobi1> is it possible to test if a class is included for the current node from another class? something like "if included(Class["apache"]) { stuff } else { other stuff }"
[2011/11/16 07:27:24] <hajile> so I've been running cucumber-puppet to test my puppet install, and I've been left with ONE issue. It's complaining about a dynamic lookup of $hostname. Every other instance of this was clearly listed in a module and I was able to correct it quickly. This instance says nothing about a module, but it comes up on the server side on a regular basis.. Does anyone know of a quick way to sniff out the dynamic variable lookups?
[2011/11/16 07:28:01] <_rc> larstobi1: you can use defined for this, but it's not guaranteed to be reliable as it's dependent on compile order
[2011/11/16 07:28:09] @ Tribaal joined channel #puppet
[2011/11/16 07:28:35] @ cparedes joined channel #puppet
[2011/11/16 07:29:09] <larstobi1> _rc: okay, but if I put "require apache" in the other class, then it should be good?
[2011/11/16 07:29:46] <aricg> does puppet/passenger work if ssl is disabled in apache?
[2011/11/16 07:29:51] <_rc> larstobi1: not neccesarily, no
[2011/11/16 07:29:56] <larstobi1> hmm, okay
[2011/11/16 07:29:59] <hajile> example: http://pastebin.com/WggYiFss
[2011/11/16 07:30:17] @ nul0op joined channel #puppet
[2011/11/16 07:30:36] <_rc> hajile: it's a fact, so you can refer to it as $::hostname
[2011/11/16 07:30:58] <hajile> _rc: I understand that much, but the problem is that I can't figure out where this warning is pointing to.
[2011/11/16 07:31:10] <fragfutter> grep -r -H * -e hostname
[2011/11/16 07:31:17] <hajile> _rc: I've fixed it in like 15 other places because it's been plainly obvious which module the error is coming out of.
[2011/11/16 07:31:35] @ toobulkeh joined channel #puppet
[2011/11/16 07:32:17] <hajile> It's not showing up in client-side logs, so I'm confused.
[2011/11/16 07:32:28] @ mensoif joined channel #puppet
[2011/11/16 07:32:29] <larstobi1> _rc: so, the problem I'm trying to solve is that there is a file template in Class["apache"] but if the other class is included for the node, then an extra line or two should be added to the file. I'm having some trouble doing that without fie_line which will change the file and thus change the md5sum of the file, making the tamplate run every time.
[2011/11/16 07:32:35] @ adimania joined channel #puppet
[2011/11/16 07:33:36] <_rc> larstobi1: the files involved is apache configuration?
[2011/11/16 07:33:53] @ Quit: mensoif: Client Quit
[2011/11/16 07:34:16] @ Quit: MattyM: Remote host closed the connection
[2011/11/16 07:34:37] @ dan__t joined channel #puppet
[2011/11/16 07:35:02] <larstobi1> _rc: no, that was an example. It's actually a configuration file for a startup script that contains standard shell variables.
[2011/11/16 07:35:52] @ cverdeh joined channel #puppet
[2011/11/16 07:36:03] <larstobi1> like /etc/sysconfig/myconfig and it contains lines like this 'OPTION="-d"'
[2011/11/16 07:36:21] <_rc> well given that's the context, just have a fragment that the main file inhales
[2011/11/16 07:36:26] <cverdeh> Any idea how I'd get a service to reload it's config if anything under a config directory changes?
[2011/11/16 07:36:47] <fragfutter> cverdeh: is the directory under puppet control?
[2011/11/16 07:36:52] <verwilst> is there something like has_variable(), but then for classes?
[2011/11/16 07:36:57] @ fixxxermet joined channel #puppet
[2011/11/16 07:36:57] <verwilst> like has_class()?
[2011/11/16 07:37:03] <verwilst> for templating?
[2011/11/16 07:37:04] <cverdeh> fragfutter: Yes.
[2011/11/16 07:37:26] <fragfutter> cverdeh: subscribe to the directory should do the trick
[2011/11/16 07:37:30] @ Quit: ghaskins_: Ping timeout: 252 seconds
[2011/11/16 07:37:30] <_rc> verwilst: your question is the same as larstobi1's, defined Class["foo"], which isn't reliable
[2011/11/16 07:37:38] <cverdeh> fragfutter: Cool, thanks.
[2011/11/16 07:37:56] <verwilst> oh
[2011/11/16 07:38:03] <verwilst> didnt read above, sorry :)
[2011/11/16 07:38:05] <aricg> Followed this guide http://docs.puppetlabs.com/guides/passenger.html and Im getting compile errors. any ideas would be appreciated. -> http://privatepaste.com/04b01e0934
[2011/11/16 07:38:12] <verwilst> it's actually for my puppet.conf
[2011/11/16 07:38:19] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/16 07:38:27] <verwilst> only want to include the [master] section on my puppet master
[2011/11/16 07:38:30] <Raboo_> how do i know if a fact is from LSB or not?
[2011/11/16 07:38:36] <verwilst> because it has a dbpassword and suc
[2011/11/16 07:38:36] <fixxxermet> I'm managing ntp with puppet. I hvae many ntp clients, with a /etc/ntp.conf file, and a couple ntp servers, also with a /etc/ntp.conf file, but with a different source. How can I manage this?
[2011/11/16 07:38:36] <verwilst> h
[2011/11/16 07:38:56] <_rc> aricg: looks like you're missing a comment character or two
[2011/11/16 07:38:57] <verwilst> fixxxermet, i would make a variable
[2011/11/16 07:38:57] <fixxxermet> Getting "Duplicate definition: File[/etc/ntp.conf] is already defined"
[2011/11/16 07:39:06] <aricg> _rc looking
[2011/11/16 07:39:11] @ devicenull joined channel #puppet
[2011/11/16 07:39:12] <verwilst> ntp_server1 and ntp_server2 for example
[2011/11/16 07:39:27] <fixxxermet> But they point point to the same file, no?
[2011/11/16 07:39:30] <verwilst> and set those differently according to the host being a client or server
[2011/11/16 07:39:32] @ Quit: ken_barber: Quit: Leaving.
[2011/11/16 07:39:33] <verwilst> yeah
[2011/11/16 07:39:34] <Raboo_> does all LSB facts start with ^lsb
[2011/11/16 07:39:36] <verwilst> it's just a template
[2011/11/16 07:39:49] <verwilst> server = <%= ntp_server %>
[2011/11/16 07:39:51] <rocket> fixxxermet: make the ntp.conf a template and change the variables inside
[2011/11/16 07:40:03] <fixxxermet> ahh
[2011/11/16 07:40:04] <fixxxermet> smart
[2011/11/16 07:40:26] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/16 07:40:33] <fixxxermet> Last question... clients have one server =, servers point to about 6 public ntp servers
[2011/11/16 07:40:52] <aricg> _rc, I don't follow, a comment character? #?
[2011/11/16 07:41:00] @ spiette joined channel #puppet
[2011/11/16 07:41:03] <verwilst> ntp_servers: ['1.1..1', '2.2.2.2']?
[2011/11/16 07:41:18] <fragfutter> <% servers.each do |server| -%>
[2011/11/16 07:41:18] <fragfutter> 14server <%= server %> burst iburst
[2011/11/16 07:41:18] <fixxxermet> cool, thanks
[2011/11/16 07:41:19] <fragfutter> 15<% end -%>
[2011/11/16 07:41:20] <verwilst> and then <% ntp_servers.each do |bleh| ...
[2011/11/16 07:41:54] <_rc> aricg: share your config.ru. it's a ruby script, so the line that says "config.ru, for use with every rack-compatible web" is causing a syntax error
[2011/11/16 07:42:10] <verwilst> so, about my question.. :)
[2011/11/16 07:42:12] <_rc> as it'll be a comment that's not commented
[2011/11/16 07:42:21] <verwilst> i want to show the master section of my puppet.conf only on the puppet master
[2011/11/16 07:42:48] <verwilst> i wanted to enclose it in a "if puppet::master is defined" kind of thing
[2011/11/16 07:42:53] <verwilst> but this doesnt work so it seems :P
[2011/11/16 07:43:02] <aricg> _rc, lol. thanks
[2011/11/16 07:43:03] @ jeremywf joined channel #puppet
[2011/11/16 07:44:14] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/11/16 07:44:59] <orkaa_> is anyone familiar with https://github.com/puppetlabs/puppetlabs-mysql ?
[2011/11/16 07:45:14] <orkaa_> it keep getting this error:
[2011/11/16 07:45:26] <orkaa_> Error 400 on SERVER: Could not find parent resource type 'mysql::params' of type hostclass in production
[2011/11/16 07:45:27] <orkaa_> ...
[2011/11/16 07:45:37] @ Diranged joined channel #puppet
[2011/11/16 07:45:51] <orkaa_> I guess I have to define which operating system I'm using
[2011/11/16 07:45:57] <orkaa_> but don't know how
[2011/11/16 07:46:02] <Diranged> if i have a notice() line in my puppet configs that runs longer than 80 characters, is there a way to split it into multiple lines in the code … while leaving the actual printout as a single line?
[2011/11/16 07:46:08] <Diranged> something akin to an "echo -n"?
[2011/11/16 07:46:11] <orkaa_> https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/params.pp
[2011/11/16 07:46:14] @ rcrowley joined channel #puppet
[2011/11/16 07:46:16] <orkaa_> that's the actual file
[2011/11/16 07:46:44] <larstobi1> _rc: I can't figure out how to use a fragment on this. https://gist.github.com/1370415
[2011/11/16 07:46:51] <agaffney> Diranged: $line1 = "foo"; $line2 = "bar"; notice("$line1 $line2")
[2011/11/16 07:47:09] <_rc> larstobi1: what the heck is file_line?
[2011/11/16 07:47:16] @ newtMcKerr joined channel #puppet
[2011/11/16 07:47:28] <Diranged> agaffney: ugh thats ugly .. :/
[2011/11/16 07:47:29] <larstobi1> it's from puppetlabs-stdlib
[2011/11/16 07:47:34] <Diranged> agaffney: but i guess.. any other ideas?
[2011/11/16 07:47:41] <larstobi1> it's a type+provider
[2011/11/16 07:47:46] <agaffney> Diranged: so is blindly sticking to an 80-character width and having to resort to tricks like this :P
[2011/11/16 07:48:01] <larstobi1> https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/type/file_line.rb
[2011/11/16 07:48:12] <Diranged> yeah, just wanted to make puppet-lint happy.. :) wish i could set it to a 100char limit
[2011/11/16 07:48:32] <kjetilho> I really miss a concatenation operator :/
[2011/11/16 07:48:36] <_rc> the crazy fools
[2011/11/16 07:48:43] <Theory> "this style" "literal concat" "would be nice"
[2011/11/16 07:48:48] <kjetilho> I really hate wide code
[2011/11/16 07:49:10] <aricg> sweet it works, thanks _na for catching that.
[2011/11/16 07:49:22] <aricg> _na/_rc
[2011/11/16 07:49:44] @ Quit: sascha_: Quit: sascha_
[2011/11/16 07:50:00] @ sgp joined channel #puppet
[2011/11/16 07:50:20] <_rc> file_line and file seem doomed to get in a fight with each other
[2011/11/16 07:50:25] <_rc> I'd just use concat
[2011/11/16 07:50:31] <larstobi1> yeah, they are
[2011/11/16 07:50:34] @ Quit: ckauhaus: Ping timeout: 244 seconds
[2011/11/16 07:50:40] @ Quit: Meier: Quit: Leaving.
[2011/11/16 07:51:00] <larstobi1> _rc: you mean this: https://github.com/ripienaar/puppet-concat ?
[2011/11/16 07:51:10] <_rc> yes
[2011/11/16 07:51:17] <larstobi1> okay, I'll try to use that
[2011/11/16 07:51:21] <larstobi1> thanks!
[2011/11/16 07:51:28] @ Quit: newtMcKerr: Ping timeout: 240 seconds
[2011/11/16 07:51:32] <ralfgro> I've updated dashboard to 1.2.2 and the gui looks a bit strange to me http://imageshack.us/photo/my-images/46/puppett.jpg/
[2011/11/16 07:51:52] @ Quit: adimania: Ping timeout: 240 seconds
[2011/11/16 07:51:59] <ralfgro> is this the correct style?
[2011/11/16 07:52:15] @ conntrack joined channel #puppet
[2011/11/16 07:53:19] <walkeran> ralfgro: Looks correct to me...except for the 10 pending tasks. What part of it looks strange?
[2011/11/16 07:53:49] @ Quit: sdog: Quit: Leaving.
[2011/11/16 07:54:05] @ filler joined channel #puppet
[2011/11/16 07:54:21] @ andreaturli joined channel #puppet
[2011/11/16 07:57:33] <ralfgro> the new layout of the Nodes section
[2011/11/16 07:58:05] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/16 07:58:19] <walkeran> ralfgro: I guess I don't even remember what the older style looked like :) It's been like that for a while
[2011/11/16 07:58:36] <ralfgro> http://www.puppetlabs.com/wp-content/uploads/2010/04/Screen-shot-2010-04-26-at-9.57.22-AM.png
[2011/11/16 07:58:50] @ newtMcKerr joined channel #puppet
[2011/11/16 07:58:53] <walkeran> Oh yeah, that's right... it just had numbers
[2011/11/16 07:59:06] <ralfgro> ok, regarding the pending tasks....
[2011/11/16 07:59:27] <ralfgro> is this something new?
[2011/11/16 07:59:36] @ sascha_ joined channel #puppet
[2011/11/16 07:59:59] <walkeran> There's always been some sort of report collector that you had to run. And that's just a count of reports that haven't been collected yet
[2011/11/16 08:00:18] <walkeran> http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#using-the-monitor-script
[2011/11/16 08:00:27] <_rc> the background task thingy is new
[2011/11/16 08:00:32] @ Davea1 joined channel #puppet
[2011/11/16 08:00:45] <walkeran> orly?
[2011/11/16 08:00:50] <ralfgro> can't remember I've ever used this
[2011/11/16 08:01:06] <_rc> 1.0 didn't do it, reports spammed straight into the db
[2011/11/16 08:01:23] <ralfgro> so I have to set this up now
[2011/11/16 08:01:25] <_rc> now they spool
[2011/11/16 08:02:28] <ralfgro> /etc/default/puppet-dashboard-workers
[2011/11/16 08:02:36] <ralfgro> ### START=no
[2011/11/16 08:03:26] <ralfgro> All systems go
[2011/11/16 08:06:55] @ ghaskins joined channel #puppet
[2011/11/16 08:06:58] @ Quit: zwi: Quit: Leaving.
[2011/11/16 08:07:54] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/16 08:09:22] @ benjiedmund joined channel #puppet
[2011/11/16 08:11:02] @ Quit: johnston: Quit: Page closed
[2011/11/16 08:11:24] @ johnston joined channel #puppet
[2011/11/16 08:11:42] @ Quit: ghaskins: Ping timeout: 252 seconds
[2011/11/16 08:13:53] @ ghaskins joined channel #puppet
[2011/11/16 08:13:53] @ Quit: countskm_: Quit: leaving
[2011/11/16 08:14:13] @ gniks joined channel #puppet
[2011/11/16 08:14:46] <orkaa_> is there really no one using puppetlabs-mysql?
[2011/11/16 08:16:31] @ csanchez_ joined channel #puppet
[2011/11/16 08:16:42] @ Quit: csanchez: Read error: Connection reset by peer
[2011/11/16 08:16:42] @ csanchez_ is now known as csanchez
[2011/11/16 08:17:20] @ ^magicaltrout is now known as magicaltrout
[2011/11/16 08:18:27] @ dwalu joined channel #puppet
[2011/11/16 08:18:31] @ Quit: labrown: Remote host closed the connection
[2011/11/16 08:18:33] @ Quit: jsm: Quit: jsm
[2011/11/16 08:18:55] @ legoklod1 is now known as legoklods
[2011/11/16 08:19:02] @ ryancoleman joined channel #puppet
[2011/11/16 08:19:53] @ ldlework joined channel #puppet
[2011/11/16 08:20:04] @ Quit: ghaskins: Read error: Connection reset by peer
[2011/11/16 08:20:50] @ ghaskins joined channel #puppet
[2011/11/16 08:21:34] @ bsg_kwolf joined channel #puppet
[2011/11/16 08:22:28] @ ckauhaus joined channel #puppet
[2011/11/16 08:23:42] <lynxman> bodepd: ping
[2011/11/16 08:24:25] @ labrown joined channel #puppet
[2011/11/16 08:25:03] @ benkevan joined channel #puppet
[2011/11/16 08:25:05] @ Quit: dwalu: Quit: dwalu
[2011/11/16 08:25:06] @ Quit: samkottler: Quit: Leaving.
[2011/11/16 08:26:10] @ jsm joined channel #puppet
[2011/11/16 08:27:58] @ geekbri joined channel #puppet
[2011/11/16 08:30:16] @ Quit: Ababcus: Quit: HydraIRC -> http://www.hydrairc.com <- The alternative IRC client
[2011/11/16 08:30:19] @ lak joined channel #puppet
[2011/11/16 08:30:19] @ Quit: lak: Changing host
[2011/11/16 08:30:19] @ lak joined channel #puppet
[2011/11/16 08:31:46] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/16 08:32:25] @ zwi joined channel #puppet
[2011/11/16 08:32:27] @ z30 joined channel #puppet
[2011/11/16 08:32:49] @ z30 is now known as KaZeR_W_
[2011/11/16 08:32:51] @ KaZeR_W_ is now known as KaZeR_W__
[2011/11/16 08:34:11] @ kaptk2 joined channel #puppet
[2011/11/16 08:34:15] @ Quit: KaZeR_W: Ping timeout: 252 seconds
[2011/11/16 08:34:18] @ Quit: BrickBag: Remote host closed the connection
[2011/11/16 08:34:20] @ dwalu joined channel #puppet
[2011/11/16 08:34:43] @ KaZeR_W__ is now known as KaZeR_W
[2011/11/16 08:34:55] @ agwells0714 joined channel #puppet
[2011/11/16 08:34:57] @ Quit: raphdg: Remote host closed the connection
[2011/11/16 08:35:38] @ lkoranda joined channel #puppet
[2011/11/16 08:36:12] @ Quit: larstobi1: Quit: Leaving.
[2011/11/16 08:37:33] <agwells0714> Anyone know good tools for debugging puppet templates? I am getting a very ambiguous error. http://pastebin.com/c24hfh2m
[2011/11/16 08:37:41] @ Quit: cosimo: Read error: Connection reset by peer
[2011/11/16 08:37:59] <codec> agwells0714: can you paste the erb?
[2011/11/16 08:38:05] @ Quit: jsm: Quit: jsm
[2011/11/16 08:38:29] <codec> agwells0714: erb -x -T '-' #{template} | ruby -c
[2011/11/16 08:38:30] @ BrickBag joined channel #puppet
[2011/11/16 08:38:33] <codec> agwells0714: is what i use for "debugging"
[2011/11/16 08:38:43] <agwells0714> codec: it says syntax ok
[2011/11/16 08:39:01] <kjetilho> yes, it is a runtime error
[2011/11/16 08:39:06] <kjetilho> not a syntax error
[2011/11/16 08:39:12] <codec> oh, sorry
[2011/11/16 08:39:12] @ bencc joined channel #puppet
[2011/11/16 08:39:20] <kjetilho> ie. it can't know the variable is an array at compile time
[2011/11/16 08:39:22] <lak> agwells0714: you've probably got something like string + [array]
[2011/11/16 08:39:22] <codec> agwells0714: then it looks like your passing wrong stuff into the template ;)
[2011/11/16 08:39:41] @ neonflux joined channel #puppet
[2011/11/16 08:39:42] <lak> that's usually where i see that error (it's a ruby error, not a puppet one)
[2011/11/16 08:40:04] @ Quit: tily_: Read error: Connection reset by peer
[2011/11/16 08:41:06] @ Quit: bkdem: Ping timeout: 260 seconds
[2011/11/16 08:41:13] <agwells0714> http://pastebin.com/GjJ8rYhr
[2011/11/16 08:41:16] @ tily joined channel #puppet
[2011/11/16 08:45:40] @ sumsuch joined channel #puppet
[2011/11/16 08:45:56] <agwells0714> ::cdh::conf::mapred::mapred_queue_names can be an array,string, or undef. when it was undef it worked fine, but when as an array it crashing
[2011/11/16 08:47:31] @ mayak left channel #puppet ()
[2011/11/16 08:48:14] @ Quit: sascha_: Quit: sascha_
[2011/11/16 08:48:49] @ ccaum joined channel #puppet
[2011/11/16 08:48:52] @ Quit: dwalu: Quit: dwalu
[2011/11/16 08:51:13] @ infinii joined channel #puppet
[2011/11/16 08:51:24] @ Quit: zorg1: Remote host closed the connection
[2011/11/16 08:52:41] <agwells0714> codec: are you reviewing the erb?
[2011/11/16 08:52:52] <rocket> if I have a variable version="4.1.0" for example how can I create a new variable from that which just contains release="4"
[2011/11/16 08:53:08] <rocket> is there some sort of substring function I can use etc?
[2011/11/16 08:53:27] <agwells0714> rocket: try a regex
[2011/11/16 08:53:48] @ Quit: sumsuch: Quit: sumsuch
[2011/11/16 08:53:48] <walkeran> rocket: https://www.puppetlabs.com/references/2.7.0/function.html#regsubst
[2011/11/16 08:53:50] <rocket> agwells0714: great idea thanks .. :p
[2011/11/16 08:54:17] @ Quit: pmorillon: Quit: pmorillon
[2011/11/16 08:54:22] <flex___> rocket: can also using inline_template(), use ruby to split it
[2011/11/16 08:54:37] @ cjz joined channel #puppet
[2011/11/16 08:54:37] @ mitchellh joined channel #puppet
[2011/11/16 08:54:38] @ Quit: mitchellh: Client Quit
[2011/11/16 08:56:04] @ mitchellh joined channel #puppet
[2011/11/16 08:57:32] @ Quit: mpdude: Ping timeout: 245 seconds
[2011/11/16 08:58:38] @ trickyf left channel #puppet ()
[2011/11/16 08:59:14] @ the_ramink joined channel #puppet
[2011/11/16 08:59:18] <infinii> Can I use puppet to automate the creation/configuration of linux+websphere application servers?
[2011/11/16 09:00:03] <hajile> anyone know how you can instrument cucumber-puppet to tell you where it's getting a warning from?
[2011/11/16 09:00:19] <_rc> infinii: same answer as for #chef. yes
[2011/11/16 09:00:21] <hajile> ie.. enable full debugging to see which part of a catalog is generating a warning
[2011/11/16 09:00:57] <infinii> _rc: I just want to read about what's possible. do you have any links you could suggest for me to look into?
[2011/11/16 09:01:27] @ Quit: ccaum: Quit: ccaum
[2011/11/16 09:01:57] <_rc> there's plenty of documentation at http://docs.puppetlabs.com/learning/ about the kinds of things you can model, and how
[2011/11/16 09:02:34] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/16 09:02:42] @ tswicegoo joined channel #puppet
[2011/11/16 09:03:02] @ Quit: astrostl:
[2011/11/16 09:03:26] <agwells0714> codec: found my problem, i was doing an eval of the lookupvar
[2011/11/16 09:03:38] <agwells0714> silly me
[2011/11/16 09:05:05] @ Quit: tswicegood:
[2011/11/16 09:05:11] @ tswicegoo is now known as tswicegood
[2011/11/16 09:05:57] @ Quit: jodok: Quit: jodok
[2011/11/16 09:06:18] @ Quit: tswicegood: Client Quit
[2011/11/16 09:06:51] @ tswicegood joined channel #puppet
[2011/11/16 09:07:07] @ tswicegood left channel #puppet ()
[2011/11/16 09:08:59] @ astrostl joined channel #puppet
[2011/11/16 09:09:27] @ ccaum joined channel #puppet
[2011/11/16 09:09:57] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 09:10:29] @ cosimo joined channel #puppet
[2011/11/16 09:11:00] <orkaa_> http://pastebin.com/qbEb3ubc
[2011/11/16 09:11:20] <orkaa_> I wrote this class which is using https://github.com/puppetlabs/puppetlabs-mysql
[2011/11/16 09:11:30] <_rc> orkaa_: no it's really not
[2011/11/16 09:11:36] <_rc> kill the import line
[2011/11/16 09:11:55] <_rc> and move modules/puppetlabs-mysql to modules/mysql
[2011/11/16 09:12:33] <orkaa_> aha!
[2011/11/16 09:12:41] <orkaa_> lets see
[2011/11/16 09:14:17] @ Quit: danikov: Remote host closed the connection
[2011/11/16 09:14:18] <orkaa_> yep, it's working
[2011/11/16 09:14:45] <orkaa_> I'm still a beginner I guess
[2011/11/16 09:15:28] <_rc> if you're bringing in extra modules from the forge use puppet-module-tool as it handles installing them with the correct names
[2011/11/16 09:16:59] <orkaa_> didn't know that, thanks
[2011/11/16 09:19:25] @ larstobi joined channel #puppet
[2011/11/16 09:20:10] @ themadcanudist joined channel #puppet
[2011/11/16 09:20:24] <aricg> hey guys. if im using passanger do i still use fileserver.conf to control access to directories?
[2011/11/16 09:20:51] @ Quit: themadcanudist1: Ping timeout: 276 seconds
[2011/11/16 09:21:04] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/16 09:21:57] @ Quit: joe-mac: Remote host closed the connection
[2011/11/16 09:23:27] @ Quit: cliff-hm: Ping timeout: 276 seconds
[2011/11/16 09:25:17] @ joe-mac joined channel #puppet
[2011/11/16 09:25:54] @ ciupicri joined channel #puppet
[2011/11/16 09:27:05] <ciupicri> I'm trying a MySQL server, databases etc. module and I'm getting "err: Could not prefetch mysql_database provider 'mysql': #<IO:0xb70bac7c>" even if pluginsync is set to true. Client is puppet-2.6.12-1.el6.noarch and the server puppet-server-2.6.11-1.fc15.noarch.
[2011/11/16 09:27:46] <ciupicri> my module is based on https://github.com/duritong/
[2011/11/16 09:27:51] <_rc> aricg: yes, if that's what you need
[2011/11/16 09:28:05] <_rc> ciupicri: which module from there?
[2011/11/16 09:28:24] <_rc> and the problem is probably that it has the chicken/egg of needing mysql installed first
[2011/11/16 09:28:28] <ciupicri> _rc, one second, I'll publish my own
[2011/11/16 09:29:20] <_rc> ciupicri: https://github.com/duritong/puppet-mysql/blob/master/lib/puppet/provider/mysql_database/mysql.rb ?
[2011/11/16 09:29:37] <_rc> you just linked a guys account, not which of the modules you're talking about
[2011/11/16 09:29:49] <_rc> I'm guessing it's that one, I hate to guess
[2011/11/16 09:30:06] @ Quit: fox2mike: Ping timeout: 260 seconds
[2011/11/16 09:30:21] <ciupicri> _rc, https://github.com/ciupicri/puppet-mysql/tree/duritong-master-ciupicri
[2011/11/16 09:30:42] <_rc> so yes
[2011/11/16 09:30:56] <hajile> is nikolay sturm on here?
[2011/11/16 09:31:07] <_rc> that provider needs mysql installed first otherwise it'll not work
[2011/11/16 09:31:23] <ciupicri> _rc, well, mysql is installed
[2011/11/16 09:31:29] <_rc> and mysqladmin?
[2011/11/16 09:31:41] <ciupicri> mysqladmin too
[2011/11/16 09:31:50] <_rc> in those paths? https://github.com/ciupicri/puppet-mysql/blob/duritong-master-ciupicri/lib/puppet/provider/mysql_database/mysql.rb#L6-8
[2011/11/16 09:32:15] <ciupicri> -rwxr-xr-x. 1 root root 310696 Jan 21 2011 /usr/bin/mysql
[2011/11/16 09:32:15] <ciupicri> -rwxr-xr-x. 1 root root 29204 Jan 21 2011 /usr/bin/mysqladmin
[2011/11/16 09:32:27] <_rc> was that yes?
[2011/11/16 09:32:32] <ciupicri> yes
[2011/11/16 09:33:58] <_rc> on which nodes?
[2011/11/16 09:34:14] <ciupicri> _rc, http://pastebin.com/rLnpHNqZ
[2011/11/16 09:34:26] <ciupicri> _rc, what do you mean with the nodes thing?
[2011/11/16 09:34:31] @ joshcooper joined channel #puppet
[2011/11/16 09:35:08] <_rc> oh look, there's the error
[2011/11/16 09:35:14] @ bronto1 joined channel #puppet
[2011/11/16 09:35:23] @ Quit: mcarpent: Remote host closed the connection
[2011/11/16 09:35:29] @ cliff-hm joined channel #puppet
[2011/11/16 09:35:34] <_rc> puppet can't run /usr/bin/mysql mysql -NBe 'select concat(user, "@", host), password from user'
[2011/11/16 09:35:45] <_rc> so the prefetch fails
[2011/11/16 09:35:59] @ Quit: AshishH: Remote host closed the connection
[2011/11/16 09:36:05] <_rc> what happens when you run it outside of puppet?
[2011/11/16 09:36:05] @ bronto1 is now known as maroon
[2011/11/16 09:36:17] <ciupicri> /usr/bin/mysql mysql -NBe 'show databases' => ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[2011/11/16 09:36:38] <_rc> so that's why it fails for you
[2011/11/16 09:36:53] @ mcarpent joined channel #puppet
[2011/11/16 09:37:14] <ciupicri> _rc, it should also setup the root password
[2011/11/16 09:37:54] @ maroon left channel #puppet ()
[2011/11/16 09:38:12] <ciupicri> _rc, I'm also puzzled by the fact that running facter from the command line does not give the mysql_exists fact https://github.com/ciupicri/puppet-mysql/blob/duritong-master-ciupicri/lib/facter/mysql_exists.rb#L3
[2011/11/16 09:38:35] @ danikov joined channel #puppet
[2011/11/16 09:38:39] <_rc> facter or facter -p?
[2011/11/16 09:39:11] <_rc> ciupicri: something already setup the root password to one it doesn't know about
[2011/11/16 09:39:24] @ samkottler joined channel #puppet
[2011/11/16 09:39:26] <_rc> or failed to set it, but it thinks it has changed
[2011/11/16 09:39:35] <_rc> it's an icky module
[2011/11/16 09:40:12] @ jkoppe1 left channel #puppet ()
[2011/11/16 09:40:18] <rocket> can you use wildcards in the source parameter of a file call?
[2011/11/16 09:40:24] <aricg> hey guys. Server hostname 'puppet' did not match server certificate expected puppet.na.mycompany.local
[2011/11/16 09:40:53] @ mrwacky42 joined channel #puppet
[2011/11/16 09:40:59] <aricg> I dont know where It got the short name puppet from.
[2011/11/16 09:41:11] @ nfagerlund joined channel #puppet
[2011/11/16 09:41:14] @ williemach joined channel #puppet
[2011/11/16 09:41:21] <_rc> rocket: no
[2011/11/16 09:41:31] <_rc> aricg: that's the default if you didn't set it
[2011/11/16 09:41:34] <aricg> it only happens when the puppet client is trying to retreive a file
[2011/11/16 09:41:55] <_rc> show the resource
[2011/11/16 09:42:07] <ciupicri> _rc, https://github.com/ciupicri/puppet-mysql/blob/duritong-master-ciupicri/manifests/server/config.pp#L38
[2011/11/16 09:42:23] <aricg> so i need to set in puppet.conf not just in --server puppet.na.mycompany.local ?
[2011/11/16 09:43:25] <aricg> _rc installing packages works, and the certs themselves work. just calling files is failing
[2011/11/16 09:43:43] @ alfism joined channel #puppet
[2011/11/16 09:43:52] <aricg> i get diffrent errors under apache/passanger and whatever the default file server is
[2011/11/16 09:44:03] <aricg> everything is set to allow * untill i figure this out
[2011/11/16 09:45:06] @ Quit: mrwacky42: Client Quit
[2011/11/16 09:45:07] @ Quit: flex___: Remote host closed the connection
[2011/11/16 09:45:11] @ mrwacky42 joined channel #puppet
[2011/11/16 09:45:36] <aricg> w passenger Forbidden request: ubuntu4.na.mycompany.local(10.3.16.59) access to /catalog/ubuntu4.na.mycompany.local [find] at line 0
[2011/11/16 09:46:28] <aricg> ive got
[2011/11/16 09:46:29] <aricg> path ~ ^/catalog/([^/]+)$
[2011/11/16 09:46:29] <aricg> method find
[2011/11/16 09:46:29] <aricg> allow *
[2011/11/16 09:46:34] @ Quit: danikov: Quit: danikov
[2011/11/16 09:46:57] @ KaiserBeto1 joined channel #puppet
[2011/11/16 09:47:53] @ sumsuch joined channel #puppet
[2011/11/16 09:49:12] @ alanevans joined channel #puppet
[2011/11/16 09:51:19] <_rc> aricg: so show the file resource that fails. if it's like source => puppet:///foo/bar then I expect it to work, if you put a hostname in there it's not going to be good
[2011/11/16 09:51:34] @ danikov joined channel #puppet
[2011/11/16 09:51:41] @ dwalu joined channel #puppet
[2011/11/16 09:51:48] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/16 09:52:10] @ Quit: Diranged: Ping timeout: 258 seconds
[2011/11/16 09:52:13] <_rc> ciupicri: that resource doesn't matter
[2011/11/16 09:52:28] <_rc> ciupicri: the provider already *failed* the preload
[2011/11/16 09:52:48] <_rc> ciupicri: so the resource won't even attempt to apply and fix it
[2011/11/16 09:53:06] <ciupicri> _rc, ok, forget about that, I'm puzzled by the fact that I don't see that fact
[2011/11/16 09:53:22] <_rc> ciupicri: and I asked, did you run facter -p?
[2011/11/16 09:53:26] @ Quit: BManojlovic: Ping timeout: 260 seconds
[2011/11/16 09:53:40] <ciupicri> _rc, I didn't know about -p
[2011/11/16 09:53:50] <_rc> -p is short for --puppet which means 'search the puppet pluginsync path'
[2011/11/16 09:54:07] <ciupicri> _rc, I see, thanks for telling me about it
[2011/11/16 09:55:30] @ Quit: benkevan: Quit: leaving
[2011/11/16 09:55:45] <aricg> _rc this is client debug without passenger running on master http://privatepaste.com/2e7a82958b
[2011/11/16 09:56:10] @ motomike joined channel #puppet
[2011/11/16 09:56:26] <aricg> the file is in etc/puppet/files/configs/apache/deflate.conf
[2011/11/16 09:58:07] <aricg> source => "puppet://puppet/files/configs/apache/deflate.conf
[2011/11/16 09:58:10] @ Quit: nul0op: Ping timeout: 244 seconds
[2011/11/16 09:58:30] @ jsurfer joined channel #puppet
[2011/11/16 09:59:11] @ Quit: furbage: Quit: furbage
[2011/11/16 09:59:24] <_rc> aricg: change it to be puppet:///files/configs/apache/deflate.conf
[2011/11/16 09:59:33] <aricg> okay!
[2011/11/16 10:00:19] <_rc> it's puppet://HOSTNAME/PATH_THINGY if you don't specify a HOSTNAME it goes back to the same place it got the catalog from
[2011/11/16 10:01:11] @ Quit: brtl: Quit: Leaving.
[2011/11/16 10:01:20] <_rc> but because you said the hostname was puppet, it rejected the servers cert as it's really for 'puppet.na.foocorp.local'
[2011/11/16 10:02:13] <aricg> so i could change "puppet":/// to "puppet.na.foo.local" ?
[2011/11/16 10:02:21] @ Quit: marrusl: Remote host closed the connection
[2011/11/16 10:02:29] @ Quit: lindenle__: Remote host closed the connection
[2011/11/16 10:02:36] <_rc> you could change it to puppet://puppet.na.foocorp.local/foo/bar; but don't
[2011/11/16 10:02:46] <aricg> okay /// it is :)
[2011/11/16 10:02:58] <aricg> a new error! http://privatepaste.com/05e020204b
[2011/11/16 10:03:01] <_rc> leave it as puppet:/// and it'll work when you run headless too
[2011/11/16 10:03:09] @ mitchellh joined channel #puppet
[2011/11/16 10:03:10] <the_ramink> aricg: or you could leave it puppet":/// so you'll never need to mess with it if you change the name of your puppet master
[2011/11/16 10:03:20] <_rc> right, that's the fileserver.conf you were looking at
[2011/11/16 10:03:57] @ vinci` is now known as vinci
[2011/11/16 10:04:12] @ marrusl joined channel #puppet
[2011/11/16 10:04:54] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/16 10:06:39] @ cruzfox joined channel #puppet
[2011/11/16 10:06:42] <aricg> _rc i have allow *
[2011/11/16 10:06:54] <aricg> path /etc/puppet/files/
[2011/11/16 10:07:05] @ comptona joined channel #puppet
[2011/11/16 10:09:39] @ Quit: zwi: Quit: Leaving.
[2011/11/16 10:09:45] @ zwi joined channel #puppet
[2011/11/16 10:10:20] @ RhysMorgan joined channel #puppet
[2011/11/16 10:10:38] <ciupicri> is there a way to make the fileserver not to server vim swap files?
[2011/11/16 10:10:45] <aricg> ahh i missed [files] [modules] and others
[2011/11/16 10:10:50] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/16 10:11:03] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 10:13:25] @ rharrison joined channel #puppet
[2011/11/16 10:14:37] @ Boltsky joined channel #puppet
[2011/11/16 10:15:13] @ redparchel joined channel #puppet
[2011/11/16 10:15:55] @ sdog joined channel #puppet
[2011/11/16 10:17:18] @ erthad left channel #puppet ()
[2011/11/16 10:17:32] <ciupicri> _rc, it seems that all I had to do was to delete ~root/.my.cnf to trigger the password reset
[2011/11/16 10:18:27] @ BManojlovic joined channel #puppet
[2011/11/16 10:18:27] @ Quit: BManojlovic: Changing host
[2011/11/16 10:18:27] @ BManojlovic joined channel #puppet
[2011/11/16 10:18:41] <ciupicri> _rc, although it should be also triggered when mysqladmin... does not work https://github.com/ciupicri/puppet-mysql/blob/duritong-master-ciupicri/manifests/server/config.pp#L38
[2011/11/16 10:18:48] @ Quit: sdog: Changing host
[2011/11/16 10:18:48] @ sdog joined channel #puppet
[2011/11/16 10:19:21] @ Quit: Spads: Ping timeout: 276 seconds
[2011/11/16 10:21:16] @ Diranged joined channel #puppet
[2011/11/16 10:22:11] <redparchel> using puppet v2.6.6 on RHEL5.4/CentOS5.4 ensuring a local [ext3] partition is mounted leads to the error: "returned 32: mount: <device> already mounted or <mount point> busy mount: according to mtab, <device> is already mounted on <mount point>" on every puppet run, some quick googling shows others with a similar issue but I could find a solution, it is actually working just always reporting an error, I just wondering if anyone was using puppet to ensur
[2011/11/16 10:22:52] @ alanna joined channel #puppet
[2011/11/16 10:23:18] @ Quit: paxos: Quit: Leaving.
[2011/11/16 10:23:52] @ Quit: mauve: Ping timeout: 240 seconds
[2011/11/16 10:24:16] <aricg> is this an apache configuration error? http://privatepaste.com/6351c3d6bc
[2011/11/16 10:24:45] <ciupicri> if ($selinux) { selboolean { "httpd_can_network_connect_db": value => on } } should not apply the selboolean if SELinux is disabled right? facter -p => selinux => false, yet puppet still tries to apply it: "/Stage[main]/Php::Mysql/Selboolean[httpd_can_network_connect_db]: Could not evaluate: Execution of '/usr/sbin/getsebool httpd_can_network_connect_db' returned 1: /usr/sbin/getsebool: SELinux is disabled"
[2011/11/16 10:25:26] @ Quit: zwi: Ping timeout: 244 seconds
[2011/11/16 10:27:07] <walkeran> ciupicri: use "if $selinux == 'true'"
[2011/11/16 10:27:17] <ciupicri> walkeran, thanks
[2011/11/16 10:27:24] @ Quit: ezryx: Remote host closed the connection
[2011/11/16 10:27:28] <walkeran> ciupicri: you're welcome
[2011/11/16 10:27:28] @ adimania joined channel #puppet
[2011/11/16 10:30:05] @ Quit: Razique: Quit: Razique
[2011/11/16 10:31:01] <agaffney> is 2.6.12 as "stable" as 2.6.7?
[2011/11/16 10:31:16] <agaffney> I'm currently running 2.6.7 on CentOS, but there's only 2.6.12 available for EL6 from EPEL
[2011/11/16 10:33:04] @ grossjo joined channel #puppet
[2011/11/16 10:33:17] @ Quit: astrostl:
[2011/11/16 10:33:45] @ mitchellh joined channel #puppet
[2011/11/16 10:34:24] <zleslie> agaffney: have a look here: http://yum.puppetlabs.com/el/
[2011/11/16 10:35:05] <zleslie> 2.6.12 is the latest of the 2.6
[2011/11/16 10:35:06] <aricg> okay. the problem was require puppet in the config.ru
[2011/11/16 10:35:09] <aricg> all is well now
[2011/11/16 10:37:33] @ sdog left channel #puppet ()
[2011/11/16 10:39:38] @ toi joined channel #puppet
[2011/11/16 10:40:31] @ bmahe joined channel #puppet
[2011/11/16 10:40:33] @ Quit: bmahe: Changing host
[2011/11/16 10:40:33] @ bmahe joined channel #puppet
[2011/11/16 10:41:19] @ Quit: dwalu: Quit: dwalu
[2011/11/16 10:41:31] @ localhost joined channel #puppet
[2011/11/16 10:42:31] @ mtsmith joined channel #puppet
[2011/11/16 10:42:36] @ Quit: grossjo: Ping timeout: 265 seconds
[2011/11/16 10:44:31] <mtsmith> Hi Everybody -- I've been trying to get a simple "hello world"-esque puppet spike up, and I keep running into issues with "err: Could not request certificate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client" -- I've checked the time a few times and it seems perfectly in sync now. So I'm at a loss. I've searche
[2011/11/16 10:44:49] <mtsmith> web quite a bit and not found any results. Does anyone have any suggestions on where I should be looking, next?
[2011/11/16 10:44:49] <RhysMorgan> Does anyone know of a guide for installing puppet on SLES 11?
[2011/11/16 10:44:49] @ bencc left channel #puppet ()
[2011/11/16 10:45:01] <RhysMorgan> Puppet works fine I am struggling with getting passenger on there
[2011/11/16 10:46:10] @ hooper joined channel #puppet
[2011/11/16 10:46:33] @ Kazuhiro joined channel #puppet
[2011/11/16 10:47:24] <agaffney> zleslie: ah, I didn't know puppetlabs had started building their own RPMs for puppet
[2011/11/16 10:47:52] @ Quit: derjohn_mob: Ping timeout: 240 seconds
[2011/11/16 10:48:24] @ colon_D joined channel #puppet
[2011/11/16 10:48:37] @ iw_work joined channel #puppet
[2011/11/16 10:50:14] @ Quit: car|0s: Ping timeout: 244 seconds
[2011/11/16 10:55:26] @ Quit: lak: Quit: Leaving.
[2011/11/16 10:56:10] @ doprdele joined channel #puppet
[2011/11/16 10:56:11] @ Quit: adimania: Read error: Connection reset by peer
[2011/11/16 10:56:31] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/16 10:56:37] @ adimania joined channel #puppet
[2011/11/16 11:00:43] @ benkevan joined channel #puppet
[2011/11/16 11:00:46] @ brandon_dacrib_ joined channel #puppet
[2011/11/16 11:01:25] @ lak joined channel #puppet
[2011/11/16 11:01:26] @ Quit: lak: Changing host
[2011/11/16 11:01:26] @ lak joined channel #puppet
[2011/11/16 11:02:03] @ Kazuhiro1 joined channel #puppet
[2011/11/16 11:02:13] @ Quit: Kazuhiro: Ping timeout: 240 seconds
[2011/11/16 11:02:47] @ Quit: brandon_dacrib: Ping timeout: 252 seconds
[2011/11/16 11:02:47] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/11/16 11:04:19] @ jorhett joined channel #puppet
[2011/11/16 11:05:56] @ WALoeIII joined channel #puppet
[2011/11/16 11:06:05] @ johnston joined channel #puppet
[2011/11/16 11:06:26] <jorhett> So is like anyone affected by #3159 ?
[2011/11/16 11:06:26] <gepetto> jorhett: #3159 is http://projects.puppetlabs.com/issues/show/3159 "Puppet - Bug #3159: LDAP groups are being mis-interpretted by RAL. It has a status of Needs More Information and is assigned to -"
[2011/11/16 11:06:42] <aricg> mtsmith, are you running the puppet agent with --debug --verbose that may provide more clues
[2011/11/16 11:06:59] <jorhett> I've got 4 systems reporting this problem consistently, out of like 500. I'm trying to diagnose why.
[2011/11/16 11:07:15] <mtsmith> aricg: I am. I'm reading (http://www.masterzen.fr/2010/11/14/puppet-ssl-explained/) now to see if maybe I'm just missing some basic PKI issue.
[2011/11/16 11:07:17] @ Quit: dnjaramba:
[2011/11/16 11:07:32] <mtsmith> aricg: my bet is that the new nodes don't have proper generated keys
[2011/11/16 11:08:38] @ Quit: Chillax: Changing host
[2011/11/16 11:08:38] @ Chillax joined channel #puppet
[2011/11/16 11:08:49] <aricg> mtsmith while i was setting everything up
[2011/11/16 11:09:05] <aricg> and ensuring all the machines were talking via their fqdn's
[2011/11/16 11:09:16] <aricg> i found it useful to clean out the certs.
[2011/11/16 11:09:29] @ RoyK^ is now known as RoyK
[2011/11/16 11:09:52] <aricg> /var/lib/puppet/ssl# rm `find .`
[2011/11/16 11:10:05] <mtsmith> aricg: on the agent or the server?
[2011/11/16 11:10:05] <aricg> make sure you are in the right dir ;)
[2011/11/16 11:10:06] <jorhett> puppet agent —clean
[2011/11/16 11:10:29] <jorhett> in fact, for clients I have found that "rm -rf /var/lib/puppet" is a great way to start over ;-)
[2011/11/16 11:10:35] <aricg> mtsmith, on both.
[2011/11/16 11:11:05] @ sascha_ joined channel #puppet
[2011/11/16 11:11:28] <aricg> mtsmith, are you using /etc/hosts or a nameserver?
[2011/11/16 11:11:44] <mtsmith> i'm using /etc/hosts
[2011/11/16 11:12:17] <mtsmith> and when i clean and also rm -rf /var/lib/puppet, the same issue occurs
[2011/11/16 11:13:01] @ hartmut_ joined channel #puppet
[2011/11/16 11:13:37] <mtsmith> so i'm running this: puppet agent --server=puppet.domain.com --no-daemonize --waitforcert 30 --verbose --test
[2011/11/16 11:14:04] <mtsmith> and in my hosts file i have this: 216.220.xxx.xx puppet puppet.domain.com
[2011/11/16 11:14:14] @ Quit: danikov: Quit: danikov
[2011/11/16 11:14:23] @ synFlood joined channel #puppet
[2011/11/16 11:15:04] @ Quit: orkaa_: Quit: orkaa_
[2011/11/16 11:16:01] <jorhett> mtsmith: I find —waitforcert to be pointless
[2011/11/16 11:16:19] <jorhett> if it doesn't have a cert, let it exit — go sign the cert on the master, and run it again.
[2011/11/16 11:16:27] <mtsmith> jorhett: truth be told I didn't see the need either, but it was the first step suggested in many a web site
[2011/11/16 11:16:29] <jorhett> I think waitforcert is only useful when autosigning.
[2011/11/16 11:16:38] <mtsmith> ah
[2011/11/16 11:16:39] <mtsmith> ok
[2011/11/16 11:16:59] <jorhett> and fyi "—test" includes verbose and no-daemonize
[2011/11/16 11:17:01] @ Quit: adimania: Read error: Connection reset by peer
[2011/11/16 11:17:12] <mtsmith> gotcha.
[2011/11/16 11:17:13] <jorhett> —test is a macro for like 7 other settings. rtfm :)
[2011/11/16 11:17:27] <the_ramink> I've never needed waitforcert when autosigning... though it is all over the docs
[2011/11/16 11:17:33] @ adimania joined channel #puppet
[2011/11/16 11:17:39] <mtsmith> so the thing is, when I do puppet cert list on the server, i don't have any outstanding requests
[2011/11/16 11:17:49] <mtsmith> haha thanks jorhett, i will look up --test
[2011/11/16 11:18:44] @ Kazuhiro1 left channel #puppet ()
[2011/11/16 11:18:48] @ Quit: lak: Quit: Leaving.
[2011/11/16 11:19:10] @ Quit: shortbus-: Remote host closed the connection
[2011/11/16 11:19:51] <jorhett> mtsmith: I suspect that you are talking to a different server than you are querying ;-) At this point I would try tcpdump :)
[2011/11/16 11:19:53] @ shortbus- joined channel #puppet
[2011/11/16 11:20:05] <mtsmith> jorhett: okay. a new avenue to look into. much appreciated! :-)
[2011/11/16 11:20:18] @ car|0s joined channel #puppet
[2011/11/16 11:21:38] @ Quit: doprdele: Read error: Operation timed out
[2011/11/16 11:21:43] @ lindenle joined channel #puppet
[2011/11/16 11:22:14] <lindenle> Hi guys i have a define that installes packages from a list and I want to tell puppet to do all of these before another function. Can I dop that?
[2011/11/16 11:23:52] <jorhett> before => Other[$function]
[2011/11/16 11:24:29] <lindenle> jorhett where $function is the next define?
[2011/11/16 11:24:50] @ p3rror joined channel #puppet
[2011/11/16 11:25:08] <walkeran> lindenle: function or definition?
[2011/11/16 11:25:15] <lindenle> definition
[2011/11/16 11:25:18] <jorhett> either one works.
[2011/11/16 11:25:48] <jorhett> you can put a define outside (don't forget to capitalize it) and the name parameter passed to the define inside the brackets. Works great.
[2011/11/16 11:26:06] <jorhett> before => Mydefine['myvalue']
[2011/11/16 11:26:07] <walkeran> lindenle: I would say require => Your::Definition['name'] (or before...whichever)
[2011/11/16 11:26:18] @ Quit: negronjl: Ping timeout: 276 seconds
[2011/11/16 11:26:28] <lindenle> <walkeran>?: what goes in the name?
[2011/11/16 11:26:48] <walkeran> whatever the name of the resource/definition is
[2011/11/16 11:27:06] @ Quit: lborda: Remote host closed the connection
[2011/11/16 11:27:29] <walkeran> When you instantiate it, you set the namevar like my::definition { 'name': foo => 'bar' }
[2011/11/16 11:27:39] <lindenle> right
[2011/11/16 11:28:18] <walkeran> So in that example, if you want something to require it, you'd require => My::Definition['name']
[2011/11/16 11:29:53] @ Quit: csanchez: Quit: csanchez
[2011/11/16 11:30:23] <lindenle> walkeran: i have define foo { package { "${name}": bar=> ...}}
[2011/11/16 11:30:25] <jorhett> the second capitalization isn't used fyi
[2011/11/16 11:30:30] @ redparchel left channel #puppet ()
[2011/11/16 11:30:33] <jorhett> but it won't hurt, it's just ignored.
[2011/11/16 11:30:34] <lindenle> jorhett right
[2011/11/16 11:31:01] @ Quit: benkevan: Ping timeout: 240 seconds
[2011/11/16 11:31:29] <jorhett> lindenle: you should be passing a name into the define. This might be your source of the problem.
[2011/11/16 11:31:43] <walkeran> Well... I'm sure he is. It doesn't work without :)
[2011/11/16 11:31:58] <aricg> any idea what this means? err: Not authorized to call find on /file_metadata/puppet/files/configs/apache/foo.conf
[2011/11/16 11:31:58] <lindenle> <jorhett>: when I call it I do foo{ $bars: }
[2011/11/16 11:32:03] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/16 11:32:10] <lindenle> jorhett: where $bars is a list
[2011/11/16 11:32:16] <walkeran> lindenle: Then you would want require => Package[$bars]
[2011/11/16 11:32:20] <aricg> /file_metadata/ is not defined anywhere that i can see
[2011/11/16 11:33:09] <walkeran> or require => Foo[$bars] rather (I guess both would have the same overall effect)
[2011/11/16 11:33:25] <synFlood> Hi everyone, sorry to jump on this, but is possible to specify a package and version in $bars ? like setup-1.1.el5 , package-2.4.5, otherpackage-1.3.2?
[2011/11/16 11:33:25] <the_ramink> aricg: I think you should pastie.org the code that is generating the errors
[2011/11/16 11:34:27] @ savid joined channel #puppet
[2011/11/16 11:34:32] <walkeran> synFlood: package { 'setup': ensure => '1.1.el5' } ... etc
[2011/11/16 11:35:04] <savid> Hmm, I added a simple file resource, and now I'm getting this error: "err: Could not run Puppet configuration client: execution expired"
[2011/11/16 11:36:07] <synFlood> and another question on the same topic, is possible to read that list from a text file or parse it somehow? i had like 200 packages and, yes i'm a lazy sysadmin and want to try to avoid awk to generate the .pp file
[2011/11/16 11:36:24] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/11/16 11:36:25] <savid> Ok, it's not because of the file resource. Now it's happening even when I comment it out. Any ideas what causes this?
[2011/11/16 11:36:33] <jorhett> synFlood: yes, we do this. It appears for centos anyway that either package { mypack: ensure => '1.2.3' } or package { 'mypack-1.2.3.el5': } works, and in the case of kernels only the later case works.
[2011/11/16 11:36:49] <walkeran> synFlood: And none of those 200 packages have any sort of dependencies? They have to all be installed individually?
[2011/11/16 11:37:05] <lindenle> <walkeran>: gives an err > Could not run Puppet configuration client: Could not find dependent Package[...]
[2011/11/16 11:37:12] @ Quit: car|0s: Ping timeout: 258 seconds
[2011/11/16 11:37:16] <jorhett> savid: that's a resource contention issue on the puppet master. Either your webrick is overloaded or you need to tune passenger
[2011/11/16 11:37:26] <walkeran> synFlood: If that's the case, my first suggestion would be to create a metapackage that requires them all... then puppet doesn't have to manage all of them separately. Else, you might want to look into extlookup
[2011/11/16 11:37:41] <savid> jorhett, I can't see how anything's overloaded. I only have two nodes right now :-P
[2011/11/16 11:37:44] @ jedi4ever joined channel #puppet
[2011/11/16 11:37:51] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/16 11:38:03] <savid> jorhett, also, I'm not familiar with passenger, I don't think I'm using it.
[2011/11/16 11:38:06] <synFlood> extlookup, ok i will, i'm trying to migrate from a complex kickstart file to a simple one and leave all customizations to puppet
[2011/11/16 11:38:08] <walkeran> lindenle: Eesh :S I wasn't positive that would work, but I was fairly certain it would :(
[2011/11/16 11:38:09] <jorhett> walkeran: we see that exact error when passenger is overqueued.
[2011/11/16 11:38:25] <walkeran> jorhett: walkeran -> savid
[2011/11/16 11:38:35] <aricg> http://privatepaste.com/08dfc971a0 fileserver and auth.conf
[2011/11/16 11:38:36] @ car|0s joined channel #puppet
[2011/11/16 11:38:46] @ brandon_dacrib joined channel #puppet
[2011/11/16 11:38:47] @ Quit: lh_: Quit: Lost terminal
[2011/11/16 11:39:01] <walkeran> savid: Yeah, if you aren't using passenger, and are using the built-in webrick server, you'd probably want to start looking to migrate to passenger or mongrel if you are getting timeouts like that
[2011/11/16 11:39:03] <jorhett> yeah sorry.
[2011/11/16 11:39:24] <jorhett> walkeran: dependancies work just fine if they are available in the configured yum repositories, in my experience.
[2011/11/16 11:39:36] <savid> walkeran, but I only have two nodes connected... there's no way it could be getting overloaded.
[2011/11/16 11:39:51] <jorhett> webrick can only deal with one at a time :)
[2011/11/16 11:39:55] <walkeran> jorhett: Yeah. I was saying if none of those packages were inter-dependent in any way, and actually had to be installed individually, that he should create a metapackage
[2011/11/16 11:40:08] @ doprdele joined channel #puppet
[2011/11/16 11:40:35] <savid> So when you're talking about webrick/passenger, this is on the master's end?
[2011/11/16 11:40:48] <jorhett> or just a simple package { 'package1':; 'package2':; …. }
[2011/11/16 11:40:50] <the_ramink> aricg: I'm more interested in the code that trying to install configs/apache/foo.conf Chances are your paths are off and not matching the module or filesystem
[2011/11/16 11:40:52] <walkeran> savid: In that case, it depends what's actually timing out. It could be timing out building the catalog, or the agent could be timing out while building the list of facts
[2011/11/16 11:40:52] @ pll joined channel #puppet
[2011/11/16 11:40:58] <aricg> the_ramink, ahh.
[2011/11/16 11:41:08] @ Quit: mtsmith: Quit: mtsmith
[2011/11/16 11:41:18] <pll> Anyone here able to fix broken links on docs.puppetlabs.com ?
[2011/11/16 11:41:22] <walkeran> savid: Yes, passenger would be installed on the master
[2011/11/16 11:42:13] <savid> walkeran, here's the output from the agent: http://pastie.org/2873913
[2011/11/16 11:42:28] <walkeran> savid: Use --debug
[2011/11/16 11:42:32] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/16 11:42:35] <aricg> http://privatepaste.com/82bcba7680
[2011/11/16 11:42:55] <walkeran> savid: Actually... that looks just fine. I don't see any errors
[2011/11/16 11:43:16] <aricg> its just a simple class I have used before, on an older version of puppet
[2011/11/16 11:43:51] <jorhett> aricg: you need to put File { require => Package['apache2'] } near the top, since none of those files are safe to run until the package is installed.
[2011/11/16 11:44:09] <jorhett> and probably before => Service['apache2'] too
[2011/11/16 11:44:11] <savid> Oh, interesting. It's timing out on this: [ "$(ls -A /var/www/web/src/)" ]
[2011/11/16 11:44:37] * jorhett blinks
[2011/11/16 11:44:45] <jorhett> where is this syntax?
[2011/11/16 11:44:50] <savid> which makes very little sense. works fine when I run that manually.
[2011/11/16 11:44:53] <the_ramink> aricg: which version of Puppet are you using on the master and clients? We should probably rewrite your site.pp to be more in line with current best practices
[2011/11/16 11:45:07] <the_ramink> and then move on to fixing your apache module
[2011/11/16 11:45:31] <savid> oh, wait, nope, I ran it a second time and it's timing out before that now. wtf?
[2011/11/16 11:45:32] @ zwi joined channel #puppet
[2011/11/16 11:45:32] @ pugnacity joined channel #puppet
[2011/11/16 11:45:46] @ fredden joined channel #puppet
[2011/11/16 11:45:47] @ Quit: fredden: Remote host closed the connection
[2011/11/16 11:46:44] @ mmoya joined channel #puppet
[2011/11/16 11:46:48] <aricg> master and node are running 2.7.6
[2011/11/16 11:46:53] @ pll left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2011/11/16 11:46:54] @ mauve joined channel #puppet
[2011/11/16 11:46:55] @ SQLDarkly joined channel #puppet
[2011/11/16 11:47:33] <savid> I've disabled the puppet agent on the other node, so now the only one connecting is this one. Something must have broken, but I can't tell what.
[2011/11/16 11:48:01] <SQLDarkly> Howdy. Does anyone know what script executes diff? I need to add a few AIX specific items to it as some of th arguments it uses are not in AIX's version of diff.
[2011/11/16 11:48:12] <savid> walkeran, Seems to happen here: debug: Executing '/etc/puppet/etckeeper-commit-post'
[2011/11/16 11:48:34] <walkeran> SQLDarkly: I *think* there's an option you can set in puppet.conf that specifies/overrides the diff options
[2011/11/16 11:48:40] <agaffney> SQLDarkly: grep is your friend
[2011/11/16 11:49:15] <SQLDarkly> agaffney: lol point taken ;)
[2011/11/16 11:49:34] <aricg> Not authorized to call find ... where do i authorize that? I allowed all in fileserver.conf and auth.conf.
[2011/11/16 11:49:52] <aricg> are there sample confs that allow everything, just for testing?
[2011/11/16 11:50:01] <savid> walkeran, jorhett here's full debug output: http://pastie.org/2873946
[2011/11/16 11:50:01] <the_ramink> aricg: cool, what's your site.pp look like? Mine in fairly simple, http://pastie.org/2873949
[2011/11/16 11:50:24] @ Harzilein joined channel #puppet
[2011/11/16 11:50:26] <Harzilein> hi
[2011/11/16 11:51:03] <savid> It doesn't even seem to hang at that point as if it's waiting for anyhting. Doesn't feel like a timeout to me.
[2011/11/16 11:51:15] <walkeran> savid: This person is having the same problem http://groups.google.com/group/puppet-users/browse_thread/thread/b659fd3c802955f3?pli=1 and the answer was to use passenger instead of webrick *shrug*
[2011/11/16 11:51:34] <walkeran> savid: Or, I was wrong. Are you serving a large tree of files?
[2011/11/16 11:51:44] <aricg> the_ramink, its minimal. i was trying to get the file server working before i moved on. http://pastie.org/2873956
[2011/11/16 11:52:05] <aricg> just setting up a demo for pointy hair
[2011/11/16 11:52:09] @ Quit: mauve: Ping timeout: 252 seconds
[2011/11/16 11:52:18] <walkeran> savid: If so, that's likely your problem. I don't think it's actually that etckeeper-commit-post timing out... it's what's happening afterwards
[2011/11/16 11:52:32] <bsg_kwolf> Anyone seen this on 2.7.3? I'm having trouble figuring out where it's coming from: err: Failed to apply catalog: Parameter options failed: Options must be provided as an array, not a comma separated list
[2011/11/16 11:54:05] @ Quit: joe-mac: Remote host closed the connection
[2011/11/16 11:54:25] @ skm joined channel #puppet
[2011/11/16 11:54:42] <rocket> can you require a Tag?
[2011/11/16 11:55:28] <the_ramink> aricg: ditch the classes line, that's striaght out of 0.24. Also you don't need to do any of the fileservering nonsense because you're better off doing it in you modules. It's far simpler to manage it in in a module.
[2011/11/16 11:55:38] @ elmer__ joined channel #puppet
[2011/11/16 11:55:49] @ joe-mac joined channel #puppet
[2011/11/16 11:58:16] <aricg> the_ramink, okay, thanks Ill look at that. It has been some time since i used puppet.
[2011/11/16 11:58:53] <the_ramink> aricg: basicall you want to stop do the class named apache.pp stuff and move to modules.
[2011/11/16 11:59:58] <the_ramink> aricg: Puppet will autoload /etc/puppet/modules/apache/init.pp if you include apache. The modern module structure can look like this. https://github.com/rkhatibi/rdk-puppet-modules/tree/master/apache
[2011/11/16 12:00:48] <the_ramink> aricg: I'd pick up Pro Puppet and start from there. It'll get you up to speed fairly quickly or just toss out the old configs since most of them are hardcoding things that just work now.
[2011/11/16 12:01:23] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/16 12:01:37] <aricg> the_ramink, cool
[2011/11/16 12:02:02] <aricg> is there a quick way to test if serving files will work with the modules method?
[2011/11/16 12:02:08] @ lborda joined channel #puppet
[2011/11/16 12:02:37] @ Quit: adimania: Ping timeout: 240 seconds
[2011/11/16 12:03:27] @ mauve joined channel #puppet
[2011/11/16 12:03:43] <Diranged> anyone got a simple way to say "IF the cups service is installed, make sure its not running"
[2011/11/16 12:03:43] <Diranged> ?
[2011/11/16 12:04:39] @ Quit: doprdele: Ping timeout: 276 seconds
[2011/11/16 12:05:17] <jorhett> service ensure => stopped should work
[2011/11/16 12:05:28] <Harzilein> hmm. how do you guys manage cloud services (that your nodes might rely on). one example i am facing now are google apps for a domains' mailing lists (using the provisioning api)
[2011/11/16 12:05:57] <bsg_kwolf> Anyone seen this on 2.7.3? I'm having trouble figuring out where it's coming from: err: Failed to apply catalog: Parameter options failed: Options must be provided as an array, not a comma separated list
[2011/11/16 12:06:13] <Diranged> jorhett: it fails, saying the cups service doesnt even xist..
[2011/11/16 12:06:15] <jorhett> you prolly just need brackets around your list :)
[2011/11/16 12:06:19] <Diranged> err: /Stage[main]/Initd/Service[cups]: Could not evaluate: Could not find init script for 'cups'
[2011/11/16 12:07:18] <jorhett> diranged: yeah, puppet sucks for that. You could do exec { discups: command => "chkconfig cups off", onlyif => "chkconfig —list |grep cups" }
[2011/11/16 12:07:27] <jorhett> you might need to play with that onlyif option
[2011/11/16 12:07:49] @ Quit: SQLDarkly: Quit: Page closed
[2011/11/16 12:08:00] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/16 12:09:56] @ Transformer joined channel #puppet
[2011/11/16 12:11:33] @ Quit: eal```: Remote host closed the connection
[2011/11/16 12:11:46] @ eal``` joined channel #puppet
[2011/11/16 12:12:15] @ Quit: Transformer: Excess Flood
[2011/11/16 12:13:07] @ Quit: samkottler: Quit: Leaving.
[2011/11/16 12:14:20] @ Ramonster joined channel #puppet
[2011/11/16 12:14:48] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/16 12:17:03] @ Quit: iw_work: Remote host closed the connection
[2011/11/16 12:19:36] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/16 12:20:18] @ skm joined channel #puppet
[2011/11/16 12:21:11] @ elmer__ joined channel #puppet
[2011/11/16 12:21:42] @ Quit: zwi: Ping timeout: 245 seconds
[2011/11/16 12:21:56] @ danikov joined channel #puppet
[2011/11/16 12:22:13] @ chewie71 joined channel #puppet
[2011/11/16 12:22:50] @ zwi joined channel #puppet
[2011/11/16 12:23:15] @ Quit: danikov: Client Quit
[2011/11/16 12:23:29] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/16 12:24:54] <rocket> Diranged: service { cups: ensure => disabled }
[2011/11/16 12:24:57] <rocket> wouldnt that work?
[2011/11/16 12:25:39] <chewie71> I want to grab the major OS ver from $operatingsystemrelease. It returns 5.6 or 5.7 for example. I need just the '5' value from that to put in a baseurl for my Yum module I'm writing. Is there an easy way to do that?
[2011/11/16 12:26:35] <chewie71> Can I use ruby in the .pp files? (e.g. $operatingsystemrelease.split('.')[0])
[2011/11/16 12:27:03] <jbaldridge> use an inline template
[2011/11/16 12:27:08] <bsg_kwolf> Are you pointing at a mirror you setup or a full repo?
[2011/11/16 12:27:21] <bsg_kwolf> if a full repo, you don't really need to worry about the 5 vs 5.7.
[2011/11/16 12:27:26] <rocket> chewie71: lsbmajdistrelease => 5
[2011/11/16 12:27:31] <chewie71> I'm trying to point to the Puppet repo
[2011/11/16 12:27:31] <rocket> thats on my system
[2011/11/16 12:27:47] <rocket> chewie71: just use ${lsbmajdistrelease}
[2011/11/16 12:28:12] @ felipe` joined channel #puppet
[2011/11/16 12:29:12] @ doprdele joined channel #puppet
[2011/11/16 12:30:22] <chewie71> rocket: doesn't seem like I'm getting that facter value from the CentOS host
[2011/11/16 12:30:39] @ Djelibeybi joined channel #puppet
[2011/11/16 12:30:48] <walkeran> chewie71: do you have redhat-lsb installed?
[2011/11/16 12:30:50] <rocket> I am using puppet 6 on Centos 5.X
[2011/11/16 12:31:23] @ samkottler joined channel #puppet
[2011/11/16 12:31:28] @ Quit: Holocaine:
[2011/11/16 12:31:56] <the_ramink> chewie71: you can also let yum do the work, it'll fill in releasever and some other variables itself. https://github.com/rkhatibi/rdk-puppet-modules/blob/master/yum/manifests/atrpms.pp
[2011/11/16 12:32:29] @ Quit: car|0s: Remote host closed the connection
[2011/11/16 12:35:24] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/16 12:36:06] @ skm joined channel #puppet
[2011/11/16 12:36:13] @ Quit: skm: Client Quit
[2011/11/16 12:37:07] @ mpdude joined channel #puppet
[2011/11/16 12:38:03] @ jodok joined channel #puppet
[2011/11/16 12:38:04] @ Quit: jodok: Changing host
[2011/11/16 12:38:04] @ jodok joined channel #puppet
[2011/11/16 12:39:23] @ fredden joined channel #puppet
[2011/11/16 12:41:09] @ iw_work joined channel #puppet
[2011/11/16 12:42:52] @ oozbooz joined channel #puppet
[2011/11/16 12:44:32] @ maes_ joined channel #puppet
[2011/11/16 12:44:33] @ Quit: maes_`: Read error: Connection reset by peer
[2011/11/16 12:44:59] @ Quit: natewalck: Quit: Outta here
[2011/11/16 12:45:07] @ Quit: synFlood: Quit: Page closed
[2011/11/16 12:50:37] @ Quit: doprdele: Ping timeout: 240 seconds
[2011/11/16 12:51:34] @ Quit: toi: Ping timeout: 258 seconds
[2011/11/16 12:57:24] @ ciupicri left channel #puppet ("Leaving")
[2011/11/16 12:58:21] @ Quit: jsurfer: Quit: jsurfer
[2011/11/16 13:00:05] @ doprdele joined channel #puppet
[2011/11/16 13:00:09] @ Quit: oozbooz: Quit: Leaving
[2011/11/16 13:00:13] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/16 13:02:21] @ Quit: mauve: Quit: Leaving
[2011/11/16 13:02:39] @ Shanlar_ is now known as Shanlar
[2011/11/16 13:05:33] @ Quit: key: Remote host closed the connection
[2011/11/16 13:05:45] @ Quit: kaptk2: Quit: Leaving.
[2011/11/16 13:09:23] @ maplebed joined channel #puppet
[2011/11/16 13:10:15] @ Quit: mattswe: Ping timeout: 252 seconds
[2011/11/16 13:10:44] @ shadoi joined channel #puppet
[2011/11/16 13:11:16] <aricg> the_ramink, everything is working great for me now. thanks for the help (and advice)
[2011/11/16 13:11:55] <maplebed> I'm wondering about maintaining my list of memcached servers in the client config, andd it feels like I should use exported resources to do it.
[2011/11/16 13:12:10] <maplebed> my goal is a list of hostnames in a variable I can use in a template
[2011/11/16 13:12:24] <maplebed> with the list being populated by every server that's a member of the memcached server class.
[2011/11/16 13:12:30] <maplebed> does that seem reasonable?
[2011/11/16 13:12:38] <the_ramink> aricg: awesome and good luck with your demo
[2011/11/16 13:13:29] <maplebed> if so, I don't understand how to popuplate a variable appropriately with the export stuff puppet syntax.
[2011/11/16 13:13:37] <maplebed> (reading through http://docs.puppetlabs.com/guides/exported_resources.html)
[2011/11/16 13:14:46] @ Quit: zwi: Quit: Leaving.
[2011/11/16 13:14:53] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 13:15:47] @ mitchellh joined channel #puppet
[2011/11/16 13:17:36] @ Quit: williemach: Ping timeout: 248 seconds
[2011/11/16 13:19:55] @ Quit: motomike: Remote host closed the connection
[2011/11/16 13:20:54] @ Quit: cruzfox: Quit: cruzfox
[2011/11/16 13:20:58] @ williemach joined channel #puppet
[2011/11/16 13:21:14] @ motomike joined channel #puppet
[2011/11/16 13:21:23] @ Holocaine joined channel #puppet
[2011/11/16 13:23:56] @ cruzfox joined channel #puppet
[2011/11/16 13:24:37] @ intransigent007 joined channel #puppet
[2011/11/16 13:25:14] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2011/11/16 13:25:15] @ benkevan joined channel #puppet
[2011/11/16 13:25:29] <intransigent007> any chance the puppet learning "part 2" will become available soon?
[2011/11/16 13:25:48] @ Quit: riftman: Remote host closed the connection
[2011/11/16 13:26:22] @ danikov joined channel #puppet
[2011/11/16 13:27:17] @ lak joined channel #puppet
[2011/11/16 13:27:17] @ Quit: lak: Changing host
[2011/11/16 13:27:17] @ lak joined channel #puppet
[2011/11/16 13:27:34] @ djm68 joined channel #puppet
[2011/11/16 13:29:29] @ Quit: lak: Client Quit
[2011/11/16 13:30:41] @ riftman joined channel #puppet
[2011/11/16 13:30:55] @ pll joined channel #puppet
[2011/11/16 13:31:25] @ Quit: riftman: Client Quit
[2011/11/16 13:31:29] @ LoRez joined channel #puppet
[2011/11/16 13:31:41] @ riftman joined channel #puppet
[2011/11/16 13:32:39] <LoRez> is there any way to get puppet to make augeas blocks predepend on a the proper package being installed or am I just going to have to ensure libaugeas-ruby's installed before enrolling a host?
[2011/11/16 13:33:28] <Dominic> LoRez: the latter, as puppet evaluates whether a provider can run before it ever runs the catalog
[2011/11/16 13:33:57] <LoRez> uggg.
[2011/11/16 13:34:12] <Dominic> LoRez: or do some sort of bootstrapping (maybe a bootstrap environment, then install the packages and reconfigure the client to the normal prod one)
[2011/11/16 13:35:06] <LoRez> if I didn't have 100+ of these boxes going out the door and needing to be enrolled already
[2011/11/16 13:39:17] @ key joined channel #puppet
[2011/11/16 13:40:15] @ Quit: doprdele: Ping timeout: 258 seconds
[2011/11/16 13:41:19] @ Quit: samkottler: Quit: Leaving.
[2011/11/16 13:43:37] <comptona> LoRez: you might specify an alternate environment for those new machines that installs libaugeas-ruby and has no augeas code; I'm not sure if that will avoid running the augeas provider check but it might be worth investigating
[2011/11/16 13:43:40] @ cyflea joined channel #puppet
[2011/11/16 13:44:41] <LoRez> was easier to ask the guy mastering the preseeded system image to put that package on there than try and bootstrap them in puppet
[2011/11/16 13:44:51] <comptona> nm then :)
[2011/11/16 13:45:44] @ mattswe joined channel #puppet
[2011/11/16 13:47:41] @ pll left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2011/11/16 13:48:34] @ tilgovi joined channel #puppet
[2011/11/16 13:48:48] @ Quit: cyflea: Quit: rcirc on GNU Emacs 24.0.90.1
[2011/11/16 13:48:48] @ tr41n_ joined channel #puppet
[2011/11/16 13:49:57] @ Quit: i0n: Read error: Operation timed out
[2011/11/16 13:50:17] @ Quit: mattswe: Ping timeout: 240 seconds
[2011/11/16 13:51:29] @ BManojlovic joined channel #puppet
[2011/11/16 13:51:30] @ Quit: BManojlovic: Changing host
[2011/11/16 13:51:30] @ BManojlovic joined channel #puppet
[2011/11/16 13:52:11] @ doprdele joined channel #puppet
[2011/11/16 13:54:40] @ skm joined channel #puppet
[2011/11/16 13:55:54] <intransigent007> any advantage to using git for a puppet repo rather than subversion?
[2011/11/16 13:56:06] @ zwi joined channel #puppet
[2011/11/16 13:57:40] <barn> intransigent007: cheaper branches, speed
[2011/11/16 13:59:10] @ Quit: benkevan: Quit: leaving
[2011/11/16 13:59:45] <intransigent007> The problem is we already have a couple subversion servers, introducing yet another version control system is going to get shit. :(
[2011/11/16 14:00:10] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 14:00:53] <intransigent007> I wish I had a reason beyond speed...
[2011/11/16 14:03:02] @ Spads joined channel #puppet
[2011/11/16 14:04:40] <the_ramink> intransigent007: I use git because we're doing everything else in git. Might be a reason if you had lots of environments, branches, etc but otherwise I don't see a large technical reason to implement a new scm just for puppet in your environment
[2011/11/16 14:05:08] @ RhysMorgan joined channel #puppet
[2011/11/16 14:05:10] <Volcane> +1
[2011/11/16 14:05:17] @ Mode -o Volcane by Volcane
[2011/11/16 14:05:33] @ Quit: doprdele: Ping timeout: 276 seconds
[2011/11/16 14:05:36] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/11/16 14:05:48] <Volcane> the branching heavy workflow git promotes can also just be a PITA for sysad teams that arent big and often just make tiny changes
[2011/11/16 14:06:21] @ showy joined channel #puppet
[2011/11/16 14:06:51] @ Quit: RhysMorgan: Client Quit
[2011/11/16 14:07:32] <intransigent007> Thanks guys, guess we'll stick with subversion.
[2011/11/16 14:07:42] @ erodriguez joined channel #puppet
[2011/11/16 14:07:46] @ zwi1 joined channel #puppet
[2011/11/16 14:08:12] @ Quit: uphillian: Quit: Leaving.
[2011/11/16 14:08:14] @ benkevan joined channel #puppet
[2011/11/16 14:09:08] @ Quit: zwi1: Client Quit
[2011/11/16 14:09:40] @ Quit: zwi: Ping timeout: 244 seconds
[2011/11/16 14:10:13] @ Quit: cruzfox: Quit: cruzfox
[2011/11/16 14:11:52] <showy> hi, why would puppet not recognize fact variables ?
[2011/11/16 14:12:28] <hajile> showy: can you pastebin an error and the associated modules or related files?
[2011/11/16 14:12:42] <showy> sure
[2011/11/16 14:12:43] @ miche joined channel #puppet
[2011/11/16 14:13:05] @ fir31ight joined channel #puppet
[2011/11/16 14:13:44] @ cruzfox joined channel #puppet
[2011/11/16 14:15:06] @ Mode +o jhelwig by ChanServ
[2011/11/16 14:15:10] <Hunner> intransigent007: If you have a workflow that is impossible with SVN, then yes. Such as, split dev/prod puppet masters and go for the integration manager workflow: http://whygitisbetterthanx.com/#any-workflow
[2011/11/16 14:15:32] @ zwi joined channel #puppet
[2011/11/16 14:15:36] <Hunner> Commit permissions based on repo location is another one
[2011/11/16 14:15:55] <Hunner> (and inter-repo merges)
[2011/11/16 14:16:01] @ emergion joined channel #puppet
[2011/11/16 14:16:06] <Hunner> ... which I guess is just another workflow
[2011/11/16 14:16:36] @ Quit: Whoop: Ping timeout: 276 seconds
[2011/11/16 14:16:38] @ jhelwig set topic "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Important Security Announcement: http://bit.ly/AltNames | Puppet 2.7.6 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A"
[2011/11/16 14:16:57] <Hunner> intransigent007: How about committing partial work? You can commit only some changes instead of all changed files in git, but svn is all-or-nothing
[2011/11/16 14:17:26] @ Mode -o jhelwig by ChanServ
[2011/11/16 14:17:32] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/16 14:17:42] <showy> hajite:http://pastebin.com/wjixe26P
[2011/11/16 14:17:47] @ Whoop joined channel #puppet
[2011/11/16 14:17:48] @ Quit: Whoop: Changing host
[2011/11/16 14:17:48] @ Whoop joined channel #puppet
[2011/11/16 14:17:50] <showy> hajile:http://pastebin.com/wjixe26P
[2011/11/16 14:18:08] @ scsinutz joined channel #puppet
[2011/11/16 14:18:18] @ scsinutz left channel #puppet ()
[2011/11/16 14:18:21] @ Quit: lawnchair: Quit: Reconnecting
[2011/11/16 14:18:25] @ lawnchair joined channel #puppet
[2011/11/16 14:18:47] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 14:19:07] <intransigent007> we will have three branches: dev, qa, prod with dev+qa on one puppet master and prod on an entirely seperate one. We want to simplify the deployment pipeline as much as politics will allow
[2011/11/16 14:19:14] @ mitchellh joined channel #puppet
[2011/11/16 14:19:37] @ Quit: alanna: Remote host closed the connection
[2011/11/16 14:20:04] @ RhysMorgan joined channel #puppet
[2011/11/16 14:20:06] <the_ramink> intransigent007: +1 for what Volcane said as well. I'm the only person who uses puppet in my office. My work flow is mostly tagging master as various points. Also I find that most sysadmins tend to copy whatever devel is doing
[2011/11/16 14:20:43] @ lak joined channel #puppet
[2011/11/16 14:20:43] @ Quit: lak: Changing host
[2011/11/16 14:20:43] @ lak joined channel #puppet
[2011/11/16 14:22:34] @ doprdele joined channel #puppet
[2011/11/16 14:23:10] <hajile> showy: on that system, do you get output from "facter hostname"
[2011/11/16 14:23:30] <showy> yes
[2011/11/16 14:23:35] <showy> facter runs fine
[2011/11/16 14:23:48] <hajile> ok
[2011/11/16 14:24:00] <hajile> have you tried notify { "$::hostname": }
[2011/11/16 14:24:14] <hajile> who knows if that'd fix it, but it's worth a shot
[2011/11/16 14:24:22] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/11/16 14:24:31] <showy> same result, undef
[2011/11/16 14:24:32] <hajile> and do you have other hosts where this same notify is working fine?
[2011/11/16 14:24:34] <hajile> hmm.
[2011/11/16 14:24:39] @ alanna joined channel #puppet
[2011/11/16 14:24:41] @ dgillies joined channel #puppet
[2011/11/16 14:24:51] <showy> yes, this host is a recent installation
[2011/11/16 14:25:00] @ steakknife joined channel #puppet
[2011/11/16 14:25:12] <showy> the problem just appreared, and i reinstalled the OS three times
[2011/11/16 14:25:45] <hajile> sudo puppet --genconfig | grep factpath
[2011/11/16 14:25:59] <hajile> hm nm
[2011/11/16 14:26:02] <nlew> showy: Which version of Puppet/Facter?
[2011/11/16 14:26:04] <hajile> that's not gonna help in this case
[2011/11/16 14:26:46] <showy> puppet 0.24.8 (all host runing this version , ubuntu karmic last updated pkg) facter 1.5.4
[2011/11/16 14:26:59] <hajile> ouch
[2011/11/16 14:27:00] <showy> facpath=$vardir/facts
[2011/11/16 14:27:21] <showy> $vardir=/var/lib/puppet/
[2011/11/16 14:28:01] <showy> i've got some custom facts, not working either
[2011/11/16 14:28:15] <nlew> showy: Is your puppet master also 0.24.8?
[2011/11/16 14:28:46] <showy> nope, puppetmaster 2.6.9
[2011/11/16 14:29:03] <showy> in any case, this problem is not master specific
[2011/11/16 14:31:25] @ Quit: labrown: Quit: Leaving
[2011/11/16 14:31:48] <bodepd> lynxman: pong
[2011/11/16 14:33:06] <lynxman> bodepd: hello there :)
[2011/11/16 14:33:49] @ Quit: hartmut_: Ping timeout: 240 seconds
[2011/11/16 14:34:00] @ pugnacity joined channel #puppet
[2011/11/16 14:39:52] @ Quit: doprdele: Ping timeout: 240 seconds
[2011/11/16 14:44:57] @ mosen joined channel #puppet
[2011/11/16 14:45:00] @ Quit: alanna: Remote host closed the connection
[2011/11/16 14:45:54] @ Quit: rharrison: Quit: Leaving
[2011/11/16 14:45:58] @ Ebron joined channel #puppet
[2011/11/16 14:46:34] @ alanna joined channel #puppet
[2011/11/16 14:47:08] @ Quit: Davea1: Quit: Leaving
[2011/11/16 14:47:35] <savid> I have a file resource that's a directory, and I want to ensure all files contained within the directory have a specific user and group, and I want to ensure the directory itself has mode 775, and that all child directories and files have mode 775/664 respectively. How can I do that?
[2011/11/16 14:48:18] <savid> I've found that if I set 775 it sets all child files to executable
[2011/11/16 14:48:53] <the_ramink> savid, try setting it to 664. IIRC Puppet will automatically add the +x to all dirs
[2011/11/16 14:48:56] @ Quit: zwi: Quit: Leaving.
[2011/11/16 14:49:15] @ Quit: lborda: Quit: Ex-Chat
[2011/11/16 14:49:39] <savid> the_ramink, actually I mis-spoke. I want all files to be g+rw, and I want the "x" bit to stay as-is
[2011/11/16 14:50:02] <savid> problem is if I set 644 on the directory, it changes files that are supposed to be executable to non-executable.
[2011/11/16 14:50:17] <dpittman> savid: We don't have a good solution to that, currently.
[2011/11/16 14:50:29] <hajile> dpittman: Did you see my msg about that bug?
[2011/11/16 14:50:29] <dpittman> savid: ...other than to make the permissions on the source files correct, and leave them unspecified in Puppet.
[2011/11/16 14:50:31] <savid> effectively, I'm wanting this: "chown -R user:group <dir>" and "chmod -R g+rw <dir>"
[2011/11/16 14:50:34] <dpittman> hajile: *nod*
[2011/11/16 14:50:42] <dpittman> hajile: Have been off sick for a while though. :)
[2011/11/16 14:50:46] <hajile> dpittman: so why did you think it was actually a bug?
[2011/11/16 14:50:52] <the_ramink> savid, don't set anything and let Puppet do a direct copy and make sure you've got permissions right on the Puppet server?
[2011/11/16 14:50:55] <hajile> dpittman: Ahhh sorry to hear that
[2011/11/16 14:50:55] <savid> dpittman, these files are actually generated by another process
[2011/11/16 14:51:13] <dpittman> hajile: It sounded like the logic to automatically add aliases was not working. :)
[2011/11/16 14:51:29] <dpittman> savid: *nod* For now, you probably want to just use `exec` and an external script. Sorry.
[2011/11/16 14:51:29] <savid> the_ramink, the directory itself is created by another process (python/virtualenv)
[2011/11/16 14:51:31] <hajile> dpittman: Well the person who closed it made it sound like that was intended behavior.
[2011/11/16 14:51:54] @ Spads_ joined channel #puppet
[2011/11/16 14:51:55] <dpittman> hajile: *nod* I could have been mistaken; I have to go review that and double check if I missed something. Which is entirely possible.
[2011/11/16 14:51:56] <savid> dpittman, alright. that was going to be my fallback :-)
[2011/11/16 14:52:14] <dpittman> savid: Hopefully we should have a better solution soon, but right now, nothing much. :(
[2011/11/16 14:53:48] <mpdude> luke? nick`
[2011/11/16 14:53:51] <mpdude> ?
[2011/11/16 14:54:48] @ Quit: sduchesneau: Quit: Leaving
[2011/11/16 14:54:50] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/16 14:55:18] @ Quit: Spads: Ping timeout: 252 seconds
[2011/11/16 14:55:22] @ Boltsky joined channel #puppet
[2011/11/16 14:59:11] @ st33v joined channel #puppet
[2011/11/16 14:59:29] @ Quit: st33v: Client Quit
[2011/11/16 15:01:19] @ Quit: key: Remote host closed the connection
[2011/11/16 15:01:38] @ doprdele joined channel #puppet
[2011/11/16 15:02:17] @ Quit: diq: Remote host closed the connection
[2011/11/16 15:02:27] <hajile> dpittman: Well let me know if I can help.. it does make sense that you should have to explicitly call out the name of your puppetmaster, but it's not abundantly clear in the docs that this behavior has changed.
[2011/11/16 15:03:03] <hajile> in the initial setup docs, that is
[2011/11/16 15:03:24] @ Beast joined channel #puppet
[2011/11/16 15:03:35] @ bman1 joined channel #puppet
[2011/11/16 15:05:22] <LoRez> is there a way to grab a part of the node name to use in a template file?
[2011/11/16 15:05:36] <hajile> sure, what do you want to grab
[2011/11/16 15:05:44] <hajile> you can use ruby in the template file
[2011/11/16 15:05:51] <bman1> once u move from factsync to pluginsync is it required to move custom facts into the plugin dir?
[2011/11/16 15:06:00] @ Quit: emergion: Ping timeout: 276 seconds
[2011/11/16 15:06:01] <LoRez> don't know ruby unfortunately.
[2011/11/16 15:06:16] <hajile> <%= hostname.slice(/regex that matches what you want/) %>
[2011/11/16 15:06:23] <hajile> or something similar
[2011/11/16 15:06:51] <hajile> ok, what do you want to grab and what's your nodename?
[2011/11/16 15:06:52] <LoRez> hostname's just defined for me there?
[2011/11/16 15:06:56] <hajile> yes
[2011/11/16 15:07:02] <hajile> sorry, let me rewrite that
[2011/11/16 15:07:16] <hajile> <%= scope.lookupvar('::hostname').slice(/regex that matches what you want/) %>
[2011/11/16 15:07:18] <hajile> :)
[2011/11/16 15:07:22] @ tizzo-afk joined channel #puppet
[2011/11/16 15:07:37] <hajile> it's a fact in the global scope
[2011/11/16 15:07:45] <LoRez> it's in the form of s%03i-srv01.blah, but I need the integer version of that number that's being formatted
[2011/11/16 15:08:33] <hajile> so which number
[2011/11/16 15:08:35] <hajile> ?
[2011/11/16 15:08:43] <LoRez> the three digit one
[2011/11/16 15:08:59] <hajile> is that supposed to be "s#03i"
[2011/11/16 15:09:15] <hajile> where # is variable?
[2011/11/16 15:09:27] <LoRez> no %03i is a standard printf format
[2011/11/16 15:09:37] <hajile> oh i see
[2011/11/16 15:09:38] <LoRez> a normal one would be s001-srv01
[2011/11/16 15:09:41] <hajile> got it.
[2011/11/16 15:10:07] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/11/16 15:10:24] @ emergion joined channel #puppet
[2011/11/16 15:10:47] @ Quit: benkevan: Quit: leaving
[2011/11/16 15:10:57] <LoRez> I'm using it for an ip address octet
[2011/11/16 15:11:00] @ Quit: alanna: Remote host closed the connection
[2011/11/16 15:12:08] @ alanna joined channel #puppet
[2011/11/16 15:12:13] @ Quit: alanna: Remote host closed the connection
[2011/11/16 15:12:25] <hajile> ok, so you can just do this:
[2011/11/16 15:12:25] @ alanna joined channel #puppet
[2011/11/16 15:13:16] @ Quit: davidr: Ping timeout: 255 seconds
[2011/11/16 15:13:32] <hajile> <%= scope.lookupvar('::hostname').slice(/(\d{3,})/).to_i %>
[2011/11/16 15:14:03] <hajile> to_i will strip off leading 0s
[2011/11/16 15:14:04] <hajile> FYI.
[2011/11/16 15:14:25] <LoRez> that's what I need
[2011/11/16 15:14:27] @ Quit: doprdele: Ping timeout: 276 seconds
[2011/11/16 15:14:50] <hajile> to test this, fire up irb and assign a variable hostname="your.hostname"
[2011/11/16 15:15:08] <hajile> and just say hostname.slice(/(\d{3,})/).to_i
[2011/11/16 15:15:25] <hajile> hope that helps, i gotta run!
[2011/11/16 15:16:19] @ doprdele joined channel #puppet
[2011/11/16 15:18:04] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 15:18:53] @ Quit: mpdude: Remote host closed the connection
[2011/11/16 15:20:36] <windowsrefund> is Ken Barber here?
[2011/11/16 15:23:48] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 15:24:14] @ Quit: Spads_: Quit: Reconnecting
[2011/11/16 15:24:31] @ Spads joined channel #puppet
[2011/11/16 15:25:38] @ davidr joined channel #puppet
[2011/11/16 15:26:58] @ Quit: themadcanudist: Quit: Leaving.
[2011/11/16 15:27:20] @ mitchellh joined channel #puppet
[2011/11/16 15:28:58] @ Quit: colon_D: Ping timeout: 260 seconds
[2011/11/16 15:29:01] @ Quit: bosszaru: Quit: Leaving.
[2011/11/16 15:29:44] @ bosszaru joined channel #puppet
[2011/11/16 15:30:00] @ Quit: tilgovi: Remote host closed the connection
[2011/11/16 15:32:07] @ steakknife left channel #puppet ()
[2011/11/16 15:34:15] @ Quit: jodok: Remote host closed the connection
[2011/11/16 15:34:31] @ jodok joined channel #puppet
[2011/11/16 15:34:31] @ Quit: jodok: Changing host
[2011/11/16 15:34:31] @ jodok joined channel #puppet
[2011/11/16 15:34:51] <bman1> got an ancient version of puppet :( and trying to move off factsync ( since its not working, to pluginsync) anyone know why it would fail to download facts if I set the plugin location to the same place as the old fact location?
[2011/11/16 15:36:02] @ colon_D joined channel #puppet
[2011/11/16 15:38:43] @ zwi joined channel #puppet
[2011/11/16 15:40:11] @ jodok_ joined channel #puppet
[2011/11/16 15:40:12] @ Quit: jodok_: Changing host
[2011/11/16 15:40:12] @ jodok_ joined channel #puppet
[2011/11/16 15:40:40] @ Quit: doprdele: Ping timeout: 240 seconds
[2011/11/16 15:42:02] @ Quit: tremble: Ping timeout: 260 seconds
[2011/11/16 15:42:58] @ Quit: jodok: Ping timeout: 260 seconds
[2011/11/16 15:42:58] @ jodok_ is now known as jodok
[2011/11/16 15:43:17] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/16 15:45:36] @ Quit: emergion: Ping timeout: 258 seconds
[2011/11/16 15:45:36] <dpittman> hajile: *nod* Thanks for that. Your help is awesome. :)
[2011/11/16 15:46:01] @ emergion joined channel #puppet
[2011/11/16 15:49:38] @ Quit: Shanlar: Read error: Connection reset by peer
[2011/11/16 15:49:48] @ Shanlar joined channel #puppet
[2011/11/16 15:50:50] @ Quit: rejectreality: Read error: Connection reset by peer
[2011/11/16 15:51:05] @ Quit: MattTheRat: Ping timeout: 240 seconds
[2011/11/16 15:51:19] @ rejectreality joined channel #puppet
[2011/11/16 15:51:19] @ Quit: rejectreality: Changing host
[2011/11/16 15:51:19] @ rejectreality joined channel #puppet
[2011/11/16 15:52:20] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/16 15:52:33] @ Chillax joined channel #puppet
[2011/11/16 15:52:40] @ MattTheRat joined channel #puppet
[2011/11/16 15:53:31] @ orkaa joined channel #puppet
[2011/11/16 15:54:11] @ Quit: cjz: Quit: Leaving.
[2011/11/16 15:54:31] @ Quit: zwi: Quit: Leaving.
[2011/11/16 15:55:37] @ tremble joined channel #puppet
[2011/11/16 15:55:37] @ Quit: tremble: Changing host
[2011/11/16 15:55:37] @ tremble joined channel #puppet
[2011/11/16 15:56:33] @ zwi joined channel #puppet
[2011/11/16 15:57:51] <jorhett> wow, that's a very odd security situation in #10908
[2011/11/16 15:57:51] <gepetto> jorhett: wow: #10908 is http://projects.puppetlabs.com/issues/show/10908 "Puppet - Bug #10908: security problem -- puppet executing files in local directory, ignoring configured path when running OnlyIf/Unless. It has a status of Unreviewed and is assigned to -"
[2011/11/16 15:59:06] @ Quit: Diranged: Quit: Leaving.
[2011/11/16 15:59:07] @ Quit: spiette: Quit: Leaving
[2011/11/16 15:59:24] @ Quit: zwi: Client Quit
[2011/11/16 16:00:00] @ Quit: jodok: Quit: jodok
[2011/11/16 16:00:16] @ Quit: iw_work: Quit: Leaving
[2011/11/16 16:01:12] @ tilgovi joined channel #puppet
[2011/11/16 16:01:13] @ Quit: tilgovi: Changing host
[2011/11/16 16:01:13] @ tilgovi joined channel #puppet
[2011/11/16 16:05:16] @ Quit: neonflux: Quit: Leaving.
[2011/11/16 16:07:52] @ Quit: dan__t: Ping timeout: 240 seconds
[2011/11/16 16:08:10] <joe-mac> windowsrefund: doesn't look like it
[2011/11/16 16:09:35] @ Quit: alanna: Remote host closed the connection
[2011/11/16 16:10:02] <intransigent007> Anyone know when will the 2012 training schedule be available?
[2011/11/16 16:10:41] <Volcane> intransigent007: best to drop a mail to sales@puppetlabs.com and ask
[2011/11/16 16:12:12] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/16 16:12:54] <matchaw> Does anyone know my typo here :: uri => 'http://apt.puppetlabs.com/${operatingsystem}'
[2011/11/16 16:12:59] <matchaw> I am passing uri to a define.
[2011/11/16 16:13:03] @ samkottler joined channel #puppet
[2011/11/16 16:13:28] <jorhett> your variable won't be expanded inside single quotes
[2011/11/16 16:14:55] <matchaw> ah, let me try that.
[2011/11/16 16:16:48] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/16 16:16:51] @ Quit: DJClean: Read error: Operation timed out
[2011/11/16 16:18:21] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/16 16:18:31] @ benkevan joined channel #puppet
[2011/11/16 16:22:46] @ Quit: djm68: Quit: leaving
[2011/11/16 16:24:07] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/16 16:24:07] @ themadcanudist joined channel #puppet
[2011/11/16 16:24:35] @ Quit: joshcooper: Quit: joshcooper
[2011/11/16 16:27:15] <matchaw> what can we use to convert a string to all lower case within a manifest?
[2011/11/16 16:27:20] @ elmer__ joined channel #puppet
[2011/11/16 16:28:31] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/16 16:28:35] <kjetilho> inline_template :-p
[2011/11/16 16:28:43] <kjetilho> or write your own trivial custom function
[2011/11/16 16:29:01] <kjetilho> I wouldn't be surprised if it is in stdlib
[2011/11/16 16:29:14] <kjetilho> (a module you can download and install)
[2011/11/16 16:29:29] @ skm joined channel #puppet
[2011/11/16 16:29:47] @ Quit: benkevan: Quit: leaving
[2011/11/16 16:30:07] @ Quit: lak: Quit: Leaving.
[2011/11/16 16:30:32] @ mattswe joined channel #puppet
[2011/11/16 16:33:59] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/16 16:34:09] <matchaw> kjetilho, thanks.
[2011/11/16 16:34:14] @ ghg joined channel #puppet
[2011/11/16 16:34:22] @ benjiedmund joined channel #puppet
[2011/11/16 16:34:41] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/16 16:36:14] @ Quit: alfism: Quit: alfism
[2011/11/16 16:36:37] @ trickyf joined channel #puppet
[2011/11/16 16:38:49] <intransigent007> There's no precedence inside a node type when using includes correct?
[2011/11/16 16:39:22] <intransigent007> so if one module requires another then it needs to state so inside the module I assume
[2011/11/16 16:39:44] @ Quit: benjiedmund: Ping timeout: 248 seconds
[2011/11/16 16:40:06] <torrancew> intransigent007: correct
[2011/11/16 16:40:17] <the_ramink> intransigent007: correct. The only order is the order you impose. If you think of it as a dependency graph it makes more sense. It starts out completely flat. As you set order the graph starts to take shape.
[2011/11/16 16:41:25] <intransigent007> when you require a class from another module what does that look like?
[2011/11/16 16:41:49] @ Quit: trickyf: Quit: Leaving.
[2011/11/16 16:43:27] <the_ramink> intransigent007: just a standard include. In this case I'm added collectd::apache and logrotate::apache, https://github.com/rkhatibi/rdk-puppet-modules/blob/master/apache/manifests/init.pp
[2011/11/16 16:43:58] @ Quit: geekbri: Remote host closed the connection
[2011/11/16 16:44:46] <anrxc> the_ramink: what would be require module::class something like a require => Object in a type, only in this case class depends on it?
[2011/11/16 16:45:26] @ Quit: matchaw: Remote host closed the connection
[2011/11/16 16:45:46] <intransigent007> the_ramink: thanks, so I just "include" the module within the module that depends on it, instead of doing so within the node resource?
[2011/11/16 16:46:16] <anrxc> http://www.mail-archive.com/puppet-users@googlegroups.com/msg21925.html
[2011/11/16 16:46:18] <anrxc> here's the answer
[2011/11/16 16:46:24] <anrxc> include vs require
[2011/11/16 16:46:37] @ RhysMorgan joined channel #puppet
[2011/11/16 16:48:06] <anrxc> another email says newer puppet versions have a require function that does both at once
[2011/11/16 16:48:30] <anrxc> includes and creates a dependancy
[2011/11/16 16:49:03] <the_ramink> anrxc: require apache isn't very usefule if you're subclassing because that does not transfer the require to apache::install, apache::config, apache::service unless you're doing the class anchor stuff with the puppet stlib.
[2011/11/16 16:49:39] <anrxc> really? thanks
[2011/11/16 16:50:04] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/16 16:50:41] <the_ramink> intransigent007: yep. Some people do module/$customer_name/manifests/$assorted_hostgroups
[2011/11/16 16:52:33] @ peridot joined channel #puppet
[2011/11/16 16:53:49] <the_ramink> anrxc: yep though I suppose you could do require apache::config, apache::install, etc within your apache class.
[2011/11/16 16:54:21] @ Quit: mitchellh: Quit: ZOMG BYE
[2011/11/16 16:55:08] <tobert> huh, am I missing something or is there not a fact that is clearly just the region, e.g. "us-east-1", "us-west-2"?
[2011/11/16 16:55:23] @ Quit: williemach: Quit: Leaving.
[2011/11/16 16:57:07] <intransigent007> the_ramink: so the only problem I see with this is that it's no longer clear at a node level that the mysql module is being used if it's being included within another module. I guess that's just a matter of #comments huh
[2011/11/16 16:57:19] @ peridot left channel #puppet ()
[2011/11/16 16:57:19] <the_ramink> tobert: ec2_placement_availability_zone?
[2011/11/16 16:58:14] <the_ramink> intransigent007: sure though include hostgroup::database is in some ways *more* clear on intent than include mysql :)
[2011/11/16 16:59:10] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 16:59:29] @ RhysMorgan joined channel #puppet
[2011/11/16 17:00:44] @ Quit: un1x01d: Remote host closed the connection
[2011/11/16 17:02:34] @ Quit: alanevans: Remote host closed the connection
[2011/11/16 17:05:21] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/16 17:06:28] @ peridot joined channel #puppet
[2011/11/16 17:06:32] <tobert> the_ramink: that includes the letter on the end - I'll just add a custom fact to strip that off
[2011/11/16 17:10:48] @ Quit: ghg: Ping timeout: 276 seconds
[2011/11/16 17:12:07] @ ghg joined channel #puppet
[2011/11/16 17:13:13] <the_ramink> tobert: oh right the letter. hmmm looks like ec2 assumes you know what region you're in and doesn't supply it as part of the meta-data api
[2011/11/16 17:16:30] <bosszaru> tobert: got fed up and collect ec2 facts with this https://github.com/maguec/devops/blob/master/puppet/facter/ec2_facts.rb
[2011/11/16 17:16:32] <peridot> Do people routinely run puppet in noop mode so that any changes can be approved/reviewed first? If so, how do they manage the notification of a change?
[2011/11/16 17:17:56] <tobert> peridot: I run noop in jenkins regularly and then exec inside lxc on unionfs so the changes can be reviewed
[2011/11/16 17:19:05] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/16 17:21:04] <peridot> There is a reluctance to run puppet on production for some rules, so I've separated it into two environments. One which I run in noop and one which I run without noop. The problem I'm having is that when something changes in the noop, I get an email every time it runs until it can be reviewed (which can take a few days). Does anyone have any suggestions?
[2011/11/16 17:23:22] <torrancew> peridot: we stage through environments rather than with noop
[2011/11/16 17:24:20] <peridot> torrancew: What do you mean?
[2011/11/16 17:24:23] <torrancew> ie non-routine changes start in dev, bake for usually 24 hours, then go to DR, bake for another while, and then finally to prod
[2011/11/16 17:28:48] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/16 17:28:53] @ cliff-hm joined channel #puppet
[2011/11/16 17:28:55] <torrancew> peridot: make sense?
[2011/11/16 17:29:09] @ Quit: tilgovi: Remote host closed the connection
[2011/11/16 17:29:14] @ hobbeswalsh joined channel #puppet
[2011/11/16 17:29:40] <peridot> Yes, but there's certain changes that we want to review manually, no matter how long they've baked in stage.
[2011/11/16 17:30:46] <bman1> can i use content => template("path/to/file.$operatingsystem") ?
[2011/11/16 17:30:51] <peridot> Oops, gotta run!
[2011/11/16 17:31:07] @ Quit: peridot: Quit: Leaving.
[2011/11/16 17:31:11] <bman1> i know i can do a fileserver option but i want to exclude a bunch of files and have it as a template
[2011/11/16 17:31:12] @ Quit: Chillax: Changing host
[2011/11/16 17:31:12] @ Chillax joined channel #puppet
[2011/11/16 17:33:52] <bman1> yep that works
[2011/11/16 17:35:33] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/16 17:39:21] @ Quit: shadoi: Quit: Leaving.
[2011/11/16 17:41:24] @ Quit: Beast: Ping timeout: 252 seconds
[2011/11/16 17:44:39] @ Quit: shine: Read error: No route to host
[2011/11/16 17:45:32] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/16 17:45:36] @ Quit: blentz: Read error: Operation timed out
[2011/11/16 17:45:39] @ ghg joined channel #puppet
[2011/11/16 17:47:09] @ Beast joined channel #puppet
[2011/11/16 17:50:01] @ Quit: amoe: Ping timeout: 260 seconds
[2011/11/16 17:51:24] @ amoe joined channel #puppet
[2011/11/16 17:52:18] @ metcalfc joined channel #puppet
[2011/11/16 17:54:37] @ Quit: ccaum: Quit: ccaum
[2011/11/16 18:01:02] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/16 18:06:51] <intransigent007> how do I call a variable that is in the same module from inside a define
[2011/11/16 18:07:07] @ Quit: mmoya: Ping timeout: 245 seconds
[2011/11/16 18:07:48] <intransigent007> I have a variable inside a class that I need access to inside a define within the same module
[2011/11/16 18:09:24] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/11/16 18:15:34] @ hobbeswalsh joined channel #puppet
[2011/11/16 18:15:52] @ Quit: savid: Ping timeout: 258 seconds
[2011/11/16 18:16:53] <jpalmer> I have a cron entry that has minute => fqdn_rand( 60 ), Is there a way to use 'fqdn_rand' in a template file?
[2011/11/16 18:17:09] @ Quit: chadh: Ping timeout: 244 seconds
[2011/11/16 18:17:10] @ zwi joined channel #puppet
[2011/11/16 18:17:25] @ chadh joined channel #puppet
[2011/11/16 18:17:58] @ Quit: samkottler: Quit: Leaving.
[2011/11/16 18:19:41] <agaffney> jpalmer: I know there's a way to call parser functions from a template, but it's a bit hacky
[2011/11/16 18:19:52] <agaffney> you can define the var in your manifest and then use it in the template
[2011/11/16 18:20:05] <agaffney> $my_rand = fqdn_rand(60)
[2011/11/16 18:20:10] <agaffney> <%= my_rand %>
[2011/11/16 18:20:32] <jpalmer> hmm, that might work. let me give it a whirl.
[2011/11/16 18:20:35] <jpalmer> thanks
[2011/11/16 18:21:29] @ dbgster joined channel #puppet
[2011/11/16 18:21:41] @ Enf joined channel #puppet
[2011/11/16 18:22:49] @ nitram_macair_ joined channel #puppet
[2011/11/16 18:23:46] @ nitram_macair_ left channel #puppet ()
[2011/11/16 18:23:52] @ Quit: hooper: Ping timeout: 244 seconds
[2011/11/16 18:24:53] @ flex___ joined channel #puppet
[2011/11/16 18:26:52] <intransigent007> hell yeah, was able to complete my first set of modules to install powerdns. Creates the database and all that goodness. I think I'm in love with puppet
[2011/11/16 18:27:19] <jpalmer> agaffney: that worked perfectly. thanks
[2011/11/16 18:27:34] @ zwi1 joined channel #puppet
[2011/11/16 18:28:41] @ savid joined channel #puppet
[2011/11/16 18:29:27] @ Quit: zwi: Ping timeout: 276 seconds
[2011/11/16 18:29:50] <intransigent007> At what length do most of you start seperating out a manifest into individual pp files?
[2011/11/16 18:30:08] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/16 18:30:28] <jpalmer> intransigent007: I usually break a .pp file up by submodules.
[2011/11/16 18:30:56] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/16 18:31:09] <intransigent007> what's the difference between a submodule and a subclass, sorry if that's a dumb question
[2011/11/16 18:31:31] <jpalmer> err, sorry.. mispoke (was thinking of git) I actually did mean subclass.
[2011/11/16 18:32:21] <intransigent007> ahh..okay, so you personally would put: class powerdns::install in a seperate pp from class powerdns::config
[2011/11/16 18:32:37] <jpalmer> yes
[2011/11/16 18:32:41] @ Quit: sumsuch: Quit: sumsuch
[2011/11/16 18:32:58] <jpalmer> but, thats me. if you ask 5 people, you'll likely get 5 answers ;)
[2011/11/16 18:33:05] <intransigent007> do you actually put any of it in the init.pp or only an import line
[2011/11/16 18:35:20] @ doprdele joined channel #puppet
[2011/11/16 18:36:51] @ samkottler joined channel #puppet
[2011/11/16 18:37:33] @ Quit: comptona: Ping timeout: 245 seconds
[2011/11/16 18:41:58] @ ghg joined channel #puppet
[2011/11/16 18:44:20] @ Quit: samkottler: Read error: Connection reset by peer
[2011/11/16 18:46:09] @ samkottler joined channel #puppet
[2011/11/16 18:47:38] @ Quit: kermit: Ping timeout: 244 seconds
[2011/11/16 18:48:13] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/16 18:56:01] <intransigent007> anyone know of a mysql module that allows you to change the root password? Rather than just one that allows you to set an initial one.
[2011/11/16 18:57:08] @ Quit: bman1: Quit: Leaving.
[2011/11/16 18:59:35] @ Quit: orkaa: Quit: orkaa
[2011/11/16 19:02:13] @ Djelibeybi joined channel #puppet
[2011/11/16 19:03:01] @ Quit: doprdele: Ping timeout: 258 seconds
[2011/11/16 19:04:21] @ doprdele joined channel #puppet
[2011/11/16 19:11:11] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/16 19:12:39] <intransigent007> this fails: require => Class["mysql"], but this does not: require => Class["mysql::secure"], ... Why can't I require an entire class from a seperate module that was previously included in the current moduel?
[2011/11/16 19:13:38] <flex___> intransigent007: what's the error output?
[2011/11/16 19:15:28] @ Quit: metcalfc: Ping timeout: 248 seconds
[2011/11/16 19:17:40] @ KaiserBeto2 joined channel #puppet
[2011/11/16 19:17:44] <intransigent007> flex___: no syntax related errors in debug mode. Could it be that subclasses of the mysql class are not honored when doing a require on a class?
[2011/11/16 19:17:56] @ alanevans joined channel #puppet
[2011/11/16 19:19:30] <flex___> you only hvae included the subclasses ?
[2011/11/16 19:19:49] <intransigent007> In the current module in the class I have "include mysql"
[2011/11/16 19:19:53] @ Quit: KaiserBeto1: Ping timeout: 258 seconds
[2011/11/16 19:21:51] <intransigent007> I am going to see if it is honoring the require for only the parent class by placing a file resource inside the mysql class and see if that file shows up before
[2011/11/16 19:22:16] @ benkevan joined channel #puppet
[2011/11/16 19:25:27] @ Quit: KaiserBeto2: Ping timeout: 245 seconds
[2011/11/16 19:27:12] <intransigent007> I am at a loss for why I cannot require the entire class. I'm guessing it's a misconception on my part or something about how my required class is set up.
[2011/11/16 19:29:52] @ Quit: pugnacity: Ping timeout: 248 seconds
[2011/11/16 19:34:52] <torrancew> intransigent007: does your main class have "include mysql::secure" and all related lines?
[2011/11/16 19:35:25] <intransigent007> torrancew: no, just "include mysql"
[2011/11/16 19:35:41] <torrancew> subclassing isn't inheritance unless you specifically say "class foo::bar inherits foo { ... }"
[2011/11/16 19:35:53] <torrancew> and those are not automatically depended upon
[2011/11/16 19:36:03] <torrancew> try adding a few includes to your mysql for the subclasses you wanted
[2011/11/16 19:37:16] <intransigent007> torrancew: well my mysql class DOES include the subclasses, I thought you were referring to the other module that I am doing the require from. It only has "include mysql" in it's parent class, which is enough to make use of the mysql::grant subclass without issue.
[2011/11/16 19:38:49] @ dbgster_ joined channel #puppet
[2011/11/16 19:40:48] <torrancew> interesting. Got some pastes?
[2011/11/16 19:40:51] @ Quit: dbgster: Ping timeout: 260 seconds
[2011/11/16 19:40:51] @ dbgster_ is now known as dbgster
[2011/11/16 19:40:52] <intransigent007> torrancew: http://pastebin.com/ueqJ9h39
[2011/11/16 19:41:22] <intransigent007> torrancew: that's the class in the powerdns module that I am trying to require the mysql class from.
[2011/11/16 19:42:35] <intransigent007> line 42 is the attempted require
[2011/11/16 19:43:28] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/11/16 19:43:35] @ Quit: anveo: Quit: Computer has gone to sleep.
[2011/11/16 19:46:01] <intransigent007> torrancew: line 42 works when requiring the subclass, but line 47 does not when requiring the mysql class in its entirety
[2011/11/16 19:46:43] @ Quit: choonming: Quit: Leaving
[2011/11/16 19:47:01] <torrancew> have you tried moving the include mysql down into the actual powerdns::config class?
[2011/11/16 19:47:22] <intransigent007> torrancew: nope, trying now
[2011/11/16 19:47:30] <torrancew> puppet is serialized, order of execution is non-specified. Could be that mysql::subclass serializes to run first, by 'mysql' doesn't
[2011/11/16 19:47:44] <torrancew> s/non-specified/non-guaranteed/
[2011/11/16 19:50:32] <intransigent007> torrancew: unfortunately that did not work, I moved the include from the powerdns class to the powerdns::config class.
[2011/11/16 19:50:57] <torrancew> repaste please?
[2011/11/16 19:52:30] <intransigent007> repasted into previous paste, refresh should show the change
[2011/11/16 19:52:31] <intransigent007> http://pastebin.com/ueqJ9h39
[2011/11/16 19:53:41] @ jmslagle joined channel #puppet
[2011/11/16 19:54:12] <intransigent007> torrancew: the mysql::grant and mysql::db instances do work correctly, so the include statement is likely working, just not the require
[2011/11/16 19:56:15] @ alanna joined channel #puppet
[2011/11/16 19:56:37] <torrancew> intransigent007: you may search for known issues with including classes then, as I don't know why that wouldn't work, otherwise
[2011/11/16 19:57:15] @ Quit: DSpair: Quit: Leaving
[2011/11/16 19:58:06] <intransigent007> torrancew: as someone only three days into puppet I'd be surprised if I was capable of finding a "bug". Do you know if doing a "require" metaparameter of a parent class is suppose to have the affect of requiring those subclasses?
[2011/11/16 19:59:44] <intransigent007> torrancew: can I do a require of an entire module from the powerdns class? Instead of an include.
[2011/11/16 20:01:42] @ Quit: zwi1: Quit: Leaving.
[2011/11/16 20:02:16] @ Quit: bobbyz: Ping timeout: 240 seconds
[2011/11/16 20:02:19] @ ryancoleman joined channel #puppet
[2011/11/16 20:02:32] @ mrwacky42 joined channel #puppet
[2011/11/16 20:03:21] @ Quit: alanna: Remote host closed the connection
[2011/11/16 20:04:07] <torrancew> I don't use require, though it "works" - check docs.puppetlabs.com for that though, I remember seeing something that specifically mentioned the usage of require
[2011/11/16 20:04:35] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/16 20:04:39] @ neonflux joined channel #puppet
[2011/11/16 20:05:45] <torrancew> dinner, bbiab
[2011/11/16 20:07:06] @ Quit: kelseyhightower: Ping timeout: 260 seconds
[2011/11/16 20:08:23] @ Quit: mrwacky42: Quit: Leaving.
[2011/11/16 20:09:02] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/16 20:12:33] @ Quit: savid: Quit: Leaving
[2011/11/16 20:15:02] @ Quit: dbgster: Quit: dbgster
[2011/11/16 20:15:09] @ KaiserBeto1 joined channel #puppet
[2011/11/16 20:26:45] <unxbm3r1> how do i force a reload on servers even tho the config file has not chnaged?
[2011/11/16 20:26:56] <unxbm3r1> now using notify/subscribe but nothing works
[2011/11/16 20:30:21] @ the_ramink joined channel #puppet
[2011/11/16 20:33:15] @ alanna joined channel #puppet
[2011/11/16 20:37:58] <unxbm3r1> nevermind just used an exec with the restart command
[2011/11/16 20:38:21] @ Boltsky joined channel #puppet
[2011/11/16 20:38:22] <unxbm3r1> but i feel like there should be a more elegant way
[2011/11/16 20:39:37] @ Quit: motomike: Quit: Leaving.
[2011/11/16 20:39:42] @ Quit: samkottler: Quit: Leaving.
[2011/11/16 20:41:02] @ shine joined channel #puppet
[2011/11/16 20:41:25] @ bobra joined channel #puppet
[2011/11/16 20:43:47] @ Quit: shine: Read error: Connection reset by peer
[2011/11/16 20:44:15] @ mitchellh joined channel #puppet
[2011/11/16 20:46:25] <Beast> unxbm3r1 just curious, but why would you need a reload if a config didnt change?
[2011/11/16 20:49:03] @ olglory07 joined channel #puppet
[2011/11/16 20:49:17] @ Quit: olglory07: Remote host closed the connection
[2011/11/16 20:49:50] @ Gwayne joined channel #puppet
[2011/11/16 20:50:04] @ Quit: fredden: Quit: Leaving
[2011/11/16 20:50:56] @ Quit: alanna: Remote host closed the connection
[2011/11/16 20:52:34] @ Quit: intransigent007: Ping timeout: 265 seconds
[2011/11/16 20:52:35] @ shine joined channel #puppet
[2011/11/16 20:56:59] @ Quit: shine: Read error: No route to host
[2011/11/16 21:08:17] @ Quit: p3rror: Ping timeout: 244 seconds
[2011/11/16 21:08:42] @ tilgovi joined channel #puppet
[2011/11/16 21:08:43] @ Quit: tilgovi: Changing host
[2011/11/16 21:08:43] @ tilgovi joined channel #puppet
[2011/11/16 21:16:28] @ bobbyz joined channel #puppet
[2011/11/16 21:16:32] @ AvaCam joined channel #puppet
[2011/11/16 21:21:05] @ Quit: doprdele: Ping timeout: 244 seconds
[2011/11/16 21:22:01] @ doprdele joined channel #puppet
[2011/11/16 21:27:36] @ Quit: doprdele: Ping timeout: 260 seconds
[2011/11/16 21:28:00] @ sumsuch joined channel #puppet
[2011/11/16 21:33:03] @ Quit: Bass10: Quit: Leaving
[2011/11/16 21:34:01] <seanh-ansca> how do you change a property of something that's defined in some other class or module?
[2011/11/16 21:34:18] <Volcane> u need to inherit from that other class
[2011/11/16 21:34:22] @ Raboo joined channel #puppet
[2011/11/16 21:34:27] <Volcane> then u can override properties
[2011/11/16 21:35:21] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/16 21:35:34] @ benjiedmund joined channel #puppet
[2011/11/16 21:35:41] @ Quit: Raboo_: Ping timeout: 252 seconds
[2011/11/16 21:39:24] @ Raboo_ joined channel #puppet
[2011/11/16 21:39:28] @ Quit: Raboo: Ping timeout: 240 seconds
[2011/11/16 21:42:20] @ sarkis_ joined channel #puppet
[2011/11/16 21:43:02] @ choonming joined channel #puppet
[2011/11/16 21:45:28] @ Quit: jeremywf: Ping timeout: 240 seconds
[2011/11/16 21:45:44] @ alanna joined channel #puppet
[2011/11/16 21:49:09] @ jeremywf joined channel #puppet
[2011/11/16 21:50:09] @ Quit: proton: Ping timeout: 258 seconds
[2011/11/16 21:51:14] @ Quit: neonflux: Quit: Leaving.
[2011/11/16 21:51:16] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/16 21:54:21] @ Quit: gniks: Quit: Leaving.
[2011/11/16 21:55:58] @ Quit: sumsuch: Quit: sumsuch
[2011/11/16 22:00:34] @ shine joined channel #puppet
[2011/11/16 22:03:06] @ mrwacky42 joined channel #puppet
[2011/11/16 22:05:56] @ adimania joined channel #puppet
[2011/11/16 22:13:39] @ ccaum joined channel #puppet
[2011/11/16 22:14:21] @ Quit: IndyMichaelB: Ping timeout: 276 seconds
[2011/11/16 22:14:45] @ Quit: unxbm3r1: Quit: Lost terminal
[2011/11/16 22:15:30] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/16 22:16:04] @ benjiedmund joined channel #puppet
[2011/11/16 22:20:27] @ Quit: benjiedmund: Ping timeout: 245 seconds
[2011/11/16 22:27:20] <Sp4rKy> hi, I have a puppetmaster which is available through internet and through vpn
[2011/11/16 22:27:53] <Sp4rKy> I would like that my nodes use the vpn if available, and fallback to the "internet" to reach the master
[2011/11/16 22:27:57] <Sp4rKy> how could this be done ?
[2011/11/16 22:29:04] @ IndyMichaelB joined channel #puppet
[2011/11/16 22:31:36] @ pugnacity joined channel #puppet
[2011/11/16 22:36:46] <Volcane> easiest is to adjust the routing table or use something like split dns or something so that 'puppet' routes differently
[2011/11/16 22:38:40] @ Quit: Holocaine: Ping timeout: 252 seconds
[2011/11/16 22:40:20] @ Quit: emergion: Quit: later...
[2011/11/16 22:40:44] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 22:41:05] <joe-mac> most vpn clients have hooks that can be run, modify dns to request some other server or to hit your dns server on its internal ip if you use views
[2011/11/16 22:41:17] <joe-mac> so basically what Volcane said
[2011/11/16 22:41:29] @ Kazuhiro joined channel #puppet
[2011/11/16 22:41:36] <Volcane> or even add / remove host entries in the up/down scripts
[2011/11/16 22:43:19] @ raadad joined channel #puppet
[2011/11/16 22:43:21] <raadad> hey guys
[2011/11/16 22:43:25] <raadad> im running arch linux
[2011/11/16 22:43:30] <raadad> and i cant get puppet to start
[2011/11/16 22:43:36] <raadad> im very new to puppet
[2011/11/16 22:43:42] <raadad> any documentation i should read first/
[2011/11/16 22:43:43] <ptman> what does it complain about?
[2011/11/16 22:43:50] <raadad> Could not load confine test 'operatingsystem
[2011/11/16 22:45:26] @ skm joined channel #puppet
[2011/11/16 22:45:33] <raadad> ?
[2011/11/16 22:47:42] @ Quit: ccaum: Quit: ccaum
[2011/11/16 22:48:17] <edward_> raadad: all of them? :P
[2011/11/16 22:48:51] <edward_> from the command line does the following work without error
[2011/11/16 22:48:55] <edward_> facter operatingsystem
[2011/11/16 22:49:01] <edward_> if not start looking for issues from there
[2011/11/16 22:49:08] @ Quit: edward_: Quit: leaving
[2011/11/16 22:52:47] @ jedi4ever joined channel #puppet
[2011/11/16 22:57:26] @ jodok joined channel #puppet
[2011/11/16 22:57:27] @ Quit: jodok: Changing host
[2011/11/16 22:57:27] @ jodok joined channel #puppet
[2011/11/16 23:00:50] @ mitchellh joined channel #puppet
[2011/11/16 23:00:57] @ Quit: danikov: Read error: Connection timed out
[2011/11/16 23:01:46] @ mitchty joined channel #puppet
[2011/11/16 23:03:54] @ Quit: mosen: Quit: Leaving
[2011/11/16 23:07:21] @ Vasik|work joined channel #puppet
[2011/11/16 23:12:37] @ Quit: alanna: Remote host closed the connection
[2011/11/16 23:13:33] @ rutger_ joined channel #puppet
[2011/11/16 23:14:56] @ Quit: pugnacity: Ping timeout: 260 seconds
[2011/11/16 23:15:58] @ Quit: rutger_: Remote host closed the connection
[2011/11/16 23:16:00] @ pugnacity joined channel #puppet
[2011/11/16 23:17:02] @ rutger_ joined channel #puppet
[2011/11/16 23:18:42] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/16 23:18:49] @ Quit: pugnacity: Read error: No route to host
[2011/11/16 23:19:14] @ pugnacity joined channel #puppet
[2011/11/16 23:24:20] @ Meier joined channel #puppet
[2011/11/16 23:25:18] @ sumsuch joined channel #puppet
[2011/11/16 23:27:44] @ Quit: dgillies: Remote host closed the connection
[2011/11/16 23:30:13] @ bkdem joined channel #puppet
[2011/11/16 23:31:43] @ DJClean joined channel #puppet
[2011/11/16 23:31:46] @ sdog joined channel #puppet
[2011/11/16 23:32:32] @ mpdude joined channel #puppet
[2011/11/16 23:32:36] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/16 23:32:54] @ Quit: sdog: Changing host
[2011/11/16 23:32:54] @ sdog joined channel #puppet
[2011/11/16 23:34:07] @ hobbeswalsh joined channel #puppet
[2011/11/16 23:39:35] @ kelseyhightower joined channel #puppet
[2011/11/16 23:40:21] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/16 23:40:32] @ Quit: mrwacky42: Quit: Leaving.
[2011/11/16 23:41:00] @ Spads_ joined channel #puppet
[2011/11/16 23:44:08] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/11/16 23:44:16] @ Quit: Spads: Ping timeout: 248 seconds
[2011/11/16 23:44:39] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/16 23:44:59] @ mitchty left channel #puppet ("Leaving...")
[2011/11/16 23:46:34] @ jaydg joined channel #puppet
[2011/11/16 23:48:29] @ mauve joined channel #puppet
[2011/11/16 23:51:40] @ ckauhaus joined channel #puppet
[2011/11/16 23:52:22] @ pmorillon joined channel #puppet
[2011/11/16 23:52:47] @ hobbeswalsh joined channel #puppet
[2011/11/16 23:56:04] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/16 23:56:22] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/11/16 23:56:39] @ skm joined channel #puppet
[2011/11/16 23:57:26] @ MattyM joined channel #puppet
[2011/11/16 23:57:27] @ Quit: hobbeswalsh: Client Quit
[2011/11/16 23:57:36] @ erthad joined channel #puppet

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