Friday, 2011-12-09

[2011/12/09 00:01:22] @ Log started by gepetto
[2011/12/09 00:01:22] @ rutger_ joined channel #puppet
[2011/12/09 00:01:23] @ msaum joined channel #puppet
[2011/12/09 00:02:03] <emdub> also that error message is referenced in this: http://projects.puppetlabs.com/issues/6907
[2011/12/09 00:02:05] <emdub> might be useful
[2011/12/09 00:03:01] @ jaydg joined channel #puppet
[2011/12/09 00:07:25] @ danblack joined channel #puppet
[2011/12/09 00:07:29] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 00:07:44] @ dissipate_ joined channel #puppet
[2011/12/09 00:08:06] @ jimmy1980 joined channel #puppet
[2011/12/09 00:09:33] @ Quit: thomas169: Quit: leaving
[2011/12/09 00:09:41] @ Quit: danblack: Client Quit
[2011/12/09 00:13:30] <Dominic> movexig: might be worth checking that all of: /sbin/start, stop, restart, status and initctl exist, are executable etc.
[2011/12/09 00:13:56] @ Quit: kubicek: Excess Flood
[2011/12/09 00:14:01] @ kubicek joined channel #puppet
[2011/12/09 00:14:02] @ Quit: kubicek: Excess Flood
[2011/12/09 00:14:07] <movexig> Dominic, all those exist and work.
[2011/12/09 00:14:08] @ pmorillon joined channel #puppet
[2011/12/09 00:14:11] <movexig> As I said, I can star tthe job manually.
[2011/12/09 00:14:16] <movexig> emdub, I'll read that ticket, hold on
[2011/12/09 00:14:38] <movexig> Unfortunately I don't really speak Ruby, so reading the code is somewhat of an exercise in futility.
[2011/12/09 00:14:48] @ kubicek joined channel #puppet
[2011/12/09 00:14:57] <movexig> Okay, I don't think that ticket is relevant, since upstart was already installed before puppet was.
[2011/12/09 00:15:17] <movexig> The odd thing is not only does upstart work on this host, but puppet is perfectly capable of running upstart on a different, almost identical host I have here.
[2011/12/09 00:18:24] <emdub> sorry, i don't have any answers, never experienced that myself and i don't use puppet to manage upstart
[2011/12/09 00:18:37] <movexig> It's really just this one custom service I need to have running.
[2011/12/09 00:18:50] <movexig> And I don't want to write an init.d script for it when the upstart job is so much simpler.
[2011/12/09 00:18:54] @ RhysMorgan joined channel #puppet
[2011/12/09 00:19:39] <movexig> Is there any way I can figure out what exactly it's having troubles with?
[2011/12/09 00:19:46] <movexig> As in, exactly what dependency it feels is missing?
[2011/12/09 00:20:21] @ Quit: msaum: Quit: Leaving.
[2011/12/09 00:22:01] @ msaum joined channel #puppet
[2011/12/09 00:23:06] @ raphdg joined channel #puppet
[2011/12/09 00:25:00] @ zorg1 joined channel #puppet
[2011/12/09 00:25:04] @ Quit: zorg1: Remote host closed the connection
[2011/12/09 00:25:24] <emdub> well if you look in /lib/puppet/provider/service/upstart.rb you can see what commands it's using behind the scenes, but i don't really know the best way to debug the problem you're having if you aren't able to dig therough the code
[2011/12/09 00:26:07] @ Xeross joined channel #puppet
[2011/12/09 00:27:31] @ jodok joined channel #puppet
[2011/12/09 00:27:32] @ Quit: jodok: Changing host
[2011/12/09 00:27:32] @ jodok joined channel #puppet
[2011/12/09 00:27:34] <movexig> Well, as I said, all of those commands exist, are executable, and I can run them manually and they do exactly what they are supposed to when I do.
[2011/12/09 00:28:09] <movexig> This is a pretty basic Ubuntu oneiric machine, so I don't know how upstart could be broken, and as far as I can tell, upstart _isn't_ broken.
[2011/12/09 00:28:17] @ Quit: jaytaph: Ping timeout: 240 seconds
[2011/12/09 00:30:07] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/09 00:31:18] @ Quit: bmahe: Quit: Leaving
[2011/12/09 00:31:27] @ Quit: druggo: Remote host closed the connection
[2011/12/09 00:32:10] @ larsar joined channel #puppet
[2011/12/09 00:41:52] @ Quit: msaum: Quit: Leaving.
[2011/12/09 00:44:04] @ Quit: hamish: Ping timeout: 252 seconds
[2011/12/09 00:44:13] @ msaum joined channel #puppet
[2011/12/09 00:48:53] @ inecas joined channel #puppet
[2011/12/09 00:51:24] @ Holocaine joined channel #puppet
[2011/12/09 00:52:24] @ csanchez joined channel #puppet
[2011/12/09 00:52:59] @ Spads_ joined channel #puppet
[2011/12/09 00:56:01] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/09 00:56:16] @ Quit: kinsel: Ping timeout: 255 seconds
[2011/12/09 00:58:16] @ kinsel joined channel #puppet
[2011/12/09 01:01:11] @ Stenbryggen1 joined channel #puppet
[2011/12/09 01:03:40] @ Stenbryggen2 joined channel #puppet
[2011/12/09 01:03:51] @ ezryx joined channel #puppet
[2011/12/09 01:03:53] @ Quit: Stenbryggen: Ping timeout: 240 seconds
[2011/12/09 01:04:21] @ Quit: msaum: Quit: Leaving.
[2011/12/09 01:05:05] @ Quit: dissipate_: Ping timeout: 240 seconds
[2011/12/09 01:05:29] @ Quit: Stenbryggen1: Ping timeout: 240 seconds
[2011/12/09 01:06:21] @ msaum joined channel #puppet
[2011/12/09 01:06:46] @ MattyM joined channel #puppet
[2011/12/09 01:07:14] @ artkrz joined channel #puppet
[2011/12/09 01:08:54] @ jaytaph joined channel #puppet
[2011/12/09 01:09:09] <movexig> How do I make puppet do an update run right now if the agent daemon is already running?
[2011/12/09 01:09:57] <movexig> SIGUSR1?
[2011/12/09 01:10:39] <codec> movexig: yep
[2011/12/09 01:10:47] <movexig> Cool.
[2011/12/09 01:10:51] @ Quit: Spads_: Quit: Reconnecting
[2011/12/09 01:11:05] @ Spads joined channel #puppet
[2011/12/09 01:11:32] <movexig> Am I supposed to find log files in /var/log/puppet, or do I have to change something from the default configuration?
[2011/12/09 01:12:19] <codec> depends on your setup, my puppet-agent logs go to /var/log/syslog (ubuntu)
[2011/12/09 01:13:40] <movexig> Ah, indeed they do. Thanks.
[2011/12/09 01:16:10] @ d3c joined channel #puppet
[2011/12/09 01:18:34] @ trickyf joined channel #puppet
[2011/12/09 01:18:37] <movexig> All right, so that part works now -- but it still refuses to run upstart jobs. :/
[2011/12/09 01:18:47] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/09 01:21:04] <movexig> Anyone else have any ideas why puppet would complain that "upstart is not functional on this host" when upstart is confirmed to work when run maunally on that host?
[2011/12/09 01:22:08] @ Quit: d3c: Read error: No route to host
[2011/12/09 01:22:20] @ d3c joined channel #puppet
[2011/12/09 01:22:54] @ MartVisser joined channel #puppet
[2011/12/09 01:23:39] @ lkoranda joined channel #puppet
[2011/12/09 01:25:09] @ larstobi joined channel #puppet
[2011/12/09 01:25:15] @ Quit: sumsuch: Quit: sumsuch
[2011/12/09 01:25:37] @ shaunster joined channel #puppet
[2011/12/09 01:25:52] @ Quit: msaum: Quit: Leaving.
[2011/12/09 01:27:01] @ Kazuhiro left channel #puppet ()
[2011/12/09 01:28:05] @ nated joined channel #puppet
[2011/12/09 01:28:14] @ msaum joined channel #puppet
[2011/12/09 01:28:28] <shaunster> Is it possible to store the output from shell command in a puppet variable? If so how would I express $masterdbip = `host db1` correctly in puppet?
[2011/12/09 01:29:34] <misc> with facter
[2011/12/09 01:32:47] <movexig> I can't even follow the code in upstart.rb or in type.rb...
[2011/12/09 01:33:25] @ Quit: jsurfer: Quit: jsurfer
[2011/12/09 01:35:47] <shaunster> misc: Could you expand a little on how facter could be used? I thought it could only be used to derive information about an agent. TIA
[2011/12/09 01:36:21] @ Quit: Spads: Read error: Operation timed out
[2011/12/09 01:36:32] <misc> shaunster: in fact, I think I misunderstood, what you want is a function I guess
[2011/12/09 01:38:31] <deni> hi again..
[2011/12/09 01:38:56] <deni> can anyone tell me the difference between the namespaceauth.conf file and the auth.conf file? do i need both?
[2011/12/09 01:39:52] @ Spads joined channel #puppet
[2011/12/09 01:41:55] <misc> shaunster: http://docs.puppetlabs.com/guides/custom_functions.html
[2011/12/09 01:43:38] @ jodok_ joined channel #puppet
[2011/12/09 01:43:40] <movexig> Is there anywhere else I can ask questions about puppet?
[2011/12/09 01:43:45] <movexig> I mean, aside from like, stackoverflow...
[2011/12/09 01:44:25] @ Quit: jodok_: Remote host closed the connection
[2011/12/09 01:44:25] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/09 01:44:40] @ jodok joined channel #puppet
[2011/12/09 01:45:07] <Spads> movexig: puppet-users list
[2011/12/09 01:45:17] <movexig> How fast is the turnaround there?
[2011/12/09 01:45:40] * Spads isn't sure how he's meant to answer that
[2011/12/09 01:45:42] <Volcane> as fast as you can expect when relying on the kindness of others to donate their free time to you.
[2011/12/09 01:45:53] <Spads> it's a mailing list full of puppet users and a few developers
[2011/12/09 01:46:24] <Spads> usually the users will help you as much as they can in their spare time, and occasionally the developers will swoop in and ask pointed questions and request that you file bugs
[2011/12/09 01:46:25] <movexig> Right. I'm not meaning to sound demanding. I mean, I know I'm at the mercy of the kindness of strangers who have no reason to help me.
[2011/12/09 01:46:40] <movexig> I'm unfortunately also under a deadline, heh.
[2011/12/09 01:46:43] <Spads> but it has the advantage that your request doesn't scroll up in five minutes
[2011/12/09 01:48:07] @ Quit: msaum: Quit: Leaving.
[2011/12/09 01:49:44] @ msaum joined channel #puppet
[2011/12/09 01:49:47] <movexig> I guess I'll keep asking in here at regular intervals. I hope that's not too uncouth.
[2011/12/09 01:51:02] <Volcane> pretty sure asking the same thing over and over here will not put you in anyones good books
[2011/12/09 01:53:51] <movexig> Well, I'm kind of low on options. And new people do show up in here as the day progresses, I mean?
[2011/12/09 01:54:12] @ daysmen joined channel #puppet
[2011/12/09 01:54:16] <movexig> If no one knows right now, maybe someone who does know will show up in four hours' time.
[2011/12/09 01:59:11] <zykes-> it's weird, my puppetmaster is using /etc/puppet/ssl for ssl but config says /var/lib/puppet/ssl ? http://pastebin.com/imPdJhpu
[2011/12/09 02:00:39] @ jodok_ joined channel #puppet
[2011/12/09 02:00:40] @ Quit: jodok_: Changing host
[2011/12/09 02:00:40] @ jodok_ joined channel #puppet
[2011/12/09 02:01:28] @ Quit: jodok_: Remote host closed the connection
[2011/12/09 02:01:43] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/09 02:01:44] @ jodok_ joined channel #puppet
[2011/12/09 02:01:47] @ Quit: jodok_: Changing host
[2011/12/09 02:01:47] @ jodok_ joined channel #puppet
[2011/12/09 02:02:23] @ Quit: choonming: Quit: Leaving
[2011/12/09 02:03:11] @ Quit: _flex: Remote host closed the connection
[2011/12/09 02:07:57] @ Quit: cybrhuman: Ping timeout: 252 seconds
[2011/12/09 02:08:12] @ Quit: mosen: Quit: Leaving
[2011/12/09 02:09:37] @ Quit: msaum: Quit: Leaving.
[2011/12/09 02:11:29] @ msaum joined channel #puppet
[2011/12/09 02:13:37] @ Spads_ joined channel #puppet
[2011/12/09 02:14:54] @ ranulf joined channel #puppet
[2011/12/09 02:15:43] @ kolla joined channel #puppet
[2011/12/09 02:16:46] @ Quit: Spads: Ping timeout: 268 seconds
[2011/12/09 02:16:51] @ Quit: csanchez: Remote host closed the connection
[2011/12/09 02:16:52] @ Quit: Spads_: Client Quit
[2011/12/09 02:17:03] @ Spads joined channel #puppet
[2011/12/09 02:17:09] @ csanchez joined channel #puppet
[2011/12/09 02:17:17] @ Quit: kolla: Read error: Connection reset by peer
[2011/12/09 02:18:04] @ kolla joined channel #puppet
[2011/12/09 02:18:31] @ Quit: jodok_: Quit: jodok_
[2011/12/09 02:18:45] @ mogitaff joined channel #puppet
[2011/12/09 02:22:25] @ jodok joined channel #puppet
[2011/12/09 02:22:25] @ Quit: jodok: Changing host
[2011/12/09 02:22:25] @ jodok joined channel #puppet
[2011/12/09 02:22:50] <mfridh> zykes-: unknown paste id
[2011/12/09 02:22:51] @ ccooke joined channel #puppet
[2011/12/09 02:22:55] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/09 02:29:06] @ cybrhuman joined channel #puppet
[2011/12/09 02:29:18] @ Quit: kolla: Read error: Connection reset by peer
[2011/12/09 02:29:24] @ kolla joined channel #puppet
[2011/12/09 02:29:32] @ jimmy1980 joined channel #puppet
[2011/12/09 02:30:47] <zykes-> http://pastebin.com/CnJr8dNJ mfridh
[2011/12/09 02:30:52] @ Quit: msaum: Quit: Leaving.
[2011/12/09 02:31:45] <mfridh> what does --genconfig show?
[2011/12/09 02:32:47] @ msaum joined channel #puppet
[2011/12/09 02:33:05] @ erthad joined channel #puppet
[2011/12/09 02:33:37] @ Quit: erthad: Changing host
[2011/12/09 02:33:37] @ erthad joined channel #puppet
[2011/12/09 02:34:43] @ csanchez_ joined channel #puppet
[2011/12/09 02:34:44] <zykes-> http://paste.ubuntu.com/764776/
[2011/12/09 02:37:24] @ Quit: csanchez: Ping timeout: 252 seconds
[2011/12/09 02:37:24] @ csanchez_ is now known as csanchez
[2011/12/09 02:41:00] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/09 02:41:41] @ jimmy1980 joined channel #puppet
[2011/12/09 02:42:36] @ ben_duyujie left channel #puppet ()
[2011/12/09 02:46:07] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/09 02:47:14] @ jbraeuer joined channel #puppet
[2011/12/09 02:48:19] @ Quit: kolla: Read error: Connection reset by peer
[2011/12/09 02:48:49] @ dylants joined channel #puppet
[2011/12/09 02:49:31] @ Quit: danikov: Quit: danikov
[2011/12/09 02:52:22] @ Quit: msaum: Quit: Leaving.
[2011/12/09 02:52:36] @ Quit: KaZeR_W: Read error: Connection reset by peer
[2011/12/09 02:54:33] @ msaum joined channel #puppet
[2011/12/09 02:56:03] <movexig> Well I can at least confirm that the problem is that the upstart provider doesn't think it's running on an ubuntu system
[2011/12/09 02:56:07] <movexig> But I can't explain why.
[2011/12/09 02:59:21] <movexig> Nor what it thinks is right.
[2011/12/09 02:59:49] <movexig> facter does report that operatingsystem = Ubuntu, though
[2011/12/09 02:59:50] <Volcane> movexig: did you pastie a ls -l showing all the commands in the provider? as well as any --debug --trace output?
[2011/12/09 03:00:27] <movexig> Volcane, I haven't pasted --debug output, but yes, everything required for upstart to work is present (and I can start/stop/restart/status/initctl the job manually).
[2011/12/09 03:00:38] <Volcane> movexig: paste it
[2011/12/09 03:00:41] @ Quit: beaknit: Quit: beaknit
[2011/12/09 03:00:43] <movexig> Sure thing, hold on
[2011/12/09 03:00:53] <movexig> Though as I said, commenting out confine :operatingsystem etc. it does run.
[2011/12/09 03:00:59] <Volcane> ah
[2011/12/09 03:01:02] <Volcane> missed that
[2011/12/09 03:01:59] <movexig> Gah, I got something to attend do
[2011/12/09 03:02:00] <movexig> AFK
[2011/12/09 03:03:30] @ meltemi_ is now known as meltemi
[2011/12/09 03:03:44] @ Quit: dnjaramba: Remote host closed the connection
[2011/12/09 03:03:54] @ dnjaramba joined channel #puppet
[2011/12/09 03:04:01] <ranulf> is there way with puppet to deliver a file depending on coditions on the master? for example, if file foo exists on the puppet master, then it should be delivered to the client. otherwise puppet should skip
[2011/12/09 03:04:10] <ranulf> this would lead to some kind of self-generating manifests, i guess
[2011/12/09 03:06:25] <artkrz> hey guys, I've wrote this thing about scaling puppet dashboard http://www.krzywanski.net/archives/876 am I reinventing the wheel ?
[2011/12/09 03:06:50] @ Quit: elasticdog: Ping timeout: 244 seconds
[2011/12/09 03:07:29] <zykes-> mfridh: ?
[2011/12/09 03:14:51] @ Quit: motomike: Remote host closed the connection
[2011/12/09 03:15:01] @ Quit: robinbowes: Quit: leaving
[2011/12/09 03:15:07] @ Quit: msaum: Quit: Leaving.
[2011/12/09 03:15:43] <nevyn> ranulf: a generator can do that i think
[2011/12/09 03:15:54] @ Imran-UK joined channel #puppet
[2011/12/09 03:15:57] @ robinbowes joined channel #puppet
[2011/12/09 03:16:10] @ motomike joined channel #puppet
[2011/12/09 03:16:35] @ stevie-bash joined channel #puppet
[2011/12/09 03:16:39] @ Quit: Holocaine:
[2011/12/09 03:16:57] @ Quit: robinbowes: Client Quit
[2011/12/09 03:17:05] <nevyn> ok
[2011/12/09 03:17:14] <erthad> artkrz: isn't delayedjobs introduced in 1.2.0 intended for that?
[2011/12/09 03:17:26] @ robinbowes joined channel #puppet
[2011/12/09 03:17:31] @ msaum joined channel #puppet
[2011/12/09 03:17:36] <nevyn> call generate to a small shell program that returns the resource definition if the file exists and nothing if it doesn't
[2011/12/09 03:18:27] <artkrz> erthad: explain pls
[2011/12/09 03:18:38] <Imran-UK> puppet 0.25.5, is there an easy way i can check what modules/recipies relate to a puppet other than manual checking of the config?
[2011/12/09 03:19:40] <robinbowes> Imran-UK: check out some of Volcane's scripts
[2011/12/09 03:20:02] <erthad> artkrz: AFAIK the dashboards slow code is now done in background by jobworkers and the reports should be accepted much quicker than before
[2011/12/09 03:20:31] <artkrz> erthad: they are but tasks pile up and don't process fast enough before next batch arrives
[2011/12/09 03:20:51] <Imran-UK> robinbowes, ok thanks - where can i find them? link etc?
[2011/12/09 03:20:55] <artkrz> the post is based on setup of around 500 nodes reporting evry 5-10 minutes
[2011/12/09 03:21:16] <crs> Hi there. I am seeing an error: Failed to generate additional resources using 'eval_generate: odd number of arguments for Hash... Nothing has changed regarding manifests that errored here. What does it mean?
[2011/12/09 03:21:45] <artkrz> erthad: i had dashboard running on 4 core cpu with 4 jobs and it couldn't handle it, the pending task counter was just going up and up
[2011/12/09 03:21:46] <erthad> artkrz: you can have a single dashboard instance and several jobworkers (on different hosts possibly) for processing of stored reports
[2011/12/09 03:22:19] <erthad> I haven't tried that though under heavy load so I could be wrong
[2011/12/09 03:22:21] <artkrz> yeah, that's it what the post is about, but if you have couple of nodes why just not use them to run server process as well
[2011/12/09 03:22:57] <erthad> jobworkers do not need dashboard running on the same host with them
[2011/12/09 03:22:59] <robinbowes> Imran-UK: http://devco.net
[2011/12/09 03:23:06] <robinbowes> In particular:
[2011/12/09 03:23:10] <robinbowes> http://www.devco.net/code/parselocalconfig.rb
[2011/12/09 03:23:19] <robinbowes> http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php
[2011/12/09 03:23:20] <artkrz> erthad: i know, the do need shared spool/
[2011/12/09 03:23:43] <artkrz> otherwise jobs fail as they can't find yaml file
[2011/12/09 03:23:53] <artkrz> not always but failure rate is high
[2011/12/09 03:24:00] <erthad> artkrz: you are right then, I didn't know about that
[2011/12/09 03:24:55] <artkrz> so yes, there's no need to run dashboard on every node but i think it helps in terms of webrick handling reports comming in
[2011/12/09 03:25:07] <Volcane> the answer is dont use webrick
[2011/12/09 03:25:14] <Spads> poor rick
[2011/12/09 03:25:26] <artkrz> Volcane: i know, but so far it works
[2011/12/09 03:25:27] <Spads> "We Brick your puppetmaster"
[2011/12/09 03:25:38] <Volcane> if u didnt use webrick you wouldnt need to do all this stuff
[2011/12/09 03:25:53] <Volcane> so thats a pretty interesting value of 'works' :P
[2011/12/09 03:26:16] <artkrz> Volcane: i'm not sure that i wouldn't need to spread delayed jobs
[2011/12/09 03:26:51] <artkrz> I had no problems creating reports with webbrick, delayed jobs just couldn;t process them fast enough, so I think changing webserver wouldn't help
[2011/12/09 03:26:52] <robinbowes> artkrz: why are you using webrick?
[2011/12/09 03:27:18] <artkrz> robinbowes: default for dashboard, I'm ussing passenger for puppet master
[2011/12/09 03:27:30] @ Quit: nated: Ping timeout: 252 seconds
[2011/12/09 03:27:44] <erthad> dashboard runs ok with passenger too
[2011/12/09 03:28:24] <artkrz> erthad: i believe it does however I don't think this will help process reports will it ?
[2011/12/09 03:29:13] @ Quit: pmorillon: Quit: pmorillon
[2011/12/09 03:29:20] <Imran-UK> robinbowes, thank you
[2011/12/09 03:29:54] <Imran-UK> Volcane, i'll have to checkout a devopscafe session next time i'm in london
[2011/12/09 03:30:13] <artkrz> Volcane: you say i would be able to process all those reports just by using passenger ? I don't think webserver has anything to do with how delayed jobs are processed, am I right ?
[2011/12/09 03:32:06] <Volcane> artkrz: no if your machine isnt big enough - not enough cores etc - then you're right
[2011/12/09 03:33:14] <artkrz> Volcane: that's the point, I have 4 nodes each with 4 cores and this processes around 500 reports every 5-10 minutes no problem
[2011/12/09 03:34:09] <artkrz> and I agree, webbrick sucks but it works so i'll leave it alone for now
[2011/12/09 03:36:38] @ Quit: msaum: Quit: Leaving.
[2011/12/09 03:37:21] @ Quit: movexig: Ping timeout: 252 seconds
[2011/12/09 03:37:54] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/09 03:38:32] @ msaum joined channel #puppet
[2011/12/09 03:38:53] @ nated joined channel #puppet
[2011/12/09 03:38:54] @ Quit: nated: Changing host
[2011/12/09 03:38:54] @ nated joined channel #puppet
[2011/12/09 03:39:54] @ nevyn joined channel #puppet
[2011/12/09 03:45:53] <Imran-UK> parselocalconfig.rb <path to node yaml> does not list anything under classes or resources. the yaml file looks ok.
[2011/12/09 03:46:44] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/09 03:48:41] @ nevyn joined channel #puppet
[2011/12/09 03:51:14] <Radex_> hi, how to define include order in node definition?
[2011/12/09 03:51:20] @ Radex_ is now known as Radex
[2011/12/09 03:51:35] @ movexig joined channel #puppet
[2011/12/09 03:54:28] <movexig> Hurf, I'm back again.
[2011/12/09 03:55:13] @ octane- joined channel #puppet
[2011/12/09 03:55:27] @ |Majestic| joined channel #puppet
[2011/12/09 03:57:01] <shaunster> I've written function that is suppose to return an IP address of a hostname. It is syntactically valid but it does not return any value. If someone has time please could you loook at http://pastebin.com/knZNLMwq TIA
[2011/12/09 03:57:34] <movexig> Volcane, if you're still present, here's a log: http://pastebin.com/1eUM1Aiq
[2011/12/09 03:58:15] <Volcane> shaunster: exec doesnt return anything - it probably wont do what you want though as functions are run on the puppetmaster
[2011/12/09 03:58:52] @ Quit: msaum: Quit: Leaving.
[2011/12/09 04:00:05] <Volcane> movexig: puppet version?
[2011/12/09 04:00:10] <movexig> 2.7.1
[2011/12/09 04:00:16] <movexig> (-1ubuntu3)
[2011/12/09 04:00:37] @ Quit: robinbowes: Quit: leaving
[2011/12/09 04:00:47] @ msaum joined channel #puppet
[2011/12/09 04:00:48] <Volcane> no idea, gotta try the list
[2011/12/09 04:01:14] <shaunster> Volcane: Thx for looking. Can you tell me the variables in a template are 'filled in' by the agent or by the puppet master?
[2011/12/09 04:01:31] <Volcane> shaunster: if they're facts they come from the node
[2011/12/09 04:01:35] @ robinbowes joined channel #puppet
[2011/12/09 04:01:56] <Volcane> shaunster: also your function should be type rvalue if you want to return anything
[2011/12/09 04:02:21] <Volcane> shaunster: and "args[1]" should just be args[1]
[2011/12/09 04:02:34] <shaunster> thx....
[2011/12/09 04:03:34] <Volcane> change the exec to: Puppet::Util.execute("/usr/bin/host", args[1]) and set the rvalue thing
[2011/12/09 04:03:37] @ Quit: csanchez: Quit: csanchez
[2011/12/09 04:04:03] <Volcane> ie. newfunction(:getip, :type => :rvalue) do |args|
[2011/12/09 04:05:20] @ pmorillon joined channel #puppet
[2011/12/09 04:05:47] @ Quit: duerF: Quit: Leaving
[2011/12/09 04:06:55] @ Quit: robinbowes: Quit: leaving
[2011/12/09 04:07:04] <movexig> Well, as mention, we know that confine is failing
[2011/12/09 04:07:19] <movexig> Even though the OS is Ubuntu and even though Facter knows "operatingsystem" is "Ubuntu", it somehow still fails
[2011/12/09 04:07:54] @ robinbowes joined channel #puppet
[2011/12/09 04:08:07] <shaunster> Volcane: Many thanks....
[2011/12/09 04:10:44] <movexig> Okay, with confine :operatingsystem => :debian, it works.
[2011/12/09 04:10:52] <movexig> So Puppet seems to think this is a plain Debian system. But why?
[2011/12/09 04:12:06] @ Quit: highclasshole: Ping timeout: 248 seconds
[2011/12/09 04:12:48] <movexig> http://projects.puppetlabs.com/issues/7670 It's this bug
[2011/12/09 04:13:12] <movexig> Or at least, I can reproduce that bug with puppet 2.7.1
[2011/12/09 04:13:33] @ danikov joined channel #puppet
[2011/12/09 04:13:37] <Volcane> what does notify{$operatingsystem: } in this nodes node block tell you?
[2011/12/09 04:13:53] <movexig> Just a sec and I'll check
[2011/12/09 04:14:49] <movexig> Yeah, it thinks "Debian"
[2011/12/09 04:15:08] @ Quit: jakkudanieru: Remote host closed the connection
[2011/12/09 04:15:33] <movexig> I ran the test case in irb as described in that ticket, and it does indeed forget that this is an Ubuntu system
[2011/12/09 04:16:57] <Volcane> updte facter then
[2011/12/09 04:17:36] <movexig> It's the same version on the working and the non-working one though
[2011/12/09 04:17:50] <movexig> But I'll see about it
[2011/12/09 04:18:36] <|Majestic|> type: facter operatingsystem
[2011/12/09 04:18:43] <|Majestic|> at the command prompt and see what it says
[2011/12/09 04:18:50] <|Majestic|> on both systems.
[2011/12/09 04:19:10] @ Quit: n0ts: Ping timeout: 252 seconds
[2011/12/09 04:19:13] <movexig> It says Ubuntu on both systems, but as per the ticket above, it promptly forgets it when used by Puppet
[2011/12/09 04:19:13] <Volcane> |Majestic|: the bug is that it works once then 2nd time it falls back to debian but only if done in the same running process twice - like when puppet runs as a daemon
[2011/12/09 04:19:24] <|Majestic|> right.
[2011/12/09 04:19:34] <movexig> Unfortunately it seems Facter 1.5.9 is the highest available as an Ubuntu package
[2011/12/09 04:20:04] @ fallen joined channel #puppet
[2011/12/09 04:21:23] @ Quit: msaum: Quit: Leaving.
[2011/12/09 04:22:33] @ alup joined channel #puppet
[2011/12/09 04:23:01] <alup> hey is there any version of puppet-module-tool for ruby1.9.x?
[2011/12/09 04:23:33] <|Majestic|> movexig: you could add http://apt.puppetlabs.com/debian into your sources 1.6.3-1puppetlabs1
[2011/12/09 04:23:47] @ msaum joined channel #puppet
[2011/12/09 04:23:47] <|Majestic|> you need to install the key as well ofc else apt will mone ;)
[2011/12/09 04:24:42] <alup> |Majestic|: thnx I'll try this
[2011/12/09 04:24:42] <|Majestic|> ofc dont know if it will fix your bug - dont have any ubuntu systems to test with only debian squeeze & centos here.
[2011/12/09 04:25:26] <d3c> I'm getting 'Skipping device resources because running on a host' - what exactly does this mean? see http://pastebin.com/VViCmLrc
[2011/12/09 04:25:40] <|Majestic|> This is what I use on "some" hosts: deb http://apt.puppetlabs.com/debian squeeze main
[2011/12/09 04:25:44] @ Quit: Spads: Read error: Operation timed out
[2011/12/09 04:26:03] <|Majestic|> not had time to write a module yet to make sure right ones etc are on each boxies i.e. apt controlled via puppet yet.
[2011/12/09 04:26:45] @ elasticdog joined channel #puppet
[2011/12/09 04:26:48] @ Quit: elasticdog: Changing host
[2011/12/09 04:26:48] @ elasticdog joined channel #puppet
[2011/12/09 04:26:53] <movexig> |Majestic|, I'm trying it right now, will let you know
[2011/12/09 04:27:18] <|Majestic|> good luck.. back to writting some more modules here myself.
[2011/12/09 04:27:32] <movexig> All right, Facter doesn't exhibit the bug with the package from that repository
[2011/12/09 04:27:35] <movexig> So that's a good sign
[2011/12/09 04:29:37] @ Spads joined channel #puppet
[2011/12/09 04:30:16] <d3c> the strange thing about those schedule errors is that I haven't defined any schedule resource.
[2011/12/09 04:31:21] @ Quit: shaunster: Quit: Page closed
[2011/12/09 04:32:21] @ Razique joined channel #puppet
[2011/12/09 04:35:25] @ Quit: scobal: Read error: Connection reset by peer
[2011/12/09 04:35:47] <|Majestic|> great :)
[2011/12/09 04:40:17] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 04:41:56] @ csanchez joined channel #puppet
[2011/12/09 04:42:31] @ st33v joined channel #puppet
[2011/12/09 04:43:41] @ jimmy1980 joined channel #puppet
[2011/12/09 04:43:53] @ Quit: msaum: Quit: Leaving.
[2011/12/09 04:44:01] @ emergion joined channel #puppet
[2011/12/09 04:45:11] <d3c> problem is that I'm getting a non-zero exit code due to 6 skipped resources and I have no clue why it happens since I haven't defined any schedule resources: http://pastebin.com/VViCmLrc
[2011/12/09 04:46:18] @ msaum joined channel #puppet
[2011/12/09 04:50:08] @ Quit: EL84: Quit: Leaving.
[2011/12/09 04:52:34] <d3c> if I add --summarize to puppet, it fails with a non-zero exit code. if I omit it, it returns 0. in both cases though, the 6 resources are skipped (and I don't know why).
[2011/12/09 04:54:02] @ choonming joined channel #puppet
[2011/12/09 04:54:09] @ Quit: AshishH: Remote host closed the connection
[2011/12/09 04:54:12] @ scobal joined channel #puppet
[2011/12/09 04:55:03] @ DbT_ joined channel #puppet
[2011/12/09 04:57:24] @ Quit: jaytaph: Quit: jaytaph
[2011/12/09 04:57:43] @ Quit: jeremy: Ping timeout: 268 seconds
[2011/12/09 04:58:05] @ Quit: omry_: Read error: Connection timed out
[2011/12/09 04:58:24] <d3c> 'Skipping device resources because running on a host' keeps popping up, even with an empty manifest (site.pp, that is)
[2011/12/09 04:58:52] @ omry_ joined channel #puppet
[2011/12/09 05:00:13] @ jaytaph joined channel #puppet
[2011/12/09 05:01:25] @ Quit: rubic: Quit: Leaving.
[2011/12/09 05:02:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/09 05:05:30] <tim|mac> hey all, is there a way to run the puppet queue daemon in foreground?
[2011/12/09 05:05:38] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 05:06:11] <tim|mac> ah, simply --no-daemonize
[2011/12/09 05:07:20] @ Quit: jaytaph: Quit: jaytaph
[2011/12/09 05:08:19] @ beaknit joined channel #puppet
[2011/12/09 05:08:33] @ jaytaph joined channel #puppet
[2011/12/09 05:08:41] @ omry_ joined channel #puppet
[2011/12/09 05:08:53] @ Quit: msaum: Quit: Leaving.
[2011/12/09 05:09:21] <tim|mac> anyone know about a know bug in 2.7.6 that caused the puppet queue daemon to give errors like these? "err: Could not save queued catalog for management.kumina.nl: syntax error on line 35, col 43: ` mail_relay: mail.kumina.nl manufacturer: Bochs'"
[2011/12/09 05:10:15] @ msaum joined channel #puppet
[2011/12/09 05:11:00] @ natewalck joined channel #puppet
[2011/12/09 05:11:37] @ st33v left channel #puppet ()
[2011/12/09 05:13:20] <jbraeuer> Volcane: I have a propsal for behavior change of mcollective agent. Is this the right place to discuss it, should I file a ticket or is the puppet-users list the right place?
[2011/12/09 05:16:22] @ _flex joined channel #puppet
[2011/12/09 05:19:06] <d3c> jbraeuer: #mcollective maybe
[2011/12/09 05:19:36] <jbraeuer> d3c: that was to obious for me
[2011/12/09 05:19:37] <jbraeuer> thankt!
[2011/12/09 05:19:39] <jbraeuer> thanks!
[2011/12/09 05:22:42] @ Quit: R1ck: Quit: leaving
[2011/12/09 05:23:04] @ szaydel joined channel #puppet
[2011/12/09 05:24:48] @ Quit: pmorillon: Quit: pmorillon
[2011/12/09 05:25:23] @ rgsteele joined channel #puppet
[2011/12/09 05:25:38] @ ckauhaus joined channel #puppet
[2011/12/09 05:27:37] @ Quit: alup: Quit: Leaving
[2011/12/09 05:28:43] @ R1ck joined channel #puppet
[2011/12/09 05:30:09] @ Quit: msaum: Quit: Leaving.
[2011/12/09 05:30:22] @ Quit: emergion: Quit: later...
[2011/12/09 05:30:24] @ Quit: Callek: Ping timeout: 268 seconds
[2011/12/09 05:30:48] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 05:31:40] @ msaum joined channel #puppet
[2011/12/09 05:33:12] @ comptona joined channel #puppet
[2011/12/09 05:34:49] @ Quit: DbT_: Quit: So long.
[2011/12/09 05:35:09] @ DbT_ joined channel #puppet
[2011/12/09 05:37:01] <deni> freaking puppet
[2011/12/09 05:37:09] <deni> now it's says success but no file was tranferes
[2011/12/09 05:37:14] <deni> *transferred
[2011/12/09 05:37:25] <deni> is there any way to debug this? the log show everything is ok
[2011/12/09 05:37:41] <deni> i'm using --debug and --trace with the puppetrun command and it's not helping
[2011/12/09 05:40:44] <walkeran> deni: Any useful log messages when using puppet agent -t with --debug and --trace on the agent?
[2011/12/09 05:40:48] @ Quit: csanchez: Quit: csanchez
[2011/12/09 05:42:41] @ comptona is now known as comptona[F1]
[2011/12/09 05:44:34] @ Quit: movexig: Quit: Lämnar
[2011/12/09 05:45:48] <|Majestic|> deni: I personaly use: puppet agent --test --debug when diagniosing whats going on OR puppet agent --test --noop (if I dont want it to do anything buts how me what its going to do - useful to test out that new module you just made). It will show you the cmds etc its trying to run. Run the cmds manualy and see if the result is what your looking for. Had an issue the other night and thanks for --debug showed that the init script was buggy (sta
[2011/12/09 05:46:09] <|Majestic|> tus) which was messing up some things.
[2011/12/09 05:48:26] @ pmorillon joined channel #puppet
[2011/12/09 05:48:37] <deni> walkeran: |Majestic| nothing usefull
[2011/12/09 05:48:42] <deni> it says it's successfull
[2011/12/09 05:48:56] <|Majestic|> hum...
[2011/12/09 05:49:11] <|Majestic|> whats it trying to run before you get that result?
[2011/12/09 05:49:27] <deni> maybe my class if wrong
[2011/12/09 05:49:30] <deni> http://pastebin.com/z86a8Zvv
[2011/12/09 05:50:29] @ jeremy joined channel #puppet
[2011/12/09 05:50:48] @ omry_ joined channel #puppet
[2011/12/09 05:51:39] @ Quit: msaum: Quit: Leaving.
[2011/12/09 05:52:14] <walkeran> deni: I guess I'm not familiar with where that location would be (puppet://sado/files/etc/hosts), but I take it the hostname of your puppetmaster/fileserver is sado?
[2011/12/09 05:53:00] <|Majestic|> deni: only diference your doing is your giving it the hostname (I assume) of the fileserver. If you do like: source => 'puppet:///modules/nagios3/bin/nagios-gtalk.sh', it will take it from the puppetmaster directly without you having to hard encode hostnames etc.
[2011/12/09 05:53:10] @ Quit: andreaturli: Remote host closed the connection
[2011/12/09 05:53:34] @ msaum joined channel #puppet
[2011/12/09 05:53:34] <|Majestic|> apart from that, dont see anything wrong
[2011/12/09 05:54:18] @ Quit: inecas: Quit: Leaving
[2011/12/09 05:54:26] <|Majestic|> only other thing I can say is it maybe the path your using..
[2011/12/09 05:54:32] <deni> |Majestic|: sado is the hostname of the puppetmaster yes
[2011/12/09 05:54:35] @ inecas joined channel #puppet
[2011/12/09 05:54:40] <deni> files is the directory in /etc/puppet/files
[2011/12/09 05:55:11] <deni> but if the path is wrong why the hell doesn't it say so? i would very much like to see errors flying all over the place
[2011/12/09 05:55:13] <|Majestic|> usuly you have them in the module your writting - I think you need to go read the structure of puppet.
[2011/12/09 05:55:15] @ cliff-hm joined channel #puppet
[2011/12/09 05:55:17] <deni> anything but successfull
[2011/12/09 05:56:08] <walkeran> It would error out if it couldn't find the source. Look in your /var/lib/puppet/classes.txt file on the agent and see if the "hosts" class is getting included in the catalog
[2011/12/09 05:56:26] <walkeran> Also, what versions of the puppetmaster and agent are you running, and on what OS
[2011/12/09 05:56:45] <|Majestic|> quick example: http://projects.puppetlabs.com/projects/1/wiki/Advanced_Puppet_Pattern
[2011/12/09 05:57:01] @ uphillian joined channel #puppet
[2011/12/09 05:57:04] <|Majestic|> down the bottom will see a basic structure
[2011/12/09 05:57:15] <|Majestic|> cant find the link I was looking for though but thats got the basics you need.
[2011/12/09 05:57:37] <walkeran> http://docs.puppetlabs.com/guides/modules.html
[2011/12/09 05:58:01] <|Majestic|> thanks walkeran thats the one I was thinking of :)
[2011/12/09 05:58:12] <walkeran> Yup! :) No problemo
[2011/12/09 05:58:38] @ lborda joined channel #puppet
[2011/12/09 06:00:34] @ labrown joined channel #puppet
[2011/12/09 06:00:34] @ Quit: jabir: Quit: Leaving.
[2011/12/09 06:01:02] @ Quit: raphdg: Quit: Leaving
[2011/12/09 06:01:42] <|Majestic|> deni: you also can re-write the hosts file using the host stuff in puppet. Bookmark this page.. (adjust url to your puppet master version) http://docs.puppetlabs.com/references/2.7.6/type.html
[2011/12/09 06:01:56] <|Majestic|> Look for host.
[2011/12/09 06:02:43] @ henk joined channel #puppet
[2011/12/09 06:02:46] <deni> my files direcotry is in /etc/puppet/files
[2011/12/09 06:02:47] <henk> hi
[2011/12/09 06:02:54] <deni> i would like to keep files there regardles of modules
[2011/12/09 06:03:10] <henk> Can I use extlookup values in templates?
[2011/12/09 06:03:21] @ brandon_dacrib joined channel #puppet
[2011/12/09 06:03:23] <deni> i don't want to have to copy files in modules/modulename/files
[2011/12/09 06:03:27] <|Majestic|> yes henk. I do it on 99% of my modules I write.
[2011/12/09 06:03:37] @ gniks joined channel #puppet
[2011/12/09 06:03:55] @ Quit: Stenbryggen2: Quit: Leaving.
[2011/12/09 06:03:58] <dcarley> henk: assign a variable in the parent class.
[2011/12/09 06:04:00] <henk> |Majestic|: Can you give an example or point me to the relevant docs?
[2011/12/09 06:04:05] <deni> |Majestic|: puppetmaster version 2.6.2 on Debian
[2011/12/09 06:04:32] <|Majestic|> henk: maybe able to find you soemthing quickly - am a little busy writting some nagios modules atm.
[2011/12/09 06:04:33] <henk> dcarley: parent class? You mean in the manifest using the templete?
[2011/12/09 06:04:47] @ tremble joined channel #puppet
[2011/12/09 06:05:26] <dcarley> henk: is it a file{} resource that's defined in a class?
[2011/12/09 06:06:18] <henk> dcarley: Yes, and I think I know what you mean: in the manifest do foo=extlookup(bar) and simply use this variable in the template, right?
[2011/12/09 06:06:29] <dcarley> henk: yep
[2011/12/09 06:06:54] <henk> |Majestic|: Thank you, I got it :)
[2011/12/09 06:06:58] <|Majestic|> henk: cant find a good example on web but give me a min and ile put up one simple one I wrote (first one I did to start with)
[2011/12/09 06:07:05] <|Majestic|> ahh ok henk, I wont now then :)
[2011/12/09 06:07:05] <henk> dcarley: Thank you too :)
[2011/12/09 06:08:00] @ astrostl joined channel #puppet
[2011/12/09 06:09:46] <deni> |Majestic|: my manifest/init.pp file looks like this: http://pastebin.com/uVbJzeJP
[2011/12/09 06:09:57] <deni> i include the hosts.pp file that i showed you earlier
[2011/12/09 06:10:03] @ Bass10 joined channel #puppet
[2011/12/09 06:10:09] <deni> don's see anything wrong with that
[2011/12/09 06:10:13] <|Majestic|> one sec - doings oemthingf or ya ;)
[2011/12/09 06:11:39] @ Quit: madasi: Quit: I was raided by the FBI and all I got to keep was this lousy quit message!
[2011/12/09 06:11:53] @ KristianDK joined channel #puppet
[2011/12/09 06:12:04] @ madasi joined channel #puppet
[2011/12/09 06:12:54] @ Quit: msaum: Quit: Leaving.
[2011/12/09 06:13:34] @ Quit: omry_: Ping timeout: 268 seconds
[2011/12/09 06:13:56] @ tomben[W1] is now known as tomben[F3]
[2011/12/09 06:14:17] @ msaum joined channel #puppet
[2011/12/09 06:15:26] @ omry_ joined channel #puppet
[2011/12/09 06:15:47] @ Quit: bobra: Ping timeout: 240 seconds
[2011/12/09 06:17:38] @ Quit: ranulf: Quit: leaving
[2011/12/09 06:17:47] @ Quit: kermit: Quit: Leaving.
[2011/12/09 06:18:46] @ kermit joined channel #puppet
[2011/12/09 06:19:44] @ highclasshole joined channel #puppet
[2011/12/09 06:21:21] @ blentz joined channel #puppet
[2011/12/09 06:22:00] <|Majestic|> done
[2011/12/09 06:22:01] <|Majestic|> http://pastebin.com/p7azBACb
[2011/12/09 06:22:26] <|Majestic|> extlookup resolv example I wrote as one of first modules on my own when messing with extlookup stuff. http://pastebin.com/p7azBACb
[2011/12/09 06:23:06] @ labrown is now known as labrown[F3]
[2011/12/09 06:23:15] <|Majestic|> do bewarened if you dont have the extlookup info it will fail/bork. Just going to update mine so it wont and place the change if your intrested but as I said - this was first one I wrote.
[2011/12/09 06:23:22] @ zwi joined channel #puppet
[2011/12/09 06:25:34] @ gplocke joined channel #puppet
[2011/12/09 06:27:04] <|Majestic|> and the change is: http://pastebin.com/ET8nNLk8 if your intrested. Have fun. Now back to nagios module writting - oh what fun LOL.
[2011/12/09 06:32:35] @ sppadic joined channel #puppet
[2011/12/09 06:32:39] <sppadic> afternoon all
[2011/12/09 06:32:53] * walkeran wishes it was afternoon...
[2011/12/09 06:32:55] <sppadic> wondering if could ask a quick query as regards best options for scaling puppet for about 100 node setup
[2011/12/09 06:32:58] <sppadic> hey walkeran
[2011/12/09 06:33:06] <walkeran> Hey :)
[2011/12/09 06:33:07] <sppadic> been reading a bit on the puppetlabs and seems mongrel is the way forward?
[2011/12/09 06:33:16] <sppadic> trying to setup on RHEL 6
[2011/12/09 06:33:17] <walkeran> Mongrel or passenger. I personally use passenger
[2011/12/09 06:33:33] <sppadic> walkeran, hey yeah was trying to install mongrel adn seem to be in dependency hell
[2011/12/09 06:33:40] <sppadic> with the version mismatches of rubygems
[2011/12/09 06:33:53] <sppadic> oo passenger - mod_rails isnt it?
[2011/12/09 06:34:10] <walkeran> Ah, I see. Yeah, I've never actually even tried going the mongrel route. Yeah, passenger = mod_rails/mod_rack/etc
[2011/12/09 06:34:27] <sppadic> am hoping setup is easier -well atleast installation was. :-)
[2011/12/09 06:34:29] <|Majestic|> personaly use passenger also. was very easy to setup.
[2011/12/09 06:34:30] <walkeran> It's a gem that you can install, but you can also snag RPMs for it, I think
[2011/12/09 06:34:36] <sppadic> ahh kewl
[2011/12/09 06:35:09] @ Quit: msaum: Quit: Leaving.
[2011/12/09 06:37:39] @ msaum joined channel #puppet
[2011/12/09 06:38:27] <sppadic> ooh crap - just remembered am gonna be running a wiki off the same server as the puppetmaster as well
[2011/12/09 06:38:32] <sppadic> wondering if the apache can handle all that?
[2011/12/09 06:38:43] <beaknit> good morning - anyone know a good resource for calling a class from within another class?
[2011/12/09 06:39:03] <beaknit> I want to use the -> notation, if possible
[2011/12/09 06:39:29] <chjohnst> sppadic I dont see why not
[2011/12/09 06:39:31] <chjohnst> most of the load will be on the puppetmaster itself
[2011/12/09 06:39:39] <beaknit> So in class 1's init: Class['class1:config'] -> Class['class2']
[2011/12/09 06:40:05] <sppadic> chjohnst, yeah think am going for it
[2011/12/09 06:40:24] <chjohnst> go for it :-)
[2011/12/09 06:40:44] <chjohnst> beaknit: you can use require to setup the dependency
[2011/12/09 06:41:04] <beaknit> I tried that, but it executes out of order
[2011/12/09 06:41:19] @ gebi joined channel #puppet
[2011/12/09 06:41:20] <beaknit> So - within class2, I have a Require => Class1
[2011/12/09 06:41:36] <chjohnst> so you want class2 to require class1 to be satisified?
[2011/12/09 06:41:42] <beaknit> But in the logs, I can clearly see that Class2 loads first
[2011/12/09 06:41:44] <beaknit> Yep
[2011/12/09 06:41:53] <beaknit> Perhaps the require is in the wrong spot?
[2011/12/09 06:42:03] <chjohnst> can you pastie the class?
[2011/12/09 06:42:11] <beaknit> One sec
[2011/12/09 06:42:25] @ Quit: fir31ight: Remote host closed the connection
[2011/12/09 06:43:59] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/09 06:44:02] @ fir31ight joined channel #puppet
[2011/12/09 06:44:52] @ Quit: jaydg: Remote host closed the connection
[2011/12/09 06:45:03] <beaknit> There's a lot of crap that would clutter this up
[2011/12/09 06:45:08] <beaknit> So I'll just summarize
[2011/12/09 06:45:26] <beaknit> In sites.pp, my guy says "Use Class1"
[2011/12/09 06:45:39] <beaknit> Inside Class1, he says "include Class2"
[2011/12/09 06:45:52] <beaknit> Inside Class2, he says "Require Class1"
[2011/12/09 06:45:59] <Volcane> unfortunately telling us what you think the code says doesnt help
[2011/12/09 06:46:05] @ spiette joined channel #puppet
[2011/12/09 06:46:06] <beaknit> lol
[2011/12/09 06:46:08] @ Quit: sppadic: Quit: Leaving
[2011/12/09 06:46:08] <beaknit> true
[2011/12/09 06:46:12] <jokajak> I have a question about mixing puppet and facter variables. is it possible to do something like $network_$someInterfaceVariable and get the result of $network_eth1 if $someInterfaceVariable is eth1 ?
[2011/12/09 06:47:01] @ omry_ joined channel #puppet
[2011/12/09 06:47:02] <beaknit> I think what needs to happen is that I need to just specify Class2 in sites.pp, and then its require of Class1 will trigger Class1's install
[2011/12/09 06:47:20] <Volcane> generally doing any including of things in site.pp is a terrible idea
[2011/12/09 06:47:21] @ sppadic joined channel #puppet
[2011/12/09 06:47:24] <beaknit> Let me try that before I junk up the chat
[2011/12/09 06:47:29] <sppadic> walkeran, ping
[2011/12/09 06:47:30] <beaknit> Not an include
[2011/12/09 06:47:45] <beaknit> If it doesn't work, I'll make things readable and post it here
[2011/12/09 06:47:46] <sppadic> sorry to bother but wondering if you had any issues with installing puppet-server on RHEL 6
[2011/12/09 06:47:50] <pabelanger> Any suggesting on using timeout for an exec command, that I don't know how long it will take?
[2011/12/09 06:47:52] <Volcane> fine, generally doing anything in site.pp is a bad idea :P
[2011/12/09 06:47:58] <pabelanger> suggestions*
[2011/12/09 06:48:39] <jokajak> sppadic: we use puppetmaster on RHEL6
[2011/12/09 06:48:50] <beaknit> good to know :-)
[2011/12/09 06:49:04] <jokajak> sppadic: we built it ourselves from the RPM and installed it
[2011/12/09 06:49:37] @ Quit: jaytaph: Quit: jaytaph
[2011/12/09 06:49:39] <chjohnst> sppadic I think they are on the puppet downloads page or you can use the src rpm to rebuild em
[2011/12/09 06:49:45] <sppadic> jokajak,
[2011/12/09 06:49:55] <sppadic> chjohnst, thanks chaps
[2011/12/09 06:50:01] <sppadic> yeah was trying to do it via yum
[2011/12/09 06:50:07] <sppadic> seems like pain because of mismatches
[2011/12/09 06:50:27] <sppadic> i managed to get puppet installed by forcing an --nodeps on the selinux library
[2011/12/09 06:50:46] <chjohnst> http://downloads.puppetlabs.com/
[2011/12/09 06:50:49] <jokajak> that seems bad
[2011/12/09 06:50:55] <sppadic> yeah jokajak - :-(
[2011/12/09 06:51:00] <sppadic> chjohnst, going there now
[2011/12/09 06:51:36] <Volcane> hmm, libselinux-ruby-2.0.94-5.el6.x86_64 seemed to have satisfied it for me on rhel6
[2011/12/09 06:52:31] <sppadic> Volcane - oh did it
[2011/12/09 06:52:38] <sppadic> hmm did u have to include the optional channel?
[2011/12/09 06:52:49] <sppadic> i just put in the repo called rhel-optional
[2011/12/09 06:53:05] <Volcane> well, when i say rhel6 i mean centos6 i dont know where they got it from - but yes it does ring a bell that it comes from some optional channel
[2011/12/09 06:53:11] @ Quit: nuknad: Quit: nuknad
[2011/12/09 06:53:35] <sppadic> ahh hehe
[2011/12/09 06:53:37] <sppadic> ok cheers
[2011/12/09 06:54:48] <Volcane> is defo in rhel6 somewhere though - there's a bug fix against it on redhat site http://rhn.redhat.com/errata/RHBA-2011-0751.html
[2011/12/09 06:55:43] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/09 06:55:51] <sppadic> thanks Volcane
[2011/12/09 06:56:17] @ Quit: Imran-UK: Ping timeout: 240 seconds
[2011/12/09 06:56:34] @ csanchez joined channel #puppet
[2011/12/09 06:57:13] @ omry_ joined channel #puppet
[2011/12/09 06:58:57] @ Quit: erthad: Ping timeout: 244 seconds
[2011/12/09 06:59:24] @ Quit: msaum: Quit: Leaving.
[2011/12/09 07:00:32] @ kangman joined channel #puppet
[2011/12/09 07:01:19] @ msaum joined channel #puppet
[2011/12/09 07:01:39] @ Quit: larstobi: Quit: Leaving.
[2011/12/09 07:05:49] @ aherzog joined channel #puppet
[2011/12/09 07:06:23] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/09 07:07:34] @ jabir joined channel #puppet
[2011/12/09 07:08:08] @ Quit: csanchez: Quit: csanchez
[2011/12/09 07:08:33] <deni> |Majestic|: thank you, i'm looking through it right now
[2011/12/09 07:08:46] <|Majestic|> np deni
[2011/12/09 07:08:48] @ Spads_ joined channel #puppet
[2011/12/09 07:09:25] @ sdog joined channel #puppet
[2011/12/09 07:10:29] <|Majestic|> theres an accdently extra hash on one of the class lines - just remove it :) teaches me to copy n paste from console to browser lol. svn here is private so cant unforntly share it that way. I guess I could of added to a public git repo but meh :) you should be able to quickly rebuild else pop me a quick msg.
[2011/12/09 07:11:25] <|Majestic|> right back to nagios - one long module im writting
[2011/12/09 07:11:33] <|Majestic|> yawns
[2011/12/09 07:11:51] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/09 07:13:13] @ csanchez joined channel #puppet
[2011/12/09 07:15:04] @ nadavoid joined channel #puppet
[2011/12/09 07:15:57] @ mpdude joined channel #puppet
[2011/12/09 07:16:27] @ Fthis joined channel #puppet
[2011/12/09 07:17:10] @ nuknad joined channel #puppet
[2011/12/09 07:17:43] <rosco> "gem install puppet" does not add a puppet user in rhel6. Is it normal ? Should I add it myself ?
[2011/12/09 07:18:00] @ Quit: SIFTU: Read error: Connection reset by peer
[2011/12/09 07:18:08] <Volcane> dont use gem to install puppet.
[2011/12/09 07:18:24] <Volcane> gem is not a package format for generic applications - as you've discovered
[2011/12/09 07:18:40] @ Quit: sdog: Changing host
[2011/12/09 07:18:40] @ sdog joined channel #puppet
[2011/12/09 07:18:41] @ Quit: sdog: Changing host
[2011/12/09 07:18:41] @ sdog joined channel #puppet
[2011/12/09 07:19:42] @ kaptk2 joined channel #puppet
[2011/12/09 07:20:12] @ jaytaph joined channel #puppet
[2011/12/09 07:20:26] @ Quit: Spads_: Quit: Reconnecting
[2011/12/09 07:20:36] @ Spads joined channel #puppet
[2011/12/09 07:20:39] @ Quit: msaum: Quit: Leaving.
[2011/12/09 07:20:44] @ jsurfer joined channel #puppet
[2011/12/09 07:22:34] @ msaum joined channel #puppet
[2011/12/09 07:23:13] @ loxo joined channel #puppet
[2011/12/09 07:24:39] @ Quit: loxo: Client Quit
[2011/12/09 07:25:19] @ loxo joined channel #puppet
[2011/12/09 07:26:57] @ Quit: tizzo-afk: Ping timeout: 268 seconds
[2011/12/09 07:27:24] @ neonflux joined channel #puppet
[2011/12/09 07:27:43] @ tizzo-afk joined channel #puppet
[2011/12/09 07:27:57] @ Quit: riha: Quit: Leaving.
[2011/12/09 07:28:54] @ Quit: omry_: Ping timeout: 248 seconds
[2011/12/09 07:29:24] @ Quit: rutger_: Remote host closed the connection
[2011/12/09 07:30:50] @ larstobi joined channel #puppet
[2011/12/09 07:30:56] @ Quit: sdog: Quit: Leaving.
[2011/12/09 07:33:16] @ omry_ joined channel #puppet
[2011/12/09 07:34:03] @ cwarden joined channel #puppet
[2011/12/09 07:34:23] @ Quit: comptona[F1]: Quit: Leaving.
[2011/12/09 07:34:37] @ mayak joined channel #puppet
[2011/12/09 07:35:10] @ ldlework joined channel #puppet
[2011/12/09 07:35:18] @ Quit: larstobi: Client Quit
[2011/12/09 07:35:36] @ SIFTU joined channel #puppet
[2011/12/09 07:36:07] @ Quit: jsurfer: Quit: jsurfer
[2011/12/09 07:37:02] <mayak> Hello. I am trying to delete a file with puppet. Unfortunately it does not work. Am I using the correct commands? ---> file { "somefile": ensure => absent, path => "/etc/somefile"; "}. I also added the "force => true" but it did not help.
[2011/12/09 07:38:00] @ trickyf left channel #puppet ()
[2011/12/09 07:38:07] @ Quit: tremble: Ping timeout: 240 seconds
[2011/12/09 07:40:08] <walkeran> mayak: The idea is correct... the syntax is a little goofy, as you have a stray double-quote towards the end. Other than that, it looks sane
[2011/12/09 07:40:45] @ jsurfer joined channel #puppet
[2011/12/09 07:41:16] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 07:41:22] <walkeran> mayak: Are you getting any errors or anything?
[2011/12/09 07:41:26] <mayak> walkeran: alrighty, thank you. I use this semicolon if I define mulltiple files in one resource, is that wrong?
[2011/12/09 07:41:44] <walkeran> No. That semi-colon is fine. The double-quote isn't
[2011/12/09 07:41:59] @ vachon joined channel #puppet
[2011/12/09 07:42:16] @ vachon left channel #puppet ("Leaving")
[2011/12/09 07:42:30] <mayak> walkeran: no, I do not get any error messages. aha, sorry. now I know which double quote you mean. thank you. hang on.
[2011/12/09 07:42:35] @ MattyM76 joined channel #puppet
[2011/12/09 07:42:52] @ omry_ joined channel #puppet
[2011/12/09 07:43:24] @ Quit: msaum: Quit: Leaving.
[2011/12/09 07:44:23] <mayak> walkeran: http://pastie.org/2991661
[2011/12/09 07:44:25] @ Quit: MattyM: Ping timeout: 244 seconds
[2011/12/09 07:45:01] <walkeran> mayak: Your path parameters are a little funky, too. You have closing brackets, but no opening brackets
[2011/12/09 07:45:30] <walkeran> mayak: Also, they don't need to be inside a string, if you are just using variables as the parameters
[2011/12/09 07:45:36] <mayak> walkeran: that's maybe the reason :D
[2011/12/09 07:45:45] <walkeran> Just use --> path => $mlocate::params::mlocate_lib;
[2011/12/09 07:45:49] @ msaum joined channel #puppet
[2011/12/09 07:46:15] @ dan__t joined channel #puppet
[2011/12/09 07:46:17] <mayak> walkeran: I guess you just solved my problem. hang on. i'll test it right away.
[2011/12/09 07:46:39] @ Diranged joined channel #puppet
[2011/12/09 07:46:43] <Diranged> ok im confused
[2011/12/09 07:47:00] <Diranged> i just booted a new instance up and when it tried to hit my puppet server, it says "Could not retrieve local facts: Connection refused - connect(2)"...
[2011/12/09 07:47:02] @ ghg joined channel #puppet
[2011/12/09 07:47:17] <Diranged> my puppet server is up and running just fine.. and the host in question can connect to the puppet server on port 8140 just fine..
[2011/12/09 07:47:58] <walkeran> Diranged: Sounds like there's a fact that tries to make a network connection (ec2, maybe?)... which is failing
[2011/12/09 07:48:09] <Diranged> hrmm
[2011/12/09 07:48:18] <Diranged> i have a few facts that do that kind of thing.. but they all exit quietly..
[2011/12/09 07:48:21] <Diranged> and have worked fine up until today
[2011/12/09 07:48:36] <walkeran> Diranged: interesting. I assume you've tried doing a `facter -p` on that server?
[2011/12/09 07:48:39] <mayak> walkeran: cheers mate, you just solved my problem. I forgot this stupid opening bracket :D
[2011/12/09 07:48:42] <Diranged> yeah
[2011/12/09 07:48:43] <mayak> much appreciated!
[2011/12/09 07:48:45] <Diranged> facter -p works fine
[2011/12/09 07:48:47] <walkeran> mayak: Perfect :) No problem
[2011/12/09 07:49:24] <walkeran> Diranged: Oy... I'm already out of ideas, then :/
[2011/12/09 07:49:24] <Diranged> but your right
[2011/12/09 07:49:33] <Diranged> if i remove the facts.. then rerun it, it pulls the facts back down and then fails
[2011/12/09 07:49:39] <Diranged> something must have changed in 2.7.8..
[2011/12/09 07:49:50] @ Quit: nuknad: Quit: nuknad
[2011/12/09 07:49:50] <mayak> walkeran: works like a charm. lovely
[2011/12/09 07:50:58] @ comptona joined channel #puppet
[2011/12/09 07:52:01] <mayak> walkeran: regarding the variable, should I use $module::params::variable instead of ${module::params::variable}? is there a good reason why?
[2011/12/09 07:52:42] <walkeran> mayak: I would suggest doing that, yeah. If you just use the variable by itself instead of between quotes, it won't be treated as a string, and won't have to do the extra evaluation
[2011/12/09 07:52:52] @ nuknad joined channel #puppet
[2011/12/09 07:52:53] <walkeran> mayak: Definitely not a very big thing, but it's best practice
[2011/12/09 07:53:01] <Diranged> walkeran: http://pastie.org/2991699
[2011/12/09 07:53:15] <Diranged> i basically have 2 of these.. one for cloudstack, and one for amazon..
[2011/12/09 07:53:57] <Diranged> im not a great ruby programmer.. any idea what i need to do to get the fact to "fail silently"?
[2011/12/09 07:54:22] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/09 07:54:41] <walkeran> Diranged: Heh :) I have nooooo idea. I'm not much of a Ruby guy myself... I usually take the cheap way out and refer to our dev team
[2011/12/09 07:54:54] @ Quit: jsurfer: Quit: jsurfer
[2011/12/09 07:55:11] @ seanh-ansca joined channel #puppet
[2011/12/09 07:55:27] @ Quit: csanchez: Ping timeout: 240 seconds
[2011/12/09 07:55:33] @ Quit: comptona: Ping timeout: 252 seconds
[2011/12/09 07:55:42] @ comptona joined channel #puppet
[2011/12/09 07:55:43] @ illsci joined channel #puppet
[2011/12/09 07:55:58] <illsci> Can I get some help with ordering please... I don't understand why I'm seeing the behavior I'm seeing
[2011/12/09 07:56:18] <illsci> I have a server that comes up and includes the cvlamp module and inside that module I have Class["cvlamp::install"] -> Class["cvlamp::config"] -> Class["newrelic_php5"] -> Class["newrelic_sysmond"]
[2011/12/09 07:56:22] @ Quit: sppadic: Quit: Leaving
[2011/12/09 07:56:32] <illsci> I'm seeing cvlamp::install run and then newrelic_sysmond run
[2011/12/09 07:56:34] @ Quit: nuknad: Client Quit
[2011/12/09 07:56:40] @ csanchez joined channel #puppet
[2011/12/09 07:56:55] <illsci> which fails because cvlamp::config and newrelic_php5 module need to run first
[2011/12/09 07:57:27] <illsci> how would that be happening.... There are no other ordering statements in the models themselves other than in the init.pp's of those modules
[2011/12/09 07:58:01] @ VladGh joined channel #puppet
[2011/12/09 07:58:12] <illsci> In the newrelic_php5 module I have Class["newrelic_php5::params"] -> Class["newrelic_php5::install"] -> Class["newrelic_php5::config"] ~> Class["newrelic_php5::service"]
[2011/12/09 07:58:17] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/09 07:59:10] <illsci> I don't understand why it's not running cvlamp::install then cvlamp::config and then doing the newrelic_php5 class which has its ordering inside it's init.pp and then newrelic_sysmond which has it's own ordering inside its module
[2011/12/09 07:59:23] <mayak> walkeran: sorry, once again: which one would be best practise: http://pastie.org/2991661 - the first, right?
[2011/12/09 07:59:32] @ Quit: jabir: Quit: Leaving.
[2011/12/09 07:59:39] @ corren joined channel #puppet
[2011/12/09 08:00:16] <|Majestic|> mayak: yea the first one :)
[2011/12/09 08:00:29] <mayak> Majestic: okay, cheers mate!
[2011/12/09 08:00:33] @ comptona is now known as comptona[F1]
[2011/12/09 08:00:33] <|Majestic|> np
[2011/12/09 08:03:00] @ omry_ joined channel #puppet
[2011/12/09 08:03:02] @ Quit: _TB_: Remote host closed the connection
[2011/12/09 08:03:09] @ tremble joined channel #puppet
[2011/12/09 08:03:38] <Diranged> walkeran: solved it… since puppet now comes with the ec2.rb fact, i just ripped that one off
[2011/12/09 08:04:04] <walkeran> Diranged: Ahha, it was that ec2 fact, eh? I've seen that cause trouble for a couple people
[2011/12/09 08:04:05] <Diranged> for what its worth, heres the working module: http://pastie.org/2991752
[2011/12/09 08:04:15] @ Quit: bosszaru: Quit: leaving
[2011/12/09 08:04:23] <Diranged> well, it was my own modified version that supported Cloudstack as well as EC2..
[2011/12/09 08:04:39] <walkeran> Oh, right... sorry, I'm doing too many things right now :D
[2011/12/09 08:05:49] <Diranged> god it still never ceases to amaze me when i boot up a fresh host and it gets puppet-ized, and all my shit is there.. i really never get over that
[2011/12/09 08:06:53] @ benjiedmund joined channel #puppet
[2011/12/09 08:07:57] @ kelseyhightower joined channel #puppet
[2011/12/09 08:09:32] @ duerF joined channel #puppet
[2011/12/09 08:10:12] @ newtMcKerr joined channel #puppet
[2011/12/09 08:10:53] @ djambar joined channel #puppet
[2011/12/09 08:16:22] @ jabir joined channel #puppet
[2011/12/09 08:17:11] @ Quit: pmorillon: Quit: pmorillon
[2011/12/09 08:18:49] @ Quit: jabir: Client Quit
[2011/12/09 08:19:18] @ Quit: jaytaph: Quit: jaytaph
[2011/12/09 08:19:42] <deni> okay i'm losing my mind now
[2011/12/09 08:19:58] <deni> everything seems to work just fine.....but the file is not created on the client
[2011/12/09 08:21:01] @ geekbri joined channel #puppet
[2011/12/09 08:21:28] <deni> does anyone have any idea how to increase the log output
[2011/12/09 08:21:32] @ Stenbryggen joined channel #puppet
[2011/12/09 08:21:36] <deni> --debug and --trace give me nothing
[2011/12/09 08:21:45] <deni> well nothing usefull
[2011/12/09 08:22:32] <illsci> I'm looking at the graph output of puppet and I don't see any relationship between my cvlamp module and the modules included in it....
[2011/12/09 08:22:36] @ n0ts joined channel #puppet
[2011/12/09 08:22:50] <illsci> Do you have to include the subclasses and enforce relationships at that level
[2011/12/09 08:23:17] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/09 08:23:18] @ Quit: omry_: Ping timeout: 248 seconds
[2011/12/09 08:23:41] @ Quit: jimmy1980: Ping timeout: 268 seconds
[2011/12/09 08:24:05] <illsci> ie you can't do what I'm doing like Class["someclass::somesubclass"] -> Class["somemodule"] -> Class["someclass::somesubclass"] and have it decend into Class["somemodule"]
[2011/12/09 08:24:25] <illsci> and have it do that ordering prior to the the ending Class["someclass::somesubclass"]
[2011/12/09 08:24:27] <illsci> ?
[2011/12/09 08:26:02] @ omry_ joined channel #puppet
[2011/12/09 08:27:47] @ Quit: aherzog: Read error: Connection reset by peer
[2011/12/09 08:27:48] @ Quit: zwi: Quit: Leaving.
[2011/12/09 08:28:10] @ aherzog joined channel #puppet
[2011/12/09 08:28:34] @ Quit: aherzog: Client Quit
[2011/12/09 08:28:39] @ Wolfspyre joined channel #puppet
[2011/12/09 08:30:11] @ jimmy1980 joined channel #puppet
[2011/12/09 08:31:38] @ ryancoleman joined channel #puppet
[2011/12/09 08:31:57] <the_ramink> illsci: basically thtat's correct. You'd need to point to Class['newrelic_php5::service'] rather than Class['newrelic_php5']
[2011/12/09 08:32:20] <illsci> man that sucks....
[2011/12/09 08:32:37] <illsci> So Is there any point in defining order in my newrelic_php5 class at all?
[2011/12/09 08:32:49] <the_ramink> illsci: there's been some work on creating an anchor type in the puppet stlib,.
[2011/12/09 08:33:02] <the_ramink> illsci: sure elese the ordering within that module will be broken
[2011/12/09 08:33:16] <the_ramink> illsci: the problem is the Class['foo
[2011/12/09 08:33:23] <illsci> If it's not respected inside the main cvlamp module there really is no point in even having it in another module...
[2011/12/09 08:33:39] <illsci> So basically if you do inter module relationships
[2011/12/09 08:33:58] <illsci> You can't define the order unless you include all the subclasses in that main module and set the order in one big chain
[2011/12/09 08:33:59] <illsci> ?
[2011/12/09 08:35:45] @ tblamer joined channel #puppet
[2011/12/09 08:35:47] <the_ramink> no you just have to realize that everything is working, but that there is not an automatic chain for everythign withing a class. class['newrelic_php5'] is getting run, but not the sub claasses because they are not part of the order.
[2011/12/09 08:36:28] <the_ramink> so if you set it to ::service it'll work as expected because that's the last link in the chain inside that module
[2011/12/09 08:36:57] <illsci> Oh hmm
[2011/12/09 08:37:05] <illsci> the_ramink: you are the fuckin man
[2011/12/09 08:37:08] <illsci> let me test that
[2011/12/09 08:37:23] @ Quit: dnjaramba: Read error: Connection reset by peer
[2011/12/09 08:37:27] <astrostl> unable to get %h working a la http://docs.puppetlabs.com/guides/file_serving.html
[2011/12/09 08:38:43] <astrostl> pastebin: http://pastebin.com/LYhnuVWx (includes relevant fileserver.conf, manifest, and output stubs)
[2011/12/09 08:39:07] @ Quit: Xeross: Quit: ZNC - http://znc.in
[2011/12/09 08:39:25] @ Quit: d3c: Quit: Lost terminal
[2011/12/09 08:39:52] <the_ramink> illsci: heh, ran into the same issues a few months ago and volcane explained it to me. Was pulling my hair out that day because it does seem like you're setting the chain in the init.pp it should be included as part of making sure that class has been run.
[2011/12/09 08:41:27] @ Quit: oatsport1__: Ping timeout: 240 seconds
[2011/12/09 08:41:39] @ oatsport1 joined channel #puppet
[2011/12/09 08:42:18] @ Quit: lkoranda: Ping timeout: 252 seconds
[2011/12/09 08:43:07] @ phips|mac joined channel #puppet
[2011/12/09 08:44:20] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/09 08:44:41] @ ascarter joined channel #puppet
[2011/12/09 08:46:24] @ Quit: abetterlie: Ping timeout: 244 seconds
[2011/12/09 08:47:07] @ dnjaramba joined channel #puppet
[2011/12/09 08:47:33] <astrostl> anyone? anyone?
[2011/12/09 08:48:03] @ Quit: phips|mac: Client Quit
[2011/12/09 08:48:10] @ abetterlie joined channel #puppet
[2011/12/09 08:48:57] @ omry_ joined channel #puppet
[2011/12/09 08:51:02] @ Quit: n0ts: Ping timeout: 248 seconds
[2011/12/09 08:51:46] @ devinacosta joined channel #puppet
[2011/12/09 08:52:24] @ jantman joined channel #puppet
[2011/12/09 08:52:28] <astrostl> doesn't appear to be related to http://projects.reductivelabs.com/issues/2244 as i'm not using pluginsync
[2011/12/09 08:52:29] @ Quit: corren: Ping timeout: 244 seconds
[2011/12/09 08:52:37] <astrostl> i think this is about as simple of a %h fileserver.conf scenario as one could get
[2011/12/09 08:53:01] <devinacosta> I have a question, we are using VMWARE ESX5, and we are creating a brand new CentOS 6.0 image, i would like to include the Puppet Enterprise Agent inside the VMWARE template, however I know when I did the install i believe it automatically started puppet and created a certificate, but i want to convert this image to a template so we can deploy from, what is best method to accomplish this?
[2011/12/09 08:53:30] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/09 08:53:32] <jantman> i just started using puppet 2.6.12. I have a template that uses "if scope.compiler.classlist.include?("foo::bar") then" but it doesn't seem to be working... did this change at some point?
[2011/12/09 08:53:45] @ ascarter joined channel #puppet
[2011/12/09 08:53:59] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/12/09 08:54:17] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/09 08:54:42] <astrostl> i'm also not using environments
[2011/12/09 08:56:08] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 08:58:27] @ wilmoore joined channel #puppet
[2011/12/09 08:58:45] @ jodok joined channel #puppet
[2011/12/09 08:58:48] @ Quit: ali3n0: Quit: Leaving.
[2011/12/09 09:01:09] <MattTheRat> devinacosta: don't start puppet
[2011/12/09 09:01:39] <MattTheRat> or rm -rf /var/lib/puppet and make your template
[2011/12/09 09:03:19] <jantman> scope.compiler.classlist.include? in templates... anyone?
[2011/12/09 09:03:59] <Diranged> How do you guys handle software packges in Puppet? What i mean is … say I install perl everywhere. no big deal.. but now say i have a module "foo" that requires perl-MySQL … and i also have a module "mysql" that requires perl-MySQL..
[2011/12/09 09:04:00] <devinacosta> Ok cause i thought when you go through the puppet enterprise installer even for the agent, it automatically starts it, and isn't the enterprise fully contained inside the /opt directory, or would just deleting the /var/lib/puppet for the enterprise clear any client certificate requests that was generated during the install?
[2011/12/09 09:04:17] @ Quit: hal-j: Quit: Leaving.
[2011/12/09 09:04:23] <Diranged> i know i can just put perl-MySQL into a single perl module and have it included in both places.. but that, to me, feels like im not clearly defining that in both of those modules, perl-MySQL is required..
[2011/12/09 09:04:29] @ Quit: ccaum: Quit: Coyote finally caught me
[2011/12/09 09:04:29] @ ccaum_ is now known as ccaum
[2011/12/09 09:04:35] <Diranged> thoughts on clean ways to do this?
[2011/12/09 09:05:21] <MattTheRat> devinacosta: I'm not completely familiar with how the Puppet Enterprise install works but any certs/cert requests that get generated can be removed and re-generated
[2011/12/09 09:05:42] <MattTheRat> if everything is in /opt, look their for certs to remove
[2011/12/09 09:05:44] @ andrew_ joined channel #puppet
[2011/12/09 09:05:47] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/09 09:05:48] <MattTheRat> *there
[2011/12/09 09:05:51] <MattTheRat> wow, I'm out of it
[2011/12/09 09:05:53] <jantman> Diranged: look up Virtual Resources
[2011/12/09 09:06:08] @ Quit: andrew_: Client Quit
[2011/12/09 09:06:18] <jantman> that, IMHO, is the *right* way to do it, even though none of the reference implementations seem to do it that way
[2011/12/09 09:06:26] @ ascarter joined channel #puppet
[2011/12/09 09:07:23] @ Quit: larsar: Remote host closed the connection
[2011/12/09 09:07:40] @ Quit: MartVisser: Quit: Leaving
[2011/12/09 09:08:11] <Diranged> yeah that feels weird.. because i have to define the resource in some other common location.. and then just refer to it.. right?
[2011/12/09 09:08:19] <jantman> yes
[2011/12/09 09:08:36] <Diranged> yeah i understand why that makes sense.. :/ i still dont like it.. hrmm
[2011/12/09 09:08:47] <Diranged> oh well.. for now its not a big deal.. i was just curious
[2011/12/09 09:08:49] <jantman> so assuming you have a "base" or "common" module, you could define the virtual packages there
[2011/12/09 09:08:55] <jantman> base::packages or something
[2011/12/09 09:09:05] <jantman> and then realize them where needed
[2011/12/09 09:09:05] <Diranged> (sitting here creating a python module and the question occurred to me)
[2011/12/09 09:09:28] @ langworthy joined channel #puppet
[2011/12/09 09:10:04] @ omry_ joined channel #puppet
[2011/12/09 09:10:37] @ Quit: mogitaff: Quit: Leaving
[2011/12/09 09:10:37] @ kenperkins joined channel #puppet
[2011/12/09 09:10:54] <astrostl> pastebin: http://pastebin.com/LYhnuVWx (includes relevant fileserver.conf, manifest, and output stubs) <-- any ideas?
[2011/12/09 09:11:36] @ Quit: scobal: Read error: Connection reset by peer
[2011/12/09 09:13:29] @ Quit: devinacosta: Quit: Page closed
[2011/12/09 09:14:04] @ Quit: ascarter: Quit: ascarter
[2011/12/09 09:14:07] @ DbT__ joined channel #puppet
[2011/12/09 09:14:22] @ ascarter joined channel #puppet
[2011/12/09 09:14:36] @ zwi joined channel #puppet
[2011/12/09 09:17:30] @ Quit: DbT_: Ping timeout: 252 seconds
[2011/12/09 09:18:03] @ jaytaph joined channel #puppet
[2011/12/09 09:18:36] @ Quit: DbT__: Ping timeout: 252 seconds
[2011/12/09 09:19:05] @ siezer[opscode] is now known as siezer
[2011/12/09 09:19:06] @ williemach joined channel #puppet
[2011/12/09 09:21:00] @ Quit: stevie-bash: Quit: Verlassend
[2011/12/09 09:21:32] @ dparry joined channel #puppet
[2011/12/09 09:21:35] @ Quit: csanchez: Quit: csanchez
[2011/12/09 09:21:53] @ jsurfer joined channel #puppet
[2011/12/09 09:22:09] <dparry> good afternoon, anyone know how to set the active record wait_timeout up from the default of 5 across the board?
[2011/12/09 09:22:20] @ Quit: jodok: Quit: jodok
[2011/12/09 09:22:22] <illsci> the_ramink: Do you also only include the class::subclass along with specifying the class::subclass in the ordering?
[2011/12/09 09:24:29] @ sumsuch joined channel #puppet
[2011/12/09 09:24:52] @ Quit: jaytaph: Quit: jaytaph
[2011/12/09 09:25:07] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 09:25:32] @ jaytaph joined channel #puppet
[2011/12/09 09:25:36] @ Quit: jaytaph: Client Quit
[2011/12/09 09:28:20] @ mrwacky42 joined channel #puppet
[2011/12/09 09:29:24] @ nigelk joined channel #puppet
[2011/12/09 09:30:17] @ lkoranda joined channel #puppet
[2011/12/09 09:31:11] @ Quit: comptona[F1]: Quit: Leaving.
[2011/12/09 09:31:14] @ Quit: kermit: Ping timeout: 244 seconds
[2011/12/09 09:31:27] @ Quit: lkoranda: Client Quit
[2011/12/09 09:31:58] <deni> how do i force the puppet agent to request new certificate if i've change the puppet server?
[2011/12/09 09:32:47] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/12/09 09:32:57] <dparry> deni stop puppet client. rm -rf /var/lib/puppet/ssl on client I think. puppet cert --clean clientaddress on master. start puppet on client
[2011/12/09 09:33:11] <dparry> or possibly /var/lib/puppet/state
[2011/12/09 09:33:19] @ Quit: labrown[F3]: Ping timeout: 255 seconds
[2011/12/09 09:33:28] <dparry> or just blow away /var/lib/puppet on the client usually works for us too
[2011/12/09 09:34:14] <deni> and then just start the client?
[2011/12/09 09:34:32] <dparry> yeah, it'll recreate /var/lib/puppet afresh
[2011/12/09 09:34:56] <dparry> you'll want to do the cert clean on the puppet master too
[2011/12/09 09:35:14] <dparry> unless it's a brand new server that knows nothing of the client
[2011/12/09 09:35:27] @ Quit: tremble: Ping timeout: 240 seconds
[2011/12/09 09:36:27] <deni> dparry: tnx...that worked
[2011/12/09 09:36:41] <dparry> awesome
[2011/12/09 09:36:46] <deni> dparry: it's a brand new server so no need for clean
[2011/12/09 09:36:49] <deni> tnx
[2011/12/09 09:36:56] <dparry> gotcha
[2011/12/09 09:37:08] <ashp> This puppet bug is insanely annoying :(
[2011/12/09 09:37:13] <ashp> it tries to write everyone's ssh key to my key
[2011/12/09 09:38:18] <astrostl> figured it out: it was seeing the master as 'puppet' per its cert, not host1-1
[2011/12/09 09:38:26] <astrostl> running the master in debug / no-daemonize helped
[2011/12/09 09:39:15] @ omry_ joined channel #puppet
[2011/12/09 09:39:38] @ Quit: VladGh: Ping timeout: 240 seconds
[2011/12/09 09:40:25] @ Quit: duerF: Quit: Leaving
[2011/12/09 09:40:38] @ Quit: langworthy: Quit: langworthy
[2011/12/09 09:40:48] @ the_ramink joined channel #puppet
[2011/12/09 09:42:09] @ kermit joined channel #puppet
[2011/12/09 09:42:35] @ ianbrandt joined channel #puppet
[2011/12/09 09:42:45] @ benkevan joined channel #puppet
[2011/12/09 09:43:54] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 09:45:38] <jamesturnbull> gepetto: seen fsargent
[2011/12/09 09:45:39] <gepetto> jamesturnbull: fsargent was last seen 10 days, 16 hours, 17 minutes and 57 seconds ago, leaving #puppet ("Textual IRC Client: http://www.textualapp.com/")
[2011/12/09 09:45:50] @ metcalfc joined channel #puppet
[2011/12/09 09:46:00] @ Quit: benkevan: Client Quit
[2011/12/09 09:46:13] @ fronlius joined channel #puppet
[2011/12/09 09:46:39] @ althara joined channel #puppet
[2011/12/09 09:46:56] <Hunner> Anyone know about profiling the catalog compiler to see what causes long compiles?
[2011/12/09 09:47:48] <Spads> long compiles are caused by unclean thoughts
[2011/12/09 09:48:01] <nigelk> Hunner: http://explanatorygap.net/2010/03/11/profiling-puppetmasterd-with-ruby-prof/
[2011/12/09 09:48:07] <nigelk> that was me hacking on this a while ago
[2011/12/09 09:48:46] <Hunner> Sweet :)
[2011/12/09 09:48:51] @ jimmy1980 joined channel #puppet
[2011/12/09 09:49:32] @ Quit: dparry: Quit: Leaving
[2011/12/09 09:50:15] <the_ramink> I've been trying some ideas out with node_name_value. Is there some secret fact that I can use to access it like clientcert?
[2011/12/09 09:50:56] <Volcane> the_ramink: its $clientcert
[2011/12/09 09:51:22] <Volcane> hmm, or is it, they should match but might be wrong
[2011/12/09 09:51:34] @ Quit: ezryx: Remote host closed the connection
[2011/12/09 09:51:38] <the_ramink> Volcane: odd, doesn't seem to be working, but maybe I'm doing something wrong. I'll bang on it some more.
[2011/12/09 09:52:27] <the_ramink> fwiw I'm setting certname as well which might be part of the problem.
[2011/12/09 09:52:37] @ st33v joined channel #puppet
[2011/12/09 09:53:02] <Volcane> anyway, notify{"foo": message => inline_template("<%= scope.to_hash.inspect %>")}
[2011/12/09 09:53:20] <Volcane> thats all thats available :)
[2011/12/09 09:53:22] @ scsinutz joined channel #puppet
[2011/12/09 09:53:26] @ scsinutz left channel #puppet ()
[2011/12/09 09:53:40] <Volcane> minus the $caller_* vars i think
[2011/12/09 09:54:33] <the_ramink> Volcane: I'd been wondering how to get access to the full list. Thanks much.
[2011/12/09 09:54:38] @ scsinutz joined channel #puppet
[2011/12/09 09:54:45] @ scsinutz left channel #puppet ()
[2011/12/09 09:55:09] @ nfagerlund joined channel #puppet
[2011/12/09 09:55:19] @ miche joined channel #puppet
[2011/12/09 09:56:36] @ jodok joined channel #puppet
[2011/12/09 09:56:49] @ Quit: jodok: Changing host
[2011/12/09 09:56:49] @ jodok joined channel #puppet
[2011/12/09 10:00:02] @ Quit: zwi: Quit: Leaving.
[2011/12/09 10:00:18] @ mrwacky42 joined channel #puppet
[2011/12/09 10:00:47] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/12/09 10:02:10] @ Quit: fronlius: Ping timeout: 244 seconds
[2011/12/09 10:02:20] @ DbT_ joined channel #puppet
[2011/12/09 10:02:35] @ Quit: DbT_: Client Quit
[2011/12/09 10:03:28] @ Quit: astrostl: Ping timeout: 240 seconds
[2011/12/09 10:04:03] @ Ahlee joined channel #puppet
[2011/12/09 10:04:47] @ Quit: omry_: Read error: Operation timed out
[2011/12/09 10:05:27] @ omry_ joined channel #puppet
[2011/12/09 10:05:28] @ astrostl joined channel #puppet
[2011/12/09 10:07:51] @ Quit: natewalck: Quit: natewalck
[2011/12/09 10:08:55] @ sdog joined channel #puppet
[2011/12/09 10:14:08] @ Quit: inecas: Ping timeout: 240 seconds
[2011/12/09 10:14:23] @ ghanima joined channel #puppet
[2011/12/09 10:18:15] @ Quit: MattyM76: Ping timeout: 244 seconds
[2011/12/09 10:18:46] @ comptona joined channel #puppet
[2011/12/09 10:19:07] @ comptona is now known as comptona[F1]
[2011/12/09 10:20:02] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/09 10:21:38] @ nevyn joined channel #puppet
[2011/12/09 10:27:07] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 10:27:32] @ labrown joined channel #puppet
[2011/12/09 10:28:38] @ loxo_ joined channel #puppet
[2011/12/09 10:29:19] @ langworthy joined channel #puppet
[2011/12/09 10:29:44] @ Quit: loxo_: Remote host closed the connection
[2011/12/09 10:31:29] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/09 10:31:51] @ labrown is now known as labrown[F3]
[2011/12/09 10:32:30] @ tremble joined channel #puppet
[2011/12/09 10:32:31] @ Quit: tremble: Changing host
[2011/12/09 10:32:31] @ tremble joined channel #puppet
[2011/12/09 10:32:44] @ Quit: loxo: Ping timeout: 255 seconds
[2011/12/09 10:32:51] @ Quit: sdog: Quit: Leaving.
[2011/12/09 10:36:24] @ loxo joined channel #puppet
[2011/12/09 10:37:25] @ natewalck joined channel #puppet
[2011/12/09 10:37:40] @ lkoranda joined channel #puppet
[2011/12/09 10:38:27] <ashp> DBAS: literally the worst people in IT
[2011/12/09 10:38:40] <ashp> today my DBAs told me automation is impossible because "things are different for each application!"
[2011/12/09 10:44:08] @ Majestic joined channel #puppet
[2011/12/09 10:44:26] @ omry_ joined channel #puppet
[2011/12/09 10:44:40] <gniks> lulz
[2011/12/09 10:44:53] <gniks> better put them on a leash
[2011/12/09 10:46:24] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2011/12/09 10:46:43] @ Quit: fsweetser: Remote host closed the connection
[2011/12/09 10:46:57] <Theory> ls
[2011/12/09 10:47:22] @ Quit: Fthis: *.net *.split
[2011/12/09 10:49:59] @ fsweetser joined channel #puppet
[2011/12/09 10:51:06] @ Quit: astrostl:
[2011/12/09 10:52:01] @ sebnash joined channel #puppet
[2011/12/09 10:53:54] @ jaytaph joined channel #puppet
[2011/12/09 10:54:03] <MattTheRat> ls: command not found
[2011/12/09 10:54:43] @ brandon_dacrib_ joined channel #puppet
[2011/12/09 10:54:44] <tremble> sounds like the path's wrong
[2011/12/09 10:55:15] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/09 10:57:31] @ Quit: brandon_dacrib: Ping timeout: 244 seconds
[2011/12/09 10:57:31] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/12/09 10:58:06] @ Quit: st33v: Quit: st33v
[2011/12/09 10:59:06] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/09 10:59:36] @ brandon_dacrib_ joined channel #puppet
[2011/12/09 11:00:06] @ Quit: jodok: Remote host closed the connection
[2011/12/09 11:00:22] @ jodok joined channel #puppet
[2011/12/09 11:00:22] @ Quit: jodok: Changing host
[2011/12/09 11:00:22] @ jodok joined channel #puppet
[2011/12/09 11:01:22] @ loxo_ joined channel #puppet
[2011/12/09 11:01:25] @ VladGh joined channel #puppet
[2011/12/09 11:02:10] @ Quit: rcrowley: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/09 11:02:14] @ maxmartin joined channel #puppet
[2011/12/09 11:02:51] @ Jippi joined channel #puppet
[2011/12/09 11:02:54] @ Quit: brandon_dacrib: Ping timeout: 252 seconds
[2011/12/09 11:02:54] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/12/09 11:04:04] @ sdog joined channel #puppet
[2011/12/09 11:04:26] <setient> hmm, anyone got some good examples of before/after stuff
[2011/12/09 11:04:27] @ st33v joined channel #puppet
[2011/12/09 11:05:08] @ Quit: loxo: Ping timeout: 240 seconds
[2011/12/09 11:05:08] @ loxo_ is now known as loxo
[2011/12/09 11:05:52] @ loxo left channel #puppet ()
[2011/12/09 11:06:04] @ loxo_ joined channel #puppet
[2011/12/09 11:07:39] @ Quit: st33v: Client Quit
[2011/12/09 11:08:08] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/12/09 11:08:24] @ brandon_dacrib joined channel #puppet
[2011/12/09 11:08:24] @ nitram_macair joined channel #puppet
[2011/12/09 11:08:48] @ Quit: leifmadsen: Read error: Connection reset by peer
[2011/12/09 11:10:05] @ Quit: nitram_macair: Client Quit
[2011/12/09 11:13:54] @ jantman left channel #puppet ()
[2011/12/09 11:14:26] @ jabir joined channel #puppet
[2011/12/09 11:15:27] @ Quit: gplocke: Quit: gplocke
[2011/12/09 11:15:35] @ miche joined channel #puppet
[2011/12/09 11:16:18] <Majestic> Hi, I have a wee small error, well not really an error more on my understanding on scopes again. I have the following code in an erb template.. <% if scope.lookupvar(':params::check_ipv6') == "true" then -%> - which isnt doing what I want. The file which has the veriable in is params.pp and in this case its called check_ipv6. Is the cope for the top ::params::check_ipv6?
[2011/12/09 11:16:26] @ Quit: geekbri: Remote host closed the connection
[2011/12/09 11:16:39] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/09 11:17:03] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com
[2011/12/09 11:17:54] @ ascarter_ joined channel #puppet
[2011/12/09 11:18:03] @ zwi joined channel #puppet
[2011/12/09 11:18:41] @ Quit: ascarter: Ping timeout: 240 seconds
[2011/12/09 11:18:49] <ashp> err: /Stage[main]/Oracle::Server/Puppet::Install_file[oracle-perimeter.tar.bz2]/Exec[install-oracle-perimeter.tar.bz2]/returns: change from notrun to 0 failed: Command exceeded timeout at /etc/puppet/modules/development/puppet/manifests/install_file.pp:17
[2011/12/09 11:19:02] <ashp> Damn, I don't suppose there's a way to do timeouts per command :/
[2011/12/09 11:19:06] @ Quit: jaytaph: Read error: No route to host
[2011/12/09 11:19:28] <the_ramink> ashp: timeout => 1800,
[2011/12/09 11:19:33] <the_ramink> or whatever
[2011/12/09 11:19:34] @ omry_ joined channel #puppet
[2011/12/09 11:19:39] <ashp> aha! you can, perfect
[2011/12/09 11:19:48] <ashp> it's a 2.5G tar.bz2 so it takes foreverrrr
[2011/12/09 11:20:00] <limed> damn you oracle and your huge files
[2011/12/09 11:20:29] @ jaytaph joined channel #puppet
[2011/12/09 11:22:20] @ Quit: Atwa1337: Ping timeout: 252 seconds
[2011/12/09 11:23:55] @ Quit: maxmartin: Read error: Connection reset by peer
[2011/12/09 11:24:32] @ Quit: tblamer: Ping timeout: 248 seconds
[2011/12/09 11:28:41] @ maxmartin joined channel #puppet
[2011/12/09 11:29:17] <gepetto> ::redmine:: Wiki edit: Release_Notes (#153) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=153 (by Nick Fagerlund)
[2011/12/09 11:32:00] <Majestic> nvm - me bing dumb arse sorted now ;)
[2011/12/09 11:32:52] @ leifmadsen joined channel #puppet
[2011/12/09 11:33:03] <mfridh> wow, this is a first for me: Could not retrieve operatingsystem: can't convert nil into String
[2011/12/09 11:34:26] <mfridh> apparently someone screwed with some files from centos-release package.
[2011/12/09 11:34:31] <mfridh> bad bad sysadmin
[2011/12/09 11:35:00] @ Quit: jaytaph: Ping timeout: 252 seconds
[2011/12/09 11:35:38] @ Quit: leifmadsen: Remote host closed the connection
[2011/12/09 11:37:07] @ mao joined channel #puppet
[2011/12/09 11:37:15] @ leifmadsen joined channel #puppet
[2011/12/09 11:37:38] @ Quit: leifmadsen: Remote host closed the connection
[2011/12/09 11:37:54] @ jodok_ joined channel #puppet
[2011/12/09 11:37:54] @ Quit: jodok_: Changing host
[2011/12/09 11:37:54] @ jodok_ joined channel #puppet
[2011/12/09 11:38:10] @ KaiserBeto1 joined channel #puppet
[2011/12/09 11:38:18] <mao> hello all. i'm playing with a module i downloaded, and the init.pp only contains a definition, but not a class
[2011/12/09 11:38:36] <mao> i'm trying to figure out how i would call it
[2011/12/09 11:38:44] <mao> it's the puppet-lvm module fwiw
[2011/12/09 11:38:53] @ Quit: Razique: Quit: Razique
[2011/12/09 11:39:07] @ brandon_dacrib_ joined channel #puppet
[2011/12/09 11:40:47] <limed> should just be lvm::volume {"blah": something}
[2011/12/09 11:40:49] @ JayTaph joined channel #puppet
[2011/12/09 11:40:54] @ Quit: jodok: Ping timeout: 252 seconds
[2011/12/09 11:40:54] @ jodok_ is now known as jodok
[2011/12/09 11:41:48] @ Quit: loxo_: Quit: loxo_
[2011/12/09 11:42:10] @ corren joined channel #puppet
[2011/12/09 11:42:24] @ Quit: brandon_dacrib: Ping timeout: 244 seconds
[2011/12/09 11:42:24] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/12/09 11:42:48] @ Quit: Jippi: Quit: Jippi
[2011/12/09 11:43:57] @ leifmadsen joined channel #puppet
[2011/12/09 11:45:03] @ Quit: ascarter_: Ping timeout: 244 seconds
[2011/12/09 11:48:01] @ Quit: VladGh: Read error: Connection reset by peer
[2011/12/09 11:48:18] @ VladGh joined channel #puppet
[2011/12/09 11:48:36] @ ascarter joined channel #puppet
[2011/12/09 11:50:10] @ Quit: justin_donaldson: Quit: Leaving.
[2011/12/09 11:50:25] @ justin_donaldson joined channel #puppet
[2011/12/09 11:51:37] @ bmahe joined channel #puppet
[2011/12/09 11:51:44] @ Quit: nigelk: Remote host closed the connection
[2011/12/09 11:51:47] @ Quit: bmahe: Changing host
[2011/12/09 11:51:47] @ bmahe joined channel #puppet
[2011/12/09 11:51:51] @ nul0op joined channel #puppet
[2011/12/09 11:52:28] @ Quit: ascarter: Client Quit
[2011/12/09 11:53:28] @ ascarter joined channel #puppet
[2011/12/09 11:53:36] @ rcrowley joined channel #puppet
[2011/12/09 11:55:22] @ tmclaugh joined channel #puppet
[2011/12/09 11:56:48] @ Quit: daysmen: Ping timeout: 252 seconds
[2011/12/09 11:59:31] @ Quit: VladGh: Ping timeout: 244 seconds
[2011/12/09 12:02:07] @ sdog1 joined channel #puppet
[2011/12/09 12:02:16] @ Quit: sdog: Quit: Leaving.
[2011/12/09 12:03:27] @ swygue joined channel #puppet
[2011/12/09 12:03:48] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/12/09 12:04:00] @ brandon_dacrib joined channel #puppet
[2011/12/09 12:05:11] @ dbgster joined channel #puppet
[2011/12/09 12:06:04] @ Quit: jabir: Quit: Leaving.
[2011/12/09 12:07:58] @ loxo joined channel #puppet
[2011/12/09 12:08:07] @ Quit: zwi: Quit: Leaving.
[2011/12/09 12:09:30] @ Kazuhiro joined channel #puppet
[2011/12/09 12:10:33] @ illsci left channel #puppet ()
[2011/12/09 12:10:53] @ Kazuhiro left channel #puppet ()
[2011/12/09 12:16:08] @ Quit: corren: Ping timeout: 240 seconds
[2011/12/09 12:16:21] @ rharrison joined channel #puppet
[2011/12/09 12:18:58] @ d3c joined channel #puppet
[2011/12/09 12:22:37] @ Xeross joined channel #puppet
[2011/12/09 12:23:15] @ Vulcan[OMNI] joined channel #puppet
[2011/12/09 12:27:14] <Majestic> mfridh: someone earlier had same issue. If you use the puppetlabs repo it will fix facter for you.
[2011/12/09 12:28:44] @ Callek joined channel #puppet
[2011/12/09 12:34:33] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/09 12:35:04] <lisa> with the puppetlabs-firewall module is there a way to easily specify multiple source or destination hosts for a single rule?
[2011/12/09 12:36:32] @ Quit: localhost: Remote host closed the connection
[2011/12/09 12:36:33] @ Quit: rharrison: Quit: Leaving
[2011/12/09 12:36:41] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2011/12/09 12:37:43] @ localhost joined channel #puppet
[2011/12/09 12:38:16] @ Quit: loxo: Ping timeout: 244 seconds
[2011/12/09 12:41:41] @ st33v joined channel #puppet
[2011/12/09 12:42:34] @ Quit: tmclaugh: Remote host closed the connection
[2011/12/09 12:43:06] @ tmclaugh joined channel #puppet
[2011/12/09 12:44:02] @ joe-mac joined channel #puppet
[2011/12/09 12:46:14] @ Quit: steven43126: Ping timeout: 248 seconds
[2011/12/09 12:47:18] @ Quit: tvsutton_: Remote host closed the connection
[2011/12/09 12:48:26] @ tvsutton joined channel #puppet
[2011/12/09 12:48:43] @ jongrocho joined channel #puppet
[2011/12/09 12:49:01] @ Quit: hazmat: Changing host
[2011/12/09 12:49:01] @ hazmat joined channel #puppet
[2011/12/09 12:50:26] <Majestic> oooops, wonder if anyone could give me a bit of quick help.. ran into small issue. code I have in erb is: <% acl.each do |acllist| -%><%= acllist -%>,<% end -%>127.0.0.1 - now the issue is how do you do this but point the right scope at it like you would if you did <% if scope.lookupvar('nagios3::params::check_raid_md0') == "true" then -%>?
[2011/12/09 12:51:36] <walkeran> Majestic: I think you are looking for: scope.lookupvar('acl').each
[2011/12/09 12:52:05] <joe-mac> except you shouldn't need to lookup acl if it is local to the class that uses that template
[2011/12/09 12:52:24] <walkeran> this is true..
[2011/12/09 12:53:02] <Majestic> awesome thank you walkeran
[2011/12/09 12:53:17] <walkeran> yw
[2011/12/09 12:53:30] <Majestic> yea I moved it to a params file which then broke it - just tiding up code etc
[2011/12/09 12:53:59] @ Djelibeybi joined channel #puppet
[2011/12/09 12:54:02] <joe-mac> yea if you moved the variable to a different scop ethen you need to look it up
[2011/12/09 12:56:40] <Majestic> yea :) just didnt know how do do the same as I do for others but with the .each stuff. not fantatic with ruby code - still learning.. lots still to ;)
[2011/12/09 12:57:04] @ rideh joined channel #puppet
[2011/12/09 12:58:26] @ Quit: sdog1: Quit: Leaving.
[2011/12/09 12:59:05] @ st33v left channel #puppet ()
[2011/12/09 12:59:06] @ ped left channel #puppet ()
[2011/12/09 13:05:45] @ VladGh joined channel #puppet
[2011/12/09 13:06:06] <d3c> I keep getting 'Skipping device resources because running on a host' for Schedule-resources that I haven't defined. puppet 2.7.6 running under passenger. http://pastebin.com/dE4N48KH - any ideas what might be causing this? problem arises when I run puppet with --summarize where it will return a non-zero exit code. running without summarize, puppet returns 0.
[2011/12/09 13:07:05] @ Quit: Reepicheep: Remote host closed the connection
[2011/12/09 13:13:09] @ Quit: natewalck: Quit: Outta here
[2011/12/09 13:15:09] @ sdog joined channel #puppet
[2011/12/09 13:16:58] @ Quit: comptona[F1]: Quit: Leaving.
[2011/12/09 13:18:33] @ st33v joined channel #puppet
[2011/12/09 13:18:39] <jamesturnbull> d3c: they are debug messages ... they shouldn't change the exit code
[2011/12/09 13:19:05] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/09 13:19:29] @ scsinutz joined channel #puppet
[2011/12/09 13:20:00] @ loxo joined channel #puppet
[2011/12/09 13:21:14] @ rutger_ joined channel #puppet
[2011/12/09 13:21:34] @ omry_ joined channel #puppet
[2011/12/09 13:22:40] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 13:24:07] @ Quit: loxo: Ping timeout: 240 seconds
[2011/12/09 13:24:24] @ Quit: rutger_: Remote host closed the connection
[2011/12/09 13:24:33] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/09 13:24:57] @ rutger_ joined channel #puppet
[2011/12/09 13:24:58] @ jimmy1980 joined channel #puppet
[2011/12/09 13:26:21] <d3c> jamesturnbull: alright. will see if anything changes with 2.7.8. upgrading master and nodes to it now.
[2011/12/09 13:26:32] <mfridh> Majestic: actually, I found out it was due to my own poorly written facter module. and the reinstall of centos-release fixing the problem was a mere coincidence.
[2011/12/09 13:26:40] <mfridh> back to the drawingboard
[2011/12/09 13:26:46] <Majestic> mfridh: good to know.
[2011/12/09 13:26:56] <mfridh> I'm not handling errors properly and return nil
[2011/12/09 13:27:01] <mfridh> bad bad mfridh
[2011/12/09 13:27:13] @ Fthis joined channel #puppet
[2011/12/09 13:27:21] <Majestic> hehe - well must say I havent started writting my own factor modules yet - scares me :)
[2011/12/09 13:27:31] <Fthis> what IRC client does everyone use these days?
[2011/12/09 13:27:43] <Fthis> don't make me ctcp version
[2011/12/09 13:27:49] <Majestic> I am just using extlookups for 99% of everything but some of that could go if I did it within facter
[2011/12/09 13:27:58] <Majestic> xchat here
[2011/12/09 13:28:01] <mfridh> Fthis: irssi
[2011/12/09 13:28:32] <Fthis> i gotta learn how to use irssi, its probably the best choice
[2011/12/09 13:28:36] <Fthis> what a pain in the ass though
[2011/12/09 13:28:40] <mfridh> I just gotta scope out some of the other facter modules and see how they handle errors. I know 0 ruby myself.
[2011/12/09 13:28:47] <mfridh> Fthis: it's easy.
[2011/12/09 13:28:50] <Majestic> used to use it years ago.
[2011/12/09 13:29:07] <mfridh> irssi; /server; /j channel, presto
[2011/12/09 13:29:12] <Dominic> Majestic: #2157 will eventually hit Facter 1.7 or something, so you'll be able to write facts in shell scripts or other languages, rather than having to use Ruby. should make it more accessible...
[2011/12/09 13:29:13] <gepetto> Dominic: Majestic: #2157 is http://projects.puppetlabs.com/issues/show/2157 "Facter - Feature #2157: External fact support. It has a status of Code Insufficient and is assigned to Adrien Thebo"
[2011/12/09 13:29:16] <Majestic> mfridh: yea - will see what I can find later. still writting this massive nrpe/nagious plugins
[2011/12/09 13:29:25] <mfridh> that's fun
[2011/12/09 13:29:44] <Majestic> Dominic: man that be perfect :)
[2011/12/09 13:30:01] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/09 13:30:13] <Majestic> sure will look forward to that :)
[2011/12/09 13:30:15] @ tmclaugh joined channel #puppet
[2011/12/09 13:31:30] @ Quit: tmclaugh: Client Quit
[2011/12/09 13:31:48] @ tmclaugh joined channel #puppet
[2011/12/09 13:32:51] @ dylants joined channel #puppet
[2011/12/09 13:33:27] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/09 13:36:27] @ gadavis[F3] joined channel #puppet
[2011/12/09 13:37:34] <rutger_> Majestic: if you're looking to config Nagios from Puppet we have modules for that (well, for Icinga, same config though). You can find it in the gen and kbp repos on https://github.com/kumina. Maybe it can help you in some way.
[2011/12/09 13:37:58] @ Quit: omry_: Ping timeout: 248 seconds
[2011/12/09 13:38:45] @ Quit: tremble: Ping timeout: 252 seconds
[2011/12/09 13:38:49] @ omry_ joined channel #puppet
[2011/12/09 13:39:16] <Majestic> cheers thanks rutger. mines taking great shape - I did a few weeks ago look at what others had and didnt quite do what I wanted :) and didnt want to butcher someone elses code so wirtting one from scratch. Great fun.. leared how to export data from nodes and write configs on another today.. so simple I could slap myself silly but its a great excise :)
[2011/12/09 13:39:23] <Majestic> will take a look at that repo now also thxs
[2011/12/09 13:40:49] <rutger_> no problem, if you see issues with our code please let us know, we use that code in our prod monitoring so any errors will be squashed asap :)
[2011/12/09 13:41:19] <Majestic> :) okey.
[2011/12/09 13:41:20] <rutger_> but yeah, I understand the fun in writing it from scratch, Icinga config and Ferm were the biggest I did so far, but always looking for more!
[2011/12/09 13:41:43] <Majestic> aye - in the middle of converting everything to puppet
[2011/12/09 13:41:56] <Majestic> one day it be complete ;)
[2011/12/09 13:42:06] <Majestic> but the fun is..
[2011/12/09 13:42:12] @ zwi joined channel #puppet
[2011/12/09 13:42:17] <stahnma> Dominic: external facts are more-or-less available if you use puppetlabs-stdlib today
[2011/12/09 13:42:33] <rutger_> heh, we've been on that project for years. We'll, we do everything with Puppet, but after some time you really don't like your old code anymore
[2011/12/09 13:42:35] <Majestic> machine dies, reload os, install puppet, run puppet agent --test, wait a few secs/mins and then machine is back to how it was lol.
[2011/12/09 13:42:45] <Majestic> yea I know what you mean.
[2011/12/09 13:42:52] <Majestic> Just wished I was better at ruby
[2011/12/09 13:42:55] @ betsys[F3] joined channel #puppet
[2011/12/09 13:42:55] @ coreone[F3] joined channel #puppet
[2011/12/09 13:43:09] @ coreone[F3] left channel #puppet ()
[2011/12/09 13:43:19] @ Quit: sdog: Quit: Leaving.
[2011/12/09 13:43:26] <rutger_> secs/mins? consider yourself lucky, a Puppet run on our Icinga server (it runs only Icinga) takes about 25 minutes. The joy of exported resources
[2011/12/09 13:43:33] <Majestic> but the bits I have picked up covers most lucky.. but if they do liek factor stuff in other languages etc.. makes it so much better for me.. I know bash & perl mostly. odds and sods extra.
[2011/12/09 13:43:37] <Majestic> hehe
[2011/12/09 13:43:50] <Majestic> well only just started with exported recorces today
[2011/12/09 13:43:56] <Majestic> but will be using a lot more..
[2011/12/09 13:44:15] <Majestic> just every site including the wiki didnt make it clear for me for some reason in there examples
[2011/12/09 13:44:17] <d3c> jamesturnbull: do you get the 'Skipping device resources because running on a host' messages as well if running with --debug? I mean, is this normal?
[2011/12/09 13:44:34] <Majestic> then I found this very poor looking website which made thinsg so clear I slapped myself silly for not getting it before lol
[2011/12/09 13:44:34] <jamesturnbull> d3c: it's normal debug output
[2011/12/09 13:44:51] <jamesturnbull> rutger_: what Puppet version?
[2011/12/09 13:44:56] <rutger_> you might want to prepare for longer runs then
[2011/12/09 13:45:06] <rutger_> sec, checking version
[2011/12/09 13:45:48] <Majestic> it was this site... http://christian.hofstaedtler.name/blog/2008/10/puppet-exported-resources.html - simple and easy to understand - dont know why the exampel on the wiki just failed my brain LOL.
[2011/12/09 13:45:54] <rutger_> jamesturnbull: 2.7.6
[2011/12/09 13:45:57] @ Quit: gadavis[F3]: Quit: Leaving.
[2011/12/09 13:46:13] <d3c> jamesturnbull: so you'd expect --summarize to show a number of skipped resources? it always shows 6 (those 6 Schedule-resources).
[2011/12/09 13:46:22] <jamesturnbull> d3c: yeah
[2011/12/09 13:46:30] <Majestic> yea I expect longer runes - atm I wrote about 12 modules now from scratch.. this nagios one is the biggest though
[2011/12/09 13:46:39] <jamesturnbull> d3c: though I am not convinced those shouldn't be hidden
[2011/12/09 13:46:44] <jamesturnbull> rutger_: how many resources under management?
[2011/12/09 13:47:08] <jamesturnbull> rutger_: I have hmmm 500 odd Nagios resources exporting on a host and it rakes 2.5 mins for a run
[2011/12/09 13:47:22] <jamesturnbull> so I think something be not right :(
[2011/12/09 13:47:24] <d3c> jamesturnbull: I think that was the way it used to be. I starting experiencing those problems after upgrading from 2.6.x (don't remember exact version atm) to 2.7.6 and now also 2.7.8
[2011/12/09 13:47:33] <rutger_> I'm checking the DB for a resource count on our Icinga servers, the numbers get really high due to our layered system and lots of wrappers
[2011/12/09 13:47:51] <jamesturnbull> d3c: can you log a bug please
[2011/12/09 13:47:52] <rutger_> our Icinga server has 4555 resources in the DB
[2011/12/09 13:48:26] <jamesturnbull> rutger_: hmmm even then 25 mins seems like a long time
[2011/12/09 13:48:30] <Majestic> nice rutger. I havent yet even looked at Icinga or that other one yet.
[2011/12/09 13:48:33] <rutger_> that's 121 hosts with 1321 services
[2011/12/09 13:48:39] @ betsys[F3] is now known as betsys[headingHO
[2011/12/09 13:48:52] @ betsys[headingHO left channel #puppet ()
[2011/12/09 13:49:17] @ csanchez_ joined channel #puppet
[2011/12/09 13:49:19] <d3c> jamesturnbull: yes, will do.
[2011/12/09 13:49:22] @ Quit: csanchez_: Client Quit
[2011/12/09 13:49:23] <Majestic> I have around 50, but only 9 modules curently - but puppet is set to cron not daemon. Did this to spread the load with rng.
[2011/12/09 13:49:57] <Majestic> as I said rutger, I still got a lot lot lot of work to do to mirgrate all services etc to puppet.
[2011/12/09 13:50:11] <Majestic> but the beniffits are huge :)
[2011/12/09 13:50:14] <rutger_> jamesturnbull, we're waiting for a quieter time at the office so we can strart cracking down on Puppet to see where all the time goes, but it definitely started to rise when we started with exported resources (that Icinga config is 100% exported except for the checks on the Icinga server itself)
[2011/12/09 13:50:40] <jamesturnbull> rutger_: yeah - ping me when you have that quiet time and we cna see if we can help debug
[2011/12/09 13:51:17] <rutger_> will do, you might also have heard tim|mac about it before
[2011/12/09 13:51:38] @ Quit: labrown[F3]: Ping timeout: 244 seconds
[2011/12/09 13:52:00] <d3c> jamesturnbull: are you into the macports provider? I got some other strange stuff happening there. could show you that as well to see if I should file a bug for it
[2011/12/09 13:53:47] <rutger_> Majestic: something I forgot to mention: we only use Debian, so our code is written nor tested for any other OS. But as it's Puppet, the idea stays the same ofc
[2011/12/09 13:54:08] @ Quit: motomike: Remote host closed the connection
[2011/12/09 13:54:09] <Majestic> rutger: 95% of systems here also debian... last 5% centos
[2011/12/09 13:54:38] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/09 13:54:43] <rutger_> ah, then it should work out of the box as long as it's Lenny or Squeeze (some old Etch stuff in there but don't count on it working)
[2011/12/09 13:55:28] @ motomike joined channel #puppet
[2011/12/09 13:55:57] <rutger_> if you do decide to use parts of it we'd appreciate it if you could let us know which things were lacking in gen as that repo is supposed to work for anyone, the kbp one is a layer of our best practices on top of it
[2011/12/09 13:56:16] @ emergion joined channel #puppet
[2011/12/09 13:56:35] <Majestic> rutger: infact from memory without checking its only the dom0's & pbx's are centos rest are debian. Dom0's were changed to centos a while ago as squeeze really messed up the stable lenny dom0's. No point using distro which being phased out (life cycle) so switched to centos 5.x which is supported till 2014 from memory. Been perfect since.
[2011/12/09 13:57:11] <rutger_> it was easier to switch to centos than get it to work with squeeze?
[2011/12/09 13:57:19] @ Quit: swygue: Ping timeout: 244 seconds
[2011/12/09 13:57:34] @ loxo joined channel #puppet
[2011/12/09 13:57:49] <jamesturnbull> rutger_: quite possibly
[2011/12/09 13:58:07] <Majestic> it was not the case of not working in squeeze.. the issue was the dom0 werre unstable.
[2011/12/09 13:58:11] @ Quit: uphillian: Quit: Leaving.
[2011/12/09 13:58:19] <jamesturnbull> d3c: I am not the bets person for the macports stuff but if you log a ticket I can point those people at it
[2011/12/09 13:58:57] <rutger_> dom0 meaning you use Xen?
[2011/12/09 13:59:00] <Majestic> loads of posts around saying lenny xen = furbared. It works but if you give any high(ish) load on disk and network, it almost falls over at the very least you get loads of domU panics (mini ones)
[2011/12/09 13:59:02] <Majestic> yea
[2011/12/09 13:59:11] <Majestic> not all machines
[2011/12/09 13:59:21] <Majestic> some are dedicated, some are vms
[2011/12/09 13:59:49] @ miche joined channel #puppet
[2011/12/09 13:59:50] <rutger_> ah, all our Xen hosts are Lenny or Etch (/shame) but we use KVM on the Squeeze ones
[2011/12/09 13:59:55] <Majestic> sorry shoudl of said squeeze xen = furbar, lenny xen = perfect
[2011/12/09 14:00:19] <Majestic> yea I was running lenny dom0 for about 2 to 3 years without issues
[2011/12/09 14:01:24] <d3c> jamesturnbull: thanks, will point you to the tickets in a few mins
[2011/12/09 14:01:40] <Majestic> switched to squeeze urm forgot when probbaly almost a year now ago and had nothing but issues with it.. still not sure what the issues are - everyone has same issues, for some its fine for others its not. I use mostly supermicro servers and a lot of people also have issues with them but ive also tested with other severs inc asus, dell, hp etc and most gives issues :(
[2011/12/09 14:01:54] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/09 14:02:17] <Majestic> its easy to test, generate high disk and network io and watch the panics flood in. dom0 is clear/find - some NOT all the guests (domu) will start to panic.
[2011/12/09 14:02:17] <rutger_> not issues on KVM, that might be an option
[2011/12/09 14:03:01] <Majestic> I did use KVM for a month or so on the squeeze machines but found performance was not as good.. infact quite a but worse.. you wont notice unless your on gbit or faster connection though
[2011/12/09 14:03:06] <haus> jbaldridge: deb src should be working now from apt.puppetlabs.com
[2011/12/09 14:03:26] <Majestic> if your only on 100mbit - thats why you not noticed ;)
[2011/12/09 14:03:47] <jbaldridge> haus: excellent.
[2011/12/09 14:03:51] <rutger_> it differs between our customers, but we haven't seen issues on either
[2011/12/09 14:04:10] <haus> jbaldridge: at least for puppet and facter
[2011/12/09 14:04:13] @ n0ts joined channel #puppet
[2011/12/09 14:04:14] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/09 14:05:01] <Majestic> rutger: lucky for you :) as I said not everyone has issues - but theres no real solution to the problem as its still being tracked. example friend of mine who runs another company using squeeze dom0's and hes had no problems.. where most of the machines here (mostly supermicro) have issues.
[2011/12/09 14:05:03] @ Quit: rideh: Quit: rideh
[2011/12/09 14:05:25] <rutger_> supermicro being amazon?
[2011/12/09 14:05:31] <Majestic> oh no
[2011/12/09 14:06:20] <Majestic> http://www.supermicro.co.uk/
[2011/12/09 14:06:31] <rutger_> yeah, found it on google :)
[2011/12/09 14:06:31] @ lkoranda joined channel #puppet
[2011/12/09 14:07:05] <gwmngilfen> can anyone shed light on this error: "err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: uninitialized constant Module::Win32API
[2011/12/09 14:07:05] <gwmngilfen> "
[2011/12/09 14:07:15] <gwmngilfen> oops, trailing newline
[2011/12/09 14:07:22] <Majestic> rutger: :)
[2011/12/09 14:08:46] <williemach> im having some issues getting a puppet module to run properly... i want it to execute a script only if this condition exists... unless => "/usr/bin/service network-manager status | grep stop/waiting"
[2011/12/09 14:09:09] <williemach> i mean only if this condition does not exist
[2011/12/09 14:09:12] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/09 14:09:36] @ loxo_ joined channel #puppet
[2011/12/09 14:09:48] @ Quit: loxo: Ping timeout: 240 seconds
[2011/12/09 14:09:48] @ loxo_ is now known as loxo
[2011/12/09 14:10:02] <williemach> but when im running a test, it i keep getting an error that the Exec should be 0, when in fact network-manager is running and showing "start/running", any ideas?
[2011/12/09 14:10:21] <Majestic> thing is rutger back in lenny it was 2.6.26 kernel base with xen 3.x and when they did squeeze it was massive jump overall as it now is xen 4.x and 2.6.32.xx and its either the kernel or xen. Tried many diff custom kernels/patches it still did same or worse! worse being dom0 started rebooting on its own! its not the hardware though - oredred over 10 new boxies did the same lol. oh well but as I said centos 5.x for dom0 and nps any more runs eve
[2011/12/09 14:10:21] <Majestic> n fine using 10Gbe cards
[2011/12/09 14:10:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/09 14:10:52] @ nevyn joined channel #puppet
[2011/12/09 14:12:22] <rutger_> especially weird that it happens to some but not others
[2011/12/09 14:12:45] <Majestic> yea - google/newsgroups etc flooded with same things
[2011/12/09 14:12:54] <Majestic> dam shame :(
[2011/12/09 14:12:56] <d3c> jamesturnbull: http://projects.puppetlabs.com/issues/11317
[2011/12/09 14:13:26] @ Quit: kangman: Remote host closed the connection
[2011/12/09 14:13:55] <Majestic> pbx's only centos due to some drivers needed for some of the cards only have rpms and like alien doent make them work with debian :( so they had to be centos. Lucky never had any issues with the pbxs also phew ;)
[2011/12/09 14:14:32] <Dominic> williemach: sounds like the error you're getting is for the command itself, not the unless condition. Perhaps pastebin the resource and exact log message?
[2011/12/09 14:15:20] <Majestic> right back to puppet module, ping if ya need me
[2011/12/09 14:16:08] @ Quit: gniks: Quit: Leaving.
[2011/12/09 14:17:36] <rutger_> jamesturnbull, do you know if any progress is being made on getting Pupet to work with Ruby 1.9? That might help in speeding things up a bit
[2011/12/09 14:18:25] @ Quit: choonming: Quit: Leaving
[2011/12/09 14:18:29] @ avandendorpe joined channel #puppet
[2011/12/09 14:18:50] <jorhett> rutger_ : they claim that it is compatible with ruby 1.9, but yes I've seen numerous issues reported
[2011/12/09 14:18:59] <Majestic> rutger_: you got some nice plugins I may urm borrow if you dont mind :) - when I get chance ile upload all my custom ones - some wrote myself years ago lol
[2011/12/09 14:19:24] @ Quit: chjohnst: Quit: My damn controlling terminal disappeared!
[2011/12/09 14:19:27] <rutger_> borrow what you want, they're not on github to be left alone :)
[2011/12/09 14:19:44] <jamesturnbull> rutger_: I run Ruby 1.9.2 entirely now
[2011/12/09 14:19:59] <jamesturnbull> rutger_: support in 2.7.0 onwards
[2011/12/09 14:20:41] <Majestic> hehe thanks rutger_
[2011/12/09 14:20:52] @ chjohnst joined channel #puppet
[2011/12/09 14:21:04] <rutger_> ow nice, then we're going to test it asap, we ran into http://projects.puppetlabs.com/issues/7428 last time we tried it
[2011/12/09 14:21:37] @ emsearcy joined channel #puppet
[2011/12/09 14:22:22] <rutger_> I'm off, not allowed to do anything without --noop anyway after having a beer :)
[2011/12/09 14:22:41] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/09 14:23:09] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/09 14:23:17] @ Quit: Callek: Remote host closed the connection
[2011/12/09 14:23:35] @ beaknit left channel #puppet ()
[2011/12/09 14:23:42] @ Quit: rutger_: Remote host closed the connection
[2011/12/09 14:24:35] @ nevyn joined channel #puppet
[2011/12/09 14:25:56] @ Moepigalh312k joined channel #puppet
[2011/12/09 14:25:59] <Moepigalh312k> hello
[2011/12/09 14:26:00] <Moepigalh312k> http://bit.ly/uPBolO
[2011/12/09 14:26:04] <gwmngilfen> jamesturnbull: do you still have the ssl certificate problem in that setup?
[2011/12/09 14:28:29] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/09 14:29:51] @ Quit: JayTaph: Quit: JayTaph
[2011/12/09 14:29:56] @ jimmy1980 joined channel #puppet
[2011/12/09 14:30:02] <zwi> If I auto deploy to a test box using puppet is there a way to run run my automated tests after the puppet run? Maybe a way to do that in reporting? I could think of doing an exec in a final stage or something but I was trying to avoid stages
[2011/12/09 14:30:18] @ zanefactory joined channel #puppet
[2011/12/09 14:31:07] @ miche joined channel #puppet
[2011/12/09 14:32:04] @ Callek joined channel #puppet
[2011/12/09 14:33:21] <Callek> stahnma: aiui 2.7.8 is out, therefore /topic needs updating :-)
[2011/12/09 14:34:04] <jamesturnbull> gwmngilfen: #9084?
[2011/12/09 14:34:05] <gepetto> jamesturnbull: gwmngilfen: #9084 is http://projects.puppetlabs.com/issues/show/9084 "Puppet - Bug #9084: Mixing and matching ruby versions for puppetmasterd and puppetd causes a "certificate verify failed" error. It has a status of Accepted and is assigned to -"
[2011/12/09 14:34:22] <Dominic> zwi: there is a setting called "postrun_command", perhaps you could run tests from that (I think it's sometimes used for etckeeper and the like)
[2011/12/09 14:34:51] @ hobbeswalsh joined channel #puppet
[2011/12/09 14:35:01] @ Mode +o jamesturnbull by ChanServ
[2011/12/09 14:35:03] @ Mode +b Moepigalh312k!*@* by jamesturnbull
[2011/12/09 14:35:05] @ Moepigalh312k has been kicked from #puppet by jamesturnbull (Moepigalh312k)
[2011/12/09 14:35:27] <gwmngilfen> jamesturnbull: indeed, although from the topic name, I guess you don't have that issue. I thought I'd proved I still had it even on the same ruby version, but at the moment, I'm not sure my tests were conclusive
[2011/12/09 14:35:51] * gwmngilfen really needs to rebuild his personal puppetmaster
[2011/12/09 14:38:48] <jamesturnbull> gwmngilfen: let me read that one over again
[2011/12/09 14:40:30] <gwmngilfen> jamesturnbull: i was more talking about #8858 - but 9084 is referenced there
[2011/12/09 14:40:30] <gepetto> gwmngilfen: jamesturnbull: #8858 is http://projects.puppetlabs.com/issues/show/8858 "Puppet - Bug #8858: Puppet registration with master with Ruby 1.9.2. It has a status of Needs More Information and is assigned to Ryan Conway"
[2011/12/09 14:41:05] <gwmngilfen> i posted last saying that the workaround failed for me, but it seems to be working now, so I was probably doing something strange. Just wondered if you were seeing the same behaviour
[2011/12/09 14:42:43] <zwi> Dominic: Thanks! I'll take a look at that
[2011/12/09 14:43:24] <jamesturnbull> gwmngilfen: weird - I've not seen that at all
[2011/12/09 14:43:46] <jamesturnbull> gwmngilfen: I don't use any of those platforms ... so maybe that's it?
[2011/12/09 14:43:59] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/09 14:44:10] <gwmngilfen> it's possible. ireally need to test it more
[2011/12/09 14:44:21] <jamesturnbull> very odd workaround though
[2011/12/09 14:44:39] <gwmngilfen> i thought I had, but then the workaround started functioning, so a) i was doing something wrong and b) i've invalidated all my previous tests :)
[2011/12/09 14:45:18] @ Quit: blentz: Ping timeout: 252 seconds
[2011/12/09 14:46:35] <gwmngilfen> jamesturnbull: what platform are you running your 1.9.2 setup on?
[2011/12/09 14:46:47] <jamesturnbull> gwmngilfen: Fedora 16
[2011/12/09 14:47:01] * jamesturnbull is one of those people who never keened to Ubuntu
[2011/12/09 14:47:30] <gwmngilfen> i moved away from ubuntu a while back, but our company is a debian shop
[2011/12/09 14:47:35] @ Djelibeybi joined channel #puppet
[2011/12/09 14:47:36] <gwmngilfen> so i have a mix here at home
[2011/12/09 14:47:49] <Dominic> jamesturnbull: is 1.9 packaged, or installed via some other means?
[2011/12/09 14:48:45] <jamesturnbull> Dominic: own RPMs based on the F17 ones
[2011/12/09 14:49:01] @ Quit: Fthis: Quit: Page closed
[2011/12/09 14:49:41] <jamesturnbull> Dominic: I don't install things from source ... ever ... I have become quite old and grumpy about it
[2011/12/09 14:49:46] <stahnma> Callek: good call
[2011/12/09 14:49:55] <stahnma> I didn't do the release this time, so I didn't do the topic ;)
[2011/12/09 14:50:00] @ Quit: mao: Quit: Page closed
[2011/12/09 14:50:26] <Dominic> jamesturnbull: heh indeed, I didn't realise 1.9 was in F17
[2011/12/09 14:50:30] <Callek> its ok, just figured I would point it out
[2011/12/09 14:50:38] @ stahnma set topic "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Important Security Announcement: http://bit.ly/AltNames | Puppet 2.7.8 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | November Newsletter http://bit.ly/nl11-11"
[2011/12/09 14:50:41] * Callek makes the same mistakes frequently when he releases SeaMonkey
[2011/12/09 14:50:48] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/09 14:51:23] <jamesturnbull> Dominic: I think it's 1.9.3 in F17 - I just stole their spec file
[2011/12/09 14:51:41] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/09 14:51:44] <Dominic> jamesturnbull: ta, I might do that too... 1.9 things keep tripping me up
[2011/12/09 14:51:50] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/09 14:52:10] <Dominic> or it's an excuse to try out fpm
[2011/12/09 14:52:20] @ Quit: Whoop: Quit:
[2011/12/09 14:52:33] @ Whoop joined channel #puppet
[2011/12/09 14:52:34] @ Quit: Whoop: Changing host
[2011/12/09 14:52:34] @ Whoop joined channel #puppet
[2011/12/09 14:52:46] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/09 14:53:03] <jamesturnbull> Dominic: I'd recommend the latter - it's good stuff and worth a look
[2011/12/09 14:53:56] @ swygue joined channel #puppet
[2011/12/09 14:54:50] <gepetto> ::redmine:: Wiki edit: Development_Puppet_Continuous_Integration (#6) @ http://projects.puppetlabs.com/projects/puppet/wiki/Development_Puppet_Continuous_Integration?version=6 (by Jeff McCune)
[2011/12/09 14:55:30] <Callek> ooo Jenkins management :-)
[2011/12/09 14:55:52] <d3c> jamesturnbull: macports issue (not sure if you need more information): http://projects.puppetlabs.com/issues/11319
[2011/12/09 14:56:44] @ jimmy1980 joined channel #puppet
[2011/12/09 14:59:43] @ joshcooper joined channel #puppet
[2011/12/09 14:59:51] @ tmclaugh joined channel #puppet
[2011/12/09 15:00:58] <jamesturnbull> d3c: thanks - just tidied the output a little
[2011/12/09 15:01:59] <d3c> jamesturnbull: ah, sorry. same issue with the other bug I reported: http://projects.puppetlabs.com/issues/11317
[2011/12/09 15:02:39] <d3c> jamesturnbull: will add <pre>
[2011/12/09 15:04:05] @ mayak left channel #puppet ()
[2011/12/09 15:04:15] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/09 15:06:00] @ Quit: lborda: Quit: Ex-Chat
[2011/12/09 15:07:26] @ danblack joined channel #puppet
[2011/12/09 15:08:04] @ Quit: scsinutz: Quit: Leaving.
[2011/12/09 15:09:52] @ miche joined channel #puppet
[2011/12/09 15:13:14] @ Quit: ryancoleman: Ping timeout: 252 seconds
[2011/12/09 15:14:04] @ loxo left channel #puppet ()
[2011/12/09 15:14:23] @ gniks joined channel #puppet
[2011/12/09 15:17:09] @ Quit: ascarter: Quit: Computer has gone to sleep.
[2011/12/09 15:19:32] @ Quit: key: Remote host closed the connection
[2011/12/09 15:20:15] @ kelseyhi1htower joined channel #puppet
[2011/12/09 15:20:31] @ Quit: mpdude: Remote host closed the connection
[2011/12/09 15:20:48] @ Quit: st33v: Quit: st33v
[2011/12/09 15:21:36] @ pcarlisle joined channel #puppet
[2011/12/09 15:21:58] @ Quit: kelseyhightower: Ping timeout: 248 seconds
[2011/12/09 15:23:27] @ Quit: kaptk2: Quit: Leaving.
[2011/12/09 15:24:14] @ nfagerlund joined channel #puppet
[2011/12/09 15:24:16] @ Quit: bmahe: Quit: Leaving
[2011/12/09 15:27:45] <Majestic> anyone got a good nagios_hostgroup example, I am trying to use it to give a host into multi groups i..e one host could be a member of group a b and d?
[2011/12/09 15:28:25] @ bmahe joined channel #puppet
[2011/12/09 15:28:50] <Majestic> I am looking at this atm: http://docs.puppetlabs.com/references/2.7.6/type.html - but cant see how I can get it to work with multi groups
[2011/12/09 15:29:11] @ Quit: VladGh: Ping timeout: 252 seconds
[2011/12/09 15:29:16] @ Quit: KristianDK: Quit: KristianDK
[2011/12/09 15:29:19] <gwmngilfen> Majestic: I had to give up on the naginator resources - all my nagios config is generated with File resources now
[2011/12/09 15:30:23] @ Quit: zwi: Quit: Leaving.
[2011/12/09 15:30:30] @ nul0op joined channel #puppet
[2011/12/09 15:31:48] <Majestic> gwmngilfen: hehehh ok was trying to automate it :)
[2011/12/09 15:32:32] <gwmngilfen> oh, it's fully automated :)
[2011/12/09 15:32:40] <gwmngilfen> exported resources are awesome, even for files :)
[2011/12/09 15:33:36] <Majestic> atm the services are done via extlookup i.e. $check_imap = extlookup("nrpe_check_imap", "false") and callled via csv using nrpe_check_imap,true to enable which works loverly.
[2011/12/09 15:34:17] <Majestic> yea gwmngilfen using exported recorces for the fqdn.cfg files i.e. services to monitor but now I need to try and sort hostgroups out as it looks a mess now all in *all lol
[2011/12/09 15:34:41] <gwmngilfen> heh
[2011/12/09 15:35:09] * gwmngilfen tries to recall his hostgroup setup
[2011/12/09 15:35:44] <Majestic> my manual one is perfect ofc but idea in spending all this work is to fully automate it - well fully I mean I dont mind updating csvs etc till I get some factors written myself which other modules could add in i.e. if web server is added then it would add it in the factor but thats for another day/year lol... waiting on more language support on factor first for that lol
[2011/12/09 15:36:28] <Majestic> but right now trying to think of solutions around the hostgroup issue hum..
[2011/12/09 15:36:42] <gwmngilfen> yeah, i went down that line - facter variables, parsed into arrays, calling a defined type which has an exported file in it :)
[2011/12/09 15:36:42] @ kelseyhightower joined channel #puppet
[2011/12/09 15:37:10] <Majestic> problem is exported recorces works fine for files but.. meh head fuc..... due to need the other info then like join together..
[2011/12/09 15:37:45] @ Quit: dbgster: Quit: dbgster
[2011/12/09 15:37:56] <Majestic> nice.. would you mind showing me a simple example of a factor homegrown module? one say which is just as you said
[2011/12/09 15:38:21] <gwmngilfen> let me see what I can pastie together that isn't *too* specific to our usecase
[2011/12/09 15:38:25] <gwmngilfen> gimme a few min
[2011/12/09 15:38:26] @ Quit: jimmy1980: Ping timeout: 268 seconds
[2011/12/09 15:38:44] <Majestic> or even a simple location (dont mean envirment) :) i.e. I got multi dc's and some settings change depening where they located
[2011/12/09 15:38:54] <gwmngilfen> ah, that data comes from my ENC :)
[2011/12/09 15:38:57] @ Quit: kelseyhi1htower: Ping timeout: 252 seconds
[2011/12/09 15:39:07] <Majestic> ENC?
[2011/12/09 15:39:15] <gwmngilfen> external node classifier
[2011/12/09 15:39:23] <Majestic> hum.. not bumpted into that
[2011/12/09 15:39:31] * Majestic goes googling thxs :)
[2011/12/09 15:39:58] <gwmngilfen> it's not unlike extlookup
[2011/12/09 15:40:16] <gwmngilfen> just a different view
[2011/12/09 15:40:43] <Majestic> right
[2011/12/09 15:40:55] <Majestic> looking at http://docs.puppetlabs.com/guides/external_nodes.html
[2011/12/09 15:41:03] <gwmngilfen> it's another external source of truth, shall we say :)
[2011/12/09 15:41:08] <Majestic> looks intresting - adding to to do list :)
[2011/12/09 15:41:35] <Majestic> thxs for that tip.. still very much intrested in a generic simple facter module if you wouldnt mind :)
[2011/12/09 15:41:48] <Majestic> only if you have time..
[2011/12/09 15:42:38] @ jimmy1980 joined channel #puppet
[2011/12/09 15:42:41] <gwmngilfen> i'm struggling to be more generic with my module - our use case is only a few boxes per site, and only one runs puppet
[2011/12/09 15:42:45] <Majestic> still deep in thoughs on how can get over my problem LOL. unless I write it manauly boo
[2011/12/09 15:42:58] <Majestic> right
[2011/12/09 15:43:02] <gwmngilfen> so theres a db entry with a list of ips that need some nagios attention
[2011/12/09 15:43:12] <Majestic> right
[2011/12/09 15:43:13] <gwmngilfen> facter pulls that out and the nagios module does the rest
[2011/12/09 15:43:25] <Majestic> hum
[2011/12/09 15:43:38] <gwmngilfen> assuming thats of some vague use, i can show how we do that - you might be able to adapt it :)
[2011/12/09 15:43:55] <Majestic> that may just work yea :)
[2011/12/09 15:43:58] <Majestic> thank you
[2011/12/09 15:44:27] <Majestic> still racking brain lol - I can hear the cogs clicking lol
[2011/12/09 15:45:02] <Majestic> hum - maybe tad messy but I have an idea
[2011/12/09 15:45:32] @ Quit: Diranged: Quit: Leaving.
[2011/12/09 15:46:31] <Majestic> heres a thought... what I could do is still with the extlookup in mind, I could write a normal script (bash or perl) which could read the csv files and then have a veriable in there which is used for the hostgroups then use the script to generate the right config file. That shoudl be easily triggable via puppet so its still automated.
[2011/12/09 15:47:22] <Majestic> ofc not ideal but cant do much till the support is in for multi hostgroups in my case lol
[2011/12/09 15:47:59] <gwmngilfen> http://pastie.org/2993677
[2011/12/09 15:48:05] <Majestic> oo looking thxs
[2011/12/09 15:48:07] <Majestic> brb
[2011/12/09 15:48:29] <gwmngilfen> i've omitted the fact generation because the code to get it from the db is horrendous
[2011/12/09 15:48:48] <gwmngilfen> i can give a simpler example of selecting stuff from a db if you want it
[2011/12/09 15:49:43] <Majestic> np :) yea that be nice thank you
[2011/12/09 15:49:57] <Majestic> yea the way you shown is the way generaly im doing it atm
[2011/12/09 15:50:18] <Majestic> but I didnt know you could split in the manifest :)
[2011/12/09 15:50:22] <Majestic> so thank you for that tip :)
[2011/12/09 15:50:26] <Majestic> adding to notes ;)
[2011/12/09 15:50:47] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/09 15:51:11] <Majestic> this line: $iptv_servers = split($iptvs, ',') - really useful to know ;)
[2011/12/09 15:51:38] <gwmngilfen> here's me getting a single value from a psql db: http://pastie.org/2993689
[2011/12/09 15:51:50] <Majestic> thxs looking
[2011/12/09 15:51:52] <gwmngilfen> yes, that's the ugliest text processing in history
[2011/12/09 15:52:00] <gwmngilfen> and yes, i should rewrite it in ruby
[2011/12/09 15:52:16] <Majestic> Your kidding.... is it this simple?
[2011/12/09 15:52:44] <Majestic> I assume where you called variable_name would be the name of the factor?
[2011/12/09 15:52:53] <Majestic> and the result be after ofc?
[2011/12/09 15:53:09] <gwmngilfen> indeed
[2011/12/09 15:53:20] <gwmngilfen> new Facts are very, very simple
[2011/12/09 15:53:30] <Majestic> dam kick arse thank you!!! love ya :)
[2011/12/09 15:53:32] <gwmngilfen> a couple of lines of ruby, for easy ones
[2011/12/09 15:53:34] @ Quit: amoe: Ping timeout: 244 seconds
[2011/12/09 15:53:49] <gwmngilfen> plenty of examples around - if you have either of the books, there's a chapter on it
[2011/12/09 15:53:50] <Majestic> one last quick question if I may... where do you put this code?
[2011/12/09 15:53:58] <gwmngilfen> are you using modules?
[2011/12/09 15:54:13] <Majestic> yea
[2011/12/09 15:54:16] @ Quit: spiette: Quit: Leaving
[2011/12/09 15:54:18] <Majestic> lib?
[2011/12/09 15:54:25] <gwmngilfen> somemodule/lib/facter/anyoldfilename.rb
[2011/12/09 15:54:30] <Majestic> thought so
[2011/12/09 15:54:32] <Majestic> thank you :)
[2011/12/09 15:54:35] <gwmngilfen> np
[2011/12/09 15:54:35] <Majestic> just checking
[2011/12/09 15:54:47] <Majestic> man I could do so much with this :)
[2011/12/09 15:55:06] <gwmngilfen> getting under the hood of puppet is where it really gets fun, imo
[2011/12/09 15:55:09] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/12/09 15:55:21] @ amoe joined channel #puppet
[2011/12/09 15:55:37] <Majestic> yea it is
[2011/12/09 15:55:39] <gwmngilfen> I had to do a lot on server introspection with custom facts, so as not to upset our field staff :)
[2011/12/09 15:55:46] <gwmngilfen> so I have ~20 custom facts already :P
[2011/12/09 15:55:55] <Majestic> loverly :)
[2011/12/09 15:57:08] <Majestic> so in short I can still write it as a little bash script so to speak in the factor - thought you coulnt atm and it had to be in ruby which scared me lol
[2011/12/09 15:57:23] <gwmngilfen> it has to be ruby - but you can shell out :)
[2011/12/09 15:57:37] <Majestic> ahh - hah sweet :)
[2011/12/09 15:57:38] <gwmngilfen> tbh, it's better if you do it in ruby
[2011/12/09 15:57:49] * gwmngilfen really needs to rewrite that text processing
[2011/12/09 15:57:53] <Majestic> hehe
[2011/12/09 15:58:02] <Majestic> I found all ruby docs to be... poor
[2011/12/09 15:58:16] <gwmngilfen> by comparision the code for the nagios facts is 99 lines long :P
[2011/12/09 15:58:17] <haus> and they hide ruby 1.8.5 docs
[2011/12/09 15:58:20] <Majestic> but ive not looked for a good ruby book though so probbaly should
[2011/12/09 15:58:27] <Majestic> I see
[2011/12/09 15:58:46] <gwmngilfen> but it generates a lot of data, lots of loops over db tables :)
[2011/12/09 15:58:58] <Majestic> yea
[2011/12/09 15:58:58] <gwmngilfen> typically outputing about 15 facts
[2011/12/09 15:59:02] <Majestic> right
[2011/12/09 15:59:10] <gwmngilfen> can't easily do that in bash :P
[2011/12/09 15:59:21] <Majestic> you be surpised what I can in bash :)
[2011/12/09 15:59:46] <gwmngilfen> oh likewise - but what you can do isn;t always what you should do (*cough, I'm looking at you Perl*)
[2011/12/09 15:59:54] <Majestic> hehe
[2011/12/09 16:00:03] <Majestic> and very true...
[2011/12/09 16:00:14] <gwmngilfen> time for a late night cup of tea
[2011/12/09 16:00:25] @ kelseyhightower joined channel #puppet
[2011/12/09 16:00:28] <Majestic> I always try and do best practices anyway - just atm ruby is a nightmare but ofc know enough to do me templates...
[2011/12/09 16:00:48] <gwmngilfen> facts aren't any harder than templates, at least, not for easy stuff
[2011/12/09 16:00:48] <Majestic> enjoy gwmngilfen, me back to modules writting :) and testing a quick fact out
[2011/12/09 16:00:59] <Majestic> great to hear
[2011/12/09 16:01:16] <gwmngilfen> ofc, i've been using ruby for ~3 years, so it's easier for me anyway :P
[2011/12/09 16:01:31] <Majestic> yea lol
[2011/12/09 16:02:10] <Majestic> then you have no excuse not to write it in ruby - well if you get a second later - can you convery that to ruby :) just so I can see how it should be done :) only if it takes a few minutes if not dont worry.
[2011/12/09 16:02:54] @ Quit: neonflux: Quit: Leaving.
[2011/12/09 16:04:00] @ zanefactory_ joined channel #puppet
[2011/12/09 16:04:07] <gwmngilfen> after i have tea. my hands may freeze off otherwise
[2011/12/09 16:04:11] @ Quit: zanefactory: Read error: No route to host
[2011/12/09 16:04:11] @ zanefactory_ is now known as zanefactory
[2011/12/09 16:04:42] @ Quit: shortbus-: Quit: Leaving.
[2011/12/09 16:04:52] @ Quit: kermit: Quit: Leaving.
[2011/12/09 16:05:06] @ kermit joined channel #puppet
[2011/12/09 16:05:39] @ Quit: seanh-ansca: Quit: Leaving.
[2011/12/09 16:06:20] <Majestic> yea no rush and thank you
[2011/12/09 16:06:51] <gwmngilfen> heh,it's midnight and I'm rebuilding VMs. i can spare a little time
[2011/12/09 16:08:54] <williemach> i need some help with a module, i'm trying to get a command kick off unless => /usr/sbin/service network-manager status | grep stop
[2011/12/09 16:09:45] <williemach> my exact line looks like unless => "/usr/sbin/service network-manager status | grep stop";
[2011/12/09 16:10:08] <williemach> but when i'm testing it, the command doesnt kick off even though network-manager is in start/running
[2011/12/09 16:11:18] <williemach> i've been trying it on command line, and echo $? is claiming 0
[2011/12/09 16:12:12] <Majestic> gwmngilfen: thank you - sorry for delay just made a hot drink also
[2011/12/09 16:12:23] <gwmngilfen> williemach: what OS?
[2011/12/09 16:12:30] <williemach> ubuntu 10.04
[2011/12/09 16:13:39] <gwmngilfen> hmm
[2011/12/09 16:13:43] <williemach> could it be spacing in the command?
[2011/12/09 16:13:56] <gwmngilfen> i only have an 11.10 to test on, but I get an exit of 1 for something similar
[2011/12/09 16:14:11] <williemach> weird
[2011/12/09 16:14:13] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/09 16:14:17] <gwmngilfen> /usr/sbin/service ssh status|grep stop ; echo $? => 1
[2011/12/09 16:14:29] <williemach> let me give that a go
[2011/12/09 16:15:10] <williemach> oh thats because it's running, correct?
[2011/12/09 16:15:23] @ Quit: dan__t: Read error: Operation timed out
[2011/12/09 16:15:27] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/09 16:15:28] <gwmngilfen> ya
[2011/12/09 16:15:30] <williemach> /usr/sbin/service ssh status | grep running ; echo $?
[2011/12/09 16:15:47] @ Quit: d3c: Quit: leaving
[2011/12/09 16:15:48] <williemach> i want it to execute if it's running
[2011/12/09 16:16:08] <gwmngilfen> so, instead on "unless", use "onlyif" and grep for running
[2011/12/09 16:16:13] <gwmngilfen> *of
[2011/12/09 16:17:11] <gwmngilfen> technically I think that's the same as what you have, but it's clearer as to your intentions :)
[2011/12/09 16:17:15] @ Quit: jodok: Quit: jodok
[2011/12/09 16:17:47] <williemach> yeah, no luck, still coming back as not being run
[2011/12/09 16:18:07] @ Quit: DJClean: Read error: Operation timed out
[2011/12/09 16:18:12] <gwmngilfen> and that grepping for "running" gives an exit status of 0?
[2011/12/09 16:19:04] <williemach> yep, still returning 0
[2011/12/09 16:19:11] <williemach> but in noop, saying it's 1
[2011/12/09 16:19:42] <gwmngilfen> try with -v -d -trace
[2011/12/09 16:19:45] <gwmngilfen> *--trace
[2011/12/09 16:20:00] <gwmngilfen> see if you can see that it's running it correctly, and try what it's running
[2011/12/09 16:22:14] @ astrostl joined channel #puppet
[2011/12/09 16:22:44] @ astrostl2 joined channel #puppet
[2011/12/09 16:22:56] @ Quit: astrostl2: Client Quit
[2011/12/09 16:23:09] <williemach> http://www.pastie.org/2993792
[2011/12/09 16:23:20] <williemach> even though it's returning 0 when i'm executing on the command line
[2011/12/09 16:23:24] <williemach> so odd
[2011/12/09 16:23:56] <gwmngilfen> iirc i think that says "i would have run it but i was in noop"
[2011/12/09 16:24:29] <gwmngilfen> try it without the noop
[2011/12/09 16:24:36] <gwmngilfen> i think that'll execute :)
[2011/12/09 16:25:10] @ Kazuhiro joined channel #puppet
[2011/12/09 16:25:27] <gwmngilfen> you've not got the exit status of your test in that output, you've got a log saying "I wanted this exec to exit with 0, but I was in noop, so I didn't run it"
[2011/12/09 16:25:54] <torrancew> If you don't specify a path => parameter (which I'm htinking you don't, since you fully qualify service), how will it find grep, unless you fully qualify that too?
[2011/12/09 16:25:56] <williemach> ah, gotcha
[2011/12/09 16:26:34] <williemach> torrancew, i get what you're saying, but it's worked in the past
[2011/12/09 16:26:47] <williemach> i might try that on this module though
[2011/12/09 16:27:51] <Majestic> gwmngilfen: im winning :) just working few more things out atm
[2011/12/09 16:28:26] <williemach> gwmngilfen: thanks for your help, i think the issue with my script that is executing... it's giving out non 0 status when run
[2011/12/09 16:29:05] <gwmngilfen> williemach: np
[2011/12/09 16:29:11] <gwmngilfen> Majestic: neraly got that example :P
[2011/12/09 16:29:35] <Majestic> gwmngilfen: many thanks :) still working on some bits also
[2011/12/09 16:30:58] @ fcami joined channel #puppet
[2011/12/09 16:31:06] <gwmngilfen> http://www.pastie.org/2993818
[2011/12/09 16:31:22] <gwmngilfen> that's overkill, but just for comparison :P
[2011/12/09 16:31:46] <gwmngilfen> not all my machines have the ruby-pg libraries, so I have to shell out psql usually
[2011/12/09 16:32:08] <gwmngilfen> but since you asked :)
[2011/12/09 16:36:25] <Majestic> looking :)
[2011/12/09 16:37:18] <Majestic> doesnt look too bad
[2011/12/09 16:37:38] <Majestic> making a note thanks.
[2011/12/09 16:37:48] <Majestic> expected a lot worse :) as in understanding
[2011/12/09 16:37:58] <gwmngilfen> if you were going to use that, I'd be sure to source all my db facts in one go, re-using the db connection
[2011/12/09 16:38:39] <gwmngilfen> then you're not continually connecting and disconnecting from it
[2011/12/09 16:39:00] * gwmngilfen should probably adopt his own advice....
[2011/12/09 16:40:22] @ Quit: jsurfer: Ping timeout: 248 seconds
[2011/12/09 16:40:50] @ Quit: alanevans: Remote host closed the connection
[2011/12/09 16:41:38] <Majestic> yea
[2011/12/09 16:41:54] <Majestic> its given me a lot to think about thank you
[2011/12/09 16:42:30] @ Quit: kelseyhightower: Ping timeout: 248 seconds
[2011/12/09 16:42:52] <Majestic> got more ideas now thanks to you so big thanks again
[2011/12/09 16:44:00] <gwmngilfen> np
[2011/12/09 16:46:02] <Majestic> what I think I may do is write load of facts like.. has_httpd etc.. so it becomes has_httpd => yes. That data can be pulled from looking at dpkg or rpm installed then adding a monitor in nagios for it. THis would save me having to manauly go though many csv's and or a db and add in what hostname has what service.
[2011/12/09 16:47:27] @ iFire joined channel #puppet
[2011/12/09 16:47:35] <Majestic> but atm can leave it as just csv which is working fine - just need to mess with servicegroups and hostgroups which I will do tomorrow. Going to restructue some of it - atm have my live system im looking at and another which is my automated version i.e. puppet controlled.
[2011/12/09 16:47:53] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/09 16:48:41] @ jimmy1980 joined channel #puppet
[2011/12/09 16:48:43] <gwmngilfen> iirc you can get a list of assigned classes in a template - so you could even check there if your nodes athe class "httpd" and so on
[2011/12/09 16:49:22] <Majestic> right - only downside I can see with that is if some things are still not puppet controlled that doesnt fully help :)
[2011/12/09 16:49:34] <Majestic> in an ideal world when it all is.. yes that would be perfect lol
[2011/12/09 16:49:58] <ashp> hmm, hypothetical non-puppet question - you have an application that you want to deploy in three clusters (three seperate regions) with worker nodes that live in the cloud that clients access - these then access one of the three clusters you have
[2011/12/09 16:50:03] <ashp> how would you guys handle upgrading these?
[2011/12/09 16:50:23] <ashp> we had originally planned blue/green production systems in each location, so you have production/staging and you flip-flop between them when doing deploys
[2011/12/09 16:50:37] <ashp> but if you have 3 regions that's 6 sets of machines, starts getting unwieldy
[2011/12/09 16:51:54] <Majestic> at a rough guess, location fact and your blue/green systems as envirments... I am looking at a simualr thing myself as have about 5 different DCs in different countries
[2011/12/09 16:52:39] @ hal-j joined channel #puppet
[2011/12/09 16:54:23] <kenperkins> ok I'm confused
[2011/12/09 16:54:34] <kenperkins> for a particular environment, I'm not getting any nodes processed
[2011/12/09 16:54:38] <kenperkins> they just return immediatley
[2011/12/09 16:54:54] @ rubic joined channel #puppet
[2011/12/09 16:55:27] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/09 16:55:45] <kenperkins> but the path to the manifest file looks correct in the puppet.conf, and the environment is set correctly in the client puppet conf, so I'm confused
[2011/12/09 16:55:51] @ miche joined channel #puppet
[2011/12/09 16:56:25] <sumsuch> hey all, I have a rpm that I have being installed via puppet ( ensure => latest), but it will not update. If I do a yum update package it will update fine, but through puppet it will. If I remove the rpm, and have puppet reinstall it will be of the latest version that it will not update to. Any reason?
[2011/12/09 16:56:45] <gwmngilfen> kenperkins: are your clients daemonizing? is there a puppet process in "ps ax" output?
[2011/12/09 16:56:50] <Majestic> oh my its 1am already - I think I will continue tomorrow or I be a zombie ;) - thanks gwmngilfen for the tips/code/help/examples etc will keep you posted on final solution if I see you around again. usualy here - havent been for past few weeks as just moved in rl and had no net access.
[2011/12/09 16:57:08] @ Quit: swygue: Ping timeout: 240 seconds
[2011/12/09 16:57:14] <gwmngilfen> Majestic: i'm always logged in. I pick up messages when I see them :)
[2011/12/09 16:57:19] <gwmngilfen> and yw
[2011/12/09 16:57:28] <Majestic> okey m8ty nn sleep well and cheers again.
[2011/12/09 16:58:15] @ Quit: Majestic: Quit: Leaving
[2011/12/09 16:58:28] @ Quit: miche: Client Quit
[2011/12/09 17:01:41] <kenperkins> gwmngilfen: looking
[2011/12/09 17:01:53] <kenperkins> negative (as I expected)
[2011/12/09 17:01:58] <kenperkins> we only ever run them as puppet agent --test
[2011/12/09 17:02:51] <kenperkins> what I don't understand is other environments work correctly
[2011/12/09 17:03:02] <kenperkins> but all machines within my stage env are basically no-opting
[2011/12/09 17:03:11] <kenperkins> i.e. they run and return almost immediatley
[2011/12/09 17:03:21] <kenperkins> ex: notice: Finished catalog run in 2.15 seconds
[2011/12/09 17:04:43] @ Quit: nadavoid: Remote host closed the connection
[2011/12/09 17:06:14] @ Quit: williemach: Quit: Leaving.
[2011/12/09 17:06:57] @ Quit: langworthy: Quit: langworthy
[2011/12/09 17:07:15] <kenperkins> ok I'm getting the same problem for production and stage, but not for test :S
[2011/12/09 17:07:17] @ langworthy joined channel #puppet
[2011/12/09 17:07:23] @ Quit: langworthy: Client Quit
[2011/12/09 17:07:26] <gwmngilfen> hmm
[2011/12/09 17:07:55] * gwmngilfen is sure he's seen that before
[2011/12/09 17:08:08] <gwmngilfen> do you use an enc?
[2011/12/09 17:08:31] <kenperkins> enc? not familiar with that
[2011/12/09 17:08:34] @ Quit: joshcooper: Quit: joshcooper
[2011/12/09 17:08:43] * kenperkins is stressed out now, he's basically prvented the ability of running puppet in production!
[2011/12/09 17:10:45] <gwmngilfen> ok, so no enc :)
[2011/12/09 17:10:56] @ Quit: althara: Ping timeout: 240 seconds
[2011/12/09 17:11:46] <kenperkins> https://gist.github.com/1454148
[2011/12/09 17:11:49] <kenperkins> that's my master conf
[2011/12/09 17:11:55] <kenperkins> here's a client conf that's not working
[2011/12/09 17:12:33] <kenperkins> https://gist.github.com/1454151
[2011/12/09 17:12:45] <kenperkins> <wtf>
[2011/12/09 17:13:29] <gwmngilfen> hmm
[2011/12/09 17:13:36] <gwmngilfen> nothing odd there, i don't think
[2011/12/09 17:13:39] <kenperkins> like I said, mgmt and test work find
[2011/12/09 17:13:42] <kenperkins> prod and stage don't
[2011/12/09 17:13:56] @ Quit: jsm_: Quit: jsm_
[2011/12/09 17:14:20] <gwmngilfen> this was working? what's changed?
[2011/12/09 17:14:41] <gwmngilfen> if you move a node to test, it starts working?
[2011/12/09 17:15:25] <kenperkins> it was working, but I just reworked all of my module paths to make it easier to deploy
[2011/12/09 17:15:31] <kenperkins> and test and mgmt work perfectly
[2011/12/09 17:16:50] <gwmngilfen> sounds like a paths issue. what puppet version?
[2011/12/09 17:18:05] <kenperkins> let me check I think 2.7.1 everywhere
[2011/12/09 17:18:36] <kenperkins> sorry 2.7.3 everywhere
[2011/12/09 17:18:57] <kenperkins> I didn't change the version
[2011/12/09 17:19:08] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/09 17:19:20] <Callek> stahnma: ooo if you're still around I had a q that I have been asking on and off the past few days....
[2011/12/09 17:19:21] <gwmngilfen> iirc you might have $vardir/state/classes.txt on a node - whats in it?
[2011/12/09 17:19:51] <Callek> ...is there a roadmap/plan/goals list etc for puppet/puppetlabs that is publicly accessible ?
[2011/12/09 17:20:07] <kenperkins> "settings"
[2011/12/09 17:20:30] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/09 17:20:32] <kenperkins> whoa
[2011/12/09 17:20:36] <kenperkins> very different than my other machine
[2011/12/09 17:20:53] <gwmngilfen> yeah, looks like it was passed no classes
[2011/12/09 17:20:58] <gwmngilfen> hence why it finished fast
[2011/12/09 17:21:06] <kenperkins> ok how do I diagnose
[2011/12/09 17:21:09] <kenperkins> or fix :D
[2011/12/09 17:21:31] <gwmngilfen> first the ovbvious question - $confdir/environments/$environment/manifests/prod.pp exists?
[2011/12/09 17:22:12] <kenperkins> I'll double check for the umpteenth time
[2011/12/09 17:22:35] <gwmngilfen> i have to ask :P
[2011/12/09 17:22:43] @ Quit: jongrocho: Remote host closed the connection
[2011/12/09 17:22:49] <kenperkins> is there a way to evaluate puppet variables from the CLI
[2011/12/09 17:22:54] <kenperkins> just to make sure it's parsing as I expect
[2011/12/09 17:23:27] <kenperkins> https://gist.github.com/1454176
[2011/12/09 17:23:31] <kenperkins> that's on my puppetmaster
[2011/12/09 17:23:52] <Callek> kenperkins: for evaluating vars for the CLI I usually use --noop + an inserted fail() to the manifests
[2011/12/09 17:24:17] <kenperkins> so as I can tell gwmngilfen yes the file is there
[2011/12/09 17:24:22] <Callek> kenperkins: or in the case of facter variables you can do |facter foo|
[2011/12/09 17:24:50] <kenperkins> rgr
[2011/12/09 17:24:56] <gwmngilfen> i see you're setting environment on both master and client. iirc that can cause weird issues...
[2011/12/09 17:25:15] <gwmngilfen> since you node will have mgmt set by the server and prod by the client
[2011/12/09 17:25:25] <kenperkins> eh?
[2011/12/09 17:25:31] <gwmngilfen> there's some docs about that somewhere
[2011/12/09 17:25:52] <kenperkins> I only set environment = .... once per puppet.conf
[2011/12/09 17:26:11] <kenperkins> now, I do set environment=mgmt on the puppetmasters puppet.conf, and environment=stage on a stage machine puppet.conf
[2011/12/09 17:26:37] <gwmngilfen> yeah, see #3910 about that
[2011/12/09 17:26:38] <gepetto> gwmngilfen: yeah: #3910 is http://projects.puppetlabs.com/issues/show/3910 "Puppet - Bug #3910: Server is not authoritative over client environment when specified in an ENC. It has a status of Accepted and is assigned to Nick Lewis"
[2011/12/09 17:26:44] <kenperkins> puppetmaster puppet.conf: https://gist.github.com/1454148
[2011/12/09 17:26:58] <gwmngilfen> ah, wait, that might only be for enc's
[2011/12/09 17:27:08] <kenperkins> client puppet.conf: https://gist.github.com/1454151
[2011/12/09 17:27:17] @ daysmen joined channel #puppet
[2011/12/09 17:28:12] <kenperkins> I don't understand :(
[2011/12/09 17:28:57] <gwmngilfen> i think i'm off on a https://gist.github.com/1454148
[2011/12/09 17:29:04] <gwmngilfen> bleah, bad paste
[2011/12/09 17:29:07] <gwmngilfen> off on a tangent
[2011/12/09 17:29:35] <gwmngilfen> what's in your master logs when a client connects for the prod environment?
[2011/12/09 17:30:08] @ Quit: the_ramink: Ping timeout: 240 seconds
[2011/12/09 17:30:56] <kenperkins> how do I proceed? I've basically hosed my production and stage puppet environments
[2011/12/09 17:31:03] <kenperkins> ok, well, I don't see anything in /var/log/puppet
[2011/12/09 17:31:12] <kenperkins> where else? I'm running through apache and passenger
[2011/12/09 17:31:37] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/09 17:32:51] <gwmngilfen> my logs end up in /var/log/daemon.log on Debian
[2011/12/09 17:33:49] <kenperkins> here's all I see
[2011/12/09 17:33:51] <kenperkins> Dec 10 01:33:36 puppet puppet-master[1858]: Compiled catalog for web-01.chicago.il.private.stage.clpbrd.com in environment stage in 0.01 seconds
[2011/12/09 17:33:54] <kenperkins> 1 line :P
[2011/12/09 17:35:19] <gwmngilfen> i dont get a lot more tbh, but it was worth looking for errors
[2011/12/09 17:35:37] <kenperkins> well, except that the machine in test that works takes 3+ seconds to compile the catalog
[2011/12/09 17:35:38] <gwmngilfen> passenger logs will probably be in /var/log/apache2/other_vhosts.log btw
[2011/12/09 17:36:51] <gwmngilfen> you're starting to stump me. assuming your puppet code is in a VCS, I'd revert the latest commit until you can work out what broke :)
[2011/12/09 17:37:26] @ skm joined channel #puppet
[2011/12/09 17:41:17] <gwmngilfen> you could also try starting a second master on 8141 on the commandline (puppet master -v -d --trace --masterport 8141) and send your client to that instance (puppet agent -v --masterport 8141) and see if you get anything useful from the master
[2011/12/09 17:43:55] <kenperkins> hm
[2011/12/09 17:43:58] <kenperkins> we may be on to something!
[2011/12/09 17:46:08] @ cmoates joined channel #puppet
[2011/12/09 17:48:56] @ Quit: ghanima: Quit: Leaving.
[2011/12/09 17:49:31] <gwmngilfen> kenperkins: do tell :)
[2011/12/09 17:49:39] <kenperkins> testing 1 sec
[2011/12/09 17:50:47] @ Quit: emsearcy: Quit: emsearcy
[2011/12/09 17:50:47] <kenperkins> well it works for the alternate puppet master
[2011/12/09 17:50:50] <kenperkins> but not the main 1
[2011/12/09 17:50:52] <kenperkins> ... wierd
[2011/12/09 17:51:04] <gwmngilfen> did you change anything in the config?
[2011/12/09 17:52:32] <kenperkins> nope
[2011/12/09 17:52:33] <kenperkins> wierd
[2011/12/09 17:52:35] <kenperkins> restarted apache
[2011/12/09 17:52:37] <kenperkins> works now
[2011/12/09 17:52:40] <kenperkins> wtf
[2011/12/09 17:53:10] <gwmngilfen> any change to the puppet config requires you to restart the master - i should have asked if you'd done that after re-ordering your manifests :)
[2011/12/09 17:53:38] @ Holocaine joined channel #puppet
[2011/12/09 17:54:05] @ swygue joined channel #puppet
[2011/12/09 17:54:36] <gwmngilfen> glad you got it sorted anyway :)
[2011/12/09 17:55:20] @ dbgster joined channel #puppet
[2011/12/09 17:55:29] <kenperkins> I've never done that
[2011/12/09 17:55:35] <kenperkins> or do you mean puppet.conf
[2011/12/09 17:55:57] @ Quit: jimmy1980: Ping timeout: 268 seconds
[2011/12/09 17:56:19] @ jimmy1980 joined channel #puppet
[2011/12/09 17:56:44] @ comptona joined channel #puppet
[2011/12/09 17:57:29] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/09 17:59:34] <gwmngilfen> it *should* reparse puppet.conf. I usually kick it anyway, just in case
[2011/12/09 18:06:10] @ labrown joined channel #puppet
[2011/12/09 18:06:36] @ Quit: mrwacky42: Ping timeout: 240 seconds
[2011/12/09 18:06:45] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/09 18:08:18] @ Quit: dnjaramba: Remote host closed the connection
[2011/12/09 18:08:28] @ dnjaramba joined channel #puppet
[2011/12/09 18:09:07] @ Quit: cwarden: Read error: Operation timed out
[2011/12/09 18:11:20] @ corren joined channel #puppet
[2011/12/09 18:12:53] @ Quit: skm: Ping timeout: 244 seconds
[2011/12/09 18:13:28] @ skm joined channel #puppet
[2011/12/09 18:14:08] @ nitram_macair joined channel #puppet
[2011/12/09 18:14:11] @ st33v joined channel #puppet
[2011/12/09 18:15:41] @ sdog joined channel #puppet
[2011/12/09 18:16:44] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/09 18:17:19] @ kenperkins joined channel #puppet
[2011/12/09 18:17:21] @ Quit: kenperkins: Client Quit
[2011/12/09 18:17:51] @ Quit: sdog: Client Quit
[2011/12/09 18:18:23] @ Quit: elasticdog: Quit: WeeChat 0.3.5
[2011/12/09 18:21:09] @ st33v left channel #puppet ()
[2011/12/09 18:25:44] @ Quit: shanlar: Read error: Connection reset by peer
[2011/12/09 18:25:58] @ shanlar joined channel #puppet
[2011/12/09 18:26:00] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/09 18:26:30] @ neonflux joined channel #puppet
[2011/12/09 18:28:04] @ alanevans joined channel #puppet
[2011/12/09 18:32:31] @ Quit: ianbrandt: Quit: ianbrandt
[2011/12/09 18:34:43] @ KaiserBeto1 left channel #puppet ()
[2011/12/09 18:36:17] @ Quit: Holocaine:
[2011/12/09 18:37:54] @ the_ramink joined channel #puppet
[2011/12/09 18:38:15] @ tmclaugh joined channel #puppet
[2011/12/09 18:38:59] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 18:39:34] @ Quit: tmclaugh: Excess Flood
[2011/12/09 18:39:50] @ tmclaugh joined channel #puppet
[2011/12/09 18:40:37] @ jimmy1980 joined channel #puppet
[2011/12/09 18:40:42] @ VladGh joined channel #puppet
[2011/12/09 18:45:44] @ Quit: dbgster: Quit: dbgster
[2011/12/09 18:50:58] @ Quit: zanefactory: Quit: zanefactory
[2011/12/09 18:52:21] @ newtMcKerr joined channel #puppet
[2011/12/09 18:56:13] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 18:59:47] @ kenperkins joined channel #puppet
[2011/12/09 19:02:57] @ jimmy1980 joined channel #puppet
[2011/12/09 19:03:24] @ Quit: kenperkins: Client Quit
[2011/12/09 19:05:11] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#132) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=132 (by Matthaus Litteken)
[2011/12/09 19:05:12] @ Quit: labrown: Read error: Connection reset by peer
[2011/12/09 19:06:28] <Callek> 2.7.9 ?????
[2011/12/09 19:07:25] <Callek> if thats accurate http://projects.puppetlabs.com/projects/1/wiki/Release_Notes needs updating
[2011/12/09 19:08:24] @ Quit: Hypnoz: Quit: Leaving.
[2011/12/09 19:09:55] * Callek wishes he knew nick<->"real name" here
[2011/12/09 19:12:24] <stahnma> Callek: matthaus is haus
[2011/12/09 19:12:26] <stahnma> :)
[2011/12/09 19:12:32] @ Quit: jpalmer: Remote host closed the connection
[2011/12/09 19:12:35] <Callek> stahnma: thanls
[2011/12/09 19:12:42] @ jpalmer joined channel #puppet
[2011/12/09 19:12:46] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/09 19:13:18] <Callek> haus: is that wiki edit accurate (I -assume- it is) and do we have a git cset/release-notes/etc. to give me/us an idea of whats new in 2.7.9 over 2.7.8?
[2011/12/09 19:13:22] <stahnma> Callek: looks liek 2.7.9 hit today due to a regression in ruby 1.8.5 support
[2011/12/09 19:13:53] @ Quit: jpalmer: Client Quit
[2011/12/09 19:14:01] @ jpalmer joined channel #puppet
[2011/12/09 19:14:01] <stahnma> Callek: I'll find out, I'm out of the office
[2011/12/09 19:14:29] <Callek> stahnma: no rush, I just have too much experience project-managing that I tend to notice/catch missing info when stuff like that happens :-)
[2011/12/09 19:14:58] * Callek doesn't have any production systems actually using puppet _yet_, but I am helping mozilla develop a production system on newer puppet :-)
[2011/12/09 19:15:52] <jforman> i've been trying to figure something out, perhaps i havent found the best practice, but how do i manage puppet.conf with puppet? it seems all the solutions get so far as pushing out a new puppet.conf, but when they go to restart the puppet agent daemon, it cant restart itself (because it's dead). is there a good way to handle this?
[2011/12/09 19:16:21] <jpalmer> what do you mean, because it's dead?
[2011/12/09 19:16:35] <stahnma> hmm, looks like the page has been reverted
[2011/12/09 19:16:37] <stahnma> I'm confused
[2011/12/09 19:17:01] <jforman> jpalmer: if i push out a new puppet.conf and subscribe the puppet daemon to this file, i see "Caught TERM; calling stop" but the daemon never gets restarted
[2011/12/09 19:17:12] <Callek> jforman: /etc/init.d/puppetd restart ?
[2011/12/09 19:17:32] <Callek> puppet |service| resources call stop/start explicitly I think
[2011/12/09 19:17:32] <jpalmer> jforman: hrm. what OS?
[2011/12/09 19:17:39] <jforman> jpalmer: ubuntu 11.10
[2011/12/09 19:17:52] <jforman> Callek: like attach an exec calling that command to the puppet.conf File ?
[2011/12/09 19:17:54] * Callek defers to others then, my experience lies primarily in RHEL
[2011/12/09 19:18:12] <Callek> I -think- ubuntu does services slightly differently
[2011/12/09 19:18:17] <jpalmer> ahh, not familiar with ubuntu, but you may want to look into the 'service' type for the "has" paramatars. hasrestart and such
[2011/12/09 19:18:17] @ jimmy1980 joined channel #puppet
[2011/12/09 19:18:23] <jforman> http://projects.puppetlabs.com/issues/7273 << this mirrors my current situation fairly closely
[2011/12/09 19:19:03] <jforman> jpalmer: i will dig into that
[2011/12/09 19:19:09] <jpalmer> jforman: not sure I can be of much more help than that. I run puppet agent via crontab.
[2011/12/09 19:20:06] @ tmclaugh_ joined channel #puppet
[2011/12/09 19:21:35] @ Quit: neonflux: Quit: Leaving.
[2011/12/09 19:21:55] @ Quit: comptona: Quit: Leaving.
[2011/12/09 19:23:26] @ Quit: motomike: Quit: Leaving.
[2011/12/09 19:24:10] @ Quit: tmclaugh: Ping timeout: 255 seconds
[2011/12/09 19:24:10] @ tmclaugh_ is now known as tmclaugh
[2011/12/09 19:24:28] @ eightyei1ht joined channel #puppet
[2011/12/09 19:25:47] @ Quit: eightyeight: Ping timeout: 252 seconds
[2011/12/09 19:26:29] <jforman> jpalmer: you were right, hasrestart => true seems to have done the trick
[2011/12/09 19:26:38] <jforman> thanks!
[2011/12/09 19:27:35] <jpalmer> jforman: nice. good to know that works on ubuntu.
[2011/12/09 19:28:39] @ labrown joined channel #puppet
[2011/12/09 19:37:27] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/09 19:40:07] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/09 19:50:50] @ Quit: bmahe: Quit: Leaving
[2011/12/09 19:51:08] @ Quit: alanevans: Ping timeout: 240 seconds
[2011/12/09 19:51:41] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/09 19:52:25] @ dissipate_ joined channel #puppet
[2011/12/09 19:52:42] @ Quit: jeremy: Read error: Connection reset by peer
[2011/12/09 19:52:49] @ Quit: jroid_: Read error: Connection reset by peer
[2011/12/09 19:52:57] @ jeremy joined channel #puppet
[2011/12/09 19:52:57] @ Quit: jeremy: Changing host
[2011/12/09 19:52:57] @ jeremy joined channel #puppet
[2011/12/09 19:53:24] @ jroid joined channel #puppet
[2011/12/09 19:53:37] @ nevyn joined channel #puppet
[2011/12/09 19:53:53] @ jsurfer joined channel #puppet
[2011/12/09 19:53:57] @ Quit: nated: Read error: Connection reset by peer
[2011/12/09 19:54:01] @ nated joined channel #puppet
[2011/12/09 19:54:09] @ Quit: rcrowley: Read error: Connection reset by peer
[2011/12/09 19:54:40] @ rcrowley joined channel #puppet
[2011/12/09 19:56:15] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2011/12/09 19:57:10] @ Quit: realist: Quit: leaving
[2011/12/09 19:58:34] @ skm joined channel #puppet
[2011/12/09 20:00:17] @ Quit: dissipate_: Read error: No route to host
[2011/12/09 20:02:02] @ dissipate joined channel #puppet
[2011/12/09 20:02:03] @ Quit: dissipate: Changing host
[2011/12/09 20:02:03] @ dissipate joined channel #puppet
[2011/12/09 20:02:34] @ kenperkins joined channel #puppet
[2011/12/09 20:03:06] @ Quit: fliplap: Remote host closed the connection
[2011/12/09 20:04:41] @ alanevans joined channel #puppet
[2011/12/09 20:04:45] @ Quit: wilmoore: Remote host closed the connection
[2011/12/09 20:05:57] @ maxmartin joined channel #puppet
[2011/12/09 20:13:54] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/09 20:20:02] @ jimmy1980 joined channel #puppet
[2011/12/09 20:24:55] @ Quit: jimmy1980: Ping timeout: 255 seconds
[2011/12/09 20:30:24] @ Mode +o haus by ChanServ
[2011/12/09 20:30:36] @ Holocaine joined channel #puppet
[2011/12/09 20:31:08] @ jimmy1980 joined channel #puppet
[2011/12/09 20:31:32] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#133) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=133 (by Matthaus Litteken)
[2011/12/09 20:32:51] @ haus set topic "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Important Security Announcement: http://bit.ly/AltNames | Puppet 2.7.9 and 2.6.12 available at downloads.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | November Newsletter http://bit.ly/nl11-11"
[2011/12/09 20:34:59] <Callek> haus: Readme needs updating too
[2011/12/09 20:35:06] * Callek pointed that out before you joined again
[2011/12/09 20:36:29] @ Spads_ joined channel #puppet
[2011/12/09 20:38:36] @ KaiserBeto1 joined channel #puppet
[2011/12/09 20:40:03] @ Quit: Spads: Ping timeout: 252 seconds
[2011/12/09 20:43:07] @ Quit: dissipate: Ping timeout: 240 seconds
[2011/12/09 20:45:18] @ Quit: danblack: Ping timeout: 244 seconds
[2011/12/09 20:49:56] <haus> Callek: yup, i'm working on the release notes now
[2011/12/09 20:50:09] <Callek> great :-)
[2011/12/09 20:50:27] <haus> but yes, 2.7.9 is a bug fix from the regression in #11306 for ruby 1.8.5
[2011/12/09 20:50:27] <gepetto> haus: #11306 is http://projects.puppetlabs.com/issues/show/11306 "Puppet - Bug #11306: puppet 2.7.8-1 bug under ruby 1.8.5/centos 5.7. It has a status of Merged - Pending Release and is assigned to Nick Lewis"
[2011/12/09 20:51:20] @ littleidea joined channel #puppet
[2011/12/09 20:52:25] @ Quit: jsurfer: Quit: jsurfer
[2011/12/09 20:52:33] @ Quit: eryc: Excess Flood
[2011/12/09 20:52:37] @ eryc joined channel #puppet
[2011/12/09 20:52:41] * Callek wonders if there is an easier way to get to https://github.com/puppetlabs/puppet/commit/234afdf based on the comment in the puppetlabs bug than having to load github directly
[2011/12/09 20:54:03] <gepetto> ::redmine:: Wiki edit: Release_Notes (#154) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=154 (by Matthaus Litteken)
[2011/12/09 20:56:01] @ Quit: labrown: Quit: Leaving
[2011/12/09 21:00:21] <gepetto> ::redmine:: Wiki edit: Release_Notes (#155) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=155 (by Matthaus Litteken)
[2011/12/09 21:00:21] <gepetto> ::redmine:: Wiki edit: Release_Notes (#156) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=156 (by Matthaus Litteken)
[2011/12/09 21:05:20] @ Quit: Ahlee: Ping timeout: 252 seconds
[2011/12/09 21:06:45] @ cwarden joined channel #puppet
[2011/12/09 21:07:13] @ Ahlee joined channel #puppet
[2011/12/09 21:08:20] @ Quit: littleidea: Quit: littleidea
[2011/12/09 21:09:19] @ Quit: sitaktif: Read error: Operation timed out
[2011/12/09 21:09:23] @ Quit: tessier_: Write error: Broken pipe
[2011/12/09 21:09:29] @ tessier joined channel #puppet
[2011/12/09 21:09:47] @ sitaktif joined channel #puppet
[2011/12/09 21:12:08] @ ken joined channel #puppet
[2011/12/09 21:14:21] @ Quit: corren: Ping timeout: 244 seconds
[2011/12/09 21:18:01] @ Quit: swygue: Ping timeout: 255 seconds
[2011/12/09 21:23:54] @ media-948 joined channel #puppet
[2011/12/09 21:25:14] @ Quit: media-948: Read error: Connection reset by peer
[2011/12/09 21:26:58] @ jsurfer joined channel #puppet
[2011/12/09 21:27:29] @ media-584 joined channel #puppet
[2011/12/09 21:31:33] @ Quit: sumsuch: Quit: sumsuch
[2011/12/09 21:34:11] @ Quit: msaum: Quit: Leaving.
[2011/12/09 21:35:07] @ Quit: jimmy1980: Ping timeout: 255 seconds
[2011/12/09 21:36:26] @ jimmy1980 joined channel #puppet
[2011/12/09 21:36:53] @ Quit: media-584: Remote host closed the connection
[2011/12/09 21:37:17] @ wmoxam joined channel #puppet
[2011/12/09 21:42:19] @ Quit: Xeross: Ping timeout: 252 seconds
[2011/12/09 21:42:23] @ Quit: Holocaine:
[2011/12/09 21:43:04] @ jroid_ joined channel #puppet
[2011/12/09 21:46:59] @ media-498 joined channel #puppet
[2011/12/09 21:49:02] @ Quit: ken: Ping timeout: 244 seconds
[2011/12/09 21:52:34] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/09 21:56:46] @ neonflux joined channel #puppet
[2011/12/09 21:58:34] @ jabir joined channel #puppet
[2011/12/09 22:01:49] @ Xeross joined channel #puppet
[2011/12/09 22:09:51] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/09 22:14:29] @ nitram_macair_ joined channel #puppet
[2011/12/09 22:15:20] @ bmahe joined channel #puppet
[2011/12/09 22:17:10] @ Quit: KaiserBeto1: Quit: Leaving.
[2011/12/09 22:20:00] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/09 22:21:08] @ nitram_macair_ joined channel #puppet
[2011/12/09 22:21:23] @ Quit: gniks: Quit: Leaving.
[2011/12/09 22:21:40] @ Quit: media-498: Read error: Connection reset by peer
[2011/12/09 22:24:21] @ Quit: astrostl:
[2011/12/09 22:27:41] @ freezey joined channel #puppet
[2011/12/09 22:27:58] <freezey> so i just installed mcollective on ubuntu.. is "mco" supposed to come with it?
[2011/12/09 22:30:31] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/09 22:32:13] @ Quit: freezey: Client Quit
[2011/12/09 22:33:52] @ nitram_macair_ joined channel #puppet
[2011/12/09 22:36:20] @ lithium] joined channel #puppet
[2011/12/09 22:39:16] @ Quit: szaydel: Quit: Leaving Chat
[2011/12/09 22:40:38] @ Quit: jroid_: Ping timeout: 240 seconds
[2011/12/09 22:40:44] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/12/09 22:44:52] @ Quit: cwarden: Ping timeout: 252 seconds
[2011/12/09 22:49:50] @ Quit: metcalfc: Ping timeout: 252 seconds
[2011/12/09 22:52:26] @ nitram_macair_ joined channel #puppet
[2011/12/09 23:05:54] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/09 23:06:39] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/09 23:12:24] @ nevyn joined channel #puppet
[2011/12/09 23:17:58] @ Quit: jloope: Remote host closed the connection
[2011/12/09 23:19:21] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/09 23:22:30] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/09 23:23:28] @ ken joined channel #puppet
[2011/12/09 23:24:04] @ nevyn joined channel #puppet
[2011/12/09 23:28:21] @ sumsuch joined channel #puppet
[2011/12/09 23:30:02] @ Spads joined channel #puppet
[2011/12/09 23:30:20] @ jroid_ joined channel #puppet
[2011/12/09 23:32:03] @ DJClean joined channel #puppet
[2011/12/09 23:32:36] @ Quit: kubicek: Excess Flood
[2011/12/09 23:32:40] @ kubicek joined channel #puppet
[2011/12/09 23:32:41] @ Quit: kubicek: Excess Flood
[2011/12/09 23:33:16] @ Quit: Spads_: Ping timeout: 268 seconds
[2011/12/09 23:33:21] @ kubicek joined channel #puppet
[2011/12/09 23:50:12] @ JayTaph joined channel #puppet
[2011/12/09 23:57:08] <Callek> ...anyone know if its possible to execute a command on the _master_ (with puppet syntax) and use it as the content of a file transmitted to arbitrary nodes?
[2011/12/09 23:57:16] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/09 23:57:25] <Callek> (my use case, is hg revision cset id)
[2011/12/09 23:57:33] <Callek> (of the puppet manifests themselves)
[2011/12/09 23:57:56] @ Quit: ken: Ping timeout: 268 seconds

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