Tuesday, 2010-07-06

[2010/07/06 00:08:44] @ Log started by gepetto
[2010/07/06 00:08:44] @ spawnyd joined channel #puppet
[2010/07/06 00:10:57] @ pmorillo joined channel #puppet
[2010/07/06 00:19:07] @ benoit_ joined channel #puppet
[2010/07/06 00:19:19] @ giskard joined channel #puppet
[2010/07/06 00:20:07] @ nexx joined channel #puppet
[2010/07/06 00:20:32] @ Quit: kolla: Remote host closed the connection
[2010/07/06 00:21:43] @ Quit: jeffmccune: Ping timeout: 276 seconds
[2010/07/06 00:27:29] @ alban2 joined channel #puppet
[2010/07/06 00:27:38] @ jeffmccune joined channel #puppet
[2010/07/06 00:30:42] @ Standa joined channel #puppet
[2010/07/06 00:36:34] @ Quit: alban2: Read error: Operation timed out
[2010/07/06 00:39:12] @ allsystemsarego joined channel #puppet
[2010/07/06 00:44:48] @ yannL joined channel #puppet
[2010/07/06 00:48:56] @ Quit: jeffmccune: Quit: jeffmccune
[2010/07/06 00:50:19] @ verwilst joined channel #puppet
[2010/07/06 00:55:52] @ TREllis joined channel #puppet
[2010/07/06 00:56:05] @ Quit: yure: Remote host closed the connection
[2010/07/06 01:03:00] @ jingjang joined channel #puppet
[2010/07/06 01:09:39] @ ceren joined channel #puppet
[2010/07/06 01:09:48] @ freshtonic_ joined channel #puppet
[2010/07/06 01:12:18] @ Quit: freshtonic: Ping timeout: 265 seconds
[2010/07/06 01:12:18] @ freshtonic_ is now known as freshtonic
[2010/07/06 01:17:02] @ joergherzinger joined channel #puppet
[2010/07/06 01:20:56] @ alban2 joined channel #puppet
[2010/07/06 01:20:59] @ Quit: freshtonic: Quit: freshtonic
[2010/07/06 01:27:13] @ Quit: n0ts: Quit: Tiarra 0.1+svn-37177: SIGTERM received; exit
[2010/07/06 01:27:31] @ n0ts joined channel #puppet
[2010/07/06 01:30:45] @ Quit: littleidea: Quit: littleidea
[2010/07/06 01:33:41] @ Olly_ joined channel #puppet
[2010/07/06 01:35:58] @ jingjang1 joined channel #puppet
[2010/07/06 01:36:09] @ Quit: jingjang: Ping timeout: 240 seconds
[2010/07/06 01:41:23] @ jingjang1 left channel #puppet ()
[2010/07/06 01:42:48] @ MattyM joined channel #puppet
[2010/07/06 01:46:39] <AK__> any one know how to check what is the puppet master server name on a solaris client (I mean any file like /etc/sysconfig/puppet which we have on a linux machine)
[2010/07/06 01:47:27] <Djelibeybi> AK__: check /etc/puppet/puppet.conf
[2010/07/06 01:47:49] <Djelibeybi> AK__: you can use that on Linux as well, btw. :) /etc/sysconfig/puppet is really only used by Enterprise Linux
[2010/07/06 01:48:00] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/06 01:48:19] <ptman> puppet --genconfig |grep server
[2010/07/06 01:53:20] @ Quit: \ask: Remote host closed the connection
[2010/07/06 01:53:42] @ \ask joined channel #puppet
[2010/07/06 01:53:52] @ Quit: alban2: Ping timeout: 265 seconds
[2010/07/06 01:55:05] @ _jsman joined channel #puppet
[2010/07/06 01:55:52] @ Quit: jsman: Ping timeout: 248 seconds
[2010/07/06 01:55:59] @ _jsman is now known as jsman
[2010/07/06 01:56:01] @ Quit: jsman: Changing host
[2010/07/06 01:56:01] @ jsman joined channel #puppet
[2010/07/06 01:57:44] @ Ramonster joined channel #puppet
[2010/07/06 01:58:14] @ sarts_work joined channel #puppet
[2010/07/06 01:58:20] <sarts_work> Hi
[2010/07/06 02:02:48] @ taihen joined channel #puppet
[2010/07/06 02:07:29] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/07/06 02:08:33] <sarts_work> Is it possible to require a package from a provider implementation?
[2010/07/06 02:09:25] @ Quit: malikai: Remote host closed the connection
[2010/07/06 02:09:58] @ jrisch joined channel #puppet
[2010/07/06 02:10:31] @ malikai joined channel #puppet
[2010/07/06 02:21:25] @ alban2 joined channel #puppet
[2010/07/06 02:21:59] @ manuell joined channel #puppet
[2010/07/06 02:23:26] <sarts_work> nm... apache_module("ssl": ensure => enabled, require => Package["mod_ssl"])
[2010/07/06 02:30:54] @ Quit: wilmoore: Remote host closed the connection
[2010/07/06 02:33:05] @ Quit: alban2: Ping timeout: 276 seconds
[2010/07/06 02:35:18] @ flooose joined channel #puppet
[2010/07/06 02:35:58] @ Bogdar joined channel #puppet
[2010/07/06 02:36:34] <Bogdar> Hello!
[2010/07/06 02:37:02] <Bogdar> I have puppetmasterd version 0.25.4 running as mongrel with apache frontend.
[2010/07/06 02:37:25] <Bogdar> I have 4 backend and eache of them use upto 1.2 Gb RAM
[2010/07/06 02:37:33] <flooose> if I have a 'node /^servergroup1.*/ { ..... }', can I do 'node servergroup1.www inherits /^servergroup1.*/ {...}
[2010/07/06 02:37:50] <Bogdar> How can I determine why doe it use so much memory ?
[2010/07/06 02:38:02] <flooose> or how would I make a node inherit from a node that was declared by way of a regex
[2010/07/06 02:39:31] <kjetilho> flooose: you don't
[2010/07/06 02:39:38] <ptman> flooose, I'd suggest making the inheritance in classes
[2010/07/06 02:39:48] <flooose> Bodgar: what's top showing you?
[2010/07/06 02:39:51] <kjetilho> node servergroup1 { } node /^servergroup1.*/ inherits servergroup1
[2010/07/06 02:40:39] <manlymatt83> or use external nodes
[2010/07/06 02:41:41] <flooose> hmmm, perhaps I should rethink this, I had thought about what kjetilho said, but somehow decided that was't the way to go
[2010/07/06 02:42:26] <flooose> oh, yeah, the problem is that the servers all have hostnames that have slight variations, so they aren't subdomains
[2010/07/06 02:45:23] @ Quit: gniks: Quit: Leaving.
[2010/07/06 02:50:28] @ alban2 joined channel #puppet
[2010/07/06 02:50:33] @ Quit: achester: Remote host closed the connection
[2010/07/06 02:54:36] @ kolla joined channel #puppet
[2010/07/06 02:55:21] @ Quit: alban2: Ping timeout: 240 seconds
[2010/07/06 03:00:26] @ gebi joined channel #puppet
[2010/07/06 03:13:05] @ alban2 joined channel #puppet
[2010/07/06 03:13:24] <sarts_work> hmm
[2010/07/06 03:14:40] <sarts_work> my custom type is not found...
[2010/07/06 03:14:49] <sarts_work> "... Error 400 on SERVER: Could not find resource type apache_module ..."
[2010/07/06 03:15:59] @ ckauhaus joined channel #puppet
[2010/07/06 03:18:49] <Bogdar> flooose, top tell me that each puppemaster use 1.2Gb of RSS
[2010/07/06 03:20:21] @ Quit: n0ts: Quit: Tiarra 0.1+svn-37177: SIGTERM received; exit
[2010/07/06 03:20:38] @ n0ts joined channel #puppet
[2010/07/06 03:23:22] @ Quit: n0ts: Client Quit
[2010/07/06 03:23:38] @ n0ts joined channel #puppet
[2010/07/06 03:26:24] @ Quit: n0ts: Client Quit
[2010/07/06 03:27:01] @ n0ts joined channel #puppet
[2010/07/06 03:35:37] @ MPSimmons joined channel #puppet
[2010/07/06 03:36:03] @ Quit: tim|mac: Quit: Coyote finally caught me
[2010/07/06 03:36:08] @ tim|mac joined channel #puppet
[2010/07/06 03:41:54] @ Quit: giskard: Remote host closed the connection
[2010/07/06 03:52:38] @ gniks joined channel #puppet
[2010/07/06 03:53:03] @ Quit: TREllis: Quit: brb
[2010/07/06 03:57:14] @ TREllis joined channel #puppet
[2010/07/06 03:59:03] @ Quit: verwilst: *.net *.split
[2010/07/06 03:59:03] @ Quit: mezgani: *.net *.split
[2010/07/06 03:59:03] @ Quit: unixdaemon: *.net *.split
[2010/07/06 03:59:04] @ Quit: QuackNL: *.net *.split
[2010/07/06 04:00:52] @ unixdaemon joined channel #puppet
[2010/07/06 04:02:00] @ mezgani joined channel #puppet
[2010/07/06 04:02:14] @ verwilst joined channel #puppet
[2010/07/06 04:02:14] @ QuackNL joined channel #puppet
[2010/07/06 04:05:28] @ Quit: verwilst: *.net *.split
[2010/07/06 04:05:29] @ Quit: QuackNL: *.net *.split
[2010/07/06 04:13:37] @ Qix joined channel #puppet
[2010/07/06 04:14:13] <Qix> hi there
[2010/07/06 04:14:35] @ verwilst joined channel #puppet
[2010/07/06 04:14:42] <Qix> I have a quick question about "best" puppet setups, spent the last few days setting up a whole configuration for my system
[2010/07/06 04:15:07] <Qix> but its essentially divided into two copies of the same system, one hosted in the US, the other in South Africa
[2010/07/06 04:15:45] <Qix> I'm wondering if I should run two copies of puppetmaster too, because it seems to be rather slow over the internet (and bandwidth is expensive in south africa)
[2010/07/06 04:15:59] <Qix> but then I lose a lot of what I can do with the stored configs :/
[2010/07/06 04:15:59] <Volcane> Qix: yeah i run 2
[2010/07/06 04:16:11] <Volcane> Qix: correct, stored confs not viable then
[2010/07/06 04:16:39] <Qix> any reason you run two besides speed?
[2010/07/06 04:16:44] <Volcane> speed
[2010/07/06 04:16:54] <Volcane> uk, de, us and za machines
[2010/07/06 04:18:33] <Volcane> plus reliability of connection
[2010/07/06 04:19:03] <Qix> yeah kk, I'll go for two. its easier in some ways
[2010/07/06 04:19:12] <Qix> just wanted to see if there was anyone in the same position
[2010/07/06 04:19:52] @ Quit: joergherzinger: Remote host closed the connection
[2010/07/06 04:20:32] <Volcane> za internet running on a wire with two tin cans on means often its just an island, so need them to operate independantly
[2010/07/06 04:20:35] <Volcane> so local masters
[2010/07/06 04:20:44] <Qix> heh, pretty much
[2010/07/06 04:20:48] <Qix> seacom went down again today
[2010/07/06 04:20:53] <Volcane> yeah
[2010/07/06 04:21:05] <Qix> so we're back to the tin cans without the string joining them
[2010/07/06 04:21:10] <Volcane> heh
[2010/07/06 04:21:32] <Qix> anyhow, gotta head out for a bit - thanks
[2010/07/06 04:21:37] <Volcane> c'ya
[2010/07/06 04:24:54] @ joergherzinger joined channel #puppet
[2010/07/06 04:27:36] @ QuackNL joined channel #puppet
[2010/07/06 04:29:40] @ sathieu joined channel #puppet
[2010/07/06 04:30:04] <sathieu> hello, what is the recommended RPM for puppet on SLES10 sp2?
[2010/07/06 04:30:35] <sathieu> (and also facter. I found ruby on the SDK)
[2010/07/06 04:38:10] <SyRenity> hi there
[2010/07/06 04:38:23] <SyRenity> can anyone advice a module to control ip settings
[2010/07/06 04:40:15] <alcy> SyRenity: Not sure but maybe the network module ?
[2010/07/06 04:41:03] <alcy> SyRenity: Also check out the ones available from example42.com. Tonnes of useful, well written modules for a lot of things
[2010/07/06 04:56:54] @ Quit: benoit_: Ping timeout: 240 seconds
[2010/07/06 04:59:52] @ Quit: tim|mac: Quit: Coyote finally caught me
[2010/07/06 05:00:00] @ tim|mac joined channel #puppet
[2010/07/06 05:00:05] @ salzi joined channel #puppet
[2010/07/06 05:00:35] <salzi> hey there
[2010/07/06 05:01:30] <salzi> i could need a quick tip on how to use a varible in a regex with puppet
[2010/07/06 05:02:45] <salzi> things like /$varible/, /\$varible/ or /#{variable}/ don't seem to work
[2010/07/06 05:03:00] @ Quit: FOCer: Remote host closed the connection
[2010/07/06 05:04:13] @ ahasenack joined channel #puppet
[2010/07/06 05:10:10] @ [GuS] joined channel #puppet
[2010/07/06 05:11:59] <kjetilho> salzi: you probably have a problem with scoping. is this node statements?
[2010/07/06 05:12:22] <salzi> no it's inside a definition
[2010/07/06 05:12:46] <kjetilho> put the code in a pastebin
[2010/07/06 05:14:48] <salzi> http://pastebin.com/fm0e9Ngf
[2010/07/06 05:15:21] <salzi> line 17 - 22
[2010/07/06 05:15:46] <salzi> $users is a custom fact that contains all users from /etc/passwd
[2010/07/06 05:16:05] <salzi> and i want to remove the .tar.bz2 file if the user is already present
[2010/07/06 05:16:08] <kjetilho> humm. is title a generic alias for name?
[2010/07/06 05:16:19] <salzi> yes
[2010/07/06 05:16:22] <kjetilho> I always use $name
[2010/07/06 05:16:47] <salzi> the docs say there are the same
[2010/07/06 05:17:21] <salzi> and i use $title all over the definition and it works fine
[2010/07/06 05:17:32] <kjetilho> ok
[2010/07/06 05:17:54] <salzi> i guess it's just an escaping problem or sth like that
[2010/07/06 05:17:59] <kjetilho> anyway, /$name/ should work
[2010/07/06 05:18:20] <kjetilho> or /\b$name\b/ for better resiliency
[2010/07/06 05:19:50] <salzi> hm both times not the expected result :/
[2010/07/06 05:25:18] <ecolitan> i'm getting a wierd error where puppet says that i have cdrom source in /etc/apt/sources.list - but there arnt any cdrom sources in the file
[2010/07/06 05:28:14] <ecolitan> any ideas what causes that, it prevents aptitude working with puppet on the node
[2010/07/06 05:30:43] @ Quit: duxklr: Quit: duxklr
[2010/07/06 05:31:12] <ecolitan> http://pastebin.com/QVpXZhx4
[2010/07/06 05:35:19] @ Quit: gniks: Quit: Leaving.
[2010/07/06 05:36:05] <salzi> have you tried with allowcdrom => true?
[2010/07/06 05:36:24] @ bjaspan joined channel #puppet
[2010/07/06 05:40:30] @ Quit: bjaspan: Client Quit
[2010/07/06 05:42:07] @ Quit: blahdeblah: Ping timeout: 252 seconds
[2010/07/06 05:42:49] @ zorzar_ joined channel #puppet
[2010/07/06 05:44:32] @ Quit: zorzar: Read error: Operation timed out
[2010/07/06 05:46:06] <ecolitan> yes, when allowcdrom => true; is given, it works, but I want to avoid this because online docs says "Normally apt will bail if you try this."
[2010/07/06 05:47:04] @ jb joined channel #puppet
[2010/07/06 05:48:17] <salzi> oh, i overread that somehow.
[2010/07/06 05:49:09] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/06 05:56:58] @ shenson joined channel #puppet
[2010/07/06 05:58:13] @ dellas joined channel #puppet
[2010/07/06 06:04:16] @ alcy left channel #puppet ()
[2010/07/06 06:10:45] @ sathieu left channel #puppet ()
[2010/07/06 06:10:48] @ Quit: dellas: Ping timeout: 248 seconds
[2010/07/06 06:11:25] <SyRenity> alcy: actually have example42, didn't find modules there
[2010/07/06 06:11:29] <SyRenity> network related
[2010/07/06 06:11:39] <SyRenity> alcy: what network module you had in mind?
[2010/07/06 06:12:01] @ Quit: gebi: Ping timeout: 264 seconds
[2010/07/06 06:12:18] <Volcane> SyRenity: did you look on forge.puppetlabs.com?
[2010/07/06 06:16:20] @ Quit: allsystemsarego: Quit: Leaving
[2010/07/06 06:17:34] <nareshov> how did they manage to get the github hosted stuff to list on that page?
[2010/07/06 06:18:21] <Volcane> doubt its magic, you need to upload tarballs
[2010/07/06 06:18:28] <SyRenity> Volcane: yes, but didn't see there any ip control related modules
[2010/07/06 06:18:38] <nareshov> they have github hosted projects linking there
[2010/07/06 06:18:45] <nareshov> http://forge.puppetlabs.com/DavidSchmitt/collectd/1.0.0 <- example
[2010/07/06 06:18:59] <nareshov> oh, but the tarball is still hosted with puppetlabs
[2010/07/06 06:19:18] <nareshov> the URL look CPAN-ish
[2010/07/06 06:21:27] @ rmayr joined channel #puppet
[2010/07/06 06:23:40] @ benoit_ joined channel #puppet
[2010/07/06 06:24:23] @ reyjrar joined channel #puppet
[2010/07/06 06:24:40] @ duxklr joined channel #puppet
[2010/07/06 06:26:40] @ Quit: \ask: Remote host closed the connection
[2010/07/06 06:27:03] @ \ask joined channel #puppet
[2010/07/06 06:27:38] @ Quit: tecto_: Quit: tecto_
[2010/07/06 06:30:24] @ Quit: salzi: Quit: Page closed
[2010/07/06 06:34:17] @ gebi joined channel #puppet
[2010/07/06 06:34:30] @ kaptk2 joined channel #puppet
[2010/07/06 06:41:38] @ Quit: duxklr: Quit: duxklr
[2010/07/06 06:43:59] @ _lucid joined channel #puppet
[2010/07/06 06:49:26] @ Quit: jrisch: Quit: jrisch
[2010/07/06 06:50:33] @ rmiller4pi8 joined channel #puppet
[2010/07/06 06:51:19] @ sebas891 joined channel #puppet
[2010/07/06 06:51:53] @ jrisch joined channel #puppet
[2010/07/06 06:54:45] @ radkin joined channel #puppet
[2010/07/06 06:56:06] <suit> :q
[2010/07/06 06:56:16] <suit> ... (sorry)
[2010/07/06 06:56:25] <_lucid> :q!
[2010/07/06 06:57:35] @ santoroj joined channel #puppet
[2010/07/06 06:59:02] @ ecapriolo joined channel #puppet
[2010/07/06 07:05:33] @ joe-mac joined channel #puppet
[2010/07/06 07:06:02] @ Quit: jrisch: Quit: jrisch
[2010/07/06 07:06:34] @ Quit: tecto: Read error: No route to host
[2010/07/06 07:06:36] <ecolitan> can i subscribe to a directory?
[2010/07/06 07:06:54] <joe-mac> certainl
[2010/07/06 07:06:55] <joe-mac> y
[2010/07/06 07:07:10] <Berge> Fill out the form, mail it and expect reply in six to eight weeks.
[2010/07/06 07:07:11] <Berge> ..wait.
[2010/07/06 07:07:18] <ecolitan> like this: subscribe => File["/etc/monit"], ?
[2010/07/06 07:07:23] <Berge> ecolitan: Yup.
[2010/07/06 07:07:23] <joe-mac> yes
[2010/07/06 07:07:36] <ecolitan> it fails :(
[2010/07/06 07:07:45] <Berge> With what error?
[2010/07/06 07:07:52] <ecolitan> since i upgrade to 0.25.4
[2010/07/06 07:08:22] <ecolitan> Jul 6 14:06:10 test-server puppetd[19828]: Could not run Puppet configuration client: Could not find dependency File[/etc/monit] for Exec[/etc/init.d/monit restart] at /etc/puppet/manifests/classes/monit.pp:30
[2010/07/06 07:08:45] <Berge> Do you have a File["/etc/monit"] resource?
[2010/07/06 07:09:13] <ecolitan> is an exec {} a resource?
[2010/07/06 07:09:24] <joe-mac> yes
[2010/07/06 07:09:30] <ecolitan> then yes
[2010/07/06 07:09:31] <joe-mac> anything with type { } is a resource
[2010/07/06 07:09:39] <joe-mac> what file is it in?
[2010/07/06 07:09:53] <ecolitan> exec { "/etc/init.d/monit restart":
[2010/07/06 07:10:00] <ecolitan> subscribe => File["/etc/monit"],
[2010/07/06 07:10:08] <joe-mac> sure that's a resource, but where is the file resource?
[2010/07/06 07:10:14] <ecolitan> hmmm
[2010/07/06 07:10:19] <joe-mac> is it in etc puppet manifests classes monit.pp?
[2010/07/06 07:10:25] <joe-mac> if not you're probably not including it anywhere
[2010/07/06 07:10:52] <ecolitan> i'll add it
[2010/07/06 07:12:08] @ Quit: mezgani: Ping timeout: 260 seconds
[2010/07/06 07:12:43] @ duxklr joined channel #puppet
[2010/07/06 07:13:27] <ecolitan> thanks! that jump started things
[2010/07/06 07:13:47] @ Quit: Qix: Quit: Leaving
[2010/07/06 07:17:36] <ecolitan> so now i guess i need to exclude a file from a recursive directory
[2010/07/06 07:18:14] @ Quit: \ask: Remote host closed the connection
[2010/07/06 07:18:25] <ecolitan> else i copy the .svn stuff from the master over into the nodes
[2010/07/06 07:18:28] @ dandiep joined channel #puppet
[2010/07/06 07:18:37] @ jdcasey joined channel #puppet
[2010/07/06 07:19:10] <QuackNL> File { ignore => [ ".svn" ] }
[2010/07/06 07:19:45] <ecolitan> thank you
[2010/07/06 07:21:15] @ rcrowley joined channel #puppet
[2010/07/06 07:23:02] @ danbeck joined channel #puppet
[2010/07/06 07:24:02] @ mezgani joined channel #puppet
[2010/07/06 07:24:16] @ notbrien joined channel #puppet
[2010/07/06 07:28:04] @ cliff-hm joined channel #puppet
[2010/07/06 07:32:49] @ fishbowl joined channel #puppet
[2010/07/06 07:33:37] @ docelic__ joined channel #puppet
[2010/07/06 07:34:48] <ecolitan> puppet seems to be ignoring the ignore => [ ".svn" ] line
[2010/07/06 07:35:38] @ tonyskapunk joined channel #puppet
[2010/07/06 07:36:44] @ beata_ joined channel #puppet
[2010/07/06 07:37:09] @ Quit: docelic_: Ping timeout: 260 seconds
[2010/07/06 07:37:31] <beata_> Is there a dif between defining a define inside a class vs outside a class and giving it CLassname::define ?
[2010/07/06 07:38:16] @ fishbowl left channel #puppet ()
[2010/07/06 07:46:51] <shenson> naming affects the auto loader primarily
[2010/07/06 07:50:05] <Disconnect> sigh. is there any way to debug this other than wiping out the resources completely and starting over? (adding a 2nd nagios host, so 2 servers will be pulling down the resources) "err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Nagios_command[appserver_heap] cannot override local resource on node nagios.foo.com"
[2010/07/06 07:56:52] @ \ask joined channel #puppet
[2010/07/06 07:59:51] <ashp> work forced me to take a punishment phone because my old phone doesn't work after i moved house, this is cruel
[2010/07/06 07:59:56] <ashp> it's a windows mobile 6.5 phone that cost $5
[2010/07/06 08:01:03] <emag> i'll take one, i'm just not paying out of pocket and then getting reimbursed
[2010/07/06 08:01:25] @ Quit: santoroj: Ping timeout: 260 seconds
[2010/07/06 08:01:37] @ tecto joined channel #puppet
[2010/07/06 08:01:53] <ecolitan> can an exec resource have multiple subscribes ?
[2010/07/06 08:03:48] <QuackNL> yes, put them in an array
[2010/07/06 08:05:46] <ecolitan> thanks
[2010/07/06 08:08:09] @ hai joined channel #puppet
[2010/07/06 08:08:20] <hai> hey
[2010/07/06 08:08:36] <hai> i need help
[2010/07/06 08:09:40] @ Quit: hai: Client Quit
[2010/07/06 08:10:37] @ Quit: lilnick: Read error: Operation timed out
[2010/07/06 08:11:08] <Disconnect> yes, yes you do..
[2010/07/06 08:11:25] <Disconnect> anyone? help with 'exported resource cannot override local resource'?
[2010/07/06 08:11:51] <Volcane> Disconnect: you exported Foo["bar"] (non unique resource name) and you have a matching one locally
[2010/07/06 08:11:55] <Volcane> bang
[2010/07/06 08:12:05] <Disconnect> nope
[2010/07/06 08:12:14] @ littleidea joined channel #puppet
[2010/07/06 08:12:18] <Disconnect> in fact, identical classes to the old nagios server (which works fine)
[2010/07/06 08:12:36] <Volcane> then something funky in your db, i think joe-mac is the export in that error
[2010/07/06 08:12:56] <joe-mac> ashp: lol, i have had a shit phone forever now but my boss just upgraded me to the latest palm pre which does the mobile hotspot stuff
[2010/07/06 08:13:07] <ashp> i had a palm pre
[2010/07/06 08:13:13] <Volcane> joe-mac: *cough* HP Pre :P
[2010/07/06 08:13:15] <joe-mac> Volcane: maybe he is trying to export moer than one of me
[2010/07/06 08:13:15] <ashp> and now i have a fucking htc 'ozone' with a 320x240 screen
[2010/07/06 08:13:19] <ashp> and the screen isn't a touch screen
[2010/07/06 08:13:23] <ashp> i was pressing on it like an idiot
[2010/07/06 08:13:35] <joe-mac> HTC's stuff was garbage but i just played with an evo and it seems like they got a lot better
[2010/07/06 08:13:40] * Disconnect used to see this error way way back when, but it stopped when we deparallalized a bit. (if a node ran twice overlapping - eg ran and timed out during config gen - it would do that. sped it up, deparallelized, expanded timeouts, haven't seen it since.)
[2010/07/06 08:13:46] <ashp> this is a windows mobile 6.5 phone and uhhhhhhhhhhhhhh
[2010/07/06 08:13:55] <Disconnect> ashp: see if it'll run android ;)
[2010/07/06 08:14:03] @ lilnick joined channel #puppet
[2010/07/06 08:14:37] <ashp> without a touchscreen ? :(
[2010/07/06 08:16:23] <joe-mac> neither of my phones have a touchscreen
[2010/07/06 08:16:32] <joe-mac> i don't really like touch screens except for my ipod
[2010/07/06 08:16:38] <Disconnect> looking in resources, the export is there only once. (and in fact, they all only have one entry and the same host id. i -think- it is the old nagios box, checking that now..)
[2010/07/06 08:16:53] <Disconnect> yep
[2010/07/06 08:17:11] <joe-mac> Disconnect: you are probably collecting twice then, or doing the ole export and local named the same
[2010/07/06 08:17:49] <Disconnect> joe-mac: neither one unfortunately. no manifest changes, just lit up a second box identically tagged to the first. second box works unless the nagios-master class is included
[2010/07/06 08:18:17] <joe-mac> identically tagged?
[2010/07/06 08:18:21] <joe-mac> what do you mean by tagged/
[2010/07/06 08:18:58] * Disconnect is hoping the new nagios vm will let him go away for the weekend without deciding to speed off into the future. 3 mondays in a row it has decided it is late december, 2500 and some odd and we all need to change our passwords ;)
[2010/07/06 08:19:02] <Disconnect> joe-mac: classes
[2010/07/06 08:20:14] <joe-mac> if you only have one box using this class, then you suddenly have a second, chances are you are doing the one of three things suggested here, even if you aren't seeing it. Do you have some error output pastied?
[2010/07/06 08:21:15] <Disconnect> um. parse error :) can you run that by me again? we don't "suddenly" have a second. i built a second to replace the problematic older vm.
[2010/07/06 08:23:42] @ Qix joined channel #puppet
[2010/07/06 08:24:30] <Qix> i'm having some very random problems with puppet where it seems to simply miss out some of the classes i defined
[2010/07/06 08:24:50] <Qix> i mean the link is quite clear so i'm pretty sure its not a configuration problem
[2010/07/06 08:24:58] <Qix> is there any way to debug whats going wrong?
[2010/07/06 08:25:07] @ Quit: mezgani: Read error: Connection reset by peer
[2010/07/06 08:26:20] <Qix> --debug doesnt give me anything useful
[2010/07/06 08:26:50] <joe-mac> Disconnect: disregard the word suddenly
[2010/07/06 08:26:53] <joe-mac> i mean sudden as in new
[2010/07/06 08:27:02] <joe-mac> not sudden as in shock and awe i have a nagios server
[2010/07/06 08:27:05] <joe-mac> mind blown
[2010/07/06 08:27:08] <Disconnect> lol
[2010/07/06 08:27:20] <joe-mac> heh
[2010/07/06 08:28:31] <Disconnect> the only thing its logging is that error. the resources don't -seem- duplicated in the db, although they are all listed with the old server's host id. they are only defined once in the entire manifest stack, and (thanks to iclassify - there's words that don't happen together often) the class is only included once.
[2010/07/06 08:28:49] <Disconnect> rather, they aren't duplicated in the resources table that i can tell by selecting type Nagios_Command.
[2010/07/06 08:29:43] @ Quit: flooose: Ping timeout: 265 seconds
[2010/07/06 08:29:56] <joe-mac> Disconnect: are you wrapping your nagios commands into defines? like define Remote_nagios_command, which will contain an exported and local resource?
[2010/07/06 08:32:20] <Disconnect> nope. :/ lemme pastebin the appserver_heap one for you
[2010/07/06 08:32:51] <joe-mac> i've run into this before and it's an epic PITA
[2010/07/06 08:37:34] <Disconnect> sorry, delay. http://pastebin.ca/1895523
[2010/07/06 08:38:49] <Disconnect> so the clients get multiple nrpe configlets, the server defines a bunch of "check_nrpe" based commands
[2010/07/06 08:40:50] @ mezgani joined channel #puppet
[2010/07/06 08:45:06] @ Quit: markus: Quit: markus
[2010/07/06 08:47:16] <Disconnect> joe-mac: still alive over there?
[2010/07/06 08:47:26] <joe-mac> yera just all over the place, let me look
[2010/07/06 08:48:51] @ jeffmccune joined channel #puppet
[2010/07/06 08:48:57] @ Quit: hacim: Ping timeout: 240 seconds
[2010/07/06 08:49:31] <Disconnect> no prob
[2010/07/06 08:52:00] @ Quit: pmorillo: Quit: pmorillo
[2010/07/06 08:52:04] <joe-mac> in the db, can you search for all resources with the name 'appserver_heap' and pastie that output/
[2010/07/06 08:52:40] <Disconnect> sure
[2010/07/06 08:52:45] @ Quit: dandiep: Ping timeout: 240 seconds
[2010/07/06 08:53:21] @ Quit: manuell: Quit: manuell
[2010/07/06 08:54:22] <Disconnect> appreciate the help :)
[2010/07/06 08:54:50] <Disconnect> http://pastebin.ca/1895526
[2010/07/06 08:54:50] @ spawnyd joined channel #puppet
[2010/07/06 08:54:51] <joe-mac> np
[2010/07/06 09:00:21] @ Quit: sarts_work: Ping timeout: 252 seconds
[2010/07/06 09:02:33] @ Quit: rmayr: Ping timeout: 260 seconds
[2010/07/06 09:06:11] <BLZbubba> is this still an issue: http://projects.reductivelabs.com/issues/2384
[2010/07/06 09:06:14] @ marek joined channel #puppet
[2010/07/06 09:06:26] <BLZbubba> e.g.: Could not run Puppet configuration client: Could not find a default provider for cron
[2010/07/06 09:11:17] <joe-mac> BLZbubba: i have found that on .25.4 on my linux systems if i have non-puppet-managed cronjobs, i get failures with crontab, but the error is slightly different
[2010/07/06 09:11:47] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/07/06 09:12:01] <BLZbubba> the problem is that vixie-cron should probably be a dependency of the puppet rpm
[2010/07/06 09:12:11] <BLZbubba> since it fails to run at all if there is no cron package
[2010/07/06 09:12:29] <BLZbubba> either that, or give it a chance to load the package in the puppet rules
[2010/07/06 09:12:29] <Volcane> should we install nagios on all machines just cos there happen to be nagios support in puppet?
[2010/07/06 09:12:31] <manlymatt83> wk
[2010/07/06 09:13:03] <BLZbubba> Volcane: if it prevents puppet from running at all, yes
[2010/07/06 09:13:29] <Volcane> it prevents puppet from running only when you wish to use those features. its a bug, puppet should look later on but its not currently fixed
[2010/07/06 09:13:50] <Volcane> just saying, pulling in ever possible dependency isnt really a solution
[2010/07/06 09:13:51] <BLZbubba> ok that is what i was asking about, thanks
[2010/07/06 09:15:22] <Volcane> ie. you should be able to do something like: package{"cron":...} crontab{"foo":... require => Package["cron"]}
[2010/07/06 09:15:35] <Volcane> but its broken atm
[2010/07/06 09:15:40] <manlymatt83> How do you guys version your puppet configs? I was thinking of just making a trunk and then branches/live. I would have a separate puppet server in a dev environment (or just setup environments on the existing puppet master), allow anyone to write configs and test them, and then I would merge trunk into live and svn up /etc/puppet on the puppet master when I want to deploy.
[2010/07/06 09:15:57] @ tyll joined channel #puppet
[2010/07/06 09:16:07] <joe-mac> manlymatt83: that sounds like a pretty valid strategy
[2010/07/06 09:17:20] @ Quit: MattyM: Remote host closed the connection
[2010/07/06 09:17:58] <Disconnect> joe-mac: anything stand out in that? gonna drop the row with the null and see what happens..
[2010/07/06 09:19:02] @ Quit: jaredrhine: Ping timeout: 245 seconds
[2010/07/06 09:19:14] <joe-mac> i didn't even see it, try to include my name in posts you want me to lookat like links becuse i am all ovetr the place lol
[2010/07/06 09:19:16] <joe-mac> looking now
[2010/07/06 09:19:56] <joe-mac> yea i would try dropping the null dyude that is an oddity for sure
[2010/07/06 09:20:20] <Disconnect> there's 272 of them in the db.
[2010/07/06 09:20:42] @ toi joined channel #puppet
[2010/07/06 09:21:26] <joe-mac> that justs eems a little weird, let me look at mine
[2010/07/06 09:21:50] <Disconnect> they're all from one host that runs exceedingly rarely, so that may be a glitch somewhere.
[2010/07/06 09:23:55] <manlymatt83> thanks
[2010/07/06 09:24:10] <Disconnect> joe-mac: "select r.title, r.restype, h.name, r.host_id from resources as r, hosts as h where r.host_id=h.id and r.exported is null;" helpful :)
[2010/07/06 09:25:43] <Disconnect> joe-mac: no nulls, same error
[2010/07/06 09:26:28] <joe-mac> weak
[2010/07/06 09:30:39] <Disconnect> yah
[2010/07/06 09:31:48] <z00dax6> humm guys, if i set tag("has-power") in a class, which is then included, I should be able to use if taged ("has-power") pretty much anywhere in the manifests that are applied to the machine right ?
[2010/07/06 09:33:48] <jbooth> z00dax6: Tags like that are buggy
[2010/07/06 09:34:17] <joe-mac> idk if buggy is the way to put it
[2010/07/06 09:34:22] <joe-mac> side effeect or order independence
[2010/07/06 09:34:31] <jbooth> z00dax6: #3845
[2010/07/06 09:34:31] <gepetto> jbooth: z00dax6: #3845 is http://projects.puppetlabs.com/issues/show/3845 "Puppet - Bug #3845: Resources do not inherit class-level tags - Puppet Labs"
[2010/07/06 09:34:39] @ lak joined channel #puppet
[2010/07/06 09:34:46] <joe-mac> o wow i was unaware of that bug
[2010/07/06 09:34:47] <jbooth> joe-mac: See the bug. Clearly buggy.
[2010/07/06 09:34:48] <z00dax6> humm
[2010/07/06 09:34:52] <joe-mac> yea, i'd say so lol
[2010/07/06 09:34:58] <jbooth> I went trying to use tags and discovered it just doesn't work
[2010/07/06 09:35:04] <jbooth> even for that simple a test case
[2010/07/06 09:35:09] <joe-mac> ah, i figured it was like using defined()
[2010/07/06 09:35:27] @ Quit: ptman: Ping timeout: 265 seconds
[2010/07/06 09:35:35] <z00dax6> this is the first time I'm trying to use tag's across the first level class objects.
[2010/07/06 09:35:38] <z00dax6> time to rethink this
[2010/07/06 09:35:55] <joe-mac> could always tag all resources with a bunch of defaults i guess
[2010/07/06 09:36:07] <jbooth> If you'd like tags to work, vote up the bug
[2010/07/06 09:36:12] <joe-mac> like class-level defaults, ie at the top of the class File { tag => "sometag" }
[2010/07/06 09:36:46] <jbooth> joe-mac: That sometimes does some 'funny' things if you call a defined type within the class.
[2010/07/06 09:36:58] <joe-mac> yea, that's true
[2010/07/06 09:37:05] <jbooth> I'd never debugged it, but I kept having class-level defaults 'polluting' other scopes
[2010/07/06 09:37:05] <joe-mac> in defines i usually force modes
[2010/07/06 09:38:21] @ alcy joined channel #puppet
[2010/07/06 09:39:41] <BLZbubba> sshd_config is sure painful to manage with puppet
[2010/07/06 09:39:55] <joe-mac> i just use a template...
[2010/07/06 09:40:05] <joe-mac> you have a lot of different auth mechanisms across your company or something?
[2010/07/06 09:41:43] @ Quit: shug: Quit: Leaving
[2010/07/06 09:41:46] <BLZbubba> just a few hosts with different settings; and there is no way to tell it to listen on just one interface
[2010/07/06 09:42:16] <BLZbubba> a template wouldn't be too painful i guess
[2010/07/06 09:42:40] <jbooth> BLZbubba: augeas understands sshd_config
[2010/07/06 09:43:38] <BLZbubba> i suppose it is time to get more familiar with augeas
[2010/07/06 09:47:56] @ Hypnoz joined channel #puppet
[2010/07/06 09:48:00] @ ptman joined channel #puppet
[2010/07/06 09:50:20] <lisa> can i use Ruby functions in templates? such as $domain.upcase?
[2010/07/06 09:51:18] @ Quit: jeffmccune: Quit: jeffmccune
[2010/07/06 09:54:27] @ Quit: ptman: Ping timeout: 245 seconds
[2010/07/06 09:54:28] @ bgupta joined channel #puppet
[2010/07/06 09:54:31] <rmiller4pi8> lisa: sure. any function your interpreter knows how to find. you can load gems if necessary.
[2010/07/06 09:55:28] @ Quit: alcy: Remote host closed the connection
[2010/07/06 09:56:03] <lisa> nice. thanks
[2010/07/06 09:56:22] @ ptman joined channel #puppet
[2010/07/06 09:56:55] @ Quit: nwmcsween: Ping timeout: 265 seconds
[2010/07/06 09:57:52] @ nwmcsween joined channel #puppet
[2010/07/06 09:59:29] @ Quit: Torey: Ping timeout: 260 seconds
[2010/07/06 10:00:01] @ Torey joined channel #puppet
[2010/07/06 10:00:56] @ Quit: Olly_: Quit: This computer has gone to sleep
[2010/07/06 10:00:57] <ashp> i wish my boss understood how things that sound simple are REALLY REALLY hard
[2010/07/06 10:01:12] <ashp> he's like 'we need a standard way for all automated jobs to report if they were success or failed'
[2010/07/06 10:01:23] <ashp> which sounds great but we have a hodge-podge of garbage cron jobs running all over the place
[2010/07/06 10:02:58] @ jeffmccune joined channel #puppet
[2010/07/06 10:04:14] @ Quit: AK__: Quit: Page closed
[2010/07/06 10:05:36] <ashp> so work won't pay more than $5 for a phone but I can pay $96 for a java book, this seems.. strange
[2010/07/06 10:05:52] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/06 10:06:52] <jamesturnbull> ashp: I did a nagios wrapper for all cron jobs
[2010/07/06 10:07:19] <jamesturnbull> ashp: to address that - basically wrapped cron in a script that outputted Nagios plug-in format
[2010/07/06 10:07:38] <jamesturnbull> ashp: that was a while ago and there are probably smarter ways to do it :)
[2010/07/06 10:07:39] @ jeffmccune joined channel #puppet
[2010/07/06 10:07:52] @ labrown joined channel #puppet
[2010/07/06 10:08:14] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/06 10:08:48] @ jeffmccune joined channel #puppet
[2010/07/06 10:09:25] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/06 10:09:55] @ flooose joined channel #puppet
[2010/07/06 10:09:57] @ jeffmccune joined channel #puppet
[2010/07/06 10:10:22] @ mclarke joined channel #puppet
[2010/07/06 10:10:27] @ Joelio is now known as Joelio_away
[2010/07/06 10:10:38] @ Quit: jeffmccune: Remote host closed the connection
[2010/07/06 10:12:13] @ Quit: _lucid: Ping timeout: 252 seconds
[2010/07/06 10:13:56] @ jaredrhine joined channel #puppet
[2010/07/06 10:14:09] @ Quit: mezgani: Read error: Connection reset by peer
[2010/07/06 10:14:28] @ jeffmccune joined channel #puppet
[2010/07/06 10:14:38] @ Quit: jeffmccune: Client Quit
[2010/07/06 10:16:17] @ adrian_broher joined channel #puppet
[2010/07/06 10:18:24] @ Quit: TREllis: Quit: leaving
[2010/07/06 10:20:10] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/07/06 10:22:07] @ plathrop-away is now known as plathrop
[2010/07/06 10:28:51] @ mezgani joined channel #puppet
[2010/07/06 10:32:08] <joe-mac> there is some kind of job daemon i think used in clusters that makes that dort of thing easy
[2010/07/06 10:32:16] <joe-mac> i cannot for the life of me think of the name
[2010/07/06 10:32:53] <ckdake> gearman?
[2010/07/06 10:33:16] @ grim_radical joined channel #puppet
[2010/07/06 10:33:28] @ pting joined channel #puppet
[2010/07/06 10:34:34] <joe-mac> no tyhis is more for like 'dumb' cron-type things
[2010/07/06 10:34:52] <joe-mac> gearman looks to b e pretty intelligent in its parallelization
[2010/07/06 10:36:06] @ Quit: lak: Quit: lak
[2010/07/06 10:41:41] @ thekad joined channel #puppet
[2010/07/06 10:43:02] <Disconnect> joe-mac: any ideas?
[2010/07/06 10:44:01] <joe-mac> i'm out of ideas...
[2010/07/06 10:48:23] @ spawnyd joined channel #puppet
[2010/07/06 10:49:15] <lisa> ugh. variable scoping and nodes is frustrating indeed
[2010/07/06 10:52:01] @ _lucid joined channel #puppet
[2010/07/06 10:52:38] <_lucid> sorry if this is a post. this is my puppet gem running ... right? http://pastie.org/1033020
[2010/07/06 10:52:53] <_lucid> duplicate post.
[2010/07/06 11:00:15] @ lak joined channel #puppet
[2010/07/06 11:01:08] @ jab_doa joined channel #puppet
[2010/07/06 11:03:00] @ jmccune joined channel #puppet
[2010/07/06 11:04:06] @ Quit: adrian_broher: Quit: Verlassend
[2010/07/06 11:05:14] @ allsystemsarego joined channel #puppet
[2010/07/06 11:08:15] @ Quit: sijis: Ping timeout: 240 seconds
[2010/07/06 11:17:05] @ Quit: jdcasey: Remote host closed the connection
[2010/07/06 11:21:19] <ashp> oh god oh god oh god, work want to setup a demo of 'elgg.org'
[2010/07/06 11:21:24] <ashp> why do they do this to me
[2010/07/06 11:21:50] @ thekad is now known as thekad-afk
[2010/07/06 11:21:53] <beata_> they hate you?
[2010/07/06 11:22:29] <ashp> i think so, why can't we just slap up a facebook page?
[2010/07/06 11:26:21] @ bodepd joined channel #puppet
[2010/07/06 11:26:35] @ bodepd left channel #puppet ()
[2010/07/06 11:27:15] @ Quit: alban2: Quit: Leaving.
[2010/07/06 11:27:20] @ alban2 joined channel #puppet
[2010/07/06 11:28:11] @ bodepd joined channel #puppet
[2010/07/06 11:28:37] @ Quit: bodepd: Client Quit
[2010/07/06 11:30:53] @ bug left channel #puppet ()
[2010/07/06 11:32:40] @ Quit: alban2: Ping timeout: 260 seconds
[2010/07/06 11:35:10] @ tecto_ joined channel #puppet
[2010/07/06 11:35:10] @ Quit: tecto_: Changing host
[2010/07/06 11:35:10] @ tecto_ joined channel #puppet
[2010/07/06 11:38:30] @ ivanoats joined channel #puppet
[2010/07/06 11:44:53] <jbooth> Is there a good way to filter what relationships --graph spits out?
[2010/07/06 11:45:52] <lisa> is there abuilt in method to glue parts of a file together and shove that to a node?
[2010/07/06 11:46:20] @ Quit: lak: Quit: lak
[2010/07/06 11:46:24] * mackn gives Volcane a chance to answer....
[2010/07/06 11:46:51] <mackn> http://github.com/ripienaar/puppet-concat
[2010/07/06 11:46:57] <mackn> might be what you want
[2010/07/06 11:47:18] <jbooth> file{} really just needs to understand concatenation.
[2010/07/06 11:47:27] <jbooth> Unfortunately file{} isn't exactly a simple type.
[2010/07/06 11:47:30] <jbooth> Far from it
[2010/07/06 11:49:14] <lisa> mackn: thanks. i will have a look at that
[2010/07/06 11:57:39] @ jdcasey joined channel #puppet
[2010/07/06 11:59:10] @ lak joined channel #puppet
[2010/07/06 12:01:16] <lisa> seems like such a kludge to glue files together, that is a shame.
[2010/07/06 12:01:52] <mackn> it'll get the job done
[2010/07/06 12:01:52] <mackn> heh
[2010/07/06 12:02:53] <jbooth> Your only other options are in-place edits, either brute-force with sed, or through something smarter like augeas
[2010/07/06 12:03:28] <mackn> how many fragments are you gluing together?
[2010/07/06 12:04:02] <lisa> i'd like to be able to include a series of classes, like snmpd::mailq, snmpd::base, snmpd::jvm, snmpd::diskmonitoring, etc and perpetually append a fragment to a main file
[2010/07/06 12:11:24] @ Quit: lak: Quit: lak
[2010/07/06 12:12:08] @ Quit: littleidea: Quit: littleidea
[2010/07/06 12:13:24] @ littleidea joined channel #puppet
[2010/07/06 12:15:21] @ thekad-afk is now known as thekad
[2010/07/06 12:16:22] @ bug joined channel #puppet
[2010/07/06 12:18:21] @ britneypire joined channel #puppet
[2010/07/06 12:20:23] @ Quit: britneypire: Client Quit
[2010/07/06 12:22:59] <jbooth> that is not reassuring
[2010/07/06 12:23:03] <jbooth> that looks like catalog corruption
[2010/07/06 12:26:55] <lisa> what does?
[2010/07/06 12:28:25] <jbooth> undefined method `ruleno' for #<Puppet::Type::Group::ProviderGroupa
[2010/07/06 12:28:42] <jbooth> ruleno is something I define in one of my providers, and it shouldn't be called on any provider that isn't of the same class...
[2010/07/06 12:30:08] <jbooth> oh, no, I see the bug. Okay.
[2010/07/06 12:30:24] <jbooth> that's strange that hasn't cropped up before...
[2010/07/06 12:31:45] @ Quit: mclarke: Read error: Connection reset by peer
[2010/07/06 12:31:48] @ mclarke joined channel #puppet
[2010/07/06 12:33:51] <_lucid> do module collections work on stand alone puppets or are they for puppetmasters only?
[2010/07/06 12:34:08] @ radkin1 joined channel #puppet
[2010/07/06 12:34:55] <joe-mac> module collections?
[2010/07/06 12:35:34] <_lucid> David Schmitts, example42, camptocamp ....
[2010/07/06 12:35:45] @ Quit: radkin: Ping timeout: 240 seconds
[2010/07/06 12:35:58] <joe-mac> oh, ahh the quesiton doesn't really make sense
[2010/07/06 12:36:15] <joe-mac> you drop you rmodules on your master, and based on the manifests you write, the master sends a specific config to the client.
[2010/07/06 12:36:48] @ Bass10 joined channel #puppet
[2010/07/06 12:37:27] <jbooth> _lucid: Short answer, with 'puppet --modulepath' they work on standalone as well as client/server.
[2010/07/06 12:38:19] @ Quit: Bass10: Max SendQ exceeded
[2010/07/06 12:38:20] <_lucid> puppet --modulepath ... ty
[2010/07/06 12:39:14] @ Bass10 joined channel #puppet
[2010/07/06 12:40:55] @ Borges joined channel #puppet
[2010/07/06 12:41:48] <joe-mac> ahh, you mean a masterless type setup i guess then
[2010/07/06 12:45:57] @ scotts joined channel #puppet
[2010/07/06 12:46:17] @ Quit: scotts: Client Quit
[2010/07/06 12:47:32] @ OpenMedia joined channel #puppet
[2010/07/06 12:47:47] <_lucid> joe-mac: yes. sorry for any confusion. i new to puppet and learning the terms...
[2010/07/06 12:49:14] <joe-mac> o i c
[2010/07/06 12:52:05] @ Quit: labrown: Quit: Leaving
[2010/07/06 12:54:07] @ adrian_broher joined channel #puppet
[2010/07/06 12:55:11] @ Quit: [GuS]: Remote host closed the connection
[2010/07/06 12:55:44] @ Deesl joined channel #puppet
[2010/07/06 12:58:49] @ EvanCC joined channel #puppet
[2010/07/06 12:59:29] <EvanCC> can anyone help a newbie with a problem?
[2010/07/06 12:59:45] <mackn> if you ask your question..someone[tm] will answer it...
[2010/07/06 13:00:02] <EvanCC> no matter what I get the following error on my client: http://pastie.org/1033225
[2010/07/06 13:00:10] <radkin1> I'm a puppet noob and even I'll answer if I can
[2010/07/06 13:00:25] <EvanCC> i am on new install and new client..both have nothing on them but puppet (just doing testing)
[2010/07/06 13:00:54] <EvanCC> the client connects and add the certificate like one should and then this problem
[2010/07/06 13:01:56] @ fbe joined channel #puppet
[2010/07/06 13:02:33] <beata_> first guess if you have plugins enabled, do you actually have a plugin in one of your modules?
[2010/07/06 13:03:00] <EvanCC> no...default install literally my site.pp is the sudo test
[2010/07/06 13:03:16] <mackn> what abot your puppet.conf
[2010/07/06 13:03:27] <EvanCC> mackn, on the client or server/
[2010/07/06 13:03:31] <mackn> master
[2010/07/06 13:03:38] @ Quit: mezgani: Read error: Operation timed out
[2010/07/06 13:04:10] <EvanCC> mackn, http://pastie.org/1033230
[2010/07/06 13:04:48] @ mezgani joined channel #puppet
[2010/07/06 13:04:53] <beata_> try changing pluiginsync to false
[2010/07/06 13:05:05] <EvanCC> okay
[2010/07/06 13:05:52] <EvanCC> same thing
[2010/07/06 13:06:28] @ Quit: ivanoats: Remote host closed the connection
[2010/07/06 13:06:30] <jbooth> not a pluginsync problem. Looks like a ssl/dns type problem.
[2010/07/06 13:06:51] <jbooth> Possibly a versioning problem, what's client/master versions?
[2010/07/06 13:06:57] <mackn> can you run puppetmasterd --genconfig |grep template
[2010/07/06 13:07:02] <mackn> and make sure it looks ok
[2010/07/06 13:07:06] <EvanCC> client: 0.25.4
[2010/07/06 13:07:25] <EvanCC> same with the server
[2010/07/06 13:07:48] <beata_> forward/reverse dns working?
[2010/07/06 13:08:12] <EvanCC> beata these are test boxes so i was just using the ip.....
[2010/07/06 13:08:44] <jbooth> That generally makes for angry ssl
[2010/07/06 13:08:52] <mackn> heh
[2010/07/06 13:08:57] <jbooth> I'd get dns working right, then blow away the ssl certs and try again
[2010/07/06 13:09:02] <EvanCC> sigh
[2010/07/06 13:09:06] <mackn> do you at least have /etc/hosts enteries for them?
[2010/07/06 13:09:26] <EvanCC> okay ill play with that some more...
[2010/07/06 13:09:41] <EvanCC> then my final question is any chance you guys are going to clean up these error messages?
[2010/07/06 13:09:43] <jbooth> hosts entries might be enough, just make sure they match
[2010/07/06 13:09:56] <mackn> hosts should work fine
[2010/07/06 13:10:04] <mackn> just make sure everyone has the same enteries
[2010/07/06 13:10:04] <mackn> heh
[2010/07/06 13:10:21] <jbooth> Nobody talking to you is puppetlabs that I've heard of. And messages don't get cleaned up without tickets/bug reports on them.
[2010/07/06 13:10:28] <mackn> cleaning up error mesgs.. probably on the bottom of the 'todo' list
[2010/07/06 13:11:09] @ Quit: _lucid: Ping timeout: 252 seconds
[2010/07/06 13:11:16] <mackn> clenaing up usually means puttin more check to isolate the root cause... so.. not as simple as just cleaning up
[2010/07/06 13:12:07] <EvanCC> mackn jbooth okay
[2010/07/06 13:12:35] <mackn> but yeha..like jbooth says.. if it really bothers you the best thing to do is open a ticket.. or see if one already exists.
[2010/07/06 13:12:54] <EvanCC> how do i blow away the certs just delete the one cert for the clienton the server?
[2010/07/06 13:13:08] <mackn> if you're on a new install the best is to blow everything away
[2010/07/06 13:13:14] <mackn> delete the ssl/ directory on both m aster and client
[2010/07/06 13:13:26] <mackn> less headaches :)
[2010/07/06 13:13:32] <EvanCC> okay
[2010/07/06 13:13:43] <mackn> no chance of accidentally leaving something behind you should have deleted
[2010/07/06 13:13:48] @ ckauhaus joined channel #puppet
[2010/07/06 13:14:05] <mackn> stop the daemons before you do it
[2010/07/06 13:16:19] @ Quit: jmccune: Ping timeout: 276 seconds
[2010/07/06 13:17:44] @ jmccune joined channel #puppet
[2010/07/06 13:19:16] @ lak joined channel #puppet
[2010/07/06 13:19:21] @ Quit: mattock: Ping timeout: 240 seconds
[2010/07/06 13:20:31] <EvanCC> sigh same problem
[2010/07/06 13:20:40] <mackn> did you the --genconfig
[2010/07/06 13:20:43] <mackn> run
[2010/07/06 13:20:44] <EvanCC> added to /etc/hosts for both
[2010/07/06 13:21:15] <EvanCC> mackn, on which?
[2010/07/06 13:21:26] <mackn> run puppetmasterd --genconfig |grep template
[2010/07/06 13:21:38] <mackn> and make sure it looks ok
[2010/07/06 13:21:45] <radkin1> Hi folks. I've fleshed out my templates and have a custom module running. The syntax check passes, the node has all the values for the template and even complains when there is a value missing.... however, none of the values are showing up on the box in the file. Any ideas?
[2010/07/06 13:22:39] <beata_> scope?
[2010/07/06 13:23:06] <radkin1> I did import the module after the values are set, the way they are supposed to .... right?
[2010/07/06 13:23:14] <mackn> hrmmm
[2010/07/06 13:23:24] <mackn> might help to see a pastie?
[2010/07/06 13:23:26] <beata_> just to test just define one of the variables in the same class
[2010/07/06 13:24:37] <radkin1> hmmm.. just a sec
[2010/07/06 13:25:41] <radkin1> the template http://pastie.org/1033263
[2010/07/06 13:25:44] <EvanCC> mackn it does
[2010/07/06 13:26:25] @ Quit: jdcasey: Remote host closed the connection
[2010/07/06 13:27:06] <radkin1> nodes.pp http://pastie.org/1033265
[2010/07/06 13:27:09] @ Quit: adrian_broher: Quit: Verlassend
[2010/07/06 13:27:57] <radkin1> and init.pp for the class http://pastie.org/1033273
[2010/07/06 13:30:13] <beata_> will if defined($somevar) work?
[2010/07/06 13:30:38] <radkin1> it was complaining when I didn't set some of the values in the nodes.pp per this message
[2010/07/06 13:30:40] <radkin1> Could not retrieve configuration: Failed to parse template modjk/workers.properties.erb: Could not find value for 'worker_port' at /etc/puppet/modules/modjk/manifests/init.pp:18 on node
[2010/07/06 13:31:09] <mackn> does nothing show up or just some of the values?
[2010/07/06 13:31:18] <jbooth> beata_: Not like you want it unless $somevar is "Class['foo']" and that was your desired behavior.
[2010/07/06 13:31:24] <radkin1> none of them are showing up
[2010/07/06 13:31:32] <beata_> jbooth: nope
[2010/07/06 13:31:41] <radkin1> double-checking mackn
[2010/07/06 13:32:09] <beata_> jbooth: know of a good way to do that w/ a variable? just check for null i guess?
[2010/07/06 13:32:59] <beata_> i guess i dont even need that i can just have the servers call class::server
[2010/07/06 13:33:26] @ labrown joined channel #puppet
[2010/07/06 13:33:45] <radkin1> mackn, I'm sure it isn't changing them.
[2010/07/06 13:36:30] <jbooth> beata_: I think the standard way is $variable != ""
[2010/07/06 13:37:46] <beata_> thanks jbooth
[2010/07/06 13:38:29] @ Quit: toi: Quit: Ex-Chat
[2010/07/06 13:39:38] <mackn> radkin1: is the first worker_port setting missing on the resulting file?
[2010/07/06 13:40:17] <radkin1> it's set to the old value. Maybe I should blow away the file to see if it adds a new one with the correct value?
[2010/07/06 13:40:58] <mackn> sure
[2010/07/06 13:41:28] <jab_doa> hi
[2010/07/06 13:41:38] <jab_doa> got a question: is there a way to manage mount options in puppet?
[2010/07/06 13:41:51] <joe-mac> mount { options => "ro" }
[2010/07/06 13:42:06] <joe-mac> err mount { "something": options => "ro" }
[2010/07/06 13:43:09] <radkin1> mackn, it never built the file. It's hasn't worked yet so it's not like this ever was working. It's my first template & custom module
[2010/07/06 13:43:28] <mackn> ok
[2010/07/06 13:43:43] @ gniks joined channel #puppet
[2010/07/06 13:43:44] <mackn> have you been running puppetd manually with --test?
[2010/07/06 13:43:52] <jab_doa> joe-mac, cool thanks
[2010/07/06 13:43:57] <mackn> to see if it's woring
[2010/07/06 13:43:58] <mackn> working
[2010/07/06 13:44:11] <radkin1> not with test, running now
[2010/07/06 13:45:45] <radkin1> it's complaining about some unrelated stuff, but nothing ... it's too quiet. http://pastie.org/1033308
[2010/07/06 13:46:02] <jab_doa> joe-mac, where can i find documentations about the mount functions?
[2010/07/06 13:46:26] <radkin1> I had this server 7 client working for apache with the stock example_24 module and an httpd.conf change
[2010/07/06 13:46:30] <joe-mac> the typereference jab_doa
[2010/07/06 13:46:46] @ EvanCC left channel #puppet ("Leaving")
[2010/07/06 13:47:22] <jab_doa> is there an online version?
[2010/07/06 13:47:22] @ Quit: lak: Quit: lak
[2010/07/06 13:47:36] <radkin1> I meant example_42 ... sorry :(
[2010/07/06 13:47:48] <joe-mac> yea, the typereference
[2010/07/06 13:47:54] <mackn> radkin1, are you using the munin-node package?
[2010/07/06 13:48:09] <mackn> or trying to, rather
[2010/07/06 13:48:10] <mackn> heh
[2010/07/06 13:49:52] @ nickar joined channel #puppet
[2010/07/06 13:50:34] @ radkin joined channel #puppet
[2010/07/06 13:50:52] <radkin> sorry, dropped off for a sec there
[2010/07/06 13:51:34] <radkin> I could always just not import apache for now ,but I really like watching those munin errors fly by.
[2010/07/06 13:51:45] @ Quit: radkin1: Ping timeout: 240 seconds
[2010/07/06 13:53:33] <nickar> Hi people!, i have a question with exported resources.
[2010/07/06 13:54:52] <nickar> I need to generate a config file (for torque PBS) with a list of nodes and its cpu number (node.processors). How can i export this info from a node to the head?
[2010/07/06 13:56:10] @ Quit: mfournier: Ping timeout: 260 seconds
[2010/07/06 13:56:30] @ lak joined channel #puppet
[2010/07/06 13:57:30] <mackn> radkin, i think the problem is with that munin-node error
[2010/07/06 13:57:44] <mackn> radkin, the rest of your catalog isn't even loading because of it me thinks
[2010/07/06 13:57:45] <radkin> okay, I'll take apache out of the loop.
[2010/07/06 13:58:00] <mackn> i'm guessing it can't find the package to download from anywhere
[2010/07/06 13:58:09] <mackn> you can try to manually install it and see if it works
[2010/07/06 13:58:12] <radkin> I think you're right
[2010/07/06 14:05:37] @ Quit: lak: Quit: lak
[2010/07/06 14:13:48] @ WALoeIII joined channel #puppet
[2010/07/06 14:16:57] @ Quit: flooose: Ping timeout: 245 seconds
[2010/07/06 14:18:11] @ Quit: kaptk2: Quit: Leaving.
[2010/07/06 14:18:21] @ Quit: tecto_: Quit: tecto_
[2010/07/06 14:18:34] @ kaptk2 joined channel #puppet
[2010/07/06 14:20:26] @ fredden joined channel #puppet
[2010/07/06 14:21:28] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/06 14:24:46] <plathrop> okay, so you cannot have duplicate resources defined even if no node attempts to pull in both?
[2010/07/06 14:25:00] <mackn> right
[2010/07/06 14:25:17] <mackn> names must be uniq
[2010/07/06 14:26:07] <radkin> mackn, sure enough, removing the apache mod import from that node fixed the problem
[2010/07/06 14:26:49] <mackn> is the resulting file fromt he template looking correct?
[2010/07/06 14:26:58] <radkin> the only potential issue is that I set some of the values to "0" and they ended up in the file as "value= ". That could be find, but I would prefer "value=0"
[2010/07/06 14:27:12] <mackn> yeah that's cuz there's a probelm with the template
[2010/07/06 14:27:17] <mackn> if you look closely.. you'll see why :)
[2010/07/06 14:27:22] <radkin> looking
[2010/07/06 14:27:53] <mackn> you'll know why i was asking you about what was showing up before we knew the real problem
[2010/07/06 14:27:57] <radkin> I'm too much of a puppet noob to tell
[2010/07/06 14:28:11] <mackn> what shows up and what doesn't.. and compare the lines in your template
[2010/07/06 14:28:20] <radkin> ah ha
[2010/07/06 14:28:39] <mackn> error checking doesn't catch it since.. syntacticlaly it's OK
[2010/07/06 14:29:38] <radkin> it looks the same as the one that worked, eg.
[2010/07/06 14:29:49] <radkin> this works ...... worker.worker1.port=<%= worker_port %>
[2010/07/06 14:30:03] <radkin> this does not ..... worker.worker1.connection_pool_size=<% conn_pool_size %>
[2010/07/06 14:30:12] <mackn> nod
[2010/07/06 14:30:13] <mackn> yup
[2010/07/06 14:30:20] @ Quit: Disconnect: Quit: ZNC - http://znc.sourceforge.net
[2010/07/06 14:30:30] @ Disconnect joined channel #puppet
[2010/07/06 14:30:34] <plathrop> radkin: <% versus <%=
[2010/07/06 14:30:48] <radkin> ha ha ha ha
[2010/07/06 14:31:00] <radkin> I can't believe I didn't see that ;0
[2010/07/06 14:31:12] <mackn> heh
[2010/07/06 14:32:28] <radkin> thanks a lot!
[2010/07/06 14:35:10] @ Quit: gebi: Ping timeout: 276 seconds
[2010/07/06 14:43:23] @ Quit: MPSimmons: Quit: Leaving.
[2010/07/06 14:43:50] @ Quit: nexx: Quit: quit
[2010/07/06 14:44:17] @ Quit: reyjrar: Quit: Leaving.
[2010/07/06 14:46:55] @ freshtonic joined channel #puppet
[2010/07/06 14:48:54] @ joe-mac left channel #puppet ()
[2010/07/06 14:51:40] @ Quit: beata_: Quit: leaving
[2010/07/06 14:58:04] <plathrop> I have a completely nonsensical error message
[2010/07/06 14:58:18] <plathrop> http://gist.github.com/465983
[2010/07/06 14:58:23] <plathrop> anyone have any ideas?
[2010/07/06 15:00:43] @ Quit: duxklr: Quit: duxklr
[2010/07/06 15:00:47] <mackn> wacky
[2010/07/06 15:01:44] <Volcane> plathrop: a define that makes non unique resources
[2010/07/06 15:02:48] <plathrop> oh!
[2010/07/06 15:03:17] <mackn> volcane.. you're the best bot ever!
[2010/07/06 15:03:22] <Volcane> heh
[2010/07/06 15:04:01] @ joe-mac joined channel #puppet
[2010/07/06 15:06:45] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/07/06 15:08:08] @ rmayr joined channel #puppet
[2010/07/06 15:11:21] @ Quit: notbrien: Quit: notbrien
[2010/07/06 15:12:14] <plathrop> Volcane: you rule thanks
[2010/07/06 15:12:34] @ rodnet joined channel #puppet
[2010/07/06 15:14:24] @ blahdeblah joined channel #puppet
[2010/07/06 15:18:31] @ Quit: rmayr: Ping timeout: 276 seconds
[2010/07/06 15:20:33] @ Quit: danbeck: Quit: danbeck
[2010/07/06 15:22:08] @ sebas891 left channel #puppet ()
[2010/07/06 15:23:43] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/07/06 15:27:01] @ Quit: bug: Quit: bug
[2010/07/06 15:28:30] @ Quit: rodnet: Read error: Connection reset by peer
[2010/07/06 15:28:31] @ rodnet_ joined channel #puppet
[2010/07/06 15:31:29] @ Quit: rodnet_: Client Quit
[2010/07/06 15:32:40] @ Quit: tyll: Quit: leaving
[2010/07/06 15:32:50] @ kaptk2 left channel #puppet ()
[2010/07/06 15:36:52] <dan__t> Hm, I can't find my puppet machine.
[2010/07/06 15:36:55] <dan__t> It was a VM. Now I can't find it.
[2010/07/06 15:38:26] <mackn> never a good sign
[2010/07/06 15:38:58] <dan__t> This is a problem.
[2010/07/06 15:40:39] <jamesturnbull> mackn: especially if it's gone all Skynet on us and it's currently self-aware and working out launch codes
[2010/07/06 15:40:49] * mackn cringes
[2010/07/06 15:40:55] <dan__t> yes.
[2010/07/06 15:41:02] * jamesturnbull thinks that'll happen to emacs one day
[2010/07/06 15:41:13] * bdha taps foot.
[2010/07/06 15:41:14] <bdha> 2.6!
[2010/07/06 15:42:59] @ Quit: blahdeblah: Ping timeout: 265 seconds
[2010/07/06 15:43:13] @ Quit: Borges: Ping timeout: 276 seconds
[2010/07/06 15:47:05] @ tecto_ joined channel #puppet
[2010/07/06 15:47:05] @ Quit: tecto_: Changing host
[2010/07/06 15:47:05] @ tecto_ joined channel #puppet
[2010/07/06 15:48:45] @ bug joined channel #puppet
[2010/07/06 15:51:25] @ achester joined channel #puppet
[2010/07/06 15:52:55] <jamesturnbull> bdha: last bugs being looked at today with a view to a beta tomorrow
[2010/07/06 15:54:09] @ sladelcm joined channel #puppet
[2010/07/06 15:54:47] <dan__t> what the f.
[2010/07/06 15:55:07] <bdha> jamesturnbull: Word.
[2010/07/06 15:55:10] @ tecto__ joined channel #puppet
[2010/07/06 15:55:10] @ Quit: tecto__: Changing host
[2010/07/06 15:55:10] @ tecto__ joined channel #puppet
[2010/07/06 15:55:32] @ mclarke left channel #puppet ()
[2010/07/06 15:58:09] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/06 16:00:07] <sladelcm> does anyone have a droid eris
[2010/07/06 16:01:28] @ Quit: nickar: Quit: Saliendo
[2010/07/06 16:02:03] <gepetto> feed redmine had 4 updates, showing the latest 3
[2010/07/06 16:02:03] <gepetto> ::redmine:: Wiki edit: Facter_Patterns (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Facter_Patterns?version=5 (by James Turnbull)
[2010/07/06 16:02:03] <gepetto> ::redmine:: Wiki edit: SideBar (#19) @ http://projects.reductivelabs.com/projects/1/wiki/SideBar?version=19 (by James Turnbull)
[2010/07/06 16:02:03] <gepetto> ::redmine:: Wiki edit: Pattern_Requests (#7) @ http://projects.reductivelabs.com/projects/1/wiki/Pattern_Requests?version=7 (by James Turnbull)
[2010/07/06 16:02:25] <dan__t> Where the F did this thing go heh
[2010/07/06 16:03:24] @ Quit: grim_radical: Quit: Ex-Chat
[2010/07/06 16:05:17] @ sladelcm left channel #puppet ()
[2010/07/06 16:05:24] @ Quit: jab_doa: Quit: Verlassend
[2010/07/06 16:09:08] <gepetto> feed redmine had 15 updates, showing the latest 3
[2010/07/06 16:09:08] <gepetto> ::redmine:: Wiki edit: SideBar (#19) @ http://projects.puppetlabs.com/projects/1/wiki/SideBar?version=19 (by James Turnbull)
[2010/07/06 16:09:08] <gepetto> ::redmine:: Wiki edit: Pattern_Requests (#7) @ http://projects.puppetlabs.com/projects/1/wiki/Pattern_Requests?version=7 (by James Turnbull)
[2010/07/06 16:09:08] <gepetto> ::redmine:: Wiki edit: Puppet_Patterns (#8) @ http://projects.puppetlabs.com/projects/1/wiki/Puppet_Patterns?version=8 (by James Turnbull)
[2010/07/06 16:11:46] @ lak joined channel #puppet
[2010/07/06 16:11:58] <blkperl> lak: hi
[2010/07/06 16:12:05] @ Quit: lak: Client Quit
[2010/07/06 16:12:17] <mackn> skared him off
[2010/07/06 16:12:21] <blkperl> yep
[2010/07/06 16:14:20] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/07/06 16:29:20] @ lak joined channel #puppet
[2010/07/06 16:29:52] @ Log started by gepetto
[2010/07/06 16:29:52] @ Joined channel #puppet
[2010/07/06 16:29:52] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/07/06 16:29:52] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 18:32:23 -0700 2010
[2010/07/06 16:29:55] @ Mode +cnt by calvino.freenode.net
[2010/07/06 16:30:58] @ tecto_ joined channel #puppet
[2010/07/06 16:34:07] @ Quit: tecto__: Ping timeout: 276 seconds
[2010/07/06 16:34:21] @ Log started by gepetto
[2010/07/06 16:34:21] @ Joined channel #puppet
[2010/07/06 16:34:21] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/07/06 16:34:21] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 18:30:22 -0700 2010
[2010/07/06 16:34:24] @ Mode +cnt by kornbluth.freenode.net
[2010/07/06 16:35:00] @ Quit: tecto_: Ping timeout: 240 seconds
[2010/07/06 16:38:08] <dan__t> FOUND IT.
[2010/07/06 16:38:11] @ tecto_ joined channel #puppet
[2010/07/06 16:38:11] @ Quit: tecto_: Changing host
[2010/07/06 16:38:11] @ tecto_ joined channel #puppet
[2010/07/06 16:38:17] * mackn claps
[2010/07/06 16:38:59] <jamesturnbull> Volcane: ping
[2010/07/06 16:39:04] <jamesturnbull> ref:type
[2010/07/06 16:39:04] <gepetto> jamesturnbull: ref: ref:type is http://docs.puppetlabs.com/references/latest/type.html "Documentation | Puppet Labs"
[2010/07/06 16:39:16] <jamesturnbull> wiki:Patterns
[2010/07/06 16:39:17] <gepetto> jamesturnbull: wiki: wiki:Patterns is http://projects.puppetlabs.com/projects/puppet/wiki/Patterns "Puppet - Patterns - Puppet Labs"
[2010/07/06 16:39:26] <jamesturnbull> guide:introduction
[2010/07/06 16:39:26] <gepetto> jamesturnbull: guide: guide:introduction is http://docs.puppetlabs.com/guides/introduction.html "Documentation | Puppet Labs"
[2010/07/06 16:39:44] <mackn> now to get it to shorted URLs pasted in irc....
[2010/07/06 16:39:47] <mackn> shorten
[2010/07/06 16:39:57] <jamesturnbull> gepetto: help
[2010/07/06 16:39:57] <gepetto> jamesturnbull: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 11 plugins: debug, hudson, nickserv, note, pastie, puppetdocsurls, redmineurls, rss, seen, shortenurls, time (help <topic> for more info)
[2010/07/06 16:40:06] <jamesturnbull> gepetto: help shortenurls
[2010/07/06 16:40:06] <gepetto> jamesturnbull: shorten urls. syntax: <service> <your long url> => creates a shortened url using the required service (choose between makeashorterlink, tinyurl, skinnylink, moourl, linktrim, shiturl, snipurl, urltea, littlink, minilink, clipurl). Example: gepetto, tinyurl http://some.long.url/wow-this-is/really-long.html
[2010/07/06 16:41:23] <eric0> canonical urls are better in my opinion...also: LOL @ 'shiturl'
[2010/07/06 16:41:37] <mackn> ahh that requires people to actually use it heh
[2010/07/06 16:42:13] <jamesturnbull> mackn: I prefer the canonical URLs for stuff like that - it's not that I don't trust url shortening services but ... oh wait no I don't
[2010/07/06 16:43:13] @ Quit: tecto_: Ping timeout: 276 seconds
[2010/07/06 16:44:18] @ mikey_p joined channel #puppet
[2010/07/06 16:46:15] @ jennyf joined channel #puppet
[2010/07/06 16:46:30] <jamesturnbull> gepetto: help redmineurls
[2010/07/06 16:46:30] <gepetto> jamesturnbull: Redmine_urls: Convert common Redmine WikiSyntax references into URLs. I will watch the channel for likely references (see subtopic 'general'), and also respond to specific requests (see subtopic 'queries').
[2010/07/06 16:46:39] <jamesturnbull> gepetto: help redmineurls queries
[2010/07/06 16:46:39] <gepetto> jamesturnbull: You can ask me to lookup some info about a Redmine bug, changeset, or wiki page. I'll give you the URL and the title of the bug or page, or the commit message of a changeset. You must address me directly to get a response. Example: 'gepetto: redmineinfo #93' will produce a URL and the ticket's title.
[2010/07/06 16:47:07] @ Quit: jennyf: Client Quit
[2010/07/06 16:47:58] @ tecto_ joined channel #puppet
[2010/07/06 16:47:58] @ Quit: tecto_: Changing host
[2010/07/06 16:47:58] @ tecto_ joined channel #puppet
[2010/07/06 16:50:22] @ Quit: DmosEmp_: Ping timeout: 276 seconds
[2010/07/06 16:53:30] @ Quit: radkin: Remote host closed the connection
[2010/07/06 16:57:00] @ Quit: n3kl: Ping timeout: 252 seconds
[2010/07/06 16:58:42] @ n3kl joined channel #puppet
[2010/07/06 16:58:42] @ Quit: n3kl: Changing host
[2010/07/06 16:58:43] @ n3kl joined channel #puppet
[2010/07/06 17:02:11] @ blahdeblah joined channel #puppet
[2010/07/06 17:02:53] * odyi jamesturnbull Been busy and completed neglected to post a puppet meeting time or topic. Anyone in the office this week want to talk about something? Plus this will probably be the last meeting I am able to organize as next month I will probably be already on the rode.
[2010/07/06 17:03:13] <odyi> sigh...that was suppose to be /msg not /me
[2010/07/06 17:03:17] @ Quit: littleidea: Quit: littleidea
[2010/07/06 17:03:41] <mackn> haha
[2010/07/06 17:04:09] <mackn> it was a boring mis'msg anywayz... *yawn*
[2010/07/06 17:04:45] <odyi> which is a good thing.
[2010/07/06 17:05:02] <mackn> well..i've been having a pretty boring day today.. so... i don't know
[2010/07/06 17:05:09] <mackn> could have used the excitement
[2010/07/06 17:08:53] @ artista_frustrad joined channel #puppet
[2010/07/06 17:09:02] @ Quit: artista_frustrad: Read error: Connection reset by peer
[2010/07/06 17:13:59] @ benno joined channel #puppet
[2010/07/06 17:15:31] @ Quit: thefish: Ping timeout: 276 seconds
[2010/07/06 17:15:45] @ Quit: mezgani: Ping timeout: 240 seconds
[2010/07/06 17:16:51] @ Quit: yannL: Read error: Operation timed out
[2010/07/06 17:17:48] @ littleidea joined channel #puppet
[2010/07/06 17:19:00] @ yannL joined channel #puppet
[2010/07/06 17:21:29] @ littleidea_ joined channel #puppet
[2010/07/06 17:23:04] @ Quit: allsystemsarego: Quit: Leaving
[2010/07/06 17:23:45] @ Quit: littleidea: Ping timeout: 240 seconds
[2010/07/06 17:23:49] @ thefish joined channel #puppet
[2010/07/06 17:23:49] @ Quit: thefish: Changing host
[2010/07/06 17:23:49] @ thefish joined channel #puppet
[2010/07/06 17:23:51] <benno> hi i am using yum as my provider for my packages through out my site. but in one specific case i want to use yum with diffrent parameters. the default parameter for yum is /usr/bin/yum -d 0 -e 0 -y
[2010/07/06 17:24:04] <benno> i wan to add --nogpgcheck
[2010/07/06 17:24:09] <benno> is it posible?
[2010/07/06 17:24:46] <blkperl> i think so
[2010/07/06 17:25:01] * blkperl looking for example
[2010/07/06 17:25:25] <benno> only for one specific case not for other package types
[2010/07/06 17:26:03] <blkperl> well theres this http://docs.puppetlabs.com/guides/types/yumrepo.html
[2010/07/06 17:26:31] <benno> i will read it thanks a lott
[2010/07/06 17:28:38] <blkperl> np :)
[2010/07/06 17:29:38] <benno> but isn't yumrepo resource used to setup the client yum.conf?
[2010/07/06 17:29:40] @ Quit: rmiller4pi8: Ping timeout: 240 seconds
[2010/07/06 17:30:58] <jamesturnbull> benno: there isn't a way to currentl pass arbitary options to the package providers
[2010/07/06 17:31:43] @ Quit: ahasenack: Quit: Leaving
[2010/07/06 17:32:31] <benno> Ohh :(
[2010/07/06 17:32:37] <benno> i am stuck
[2010/07/06 17:33:03] <benno> then i have to change the yum.conf in my entire site
[2010/07/06 17:33:15] <benno> just for one package to be insalled
[2010/07/06 17:33:16] <mackn> yumrepo :)
[2010/07/06 17:33:32] <benno> or i'll have to use exec
[2010/07/06 17:33:52] <mackn> doo iitt!
[2010/07/06 17:34:16] <benno> but it doesn't sound good
[2010/07/06 17:34:22] <benno> any better ways
[2010/07/06 17:34:55] <mackn> setup a repo with the package and use gpg
[2010/07/06 17:34:56] <benno> also securty poeple will be behind me
[2010/07/06 17:34:56] <mackn> heh
[2010/07/06 17:35:43] <mackn> if security is a concern you may want to use your own repo and have everything come from there
[2010/07/06 17:35:44] <benno> the problem is the i have redhat's gpg inmported and used in all y clients
[2010/07/06 17:35:55] <benno> this particulsr package is from netbackup
[2010/07/06 17:36:29] <mackn> do you pay them a lot of money? maybe you can convince them to fix their repo :)
[2010/07/06 17:36:45] <benno> so to install netbackup i woudl have to import netbackup's gpg
[2010/07/06 17:36:54] <benno> which woudl make my redhat gpg imvalid
[2010/07/06 17:38:46] <mackn> you can't specify the gpg per repo in yum?
[2010/07/06 17:39:40] @ Quit: jaredrhine: Ping timeout: 240 seconds
[2010/07/06 17:39:59] <benno> i can but i thin the /etc/yum.conf takes precedence
[2010/07/06 17:40:15] <benno> if i have gpg check enabled in my /etc/yum.conf
[2010/07/06 17:40:19] <mackn> i mean in /etc/yum.conf... (yeah i know.. that means redoing it everywhere..)
[2010/07/06 17:40:37] <benno> and my spedific repo has gpg check disabled
[2010/07/06 17:40:45] <benno> still it checks gpg
[2010/07/06 17:40:52] <benno> i think so
[2010/07/06 17:41:19] @ Quit: Hypnoz: Remote host closed the connection
[2010/07/06 17:41:47] <mackn> you should be able to specify a gpgkey= for each repo you have configured. unless i'm not understanding the problem correctly...
[2010/07/06 17:42:19] <benno> Ohh
[2010/07/06 17:42:23] <benno> let me check
[2010/07/06 17:44:05] <benno> Ohh yes there is
[2010/07/06 17:44:09] <benno> i can do that
[2010/07/06 17:44:23] <benno> thnks so dumb of me
[2010/07/06 17:44:40] <benno> i'll setup a new repository
[2010/07/06 17:44:46] <benno> thnkssss
[2010/07/06 17:44:49] <mackn> nod
[2010/07/06 17:47:14] @ p3rror joined channel #puppet
[2010/07/06 17:51:08] @ tecto__ joined channel #puppet
[2010/07/06 17:51:08] @ Quit: tecto__: Changing host
[2010/07/06 17:51:08] @ tecto__ joined channel #puppet
[2010/07/06 17:52:00] @ Quit: p3rror: Ping timeout: 240 seconds
[2010/07/06 17:54:58] @ Borges joined channel #puppet
[2010/07/06 17:55:25] @ Quit: tecto_: Ping timeout: 265 seconds
[2010/07/06 17:55:49] @ Quit: tecto__: Ping timeout: 264 seconds
[2010/07/06 17:56:50] @ varworld joined channel #puppet
[2010/07/06 17:57:42] <varworld> anyone have experience with puppet + controltier?
[2010/07/06 17:58:06] @ \ask_ joined channel #puppet
[2010/07/06 17:58:10] @ Quit: \ask_: Remote host closed the connection
[2010/07/06 18:00:10] @ Quit: rellis__: Remote host closed the connection
[2010/07/06 18:00:40] @ Quit: \ask: Ping timeout: 248 seconds
[2010/07/06 18:03:00] @ Quit: lak: Quit: lak
[2010/07/06 18:05:29] @ Quit: varworld: Quit: Page closed
[2010/07/06 18:05:36] @ jaredrhine joined channel #puppet
[2010/07/06 18:13:32] @ plathrop is now known as plathrop-away
[2010/07/06 18:16:09] @ crdant joined channel #puppet
[2010/07/06 18:16:54] @ thekad is now known as thekad-afk
[2010/07/06 18:18:24] @ AngryParsley_ joined channel #puppet
[2010/07/06 18:19:28] @ Quit: AngryParsley: Write error: Broken pipe
[2010/07/06 18:19:30] @ Hollow_ joined channel #puppet
[2010/07/06 18:19:41] @ Quit: Hollow: Write error: Broken pipe
[2010/07/06 18:21:19] @ rellis__ joined channel #puppet
[2010/07/06 18:28:37] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/07/06 18:38:48] @ PaulWay[w] joined channel #puppet
[2010/07/06 18:39:06] <PaulWay[w]> Hi all
[2010/07/06 18:39:35] <PaulWay[w]> We're using an exec to rebuild Postfix's sender canonical map, and it's failing because of a SELinux permission problem.
[2010/07/06 18:39:54] @ Quit: WALoeIII: Quit: Bai.
[2010/07/06 18:40:33] <PaulWay[w]> The problem seems to be that postmap is being called on a file in the /tmp directory, which obviously has the wrong context.
[2010/07/06 18:40:59] @ cowsong joined channel #puppet
[2010/07/06 18:41:41] @ p3rror joined channel #puppet
[2010/07/06 18:42:03] <PaulWay[w]> the snippet is http://fpaste.org/tL2x/
[2010/07/06 18:42:14] <PaulWay[w]> And from that it shouldn't be using a /tmp file at all.
[2010/07/06 18:42:31] <PaulWay[w]> Does puppet do some jiggery-pokery with commands to capture their output or something?
[2010/07/06 18:45:32] @ Quit: LapTop006: Read error: Operation timed out
[2010/07/06 18:47:06] @ LapTop006 joined channel #puppet
[2010/07/06 18:51:51] <hephaestus> PaulWay[w]: maybe cwd?
[2010/07/06 18:52:23] <hephaestus> cwd => '/etc/postfix'
[2010/07/06 18:53:11] @ ichristo joined channel #puppet
[2010/07/06 18:54:06] @ joe-mac left channel #puppet ()
[2010/07/06 18:56:36] @ Quit: AimanA: Remote host closed the connection
[2010/07/06 18:57:21] <PaulWay[w]> hephaestus: postmap doesn't care where it's run from.
[2010/07/06 18:57:33] <PaulWay[w]> We'll try it but I don't think it's going to make a difference.
[2010/07/06 18:59:05] @ Quit: ichristo: Remote host closed the connection
[2010/07/06 18:59:25] @ ichristo joined channel #puppet
[2010/07/06 19:00:27] @ Quit: ceren: Quit: ceren
[2010/07/06 19:02:36] <odyi> Can someone please remind me of the inline template syntax for usage in a file resource.
[2010/07/06 19:02:42] * odyi can't find it anywhere.
[2010/07/06 19:03:20] <hephaestus> content => template('/path/to/template.erb'), iirc
[2010/07/06 19:04:08] <hephaestus> 18:42 < PaulWay[w]> the snippet is http://fpaste.org/tL2x/
[2010/07/06 19:05:45] <hephaestus> erer, srry
[2010/07/06 19:07:10] <PaulWay[w]> whuh?
[2010/07/06 19:08:56] <hephaestus> sorry, accidentally pasted
[2010/07/06 19:09:28] <hephaestus> PaulWay[w]: did the cwd work?
[2010/07/06 19:10:33] @ Quit: mikey_p: Quit: mikey_p
[2010/07/06 19:10:35] <hephaestus> it's probably trying to create a ./something.db.tmp then moving it to the proper location. if you don't specify a cwd it'll exec out of /tmp, trying to create the file there, and throwing a selinux error. though why you don't let things write to /tmp in your selinux policy is beyond me
[2010/07/06 19:11:11] @ jaredrhine joined channel #puppet
[2010/07/06 19:11:46] <hephaestus> sure, don't let things execute out of tmp, but everything should be able to write to it
[2010/07/06 19:13:55] @ auxesis joined channel #puppet
[2010/07/06 19:15:20] @ WALoeIII joined channel #puppet
[2010/07/06 19:21:06] @ Quit: blahdeblah: Ping timeout: 252 seconds
[2010/07/06 19:24:04] @ ichristo left channel #puppet ()
[2010/07/06 19:24:30] @ ichristo joined channel #puppet
[2010/07/06 19:26:19] @ blahdeblah joined channel #puppet
[2010/07/06 19:29:44] @ AimanA joined channel #puppet
[2010/07/06 19:30:40] <PaulWay[w]> hephaestus: it's a puppet file that was being complained about (/tmp/puppet.109128.1 or something)
[2010/07/06 19:30:55] <PaulWay[w]> So I'm assuming that postmap wasn't directly responsible for creating it.
[2010/07/06 19:31:12] <PaulWay[w]> We've found our problem though - Puppet thought that the current file was up to date so wasn't running postmap on it.
[2010/07/06 19:33:45] @ Quit: yannL: Remote host closed the connection
[2010/07/06 19:34:52] @ Quit: SyRenity: Ping timeout: 240 seconds
[2010/07/06 19:37:28] @ Quit: blahdeblah: Ping timeout: 260 seconds
[2010/07/06 19:39:50] @ SyRenity joined channel #puppet
[2010/07/06 19:48:08] <hephaestus> ah
[2010/07/06 19:55:33] @ Quit: ichristo: Quit: ichristo
[2010/07/06 20:07:58] @ Quit: Insyte: Ping timeout: 260 seconds
[2010/07/06 20:15:09] @ KenjiP0p joined channel #puppet
[2010/07/06 20:16:55] @ kc7zzv joined channel #puppet
[2010/07/06 20:23:54] @ Quit: AimanA: Remote host closed the connection
[2010/07/06 20:31:12] <PaulWay[w]> Hmmmm.
[2010/07/06 20:31:16] <PaulWay[w]> Here's a puzzle for you:
[2010/07/06 20:31:16] <PaulWay[w]> http://fpaste.org/qmPU/.
[2010/07/06 20:31:18] <PaulWay[w]> When we remove the comments on lines 3 and 4, it disables syslog-ng as well as syslog.
[2010/07/06 20:31:58] @ flooose joined channel #puppet
[2010/07/06 20:32:40] @ Quit: Standa: Ping timeout: 248 seconds
[2010/07/06 20:32:41] @ Standa_ joined channel #puppet
[2010/07/06 20:45:16] @ Quit: nwp: Quit: Leaving
[2010/07/06 20:46:18] @ AngryParsley_ is now known as AngryParsley
[2010/07/06 20:46:20] @ Quit: AngryParsley: Changing host
[2010/07/06 20:46:20] @ AngryParsley joined channel #puppet
[2010/07/06 20:49:51] @ KenjiP0p is now known as KenjiP0p|away
[2010/07/06 20:52:14] @ KenjiP0p|away is now known as KenjiP0p
[2010/07/06 20:52:19] @ Quit: Bass10: Quit: Leaving
[2010/07/06 20:53:50] @ Quit: FoXMaN: Ping timeout: 260 seconds
[2010/07/06 20:55:57] @ FoXMaN joined channel #puppet
[2010/07/06 20:58:31] @ alcy joined channel #puppet
[2010/07/06 21:04:51] @ Quit: OpenMedia: Quit: Leaving.
[2010/07/06 21:05:03] <kc7zzv> PaulWay[w]: Does it remove the package or just affect the service?
[2010/07/06 21:06:33] @ quit (okay bye)
[2010/07/06 21:06:58] @ Joined channel #puppet
[2010/07/06 21:06:58] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/07/06 21:06:58] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 18:32:23 -0700 2010
[2010/07/06 21:07:01] @ mqr joined channel #puppet
[2010/07/06 21:07:01] @ Mode +cnt by niven.freenode.net
[2010/07/06 21:08:51] @ Quit: mqr: Client Quit
[2010/07/06 21:09:00] <PaulWay[w]> kc7zzv: Just turn off the syslog-ng service
[2010/07/06 21:11:30] @ olgagirl joined channel #puppet
[2010/07/06 21:13:13] @ Quit: olgagirl: Client Quit
[2010/07/06 21:13:50] <littleidea_> ReinH: the slides are great
[2010/07/06 21:14:58] @ Quit: kc7zzv: Quit: kc7zzv
[2010/07/06 21:17:47] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/07/06 21:21:28] @ Quit: jmccune: Ping timeout: 260 seconds
[2010/07/06 21:25:10] @ tecto_ joined channel #puppet
[2010/07/06 21:25:14] @ AimanA joined channel #puppet
[2010/07/06 21:26:32] @ Quit: bug: Quit: bug
[2010/07/06 21:30:01] @ Quit: tecto_: Ping timeout: 264 seconds
[2010/07/06 21:30:09] @ bodepd joined channel #puppet
[2010/07/06 21:30:56] <PaulWay[w]> Weird - what causes "err: Could not request certificate: getaddrinfo: Name or service not known"?
[2010/07/06 21:31:51] @ tecto_ joined channel #puppet
[2010/07/06 21:33:23] @ Quit: crdant: Ping timeout: 265 seconds
[2010/07/06 21:34:26] @ Quit: pting: Remote host closed the connection
[2010/07/06 21:35:25] <PaulWay[w]> The host has its correct short name in /etc/sysconfig/network, its correct long name against its IP address in /etc/hosts, and can resolve the puppetmaster.
[2010/07/06 21:35:42] @ bug joined channel #puppet
[2010/07/06 21:39:22] @ atsaloli joined channel #puppet
[2010/07/06 21:39:43] <atsaloli> hi. Is Michael de Haan around by any chance?
[2010/07/06 21:41:37] @ sandra_f joined channel #puppet
[2010/07/06 21:42:06] @ Quit: sandra_f: Client Quit
[2010/07/06 21:43:26] @ rmiller4pi8 joined channel #puppet
[2010/07/06 21:48:07] @ lauanana joined channel #puppet
[2010/07/06 21:49:27] @ Quit: lauanana: Client Quit
[2010/07/06 22:02:03] <jamesturnbull> atsaloli: he's not but I might be able to help you
[2010/07/06 22:02:34] @ kc7zzv joined channel #puppet
[2010/07/06 22:04:08] @ Quit: flooose: Ping timeout: 265 seconds
[2010/07/06 22:05:48] @ jennyf joined channel #puppet
[2010/07/06 22:07:19] @ ckauhaus joined channel #puppet
[2010/07/06 22:08:21] @ Quit: jennyf: Client Quit
[2010/07/06 22:13:01] @ Quit: fbe: Ping timeout: 265 seconds
[2010/07/06 22:14:56] @ fbe joined channel #puppet
[2010/07/06 22:16:01] @ Quit: brothers: Quit: brothers
[2010/07/06 22:16:30] @ Quit: littleidea_: Quit: littleidea_
[2010/07/06 22:18:25] <atsaloli> jamesturnbull: thanks. I'm covering the Config Management Summit (where Michael presented) for Linux-Mag.com
[2010/07/06 22:19:02] <atsaloli> jamesturnbull: and wanted to ask Michael if he'd have time for a technical review of the Puppet portion of my article
[2010/07/06 22:19:21] <atsaloli> jamesturnbull: but I don't have his email address and don't know how to contact him
[2010/07/06 22:19:25] <jamesturnbull> atsaloli: I can do that for you - james@puppetlabs.com
[2010/07/06 22:20:03] @ Quit: bodepd: Quit: bodepd
[2010/07/06 22:20:03] <atsaloli> that's awesome, thanks a lot. I'll send you the link tomorrow morning. thank you
[2010/07/06 22:20:14] <jamesturnbull> atsaloli: Michael's taken a new role as of Monday - lucky chap has completly gotten out of the IT business I understand
[2010/07/06 22:20:24] <atsaloli> Oh, I see
[2010/07/06 22:20:40] <atsaloli> that might account for the fact that the Puppet slides are missing from the USENIX Config Mgmt Summit page
[2010/07/06 22:20:55] <atsaloli> http://www.usenix.org/config10/
[2010/07/06 22:21:19] <atsaloli> everybody else has submitted theirs but Michael
[2010/07/06 22:22:13] <atsaloli> I don't suppose you have a copy of his slide presentation?
[2010/07/06 22:22:19] @ thekad-afk is now known as thekad
[2010/07/06 22:22:25] <jamesturnbull> atsaloli: probably - I'll see what I can do
[2010/07/06 22:22:30] <atsaloli> it's not a big deal, but would be nice to have for a complete record of the summit
[2010/07/06 22:22:38] <atsaloli> I appreciate that
[2010/07/06 22:22:44] @ Quit: kc7zzv: Quit: kc7zzv
[2010/07/06 22:22:48] @ thekad is now known as thekad-afk
[2010/07/06 22:22:56] <atsaloli> I'm also looking for an example (in the Puppet language) of:
[2010/07/06 22:22:58] <atsaloli> if a service subscribes to a file, and the file changes, the service will know it automatically needs to restart
[2010/07/06 22:23:09] <atsaloli> or can help me find this example, please
[2010/07/06 22:23:39] @ Quit: fbe: Ping timeout: 265 seconds
[2010/07/06 22:25:17] @ Standa_ left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/07/06 22:25:30] @ bodepd joined channel #puppet
[2010/07/06 22:25:39] @ PhabX joined channel #puppet
[2010/07/06 22:27:43] <jamesturnbull> atsaloli: http://docs.puppetlabs.com/references/stable/metaparameter.html#subscribe
[2010/07/06 22:28:21] <jamesturnbull> atsaloli: though this one is better - http://pastie.org/1033827
[2010/07/06 22:29:50] @ mqr joined channel #puppet
[2010/07/06 22:30:24] @ littleidea joined channel #puppet
[2010/07/06 22:31:01] <PhabX> uh alias is nice
[2010/07/06 22:31:10] <atsaloli> thank you!
[2010/07/06 22:33:15] @ wilmoore joined channel #puppet
[2010/07/06 22:34:58] <atsaloli> jamesturnbull: I've integrated that example into the article, thanks again! Gotta close up shop for tonight, will email you tomorrow. Be well!
[2010/07/06 22:35:29] @ jmccune joined channel #puppet
[2010/07/06 22:36:53] * atsaloli &
[2010/07/06 22:37:18] @ Quit: bix0r: Ping timeout: 260 seconds
[2010/07/06 22:37:39] <jamesturnbull> atsaloli: de nada
[2010/07/06 22:39:43] @ jes5199 joined channel #puppet
[2010/07/06 22:41:19] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/07/06 22:41:20] @ gebi joined channel #puppet
[2010/07/06 22:43:08] @ Quit: Deesl: Ping timeout: 260 seconds
[2010/07/06 22:47:01] @ Quit: Borges: Ping timeout: 276 seconds
[2010/07/06 22:47:34] @ ckauhaus joined channel #puppet
[2010/07/06 22:48:51] @ Quit: WALoeIII: Quit: WALoeIII
[2010/07/06 22:49:27] @ WALoeIII joined channel #puppet
[2010/07/06 22:50:40] @ bix0r joined channel #puppet
[2010/07/06 22:50:54] <PaulWay[w]> If I have class A and class A::B inherits from class A, can A::B redefine the source of a file defined in A?
[2010/07/06 22:52:06] <PaulWay[w]> Or, what's the best way of setting up Puppet so that most servers get source X of a file and some servers get source Y?
[2010/07/06 22:52:33] <gniks> you can do that yes
[2010/07/06 22:53:12] <gniks> class A::B inherits A { File[ "title" ] { source => "source } }
[2010/07/06 22:53:31] <PaulWay[w]> Do you have to say File? Ah, I see....
[2010/07/06 22:53:41] <gniks> yeah
[2010/07/06 22:53:47] <gniks> its resource overloading
[2010/07/06 22:53:51] <PaulWay[w]> So you're saying "there's a file of this name: use that reference and redefine it."
[2010/07/06 22:53:53] <PaulWay[w]> Ah-hah!
[2010/07/06 22:54:00] <gniks> right :)
[2010/07/06 22:54:13] <gniks> and then you include that class in the node/class deff later to apply it
[2010/07/06 22:55:23] <alcy> PaulWay[w]: That and other such things are quite conveniently documented in James Turnbull's book. Just saying, cuz I rememberd that part ;)
[2010/07/06 22:55:41] <gniks> collections are neat, but more work some times
[2010/07/06 22:55:48] <PaulWay[w]> So if you have a basenode template which uses A, you can then say 'include A::B' on those servers you want to use that behaviour?
[2010/07/06 22:56:15] <gniks> i do that with my stuff in production
[2010/07/06 22:56:17] <gniks> seems to work great
[2010/07/06 22:56:25] <PaulWay[w]> Right. Excellent.
[2010/07/06 22:56:31] <PaulWay[w]> I just didn't understand the File thing.
[2010/07/06 22:56:32] @ Quit: bodepd: Quit: bodepd
[2010/07/06 22:56:57] <gniks> yeah
[2010/07/06 22:57:42] @ pinoyskull joined channel #puppet
[2010/07/06 23:01:26] @ Quit: jes5199: Quit: Leaving.
[2010/07/06 23:01:57] @ kc7zzv joined channel #puppet
[2010/07/06 23:02:25] @ lak joined channel #puppet
[2010/07/06 23:04:28] @ spawnyd joined channel #puppet
[2010/07/06 23:07:38] @ Quit: gniks: Excess Flood
[2010/07/06 23:08:42] @ gniks joined channel #puppet
[2010/07/06 23:12:23] @ Quit: rodnet: Read error: Connection reset by peer
[2010/07/06 23:12:31] @ rodnet joined channel #puppet
[2010/07/06 23:12:40] @ Quit: jmccune: Ping timeout: 260 seconds
[2010/07/06 23:13:57] @ Quit: rodnet: Client Quit
[2010/07/06 23:15:27] @ fredden left channel #puppet ("Leaving")
[2010/07/06 23:18:08] <eric0> wow that's not at all how i would solve that problem :) MTOWTDI i guess
[2010/07/06 23:26:11] @ bodepd joined channel #puppet
[2010/07/06 23:27:31] @ mattock joined channel #puppet
[2010/07/06 23:29:28] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/06 23:37:05] @ Quit: mellen: Ping timeout: 260 seconds
[2010/07/06 23:40:00] @ mellen joined channel #puppet
[2010/07/06 23:41:21] @ flooose joined channel #puppet
[2010/07/06 23:42:55] @ Quit: gebi: Ping timeout: 265 seconds
[2010/07/06 23:45:42] @ pmorillo joined channel #puppet
[2010/07/06 23:49:34] <ReinH> littleidea: thanks!
[2010/07/06 23:49:42] @ mfournier joined channel #puppet
[2010/07/06 23:50:07] <littleidea> ReinH: Made me go read more about CLU
[2010/07/06 23:50:48] @ tripoux_ joined channel #puppet
[2010/07/06 23:50:49] @ ceren joined channel #puppet
[2010/07/06 23:52:45] @ Quit: mizzy: Ping timeout: 240 seconds
[2010/07/06 23:53:38] @ mizzy joined channel #puppet
[2010/07/06 23:53:46] @ Quit: tripoux: Ping timeout: 258 seconds
[2010/07/06 23:54:42] <ReinH> littleidea: :)
[2010/07/06 23:54:54] <ReinH> it was ahead of its time
[2010/07/06 23:55:00] <ReinH> generators and yield
[2010/07/06 23:55:08] <ReinH> or, more generally, enumeration and yield
[2010/07/06 23:55:15] <ReinH> two things Rubyists take for granted
[2010/07/06 23:55:38] <ReinH> ditto Pythonistas, etc
[2010/07/06 23:55:58] @ Quit: jaredrhine: Ping timeout: 265 seconds

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