Tuesday, 2010-06-22

[2010/06/22 00:01:59] @ Log started by gepetto
[2010/06/22 00:01:59] @ Quit: OpenMedia: Quit: Leaving.
[2010/06/22 00:12:08] @ Quit: siezer: Ping timeout: 260 seconds
[2010/06/22 00:13:02] @ Quit: MattyM: Remote host closed the connection
[2010/06/22 00:20:34] @ Quit: giskard: Remote host closed the connection
[2010/06/22 00:24:26] @ Quit: sking: Quit: Leaving.
[2010/06/22 00:28:01] @ Ramonster joined channel #puppet
[2010/06/22 00:31:08] @ lohapuk joined channel #puppet
[2010/06/22 00:31:35] @ Quit: robinbowes: Quit: Leaving
[2010/06/22 00:31:55] @ TREllis joined channel #puppet
[2010/06/22 00:31:55] @ verwilst joined channel #puppet
[2010/06/22 00:32:06] @ themroc_pala is now known as themroc
[2010/06/22 00:34:16] @ Quit: TREllis: Read error: Operation timed out
[2010/06/22 00:36:42] @ bronto joined channel #puppet
[2010/06/22 00:37:22] @ nexx joined channel #puppet
[2010/06/22 00:37:31] @ Quit: jmeeuwen: Ping timeout: 240 seconds
[2010/06/22 00:41:21] @ jmeeuwen joined channel #puppet
[2010/06/22 00:43:09] @ Quit: poison: Remote host closed the connection
[2010/06/22 00:44:24] @ TREllis joined channel #puppet
[2010/06/22 00:46:28] @ Quit: jmeeuwen: Ping timeout: 258 seconds
[2010/06/22 00:47:58] <nico> raahhh
[2010/06/22 00:48:09] <nico> can't find out anything in these new docs
[2010/06/22 00:48:52] @ jmeeuwen joined channel #puppet
[2010/06/22 00:50:29] @ macfly joined channel #puppet
[2010/06/22 00:50:39] <Volcane> yeah between the bad FF renderings and the split over many pages, i tend to just use the ones i generated msyelf :(
[2010/06/22 00:52:10] <kuh> bitfield: It looks like puppetd is not closing ldap connections properly
[2010/06/22 00:52:21] @ giskard joined channel #puppet
[2010/06/22 00:53:05] <kuh> puppetd 31727 root 7u IPv4 161164791 TCP x.x.x.x:35322->y.y.y.y:ldap (CLOSE_WAIT)
[2010/06/22 00:53:12] <kuh> and after some time...
[2010/06/22 00:53:23] <kuh> puppetd 31727 root 7u sock 0,5 161164791 can't identify protocol
[2010/06/22 00:54:12] <kuh> so each run the number of open files will increment
[2010/06/22 00:56:43] @ Quit: shug: Quit: Leaving
[2010/06/22 00:57:01] @ Quit: TREllis: Ping timeout: 264 seconds
[2010/06/22 00:58:34] @ shug joined channel #puppet
[2010/06/22 00:58:37] @ TREllis joined channel #puppet
[2010/06/22 00:59:05] @ Quit: freshtonic: Quit: freshtonic
[2010/06/22 01:03:20] @ Quit: TREllis: Ping timeout: 258 seconds
[2010/06/22 01:06:36] @ Quit: LinuxCode: Quit: Connection Closed
[2010/06/22 01:06:46] @ Quit: shug: Quit: This computer has gone to sleep
[2010/06/22 01:11:49] @ sarts_work joined channel #puppet
[2010/06/22 01:11:53] <sarts_work> hi
[2010/06/22 01:13:00] @ poison joined channel #puppet
[2010/06/22 01:14:35] @ ckauhaus joined channel #puppet
[2010/06/22 01:15:40] @ spawnyd joined channel #puppet
[2010/06/22 01:20:10] @ TREllis joined channel #puppet
[2010/06/22 01:21:10] <sarts_work> I am trying to define a type for a module I am writing. To be precise: a 'proxy
[2010/06/22 01:21:19] <sarts_work> type for an apache module.
[2010/06/22 01:21:40] <sarts_work> I must say... it is a challenge ;-)
[2010/06/22 01:22:19] @ manuell joined channel #puppet
[2010/06/22 01:23:24] @ alban2 joined channel #puppet
[2010/06/22 01:28:33] @ Quit: TREllis: Ping timeout: 245 seconds
[2010/06/22 01:28:42] @ Quit: bronto: Quit: Leaving.
[2010/06/22 01:30:27] <sarts_work> Do I need a provider to use the type?
[2010/06/22 01:31:06] <kuh> bitfield: sorry, not each run. Only on runs puppet cannot talk to ldap, spitting this: "nss_ldap: could not get LDAP result - Can't contact LDAP server"
[2010/06/22 01:31:14] <sarts_work> I want to simply use the type as a complex data-store. But ofcourse I could use a declaration in combination with a template too.
[2010/06/22 01:34:55] <blkperl> sarts_work: yes you need to write a provider :)
[2010/06/22 01:35:21] <sarts_work> blkperl, ok :)
[2010/06/22 01:35:40] <blkperl> sarts_work: http://docs.puppetlabs.com/guides/custom_types.html
[2010/06/22 01:36:45] <sarts_work> yeah, found that.
[2010/06/22 01:37:07] <Volcane> sarts_work: will a define not work for you?
[2010/06/22 01:38:41] <sarts_work> Volcane: I have a define which fills a template for the vhost configuration. However, the proxy-settings are quite complex. (with different proxy-directives for different destinations)
[2010/06/22 01:39:05] <Volcane> ah
[2010/06/22 01:39:53] <sarts_work> ProxyPass /errors !
[2010/06/22 01:40:02] <sarts_work> ProxyPass / ajp://localhost:8009
[2010/06/22 01:40:13] <sarts_work> ProxyPassReverse / ajp://localhost:8009/
[2010/06/22 01:40:22] <sarts_work> And ofcourse the cookiedomains...
[2010/06/22 01:40:47] <sarts_work> I want to make it possible to add any number of proxypass directives inside the vhost config ;-)
[2010/06/22 01:41:03] @ TREllis joined channel #puppet
[2010/06/22 01:41:21] <sarts_work> but it comes with protocol, host, port and path parameters for both source and destination.
[2010/06/22 01:42:09] * Volcane 'd just build the vhost files up with snippets, but thats the lazy way i guess
[2010/06/22 01:42:24] <sarts_work> which led me to the idea I need a custom 'proxy' type for that.
[2010/06/22 01:42:28] <Kiloman> sarts_work: if you wanted to take the easy way out, you could use a template and some combination of arrays, splitting, and iteration
[2010/06/22 01:43:36] <Kiloman> ERB is quite flexible and you could pass the template an array of ProxyPass directives with some sort of delimiter
[2010/06/22 01:43:54] <Kiloman> but like I said, not as cool as a custom type
[2010/06/22 01:44:10] @ Quit: TREllis: Read error: Operation timed out
[2010/06/22 01:49:46] @ sking joined channel #puppet
[2010/06/22 01:50:21] @ bronto joined channel #puppet
[2010/06/22 01:51:01] @ Quit: sking: Client Quit
[2010/06/22 01:54:42] @ alcy joined channel #puppet
[2010/06/22 01:56:33] <alcy> Folks, is there a way to *not* automate package installation through puppet ? basically, how to get more flexibility while installing packages ? --custom paramaters to apt-get etc.
[2010/06/22 01:56:53] <alcy> ...in other words, interactive installation through debconf
[2010/06/22 01:57:30] @ Djelibeybi joined channel #puppet
[2010/06/22 01:57:35] <ptman> alcy, you probably want to preseed debconf answers and let if pick the values from there
[2010/06/22 01:57:50] <ptman> look for recipes related to debconf and debconf automation in debian documentation
[2010/06/22 01:58:18] @ Quit: \ask: Remote host closed the connection
[2010/06/22 01:58:59] @ poison_ joined channel #puppet
[2010/06/22 01:59:23] @ Quit: poison: Read error: Connection reset by peer
[2010/06/22 01:59:45] @ Quit: herdingcat: Quit: Leaving
[2010/06/22 02:00:38] <alcy> ptman: I am not sure if this is what you are suggesting, but I have configured debconf for the least amount of automation, but I am not sure what needs to be done so that puppet can use it in a similar way ?
[2010/06/22 02:02:05] <Volcane> how would it work? would you expect it to prompt you for answers mid puppet run?
[2010/06/22 02:02:55] <alcy> Volcane: that's what I as thinking but seems you disapprove of the idea ?
[2010/06/22 02:03:29] <Volcane> puppet generally runs in the background every 30 minutes and just does what you want
[2010/06/22 02:03:30] <ptman> alcy, http://projects.puppetlabs.com/projects/puppet/wiki/Debian_Preseed_Patterns
[2010/06/22 02:03:37] <Volcane> preseeding is def the way to go
[2010/06/22 02:03:52] @ fluxdude joined channel #puppet
[2010/06/22 02:04:02] <Volcane> alcy: less interactivity and more guaranteed same outcome between runs is what puppet is for
[2010/06/22 02:04:30] <alcy> Volcane: blame it on my unawareness of preseed utility in Debian !
[2010/06/22 02:04:39] <Volcane> :)
[2010/06/22 02:04:46] <alcy> ptman: thanks a lot for the link.
[2010/06/22 02:04:52] <ptman> np
[2010/06/22 02:04:55] <fluxdude> when putting new rpms and trying to upgrade software right now using puppet, I build new rpms, put then in our repo, update the repo metadata
[2010/06/22 02:05:07] <fluxdude> but then I also have to update the client's yum caches by hand as well
[2010/06/22 02:05:16] <fluxdude> how do you deal with this?
[2010/06/22 02:05:27] <fluxdude> do you have puppet run a yum makecache before every run or something?
[2010/06/22 02:05:38] <Djelibeybi> fluxdude: I have my Package{} types require a Exec{"yum makecache":}
[2010/06/22 02:05:40] <fluxdude> otherwise it cannot find the package version that the manifest has incremented to
[2010/06/22 02:05:53] <Djelibeybi> Though, most times my cache would already have expired.
[2010/06/22 02:06:02] <Djelibeybi> You could set yum.conf to have an immediate cache expiry too
[2010/06/22 02:06:26] <fluxdude> Djelibeybi: doesn't yum makecache take long enough that the Exec times out?
[2010/06/22 02:06:38] <fluxdude> I had this problem yesterday when getting puppet to do an svn co
[2010/06/22 02:06:39] <Djelibeybi> fluxdude: you can tell exec to extend the timeout
[2010/06/22 02:06:41] @ ssm joined channel #puppet
[2010/06/22 02:06:49] <Volcane> and not use remote repositories
[2010/06/22 02:06:52] <Djelibeybi> there is a parameter for that, but I can't remember what it is offhand.
[2010/06/22 02:07:01] <Djelibeybi> Yeah, all our repos are local
[2010/06/22 02:07:09] @ alcy left channel #puppet ()
[2010/06/22 02:09:04] <fluxdude> ah, thanks, I knew there was a timeout, didn't know it could be set on an exec by exec basis
[2010/06/22 02:09:21] <fluxdude> Volcane: all my repos are internal
[2010/06/22 02:09:27] <fluxdude> mirrors or custom repos
[2010/06/22 02:09:44] * Volcane just have a quick mcollective task to clear caches only when updating repos
[2010/06/22 02:09:54] <Volcane> much less stress all round, yum make cache takes a lot of cpu too
[2010/06/22 02:10:10] <fluxdude> Volcane: yes I think it's a bit heavy handed to have it all the time
[2010/06/22 02:10:25] <fluxdude> so you think expiring the cache quickly is the way to go?
[2010/06/22 02:10:36] @ Quit: snikkers: Quit: Lost terminal
[2010/06/22 02:10:40] <Volcane> same result as running it all the time doesnt it?
[2010/06/22 02:10:49] <fluxdude> that's what I thought
[2010/06/22 02:10:53] <fluxdude> so what do you do then?
[2010/06/22 02:11:08] <Volcane> when i update my repo
[2010/06/22 02:11:11] <Volcane> i do: mc-rpc --no-results package yum_clean
[2010/06/22 02:11:17] <Volcane> that cleans all my caches
[2010/06/22 02:11:19] <fluxdude> I mean, I could try to make the cache 2 minutes or something, but I may as well just require a makecache at the start in case a puppet run takes more than 2 mins
[2010/06/22 02:11:20] <Volcane> only when i update the repo
[2010/06/22 02:11:42] <fluxdude> I ssh for loop yum makecache in parallel, so similar thing
[2010/06/22 02:11:56] <fluxdude> is there really no better way?
[2010/06/22 02:12:02] <fluxdude> I can't think of one, which is why I ask...
[2010/06/22 02:12:26] <Volcane> mc-rpc --no-results package yum_clean 0.12s user 0.00s system 14% cpu 0.831 total
[2010/06/22 02:12:38] <Volcane> takes less than 1 second to do for all my servers
[2010/06/22 02:12:40] <Volcane> works awesomely
[2010/06/22 02:13:10] <fluxdude> Djelibeybi: so you have an Exec "yum makecache" on every single run, not using any refreshonly or something?
[2010/06/22 02:13:36] <Djelibeybi> fluxdude: it only happens during our bootstrap environment. Production mode doesn't install any RPMs
[2010/06/22 02:13:48] <fluxdude> Djelibeybi: really????!!!!!!
[2010/06/22 02:13:53] <fluxdude> Djelibeybi: how does that work?
[2010/06/22 02:14:06] <fluxdude> do you deploy software with puppet, do you do software updates etc?
[2010/06/22 02:14:11] <Djelibeybi> fluxdude: all our nodes start up in environment=bootstrap which does all the initial hardening/provisionin.
[2010/06/22 02:14:25] <fluxdude> I have to do releases for our public webapps so I tend to package them in to rpms
[2010/06/22 02:14:28] <Djelibeybi> fluxdude: last step is a switch of puppet.conf to environment=production, which just ensures all security settings remain set
[2010/06/22 02:14:41] <Djelibeybi> fluxdude: I work at a bank. No changes to software at all in production.
[2010/06/22 02:14:42] <fluxdude> Djelibeybi: but what about updates, do you do them by hand?
[2010/06/22 02:14:54] <Djelibeybi> If we need to upgrade, we rebuild all the machines. :)
[2010/06/22 02:14:55] <fluxdude> Djelibeybi: I want to work where you work then! ;-)
[2010/06/22 02:14:58] <Djelibeybi> Which means a change to bootstrap, not production
[2010/06/22 02:15:17] <Djelibeybi> No, you don't.
[2010/06/22 02:15:17] <Djelibeybi> Updates take months
[2010/06/22 02:15:17] <fluxdude> Djelibeybi: well that certainly simplifies things then!
[2010/06/22 02:15:29] <Djelibeybi> Every change has to go through dev/test/uat/sit/pre-prod
[2010/06/22 02:15:38] <fluxdude> Djelibeybi: yeah but it's safe and you're not doing releases all the time...
[2010/06/22 02:15:40] <Djelibeybi> As well as NFI testing and integration testing
[2010/06/22 02:15:44] <Djelibeybi> Yup
[2010/06/22 02:15:52] <fluxdude> unlike the agile environment where every other day I get requests to upgrade stuff
[2010/06/22 02:16:13] <fluxdude> Djelibeybi: NFI? No F*ing Idea?
[2010/06/22 02:16:15] <Djelibeybi> We don't change production at all. We just rebuild it alongside. Benefit of having everything run as a VM and all servers are quadruplicated
[2010/06/22 02:16:27] <Djelibeybi> Non-functional Integration
[2010/06/22 02:16:40] <Djelibeybi> i.e. testing with fleshpackets
[2010/06/22 02:16:53] <fluxdude> what happens if there is a security hole in something?
[2010/06/22 02:17:01] <fluxdude> you build a new vm and replace the old one?
[2010/06/22 02:17:27] <Djelibeybi> Yup
[2010/06/22 02:17:32] <Djelibeybi> Online and live.
[2010/06/22 02:17:38] <Djelibeybi> We just switch the hardware load-balancers
[2010/06/22 02:17:48] <Djelibeybi> In fact, most often we have old/new nodes running at the same time
[2010/06/22 02:17:57] <Djelibeybi> So we switch everything across seamlessly
[2010/06/22 02:20:50] @ pjsz_ joined channel #puppet
[2010/06/22 02:25:30] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/22 02:33:07] @ Djelibeybi joined channel #puppet
[2010/06/22 02:34:06] <fluxdude> Djelibeybi: that is a good idea
[2010/06/22 02:34:12] <fluxdude> I guess the bank can afford it
[2010/06/22 02:34:27] <fluxdude> what load balancers do you use out of curiosity?
[2010/06/22 02:34:33] <Djelibeybi> fluxdude: yeah, it's a requirement for our uptime.
[2010/06/22 02:34:43] <Djelibeybi> fluxdude: we have a bunch. Juniper and Cisco mainly
[2010/06/22 02:35:39] <Djelibeybi> Actually, we also have a bunch of F5s
[2010/06/22 02:39:19] <barn> Djelibeybi: you live!
[2010/06/22 02:39:30] <Djelibeybi> barn: I do!
[2010/06/22 02:39:50] <barn> hurrah! hope you're mending quickly
[2010/06/22 02:40:32] <Djelibeybi> Getting there slowly. I can now walk with a bit of assistance and I can stand up by myself
[2010/06/22 02:41:52] <Berge> Djelibeybi: If you don't mind me asking; how did you get immobilized?
[2010/06/22 02:41:55] * canllaith applauds
[2010/06/22 02:42:10] <Djelibeybi> Berge: I managed to get Guillain-Barre Syndrome.
[2010/06/22 02:42:11] <Berge> Djelibeybi: And lots of cheers and wishes for quick healing (-:
[2010/06/22 02:42:23] <Djelibeybi> Thanks!
[2010/06/22 02:42:53] <Berge> Oh, inflammatory stuff attacking the nervous system?
[2010/06/22 02:43:02] <Berge> Can't be too good.
[2010/06/22 02:43:22] <Djelibeybi> Yeah, somethine like that. It's a demyelinating disorder, so it removes the tissue around the nerves
[2010/06/22 02:43:30] <Djelibeybi> It's an auto-immune response gone madde
[2010/06/22 02:44:41] <Berge> Right. Well, it links you to Franklin D. Roosevelt, at least! (-:
[2010/06/22 02:44:45] <Berge> (I had to look it up.)
[2010/06/22 02:44:52] <Berge> Will you make a full recovery?
[2010/06/22 02:45:02] <Djelibeybi> Yeah, a bunch of fun people have had it.
[2010/06/22 02:45:27] <Djelibeybi> Looks like it, but no guarantees. It looks like I may have lost a bit of facial control on my right-hand side
[2010/06/22 02:45:39] <Djelibeybi> That hasn't come back completely yet. May only come back after a few months
[2010/06/22 02:46:25] @ sdog left channel #puppet ()
[2010/06/22 02:47:39] <Berge> Djelibeybi: Mm. Well, I'm sure you'll be up and running as fast as possible! (-:
[2010/06/22 02:48:09] <Djelibeybi> The abundance of Apple products in my vicinity certainly helps. :)
[2010/06/22 02:49:05] <Berge> \o/
[2010/06/22 02:49:34] <Berge> Or, I'd rather say /o\, really.
[2010/06/22 02:49:58] <Berge> Apple products are not my cup of tea, but whatever it takes to get you healthy, I guess (-:
[2010/06/22 02:50:25] <Djelibeybi> I'm a self-confessed major fanboi. I have an MBP, iPad and iPhone all with me.
[2010/06/22 02:51:13] @ itguru joined channel #puppet
[2010/06/22 02:51:13] <Volcane> Djelibeybi: updated to 4 yet?
[2010/06/22 02:51:39] <Djelibeybi> Volcane: sadly, no. My iPhone syncs with my Mac at home, so I have to wait until the weekend to upgrade
[2010/06/22 02:51:45] <Volcane> hehe
[2010/06/22 02:51:53] <Volcane> you'll hate your ipad when you do
[2010/06/22 02:52:00] <Berge> iOS, now still without multitasking? (-:
[2010/06/22 02:52:13] <Volcane> Berge: TSR!
[2010/06/22 02:52:16] <Berge> (Nor ability to change background image.)
[2010/06/22 02:52:23] <Berge> TSR?
[2010/06/22 02:52:39] <Volcane> Berge: terminate and stay resident - old DOS style multi tasking
[2010/06/22 02:52:47] <Volcane> Berge: it can also change background images just fine
[2010/06/22 02:53:10] <Berge> Non-jail-braked?
[2010/06/22 02:53:13] <Berge> brake!Hah.
[2010/06/22 02:53:14] <Berge> Break.
[2010/06/22 02:53:40] <Volcane> yes, basically in os 4 they let you keep threads doing certain tasks running
[2010/06/22 02:53:47] <Volcane> say playing a music stream off spotify
[2010/06/22 02:53:56] <Volcane> but its very much like TSRs only certain types of threads etc
[2010/06/22 02:54:02] <Volcane> and they wake you up based on events
[2010/06/22 02:54:10] <Djelibeybi> Berge: yup
[2010/06/22 02:54:19] <Volcane> for fast app switching they state snapshot the app and restore it quickly so you go right back to where you were basically
[2010/06/22 02:54:21] <Djelibeybi> Volcane: I suspect iOS4 will come out for the iPad fairly soon
[2010/06/22 02:54:28] <Volcane> Djelibeybi: fall :(
[2010/06/22 02:54:51] <Djelibeybi> Volcane: what is the ETA for iOS4 for iPad then?
[2010/06/22 02:55:14] <proton> non existent
[2010/06/22 02:55:17] <proton> apple hasn't given one
[2010/06/22 02:55:21] <Volcane> Djelibeybi: fall, like end of season
[2010/06/22 02:56:18] <Volcane> autumn
[2010/06/22 02:56:18] <Djelibeybi> Volcane: that's only a couple of months, yes?
[2010/06/22 02:56:19] <sarts_work> damn...
[2010/06/22 02:56:26] <Volcane> Djelibeybi: nods
[2010/06/22 02:56:45] @ Quit: jhelwig: Ping timeout: 240 seconds
[2010/06/22 02:56:46] <Djelibeybi> Yeah, that's what I figured. Autumn in the northern hemisphere is spring down here
[2010/06/22 02:56:54] <Djelibeybi> So, not that long, all things considered.
[2010/06/22 02:56:59] <Volcane> yup
[2010/06/22 02:57:01] @ Quit: benoit_: Ping timeout: 264 seconds
[2010/06/22 02:57:07] <sarts_work> location, proxypass, rewriterules, cacheroot... some things are a pain to set up...
[2010/06/22 02:57:22] <Volcane> its a nice upgrade, esp mail
[2010/06/22 02:57:28] <Volcane> i ondt care much for the multi tasking
[2010/06/22 02:57:40] <Djelibeybi> I think the A4 processor in the iPad is fast enough. The fast app switching in iOS4 will make the 3GS "seem" faster
[2010/06/22 02:57:47] @ Quit: m1nish: Quit: Leaving
[2010/06/22 02:57:51] <Djelibeybi> Though, the iPhone 4 with the A4 processor looks very nice too
[2010/06/22 02:58:31] <Volcane> yeah hoping the launch here isnt a complete screwup, no doubt it will be
[2010/06/22 02:58:35] <Volcane> its managed by the mobile carriers
[2010/06/22 02:59:39] <Djelibeybi> Yeah, I'm not rushing to upgrade at all
[2010/06/22 02:59:58] <Djelibeybi> I want to change carriers anyway, so I need to wait for my contract to expire
[2010/06/22 03:00:10] <Volcane> my contract becomes eligable for an upgrade exactly on the launch day
[2010/06/22 03:02:37] @ benoit_ joined channel #puppet
[2010/06/22 03:07:01] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/22 03:08:10] @ Quit: benoit_: Ping timeout: 264 seconds
[2010/06/22 03:09:13] @ Quit: Djelibeybi: Ping timeout: 252 seconds
[2010/06/22 03:09:49] <Berge> http://theoatmeal.com/comics/apple d-:
[2010/06/22 03:11:02] @ benoit_ joined channel #puppet
[2010/06/22 03:11:17] <barn> you bought the Bates 4000?
[2010/06/22 03:12:19] @ chadh is now known as chadh|away
[2010/06/22 03:13:36] @ fruitcake joined channel #puppet
[2010/06/22 03:14:54] <fruitcake> warning: The 'modules' module can not have a path. Ignoring attempt to set it <--- puppetmasterd output, I've removed any inkling of a path anywhere.. any clues?
[2010/06/22 03:15:12] <Volcane> Berge: heh yeah that roqs, my mom will get my old iphone i gues
[2010/06/22 03:15:32] <Volcane> fruitcake: fileserver.conf
[2010/06/22 03:15:36] <fruitcake> really?
[2010/06/22 03:15:39] <fruitcake> I looked there..
[2010/06/22 03:16:00] <fruitcake> path is in there..
[2010/06/22 03:16:14] @ happymcp` joined channel #puppet
[2010/06/22 03:16:35] <fruitcake> hmmm..
[2010/06/22 03:16:49] @ Quit: pmorillo: Ping timeout: 264 seconds
[2010/06/22 03:17:29] <Volcane> it shouldnt have a path
[2010/06/22 03:18:53] <fruitcake> wow.. that was a stupid mistake. I typed modules instead of module
[2010/06/22 03:18:59] <fruitcake> spent like an hour looking for that..
[2010/06/22 03:19:03] <fruitcake> :/
[2010/06/22 03:19:09] <fruitcake> thanks Volcane
[2010/06/22 03:21:01] @ alcy joined channel #puppet
[2010/06/22 03:22:10] <alcy> folks, is there a way to provide to universal access to a definition ? this is regarding my earlier quer regarding preseeding.
[2010/06/22 03:22:53] @ pmorillo joined channel #puppet
[2010/06/22 03:23:29] <alcy> I am using a definition from the wiki named preseed_package, to take care of package management on debian systems. How can I make it available to all classes ?
[2010/06/22 03:23:54] <Volcane> a define is available everywhere
[2010/06/22 03:25:11] <alcy> Volcane: what i did was to describe the define inside the init.pp of a class named preseed, and other classes simply include preseed. then using preseed:preseed_package, I should able to sue the define right ?
[2010/06/22 03:25:30] <Volcane> yup, with 2 :s
[2010/06/22 03:25:30] <alcy> I meant preseed::preseed_package
[2010/06/22 03:25:33] <Volcane> yeah
[2010/06/22 03:25:48] <alcy> well, that gives an error of resource type not found
[2010/06/22 03:25:57] <Volcane> you did: define preseed::preseed_package (....) { }
[2010/06/22 03:25:57] <alcy> when I run it on the client
[2010/06/22 03:25:58] <Volcane> right?
[2010/06/22 03:26:11] <alcy> oh.
[2010/06/22 03:26:13] <Volcane> or
[2010/06/22 03:26:13] <alcy> no.
[2010/06/22 03:26:25] <Volcane> class preseed { define preseed_package() { } }
[2010/06/22 03:27:02] <alcy> yup that's what I did class preseed { define preseed_package() {} }
[2010/06/22 03:28:00] <Volcane> that syntax works
[2010/06/22 03:29:18] <alcy> hmmm, wonder what could be the problem, I will try the previous one ... define preseed::preseed_package
[2010/06/22 03:29:42] <Volcane> you must be naming files wrong so the auto loding doesnt find them
[2010/06/22 03:29:48] <Volcane> you using the module organization guides?
[2010/06/22 03:30:41] <alcy> umm...not sure of that, been checking out documentation on and off...
[2010/06/22 03:30:47] <alcy> from different sources.
[2010/06/22 03:31:25] <Volcane> http://docs.reductivelabs.com/guides/modules.html
[2010/06/22 03:31:30] <alcy> Volcane: do I need to include the preseed class (the one that contains the define) in the node declation as well ?
[2010/06/22 03:32:01] <Volcane> no
[2010/06/22 03:32:23] <alcy> Volcane: at least I got something right hee
[2010/06/22 03:33:08] <alcy> Volcane: oh I think I didn't make a manifests directory in the preseed class !
[2010/06/22 03:33:49] @ TREllis joined channel #puppet
[2010/06/22 03:35:25] @ Quit: malikai: Ping timeout: 264 seconds
[2010/06/22 03:35:46] <kuh> bitfield: workaround - added "nss_connect_policy oneshot" to /etc/ldap.conf
[2010/06/22 03:39:01] @ Quit: TREllis: Ping timeout: 264 seconds
[2010/06/22 03:40:17] @ andrewh joined channel #puppet
[2010/06/22 03:42:16] <alcy> Volcane: seems that wasn't the problem. am still getting the same error.
[2010/06/22 03:42:54] <alcy> Volcane: I mean that the directory structure is in place.
[2010/06/22 03:43:42] @ Quit: benoit_: Ping timeout: 260 seconds
[2010/06/22 03:44:06] @ shug joined channel #puppet
[2010/06/22 03:48:24] <fluxdude> I've got a custom fact plugin for environment and now I'm trying to use environments am having problems getting puppetd --test --environment=development to work
[2010/06/22 03:48:33] <fluxdude> added debug to the custom fact plugin and it says
[2010/06/22 03:48:54] <fluxdude> that the environment variable is not set, that's why it's defaulting to production and I cannot testing development changes...
[2010/06/22 03:51:06] @ Quit: manuell: Quit: manuell
[2010/06/22 03:52:04] <alcy> is there any other way to make a define available universally, instead of describing it inside a class ?
[2010/06/22 03:54:10] @ aglet joined channel #puppet
[2010/06/22 03:56:18] @ malikai joined channel #puppet
[2010/06/22 03:57:03] <fluxdude> alcy: maybe put it in site.pp ?
[2010/06/22 04:00:15] @ Quit: nevyn: Ping timeout: 240 seconds
[2010/06/22 04:02:07] @ nevyn joined channel #puppet
[2010/06/22 04:06:15] @ Quit: nevyn: Ping timeout: 240 seconds
[2010/06/22 04:06:27] @ TREllis joined channel #puppet
[2010/06/22 04:07:42] @ ceren joined channel #puppet
[2010/06/22 04:08:54] @ jab_doa joined channel #puppet
[2010/06/22 04:13:42] @ nevyn joined channel #puppet
[2010/06/22 04:14:42] @ Quit: raven: Read error: Connection reset by peer
[2010/06/22 04:14:55] @ raven joined channel #puppet
[2010/06/22 04:18:05] <alcy> ok , I simply made a defines folder in the class which required me to use preseed, and it works. There's a new query thoush: what does puppet:////daemons refer to ?
[2010/06/22 04:20:38] @ Quit: configure_ppt: Ping timeout: 260 seconds
[2010/06/22 04:21:58] @ Quit: TREllis: Ping timeout: 264 seconds
[2010/06/22 04:22:44] <alcy> specifically, I am referring to the define as described here: http://projects.puppetlabs.com/projetcs/puppet/wiki/Debian_Preseed_Patterns
[2010/06/22 04:24:22] @ TREllis joined channel #puppet
[2010/06/22 04:25:29] @ configure_ppt joined channel #puppet
[2010/06/22 04:28:03] @ Quit: alcy: Quit: leaving
[2010/06/22 04:36:25] @ gebi joined channel #puppet
[2010/06/22 04:37:25] @ happymcp` left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/06/22 04:38:34] @ alcy joined channel #puppet
[2010/06/22 04:43:27] @ Quit: TREllis: Ping timeout: 272 seconds
[2010/06/22 04:43:44] @ Mgk joined channel #puppet
[2010/06/22 04:44:19] <Mgk> lo, can anyone help / point me in the right direction for setting enviroment variables in puppet?
[2010/06/22 04:44:57] @ Quit: goraxe: Ping timeout: 260 seconds
[2010/06/22 04:44:58] @ Quit: fsweetser: Remote host closed the connection
[2010/06/22 04:45:12] @ fsweetser joined channel #puppet
[2010/06/22 04:45:42] @ goraxe joined channel #puppet
[2010/06/22 04:46:07] @ Quit: rocket: Ping timeout: 260 seconds
[2010/06/22 04:46:07] <bitfield> mgk: do you mean setting variables that you can reference in puppet manifests, or do you mean things that will show up in a user's shell environment?
[2010/06/22 04:46:15] @ Quit: Phibs: Remote host closed the connection
[2010/06/22 04:46:20] @ Phibs joined channel #puppet
[2010/06/22 04:46:35] <Mgk> the latter
[2010/06/22 04:46:39] @ rocket joined channel #puppet
[2010/06/22 04:47:10] <bitfield> seems like the simplest thing would be to use puppet to push out a .profile or a .bashrc file to do that
[2010/06/22 04:47:22] <Mgk> im trying to pass a password hash to usermod, to update the user password.
[2010/06/22 04:47:39] <bitfield> ah - so you want to set the environment for an exec
[2010/06/22 04:48:05] <Mgk> yes,
[2010/06/22 04:48:11] <bitfield> you could make the command for example "FOO=BAR /usr/sbin/usermod blah…."
[2010/06/22 04:48:13] <Mgk> something like this
[2010/06/22 04:48:14] <Mgk> exec { "usermod -p $namehash $name":
[2010/06/22 04:48:36] <Mgk> oh right,
[2010/06/22 04:48:39] <Mgk> cool i will try that
[2010/06/22 04:48:40] <Mgk> thanks
[2010/06/22 04:48:42] <bitfield> oh, well that's not an environment variable, just a variable :)
[2010/06/22 04:49:17] <Mgk> yeah i couldnt pass the hash as a variable, so was trying to put it in as an env var
[2010/06/22 04:49:36] <Mgk> as the hash has lots of / in etc
[2010/06/22 04:49:44] <Mgk> will give your suggestion a go
[2010/06/22 04:49:57] @ TREllis joined channel #puppet
[2010/06/22 04:50:10] <bitfield> if it's an issue of escaping special characters, i don't think that'll help much
[2010/06/22 04:55:26] @ bug joined channel #puppet
[2010/06/22 04:56:08] <bitfield> does setting the password via the user resource not work?
[2010/06/22 04:56:24] @ benoit_ joined channel #puppet
[2010/06/22 04:56:37] @ simplechat joined channel #puppet
[2010/06/22 04:57:04] <r3g1ster> mm.. is it possible to make a recipe which updates a file from the puppetmaster, except if a .lock file exists ?
[2010/06/22 04:57:41] <r3g1ster> so anyone can the .lock file if they want to do some editing on the local copy of the file - so it wont 'fix' itself from the puppetmaster later
[2010/06/22 04:58:54] <fluxdude> there is global locking
[2010/06/22 04:59:01] <fluxdude> also, you can just set replace => false
[2010/06/22 04:59:07] <fluxdude> but then it will never replace
[2010/06/22 04:59:27] <fluxdude> so perhaps an exec with an onlyif or a creates => to check for the lock file?
[2010/06/22 04:59:42] <Mgk> something like this?
[2010/06/22 04:59:43] <Mgk> http://projects.puppetlabs.com/projects/puppet/wiki/Apt_Repositories_Patterns
[2010/06/22 04:59:56] <Mgk> it only does the kernel updates if the lock file is removed
[2010/06/22 04:59:59] <r3g1ster> well, its so other users can work on the files - without changing the puppetmaster config
[2010/06/22 05:00:07] <r3g1ster> looking now
[2010/06/22 05:00:15] <bitfield> r3g1ster: anything's possible, it's not necessarily desirable. mixing local edits with puppet management is going to bite you in the ass sooner or later, lock files or no :)
[2010/06/22 05:00:52] <Mgk> sorry reg, i think im thinking of something else
[2010/06/22 05:01:10] <bitfield> if you just want to avoid puppet stomping on the file for a temporary period, use puppetd —disable maybe
[2010/06/22 05:01:12] <barn> r3g1ster: just use puppetd --disable
[2010/06/22 05:01:16] <r3g1ster> bitfield: ye, agree - but its for a dev environment
[2010/06/22 05:01:22] <bitfield> barn: jinx, buy me a coke
[2010/06/22 05:01:35] <barn> buy your own narcotics!
[2010/06/22 05:01:45] <r3g1ster> some users will want the latest config coming through to their section, others will want to edit their config...
[2010/06/22 05:02:22] <r3g1ster> Mgk: ye, like the example - onlyif
[2010/06/22 05:03:22] @ tim joined channel #puppet
[2010/06/22 05:03:25] <bitfield> r3g1ster: i don't think anyone's solved this problem in a good way. i certainly haven't :)
[2010/06/22 05:03:38] <r3g1ster> damn :/
[2010/06/22 05:03:48] @ rmiller4pi8 joined channel #puppet
[2010/06/22 05:03:56] <r3g1ster> guess ill have to just edit the puppetmaster config for now
[2010/06/22 05:06:02] <bitfield> i've had this issue in the past with devs who want control of their boxes, yet also want automatic updates available via puppet
[2010/06/22 05:06:12] <r3g1ster> yep, exactly that
[2010/06/22 05:06:47] <bitfield> the compromise we came to was that we'll build the box with puppet initially, but then it doesn't run after that unless the dev wants to run it manually - and then they'll take responsibility for merging any local changes they've made
[2010/06/22 05:08:00] <bitfield> not entirely satisfactory, but better than me being lynched by a gang of angry hackers who've lost edits
[2010/06/22 05:08:23] @ Quit: swa_work: Read error: Connection reset by peer
[2010/06/22 05:08:30] <r3g1ster> and pitty custom functions only run on the server
[2010/06/22 05:08:33] @ ahasenack joined channel #puppet
[2010/06/22 05:17:44] @ Quit: alcy: Remote host closed the connection
[2010/06/22 05:18:05] <fluxdude> can anyone explain the control structure of "Facter.add(blah) do" to me?
[2010/06/22 05:18:15] <fluxdude> it's like a loop but I don't understand why it's like this
[2010/06/22 05:19:31] @ lak joined channel #puppet
[2010/06/22 05:21:00] @ Quit: lak: Client Quit
[2010/06/22 05:23:34] <fluxdude> when writing custom facts that is
[2010/06/22 05:24:06] <fluxdude> surely Facter.add("whatever") should just be a method call and not a loop?
[2010/06/22 05:24:16] <Volcane> they're not loops
[2010/06/22 05:24:26] <Volcane> do ... end is markers for code blocks
[2010/06/22 05:24:29] <Volcane> what it says is
[2010/06/22 05:24:43] <Volcane> pass the code block to teh add method and run it in that scope
[2010/06/22 05:25:21] <Volcane> ruby calls them code blocks, hard to explain
[2010/06/22 05:25:30] <kjetilho> it's lambda!
[2010/06/22 05:25:36] <kjetilho> an anonymous function
[2010/06/22 05:25:39] <Volcane> anon function :)
[2010/06/22 05:25:39] <tim|mac> lambda ftw!
[2010/06/22 05:26:44] <fluxdude> oh no not lambdas... I never got in to them...
[2010/06/22 05:26:44] @ Quit: magnachef: Remote host closed the connection
[2010/06/22 05:27:14] <fluxdude> Volcane: thanks for the explanation on that
[2010/06/22 05:27:19] <Mgk> bitfield, thanks passing it via password worked :blush:
[2010/06/22 05:27:43] <fluxdude> I had an environment facter plugin to determine the environment according to the hostname
[2010/06/22 05:28:00] <fluxdude> but this prevented using the environment switch on the command line because always reset the environment
[2010/06/22 05:28:03] <Volcane> environemnt as a fact doesnt work in 25
[2010/06/22 05:28:11] <fluxdude> really?
[2010/06/22 05:28:14] <Volcane> yup
[2010/06/22 05:28:19] <fluxdude> I'm on 0.24.8
[2010/06/22 05:28:22] <Volcane> ok
[2010/06/22 05:28:25] @ Quit: poison_: Remote host closed the connection
[2010/06/22 05:28:33] <fluxdude> so what is one supposed to do on 0.25 then?
[2010/06/22 05:28:38] <fluxdude> with environments?
[2010/06/22 05:28:40] <Volcane> struggle
[2010/06/22 05:28:49] <Volcane> you can only set them in the conf file
[2010/06/22 05:28:55] @ [GuS] joined channel #puppet
[2010/06/22 05:28:58] <sarts_work> I remember reading a document about pointing the module path to a git repository... but my google skills have abandoned me :'( - any idea where to look?
[2010/06/22 05:29:09] @ Quit: [GuS]: Changing host
[2010/06/22 05:29:09] @ [GuS] joined channel #puppet
[2010/06/22 05:30:31] <fluxdude> Volcane: not even on the command line?
[2010/06/22 05:30:38] <fluxdude> Volcane: do you use environments?
[2010/06/22 05:30:40] <Volcane> thats hould also work
[2010/06/22 05:30:46] <Volcane> i use them yeah
[2010/06/22 05:30:58] <fluxdude> do you see the puppet.conf at install time or something then?
[2010/06/22 05:31:13] <fluxdude> I have puppet manage the puppet.conf, guess I might have to stop that then
[2010/06/22 05:31:23] <fluxdude> wonder why environment doesn't work with custom facts any more?
[2010/06/22 05:31:25] <Volcane> yeah, i dont tend to move machines between envs much
[2010/06/22 05:31:42] <Volcane> its a bug, should be sorted in 2.6 afaik
[2010/06/22 05:32:04] <fluxdude> I think I'll skip 25 altogether... wait until 26 is stable...
[2010/06/22 05:32:34] <verwilst> fluxdude, i use a template for puppet.conf where i set my env
[2010/06/22 05:32:48] <verwilst> i used the .024 way of defining environments as well
[2010/06/22 05:32:57] <verwilst> i think i made the bugreport on that issue
[2010/06/22 05:33:01] <verwilst> or at least commented on it :)
[2010/06/22 05:33:08] <fluxdude> verwilst: how do you determine what the environment should be, embedded ruby in the erb template?
[2010/06/22 05:33:54] <verwilst> environment = <%= environment %>
[2010/06/22 05:34:40] <verwilst> environment is passed through the node config with external_nodes shizzle
[2010/06/22 05:42:26] <tim|mac> i wish you could cherrypick changes when doing a git commit, like you can with darcs :S
[2010/06/22 05:43:44] @ poison joined channel #puppet
[2010/06/22 05:53:02] <Volcane> you can rebase
[2010/06/22 05:53:10] <Volcane> with -i it'll let you pick changes
[2010/06/22 05:54:19] <Volcane> no doubt otehr ways too, still learning git
[2010/06/22 05:55:11] @ joe-mac joined channel #puppet
[2010/06/22 05:57:03] <tmz> tim|mac: "git add -p" let's you selectively take changes from your work tree and stage them for commit.
[2010/06/22 05:57:35] <tim|mac> hm... going to try that one
[2010/06/22 05:57:51] <tim|mac> but how do only commit the stuff you staged?
[2010/06/22 05:58:12] <tmz> tim|mac: Just plain 'git commit' without passing files in.
[2010/06/22 05:58:16] <Volcane> it only commits staged stuff
[2010/06/22 05:58:20] <tim|mac> ah ok
[2010/06/22 05:58:21] <tmz> Yeah
[2010/06/22 05:58:35] <tmz> If anyone told you to use git commit -a, ignore them. That's for svn users who never want to change. ;)
[2010/06/22 05:58:45] @ Quit: pjsz_: Quit: pjsz_
[2010/06/22 05:59:11] <joe-mac> tmz: hmm, how come?
[2010/06/22 05:59:13] <tmz> If you ever stage things you don't want, git reset can unstage them. And reset also takes a -p option to selectively unstage things.
[2010/06/22 05:59:25] <joe-mac> i have been reading pro git on and off and using git but i am by no means even a power user
[2010/06/22 05:59:35] <tmz> joe-mac: Because it loses the wonderful advantages the staging area provides.
[2010/06/22 06:00:49] <tmz> commit -a might be useful sometimes, but overall I find it's not so useful once you start using the staging area. And, of course, that's just my opinion.
[2010/06/22 06:00:52] <joe-mac> i have to read more about it to understand that statement i think
[2010/06/22 06:01:03] <joe-mac> there's a lot to take in
[2010/06/22 06:01:29] <tim|mac> tmz: awesome tips, thanks!
[2010/06/22 06:01:59] <tmz> joe-mac: Yeah, it does take some getting used to compared to any other SCM I ever used. But once I started using it, I'd never go back.
[2010/06/22 06:03:19] <simplechat> Hey, i've got a smallish problem
[2010/06/22 06:03:21] <joe-mac> tmz: the more i read the more i like, i just don't use it on anything substantial to really get 'good' at it
[2010/06/22 06:03:36] <simplechat> i'm trying to get started with puppet, however puppetd/puppetmasterd don't actually give me any output, even when run with --verbose
[2010/06/22 06:03:37] <joe-mac> i generally su ck at things unless i use them everyday... then if i stop theknowledge quicvkly fades
[2010/06/22 06:03:49] <joe-mac> simplechat: are you daemonizing them>?
[2010/06/22 06:04:03] <simplechat> i don't know
[2010/06/22 06:04:06] <simplechat> i just started them up
[2010/06/22 06:04:14] <simplechat> i'm doing what http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern told me to do
[2010/06/22 06:04:28] <Mgk> if you require something, does it have to be the same type? Eg two files, or can you have a file and a class?
[2010/06/22 06:04:37] <simplechat> except that its not giving me the results required (ie. --verbose should be giving me some output, but its not)
[2010/06/22 06:04:54] <joe-mac> simplechat: if it daemonizes, it's not going to give you output in your shell
[2010/06/22 06:05:15] <simplechat> hmmm
[2010/06/22 06:05:35] <Mgk> puppetd --verbose --no-daemonize on client, and on server puppetmasterd --verbose --no-daemonize ?
[2010/06/22 06:05:55] <simplechat> err: Could not call fileserver.list: #<Errno::EHOSTUNREACH: No route to host - connect(2)>
[2010/06/22 06:05:56] <simplechat> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: No route to host - connect(2)
[2010/06/22 06:06:04] @ Quit: alexs_: Quit: leaving
[2010/06/22 06:06:17] @ alexs_ joined channel #puppet
[2010/06/22 06:06:23] <simplechat> Mgk, trying that now
[2010/06/22 06:07:53] @ manuell joined channel #puppet
[2010/06/22 06:08:13] @ Quit: Pupeno: Quit: http://pupeno.com
[2010/06/22 06:08:23] <simplechat> joe-mac, i forced both not to deamonize
[2010/06/22 06:08:25] <simplechat> now i'm getting output
[2010/06/22 06:08:47] <simplechat> but it doesn't make much sense. Its saying "Cannot find server puppet.localhost" however puppet.localhost is defined in /etc/hosts
[2010/06/22 06:09:06] @ Quit: manuell: Remote host closed the connection
[2010/06/22 06:09:19] <Mgk> your puppet master is puppet.localhost? does it resolove if you ping it
[2010/06/22 06:09:24] <simplechat> yep
[2010/06/22 06:09:33] <joe-mac> puppet.localhost? can you pastie your puppet.conf file
[2010/06/22 06:09:40] <joe-mac> and by paostie i mean use pastie.org or another paste service
[2010/06/22 06:09:56] <simplechat> joe-mac, its unchanged from the default
[2010/06/22 06:10:15] <simplechat> (i'm specifying --server on the command line)
[2010/06/22 06:10:28] <joe-mac> right, so don't do that
[2010/06/22 06:10:34] @ manuell joined channel #puppet
[2010/06/22 06:11:19] <simplechat> this is strange
[2010/06/22 06:11:34] <simplechat> if i give it localhost, it connects but exists with an error "err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Certificates were not trusted: hostname was not match with the server certificate Could not describe /plugins: Certificates were not trusted: hostname was not match with the server certificate"
[2010/06/22 06:12:06] <joe-mac> simplechat: it's not strange... don't pass --server to it, and what do you get
[2010/06/22 06:12:57] <simplechat> ok
[2010/06/22 06:13:00] <simplechat> that's new
[2010/06/22 06:13:04] @ neek joined channel #puppet
[2010/06/22 06:13:21] <simplechat> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: Cannot access mount[plugins]
[2010/06/22 06:13:25] <simplechat> however it did connect
[2010/06/22 06:13:43] <simplechat> however it still has no certificates to sigh
[2010/06/22 06:13:45] <simplechat> *sign
[2010/06/22 06:13:46] <joe-mac> yea, disable pluginsync and that error will probably go away
[2010/06/22 06:14:15] <simplechat> warning: Could not find facts for $myhostname$; you probably have a discrepancy between the node and fact names
[2010/06/22 06:14:30] <simplechat> however in my site.pp i'm using node default
[2010/06/22 06:14:34] <simplechat> shouldn't that include all nodes?
[2010/06/22 06:14:43] <Mgk> if you do
[2010/06/22 06:14:49] <Mgk> facter | grep fqdn
[2010/06/22 06:14:56] <Mgk> on host, is that the name your using in your sites?
[2010/06/22 06:15:48] <simplechat> yeah
[2010/06/22 06:16:05] <simplechat> its also the server i'm attempting to connect to
[2010/06/22 06:16:27] <joe-mac> right- so when you started puppetmasterd for the first time, did you try to pass --server to it or --certname?
[2010/06/22 06:16:42] <simplechat> neither
[2010/06/22 06:16:55] <simplechat> --mkusers
[2010/06/22 06:17:00] <simplechat> http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern
[2010/06/22 06:17:01] <joe-mac> what os is this?
[2010/06/22 06:17:11] <simplechat> debian lenny
[2010/06/22 06:17:25] <joe-mac> just use the package, should be .25.4 in lenny
[2010/06/22 06:17:26] @ jameswhite joined channel #puppet
[2010/06/22 06:17:32] <simplechat> thats what i'm using
[2010/06/22 06:17:48] <joe-mac> then why would you run --mkusers?
[2010/06/22 06:17:52] <joe-mac> that guide is for source install
[2010/06/22 06:18:18] <simplechat> joe-mac, because i can't find any guides to show me how to set this up
[2010/06/22 06:19:26] <simplechat> the only other thing i could find is http://www.debian-administration.org/articles/526
[2010/06/22 06:19:28] <simplechat> which is broken
[2010/06/22 06:19:42] <Mgk> So youve installed from source?
[2010/06/22 06:20:08] <simplechat> debian packages
[2010/06/22 06:20:55] <Mgk> is that 0.25.4?
[2010/06/22 06:21:13] <simplechat> 0.24.5
[2010/06/22 06:21:23] <Tonnerre> Wow, that's ancient
[2010/06/22 06:21:30] <simplechat> ah
[2010/06/22 06:21:35] <Tonnerre> I heard the greeks used 0.24.5
[2010/06/22 06:21:36] <Mgk> ok aybe install from backports
[2010/06/22 06:21:40] <simplechat> should i get rid of it then? and just build it from source?
[2010/06/22 06:21:42] @ lutter joined channel #puppet
[2010/06/22 06:22:14] <simplechat> ok
[2010/06/22 06:22:21] <simplechat> i'll purge it and reinstall from backports
[2010/06/22 06:22:30] <Mgk> do you know how to do that?
[2010/06/22 06:22:38] <simplechat> yeah
[2010/06/22 06:22:44] <simplechat> just puppetmasterd and puppetd?
[2010/06/22 06:24:11] @ \ask joined channel #puppet
[2010/06/22 06:25:36] <Mgk> puppetmaster will do
[2010/06/22 06:25:40] <Mgk> if your doing it via apt
[2010/06/22 06:25:47] <Mgk> i pin mine
[2010/06/22 06:25:52] @ jdcasey joined channel #puppet
[2010/06/22 06:26:25] <simplechat> kk
[2010/06/22 06:26:45] <simplechat> can't just aptitude install -t lenny-backports?
[2010/06/22 06:27:06] <ptman> you can
[2010/06/22 06:27:46] <Mgk> where is a pastie site?
[2010/06/22 06:28:08] <simplechat> pastebin.ca
[2010/06/22 06:28:26] <Mgk> ok so
[2010/06/22 06:28:42] <joe-mac> no, you need to remove puppet and puppetmaster
[2010/06/22 06:28:53] <joe-mac> you need to axe any cruft that remains too
[2010/06/22 06:29:09] <Mgk> http://pastebin.ca/1888450
[2010/06/22 06:29:14] <simplechat> is 0.25.4 late enough?
[2010/06/22 06:29:23] <Mgk> if you update your apt prefernces and sources to include backports
[2010/06/22 06:29:23] <simplechat> joe-mac, i purged the packages, so nothing shoudl be left?
[2010/06/22 06:29:39] <Mgk> you should just be able to do apt-get install puppetmaster
[2010/06/22 06:29:40] <simplechat> debian-volitile?
[2010/06/22 06:29:41] <joe-mac> does a purge also remove non-empty directories? i can't remember
[2010/06/22 06:29:53] <joe-mac> .25.4 is good
[2010/06/22 06:30:14] <Mgk> purge removes everything
[2010/06/22 06:30:29] <Mgk> that the package installed
[2010/06/22 06:30:32] <simplechat> ok, so 0.25.4 is installed
[2010/06/22 06:30:44] <Mgk> oh ok cool
[2010/06/22 06:30:44] <simplechat> ah
[2010/06/22 06:30:48] <simplechat> it didn't clear my old manifests
[2010/06/22 06:31:40] <simplechat> but anyways
[2010/06/22 06:31:43] <simplechat> so whats next?
[2010/06/22 06:32:35] <Mgk> whats in your puppet config?
[2010/06/22 06:33:01] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/22 06:33:20] <joe-mac> yea, dpkg wouldn't know about those files
[2010/06/22 06:33:22] <simplechat> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: No route to host - connect(2) Could not retrieve file metadata for puppet://puppet/plugins: No route to host - connect(2)
[2010/06/22 06:33:26] <joe-mac> therefore it won't remove the /etc/puppet directory
[2010/06/22 06:33:35] <simplechat> Mgk, what file should i be looking at?
[2010/06/22 06:33:37] @ sar joined channel #puppet
[2010/06/22 06:33:42] <joe-mac> k, sio what does ping puppet do at the cli
[2010/06/22 06:33:56] <telmich> sar: welcome :-)
[2010/06/22 06:34:02] <simplechat> nothing, puppet doesn't exist
[2010/06/22 06:34:11] <sar> telmich: hellau
[2010/06/22 06:34:13] <Mgk> ok so need to update your hosts or the servername
[2010/06/22 06:34:31] <simplechat> hmmm, i don't see it anywhere
[2010/06/22 06:34:42] <Mgk> in /etc/hosts
[2010/06/22 06:34:50] <Mgk> is where you set system wide hostname to ip
[2010/06/22 06:34:54] <simplechat> bioe
[2010/06/22 06:34:57] <simplechat> *nope
[2010/06/22 06:35:04] <simplechat> its not there
[2010/06/22 06:35:11] <Mgk> is localhost ?
[2010/06/22 06:35:14] <simplechat> yep
[2010/06/22 06:35:18] <Mgk> after that
[2010/06/22 06:35:22] <Mgk> tab and type puppet
[2010/06/22 06:35:24] <Mgk> write
[2010/06/22 06:35:26] <sar> how can i set defaults for providers, e.g. Package { source => 'http://gems.rubyforge.org' } but only if provider => 'gem' ?
[2010/06/22 06:35:33] <Mgk> and ping puppet, it should resolve to localhost
[2010/06/22 06:35:40] <simplechat> Mgk, its already got a name its called mc
[2010/06/22 06:35:41] <Mgk> or 127.0.0.1
[2010/06/22 06:35:43] <simplechat> which resolves and works nicely
[2010/06/22 06:36:00] <Mgk> ok so if you fire it up now, what do you get
[2010/06/22 06:36:13] <simplechat> if i add in --server mc
[2010/06/22 06:36:15] <joe-mac> sar: might have to wrap it in a define called Gem_package or something, or you could try source => $provider ? { gem => "whatever", default => undef } but id on't think that will work
[2010/06/22 06:36:24] <simplechat> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://mc.orionvm.com.au/plugins
[2010/06/22 06:36:42] <joe-mac> simplechat: it's well worth it now to use 'puppet'
[2010/06/22 06:36:55] <joe-mac> you should be setting --certname on the master to 'puppet'
[2010/06/22 06:37:14] <joe-mac> then you set a cname in dns
[2010/06/22 06:37:26] <joe-mac> you will at some point come to appreciate the fact that you did this
[2010/06/22 06:37:55] @ Quit: malikai: Quit: Leaving.
[2010/06/22 06:38:39] <simplechat> ok
[2010/06/22 06:39:07] <simplechat> how do i set certname?
[2010/06/22 06:39:17] <joe-mac> in puppet.conf in the [puppetmasterd] section
[2010/06/22 06:39:20] <joe-mac> certname = puppet
[2010/06/22 06:39:26] <joe-mac> then restart the master
[2010/06/22 06:39:46] <joe-mac> actually it should re-read puppet.conf, but whereas it will be generating new certs, i would restart to be safe
[2010/06/22 06:40:32] <simplechat> debug: Loaded state in 0.00 seconds
[2010/06/22 06:40:32] <simplechat> info: Applying configuration version '1277242894'
[2010/06/22 06:40:32] <simplechat> debug: Finishing transaction 69823315454240 with 0 changes means that its running?
[2010/06/22 06:40:40] <simplechat> and ok?
[2010/06/22 06:40:50] <joe-mac> yes, that means it worked
[2010/06/22 06:41:05] <Mgk> congrats
[2010/06/22 06:41:05] <simplechat> :D
[2010/06/22 06:41:35] <simplechat> ok
[2010/06/22 06:41:39] <simplechat> now to work out what its actually doing
[2010/06/22 06:41:44] <simplechat> don't i need to import a ca somewhere?
[2010/06/22 06:41:58] <Mgk> i you require something, does it have to be the same type? Eg two files, or can you have a file and a class?
[2010/06/22 06:42:01] <Mgk> *if
[2010/06/22 06:42:03] <simplechat> sudo puppetca --list
[2010/06/22 06:42:09] <simplechat> (it gives me two blank lines?)
[2010/06/22 06:42:34] <Mgk> puppet master cert is auto signed i belive
[2010/06/22 06:42:37] <Mgk> try --all
[2010/06/22 06:42:38] <Mgk> on the end
[2010/06/22 06:42:41] <Mgk> as well as list
[2010/06/22 06:42:43] <joe-mac> simplechat: you don't need to import a ca anywhere, you need to sign certificates, but the way you'red oing it now you won't
[2010/06/22 06:42:56] <simplechat> ok, cool
[2010/06/22 06:42:59] @ swa_work joined channel #puppet
[2010/06/22 06:43:02] <simplechat> :)
[2010/06/22 06:43:28] <joe-mac> well, i anticipate you don't, you will probably noticet he first csr when you run puppet on a node that isn't the master for the first tiem
[2010/06/22 06:44:19] <simplechat> ok
[2010/06/22 06:44:26] <simplechat> cool :)
[2010/06/22 06:46:49] @ notbrien joined channel #puppet
[2010/06/22 06:47:41] <simplechat> Hey, is there anybody around here using puppet on centos?
[2010/06/22 06:48:09] <jY> simplechat, i am
[2010/06/22 06:50:36] @ MPSimmons joined channel #puppet
[2010/06/22 06:51:38] @ kaptk2 joined channel #puppet
[2010/06/22 06:52:21] <simplechat> jY, how did you do your install?
[2010/06/22 06:52:22] @ ckauhaus joined channel #puppet
[2010/06/22 06:52:48] <simplechat> did you use the EPEL?
[2010/06/22 06:53:10] <jY> i did
[2010/06/22 06:54:11] <nareshov> hi
[2010/06/22 06:54:15] <simplechat> hey nareshov
[2010/06/22 06:54:18] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2010/06/22 06:54:20] <nareshov> how can i get rid of messages like these:
[2010/06/22 06:54:27] <nareshov> debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
[2010/06/22 06:54:30] <simplechat> jY, what version of puppet did you end up with?
[2010/06/22 06:55:14] <jY> i haven't updated in a bit but we are running 0.25.1-1
[2010/06/22 06:56:03] @ Quit: gebi: Ping timeout: 245 seconds
[2010/06/22 06:56:26] <nareshov> would they disappear if I explicitly set the file_metadata to pson
[2010/06/22 06:56:28] <nareshov> say.
[2010/06/22 06:57:08] <kgraham> are there not canned modules for network interface configs?
[2010/06/22 06:57:21] <kgraham> (namely, rhel-style ifcfg-*)
[2010/06/22 06:57:38] <fsweetser> kgraham: no, but the augeas type can work with them
[2010/06/22 06:57:45] <joe-mac> nareshov: that is fixed in 2.6 i think
[2010/06/22 06:58:02] @ mdomgo joined channel #puppet
[2010/06/22 06:58:05] <kgraham> fsweetser: k, that's what I was about to do, was just surprised it wasn't already rolled up
[2010/06/22 06:58:05] <mdomgo> Moin!
[2010/06/22 06:58:06] @ WALoeIII joined channel #puppet
[2010/06/22 06:59:03] <nareshov> oh, i see
[2010/06/22 07:01:21] @ Bass10 joined channel #puppet
[2010/06/22 07:03:08] @ Quit: Bass10: Max SendQ exceeded
[2010/06/22 07:03:49] @ Bass10 joined channel #puppet
[2010/06/22 07:06:52] @ pheezy joined channel #puppet
[2010/06/22 07:07:10] <mdomgo> I switched my deployment to puppet via mongrel and apache with mod_proxy_balancer and it seems we now have problems with autosigning of certificates
[2010/06/22 07:07:34] <joe-mac> mdomgo: what kind of problem,s?
[2010/06/22 07:07:42] @ Quit: joe-mac: Remote host closed the connection
[2010/06/22 07:07:55] <mdomgo> I get a message about Creating a new ssl certificate (which i expect) but then i get:
[2010/06/22 07:07:59] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/22 07:08:15] <mdomgo> err: Coould not request certificate: sslv3 handshake failure
[2010/06/22 07:08:44] <mdomgo> I followed http://projects.puppetlabs.com/projects/puppet/wiki/Using_Mongrel_On_Enterprise_Linux
[2010/06/22 07:08:44] @ Quit: poison: Read error: Connection reset by peer
[2010/06/22 07:09:01] @ poison joined channel #puppet
[2010/06/22 07:11:17] <mdomgo> We're using 0.25.1
[2010/06/22 07:12:57] @ joe-mac joined channel #puppet
[2010/06/22 07:13:16] @ bodepd joined channel #puppet
[2010/06/22 07:13:58] <mdomgo> It works normal for old clients so i expect something to break with the proxy_balancer
[2010/06/22 07:16:34] <simplechat> random question, is there any reason why puppet would recognise a module, but not move the files across?
[2010/06/22 07:17:33] <simplechat> I have a file called cheese that i want to move off, i get "debug: mount[files]: Describing /files/cheese for" on the server and i get "notice: Finished configuration run in 0.14 seconds" on the client however the file never arrives
[2010/06/22 07:17:45] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/22 07:18:42] <simplechat> and it knows that it exists, its in the cached yaml
[2010/06/22 07:20:58] <simplechat> once i touch the file, it goes through and updates properly
[2010/06/22 07:21:05] <simplechat> but if i don't touch it, it never updates :(
[2010/06/22 07:23:12] <simplechat> jY where did you get 0.25.1-1 from?
[2010/06/22 07:23:14] @ thekad-afk is now known as thekad
[2010/06/22 07:23:21] <simplechat> i just installed from the EPEL repos and it gave me 0.22.4
[2010/06/22 07:23:37] <jY> maybe i didn't get it from epel then
[2010/06/22 07:24:12] <simplechat> hmmmm
[2010/06/22 07:24:20] <simplechat> because 0.25.1-1 would actually be kind of useful
[2010/06/22 07:26:01] <dbruce> http://download.fedora.redhat.com/pub/epel/5/i386/repoview/puppet.html
[2010/06/22 07:26:08] <dbruce> says 0.25.5-1
[2010/06/22 07:27:34] <simplechat> http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/puppet.html
[2010/06/22 07:27:35] <simplechat> hmmm
[2010/06/22 07:27:36] <simplechat> ok then
[2010/06/22 07:27:37] <simplechat> wtf?
[2010/06/22 07:28:16] <simplechat> i've added the extra repo before installing
[2010/06/22 07:28:30] <dbruce> amusingly i was in the middle of yum updating a system from epel and saw it had installed 0.25.5-1 which confused me to no end
[2010/06/22 07:28:43] <simplechat> ok
[2010/06/22 07:28:46] <simplechat> this is very wtf
[2010/06/22 07:28:48] <simplechat> package xen-libs-3.4.2-2.el5.x86_64 (which is newer than xen-libs-3.0.3-105.el5_5.3.i386) is already installed
[2010/06/22 07:28:56] <dbruce> using a proxy or locally mirrored repo maybe?
[2010/06/22 07:29:07] <simplechat> using my isps mirror
[2010/06/22 07:29:21] <simplechat> yeah, it wants to update puppet
[2010/06/22 07:29:25] <dbruce> maybe time to find a more up to date mirror :)
[2010/06/22 07:29:36] @ Rejo left channel #puppet ()
[2010/06/22 07:29:36] <simplechat> any ideas as to how?
[2010/06/22 07:29:44] @ MattyM joined channel #puppet
[2010/06/22 07:29:51] <simplechat> i don't really know centos that well
[2010/06/22 07:31:01] @ lwhalen joined channel #puppet
[2010/06/22 07:32:31] @ sijis_afk is now known as sijis
[2010/06/22 07:35:03] @ james__ joined channel #puppet
[2010/06/22 07:36:29] @ rcrowley joined channel #puppet
[2010/06/22 07:38:10] @ Quit: pheezy: Quit: Leaving...
[2010/06/22 07:41:53] @ Quit: bodepd: Quit: bodepd
[2010/06/22 07:43:41] <nareshov> man..
[2010/06/22 07:43:53] <nareshov> how do I deal with ordering *between* modules
[2010/06/22 07:44:11] <nareshov> i realise that we declare the ordering of packages, services, files etc. within a standalone module
[2010/06/22 07:44:18] <nareshov> but what about the ordering of modules themselves
[2010/06/22 07:44:42] <nareshov> like; "realize the yum module and its invocation first before dealing with the resT"
[2010/06/22 07:44:52] <nareshov> or "do dovecot before imapproxy"
[2010/06/22 07:45:42] <nareshov> in other words: how do I deal with adding a fresh, virgin-server and including it under, say: node "NEWSERVER" inherits MYPROJECT-STORAGE-SPECIAL-CLASS-A { }
[2010/06/22 07:45:57] <nareshov> and expect things to happen in the right order at the first go
[2010/06/22 07:46:12] <nareshov> it's kind of like, what do you call it - non-deterministic?
[2010/06/22 07:48:36] <nareshov> unless I find a way to explicitly state that "ordering"
[2010/06/22 07:54:18] <|Mike|> require require require :)
[2010/06/22 07:55:11] @ alcy joined channel #puppet
[2010/06/22 07:55:53] @ zahna joined channel #puppet
[2010/06/22 07:56:25] <nareshov> so instead of: node "new-server" inherits SERVERTYPE-A { include module-P; include module-Q }
[2010/06/22 07:56:35] <joe-mac> ahhhh node inheritance
[2010/06/22 07:57:55] <alcy> Folks, while using debian preseed files to provide custom configuration options for apt, can we provide passwords in plain text (for eg., admin account passwords for slapd, mysql etc) ? (this is a debian specific query I guess, but maybe some debian puppet users might have messed with this ?)
[2010/06/22 07:58:08] <nareshov> node "new-server" inherits SERVERTYPE-A { include module-Q; Module-Q{ require => module-P } }
[2010/06/22 07:58:41] @ gm1959 joined channel #puppet
[2010/06/22 07:59:26] <gm1959> anyone got a link to how to upgrade puppet from 25.4 to 25.5?
[2010/06/22 08:00:03] @ Quit: monachus: Ping timeout: 248 seconds
[2010/06/22 08:03:37] @ Quit: MattyM: Remote host closed the connection
[2010/06/22 08:04:00] @ Quit: rocket: Read error: No route to host
[2010/06/22 08:05:55] @ MattyM joined channel #puppet
[2010/06/22 08:07:02] @ Quit: alcy: Ping timeout: 252 seconds
[2010/06/22 08:07:21] @ andrewh_ joined channel #puppet
[2010/06/22 08:07:31] @ Quit: andrewh: Read error: Connection reset by peer
[2010/06/22 08:07:31] @ andrewh_ is now known as andrewh
[2010/06/22 08:09:58] @ Quit: mdomgo: Quit: leaving
[2010/06/22 08:10:12] <dbruce> simplechat: we just mirror the epel repos locally, but you may have some luck by disabling the fastestmirror plugin
[2010/06/22 08:13:10] @ tonyskapunk joined channel #puppet
[2010/06/22 08:14:10] @ bodepd joined channel #puppet
[2010/06/22 08:17:15] @ xerxas joined channel #puppet
[2010/06/22 08:17:19] <xerxas> Hi all
[2010/06/22 08:17:45] @ Quit: manuell: Quit: manuell
[2010/06/22 08:18:22] <xerxas> can I deploy a link from my puppetmaster that will be a file on the node ?
[2010/06/22 08:18:57] @ magnachef joined channel #puppet
[2010/06/22 08:20:00] <xerxas> let's say module/files/filename.$hostname links to module/files/filename.role , can I have file { "filename" : ensure => present, source => [ "puppet:///module/filename.$hostname", "puppet://module/filename" ], }
[2010/06/22 08:23:43] <simplechat> just a random question, how do i push a file to a puppet node?
[2010/06/22 08:24:09] <simplechat> like the file doesn't already exist on the node itself, but it exists and is visible in the puppet master's file server
[2010/06/22 08:24:16] <simplechat> dbruce, hmmm, ok
[2010/06/22 08:24:31] <simplechat> dbruce, do you have any good resources on mirroring centos repos?
[2010/06/22 08:24:46] <dbruce> we use dag wiers mrepo script to do it
[2010/06/22 08:24:59] <gm1959> simplechat - use source
[2010/06/22 08:25:07] @ Quit: MattyM: Remote host closed the connection
[2010/06/22 08:25:18] <gm1959> or use ensure
[2010/06/22 08:25:32] <dbruce> not sure if you need to go to that length though; we have about a thousand servers per site that we don't really want to pound the internet when we update a package
[2010/06/22 08:26:16] <tim|mac> ok, this might be a silly request, but is there a commandline script/thingy with which i can query /etc/services
[2010/06/22 08:26:20] <tim|mac> and no, grep doesn't count
[2010/06/22 08:26:34] <gm1959> tim|mac - query how?
[2010/06/22 08:26:47] <dbruce> getent?
[2010/06/22 08:26:48] <tim|mac> gm1959: like getservbyname
[2010/06/22 08:26:52] <tim|mac> getent!
[2010/06/22 08:26:55] <tim|mac> yes, thanks!
[2010/06/22 08:27:15] <simplechat> gm1959, thanks :)
[2010/06/22 08:27:44] <gm1959> :)
[2010/06/22 08:27:48] <simplechat> dbruce, damn that's a lot of servers. What are you building?
[2010/06/22 08:28:19] <dbruce> oh, they're all sorts of nasty business applications
[2010/06/22 08:29:19] <simplechat> kk
[2010/06/22 08:29:36] <simplechat> as a random sort of a question, you wouldn't happen to be using xen?
[2010/06/22 08:29:47] <dbruce> i'd also say that there is a lot of consolidation that we could do
[2010/06/22 08:30:04] <dbruce> we've just started along the road to virtualisation
[2010/06/22 08:30:05] @ Quit: tim: Disconnected by services
[2010/06/22 08:30:12] <dbruce> but, are using xen for now
[2010/06/22 08:30:30] @ tim_ joined channel #puppet
[2010/06/22 08:30:37] <simplechat> wouldn't happen to be using gluster on the back end of that
[2010/06/22 08:30:38] <simplechat> ?
[2010/06/22 08:30:58] <dbruce> nope, nothing like that
[2010/06/22 08:31:07] <simplechat> kk
[2010/06/22 08:31:10] <simplechat> :(
[2010/06/22 08:31:12] @ cliff-hm joined channel #puppet
[2010/06/22 08:31:12] <dbruce> lots of nasty netapps though
[2010/06/22 08:31:20] <tim|mac> to add some randomness here, we're still using xen at a lot of sites, but I can't wait to switch it all over to kvm
[2010/06/22 08:31:31] <simplechat> why?
[2010/06/22 08:31:43] <tim|mac> xen is giving me loads of trouble
[2010/06/22 08:31:48] <dbruce> some clever person thought that deploying citrix's xencenter here; which i don't really think is an optimal solution
[2010/06/22 08:31:56] <simplechat> tim|mac, what are you trying to do with it?
[2010/06/22 08:32:01] <simplechat> hmmm, fun
[2010/06/22 08:32:05] @ Quit: flooose: Ping timeout: 240 seconds
[2010/06/22 08:32:30] <tim|mac> simplechat: trouble like all of a sudden the xm script is giving python errors (Broken pipe) and the only way to fix it is restart the server...
[2010/06/22 08:33:01] <gm1959> we're using xencenter here. I wish they'd update substantially more frequently and get to a current xen
[2010/06/22 08:33:13] <simplechat> tim|mac, that's kind of horrid
[2010/06/22 08:33:18] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/22 08:33:22] <tim|mac> simplechat: exactly
[2010/06/22 08:33:24] <simplechat> gm1959, arn't they at the latest 3.4?
[2010/06/22 08:33:32] <simplechat> what dom0 are you guys using?
[2010/06/22 08:33:54] <tim|mac> also, the idea of having your VMs as processes on your host/dom0 is just... very clean.
[2010/06/22 08:34:01] <gm1959> xen is at 4.0
[2010/06/22 08:34:19] @ Quit: shug: Quit: Leaving
[2010/06/22 08:34:23] <dbruce> i just wish that xencenter didn't have all this hacky kernel versioning
[2010/06/22 08:34:23] <simplechat> 4.0 is testing
[2010/06/22 08:34:26] <simplechat> very VERY testing
[2010/06/22 08:34:43] <simplechat> dbruce, more info?
[2010/06/22 08:34:45] @ Quit: tuf: Quit: Look whos tuf now..
[2010/06/22 08:34:49] <gm1959> hmm, I was under the impression it was released
[2010/06/22 08:34:59] <kjetilho> it's only for people with testes?
[2010/06/22 08:35:23] <simplechat> it has been released, it just has a habit of horribly horribly breaking
[2010/06/22 08:35:46] <gm1959> really? interesting
[2010/06/22 08:35:56] <simplechat> tim|mac, hmmm, doesn't it have a huge speed drop though?
[2010/06/22 08:36:14] <tim|mac> simplechat: we're only noticing a speed increase, actually... especially for IO
[2010/06/22 08:36:22] <simplechat> gm1959, or rather thats what happened when we tried it
[2010/06/22 08:36:43] <simplechat> tim|mac, interesting, have you done any benchmarking?
[2010/06/22 08:37:10] <fruitcake> hi, I wanted to use puppet to install from a tarball, I've since made my own rpm, but is there a better way of doing it than creating your own pacakge? Just using execs or?
[2010/06/22 08:37:12] <tim|mac> no, afraid not, but we notice a decrease in iowait and the system 'feels' more responsive
[2010/06/22 08:37:32] <gm1959> well, citrix has been fairly stable for us, so I guess I should rephrase that as - I wish citrix had a xen 4.0 out
[2010/06/22 08:37:44] <tim|mac> time to catch a train home
[2010/06/22 08:37:47] <tim|mac> bye all
[2010/06/22 08:37:48] <fruitcake> having an rpm install by copying a file and execcing rpm -i that_file.rpm just seems sorta ugly :/
[2010/06/22 08:37:56] <simplechat> fruitcake, i'm not sure if there is a nicer way but making your own repo would be the cleanest
[2010/06/22 08:38:05] <simplechat> tim|mac, thanks
[2010/06/22 08:38:13] <dbruce> it may be that the folks we've had working on the engineering of the virtual platofrm aren't particularly rigorous
[2010/06/22 08:38:21] <simplechat> yeah
[2010/06/22 08:38:37] <dbruce> but they seem to be dropping custom kernels on our rhel/centos boxes
[2010/06/22 08:39:05] <simplechat> dbruce, ok
[2010/06/22 08:39:09] <gm1959> dbruce - the dom0s?
[2010/06/22 08:39:23] <simplechat> so you are just standardising on centos with kvm?
[2010/06/22 08:39:26] <dbruce> no, the client machines
[2010/06/22 08:40:04] <fruitcake> simplechat: yes but I won't have time for that for the next while I'm afraid..
[2010/06/22 08:40:23] @ poison_ joined channel #puppet
[2010/06/22 08:40:31] <simplechat> then i don't see any other way of doing that
[2010/06/22 08:40:45] @ Quit: poison: Read error: No route to host
[2010/06/22 08:42:42] @ Quit: bodepd: Quit: bodepd
[2010/06/22 08:43:16] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/22 08:43:56] @ Quit: tim_: Remote host closed the connection
[2010/06/22 08:44:13] <dbruce> fruitcake: building a custom repo shouldn't take more than about 10 minutes :)
[2010/06/22 08:45:59] <fruitcake> really?
[2010/06/22 08:46:06] <fruitcake> never done it before, not for rpm/yum anyway
[2010/06/22 08:46:26] <dbruce> pretty much simply install createrepo, and then run it on the directory you want to use
[2010/06/22 08:46:29] <fruitcake> hm
[2010/06/22 08:46:31] <dbruce> then add it on the clients
[2010/06/22 08:46:34] <fruitcake> oh..
[2010/06/22 08:46:37] <fruitcake> :)
[2010/06/22 08:46:38] <fruitcake> thanks
[2010/06/22 08:46:50] <dbruce> a quick google shows this: http://www.g-loaded.eu/2005/12/11/local-yum-repository/
[2010/06/22 08:46:54] <dbruce> which might help some
[2010/06/22 08:47:08] <dbruce> you can do the same with an http accessible one too
[2010/06/22 08:48:00] @ alcy joined channel #puppet
[2010/06/22 08:48:15] @ ckauhaus joined channel #puppet
[2010/06/22 08:49:49] @ sking joined channel #puppet
[2010/06/22 08:50:11] @ Quit: sking: Client Quit
[2010/06/22 08:50:15] @ Quit: magnachef: Ping timeout: 260 seconds
[2010/06/22 08:50:17] @ Quit: lutter: Ping timeout: 276 seconds
[2010/06/22 08:51:58] @ tecto_ joined channel #puppet
[2010/06/22 08:52:24] <fruitcake> well I'll get to testing that in a little bit. thanks dbruce
[2010/06/22 08:55:04] @ bodepd joined channel #puppet
[2010/06/22 08:55:50] <Mgk> hi, is there a way to require a class and a package for instance?
[2010/06/22 08:58:35] @ Quit: simplechat: Remote host closed the connection
[2010/06/22 08:58:49] @ alcy left channel #puppet ()
[2010/06/22 08:59:58] @ Quit: yannL: Remote host closed the connection
[2010/06/22 08:59:59] @ gebi joined channel #puppet
[2010/06/22 09:00:58] @ configure_ppt left channel #puppet ()
[2010/06/22 09:01:03] <ceren> \\
[2010/06/22 09:05:34] @ themroc is now known as themroc_pala
[2010/06/22 09:05:47] @ lutter joined channel #puppet
[2010/06/22 09:06:53] @ MattyM joined channel #puppet
[2010/06/22 09:07:40] @ Quit: james__: Quit: Leaving
[2010/06/22 09:10:42] @ Quit: germ: Quit: leaving
[2010/06/22 09:10:43] @ Quit: WALoeIII: Quit: WALoeIII
[2010/06/22 09:11:36] @ Quit: bronto: Quit: Leaving.
[2010/06/22 09:12:26] @ jnewland joined channel #puppet
[2010/06/22 09:13:02] @ Quit: pmorillo: Quit: pmorillo
[2010/06/22 09:14:34] @ erm joined channel #puppet
[2010/06/22 09:15:36] @ Quit: sarts_work: Ping timeout: 252 seconds
[2010/06/22 09:16:22] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/22 09:16:49] @ Quit: giskard: Remote host closed the connection
[2010/06/22 09:19:08] @ Quit: jdcasey: Remote host closed the connection
[2010/06/22 09:19:59] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2010/06/22 09:22:19] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/22 09:25:41] @ Quit: omry_: Read error: Connection reset by peer
[2010/06/22 09:27:22] @ DmosEmp_ joined channel #puppet
[2010/06/22 09:30:51] @ joe-mac left channel #puppet ()
[2010/06/22 09:31:40] @ yakub joined channel #puppet
[2010/06/22 09:32:03] @ tep joined channel #puppet
[2010/06/22 09:32:03] @ Quit: tep: Changing host
[2010/06/22 09:32:03] @ tep joined channel #puppet
[2010/06/22 09:32:18] @ magnachef joined channel #puppet
[2010/06/22 09:32:56] @ allsystemsarego joined channel #puppet
[2010/06/22 09:34:02] @ Pupeno joined channel #puppet
[2010/06/22 09:36:18] @ Quit: poison_: Remote host closed the connection
[2010/06/22 09:36:48] @ WALoeIII joined channel #puppet
[2010/06/22 09:36:53] @ Quit: WALoeIII: Remote host closed the connection
[2010/06/22 09:36:59] @ WALoeIII joined channel #puppet
[2010/06/22 09:37:04] @ giskard joined channel #puppet
[2010/06/22 09:46:09] @ Quit: Mgk: Ping timeout: 265 seconds
[2010/06/22 09:48:20] @ plathrop-away is now known as plathrop
[2010/06/22 09:48:22] @ Ramonster joined channel #puppet
[2010/06/22 09:50:29] @ fluidicslave joined channel #puppet
[2010/06/22 09:51:14] <fluidicslave> getpetto: help
[2010/06/22 09:51:41] @ thekad is now known as thekad-afk
[2010/06/22 09:55:16] <fluidicslave> is there any way to get a list of all nodes in an array ?
[2010/06/22 09:57:23] @ rmiller4pi8 joined channel #puppet
[2010/06/22 10:00:46] @ Quit: magnachef: Ping timeout: 272 seconds
[2010/06/22 10:01:38] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2010/06/22 10:01:49] @ Quit: cliff-hm: Ping timeout: 264 seconds
[2010/06/22 10:02:07] @ Quit: rmiller4pi8: Ping timeout: 260 seconds
[2010/06/22 10:02:27] @ Quit: TREllis: Quit: laterds
[2010/06/22 10:05:09] @ raven is now known as Guest99040
[2010/06/22 10:09:52] @ lak joined channel #puppet
[2010/06/22 10:10:42] @ magnachef joined channel #puppet
[2010/06/22 10:10:48] @ sking joined channel #puppet
[2010/06/22 10:10:49] @ Quit: jnewland: Ping timeout: 264 seconds
[2010/06/22 10:12:07] @ Quit: xerxas: Quit: Leaving.
[2010/06/22 10:14:43] @ Quit: itguru: Ping timeout: 260 seconds
[2010/06/22 10:15:19] @ jaredrhine joined channel #puppet
[2010/06/22 10:16:27] @ Quit: andrewh: Quit: andrewh
[2010/06/22 10:17:23] @ Quit: beata-: Ping timeout: 276 seconds
[2010/06/22 10:17:40] @ Quit: fruitcake: Ping timeout: 252 seconds
[2010/06/22 10:21:20] @ flooose joined channel #puppet
[2010/06/22 10:23:46] @ Quit: S_BS:
[2010/06/22 10:25:37] @ Quit: alban2: Ping timeout: 276 seconds
[2010/06/22 10:26:08] @ beata- joined channel #puppet
[2010/06/22 10:26:37] @ ecapriolo joined channel #puppet
[2010/06/22 10:26:59] @ Quit: MattyM: Ping timeout: 260 seconds
[2010/06/22 10:27:09] @ Quit: [GuS]: Remote host closed the connection
[2010/06/22 10:39:53] @ bender183 joined channel #puppet
[2010/06/22 10:43:08] @ thekad-afk is now known as thekad
[2010/06/22 10:44:42] @ Quit: lohapuk: Quit: Leaving.
[2010/06/22 10:45:46] @ Ramonster joined channel #puppet
[2010/06/22 10:48:45] @ thekad is now known as thekad-afk
[2010/06/22 10:48:46] @ thekad-afk is now known as thekad
[2010/06/22 10:49:09] @ adrian_broher joined channel #puppet
[2010/06/22 10:50:19] @ Quit: swa_work: Read error: Connection reset by peer
[2010/06/22 10:52:28] @ macfly left channel #puppet ()
[2010/06/22 10:54:10] @ blood joined channel #puppet
[2010/06/22 10:54:55] <blood> i'm trying to daemonize my rail app but i can't seem to get it working. i'm typing 'rails s -d' which shows it creating a listen on port 3000 but notihng actually is listening on that port
[2010/06/22 10:54:57] <blood> any ideas?
[2010/06/22 10:55:57] @ poison joined channel #puppet
[2010/06/22 10:57:24] @ thekad is now known as thekad-afk
[2010/06/22 10:58:52] <_eric> I would suggest using god or some other process monitoring framework
[2010/06/22 10:59:03] @ Quit: magnachef: Ping timeout: 260 seconds
[2010/06/22 11:01:15] @ magnachef joined channel #puppet
[2010/06/22 11:04:18] @ swa_work joined channel #puppet
[2010/06/22 11:04:23] @ Alagar joined channel #puppet
[2010/06/22 11:04:23] @ Quit: Alagar: Excess Flood
[2010/06/22 11:08:07] @ PhabX joined channel #puppet
[2010/06/22 11:08:52] @ MattyM joined channel #puppet
[2010/06/22 11:10:10] @ asenchi joined channel #puppet
[2010/06/22 11:10:48] @ asenchi left channel #puppet ()
[2010/06/22 11:13:49] <lyric> any suggestions on rolling out puppet clients to hosts that currently do not have anything...capistrano? dsh?
[2010/06/22 11:14:42] <hMz> i wrote an install script that i foreached through the hosts and installed with
[2010/06/22 11:14:42] <nico> fab
[2010/06/22 11:14:45] <hMz> for some
[2010/06/22 11:14:46] <nico> mcollective
[2010/06/22 11:14:50] <hMz> and then baked the rest into kickstart and reinstalled
[2010/06/22 11:15:01] @ Quit: gebi: Ping timeout: 264 seconds
[2010/06/22 11:18:07] <lyric> ok, I can write a cap task to do it, just wondered if there was a suggested/blessed way
[2010/06/22 11:19:48] @ rmiller4pi8 joined channel #puppet
[2010/06/22 11:21:16] @ Alagar joined channel #puppet
[2010/06/22 11:21:44] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/06/22 11:21:46] @ bjaspan joined channel #puppet
[2010/06/22 11:22:08] <bjaspan> Can I have a file resource that does *not* manage the owner/group of a file?
[2010/06/22 11:24:17] <PhabX> bjaspan: i think you can just leave out those things from the resource. don't say user => group=> etc
[2010/06/22 11:24:51] <bjaspan> Well, I have a global File settings for user and group to root, which I do not really want to remove. So I'd need to override them to be undefined for a specific resource.
[2010/06/22 11:26:25] @ thekad-afk is now known as thekad
[2010/06/22 11:26:29] @ LinuxCode joined channel #puppet
[2010/06/22 11:27:05] @ Quit: lak: Quit: lak
[2010/06/22 11:28:21] <hMz> bjaspan: so you're looking for => undef?
[2010/06/22 11:28:29] <bjaspan> Yes. Does that work?
[2010/06/22 11:28:41] <hMz> in certain applications, yep
[2010/06/22 11:28:50] <hMz> ymmv
[2010/06/22 11:29:01] <bjaspan> I'll switch to using an exec resource to be sure. thx.
[2010/06/22 11:29:27] <PhabX> hMz: i was trying to find that in the docs. thanks for helping him
[2010/06/22 11:29:40] <PhabX> didn't remember if it was nil or undef
[2010/06/22 11:30:37] <hMz> "P.S. undef works fine for owner, group and permissions" ...
[2010/06/22 11:31:19] <hMz> so google thinks it'll work
[2010/06/22 11:31:20] <hMz> :D
[2010/06/22 11:31:51] <hMz> http://tinyurl.com/37z73a4
[2010/06/22 11:31:58] <hMz> thats a link to the pulling strings book that talks about undef
[2010/06/22 11:33:05] <blood> i can't seem to get my rails daemon working:/
[2010/06/22 11:33:45] <Kiloman> blood: sounds like a topic for #rubyonrails
[2010/06/22 11:33:55] <blood> thanks
[2010/06/22 11:33:57] @ joe-mac joined channel #puppet
[2010/06/22 11:35:51] @ Quit: bodepd: Quit: bodepd
[2010/06/22 11:40:25] @ macfly joined channel #puppet
[2010/06/22 11:46:46] @ Quit: magnachef: Ping timeout: 252 seconds
[2010/06/22 11:47:04] <joe-mac> Error 403 on SERVER: Forbidden request: puppet.somesite.com (208.112.22.11) access to /catalog/puppet.somesite.com [find] at line 0 why?
[2010/06/22 11:48:05] @ lak joined channel #puppet
[2010/06/22 11:50:50] @ Quit: bug: Quit: bug
[2010/06/22 11:53:46] @ xerxas joined channel #puppet
[2010/06/22 11:53:58] @ magnachef_ joined channel #puppet
[2010/06/22 11:56:55] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/22 12:01:35] @ zorzar joined channel #puppet
[2010/06/22 12:02:19] @ cristim joined channel #puppet
[2010/06/22 12:02:53] <cristim> hi, the page http://docs.puppetlabs.com/guides/plugins_in_modules.html has an error near the end, please someone take a look
[2010/06/22 12:03:45] @ Quit: ashp: Ping timeout: 240 seconds
[2010/06/22 12:04:11] @ Quit: Berge: Ping timeout: 240 seconds
[2010/06/22 12:04:29] @ Quit: nicomen: Ping timeout: 265 seconds
[2010/06/22 12:05:04] @ Quit: zorzar_: Ping timeout: 276 seconds
[2010/06/22 12:06:03] @ Berge joined channel #puppet
[2010/06/22 12:06:51] @ nicomen joined channel #puppet
[2010/06/22 12:06:51] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/22 12:08:58] @ ashp joined channel #puppet
[2010/06/22 12:09:41] @ Quit: MattyM: Ping timeout: 240 seconds
[2010/06/22 12:12:01] @ sijis is now known as sijis_afk
[2010/06/22 12:14:34] @ spawnyd joined channel #puppet
[2010/06/22 12:15:17] @ Quit: magnachef_: Ping timeout: 240 seconds
[2010/06/22 12:16:49] @ Quit: shenson: Read error: Operation timed out
[2010/06/22 12:17:08] @ bug joined channel #puppet
[2010/06/22 12:17:35] @ shenson joined channel #puppet
[2010/06/22 12:18:19] @ gebi joined channel #puppet
[2010/06/22 12:19:23] @ alban2 joined channel #puppet
[2010/06/22 12:23:46] @ toi joined channel #puppet
[2010/06/22 12:24:48] @ magnachef_ joined channel #puppet
[2010/06/22 12:25:57] @ alk` joined channel #puppet
[2010/06/22 12:27:13] @ HouseAway is now known as AimanA
[2010/06/22 12:30:35] @ cliff-hm joined channel #puppet
[2010/06/22 12:31:56] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/06/22 12:35:33] @ bodepd joined channel #puppet
[2010/06/22 12:40:05] <dan__t> I love puppet.
[2010/06/22 12:40:06] <dan__t> That is all.
[2010/06/22 12:41:35] <gm1959> puppet/nagios anyone? How are you if/else'ing or case'ing specific services to check based on node type? are you using 'defined'?
[2010/06/22 12:43:03] <joe-mac> that revision number stuff where you can call an arbitrary script helped me track down a bug introduced to collectd configs today
[2010/06/22 12:43:11] <joe-mac> syslog + that, pretty awesome
[2010/06/22 12:43:21] <joe-mac> gm1959: i don't understyand what you mean by node type?
[2010/06/22 12:44:18] <gm1959> joe-mac - I mean like class 'webserver' or whatever else I've got defined. I only want nrpe to have a copy of check_httpd if its a webserver
[2010/06/22 12:44:22] <gm1959> for example
[2010/06/22 12:44:30] <gm1959> there are a lot of classes, of curse
[2010/06/22 12:44:33] <gm1959> course
[2010/06/22 12:44:54] <joe-mac> right, then i include the nagios_service stuff inside the class for httpd
[2010/06/22 12:45:06] <joe-mac> so when you include a class, nagios checks are automagically set up
[2010/06/22 12:46:14] <gm1959> you include the check in the class?
[2010/06/22 12:46:22] <gm1959> interesting. got an example?
[2010/06/22 12:47:19] @ Quit: lak: Quit: lak
[2010/06/22 12:48:36] <joe-mac> h/o
[2010/06/22 12:50:38] <joe-mac> so, ghere's one example
[2010/06/22 12:50:39] <joe-mac> http://pastebin.org/351825
[2010/06/22 12:51:19] @ pting joined channel #puppet
[2010/06/22 12:51:45] <joe-mac> if there needs to be a passive check it's a little different...
[2010/06/22 12:52:34] @ Quit: gebi: Ping timeout: 264 seconds
[2010/06/22 12:53:36] <gm1959> heh... thats very different than what I'm doing - If I read that right, that's a host check?
[2010/06/22 12:54:01] @ Quit: cliff-hm: Ping timeout: 264 seconds
[2010/06/22 12:54:31] <gm1959> what I was asking about were the specific services unique to a host
[2010/06/22 12:54:47] <joe-mac> no, that's an exported service definition
[2010/06/22 12:54:55] <joe-mac> which is collected by the nagios::master class in my setup
[2010/06/22 12:55:09] <joe-mac> all host checks are exported in node templates, and are just ping checks really
[2010/06/22 12:55:14] <joe-mac> so every node always gets the ping check
[2010/06/22 12:55:20] <joe-mac> the default services are in nagios::target
[2010/06/22 12:55:35] <joe-mac> i basicallty forked camptocamp's shit and changed it to suit my en vironment
[2010/06/22 12:55:58] <gm1959> check_nsc in this case isn't the default nagios_service_check? nsc means something else?
[2010/06/22 12:56:32] <joe-mac> nsc stands for nexpose console
[2010/06/22 12:56:38] <joe-mac> it's a vulnerability assessment tool
[2010/06/22 12:56:42] <gm1959> k, now I understand
[2010/06/22 12:57:06] <joe-mac> i just found the one i could think of quickest heh
[2010/06/22 12:57:07] <gm1959> it never occured to me to nest exported resources.
[2010/06/22 12:57:10] @ Quit: magnachef_: Ping timeout: 265 seconds
[2010/06/22 12:57:34] <gm1959> you're nesting @@nsc_on<host> inside @@nagios_service.
[2010/06/22 12:57:58] <gm1959> so you then collect them as <<| nagios_service |>> on the monitoring host?
[2010/06/22 12:58:12] <joe-mac> no @@nsc_on_host is just a name
[2010/06/22 12:58:44] <joe-mac> but yes, i collect <<| Nagios_service { tag => "nagios" } |>> something like that i forget the syntax
[2010/06/22 12:58:57] <joe-mac> i gad tag stuff in other classes to get collected
[2010/06/22 12:59:34] <gm1959> and the tag => nagios limits the collect to a node that's marked as a nagios host.
[2010/06/22 13:00:16] <joe-mac> limits it to any nagios_service resource tagged as nagios
[2010/06/22 13:00:34] <gm1959> I'm gonna need to experiment to see it work... but I think I get the idea
[2010/06/22 13:00:39] <gm1959> thanks
[2010/06/22 13:00:43] <joe-mac> i forget why exactly i did, there was a tehcnical reason that i couldn't collect all the objects and needed to use tags
[2010/06/22 13:01:00] <joe-mac> yea np i'll be around if you have questions, i worked very hard on this setup and it's prettya wesome cept i haven't yet devised a great way to do parenting
[2010/06/22 13:01:04] @ Quit: lutter: Quit: Leaving.
[2010/06/22 13:01:22] <joe-mac> which sucks cause we've hajd this router that keeps going down
[2010/06/22 13:01:25] <dballing> so my rudimentary googling isn't finding anything useful. Has anyone written a tool that might run, say, as a nightly cron that would look at the reports on a puppetmaster and generate some sort of prettified output of "what puppet changed today"?
[2010/06/22 13:01:28] <joe-mac> which means, lots more pages than you need to know something is wrong
[2010/06/22 13:01:45] <joe-mac> dballing: i imagine someone has done it, idk if it's been released though
[2010/06/22 13:01:47] <gm1959> seperate question - I want to compose the target nrpe.cfg files based on 'hunks' based on what services belong there - is there something that concats erbs?
[2010/06/22 13:01:51] <joe-mac> sounds like a good thing to add to puppetforge
[2010/06/22 13:02:05] <dballing> joe-mac: right, exactly. I feel like this SHOULD be a well-carved wheel already
[2010/06/22 13:02:10] <fsweetser> dballing: I believe foreman has that capability
[2010/06/22 13:02:20] <dballing> that I don't look forward to reinventing. :-)
[2010/06/22 13:02:51] <sking> if i have a package resource that installs an rpm that conflicts with another, but i define the conflicting package resource as ensure => absent, and on the package resource i want to install require the conflicting (absent) package, will that ensure the conflicting package is removed before installing the package i want?
[2010/06/22 13:04:31] @ Quit: Alagar: Ping timeout: 240 seconds
[2010/06/22 13:05:57] <dballing> fsweetser: foreman seems like a lot of 'overhead' to bring into the equation just to do what amounts largely to perl-processing a bunch of YAML files every night
[2010/06/22 13:06:23] <dballing> I mean, yes, pedantically, it looks like it might do the job, but I'm not sure I'm ready to tackle that while I'm still rolling out my puppet install itself. :-)
[2010/06/22 13:06:27] <fsweetser> true
[2010/06/22 13:06:46] <gm1959> joe-mac - dunno if you saw my question - is there a way to concat file components? or do I have to do a lot of if/else in the nrpe,cfg erb?
[2010/06/22 13:06:52] <fsweetser> that's the only place I know of where that wheel s already done, though
[2010/06/22 13:07:03] <dballing> the situation is: we've just deployed the client everywhere (yay!) but now the boss says "I want to know what changes it makes on the production servers" (a legit question)
[2010/06/22 13:07:23] <dballing> but we've only had a working puppet install, outside of the lab, for 22 minutes. :-P
[2010/06/22 13:08:51] <fsweetser> quick and dirty would be to set up tagmail
[2010/06/22 13:09:00] <fsweetser> then it'll drop you an email whenever it does something
[2010/06/22 13:09:20] <fsweetser> if you want a little more polished, it shouldn't be too hard to write your own report type that captures the changes
[2010/06/22 13:09:36] @ lutter joined channel #puppet
[2010/06/22 13:10:09] @ fbe joined channel #puppet
[2010/06/22 13:11:21] <dballing> fsweetser: tagmail... does that run individually for every change? (ie, if I change, say, /etc/resolv.conf on 300+ nodes, will I get 300+ individual e-mail messages?)
[2010/06/22 13:13:07] @ magnachef_ joined channel #puppet
[2010/06/22 13:13:13] <fsweetser> it's per client
[2010/06/22 13:13:21] <fsweetser> so if you have five changes on ten clients, you'll get ten emails
[2010/06/22 13:13:44] <fsweetser> each with five changes
[2010/06/22 13:13:52] <dballing> yeah, I could see that getting ugly for us.
[2010/06/22 13:14:35] <dballing> Maybe I'll just say fsck it and write something that takes as an argument a report directory and a duration (ie, how far back in time), and let it parse the YAMLs
[2010/06/22 13:14:44] <dballing> and then release it because that's GOT to be useful to someone else. :-P
[2010/06/22 13:14:50] <fsweetser> probably, yeah
[2010/06/22 13:15:22] @ Quit: fbe: Ping timeout: 260 seconds
[2010/06/22 13:15:25] <dballing> probably should also have an "expire_before" time-frame, to automate the cleanup of those things
[2010/06/22 13:15:32] <dballing> since they gather like no man's business
[2010/06/22 13:16:08] <dballing> something like : report_gen --report_on 3d --expire_before 2w /path/to/reports
[2010/06/22 13:18:11] <dballing> Something to think about... I got assigned to do it by $BOSS, so either I'll find the existing wheel that does something like that, or I'll be writing one... and if the latter, maybe I can (probably) get permission to contribute back
[2010/06/22 13:19:20] @ Quit: mattock: Ping timeout: 258 seconds
[2010/06/22 13:19:33] @ fbe joined channel #puppet
[2010/06/22 13:19:56] @ Quit: kolla: Read error: Connection reset by peer
[2010/06/22 13:22:34] <joe-mac> gm1959: not sure what you mean
[2010/06/22 13:22:42] <joe-mac> you use cfg_dir in nagios and it recursively reads all file
[2010/06/22 13:23:09] @ omry joined channel #puppet
[2010/06/22 13:23:43] @ Quit: toi: Ping timeout: 276 seconds
[2010/06/22 13:27:06] @ Quit: lutter: Quit: Leaving.
[2010/06/22 13:28:22] @ lutter joined channel #puppet
[2010/06/22 13:29:30] @ Quit: lutter: Client Quit
[2010/06/22 13:29:31] @ Quit: poison: Ping timeout: 240 seconds
[2010/06/22 13:30:13] @ Quit: magnachef_: Ping timeout: 276 seconds
[2010/06/22 13:30:26] @ poison joined channel #puppet
[2010/06/22 13:39:17] @ Quit: bug: Quit: bug
[2010/06/22 13:40:47] @ MattyM joined channel #puppet
[2010/06/22 13:42:37] @ bug joined channel #puppet
[2010/06/22 13:46:13] @ Quit: nexx: Quit: quit
[2010/06/22 13:46:22] @ Quit: BLZbubba: Remote host closed the connection
[2010/06/22 13:47:46] @ Quit: benoit_: Ping timeout: 276 seconds
[2010/06/22 13:53:37] @ Quit: Pupeno: Quit: http://pupeno.com
[2010/06/22 13:54:09] @ pheezy joined channel #puppet
[2010/06/22 13:54:21] @ Quit: bug: Quit: bug
[2010/06/22 13:54:22] @ Quit: mfournier: Ping timeout: 264 seconds
[2010/06/22 13:54:28] <gm1959> joe-mac - Well, I meant some way to glue various hunks of a nrpe.cfg erb together based on defined/tags if/else, so that there's not a lot of excess crap in the nrpe.cfg file on the target host
[2010/06/22 13:54:51] @ Quit: alk`: Ping timeout: 240 seconds
[2010/06/22 13:55:10] @ Quit: xerxas: Ping timeout: 265 seconds
[2010/06/22 13:56:46] @ verwilst joined channel #puppet
[2010/06/22 13:56:51] @ sijis_afk is now known as sijis
[2010/06/22 13:57:15] @ kolla joined channel #puppet
[2010/06/22 13:59:56] @ benoit_ joined channel #puppet
[2010/06/22 14:01:05] @ andrew3 joined channel #puppet
[2010/06/22 14:02:24] @ bug joined channel #puppet
[2010/06/22 14:03:56] <joe-mac> i am not familiar with nrpe gm1959
[2010/06/22 14:04:03] <joe-mac> i've always used nagios and nsca, never touched nrpe
[2010/06/22 14:05:41] @ docelic__ joined channel #puppet
[2010/06/22 14:06:33] @ DmosEmp_ joined channel #puppet
[2010/06/22 14:07:47] <gm1959> ah. well, I'll generalize the question - how would I specify that a file is composed of this file and this one concatted based on somethign like defined(webserver) or whatever? IE - file.cfg = part1 + if defined(blah)... part2 + if... part3, etc?
[2010/06/22 14:08:32] <Volcane> gm1959: http://github.com/ripienaar/puppet-concat
[2010/06/22 14:08:34] <joe-mac> gm1959: many people with this problem, many solutions... i personally don't use any so i don't have any advice on it, generally i avoid doing that
[2010/06/22 14:08:47] @ Quit: docelic_: Ping timeout: 276 seconds
[2010/06/22 14:09:04] <gm1959> k, thanks
[2010/06/22 14:10:40] <Kiloman> does content take +> ?
[2010/06/22 14:12:50] <joe-mac> everything should take +>, but only once
[2010/06/22 14:13:03] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/22 14:14:02] @ Quit: tecto_: Quit: tecto_
[2010/06/22 14:17:58] @ Quit: poison: Remote host closed the connection
[2010/06/22 14:19:53] @ plathrop is now known as plathrop-away
[2010/06/22 14:20:03] @ plathrop-away is now known as plathrop
[2010/06/22 14:23:55] @ fredden joined channel #puppet
[2010/06/22 14:26:03] @ kaptk2 left channel #puppet ()
[2010/06/22 14:29:22] @ Quit: pheezy: Ping timeout: 276 seconds
[2010/06/22 14:34:39] @ alban21 joined channel #puppet
[2010/06/22 14:35:17] @ Quit: alban2: Ping timeout: 265 seconds
[2010/06/22 14:35:17] @ Quit: ashp: Ping timeout: 265 seconds
[2010/06/22 14:36:05] @ ashp joined channel #puppet
[2010/06/22 14:36:17] @ sHaggY_caT joined channel #puppet
[2010/06/22 14:37:12] <sHaggY_caT> Hi all! Is any standart fact to date (hardware clock)? In last versions, f.e.?
[2010/06/22 14:38:30] @ lutter joined channel #puppet
[2010/06/22 14:39:12] @ Quit: ceren: Quit: ceren
[2010/06/22 14:43:24] @ mvn071 joined channel #puppet
[2010/06/22 14:44:17] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/22 14:44:44] @ joe-mac left channel #puppet ()
[2010/06/22 14:45:22] @ Quit: bender183: Quit: l8z
[2010/06/22 14:45:51] <rmiller4pi8> gm1959: better, just use nrpe.d and drop in a file for each thing you want to monitor
[2010/06/22 14:46:15] <dan__t> fact
[2010/06/22 14:46:16] <Volcane> yup, totally the best idea
[2010/06/22 14:46:28] <dan__t> or use concat
[2010/06/22 14:46:32] <dan__t> because that's bad-ass too.
[2010/06/22 14:46:42] @ flakrat joined channel #puppet
[2010/06/22 14:47:34] @ pheezy joined channel #puppet
[2010/06/22 14:47:45] <Volcane> http://github.com/ripienaar/mcollective-plugins/tree/master/agent/nrpe/puppet/
[2010/06/22 14:47:54] <Volcane> there's a define and some template to make files in the nrpe.d
[2010/06/22 14:48:10] <dan__t> You could just do yourself a favor and not use nagios, too.
[2010/06/22 14:48:33] @ jdcasey joined channel #puppet
[2010/06/22 14:48:46] <KarlHungus> what is the alternative?
[2010/06/22 14:49:11] <dan__t> zabbix :)
[2010/06/22 14:49:21] <KarlHungus> oh god. good luck ;)
[2010/06/22 14:49:22] <dan__t> Alas, I'm heavily biased...
[2010/06/22 14:49:30] <KarlHungus> i expected you to say tivoli
[2010/06/22 14:49:35] <dan__t> Oh, no.
[2010/06/22 14:49:50] * Volcane likes monitoring logic on the machines
[2010/06/22 14:49:50] <mackn> yikes
[2010/06/22 14:50:42] <KarlHungus> Volcane: same, but that assumes the machines are capable of that, which a lot of network hardware isn't
[2010/06/22 14:50:57] <Volcane> sure, but i mean wrt nrpe
[2010/06/22 14:51:14] * KarlHungus also detests nagios, but recognizes it as a necessary evil
[2010/06/22 14:51:22] <mackn> it's what people use
[2010/06/22 14:51:39] <Volcane> though i do switch checks via nrpe too
[2010/06/22 14:51:48] <Volcane> so i can build them via puppet
[2010/06/22 14:51:59] <Volcane> nrpe call the nagios plugins on a host near the switches
[2010/06/22 14:52:12] <KarlHungus> hi. i'm nagios. want to check something? fork/exec/fork/exec/fork/exec
[2010/06/22 14:52:35] <Volcane> heh
[2010/06/22 14:53:11] @ Quit: notbrien: Quit: notbrien
[2010/06/22 14:53:11] <KarlHungus> thankfully linux is decent at context switching on x86
[2010/06/22 14:53:57] <Kiloman> I have a poor dual-core box that runs at a load of 25 thanks to Nagios and Cacti :(
[2010/06/22 14:54:03] @ rellis__ joined channel #puppet
[2010/06/22 14:54:36] <Volcane> though:
[2010/06/22 14:54:36] <Volcane> irb(main):007:0> puts Time.now;nrpe.runcommand(:command => "check_load");puts Time.now
[2010/06/22 14:54:40] <Volcane> Tue Jun 22 22:54:26 +0100 2010
[2010/06/22 14:54:42] <Volcane> Tue Jun 22 22:54:26 +0100 2010
[2010/06/22 14:54:47] @ Quit: jdcasey:
[2010/06/22 14:54:47] <Volcane> calls nrpe check on 44 hosts 3 countries
[2010/06/22 14:54:50] <Volcane> thats pretty sweet
[2010/06/22 14:54:55] <Volcane> 4 countries
[2010/06/22 14:55:02] <sHaggY_caT> Is any good collections of custom facts to puppet?
[2010/06/22 14:55:27] <KarlHungus> Volcane: that is pretty cool =)
[2010/06/22 14:56:04] <KarlHungus> is that some custom nrpe wrapper in ruby?
[2010/06/22 14:56:07] <Kiloman> so here's a question
[2010/06/22 14:56:15] <Volcane> KarlHungus: mcollective
[2010/06/22 14:56:16] <Kiloman> can you set defaults for definitions?
[2010/06/22 14:56:23] <Volcane> Kiloman: yup
[2010/06/22 14:56:44] <KarlHungus> Volcane: ahh. nice. i like it
[2010/06/22 14:56:56] <gm1959> guys - if I put a @@nagios_command {"foo"} in a webserver module, will it get multiply defined when there are multiple webservers? or is it only defined when it's collected with <<||>>?
[2010/06/22 14:57:44] <Volcane> gm1959: you cant do @@nagios_command{"foo": } many times - name must be unique, but you can collect many times
[2010/06/22 14:58:20] <gm1959> crap. I wanted to put the command in the webserver module.
[2010/06/22 14:58:37] @ Quit: MattyM: Read error: Operation timed out
[2010/06/22 14:58:55] <Kiloman> Volcane: one more for you... is require => [ File['foo'], undef ] valid syntax?
[2010/06/22 14:59:21] <gm1959> rmiller4pi8 - so would that be a source on the nrpe.d? or a require? or what?
[2010/06/22 14:59:34] <Volcane> Kiloman: not sure
[2010/06/22 14:59:51] <sking> i created a resource lvm::create, but i need to make it a require on another resouce, but require => Lvm::create[ "name" ] gives me a syntax error… is there something im missing ?
[2010/06/22 14:59:55] <Kiloman> lets find out...
[2010/06/22 15:00:00] <Volcane> sking: Lvm::Create
[2010/06/22 15:00:10] <KarlHungus> gm1959: if $nagios_enable { nagios::service { "${fqdn}-http": check_command => "check_http", service_description => "HTTP"}}
[2010/06/22 15:00:34] <sking> thanks Volcane
[2010/06/22 15:01:22] <KarlHungus> gm1959: that is what i have in my web server's module
[2010/06/22 15:02:18] <gm1959> KarlHungus - yes, thanks. I'm looking at the actual define for the check_command being in the webserver module instead of in the nagios module.
[2010/06/22 15:02:49] <Volcane> gm1959: if u put it in your webserver module surely it will only happen once?
[2010/06/22 15:02:58] <Volcane> gm1959: its not like it triest o install httpd 4 times
[2010/06/22 15:03:03] @ Quit: Viper233: Quit: Viper233 has no reason
[2010/06/22 15:03:35] <KarlHungus> gm1959: so place the check command in the web server module...?
[2010/06/22 15:04:25] <gm1959> Volcane - ugh, I must be really, stupidly confused, of course that makes sense. It runs once on one client/node, and is defined once. doh.
[2010/06/22 15:04:33] <Volcane> :)
[2010/06/22 15:05:03] <Volcane> you do need to make them all unique though
[2010/06/22 15:05:11] <Volcane> so $fqdn-webserver or something
[2010/06/22 15:05:46] @ Quit: mvn071: Quit: Leaving
[2010/06/22 15:05:53] <hMz> is it possible to undef in a source?
[2010/06/22 15:06:53] <gm1959> like check_load_${hostname}
[2010/06/22 15:07:07] <Volcane> yeah if hostnames uniue
[2010/06/22 15:07:21] <KarlHungus> gm1959: you could, but thats quite redundant. since check_load can take args...
[2010/06/22 15:07:52] <KarlHungus> you shouldnt be needing a 1:1 relationship between service checks and check commands
[2010/06/22 15:07:53] <Volcane> KarlHungus: if he's exporting 'check_load' from all hsots, wont the collecting host have issues?
[2010/06/22 15:08:01] <gm1959> KarlHungus - not the way I'm using nagios. all commands are check_nrpe .., because I dont want to pass args
[2010/06/22 15:08:13] <KarlHungus> gm1959: ok. gotcha. that makes more sense
[2010/06/22 15:08:35] <gm1959> so check_load_host is just really check_nrpe --command blah or whatever
[2010/06/22 15:08:46] <gm1959> and the work is done in the nrpe file
[2010/06/22 15:09:03] <KarlHungus> sure. i get it =) disregard me
[2010/06/22 15:09:24] <Volcane> my point was more about unique resource names on the collecting host
[2010/06/22 15:09:32] @ [GuS] joined channel #puppet
[2010/06/22 15:09:45] <gm1959> thats why I was asking about collecting pieces of nrpe files together - for excample if there's a webserver component defined
[2010/06/22 15:10:49] <gm1959> Volcane - so you're saying that the check_command has to be in the nagios module itself, which is only run once per monitoring host, as opposed to the say webservers, which may run for several webservers?
[2010/06/22 15:12:09] <Volcane> gm1959: i am saying if you have say apache::install and apache::vhost - the 2nd being define to add vhosts
[2010/06/22 15:12:21] <Volcane> gm1959: you'd probably rather do the monitoring in apache::monitor that you include on a node
[2010/06/22 15:12:22] @ deneme joined channel #puppet
[2010/06/22 15:12:32] <Volcane> gm1959: you can include many times the same thing, that doesnt create dupes
[2010/06/22 15:12:51] <Volcane> gm1959: so by all means keep it in the apache module or whatever, and just include it where needed
[2010/06/22 15:13:02] @ Quit: alxm_: Read error: Connection reset by peer
[2010/06/22 15:14:06] <gm1959> so let me see if I have this... in my 'webserver' module I have class webserver, and down below I have webserver::monitoring and I include webserver::monitoring specifically?
[2010/06/22 15:15:02] @ cparedes joined channel #puppet
[2010/06/22 15:15:09] <Volcane> its best if you just show how you have yours set out
[2010/06/22 15:15:34] <cparedes> anyone deploy a wordpress installation over puppet?
[2010/06/22 15:16:16] @ Quit: alfism: Quit: alfism
[2010/06/22 15:16:31] <cparedes> (i'm having a hard time figuring out whether i should just download a raw tarball and then use a tarball overlay with whatever customizations, or if i should just tar up our existing site and have puppet extract that
[2010/06/22 15:16:35] <cparedes> )
[2010/06/22 15:16:57] <cparedes> (or just worry about installing a raw wordpress installation, and customize it on the side manually)
[2010/06/22 15:17:37] <Volcane> exec{"tar....": } has a special call back to a machine that kills kittens each time it runs.
[2010/06/22 15:19:03] <tmz> Haha. Something like an implicit notify => Exec['kitten-killer'] ?
[2010/06/22 15:20:23] @ Quit: deneme: Ping timeout: 260 seconds
[2010/06/22 15:20:29] <Kiloman> undef variables evaluate as false right?
[2010/06/22 15:20:58] <Kiloman> $foo = undef; if (! $foo) { include bar }
[2010/06/22 15:21:04] <Kiloman> would include bar
[2010/06/22 15:21:05] <Kiloman> correct
[2010/06/22 15:21:21] <Kiloman> ?
[2010/06/22 15:21:34] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/22 15:22:03] <rmiller4pi8> cparedes: code customizations are usually happiest in svn. plus that will allow you to do much more intelligent merges when the original source changes.
[2010/06/22 15:22:05] <Volcane> Kiloman: make a little test.pp that does a notice() in the if, and run puppet test.pp
[2010/06/22 15:23:06] <gm1959> Volcane - here's the nagios module http://pastie.org/1015111
[2010/06/22 15:23:26] @ bjaspan_ joined channel #puppet
[2010/06/22 15:24:01] <Kiloman> Volcane: thanks for the tip
[2010/06/22 15:24:10] @ Quit: bjaspan_: Client Quit
[2010/06/22 15:24:35] <cparedes> rmiller4pi8: true, yeah. the one thing i'm running against are a bunch of jpg/png files, however
[2010/06/22 15:24:38] <Volcane> gm1959: that stuff in lins 8 to 12 will burn you, dont put things outside class {} boundaries
[2010/06/22 15:25:06] <Volcane> gm1959: but i was more interested in seeing how you build the webserver
[2010/06/22 15:25:31] @ Quit: bjaspan: Ping timeout: 240 seconds
[2010/06/22 15:25:48] <cparedes> hm. i'll figure it out. i think for now, i'm going to have puppet pull a wordpress.tar.gz file from wordpress.org, and then overlay it with a tarball pulled from one of our servers.
[2010/06/22 15:25:55] @ Quit: lwhalen: Ping timeout: 276 seconds
[2010/06/22 15:26:09] <cparedes> then i'll talk with the devs and my boss about possibly getting the WP installation versioned in SVN
[2010/06/22 15:26:19] <cparedes> thanks!
[2010/06/22 15:26:46] * Volcane 's sure no1 recommended that :P
[2010/06/22 15:26:54] <Volcane> infact the opposite
[2010/06/22 15:27:02] <gm1959> here's the nrpe
[2010/06/22 15:27:04] <gm1959> http://pastie.org/1015115
[2010/06/22 15:27:38] <gm1959> lines 8-12 are required to make them globals
[2010/06/22 15:27:45] <gm1959> or so I thought
[2010/06/22 15:28:06] <hMz> oh god
[2010/06/22 15:29:21] <gm1959> Volcane - the webserver module is just a class and some requires so far
[2010/06/22 15:29:55] <Kiloman> cparedes: that's how our contractors want to do it too
[2010/06/22 15:30:02] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/22 15:30:04] <Kiloman> that's how they do their multisite drupal/wp stuff
[2010/06/22 15:30:14] @ bug left channel #puppet ()
[2010/06/22 15:30:46] <Kiloman> pull stuff from drush into a devel site, make their changes, push it into a git master, and then check that out on the production hosts
[2010/06/22 15:30:59] <Kiloman> I'm not quite sure how I feel about it yet
[2010/06/22 15:31:16] <gm1959> http://pastie.org/1015120
[2010/06/22 15:31:26] <gm1959> that's all there is in the webserver
[2010/06/22 15:31:32] @ thekad is now known as thekad-afk
[2010/06/22 15:31:32] @ thekad-afk is now known as thekad
[2010/06/22 15:32:37] <Volcane> gm1959: so why nod to the @@nagios.. stuff in there?
[2010/06/22 15:32:51] @ Quit: rmiller4pi8: Ping timeout: 240 seconds
[2010/06/22 15:33:20] <gm1959> sorry? why not what?
[2010/06/22 15:33:40] <Volcane> you were saying you cant put it there
[2010/06/22 15:34:34] <gm1959> well, rather than put every possible check in the nagios module, I wanted to put the check command define and the service define in the appropriate module.
[2010/06/22 15:35:13] <gm1959> you were saying that I could do that, by using something like webserver::monitoring
[2010/06/22 15:35:30] <Volcane> before i knew how your module looked :)
[2010/06/22 15:35:37] <gm1959> ah
[2010/06/22 15:35:46] <Volcane> thats why i asked to see it
[2010/06/22 15:35:51] <Volcane> just create the virtual resources in there
[2010/06/22 15:36:18] <gm1959> yeah, I couldn't see how it was gonna be multiply defined if I just stuck it in the webserver module.
[2010/06/22 15:36:25] <gm1959> cool. :)
[2010/06/22 15:37:27] <gm1959> hmm, no wait... crap. in using exported resources like that, if I have seven webservers, isn't check_proc_http the command - gonna be defined seven times?
[2010/06/22 15:38:10] <Volcane> once per node
[2010/06/22 15:38:22] <sking> if i do "define lvm::create() {}" not inside a class, what happens to the namespace exactly?
[2010/06/22 15:38:44] <gm1959> cause check_http_<node> would be calling check_proc_http.... so do I have to make it something crazy like check_proc_http_<node>?
[2010/06/22 15:39:21] <Volcane> gm1959: http://projects.puppetlabs.com/projects/puppet/wiki/Exported_Resources
[2010/06/22 15:39:35] @ Quit: fluidicslave: Quit: Leaving
[2010/06/22 15:40:03] @ Quit: pheezy: Remote host closed the connection
[2010/06/22 15:42:30] <gm1959> Volcane - thanks for the help. I'm still not getting it though. I've read that doc page ten times. :(
[2010/06/22 15:44:49] <gm1959> because the check_command can only be defined one time, I dont see how it can go in the webserver or other node modules.
[2010/06/22 15:45:19] @ Quit: blood: Quit: Page closed
[2010/06/22 15:45:44] <gm1959> I guess it's gonna have to go in the nagios module itself, and the service can go in the webserver module.
[2010/06/22 15:46:42] <Volcane> you should make the nagios_service resource in the webserver module
[2010/06/22 15:46:46] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/06/22 15:46:50] <Volcane> and export it then collect on the nagios box
[2010/06/22 15:47:01] <Volcane> so for every webserver, you get 1 x nagios_service that checks say its port 80
[2010/06/22 15:47:04] <Volcane> 1 per host
[2010/06/22 15:47:29] <gm1959> makes sense, I was just trying to be elegant with the check-command as well
[2010/06/22 15:48:12] @ MattyM joined channel #puppet
[2010/06/22 15:49:08] @ Quit: fbe: Quit: Leaving
[2010/06/22 15:52:44] @ Quit: macfly: Quit: Leaving.
[2010/06/22 15:54:07] <Kiloman> so I hear the fileserver stuff is faster with 0.25
[2010/06/22 15:54:20] <Kiloman> how noticeable is it?
[2010/06/22 15:54:45] <Tonnerre> 0.25 also detects redefinitions without eating up all memory first
[2010/06/22 15:55:25] <hMz> it has the most performance per watt ever
[2010/06/22 15:55:26] <Kiloman> I'm hoping to go up to 0.25 soon, I'm just not looking forward to trying to wrangle it on to our old RHEL3 systems
[2010/06/22 15:55:55] <Volcane> Kiloman: http://www.devco.net/archives/2009/09/09/puppet_0250_upgrade.php
[2010/06/22 15:55:58] <Kiloman> wondering if there are any fun tricks to play with 0.24 to speed it up in the mean time
[2010/06/22 15:56:14] <Kiloman> letting apache or nginx handle file serving, for example
[2010/06/22 15:56:34] <Volcane> Kiloman: u cant do that pre 25
[2010/06/22 15:56:46] <Kiloman> hokay
[2010/06/22 15:57:15] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/22 15:58:17] <Kiloman> hmm
[2010/06/22 15:58:19] <Kiloman> http://www.devco.net/archives/2009/09/11/more_on_puppet_025_upgrade.php
[2010/06/22 15:58:27] <Kiloman> my master is already in trouble
[2010/06/22 15:58:36] <Volcane> more cpu isnt always a problem
[2010/06/22 15:58:48] <Volcane> using more cpu more efficiently == good
[2010/06/22 15:58:53] <Kiloman> yeah
[2010/06/22 15:59:11] <Kiloman> any good links on offloading fileserving with 0.25?
[2010/06/22 15:59:17] <Volcane> I've not found it to be an issue, but u should run mongrel or passenger or whatever
[2010/06/22 15:59:17] <Kiloman> I'm using mongrel + nginx now
[2010/06/22 15:59:22] <Volcane> see masterzen's blog
[2010/06/22 15:59:33] @ freshtonic joined channel #puppet
[2010/06/22 16:00:18] <Kiloman> do I need 0.25 clients to do that, or just 0.25 master?
[2010/06/22 16:00:36] <Volcane> both
[2010/06/22 16:00:42] <Kiloman> rats
[2010/06/22 16:00:49] <Kiloman> was hoping to get away with just upgrading the master for now
[2010/06/22 16:01:33] <Kiloman> will the clients just not use the new fileserver until they are 0.25, or will they break?
[2010/06/22 16:01:42] <Kiloman> reading http://www.masterzen.fr/2010/03/21/more-puppet-offloading/
[2010/06/22 16:02:29] <Volcane> hmm, yeah i guess
[2010/06/22 16:02:33] <Tonnerre> tonnerre@methusalix:~% yum search passenger
[2010/06/22 16:02:34] <Tonnerre> taxipilot.x86_64 : Game where you pilot a taxi in space
[2010/06/22 16:02:37] <Tonnerre> Awesome
[2010/06/22 16:03:03] <Kiloman> Volcane: which one? ;)
[2010/06/22 16:03:13] @ Quit: jab_doa: Quit: Verlassend
[2010/06/22 16:03:32] <Volcane> Kiloman: 24 should use the old one i guess
[2010/06/22 16:03:35] <Volcane> 24 clients
[2010/06/22 16:03:41] <Kiloman> awesome
[2010/06/22 16:03:47] <Kiloman> I will commence to hacking
[2010/06/22 16:07:15] @ lwhalen joined channel #puppet
[2010/06/22 16:13:00] <Kiloman> masterzen: ping?
[2010/06/22 16:14:30] @ rodnet joined channel #puppet
[2010/06/22 16:16:22] <Kiloman> hmmmmm
[2010/06/22 16:16:29] <Kiloman> so here's a question
[2010/06/22 16:16:38] <Kiloman> I don't have a single directory with all my files in it
[2010/06/22 16:16:52] <Kiloman> I've got modules/classname/files/
[2010/06/22 16:17:32] <Kiloman> it looks like masterzen's config is set up for a single files path
[2010/06/22 16:18:18] <mackn> that's probably true
[2010/06/22 16:19:06] @ mqr joined channel #puppet
[2010/06/22 16:20:07] <Kiloman> is modules/classname/files still supported with 0.25?
[2010/06/22 16:20:23] <mackn> yeah
[2010/06/22 16:20:47] <Kiloman> k
[2010/06/22 16:20:59] <Kiloman> I guess I can probably hack a rewrite based on his example
[2010/06/22 16:22:32] @ bobinabottle joined channel #puppet
[2010/06/22 16:23:47] @ stahnma joined channel #puppet
[2010/06/22 16:23:47] @ Quit: stahnma: Changing host
[2010/06/22 16:23:47] @ stahnma joined channel #puppet
[2010/06/22 16:24:49] <eric0> if there is an area with heavy fileserving you can make another mount in fileserver.conf an use that path instead of puppet:///modules/
[2010/06/22 16:25:05] <eric0> might be easier than a big mess o' mod_rewrite
[2010/06/22 16:25:29] <Kiloman> yeah I'll have to see what the requests look like
[2010/06/22 16:25:37] <z00dax6> Kiloman: hey
[2010/06/22 16:26:09] <Kiloman> what up z00dax6
[2010/06/22 16:26:20] <z00dax6> same ol mostly :)
[2010/06/22 16:26:22] <Kiloman> hehe
[2010/06/22 16:26:52] <Kiloman> rh is keeping busy it sounds like
[2010/06/22 16:28:35] <z00dax6> yeah, busy is good
[2010/06/22 16:28:50] <z00dax6> right, I'm off. well past my bedtime here. cya
[2010/06/22 16:30:40] @ Quit: bodepd: Quit: bodepd
[2010/06/22 16:30:48] @ Quit: MattyM: Ping timeout: 265 seconds
[2010/06/22 16:37:46] @ ceren joined channel #puppet
[2010/06/22 16:37:58] @ avocado joined channel #puppet
[2010/06/22 16:38:00] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/22 16:39:56] <sking> do definitions like "define" have to be included or imported? i can't find anything that describes how they are scoped
[2010/06/22 16:43:22] @ DmosEmp_ joined channel #puppet
[2010/06/22 16:44:02] <Kiloman> if they're defined within a class then you have to use them as classname::definename
[2010/06/22 16:44:06] <Kiloman> otherwise they are global
[2010/06/22 16:44:10] <Kiloman> that's my understanding at least
[2010/06/22 16:44:36] <sking> what if i define it as such (outside of a class) define test::definition() {}
[2010/06/22 16:44:36] <eric0> best to put them in a module structure just like you do classes. if you do, they'll get autoloaded
[2010/06/22 16:44:53] <sking> thats what i am doing, i am just concerned about the namespace
[2010/06/22 16:44:57] <eric0> sking: if it lives in test/manifests/definition.pp you're fine
[2010/06/22 16:45:20] <sking> oh, it shouldn't live in init.pp?
[2010/06/22 16:45:20] <eric0> you're better than fine
[2010/06/22 16:45:30] @ xerxas joined channel #puppet
[2010/06/22 16:46:02] <eric0> you could, i like to have 'em separate to keep my svn commits cleaner
[2010/06/22 16:46:14] <sking> gotchya
[2010/06/22 16:47:22] <sking> what exactly is the difference between a custom type, and a definition? they seem to be nearly the same thing
[2010/06/22 16:49:59] <Kiloman> custom types are actual bits of Ruby code, whereas definitions just let you create existing types
[2010/06/22 16:50:07] <Kiloman> think of them as new code vs macros
[2010/06/22 16:50:16] @ ceren_ joined channel #puppet
[2010/06/22 16:50:21] <Kiloman> least that's my understanding
[2010/06/22 16:51:37] @ Quit: [GuS]: Remote host closed the connection
[2010/06/22 16:51:38] <sking> hmm
[2010/06/22 16:51:54] <sking> they operate at the user level about the same it seem
[2010/06/22 16:52:19] <Kiloman> it's quite likely that I'm misunderstanding them ;)
[2010/06/22 16:52:26] @ Quit: ceren: Ping timeout: 272 seconds
[2010/06/22 16:52:39] <sking> join the club :p
[2010/06/22 16:54:30] @ Quit: ceren_: Ping timeout: 240 seconds
[2010/06/22 16:57:01] <eric0> no thats correct..define just lets you build up composite actions from existing types - 'macros' is exactly a good way to think about it .. custom types are when there's nothing in the puppet DSL that manages the stuff you care about and you need to extend it
[2010/06/22 16:57:14] @ pheezy joined channel #puppet
[2010/06/22 16:58:29] <sking> gotchya
[2010/06/22 16:58:43] <sking> so if i define a definition inside a class, must i include that class to get access to the definition?
[2010/06/22 16:58:59] <sking> (assume the module structure is read into puppet already)
[2010/06/22 16:59:03] @ Quit: jrojas: Remote host closed the connection
[2010/06/22 17:00:40] @ ceren joined channel #puppet
[2010/06/22 17:04:29] @ Djelibeybi joined channel #puppet
[2010/06/22 17:08:19] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/22 17:08:21] <eric0> i dunno, try it :)
[2010/06/22 17:10:38] @ Quit: sking: Ping timeout: 260 seconds
[2010/06/22 17:13:33] <avocado> is /w 12
[2010/06/22 17:13:49] @ AimanA is now known as HouseAway
[2010/06/22 17:14:13] @ rlpowell joined channel #puppet
[2010/06/22 17:17:55] <rlpowell> Anyone familiar with puppet package type on gentoo?
[2010/06/22 17:20:35] @ Quit: tep: Quit: Leaving.
[2010/06/22 17:21:42] @ MattyM joined channel #puppet
[2010/06/22 17:23:25] @ Quit: beata-: Ping timeout: 264 seconds
[2010/06/22 17:23:35] <PhabX> rlpowell: whats the problem?
[2010/06/22 17:23:56] <rlpowell> PhabX: err: //Node[tm22-s00196]/Psql::Install[tm22-s00196-psql]/Package[postgresql-server]: Failed to retrieve current state of resource: No package found with the specified name [dev-db/postgresql-server]
[2010/06/22 17:24:04] <rlpowell> When there most certainly *is* such a package installed.
[2010/06/22 17:24:21] <PhabX> I was just looking at; http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Gentoo
[2010/06/22 17:24:32] <rlpowell> Yeah, me too.
[2010/06/22 17:24:53] <rlpowell> doing it like the mysql example at the bottom gets me:
[2010/06/22 17:24:58] <PhabX> can you show us your code on pastebin or similar?
[2010/06/22 17:25:03] <rlpowell> err: //Node[tm22-s00196]/Psql::Install[tm22-s00196-psql]/Package[dev-db/postgresql-base]: Failed to retrieve current state of resource: No package found with the specified name [dev-db/dev-db/postgresql-base]
[2010/06/22 17:25:50] <rlpowell> Sure.
[2010/06/22 17:25:51] <rlpowell> http://pastie.org/private/6eam74dmck0pc7vmszzcfg
[2010/06/22 17:26:01] <rlpowell> -- there's more, but that's the relevant bits.
[2010/06/22 17:26:25] <rlpowell> I think I'll just mask out the ones I don't want and remove the category; that seems to work OK.
[2010/06/22 17:26:34] @ ajeeb joined channel #puppet
[2010/06/22 17:26:42] <rlpowell> Note that this is an old version of puppet; 0.24.5
[2010/06/22 17:27:35] @ sking joined channel #puppet
[2010/06/22 17:27:46] <ajeeb> Hello... Newbie questio: How do I "notify" a "service" defined in a module? I tried: notify => Service["ssh::server::sshd"]
[2010/06/22 17:27:55] <ajeeb> but it cannt find the service
[2010/06/22 17:28:20] <sking> ajeeb: your trying to kick sshd when you change the conf or something?
[2010/06/22 17:28:26] <rlpowell> ajeeb: I *think* the thing being notified and the thing doing the notifiying have to be in the same module.
[2010/06/22 17:28:47] @ OpenMedia joined channel #puppet
[2010/06/22 17:29:17] <ajeeb> oh... yeah.. am trying to refresh or restart the sshd service, while I modify sshd.conf in a different module...
[2010/06/22 17:29:32] @ alk` joined channel #puppet
[2010/06/22 17:30:08] <sking> i usually use subscribe => File["name"] on the service
[2010/06/22 17:30:10] <sking> that has worked for me
[2010/06/22 17:30:20] <sking> i started using notify from the file, but haven't tested it yet
[2010/06/22 17:31:19] <ajeeb> actually not modifying sshd.conf, but /etc/ssh/banner.txt... maybe i ll just move that to the ssh module... the thing is the ssh module is from example42.com, and thought i d just not modify those externally brought in modules.. maybe I ll just change it..
[2010/06/22 17:31:20] <rlpowell> err: //Node[tm22-s00196]/Psql::Install[tm22-s00196-psql]/Package[postgresql-server]: Failed to retrieve current state of resource: More than one package with the specified name [postgresql-server], please use the category parameter to disambiguate
[2010/06/22 17:31:29] <sking> docs.puppetlabs.com doesn't acknowledge that the parameter exists for file types, but i see it used online a lot
[2010/06/22 17:31:32] <ajeeb> thanks sking, rlpowell
[2010/06/22 17:31:39] <rlpowell> -- *HEADDESK*. So it fails without the category, and it fails with the category. That's fantastic.
[2010/06/22 17:31:56] @ Quit: LinuxCode: Quit: Connection Closed
[2010/06/22 17:31:56] <sking> hehe
[2010/06/22 17:33:48] @ Quit: pheezy: Remote host closed the connection
[2010/06/22 17:34:21] @ pheezy joined channel #puppet
[2010/06/22 17:34:24] <sking> rlpowell: what you trying to do?
[2010/06/22 17:34:42] <rlpowell> sking: package install on gentoo.
[2010/06/22 17:34:48] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/22 17:35:03] <rlpowell> Actually, the install is fine, but puppet chokes on checking it later.
[2010/06/22 17:35:33] <sking> weird, it seems to think you have defined it twice… did you include two classes that define that package name?
[2010/06/22 17:36:20] <rlpowell> I don't see where you're getting that from?
[2010/06/22 17:36:32] <rlpowell> THat is: why do you think puppet thinks it's defined twice?
[2010/06/22 17:36:44] <sking> "More than one package with the specified name"
[2010/06/22 17:37:05] <rlpowell> Oh.
[2010/06/22 17:37:14] <rlpowell> That has nothing to do with what's in puppet; gento has more than one package with that name.
[2010/06/22 17:37:24] <rlpowell> (and this is, in fact, true)
[2010/06/22 17:37:26] <sking> unless that is more of an error from the gentoo package manager saying there is more than one package in the repo with that name
[2010/06/22 17:37:30] @ Quit: explody: Ping timeout: 240 seconds
[2010/06/22 17:37:33] <sking> ah ok :)
[2010/06/22 17:37:37] <sking> i don't know gentoo very well
[2010/06/22 17:37:49] <rlpowell> This is, unfortunately, a very gentoo-specific problem.
[2010/06/22 17:37:57] <sking> i just make fun of it by saying "emerge happy-server" when the server breaks :p
[2010/06/22 17:37:57] <rlpowell> My work uses it. I have to say I'm not impressed.
[2010/06/22 17:38:01] @ Quit: tjoe: Quit: leaving
[2010/06/22 17:38:13] <rlpowell> It seems to lead to far more yak shaving than it's worth.
[2010/06/22 17:38:17] <sking> we use centos at my work, and i use slackware on my personal stuff, hehe
[2010/06/22 17:38:30] <sking> yeah, thats my impression too
[2010/06/22 17:40:41] @ explody joined channel #puppet
[2010/06/22 17:41:16] <PhabX> rlpowell: thats a weird problem. have you tried not using the category option?
[2010/06/22 17:41:32] <rlpowell> PhabX: err: //Node[tm22-s00196]/Psql::Install[tm22-s00196-psql]/Package[postgresql-server]: Failed to retrieve current state of resource: More than one package with the specified name [postgresql-server], please use the category parameter to disambiguate -- that
[2010/06/22 17:43:12] <PhabX> rlpowell: http://log.onthebrink.de/2008/05/using-puppet-on-gentoo.html check out the bottom section (Managing package installations onGentoo"
[2010/06/22 17:45:27] @ Quit: explody: Ping timeout: 260 seconds
[2010/06/22 17:48:05] <rlpowell> PhabX: Yeah; that requires doing everything *else* on that page. -_-
[2010/06/22 17:48:29] @ explody joined channel #puppet
[2010/06/22 17:49:06] @ Quit: ceren: Ping timeout: 265 seconds
[2010/06/22 17:49:27] @ ceren joined channel #puppet
[2010/06/22 17:50:16] @ plathrop is now known as plathrop-away
[2010/06/22 17:50:43] <rlpowell> PhabX: Upgrading eix actually fixed it.
[2010/06/22 17:51:40] <sking> eix?
[2010/06/22 17:52:27] <rlpowell> gentoo package query thingy.
[2010/06/22 17:53:08] <sking> oh, hehe
[2010/06/22 17:53:10] <sking> crazy gentoo
[2010/06/22 17:53:33] <PhabX> rlpowell: glad i could help even though i just linked you to some junk :)
[2010/06/22 17:53:38] <PhabX> good reading !
[2010/06/22 17:54:10] <rlpowell> THanks. :)
[2010/06/22 17:54:30] @ Quit: ceren: Ping timeout: 272 seconds
[2010/06/22 17:55:55] @ Quit: WALoeIII: Quit: Bai.
[2010/06/22 17:58:14] @ Quit: mqr: Quit: mqr
[2010/06/22 18:04:53] @ andreas__ joined channel #puppet
[2010/06/22 18:06:16] @ Quit: ahasenack: Ping timeout: 252 seconds
[2010/06/22 18:07:15] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/22 18:07:19] @ rlpowell left channel #puppet ()
[2010/06/22 18:08:39] @ ahasenack joined channel #puppet
[2010/06/22 18:08:51] @ jeffmccune joined channel #puppet
[2010/06/22 18:10:32] @ ceren joined channel #puppet
[2010/06/22 18:11:46] @ Quit: andreas__: Ping timeout: 252 seconds
[2010/06/22 18:12:43] @ joe-mac joined channel #puppet
[2010/06/22 18:19:26] @ LinuxCode joined channel #puppet
[2010/06/22 18:19:45] @ thekad is now known as thekad-afk
[2010/06/22 18:20:33] @ PhabX_ joined channel #puppet
[2010/06/22 18:22:21] @ bug joined channel #puppet
[2010/06/22 18:27:08] @ mccune joined channel #puppet
[2010/06/22 18:27:59] @ Quit: ahasenack: Quit: Leaving
[2010/06/22 18:28:46] @ Quit: ceren: Read error: Connection reset by peer
[2010/06/22 18:30:11] <PhabX_> Test
[2010/06/22 18:30:37] @ Quit: PhabX:
[2010/06/22 18:30:37] @ PhabX_ is now known as PhabX
[2010/06/22 18:31:09] @ Quit: jeffmccune: Ping timeout: 265 seconds
[2010/06/22 18:31:09] @ mccune is now known as jeffmccune
[2010/06/22 18:32:10] @ mqr joined channel #puppet
[2010/06/22 18:33:59] @ mqr_ joined channel #puppet
[2010/06/22 18:33:59] @ Quit: mqr: Read error: Connection reset by peer
[2010/06/22 18:34:20] @ bodepd joined channel #puppet
[2010/06/22 18:34:45] @ HouseAway is now known as AimanA
[2010/06/22 18:38:26] @ Quit: andrew3: Quit: Leaving.
[2010/06/22 18:38:26] @ ceren joined channel #puppet
[2010/06/22 18:38:58] @ andrew3 joined channel #puppet
[2010/06/22 18:39:21] @ Quit: andrew3: Client Quit
[2010/06/22 18:40:19] @ Quit: PhabX: Remote host closed the connection
[2010/06/22 18:41:01] @ Quit: ceren: Read error: Connection reset by peer
[2010/06/22 18:41:07] @ ceren joined channel #puppet
[2010/06/22 18:41:22] @ Quit: ceren: Client Quit
[2010/06/22 18:42:44] @ Quit: bodepd: Quit: bodepd
[2010/06/22 18:43:31] @ Quit: joe-mac: Ping timeout: 260 seconds
[2010/06/22 18:43:31] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/22 18:45:32] @ andrew3 joined channel #puppet
[2010/06/22 18:49:31] @ BLZbubba joined channel #puppet
[2010/06/22 18:52:44] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/22 18:52:45] @ rodnet_ joined channel #puppet
[2010/06/22 18:54:49] @ tecto_ joined channel #puppet
[2010/06/22 18:55:03] @ bjaspan joined channel #puppet
[2010/06/22 18:58:13] @ joe-mac joined channel #puppet
[2010/06/22 18:58:46] @ WALoeIII joined channel #puppet
[2010/06/22 18:59:51] @ jaredrhine joined channel #puppet
[2010/06/22 19:02:49] @ Quit: bjaspan: Quit: bjaspan
[2010/06/22 19:04:29] @ p3rror joined channel #puppet
[2010/06/22 19:06:38] @ Quit: avocado: Remote host closed the connection
[2010/06/22 19:07:11] @ herdingcat joined channel #puppet
[2010/06/22 19:08:25] @ Quit: mqr_: Ping timeout: 252 seconds
[2010/06/22 19:08:34] @ Quit: WALoeIII: Remote host closed the connection
[2010/06/22 19:08:50] @ WALoeIII joined channel #puppet
[2010/06/22 19:09:10] @ DmosEmp_ joined channel #puppet
[2010/06/22 19:12:57] @ Quit: joe-mac: Quit: Leaving.
[2010/06/22 19:25:13] @ Quit: andrew3: Ping timeout: 264 seconds
[2010/06/22 19:25:27] @ Quit: proton: Changing host
[2010/06/22 19:25:28] @ proton joined channel #puppet
[2010/06/22 19:26:19] @ Quit: pheezy: Quit: Leaving...
[2010/06/22 19:27:40] @ Quit: giskard: Read error: Operation timed out
[2010/06/22 19:29:12] @ Quit: ajeeb: Read error: Connection reset by peer
[2010/06/22 19:29:16] @ Quit: lutter: Quit: Leaving.
[2010/06/22 19:34:18] @ tecto__ joined channel #puppet
[2010/06/22 19:34:18] @ Quit: tecto__: Changing host
[2010/06/22 19:34:18] @ tecto__ joined channel #puppet
[2010/06/22 19:35:28] @ magnachef joined channel #puppet
[2010/06/22 19:36:11] @ giskard joined channel #puppet
[2010/06/22 19:36:28] @ Quit: tecto_: Ping timeout: 245 seconds
[2010/06/22 19:37:19] @ alexine_dsouza joined channel #puppet
[2010/06/22 19:41:05] @ ceren joined channel #puppet
[2010/06/22 19:41:32] @ Quit: nevyn: Ping timeout: 272 seconds
[2010/06/22 19:42:59] @ nevyn joined channel #puppet
[2010/06/22 19:45:09] @ Quit: swa_work: Read error: Connection reset by peer
[2010/06/22 19:55:32] @ Quit: ceren: Quit: ceren
[2010/06/22 19:58:34] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/22 20:01:56] @ jeffmccune joined channel #puppet
[2010/06/22 20:02:25] @ ceren joined channel #puppet
[2010/06/22 20:02:34] @ alexine_dsouza joined channel #puppet
[2010/06/22 20:03:41] @ bodepd joined channel #puppet
[2010/06/22 20:03:43] @ mccune joined channel #puppet
[2010/06/22 20:05:29] @ Quit: ceren: Client Quit
[2010/06/22 20:06:10] @ Quit: jeffmccune: Ping timeout: 240 seconds
[2010/06/22 20:06:11] @ mccune is now known as jeffmccune
[2010/06/22 20:08:42] @ Quit: sking: Quit: Leaving.
[2010/06/22 20:13:51] @ Quit: jason^: Ping timeout: 240 seconds
[2010/06/22 20:14:51] @ jason^ joined channel #puppet
[2010/06/22 20:31:12] @ Quit: pting: Quit: Ex-Chat
[2010/06/22 20:31:18] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/22 20:31:18] @ Quit: bodepd: Read error: Connection reset by peer
[2010/06/22 20:36:53] @ Quit: ezekiel: Quit: Connection Timeout
[2010/06/22 20:37:22] @ andrew3 joined channel #puppet
[2010/06/22 20:41:08] @ bodepd joined channel #puppet
[2010/06/22 20:41:13] @ jeffmccune joined channel #puppet
[2010/06/22 20:44:04] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/22 20:44:06] @ ezekiel joined channel #puppet
[2010/06/22 20:52:31] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/06/22 20:53:05] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/22 20:53:16] <kgraham> to force an augeas edit of a shellvars file, the context of augeas class would be actual file name
[2010/06/22 20:53:29] <kgraham> ...but what's the proper way to force the shellvars lens onto it?
[2010/06/22 20:55:01] @ pinoyskull joined channel #puppet
[2010/06/22 20:55:03] @ justdave joined channel #puppet
[2010/06/22 20:55:07] @ AimanA is now known as HouseAway
[2010/06/22 20:59:26] @ Quit: bug: Quit: bug
[2010/06/22 21:00:12] @ mqr joined channel #puppet
[2010/06/22 21:05:58] @ bug joined channel #puppet
[2010/06/22 21:09:10] @ Quit: bobinabottle: Quit: bobinabottle
[2010/06/22 21:12:35] @ Quit: p3rror: Ping timeout: 265 seconds
[2010/06/22 21:13:45] @ bobinabottle joined channel #puppet
[2010/06/22 21:18:16] @ Quit: nb: Quit: Leaving
[2010/06/22 21:18:16] @ nb_ is now known as nb
[2010/06/22 21:18:57] @ Quit: erm: Remote host closed the connection
[2010/06/22 21:19:40] @ Quit: nb: Quit: ZNC - http://znc.sourceforge.net
[2010/06/22 21:21:08] @ nb joined channel #puppet
[2010/06/22 21:24:01] @ Quit: nb: Client Quit
[2010/06/22 21:25:06] @ nb joined channel #puppet
[2010/06/22 21:28:25] @ Quit: nb: Client Quit
[2010/06/22 21:31:56] @ ceren joined channel #puppet
[2010/06/22 21:37:33] @ sijis is now known as sijis_afk
[2010/06/22 21:38:05] @ Quit: bodepd: Quit: bodepd
[2010/06/22 21:39:10] @ nb joined channel #puppet
[2010/06/22 21:43:12] @ ceren_ joined channel #puppet
[2010/06/22 21:43:28] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/22 21:45:08] @ jeffmccune joined channel #puppet
[2010/06/22 21:45:51] @ Quit: ceren: Ping timeout: 240 seconds
[2010/06/22 21:47:29] @ Quit: ceren_: Ping timeout: 240 seconds
[2010/06/22 21:52:46] @ nexx joined channel #puppet
[2010/06/22 21:53:51] @ bodepd joined channel #puppet
[2010/06/22 21:53:51] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/22 22:01:29] @ Quit: gm1959:
[2010/06/22 22:02:39] @ bobinabottle_ joined channel #puppet
[2010/06/22 22:04:15] @ Quit: flooose: Ping timeout: 240 seconds
[2010/06/22 22:04:26] @ Quit: bobinabottle: Ping timeout: 260 seconds
[2010/06/22 22:04:27] @ bobinabottle_ is now known as bobinabottle
[2010/06/22 22:05:18] @ jrottenberg joined channel #puppet
[2010/06/22 22:07:41] @ Quit: pinoyskull: Ping timeout: 265 seconds
[2010/06/22 22:12:29] @ Quit: Ju: Quit: Coyote finally caught me
[2010/06/22 22:13:12] @ Djelibeybi joined channel #puppet
[2010/06/22 22:15:15] @ viksay joined channel #puppet
[2010/06/22 22:15:54] <viksay> test123
[2010/06/22 22:17:26] <viksay> i am unable to run dashboard. when i tried to connect via browser it says conection refused
[2010/06/22 22:17:43] <viksay> please help me ,,if anybody listening
[2010/06/22 22:19:11] @ Quit: viksay: Client Quit
[2010/06/22 22:19:12] <fredden> viksay, connection refused suggests there's nothing listening on that address
[2010/06/22 22:19:36] <Djelibeybi> fredden: he disconnected
[2010/06/22 22:19:45] <fredden> yep, just saw that
[2010/06/22 22:19:49] <Djelibeybi> fredden: but I was also going to comment that iptables is probably blocking the port.
[2010/06/22 22:20:07] @ pinoyskull joined channel #puppet
[2010/06/22 22:24:38] <rohanpm> can I extend a fact like `operatingsystem' to add more values, without copy-pasting the existing implementation?
[2010/06/22 22:25:00] @ abnormaliti joined channel #puppet
[2010/06/22 22:25:28] @ Quit: justdave: Ping timeout: 265 seconds
[2010/06/22 22:27:29] @ rmiller4pi8 joined channel #puppet
[2010/06/22 22:32:50] @ Serideru joined channel #puppet
[2010/06/22 22:40:56] @ jrottenberg left channel #puppet ("Leaving")
[2010/06/22 22:42:34] @ Quit: ahuman: Remote host closed the connection
[2010/06/22 22:42:40] @ Quit: bodepd: Quit: bodepd
[2010/06/22 22:42:48] @ DmosEmp_ joined channel #puppet
[2010/06/22 22:49:37] @ Quit: kolla: Remote host closed the connection
[2010/06/22 22:59:04] @ abnormaliti left channel #puppet ()
[2010/06/22 23:00:20] @ bodepd joined channel #puppet
[2010/06/22 23:03:03] @ ckauhaus joined channel #puppet
[2010/06/22 23:05:18] @ Quit: alban21: Quit: Leaving.
[2010/06/22 23:07:42] @ ceren joined channel #puppet
[2010/06/22 23:07:46] @ fredden left channel #puppet ("Leaving")
[2010/06/22 23:08:59] @ Quit: \ask: Remote host closed the connection
[2010/06/22 23:13:10] @ Quit: OpenMedia: Quit: Leaving.
[2010/06/22 23:14:04] @ Quit: andrew3: Quit: Leaving.
[2010/06/22 23:14:11] @ shug joined channel #puppet
[2010/06/22 23:16:59] @ Quit: MattyM: Remote host closed the connection
[2010/06/22 23:21:51] @ pmorillo joined channel #puppet
[2010/06/22 23:23:43] @ mattock joined channel #puppet
[2010/06/22 23:24:52] @ flooose joined channel #puppet
[2010/06/22 23:25:55] @ poison joined channel #puppet
[2010/06/22 23:31:34] @ Quit: rcrowley: Quit: rcrowley
[2010/06/22 23:32:21] @ m1nish joined channel #puppet
[2010/06/22 23:32:45] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/06/22 23:32:52] @ rodnet joined channel #puppet
[2010/06/22 23:34:07] @ Quit: rodnet: Client Quit
[2010/06/22 23:34:09] @ Quit: poison: Remote host closed the connection
[2010/06/22 23:34:56] <nico> morning
[2010/06/22 23:35:15] @ Quit: bodepd: Quit: bodepd
[2010/06/22 23:36:03] @ Quit: WALoeIII: Quit: WALoeIII
[2010/06/22 23:36:12] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/22 23:37:21] @ justdave joined channel #puppet
[2010/06/22 23:41:22] @ WALoeIII joined channel #puppet
[2010/06/22 23:41:46] @ Quit: Serideru: Ping timeout: 264 seconds
[2010/06/22 23:42:50] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/22 23:45:29] @ Quit: giskard: Remote host closed the connection
[2010/06/22 23:50:11] @ kolla joined channel #puppet
[2010/06/22 23:50:39] @ macfly joined channel #puppet

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