Wednesday, 2009-04-29

[2009/04/29 00:08:53] @ Log started by gepetto
[2009/04/29 00:08:53] @ randybia joined channel #puppet
[2009/04/29 00:14:44] @ Shazburg left channel #puppet ()
[2009/04/29 00:25:34] @ Quit: randybias: Read error: 110 (Connection timed out)
[2009/04/29 00:26:00] @ edwardam is now known as edwardam|zZzZz
[2009/04/29 00:32:12] @ Quit: cwebber:
[2009/04/29 00:37:15] @ nakano_ is now known as nakano
[2009/04/29 00:37:53] @ degr8hunt joined channel #puppet
[2009/04/29 00:38:46] @ Quit: yarihm: "Leaving"
[2009/04/29 00:40:05] <degr8hunt> Is there some Puppet community awareness presentation that can be used to spread awareness to different companies to get aware about Puppet and start using it?
[2009/04/29 00:40:19] <degr8hunt> I think lot of companies are wasting their money by not using such programs
[2009/04/29 00:40:34] <degr8hunt> and lacking point is just awareness
[2009/04/29 00:41:09] @ Quit: claymation:
[2009/04/29 00:41:55] @ randybias joined channel #puppet
[2009/04/29 00:47:05] @ Quit: randybia: Read error: 60 (Operation timed out)
[2009/04/29 00:47:14] @ rektide left channel #puppet ()
[2009/04/29 00:49:44] @ andrewcshafer joined channel #puppet
[2009/04/29 00:52:09] @ lapinferoce_ joined channel #puppet
[2009/04/29 00:54:28] @ lapinferoce_ left channel #puppet ("Ex-Chat")
[2009/04/29 01:00:24] @ andrewcshafer_ joined channel #puppet
[2009/04/29 01:08:08] @ mfoster left channel #puppet ()
[2009/04/29 01:09:26] @ randybias is now known as randybias|away
[2009/04/29 01:12:11] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2009/04/29 01:12:32] @ Quit: kingitchy:
[2009/04/29 01:28:51] @ degr8hun1 joined channel #puppet
[2009/04/29 01:30:07] @ WALoeIII joined channel #puppet
[2009/04/29 01:38:45] @ Quit: degr8hun1: Read error: 54 (Connection reset by peer)
[2009/04/29 01:39:18] @ degr8hun1 joined channel #puppet
[2009/04/29 01:47:27] @ Quit: degr8hunt: Read error: 110 (Connection timed out)
[2009/04/29 01:49:47] <jrojas> hmm
[2009/04/29 01:56:47] @ ohadlevy joined channel #puppet
[2009/04/29 01:57:12] @ Quit: andrewcshafer_:
[2009/04/29 01:57:44] @ andrewcshafer joined channel #puppet
[2009/04/29 02:03:36] @ pleemans joined channel #puppet
[2009/04/29 02:09:55] @ kolla_ joined channel #puppet
[2009/04/29 02:10:10] @ Quit: WALoeIII: Read error: 110 (Connection timed out)
[2009/04/29 02:11:07] @ Quit: kolla: Read error: 113 (No route to host)
[2009/04/29 02:14:46] @ lak joined channel #puppet
[2009/04/29 02:25:10] @ Quit: lak:
[2009/04/29 02:30:03] @ kibahop joined channel #puppet
[2009/04/29 02:44:53] @ Quit: erm_: Read error: 60 (Operation timed out)
[2009/04/29 02:45:51] @ erm_ joined channel #puppet
[2009/04/29 02:45:53] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/04/29 02:46:20] @ Quit: kolla_: Remote closed the connection
[2009/04/29 02:46:35] @ kolla joined channel #puppet
[2009/04/29 02:51:07] @ Quit: alban2: Read error: 113 (No route to host)
[2009/04/29 02:55:57] @ lak joined channel #puppet
[2009/04/29 03:02:35] @ nasrat joined channel #puppet
[2009/04/29 03:03:07] @ MarlondB joined channel #puppet
[2009/04/29 03:07:28] @ Quit: phantez: Read error: 113 (No route to host)
[2009/04/29 03:10:01] @ phantez joined channel #puppet
[2009/04/29 03:11:58] @ Quit: phantez: Client Quit
[2009/04/29 03:12:21] @ phantez joined channel #puppet
[2009/04/29 03:14:11] @ Quit: phantez: Client Quit
[2009/04/29 03:15:32] @ Quit: Djelibeybi: "Leaving"
[2009/04/29 03:20:25] @ ghenry joined channel #puppet
[2009/04/29 03:23:02] @ DavidS joined channel #puppet
[2009/04/29 03:33:02] @ phantez joined channel #puppet
[2009/04/29 03:34:34] @ aymerick joined channel #puppet
[2009/04/29 03:44:39] @ DerekW joined channel #puppet
[2009/04/29 03:51:33] @ Quit: punkcut: Read error: 104 (Connection reset by peer)
[2009/04/29 03:51:46] @ MattyM joined channel #puppet
[2009/04/29 03:53:42] @ Quit: lak: Read error: 110 (Connection timed out)
[2009/04/29 04:01:27] @ lak joined channel #puppet
[2009/04/29 04:01:33] @ Innocenti joined channel #puppet
[2009/04/29 04:05:19] @ fbe joined channel #puppet
[2009/04/29 04:06:54] @ Quit: lak:
[2009/04/29 04:09:39] @ tim|mb joined channel #puppet
[2009/04/29 04:10:28] @ Quit: Sakarias: Read error: 104 (Connection reset by peer)
[2009/04/29 04:17:47] @ nik joined channel #puppet
[2009/04/29 04:17:50] @ nik left channel #puppet ()
[2009/04/29 04:17:58] @ tony_ joined channel #puppet
[2009/04/29 04:18:51] @ madrescher joined channel #puppet
[2009/04/29 04:26:11] @ masterzen joined channel #puppet
[2009/04/29 04:26:43] @ madrescher1 joined channel #puppet
[2009/04/29 04:27:15] @ keithlard joined channel #puppet
[2009/04/29 04:27:54] <phantez> hello, masterzen
[2009/04/29 04:27:55] @ Quit: madrescher: Read error: 104 (Connection reset by peer)
[2009/04/29 04:29:10] @ Quit: kolla: Remote closed the connection
[2009/04/29 04:30:41] @ Quit: mccune: Read error: 104 (Connection reset by peer)
[2009/04/29 04:32:41] <masterzen> phantez: hi
[2009/04/29 04:33:26] <masterzen> phantez: did you had a look to the patch for #2207?
[2009/04/29 04:33:26] <gepetto> masterzen: phantez: #2207 is http://projects.reductivelabs.com/issues/show/2207 "Puppet - Bug #2207: Dynamic tags are not detected - ReductiveLabs.com"
[2009/04/29 04:33:43] <phantez> masterzen: yes I did
[2009/04/29 04:33:48] <phantez> I am testing it write now too
[2009/04/29 04:34:05] <masterzen> ok, let me know if that doesn't work :-)
[2009/04/29 04:35:20] <phantez> masterzen: have you tried it ? ^^
[2009/04/29 04:35:53] <phantez> it's working ;)
[2009/04/29 04:36:37] <masterzen> phantez: no I didn't try it, but I was almost sure it was working, because of the unit tests :-)
[2009/04/29 04:37:39] <phantez> masterzen: does a specific version of rails is needed to run test and spec ?
[2009/04/29 04:37:55] <phantez> /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:276:in `load_missing_constant': uninitialized constant Puppet::Rails::Host (NameError)
[2009/04/29 04:38:04] <masterzen> phantez: normally you can run tests without rails
[2009/04/29 04:38:07] @ mattock joined channel #puppet
[2009/04/29 04:38:12] <masterzen> phantez: but it seems someone has broken it.
[2009/04/29 04:39:03] <masterzen> phantez: I _think_ since the async storeconfig patch, they specifically require rails 2.3. I don't think it is right to do so, because I'll have to upgrade my rails install <g>
[2009/04/29 04:39:26] <phantez> okay, I have different computer
[2009/04/29 04:39:38] <phantez> on a debian stable I have less errors and spec works
[2009/04/29 04:39:43] @ mattock left channel #puppet ()
[2009/04/29 04:39:49] <phantez> on CentOS 5.2 more errors in test and spec doesn't work
[2009/04/29 04:40:08] <masterzen> you just need to require 'puppet/rails/host' in the file where the error originates. I think that's in a file in the indirector, is that right?
[2009/04/29 04:40:28] <masterzen> phantez: same version of puppet?
[2009/04/29 04:40:35] <phantez> exactly the master branch
[2009/04/29 04:40:37] <masterzen> I mean on your CentOS and debian?
[2009/04/29 04:40:40] <phantez> yes
[2009/04/29 04:40:42] <phantez> both
[2009/04/29 04:40:56] <masterzen> for rspec to work, you need 1.2.2
[2009/04/29 04:41:05] <phantez> I have the same gem for the two of them
[2009/04/29 04:41:06] <phantez> =)
[2009/04/29 04:41:07] @ Sakarias joined channel #puppet
[2009/04/29 04:41:09] <phantez> not all
[2009/04/29 04:41:13] <phantez> but rspec is the same
[2009/04/29 04:41:21] <phantez> because on CentOS I don't have internet
[2009/04/29 04:43:56] <phantez> http://pastie.org/462221
[2009/04/29 04:44:47] @ Quit: andrewcshafer:
[2009/04/29 04:44:47] <masterzen> phantez: require 'puppet/rails/host' in lib/puppet/indirector/facts/active_record.rb should fix this issue
[2009/04/29 04:45:56] <phantez> It works
[2009/04/29 04:46:28] <phantez> do you want me to commit it ?
[2009/04/29 04:47:45] @ friendly12345 joined channel #puppet
[2009/04/29 04:48:04] <phantez> what should be the name of the branch to commit that kind of thing is a ticket number require ?
[2009/04/29 04:48:56] <phantez> wait a minute I maybe haven't test on the good computer :(
[2009/04/29 04:50:02] <phantez> no that's ok
[2009/04/29 04:50:09] <phantez> too many shell opened I had a doubt ^^
[2009/04/29 04:51:20] @ mikepea joined channel #puppet
[2009/04/29 04:51:49] @ kibaho1 joined channel #puppet
[2009/04/29 04:52:01] @ kibaho1 left channel #puppet ()
[2009/04/29 04:53:32] @ PsychoSid joined channel #puppet
[2009/04/29 05:01:13] <ChoHag> What moron decided that puppet should run with no PATH variable?
[2009/04/29 05:01:25] <ChoHag> Having to fully qualify things in /bin is dumb.
[2009/04/29 05:01:47] * friendly12345 waits for a response to this one
[2009/04/29 05:02:35] <phantez> masterzen: what about the branch name for a such bug ? ticket needed ?
[2009/04/29 05:02:50] <Volcane> ChoHag: what moron decided not to read the docs and notice hte path option in the config?
[2009/04/29 05:03:14] <ChoHag> Yes I know that.
[2009/04/29 05:03:21] <ChoHag> Why isn't it the default?
[2009/04/29 05:03:26] <ChoHag> Even cron has a basic path by default.
[2009/04/29 05:05:35] <masterzen> phantez: branches should be named as 'tickets/<branch>/<ticketnumber>', hence, the tickets/master/2207 name
[2009/04/29 05:06:03] <masterzen> phantez: ah you mean for the require?
[2009/04/29 05:06:05] <phantez> I was speaking about the spec problem ?
[2009/04/29 05:06:06] <phantez> yes
[2009/04/29 05:06:42] <masterzen> phantez: open a new ticket describing the issue with the stack trace an dinformation about your setup (ie rails version...). Then create the branch tickets/master/22XX
[2009/04/29 05:06:53] <masterzen> where XX is the last part of your ticket number :-)
[2009/04/29 05:07:03] <phantez> yep I know this ;)
[2009/04/29 05:07:25] <phantez> Ok, will do that so
[2009/04/29 05:11:51] @ Quit: keithlard:
[2009/04/29 05:15:46] <phantez> masterzen: that kind of patch doesn't require test ? or ?
[2009/04/29 05:16:35] <masterzen> phantez: no it doesn't because it doesn't introduce any new code or modify existing code. It's just a kind of "build" patch.
[2009/04/29 05:17:25] <masterzen> phantez: usually you have to make sure you don't introduce regressions when adding code. That means every tests/specs should still pass after your patch, and that new/modified code is fully covered by spec tests.
[2009/04/29 05:18:10] <masterzen> phantez: as long the tests still pass with your patch, then it's OK. You need to publish the patch on puppet-dev.
[2009/04/29 05:19:35] @ Quit: ohadlevy: "Leaving."
[2009/04/29 05:21:31] <phantez> masterzen: ok I'm doing it
[2009/04/29 05:25:16] @ cedric_b_ joined channel #puppet
[2009/04/29 05:30:33] <phantez> masterzen: about #2207 do you want me to add tests ? or do you prefer to do it yourself ?
[2009/04/29 05:30:33] <gepetto> phantez: masterzen: #2207 is http://projects.reductivelabs.com/issues/show/2207 "Puppet - Bug #2207: Dynamic tags are not detected - ReductiveLabs.com"
[2009/04/29 05:31:25] <masterzen> phantez: I'll do it tonight, but maybe it can even be posted/merged as is as there are tests (not specs) covering the code.
[2009/04/29 05:33:44] <phantez> masterzen: ok
[2009/04/29 05:38:31] <ch> masterzen: haven't had time to rebase against master, so yes, there will be failing tests if auth stuff has changed
[2009/04/29 05:38:47] <ch> masterzen: also, you're right that puppetmasterd --rack will return a rack app from :main
[2009/04/29 05:40:32] <masterzen> ch: thanks for the info. That were just minor comments. I think it'll be merged when lak will review the patch.
[2009/04/29 05:40:47] <ch> well, the duped code needs to get removed, too
[2009/04/29 05:41:19] <ch> propably an artifact of a rebase -i going wrong
[2009/04/29 05:41:43] <masterzen> ch: I read somewhere (puppet-user I guess) that puppet under passenger was much more scalable/fast than puppet on mongrel. As you know this by heart, is that true?
[2009/04/29 05:42:54] <ch> masterzen: it's worth giving it a try in any case. I've seen way better performance for our production setup (but this is 0.24.4 + backported patches)
[2009/04/29 05:43:15] <ch> masterzen: but I haven't got enough reports of people using it, so I can't promise you big hits :)
[2009/04/29 05:43:44] <masterzen> ch: I think I'll try when I'll have a some spare time. That looks promising.
[2009/04/29 05:45:35] @ int joined channel #puppet
[2009/04/29 05:45:49] <ch> fyi, production here is 214 clients, storedconfigs with postgres, ~3GB ram used on a single puppetmaster inside passenger, currently it uses 12 puppetmaster processes to handle all clients (with 30m intervals)
[2009/04/29 05:46:02] @ alban2 joined channel #puppet
[2009/04/29 05:47:34] <ch> someone just posted the other week on -users that they are now using passenger, I /think/ it was someone important
[2009/04/29 05:52:31] <masterzen> nice :-)
[2009/04/29 05:53:48] @ glaw joined channel #puppet
[2009/04/29 05:55:38] @ keithlard joined channel #puppet
[2009/04/29 05:58:53] @ mattock joined channel #puppet
[2009/04/29 06:04:35] @ Quit: mikepea: Read error: 113 (No route to host)
[2009/04/29 06:09:25] @ Quit: phantez: "leaving"
[2009/04/29 06:15:20] @ Quit: madrescher1: Read error: 110 (Connection timed out)
[2009/04/29 06:17:03] <ChoHag> Can you have one exec command supercede another?
[2009/04/29 06:17:11] @ Quit: cedric_b_: Client Quit
[2009/04/29 06:17:25] <ChoHag> eg. if 3 things want to call apache2-reload and 1 wants to call apache-force-reload, can just the latter be performed?
[2009/04/29 06:18:44] @ Quit: pleemans: Read error: 113 (No route to host)
[2009/04/29 06:29:09] <jenza> eek
[2009/04/29 06:31:05] @ Quit: MarlondB:
[2009/04/29 06:31:18] @ MarlondB joined channel #puppet
[2009/04/29 06:38:31] @ Quit: MarlondB:
[2009/04/29 06:40:00] @ mikepea joined channel #puppet
[2009/04/29 06:46:00] @ Quit: Cuchulain: Remote closed the connection
[2009/04/29 06:46:05] @ Cuchulain joined channel #puppet
[2009/04/29 06:47:36] @ mikepea_ joined channel #puppet
[2009/04/29 06:47:51] @ Quit: mikepea: Read error: 113 (No route to host)
[2009/04/29 06:56:03] @ phantez joined channel #puppet
[2009/04/29 06:56:04] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/04/29 06:57:05] @ Quit: d3vilb0x:
[2009/04/29 06:58:23] @ degr8hun1 left channel #puppet ()
[2009/04/29 07:03:30] @ nakano is now known as nakano_
[2009/04/29 07:05:18] @ Quit: mattock: "Leaving."
[2009/04/29 07:06:33] @ kolla joined channel #puppet
[2009/04/29 07:08:17] @ nakano_ is now known as nakano
[2009/04/29 07:15:23] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/04/29 07:33:34] <fluxdude> anyone know in puppet language how I can define a variable in one class but use it in another class?
[2009/04/29 07:33:41] <fluxdude> is class inheritance the only way?
[2009/04/29 07:34:02] <fluxdude> what about using the variable from the other class in an independent define?
[2009/04/29 07:34:23] @ fujin_ joined channel #puppet
[2009/04/29 07:36:12] @ MarlondB joined channel #puppet
[2009/04/29 07:36:23] <Volcane> $otherclass::variable doesnt work for you?
[2009/04/29 07:36:39] @ fujin__ joined channel #puppet
[2009/04/29 07:39:41] <fluxdude> Volcane: tried otherclass;$variable I think, will try this other way...
[2009/04/29 07:39:57] <Volcane> its in the language tuturoal
[2009/04/29 07:39:58] <Volcane> tutorial
[2009/04/29 07:44:21] <fluxdude> thx, will take a while to test, this is a 300 line manifest that is quite complicated...
[2009/04/29 07:45:43] @ Quit: schwagala: Read error: 60 (Operation timed out)
[2009/04/29 07:46:22] @ schwagala joined channel #puppet
[2009/04/29 07:46:44] @ mattock joined channel #puppet
[2009/04/29 07:47:06] <fluxdude> speaking of which, how long would you say that most of your manifests are? what is the longest one you have?
[2009/04/29 07:47:11] <fluxdude> and what does it do?
[2009/04/29 07:47:20] <Volcane> they're all short
[2009/04/29 07:47:26] @ Quit: mattock: Client Quit
[2009/04/29 07:47:37] <Volcane> split into sub classes and so forth and so on
[2009/04/29 07:47:45] <Volcane> makes it much more maintainable
[2009/04/29 07:48:06] <fluxdude> Volcane: yeah most of mine are very short too, usually under 50 lines, or 100 for the more important ones for each service...
[2009/04/29 07:48:20] <fluxdude> Volcane: but all your subclasses for a particular service as in one file, right?
[2009/04/29 07:48:38] <Volcane> i have like foo::install, foo::config, foo::monitor, foo::user, foo::service
[2009/04/29 07:48:40] <Volcane> and foo includes them
[2009/04/29 07:48:45] <Volcane> no, modules
[2009/04/29 07:48:48] <Volcane> each in its own
[2009/04/29 07:49:13] <Volcane> so in above it would be
[2009/04/29 07:49:27] <Volcane> install.pp config.pp, monitor.pp, user.pp etc in modules/foo/manifests
[2009/04/29 07:50:19] <fluxdude> Volcane: isn't the module thing a bit brain damaged? you're creating subdirs all over the place. I have all my manifests in one dir so I can instantly open any of them more at my fingertips...
[2009/04/29 07:50:41] <fluxdude> it's only useful if you put your configs inside your modules and tie them to puppet?
[2009/04/29 07:50:49] <Volcane> i feel the same about modules, i know exactly where they are, all their files are together, their templates are together, and they all function as a unit
[2009/04/29 07:51:06] <Volcane> i can branch just one module into dev/test/etc and work on it there, share just that one module with someone else
[2009/04/29 07:51:13] <fluxdude> my configs are in svn but not under puppet as I would also like the option of using them without puppet in some instances...
[2009/04/29 07:51:54] <Volcane> modules also works very well with environments just generally help you think about tasks rather than monolithic problems
[2009/04/29 07:51:57] <fluxdude> yeah i can see if you want to tar up and give the module dir, with your puppet manifests and your configs to someone...
[2009/04/29 07:52:27] <Volcane> lets say i am about to do some big work on my apache module, i just: svn copy common/modules/apache development/modules/apache
[2009/04/29 07:52:35] <Volcane> and work there, only my dev machines gets the dev module
[2009/04/29 07:52:39] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/04/29 07:52:43] <Volcane> when i am done, merge back to common and delete the dev one
[2009/04/29 07:52:55] <Volcane> and all the associated, files, templates etc everything moves as one
[2009/04/29 07:53:07] <Volcane> so even if i wanted to change templates for my configs, i can confine it to dev
[2009/04/29 07:53:11] @ kibahop left channel #puppet ()
[2009/04/29 07:53:14] <fluxdude> yeah I can see the advantage in doing it this way...
[2009/04/29 07:53:15] @ Quit: fujin_: Read error: 110 (Connection timed out)
[2009/04/29 07:55:26] @ Quit: friendly12345: "Leaving."
[2009/04/29 07:58:30] @ Quit: glaw: ""Remember, information is not knowledge, knowledge is not wisdom, wisdom is not truth, truth is not beauty, beauty is not lov
[2009/04/29 07:59:36] @ d3vilb0x joined channel #puppet
[2009/04/29 08:15:30] @ Quit: mikepea_:
[2009/04/29 08:20:04] @ bajan joined channel #puppet
[2009/04/29 08:23:16] @ fujin__ is now known as fujin
[2009/04/29 08:23:46] @ Quit: Cuchulain: Remote closed the connection
[2009/04/29 08:23:55] @ Cuchulain joined channel #puppet
[2009/04/29 08:25:40] @ Quit: Demosthenes: "leaving"
[2009/04/29 08:30:23] <joe-mac> yea i think i should move my stuff to modules, i currently just have a bunch of classes with subclasses and whatnot, but when i look at all i've done thinking about re-factoring all of it makes me cringe
[2009/04/29 08:30:51] <phantez> who is taking care of the hudson server ?
[2009/04/29 08:32:23] @ kambiz_away is now known as kambiz
[2009/04/29 08:37:43] @ Quit: MarlondB:
[2009/04/29 08:41:33] @ erm_ joined channel #puppet
[2009/04/29 08:51:34] @ Quit: edwardam|zZzZz: Remote closed the connection
[2009/04/29 08:51:35] @ Quit: goacid: Read error: 54 (Connection reset by peer)
[2009/04/29 08:59:38] @ Quit: Sakarias: Remote closed the connection
[2009/04/29 09:02:10] @ Sakarias joined channel #puppet
[2009/04/29 09:02:46] @ glaw joined channel #puppet
[2009/04/29 09:03:34] <masterzen> phantez: jamesturnbull is taking care of it.
[2009/04/29 09:05:36] @ mib_xp5fn4 joined channel #puppet
[2009/04/29 09:08:47] @ Gone is now known as G
[2009/04/29 09:08:54] @ kibahop joined channel #puppet
[2009/04/29 09:10:20] @ kibahop left channel #puppet ()
[2009/04/29 09:12:07] @ Bass10 joined channel #puppet
[2009/04/29 09:12:11] @ mccune joined channel #puppet
[2009/04/29 09:12:13] <phantez> masterzen: I'm trying to set up a correct env for doing the testing, but I would like to know how many errors are in test and spec right know, because the best I can do is on a debian around 7errors
[2009/04/29 09:13:07] <masterzen> you can safely ignore the errors about daemontools and runit providers, they'll soon be fixed by the author of the patch
[2009/04/29 09:13:28] <masterzen> normally, there shouldn't be any errors other than those I cited. Can you pastie them?
[2009/04/29 09:14:04] <phantez> http://pastie.org/462421
[2009/04/29 09:14:15] <phantez> doesn't look like to the kind of error I have
[2009/04/29 09:15:42] @ ethan_rowe joined channel #puppet
[2009/04/29 09:15:49] <phantez> with the same code on my workstation I'm not root so I installed all the package with a prefix (Cent0S 5.2) : 55 errors for test : http://pastie.org/462424
[2009/04/29 09:15:55] <masterzen> the one I was talking about are specs errors.
[2009/04/29 09:16:06] <phantez> you don't have any errors in test ?
[2009/04/29 09:16:25] <masterzen> I know your 1), the 2) and 3) are coming from rails issue, I never saw the last ones.
[2009/04/29 09:16:47] @ edwardam joined channel #puppet
[2009/04/29 09:16:47] <masterzen> 1) is easy to fix, open the test file and replace the 512 by 4096 :-)
[2009/04/29 09:16:59] <masterzen> you are free to send a patch :-)
[2009/04/29 09:17:05] <phantez> ^^
[2009/04/29 09:17:15] @ ashp left channel #puppet ()
[2009/04/29 09:18:28] <phantez> I have a lot of error coming from sqlite3 on my workstation, but I installed sqlite3 and ruby-sqlite3
[2009/04/29 09:18:31] <masterzen> the second one, i think it is missing a confine test somewhere.
[2009/04/29 09:18:45] <phantez> take a look to the second pastie
[2009/04/29 09:18:51] <phantez> you will be horrified =)
[2009/04/29 09:19:04] <phantez> it's what I get on my workstation
[2009/04/29 09:19:23] @ andrewcshafer joined channel #puppet
[2009/04/29 09:19:28] <masterzen> phantez: I also tends to have sqlite3 errors on my macbook, but they trigger only with ruby 1.8.7 and not ruby 1.8.6, so I never bothered fixing those.
[2009/04/29 09:20:26] @ Quit: andrewcshafer: Client Quit
[2009/04/29 09:21:00] <phantez> masterzen: I see
[2009/04/29 09:21:43] <phantez> looks like nobody have build with hudson since at least 1 month
[2009/04/29 09:21:43] <masterzen> are they errors like "invalid request for ..."
[2009/04/29 09:21:51] <phantez> the second pastie
[2009/04/29 09:21:56] <phantez> http://pastie.org/462424
[2009/04/29 09:22:05] <phantez> unable to open database file
[2009/04/29 09:22:12] <masterzen> sorry I missed it the first time you sent it :-(
[2009/04/29 09:22:28] <phantez> ;)
[2009/04/29 09:22:42] <phantez> ruby 1.8.7
[2009/04/29 09:22:53] <phantez> rake 0.8.4
[2009/04/29 09:23:06] <phantez> rspec 1.2.2
[2009/04/29 09:23:09] @ squiddle joined channel #puppet
[2009/04/29 09:23:30] <masterzen> yes, those looks like the ones I have when using ruby 1.8.7.
[2009/04/29 09:23:32] <phantez> mocha 0.9.5
[2009/04/29 09:23:50] <masterzen> I'm more worried about your other failing tests, like the ones on groups and so on...
[2009/04/29 09:24:52] <masterzen> I suggest you to post an e-mail to puppet-dev about those failing tests. Maybe someone will know what to do with this... You can point them to your pastie I guess.
[2009/04/29 09:25:15] <phantez> I m creating a third report based on my node configuration (I'm root on them)
[2009/04/29 09:25:25] <phantez> node = cluster node
[2009/04/29 09:25:59] <fluxdude> is there a way of getting puppet to perform some action but to not log that it actually did that particular action, whether or not it failed?
[2009/04/29 09:26:39] <fluxdude> sounds strange I know, but I have lots of configurations where they perform intermediate steps but may ultimately change nothing, and the puppet logs are full of this mundane stuff....
[2009/04/29 09:27:04] <fluxdude> it would be nice if I had a log where only real changes were shown, do you could immediately see if anything had been updated or not.
[2009/04/29 09:27:27] <fluxdude> action nolog or something similar...
[2009/04/29 09:28:01] @ randybias|away is now known as randybias
[2009/04/29 09:29:15] <masterzen> phantez: you're running the tests as root? That might be the issue...
[2009/04/29 09:29:30] <phantez> no
[2009/04/29 09:29:34] <phantez> user
[2009/04/29 09:29:36] <phantez> only
[2009/04/29 09:30:38] <phantez> except on the cluster and I have 11 errors ^^
[2009/04/29 09:34:07] @ MarlondB joined channel #puppet
[2009/04/29 09:36:50] <phantez> on the cluster node : http://pastie.org/462456
[2009/04/29 09:37:11] <phantez> I will write on the mailing list only about the workstation because it is the worst case and the one I will really use
[2009/04/29 09:38:45] @ Quit: mib_xp5fn4: "http://www.mibbit.com ajax IRC Client"
[2009/04/29 09:38:57] @ axisys joined channel #puppet
[2009/04/29 09:45:01] <DavidS> does anyone know a good doc about ssh+sudo+authorized_keys best practices?
[2009/04/29 09:45:31] @ randybias is now known as randybias|away
[2009/04/29 09:45:36] @ randybias|away is now known as randybias
[2009/04/29 09:45:48] <DavidS> randybias: welcome back ;-)
[2009/04/29 09:45:51] <jenza> Apart from use ssh+sudo+authorized_keys, that's about it :)
[2009/04/29 09:46:18] <DavidS> i'd be especially interested in a discussion about the pros and cons of using nopasswd :)
[2009/04/29 09:46:27] <jenza> I use it cause I'm lazy
[2009/04/29 09:46:49] <tim|mb> DavidS: we dont use nopasswd, because you want security in depth, not just at the front gate
[2009/04/29 09:47:12] <DavidS> i've heard arguments that using nopasswd increases security because the password never leaves the local pc. i.e. enter it once to unlock key and use that key to authorize everywhere
[2009/04/29 09:47:30] <tim|mb> and having people enter their password kinda tells them that they're going to do something with elevated rights, which usually makes them think a little longer before pressing enter
[2009/04/29 09:47:31] <jenza> Wait, nopasswd sudo or ssh keys?
[2009/04/29 09:47:33] <DavidS> tim|mb: and you have different passwords everywhere?
[2009/04/29 09:47:45] <DavidS> jenza: sudo's nopasswd
[2009/04/29 09:47:47] <tim|mb> DavidS: yes
[2009/04/29 09:47:50] @ fdz joined channel #puppet
[2009/04/29 09:47:50] <jenza> right
[2009/04/29 09:48:11] <tim|mb> at least, i have a different passwd for myself at each customer
[2009/04/29 09:48:21] <tim|mb> so if the customer has 80 machines, it's the same on all of those
[2009/04/29 09:48:43] <tim|mb> but we do not allow ssh logins via passwords except on a few machines
[2009/04/29 09:49:23] <tim|mb> so if you know my password, you still cannot use it to login to the server
[2009/04/29 09:49:57] <tim|mb> and for the record, my passwd's are pwgen -s 1 12 outputs
[2009/04/29 09:50:16] <DavidS> eager beaver ;-)
[2009/04/29 09:50:44] <DavidS> I am just in the process of switching to 10 places ...
[2009/04/29 09:50:45] <duritong> DavidS: :)
[2009/04/29 09:51:03] <duritong> if you have a bit of time, so I could as you a question?
[2009/04/29 09:51:24] <tim|mb> DavidS: yeah, I'm a bastard that way :(
[2009/04/29 09:51:35] <DavidS> duritong: always
[2009/04/29 09:51:42] @ Quit: cedric_b: Read error: 110 (Connection timed out)
[2009/04/29 09:52:15] @ cedric_b joined channel #puppet
[2009/04/29 09:53:36] <DavidS> tim|mb: but what use is the password on the server, if noone can log into that account from the outside anyways?
[2009/04/29 09:53:49] <joe-mac> i don't even use passwords
[2009/04/29 09:54:17] <joe-mac> i have a ! in the password field, and only allow keys. except for onme maintenance account, which can't log in except locally via pam, and ssh controls also prevent it for another layer
[2009/04/29 09:54:19] <joe-mac> DiD ftw
[2009/04/29 09:55:19] <joe-mac> so, i am totally with DavidS... i type my ridiculous pass to unlock my key and then don't have to enter it again anywhere, and my local machine has a pretty restrictive firewall
[2009/04/29 09:55:29] @ nakano is now known as nakano_
[2009/04/29 09:55:58] @ bla-bla joined channel #puppet
[2009/04/29 09:58:07] @ lak joined channel #puppet
[2009/04/29 09:58:56] <DavidS> lak: howdy :) already in nuernberg, i see :)
[2009/04/29 09:59:12] @ flakrat joined channel #puppet
[2009/04/29 09:59:38] <DavidS> we were just discussing the ups and downs of using password in the various stages of the local-pc/key/ssh/sudo/root chain ...
[2009/04/29 10:01:04] @ ashp joined channel #puppet
[2009/04/29 10:01:29] <ashp> Hmm, if I want to check if I did 'include nagios::host::whatever' on my node, what's the best way to do that?
[2009/04/29 10:01:42] <ashp> I thought there were.. tags perhaps, that I could set and test again?
[2009/04/29 10:01:58] <ashp> variables aren't global so I can't set that and test elsewhere, and dropping files on the node would be kind of terrible
[2009/04/29 10:02:09] <masterzen> ashp: you mean in a manifest or outside of puppet?
[2009/04/29 10:02:21] <ashp> inside a manifest
[2009/04/29 10:02:30] <ashp> i have various nagios::service{} checks sprinkled through my modules
[2009/04/29 10:02:41] <ashp> but I need to check I actually included nagios on that host or it builds the services with no host statment
[2009/04/29 10:02:59] <masterzen> there's the defined function that test if a resource has already been defined
[2009/04/29 10:03:00] <ashp> so I want to ignore nagios::service{} for hosts that don't include nagios::host::(variousstringsfordifferentnotification)
[2009/04/29 10:03:04] <DavidS> ashp: tagged() on wiki:FunctionReference, but that is manifest-order dependent IIRC
[2009/04/29 10:03:09] <gepetto> DavidS: ashp: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference
[2009/04/29 10:03:15] <ashp> oh there's a defined function
[2009/04/29 10:03:31] <ashp> also davids, thanks for your original nagios module
[2009/04/29 10:03:36] @ randybias is now known as randybias|away
[2009/04/29 10:03:52] <ashp> i now have the most ultra hacked up derivative of that module, but without it i'd have flailed around and failed :)
[2009/04/29 10:04:09] <ashp> ah yeah, it's parse order dependent
[2009/04/29 10:04:15] <ashp> i wonder if node statements would always parse first
[2009/04/29 10:04:19] <masterzen> yes it is...
[2009/04/29 10:04:28] <masterzen> I mean it is parse order dependent
[2009/04/29 10:04:38] <ashp> i assume it's going to parse node stuff, THEN the module statements after that
[2009/04/29 10:04:50] <ashp> so i should be safe to test if defined in the modules? I guess i can go try it and find out the hard way
[2009/04/29 10:04:57] @ Quit: riddley: Remote closed the connection
[2009/04/29 10:05:31] <DavidS> ashp: warn()/err() is also parse-order dependent, you can always use them to test such stuff
[2009/04/29 10:06:05] <DavidS> ashp: have you looked into the new nagios_* types in puppet proper?
[2009/04/29 10:06:41] <ashp> the module that I ended up with uses the nagios_ types
[2009/04/29 10:06:41] <fluxdude> is there a way that I can trgger a function if an exec fails?
[2009/04/29 10:07:00] <fluxdude> i want to make a puppet warning if a very specific exec fails...
[2009/04/29 10:07:19] <DavidS> puppet should abort the transaction if a resource (like exec) fails
[2009/04/29 10:08:31] <tim|mb> DavidS: sorry for the late reply, but as I said, security in depth, not just at the front gate... if someone does find a way to get into my account (eg via another service like apache/php or something), they still need to find out the password before they can do real damage
[2009/04/29 10:09:27] @ Innocenti joined channel #puppet
[2009/04/29 10:09:27] <tim|mb> joe-mac: we use smartcard for our keys and gpg needs, which is even better than a ridiculous password To Rule Them All
[2009/04/29 10:09:30] <DavidS> hmm .. I see your point
[2009/04/29 10:09:53] <tim|mb> DavidS: i think you saw out smartcard when you were at the office in Sittard, right?
[2009/04/29 10:10:08] <DavidS> otoh, the admin accounts I'm gonna create are _only_ for login+sudo; apps should always run under their own accounts
[2009/04/29 10:10:38] <tim|mb> DavidS: true, and they do, but still...
[2009/04/29 10:10:50] <fluxdude> DavidS: that's not really what I am looking for though, as well as aborting naturally, I want to make another func depend on the failure of the exec such that if the exec fails, I have a custom written warning going in to the logs...
[2009/04/29 10:11:04] <joe-mac> hmm smart cards eh? what software is on the back end for that, just a pam plugin or something?
[2009/04/29 10:11:18] <tim|mb> gpg-agent and ssh-agent
[2009/04/29 10:11:49] <joe-mac> so, you just swipe it in a drive in the front of your workstation and it authenticates you?
[2009/04/29 10:11:58] @ randybias|away is now known as randybias
[2009/04/29 10:12:04] <joe-mac> the only smart card setup i've ever seen is on sun balde 100 workstations
[2009/04/29 10:12:39] <tim|mb> no, I have my own, personal laptop with a smartcard reader that allows me to login to servers with the ssh key that's on the card and allows me to decrypt our gpg encrypted shared password files
[2009/04/29 10:13:35] <tim|mb> in effect, if you swipe my laptop, my customers are still as safe as can be, because there's no unencrypted info on there that allows you access of any kind to my customers... that's all on the smartcard that's usually not in the same container as my laptop :)
[2009/04/29 10:13:46] <ChoHag> What's allowed in class names? _, - or both?
[2009/04/29 10:13:53] @ Quit: lak: Read error: 60 (Operation timed out)
[2009/04/29 10:14:02] <ashp> hmm
[2009/04/29 10:14:06] <ashp> if a class inherits another
[2009/04/29 10:14:16] <ashp> can i use defined to test for Class['nagios::target-base'] for example
[2009/04/29 10:14:24] <ashp> if i only included the class that inherits another
[2009/04/29 10:14:31] @ mfoster joined channel #puppet
[2009/04/29 10:14:32] <ashp> i guess i'm saying 'does inheriting count as including'
[2009/04/29 10:16:13] @ lak joined channel #puppet
[2009/04/29 10:17:29] <DavidS> lak: how long will you stay in nuernberg?
[2009/04/29 10:17:38] <lak> saturday morning
[2009/04/29 10:17:44] @ mikepea joined channel #puppet
[2009/04/29 10:18:04] <tim|mb> DavidS: point being, you always have points of entry, but we prefer to have lots of hurdles, just in case something which you considered safe isn't as safe as you thought it was (remember last year's openssh debacle at Debian?)
[2009/04/29 10:18:21] <lak> having trouble getting network access here, i think their dhcp server keeps running out of leases
[2009/04/29 10:19:08] <DavidS> i'm honestly thinking about coming down there (5h30 drive one way) just for a beer in the evening :) What say you?
[2009/04/29 10:19:17] <lak> that'd be great
[2009/04/29 10:19:21] <lak> tonight or tomorrow?
[2009/04/29 10:19:21] <DavidS> tim|mb: touche :)
[2009/04/29 10:19:47] <lak> i'm going to try to catch the arsenal game tonight, so i might be a bit distracted this evening :)
[2009/04/29 10:19:59] <tim|mb> DavidS: what? you're not going to celebrate Queen's Day here in NL tomorrow?? :D
[2009/04/29 10:20:55] <DavidS> lak: friday would be a holiday around here. also I _do_ have to check with my wife too. She's got an upcoming shift this weekend, depending on the timing this might be very easy or very hard ...
[2009/04/29 10:21:23] <lak> ah; friday would be fine, too, i'll probably be a bit bored that day, since i have no plans at all
[2009/04/29 10:21:30] <lak> i might try to rent a bike
[2009/04/29 10:21:41] @ Quit: fdz: "Leaving."
[2009/04/29 10:22:04] <DavidS> that might be fun. I could bring my own :)
[2009/04/29 10:23:26] <DavidS> I'll decide tonight after talking to my wife. Where can i reach you tomorrow?
[2009/04/29 10:24:08] @ Quit: phantez: "leaving"
[2009/04/29 10:25:15] @ Quit: randybias: "Leaving..."
[2009/04/29 10:25:27] <lak> DavidS: msg'ed privately
[2009/04/29 10:27:48] <joe-mac> hmm tim|mb, how did you get your ssh key on the smart card? this setup sounds pretty sweet
[2009/04/29 10:29:46] <tim|mb> joe-mac: http://www.opensc-project.org/opensc/wiki/SecureShell and other docs explain it
[2009/04/29 10:29:58] @ phantez joined channel #puppet
[2009/04/29 10:30:24] <tim|mb> loooong time ago that I set it up
[2009/04/29 10:30:36] @ fdz joined channel #puppet
[2009/04/29 10:30:57] <tim|mb> and honestly, haven't set it up like that on this machine... still on my todo... but that's how my co-workers do it and I used to do it...
[2009/04/29 10:31:08] <tim|mb> so much to do, so little time :)
[2009/04/29 10:31:50] <DavidS> tim|mb: what, no puppet recipe for it? O:-)
[2009/04/29 10:32:08] <tim|mb> DavidS: my macbook isn't puppet-managed :P
[2009/04/29 10:33:52] @ Quit: aymerick: Remote closed the connection
[2009/04/29 10:34:44] @ aymerick joined channel #puppet
[2009/04/29 10:34:45] <joe-mac> hmm looks like all the supported cards support 2k bit rsa keys
[2009/04/29 10:34:57] <joe-mac> mine at 8k bit, maybe my paranoia is a bit too much
[2009/04/29 10:35:13] @ Quit: aymerick: Remote closed the connection
[2009/04/29 10:35:36] @ aymerick joined channel #puppet
[2009/04/29 10:35:40] <DavidS> 8kbit keys but no passwords?
[2009/04/29 10:36:34] <DavidS> tim|mb: final question: do you distribute the password hash via puppet'S user type?
[2009/04/29 10:37:10] <joe-mac> DavidS: the keys have passwords on them
[2009/04/29 10:37:29] <joe-mac> just no sudo pass
[2009/04/29 10:37:52] <DavidS> joe-mac: sorry, misunderstood you then
[2009/04/29 10:38:36] <joe-mac> yea when i said don't even use passwords i meant outside of the local machien
[2009/04/29 10:38:39] <tim|mb> DavidS: no, but I think that's more a matter of "haven't had time to really look into that" than anything else
[2009/04/29 10:38:50] <DavidS> ok
[2009/04/29 10:38:58] <joe-mac> meaning my workstation, which doesn't allow incoming connections to any daemons, so you would need to physically hack the office
[2009/04/29 10:39:37] <DavidS> I've put my key on a usb thumb, since I'm often changing workstations
[2009/04/29 10:39:59] <joe-mac> i c
[2009/04/29 10:40:06] <joe-mac> my workstation is like my puppy
[2009/04/29 10:40:09] <tim|mb> DavidS: there are also usb token thingies that work with opensc
[2009/04/29 10:41:01] <tim|mb> and my co-worker actually looked at usb token stuff that support pin on the device (we still need to enter the pin in the console/popup), which looks promising
[2009/04/29 10:41:26] <DavidS> joe-mac: i hate the switching like hell, but I can't take a pc on the plane :)
[2009/04/29 10:41:33] <tim|mb> and I just noticed that our SPR532 is supported by the latest CCID driver
[2009/04/29 10:41:47] <tim|mb> which would be even more ideal
[2009/04/29 10:48:30] @ Quit: lak: Read error: 110 (Connection timed out)
[2009/04/29 10:48:38] @ Quit: rsquared: "Leaving"
[2009/04/29 10:50:08] <gepetto> ::trac:: Whos Using Puppet edited by trkendall @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet (by T.Kendall@kew.org)
[2009/04/29 10:51:49] @ glaw_ joined channel #puppet
[2009/04/29 10:52:00] @ Quit: bla-bla: Remote closed the connection
[2009/04/29 10:53:10] @ rsquared joined channel #puppet
[2009/04/29 10:53:19] @ rdaugherty joined channel #puppet
[2009/04/29 10:54:27] @ lak joined channel #puppet
[2009/04/29 10:55:08] @ rdaugherty left channel #puppet ()
[2009/04/29 10:56:44] @ Quit: fsweetser: Read error: 54 (Connection reset by peer)
[2009/04/29 10:56:47] <Telmo> when puppet creates a symlink is it a hard or a soft link?
[2009/04/29 10:57:06] <Telmo> I am assuming a soft link but want to make sure
[2009/04/29 10:57:18] <tim|mb> Telmo: yeah, softlink
[2009/04/29 10:57:27] <Telmo> thanks
[2009/04/29 10:57:49] * tim|mb thinks puppet doesn't even know how to create hardlinks without using exec
[2009/04/29 10:58:10] @ cwebber joined channel #puppet
[2009/04/29 10:58:21] @ Quit: tim|mb:
[2009/04/29 10:58:22] <jenza> hardlinks are nasteh
[2009/04/29 10:59:51] @ rdaugherty1 joined channel #puppet
[2009/04/29 11:00:15] <DavidS> jenza: except when ya need em
[2009/04/29 11:01:17] @ Quit: aymerick: Remote closed the connection
[2009/04/29 11:02:09] @ aymerick joined channel #puppet
[2009/04/29 11:02:13] @ fsweetser joined channel #puppet
[2009/04/29 11:04:58] <jenza> I don't ever want to need hard links
[2009/04/29 11:06:06] @ Quit: glaw: Remote closed the connection
[2009/04/29 11:06:46] <DavidS> jenza: some backup tools make good use of them
[2009/04/29 11:07:35] <jenza> Yeah
[2009/04/29 11:07:37] <jenza> icky
[2009/04/29 11:10:23] @ Quit: verwilst: "Ex-Chat"
[2009/04/29 11:11:59] @ claymation joined channel #puppet
[2009/04/29 11:13:14] @ randybias joined channel #puppet
[2009/04/29 11:14:19] @ Quit: edwardam: Read error: 110 (Connection timed out)
[2009/04/29 11:14:19] @ ibt joined channel #puppet
[2009/04/29 11:19:27] @ seph_ joined channel #puppet
[2009/04/29 11:19:31] <sigmonsays> i have a ad hoc environment that is just a mess
[2009/04/29 11:19:45] <sigmonsays> but i'm writing rediculous amount of bash to get the thing functinoal
[2009/04/29 11:19:58] <sigmonsays> i'm thinking about throwing puppet at it
[2009/04/29 11:21:30] <ashp> terrible environments, oh, i hadn't seen you at work but i guess we work together
[2009/04/29 11:23:30] @ jmarki joined channel #puppet
[2009/04/29 11:23:49] @ Quit: PsychoSid: "Leaving."
[2009/04/29 11:24:17] <sigmonsays> heh
[2009/04/29 11:25:52] <DavidS> sigmonsays: recently i mentioned to a client that puppet doesn't reduce the mess, it just enables the same work force to create more mess efficiently (i didn'T use the word "mess" though ;) )
[2009/04/29 11:26:58] <sigmonsays> well i have hundreds of machines ranging from FC4 to FC8 or even 9 I think, who are starting to crash. I have no state of what's installed where, and the only method of management is dsh.
[2009/04/29 11:27:19] <sigmonsays> it's management nightmare
[2009/04/29 11:27:42] <sigmonsays> hosts x y z are down, so they never got feature a, b or c
[2009/04/29 11:27:51] <sigmonsays> but may have d, i dunno
[2009/04/29 11:28:51] @ Quit: Sakarias: "leaving"
[2009/04/29 11:29:00] <sigmonsays> what I need is a ad hoc method of saying "I want package xyz-1.2-3" installed
[2009/04/29 11:29:05] <sigmonsays> i guess that's puppet
[2009/04/29 11:29:40] <DavidS> yeah, that sounds like a site desperately yearning for puppet
[2009/04/29 11:30:19] <Baum> how do i get debian to work with "facter lsbdistcodename"
[2009/04/29 11:30:28] <Baum> in ubuntu i get a intrepid back
[2009/04/29 11:30:36] <DavidS> Baum: install lsb-release package
[2009/04/29 11:30:42] <Baum> ah thx
[2009/04/29 11:31:10] @ Sakarias joined channel #puppet
[2009/04/29 11:33:04] @ Quit: aymerick: Remote closed the connection
[2009/04/29 11:33:19] @ aymerick joined channel #puppet
[2009/04/29 11:37:53] @ victor1 joined channel #puppet
[2009/04/29 11:38:59] <victor1> i am looking to make a check to see if puppet is runing correctly, i am thinking og looking thru its logfile to check for any issues can someone tell me a "term" that i could look for
[2009/04/29 11:39:41] @ fujin_ joined channel #puppet
[2009/04/29 11:39:47] <jenza> err would be a bad term
[2009/04/29 11:40:44] @ Quit: fujin: Nick collision from services.
[2009/04/29 11:40:45] @ fujin_ is now known as fujin
[2009/04/29 11:42:21] @ madrescher joined channel #puppet
[2009/04/29 11:45:40] <Volcane> any recommendations here for GUIs to syslog data in a database (other than splunk)
[2009/04/29 11:46:14] @ fujin_ joined channel #puppet
[2009/04/29 11:46:45] <sigmonsays> i think syslog-ng has one
[2009/04/29 11:46:55] <sigmonsays> but i never used
[2009/04/29 11:47:13] <Volcane> yeah, looked at that one and phplogcon (from rsyslog ppl)
[2009/04/29 11:47:14] <jrojas> Volcane: there really arent that many free sources out there
[2009/04/29 11:47:19] <Volcane> phplogcon looks the nicest between those
[2009/04/29 11:47:31] <Volcane> octopussy is nice, but its more about monitoring and alerting
[2009/04/29 11:48:32] @ fujin__ joined channel #puppet
[2009/04/29 11:48:38] <Volcane> possibly if i filter out *DEBUG* and *TRACE* i might just fit into splunks free licence, with those in its like 300k messages per 7 minutes
[2009/04/29 11:49:21] <sigmonsays> should puppet run fine with ruby 1.9 ?
[2009/04/29 11:49:30] <Volcane> there's a ticket open
[2009/04/29 11:49:44] <sigmonsays> doh. I couldn't find what version its stable with
[2009/04/29 11:50:28] <sigmonsays> 1.8.6 ?
[2009/04/29 11:50:31] <Volcane> recent 1.8 basically
[2009/04/29 11:50:38] <Volcane> client works even on 1.8.1ish machines
[2009/04/29 11:51:02] <sigmonsays> i gotta build ruby from source on some machines
[2009/04/29 11:52:01] <masterzen> puppet runs fine on 1.8.7 and 1.8.6 AFAIK
[2009/04/29 11:52:09] <sigmonsays> word
[2009/04/29 11:52:25] <sigmonsays> thx
[2009/04/29 11:52:30] @ Quit: keithlard:
[2009/04/29 11:52:58] @ randybias is now known as randybias|away
[2009/04/29 11:54:19] @ keithlard joined channel #puppet
[2009/04/29 11:55:15] @ edwardam joined channel #puppet
[2009/04/29 11:55:43] @ vachon joined channel #puppet
[2009/04/29 11:56:03] <vachon> stupid quesiton, can you do puppet:// with a non-modulized file resource?
[2009/04/29 11:56:05] <vachon> i cant get it to work
[2009/04/29 11:56:25] <joe-mac> yes you can, do you have a files acl in your config?
[2009/04/29 11:56:40] <vachon> [files] path=/etc/puppet/files
[2009/04/29 11:56:50] <vachon> the debian defualt version of that conf
[2009/04/29 11:57:21] <vachon> synatx for the source is source => "pupet:///files/pam-su"
[2009/04/29 11:57:29] <vachon> with puppet spelled right
[2009/04/29 11:58:06] <vachon> um, nvm
[2009/04/29 11:58:12] <vachon> it just started working......
[2009/04/29 11:58:29] <vachon> oh wait, no it didnt
[2009/04/29 11:58:30] @ Quit: DerekW: Remote closed the connection
[2009/04/29 11:58:43] @ bajan left channel #puppet ()
[2009/04/29 12:00:10] @ kingitchy joined channel #puppet
[2009/04/29 12:00:16] @ Quit: kingitchy: Read error: 104 (Connection reset by peer)
[2009/04/29 12:00:21] @ kingitchy joined channel #puppet
[2009/04/29 12:00:37] <vachon> ok i got it, apparently you MUST have an allow
[2009/04/29 12:00:38] <vachon> doh
[2009/04/29 12:00:40] @ Quit: Innocenti: Client Quit
[2009/04/29 12:00:52] <joe-mac> yea, you need to allow a domain
[2009/04/29 12:00:54] <joe-mac> or it just won't work
[2009/04/29 12:01:13] <vachon> why do modules then?
[2009/04/29 12:01:29] <joe-mac> your modules work without having an allow acl?
[2009/04/29 12:01:54] @ randybias|away is now known as randybias
[2009/04/29 12:03:24] @ Quit: fdz: "Leaving."
[2009/04/29 12:03:47] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/04/29 12:04:33] @ fdz joined channel #puppet
[2009/04/29 12:04:39] @ Quit: MarlondB:
[2009/04/29 12:05:49] @ Quit: fujin_: Read error: 110 (Connection timed out)
[2009/04/29 12:11:41] @ Quit: alban2: "A bientot"
[2009/04/29 12:14:31] @ Quit: masterzen: "Leaving"
[2009/04/29 12:15:10] @ pheezy joined channel #puppet
[2009/04/29 12:18:02] @ Quit: jmarki: Remote closed the connection
[2009/04/29 12:18:15] @ Quit: blentz_: "Ex-Chat"
[2009/04/29 12:18:24] @ randybias is now known as randybias|away
[2009/04/29 12:18:40] @ andrewcshafer joined channel #puppet
[2009/04/29 12:18:47] @ Quit: glaw_: Remote closed the connection
[2009/04/29 12:19:43] <jrojas> here is a good one, if i define file { backup => false } in site.pp, it throws errors, am I missing something?
[2009/04/29 12:20:38] <DavidS> jrojas: if you want to set a default it has to be File, not file
[2009/04/29 12:20:54] <jrojas> DavidS: heh. its too early for this... thanks.
[2009/04/29 12:21:06] <DavidS> jrojas: early? it's 18:20 O:-)
[2009/04/29 12:21:17] <jrojas> DavidS: im in los angeles.
[2009/04/29 12:22:20] <agaffney> jrojas: it's 09:22 :P
[2009/04/29 12:22:23] <agaffney> that's not too early
[2009/04/29 12:22:28] <jrojas> ive been up since 5am :(
[2009/04/29 12:22:35] <jrojas> and only had one cup of coffee
[2009/04/29 12:27:20] @ wakko666 joined channel #puppet
[2009/04/29 12:27:37] <seph_> I have a define that checks the OS, and then calls another define. I'd like not to pass all the arguments explicitely. Is there an equivlent of ARGV?
[2009/04/29 12:27:38] @ Quit: wakko666: Remote closed the connection
[2009/04/29 12:34:55] @ Quit: d3vilb0x: Remote closed the connection
[2009/04/29 12:35:08] @ d3vilb0x joined channel #puppet
[2009/04/29 12:36:27] @ wakko666 joined channel #puppet
[2009/04/29 12:39:51] @ fujin joined channel #puppet
[2009/04/29 12:40:21] @ Quit: mikepea: Read error: 104 (Connection reset by peer)
[2009/04/29 12:42:36] @ Quit: lak:
[2009/04/29 12:46:04] @ mikepea joined channel #puppet
[2009/04/29 12:46:48] @ Quit: fdz: "Leaving."
[2009/04/29 12:47:23] @ graynor joined channel #puppet
[2009/04/29 12:49:59] @ fujin_ joined channel #puppet
[2009/04/29 12:50:42] @ fujin___ joined channel #puppet
[2009/04/29 12:52:37] @ Quit: phantez: "leaving"
[2009/04/29 12:53:57] @ phantez joined channel #puppet
[2009/04/29 12:54:55] @ Quit: rdaugherty1: "Leaving."
[2009/04/29 12:54:58] @ rdaugherty joined channel #puppet
[2009/04/29 12:55:38] @ Quit: fujin: Read error: 60 (Operation timed out)
[2009/04/29 12:57:03] @ fujin___ is now known as fujin
[2009/04/29 12:57:36] @ Quit: fujin__: Read error: 110 (Connection timed out)
[2009/04/29 13:00:42] @ randybias|away is now known as randybias
[2009/04/29 13:05:08] @ Quit: DavidS: Read error: 104 (Connection reset by peer)
[2009/04/29 13:08:51] @ Quit: fujin:
[2009/04/29 13:08:57] @ Quit: fujin_: Read error: 110 (Connection timed out)
[2009/04/29 13:09:34] @ Tuf8 joined channel #puppet
[2009/04/29 13:10:18] <randybias> DavidS: thx
[2009/04/29 13:11:12] @ Quit: f3ew: Read error: 104 (Connection reset by peer)
[2009/04/29 13:12:44] @ Quit: MattyM: Remote closed the connection
[2009/04/29 13:22:15] @ Quit: keithlard: Remote closed the connection
[2009/04/29 13:22:30] @ keithlard joined channel #puppet
[2009/04/29 13:25:13] @ Quit: andrewcshafer:
[2009/04/29 13:25:39] <vachon> jrojas: yes, the modules worked out of the box
[2009/04/29 13:25:44] <vachon> not sure if debian made that work
[2009/04/29 13:26:46] @ Quit: keithlard: Client Quit
[2009/04/29 13:27:39] @ keithlard joined channel #puppet
[2009/04/29 13:28:06] <jrojas> vachon: ?
[2009/04/29 13:28:18] <vachon> my modules worked without an ACL
[2009/04/29 13:28:23] <vachon> sorry, ran off to get wings
[2009/04/29 13:29:33] @ andrewcshafer joined channel #puppet
[2009/04/29 13:30:15] <jrojas> vachon: hm.....what was the issue again now?
[2009/04/29 13:30:31] @ Quit: wrobel: Read error: 104 (Connection reset by peer)
[2009/04/29 13:30:45] @ wrobel joined channel #puppet
[2009/04/29 13:30:50] <vachon> nothing anymore, but i didnt have a ACL on my fileserver.conf
[2009/04/29 13:30:57] <vachon> so i couldnt do puppets
[2009/04/29 13:31:02] <vachon> *puppet://
[2009/04/29 13:31:08] <vachon> but modules worked by default
[2009/04/29 13:44:14] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/04/29 13:47:52] @ Quit: keithlard:
[2009/04/29 13:53:04] @ keithlard joined channel #puppet
[2009/04/29 13:56:25] @ Quit: alfism: "Connection reset by beer"
[2009/04/29 13:58:43] @ mvn071 joined channel #puppet
[2009/04/29 14:03:00] @ Quit: vachon: "Leaving"
[2009/04/29 14:14:37] @ Quit: sigmonsays: Read error: 110 (Connection timed out)
[2009/04/29 14:15:15] @ sigmonsays joined channel #puppet
[2009/04/29 14:17:24] @ Quit: keithlard:
[2009/04/29 14:17:55] <sigmonsays> will ruby build w/o ssl?
[2009/04/29 14:18:07] <sigmonsays> for some reason puppet won't install because it can't load openssl
[2009/04/29 14:21:39] <ch> it may, but puppet uses ruby's openssl
[2009/04/29 14:23:36] <sigmonsays> heh
[2009/04/29 14:23:41] <sigmonsays> that's what I thought
[2009/04/29 14:24:53] @ harryv joined channel #puppet
[2009/04/29 14:24:55] @ harryv left channel #puppet ()
[2009/04/29 14:26:01] @ Quit: Bass10: "Leaving"
[2009/04/29 14:26:01] @ pleemans joined channel #puppet
[2009/04/29 14:27:21] <sigmonsays> wtf. ruby ./configure doesn't even mention openssl
[2009/04/29 14:27:26] <sigmonsays> i think i'm on crack
[2009/04/29 14:29:34] @ mconigliaro joined channel #puppet
[2009/04/29 14:31:11] @ alban2 joined channel #puppet
[2009/04/29 14:31:27] @ ezmob joined channel #puppet
[2009/04/29 14:34:19] <victor1> my puppet instance does not have a statefile
[2009/04/29 14:34:21] <victor1> wonder why
[2009/04/29 14:34:36] <victor1> "/var/lib/puppet/state/state.yaml is the default i read
[2009/04/29 14:36:06] @ Quit: mvn071: "Leaving"
[2009/04/29 14:38:47] @ GoodStuff joined channel #puppet
[2009/04/29 14:39:48] @ Quit: mccune: "Leaving."
[2009/04/29 14:39:57] @ wilturn joined channel #puppet
[2009/04/29 14:40:18] @ mccune joined channel #puppet
[2009/04/29 14:42:03] <wilturn> I seem to have hit a wall with a puppet issue, and was wondering if anyone has seen an err about not being able to "override local catalog" like this: http://pastie.org/462868
[2009/04/29 14:42:24] <wilturn> I cant seem to find which file it's even referencing
[2009/04/29 14:46:51] <jrojas> wilturn: Exported resource File[/var/lib/puppet/modules/munin/nodes/archive1.gaggle.net_4949] cannot override local resource on node syslog1.gaggle.net
[2009/04/29 14:47:16] <jrojas> permissions issue?
[2009/04/29 14:47:48] @ briandquinn joined channel #puppet
[2009/04/29 14:48:03] <wilturn> jrojas, is it clear from that issue that the file being referenced is on the local (puppet target) not master? I can find/remove that file on the target machine but what I do doesn't seem to change the run
[2009/04/29 14:48:16] <ch> this basically says, that you've got the resource /var/lib/puppet/modules/munin/nodes/archive1.gaggle.net_4949 defined twice, once via storedconfig and once directly in the manifest of syslog1.gaggle.net
[2009/04/29 14:49:18] <wilturn> Thank you guys, I think I know where to dig now
[2009/04/29 14:56:16] @ k0001 joined channel #puppet
[2009/04/29 14:57:07] @ alfism joined channel #puppet
[2009/04/29 15:05:44] @ bla-bla joined channel #puppet
[2009/04/29 15:08:12] @ randybias is now known as randybias|away
[2009/04/29 15:08:41] <victor1> my puppet instance does not have a statefile "/var/lib/puppet/state/state.yaml is the default i read any ideas?
[2009/04/29 15:09:50] @ sub_ joined channel #puppet
[2009/04/29 15:11:38] <victor1> hello
[2009/04/29 15:11:39] <victor1> ?///////
[2009/04/29 15:12:34] @ Quit: alban2: Read error: 113 (No route to host)
[2009/04/29 15:12:48] @ Quit: sub: Connection timed out
[2009/04/29 15:15:00] <joe-mac> victor1: in your /etc/puppet/puppet.conf what is vardir set to?
[2009/04/29 15:15:17] <victor1> /var/lib/puppet
[2009/04/29 15:15:25] <joe-mac> what user owns it?
[2009/04/29 15:15:36] <victor1> ll /var/lib/puppet/state/state.yaml
[2009/04/29 15:15:37] <victor1> -rw-r--r-- 1 root root 0 Apr 29 23:56 /var/lib/puppet/state/state.yaml
[2009/04/29 15:15:40] <victor1> got it
[2009/04/29 15:15:54] <victor1> oh wait
[2009/04/29 15:15:59] <victor1> it didnt exist
[2009/04/29 15:16:03] <victor1> i created it
[2009/04/29 15:16:05] <victor1> using touch
[2009/04/29 15:17:10] <joe-mac> well, that should get created by puppetd when it runs...
[2009/04/29 15:17:47] @ jo joined channel #puppet
[2009/04/29 15:19:50] @ Quit: sub_: "leaving"
[2009/04/29 15:20:03] @ Quit: seph_:
[2009/04/29 15:23:55] @ minaural joined channel #puppet
[2009/04/29 15:26:42] @ alban2 joined channel #puppet
[2009/04/29 15:33:49] <wilturn> btw, on my error.. No clue how it happened, but my puppet.resources table ended up with a few cases where we had dupes on the rows (title, restype, source_file_id identical).. Removing the dupes lets puppet run cleanly on my node now.. Thanks for the help!
[2009/04/29 15:42:47] <jbooth> How do I do a find on a hash in ruby?
[2009/04/29 15:43:07] <jbooth> It includes enumerable but then goes off each, which means I get keys and values...
[2009/04/29 15:43:15] <jbooth> I can next if the class is symbol but that's stupid
[2009/04/29 15:44:10] <wilturn> jbooth, I'd just iterate thru the keys/vals matching with eql? till I found what I wanted
[2009/04/29 15:44:48] <jbooth> I shouldn't need to
[2009/04/29 15:44:54] <jbooth> There should be a construct in the language to do this
[2009/04/29 15:46:49] @ Quit: kolla: Remote closed the connection
[2009/04/29 15:47:26] @ fbe joined channel #puppet
[2009/04/29 15:48:18] <wilturn> well.. hash.value?(value) lets you know if the value exists.. finding the corresponding key is another story
[2009/04/29 15:48:23] @ madrescher1 joined channel #puppet
[2009/04/29 15:48:53] @ Quit: madrescher: Read error: 104 (Connection reset by peer)
[2009/04/29 15:50:24] <jbooth> Only if I can compute the value. I've got a hash of hashes of arrays
[2009/04/29 15:50:38] <jbooth> Sorry. Hash of hash of array of hash.
[2009/04/29 15:50:42] <jbooth> And I need to search the last hash.
[2009/04/29 15:50:54] * jbooth thinks maybe I need to redesign my datastructure.
[2009/04/29 16:00:11] @ Quit: londo: Remote closed the connection
[2009/04/29 16:01:02] @ londo joined channel #puppet
[2009/04/29 16:04:22] <jrojas> whooohoo http://pastie.org/462989
[2009/04/29 16:04:59] <agaffney> now that's a load average
[2009/04/29 16:06:53] @ Quit: axisys: Read error: 60 (Operation timed out)
[2009/04/29 16:06:56] @ Quit: londo: Remote closed the connection
[2009/04/29 16:08:51] <pheezy> puppet only has clients pull right, there is no way to have the puppetmaster push?
[2009/04/29 16:10:03] <wilturn> pheezy, I think the only way to make that happen is by turning up the client to do checks of the master.. no real push down method
[2009/04/29 16:10:12] <pheezy> right
[2009/04/29 16:11:48] <Cuchulain> have you seen puppetrun?
[2009/04/29 16:16:58] @ Quit: briandquinn:
[2009/04/29 16:19:14] <jrojas> Cuchulain: and ralsh
[2009/04/29 16:21:05] @ Quit: machpo: Read error: 54 (Connection reset by peer)
[2009/04/29 16:25:28] @ machpo joined channel #puppet
[2009/04/29 16:36:41] @ Quit: kingitchy:
[2009/04/29 16:41:30] @ kambiz is now known as kambiz_away
[2009/04/29 16:41:32] @ kolla joined channel #puppet
[2009/04/29 16:43:16] <joe-mac> what does ralsh have to do with that?
[2009/04/29 16:43:36] <joe-mac> wow that load average is awe-inspiring
[2009/04/29 16:44:17] <spheromak> you can initiate a pull with puppetrun
[2009/04/29 16:45:27] @ Quit: happymcplaksin: Remote closed the connection
[2009/04/29 16:46:06] <joe-mac> yea?
[2009/04/29 16:46:15] <joe-mac> what does ralsh have to do with that?
[2009/04/29 16:46:45] @ Quit: edwardam: "So much for a vacation...."
[2009/04/29 16:46:58] @ edwardam joined channel #puppet
[2009/04/29 16:47:03] @ kingitchy joined channel #puppet
[2009/04/29 16:47:09] @ happymcplaksin joined channel #puppet
[2009/04/29 16:48:06] @ bobbyz joined channel #puppet
[2009/04/29 16:49:31] @ Quit: k0001: "Leaving."
[2009/04/29 16:50:01] @ rdaugherty left channel #puppet ()
[2009/04/29 16:52:03] <jrojas> joe-mac: ralsh can be used to run commands on hosts
[2009/04/29 16:52:32] <joe-mac> i thought it just turned system objects into puppet code? how do you run commands on hosts with it
[2009/04/29 16:52:41] <jrojas> --host or something
[2009/04/29 16:52:45] <jrojas> i think its undocumented
[2009/04/29 16:53:15] <joe-mac> o i c
[2009/04/29 16:53:19] <jrojas> joe-mac: actually it is there
[2009/04/29 16:53:22] <jrojas> in 0.25
[2009/04/29 16:53:59] <jrojas> err..actually it just retrieves it from remote hosts
[2009/04/29 16:54:17] <joe-mac> i c, yea that's cutting edge puppet
[2009/04/29 16:54:31] <joe-mac> i use ubuntu lts, so i am on .24.4
[2009/04/29 16:57:37] @ Quit: elijahwright: Remote closed the connection
[2009/04/29 16:58:53] @ londo joined channel #puppet
[2009/04/29 16:59:12] @ Quit: andrewcshafer:
[2009/04/29 17:02:13] @ andrewcshafer joined channel #puppet
[2009/04/29 17:06:44] @ briandqui joined channel #puppet
[2009/04/29 17:07:23] @ oxtail joined channel #puppet
[2009/04/29 17:12:49] @ andrewcshafer_ joined channel #puppet
[2009/04/29 17:15:34] <ibt> is there a builtin helper for creating a single file from many others?
[2009/04/29 17:15:53] @ Quit: omry|work: Read error: 60 (Operation timed out)
[2009/04/29 17:16:17] <ibt> i want to collect a lot of resources, concatenate them and store the result in a file (this is for ~user/.ssh/authorized_keys
[2009/04/29 17:16:58] @ randybias|away is now known as randybias
[2009/04/29 17:24:32] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2009/04/29 17:28:02] @ Quit: edwardam: "So much for a vacation...."
[2009/04/29 17:28:03] @ Quit: josb:
[2009/04/29 17:29:46] @ axisys joined channel #puppet
[2009/04/29 17:31:19] @ Quit: pleemans: Read error: 113 (No route to host)
[2009/04/29 17:33:52] <jbooth> ibt: no
[2009/04/29 17:34:05] <jbooth> ibt: some folks have written their own, including me
[2009/04/29 17:34:08] @ edwardam joined channel #puppet
[2009/04/29 17:34:20] <ibt> okay, thanks
[2009/04/29 17:34:48] <jbooth> ibt: I'd share if you want
[2009/04/29 17:34:58] <jbooth> ibt: I have before, but I'm not sure I could find it
[2009/04/29 17:36:55] @ Djelibeybi joined channel #puppet
[2009/04/29 17:40:17] @ elijahwright joined channel #puppet
[2009/04/29 17:42:30] <ibt> nah, i think i figured out that i didn't really want to do that anyway
[2009/04/29 17:45:22] @ Quit: axisys: Read error: 104 (Connection reset by peer)
[2009/04/29 17:47:28] @ randybias is now known as randybias|away
[2009/04/29 17:49:54] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client"
[2009/04/29 17:50:20] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/04/29 17:50:49] @ Quit: briandqui: Remote closed the connection
[2009/04/29 17:50:56] @ Quit: alfism: "Connection reset by beer"
[2009/04/29 17:52:30] <ibt> i'm collecting resources and i keep getting this 'Must pass retention to [hostname]- of type [type collected on]"
[2009/04/29 17:53:21] <ibt> anyone know what that is all about?
[2009/04/29 17:57:22] @ justindossey joined channel #puppet
[2009/04/29 17:59:52] @ randybias|away is now known as randybias
[2009/04/29 18:01:06] <agaffney> are there any schools of thought on running puppetd vs 'puppetd -o' via cron?
[2009/04/29 18:01:38] <agaffney> I'm having issues with puppetd dying when it tries to restart itself after a puppuet.conf update
[2009/04/29 18:01:58] <agaffney> the puppet init script goes to kill puppet which kills the service restart leaving it not running
[2009/04/29 18:02:13] <agaffney> I'm not sure exactly what/why it's happening, but I've had to manually start puppetd on half my boxes this morning
[2009/04/29 18:06:00] <justindossey> agaffney: my init script (on gentoo) explicitly removes the pid file after stopping puppetd. Does yours?
[2009/04/29 18:06:28] <agaffney> this is on centos
[2009/04/29 18:06:46] <agaffney> the initscript just does 'killproc puppetd'
[2009/04/29 18:07:07] <Djelibeybi> agaffney: Yeah, I have the same. I have a cronjob that checks if puppet is running and restarts it if necessary
[2009/04/29 18:07:24] <Djelibeybi> agaffney: Though, I'm considering moving to a cronjob for puppetd -o because of the memory leak in ruby on EL5
[2009/04/29 18:07:43] <justindossey> I have a centos machine too; it has a line in the stop() routine that removes the pidfile: [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
[2009/04/29 18:08:30] <agaffney> Djelibeybi: if you're going that far, you might as well just switch to the cron method all together :P
[2009/04/29 18:09:12] <Djelibeybi> agaffney: yes, that's what I mean.
[2009/04/29 18:09:59] * agaffney ponder using puppet to push out that cron job
[2009/04/29 18:10:03] @ Quit: int: Read error: 104 (Connection reset by peer)
[2009/04/29 18:10:05] <oxtail> anyone here using naginator / nagios_* types? the naginator trac page seems to have been taken down, anyone know why?
[2009/04/29 18:10:05] <justindossey> here's my take on the cron method: running as a daemon will use fewer resources on your system than running it via cron, so it's better to use the daemon method unless you have issues with it
[2009/04/29 18:10:41] <agaffney> justindossey: fewer resources? how so?
[2009/04/29 18:11:11] <justindossey> well, when you start it, it has to load a bunch of ruby files into memory before it can actually do anything
[2009/04/29 18:11:36] <agaffney> sure, and then it frees that memory when it's done :P
[2009/04/29 18:11:46] <agaffney> it's only the startup time that's a little higher
[2009/04/29 18:12:05] <Djelibeybi> justindossey: actually, on EL5 it appears that the Puppet daemon is a memory leak.
[2009/04/29 18:12:13] <justindossey> Correct. Startup time is higher because of all that I/O
[2009/04/29 18:12:19] <Djelibeybi> justindossey: so, it'll actually use less resources over time if you run it via cron.
[2009/04/29 18:12:35] <agaffney> justindossey: although, chances are those files will be cached still from the previous run
[2009/04/29 18:12:38] <justindossey> Djelibeybi: right, that falls into the "unless you have issues with it" clause
[2009/04/29 18:13:00] <justindossey> agaffney: it's possible they will be-- depends on many factors
[2009/04/29 18:13:13] <agaffney> anyway...the startup time isn't *that* big of an issue
[2009/04/29 18:13:24] <agaffney> we're talking an extra 1s at most on any modern hardware
[2009/04/29 18:13:32] <agaffney> once every 30m
[2009/04/29 18:13:48] <justindossey> agaffney: yup, that's right
[2009/04/29 18:14:05] <agaffney> I think I'll switch to cron
[2009/04/29 18:14:16] <Cuchulain> worrying about startup time seems like premature optimisation
[2009/04/29 18:15:11] <justindossey> Sure, but ignoring it is just as foolish
[2009/04/29 18:15:51] <justindossey> and the answer to "what's the difference" is performance
[2009/04/29 18:16:23] <Cuchulain> yes, but it will entirely depend on individual server configurations as to whether it's a practical difference or not
[2009/04/29 18:16:41] <justindossey> There's also the "all your clients hit the server at the same instant unless you build some random delay into the cron entry"
[2009/04/29 18:17:11] <Cuchulain> which is trivial to do.
[2009/04/29 18:17:13] <justindossey> Cuchulain: right, which is why there's no right or wrong here, just differences to be appreciated
[2009/04/29 18:17:19] <Cuchulain> yep
[2009/04/29 18:17:32] @ Quit: pheezy: Remote closed the connection
[2009/04/29 18:17:42] <Cuchulain> and all i'm saying is worrying about startup time / io is meaningless until you've actually worked out whether it's a problem
[2009/04/29 18:18:09] <Cuchulain> whereas memory leaks are definitely a problem on RHEL5, it seems :)
[2009/04/29 18:18:43] <Cuchulain> if you cron a restart of puppetd (to circumvent the memory leak) doesn't that also result in some synchronisation of client requests?
[2009/04/29 18:19:13] <justindossey> I actually came here because of a problem I'm having on gentoo-- I have puppetd running on about 25 machines, and one one of them it hangs after loading package resources
[2009/04/29 18:20:28] <justindossey> this isn't the eix with the nocolor bug either-- it's strange
[2009/04/29 18:20:37] <Djelibeybi> Cuchulain: you'd need to inject some randomness into the cron entries for your clients to pseudo-splay them
[2009/04/29 18:20:39] <agaffney> Cuchulain: actually, I think he was cron'ing the restart because puppet tended to kill itself when trying to restart itself
[2009/04/29 18:21:00] <agaffney> as I've experienced
[2009/04/29 18:21:18] <agaffney> there's no need for randomness
[2009/04/29 18:21:33] <agaffney> just push out the cron job for */30
[2009/04/29 18:21:39] <agaffney> they'll pick it up at different times
[2009/04/29 18:21:56] <agaffney> err, */2
[2009/04/29 18:22:11] * agaffney thinks about that
[2009/04/29 18:22:26] <Djelibeybi> agaffney: hmm? That will get every machine to cron at 30 minutes past the hour
[2009/04/29 18:22:36] <Djelibeybi> So, assuming time sync on your network, they'll all hit at once
[2009/04/29 18:22:42] <agaffney> no, '30 * * * *' would
[2009/04/29 18:23:02] <Djelibeybi> */30 will too
[2009/04/29 18:23:41] <agaffney> hmm
[2009/04/29 18:25:09] <Djelibeybi> */30 just means "every half hour on the half-hour", i.e. at *:00 and *:30
[2009/04/29 18:26:43] <justindossey> not a big deal to call a random sleeper though-- even a one-line ruby script like this: sleep(rand((ARGV[0] || 60).to_i)) could allow for the sleepage
[2009/04/29 18:27:16] @ kingitchy_ joined channel #puppet
[2009/04/29 18:27:25] <agaffney> */30 * * * * sleep $(echo $RANDOM%1800)s && puppetd -o
[2009/04/29 18:27:34] <justindossey> ditto
[2009/04/29 18:28:25] <agaffney> sleep $(($RANDOM%1800))s && puppetd -i
[2009/04/29 18:28:26] @ dtdionne joined channel #puppet
[2009/04/29 18:28:26] <agaffney> err, -o
[2009/04/29 18:28:32] <agaffney> that one actually works :P
[2009/04/29 18:29:04] <justindossey> hey, mine works too
[2009/04/29 18:29:12] <agaffney> I meant compared to my first one :)
[2009/04/29 18:29:23] <justindossey> ah
[2009/04/29 18:29:58] <dtdionne> i hate to do this but im pulling my hair out...could someone help me? i can't get puppetmasterd to start and ive cornered it to the point that it fails to start becuase it tries to reverse 0.0.0.0 and cant, so it fails...steam is streaming out my ears
[2009/04/29 18:30:14] <agaffney> dtdionne: what error are you getting?
[2009/04/29 18:30:41] <dtdionne> Could not start WEBrick: getnameinfo: Temporary failure in name resolution
[2009/04/29 18:30:54] <agaffney> if your DNS resolution working?
[2009/04/29 18:31:00] <dtdionne> yes
[2009/04/29 18:31:01] <agaffney> s/if/is/
[2009/04/29 18:31:29] <dtdionne> ?
[2009/04/29 18:32:56] <dtdionne> am i still connected?
[2009/04/29 18:33:04] <justindossey> heh
[2009/04/29 18:33:07] <justindossey> "Is this thing on?"
[2009/04/29 18:33:24] <justindossey> Does the output of hostname, hostname -f, and hostname -i match what it should?
[2009/04/29 18:33:33] <dtdionne> hehe...
[2009/04/29 18:33:36] <dtdionne> yes
[2009/04/29 18:33:51] <dtdionne> all forward and reverse dns works...
[2009/04/29 18:34:08] <justindossey> is it set up to think of itself as hostname "puppet"?
[2009/04/29 18:34:18] <justindossey> I know mine defaulted to that
[2009/04/29 18:34:21] <dtdionne> to the point that my tcpdumps show that it works and then pmd REDICULIOUSLY trys to revers 0.0.0.0
[2009/04/29 18:34:41] @ axisys joined channel #puppet
[2009/04/29 18:34:53] <justindossey> right, so the question is how does it get to that point
[2009/04/29 18:34:57] <dtdionne> yes, puppet
[2009/04/29 18:35:06] <justindossey> is ruby built with ipv6 support?
[2009/04/29 18:35:11] <justindossey> (your ruby)
[2009/04/29 18:35:14] <dtdionne> thats why im here
[2009/04/29 18:35:29] <dtdionne> im not sure, i installed the rhel4 rpm
[2009/04/29 18:35:44] <dtdionne> now i am using virtual nics
[2009/04/29 18:35:47] <dtdionne> ie
[2009/04/29 18:35:50] <dtdionne> eth0:0
[2009/04/29 18:36:28] <dtdionne> and when i do a puppetd test it complains about device eth0:0 not existing but im not sure thats related, once I start puppet the test seems to work ok
[2009/04/29 18:36:41] @ Quit: ghenry: Remote closed the connection
[2009/04/29 18:37:51] <justindossey> I'm digging around in the source code
[2009/04/29 18:38:00] <dtdionne> k
[2009/04/29 18:38:05] @ Quit: claymation:
[2009/04/29 18:39:18] <justindossey> Looks like you can get a bit more info if you turn on Puppet[:trace]
[2009/04/29 18:39:25] <dtdionne> i do know that standard rhel4 installs have ipv6 enabled, im checking to see if its enabled on these boxes...i had to tunnel out to connect to irc and it killed all my ssh sessions
[2009/04/29 18:39:33] @ Quit: kingitchy: Read error: 110 (Connection timed out)
[2009/04/29 18:39:46] <dtdionne> puppetmasterd --trace --debug --verbose --no-daemonize
[2009/04/29 18:39:46] <dtdionne> info: Starting server for Puppet version 0.24.8
[2009/04/29 18:39:46] <dtdionne> debug: Creating default schedules
[2009/04/29 18:39:46] <dtdionne> debug: Failed to load library 'shadow' for feature 'libshadow'
[2009/04/29 18:39:46] <dtdionne> debug: Failed to load library 'ldap' for feature 'ldap'
[2009/04/29 18:39:46] @ Quit: dtdionne: Excess Flood
[2009/04/29 18:40:09] @ dtdionne joined channel #puppet
[2009/04/29 18:40:15] <dtdionne> oops
[2009/04/29 18:40:21] @ randybias is now known as randybias|away
[2009/04/29 18:40:27] <ibt> i can't even find where this message is generated in the source: "err: Could not retrieve catalog: Must pass retention to"
[2009/04/29 18:41:32] <dtdionne> yes, ipv6 is enabled
[2009/04/29 18:41:45] <justindossey> all we're looking for is the backtrace from the lookup error
[2009/04/29 18:42:13] <dtdionne> or i should say eth0 and lo have ipv6 enabled
[2009/04/29 18:42:40] <dtdionne> is there anything i can do to help get you that information?
[2009/04/29 18:43:10] <justindossey> well, the puppetmaster is what's exiting with the error, so if you run it with --trace, hopefully it will print the backtrace when it dies
[2009/04/29 18:43:22] <dtdionne> are there any known issues with running puppet on an esx server with virtual nics?
[2009/04/29 18:43:36] <dtdionne> stdby
[2009/04/29 18:43:42] <justindossey> shouldn't be any problem-- my puppetmaster is a virtual server with a virtual nic
[2009/04/29 18:43:55] <justindossey> what does facter say your ipaddress is?
[2009/04/29 18:45:00] <justindossey> I actually don't need to know the IP, just that it's the one you think it should be
[2009/04/29 18:45:15] * alban2 is away: ZZzzZZzzzZzzzzzz....
[2009/04/29 18:45:27] <dtdionne> how can i find out what facter things my ip addr is?
[2009/04/29 18:45:37] <dtdionne> can i post the stack trace here?
[2009/04/29 18:45:41] <agaffney> dtdionne: run 'facter'
[2009/04/29 18:45:49] <agaffney> dtdionne: only if you pastebin it :P
[2009/04/29 18:46:06] <dtdionne> what's that mean?
[2009/04/29 18:46:32] <dtdionne> puppetmasterd --trace
[2009/04/29 18:46:35] <dtdionne> Could not start WEBrick: getnameinfo: Temporary failure in name resolution
[2009/04/29 18:46:56] <wilturn> try hardcoding in /etc/hosts?
[2009/04/29 18:47:03] <dtdionne> i did
[2009/04/29 18:47:08] <agaffney> huh, that's weird
[2009/04/29 18:47:10] @ randybias|away is now known as randybias
[2009/04/29 18:47:21] <agaffney> when I run 'facter', I see both 'ipaddress' and 'ipaddress_eth0'
[2009/04/29 18:47:23] <dtdionne> no doubt, i havent felt this whipped in years
[2009/04/29 18:47:36] <agaffney> but when I run 'facter ipaddress_eth0', it doesn't return anything....'facter ipaddress' works fine
[2009/04/29 18:47:40] <justindossey> Ugh. Maybe just put "bindaddress 1.2.3.4" or whatever your IP is in /etc/puppet/puppet.conf
[2009/04/29 18:47:58] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/04/29 18:48:12] <wilturn> which stops him from serving over multiple ifaces/routes I assume?
[2009/04/29 18:48:25] <justindossey> wilturn: yup
[2009/04/29 18:48:26] <dtdionne> facter shows both correct ip's for eth0 and eth0:0 but it shows eth0:0 as eth0_0
[2009/04/29 18:48:46] <dtdionne> i can try that
[2009/04/29 18:48:51] <dtdionne> is that the syntax?
[2009/04/29 18:49:07] <dtdionne> bindaddress ipaddy
[2009/04/29 18:49:07] <justindossey> that's what I gather from http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference
[2009/04/29 18:49:21] <dtdionne> stdby
[2009/04/29 18:49:22] <justindossey> i'm a relative noob myself, which is why I'm so prolific with the advice ;)
[2009/04/29 18:50:03] <justindossey> That is, I know unix and linux really well but I just started with puppet in the last week or so
[2009/04/29 18:50:09] <agaffney> same here
[2009/04/29 18:50:14] <dtdionne> dude, the fact that you and anyone else is even here to let me vent is HUGE, so no worries
[2009/04/29 18:50:17] <wilturn> I ran into issues with it binding on ethernet aliases myself, but we wound up fixing with a sledgehammer ala proper vlans and writing some facts
[2009/04/29 18:50:40] <justindossey> "I'm sorry, but we're going to need a new network."
[2009/04/29 18:50:44] <wilturn> hahahah
[2009/04/29 18:51:05] <dtdionne> wilturn, elaborate
[2009/04/29 18:51:57] <dtdionne> what section does the bindaddress go in?
[2009/04/29 18:53:35] <justindossey> I'd just stick it in [main] and see if it complains
[2009/04/29 18:53:54] <dtdionne> roger that...is it bindaddress = ipaddy
[2009/04/29 18:54:09] <justindossey> looks like it
[2009/04/29 18:54:23] <justindossey> not bindaddress addy but bindaddress = addy
[2009/04/29 18:55:26] <dtdionne> so bindaddres = x.x.x.x
[2009/04/29 18:56:10] <dtdionne> and the puppet.conf file is for puppetmaster and not puppet?
[2009/04/29 18:56:36] @ Quit: squiddle: Read error: 60 (Operation timed out)
[2009/04/29 18:57:03] <justindossey> yeah, all puppet executables use puppet.conf according to the link I set
[2009/04/29 18:57:21] <justindossey> puppetmasterd specifically looks for a section called [puppetmasterd]
[2009/04/29 18:57:38] <dtdionne> HOLY SHAT!!!!!! IT STARTED
[2009/04/29 18:57:44] <justindossey> nice work
[2009/04/29 18:58:22] <dtdionne> shoot, it was you man...THANK YOU!!!!
[2009/04/29 18:58:31] @ Quit: jo: Client Quit
[2009/04/29 18:59:34] <justindossey> now if I can just get puppetd to work for myself :)
[2009/04/29 18:59:40] @ mfoster left channel #puppet ()
[2009/04/29 19:00:15] <dtdionne> ive never used puppet, should I just be able to open a browser and connect to whatever port its running on....i know, lame question but if there's something quick i can do to test, i would love to send out a status update to uppermgt
[2009/04/29 19:00:20] <dtdionne> HAAA
[2009/04/29 19:02:08] <justindossey> you could point your browser to https://puppet.server.your.org:8140 but all you will get is a 404-- there's no admin gui built in
[2009/04/29 19:03:47] <dtdionne> hrm...k, ill just report back that both puppet and puppetmaster started and pick back up tomorrow...thanks again justindoosey, im david and if we adopt this across our organization i'm sure ill be around here a bunch
[2009/04/29 19:06:46] <wilturn> puppet is awesome.. I think you'll be back :)
[2009/04/29 19:07:06] <justindossey> heh, I might as well not leave
[2009/04/29 19:07:26] @ WALoeIII joined channel #puppet
[2009/04/29 19:08:27] <justindossey> agaffney: are you the agaffney from the gentoo project? I'm trying to figure out why your name rings a bell
[2009/04/29 19:13:54] @ Quit: randybias: "Leaving..."
[2009/04/29 19:20:55] <justindossey> agaffney: don't worry, I won't bug you about the installer project
[2009/04/29 19:23:58] @ Quit: aymerick: "kit mais sage"
[2009/04/29 19:29:47] @ Quit: madrescher1: "Leaving."
[2009/04/29 19:30:04] @ Quit: dtdionne: Read error: 113 (No route to host)
[2009/04/29 19:30:15] @ Quit: kingitchy_: Read error: 60 (Operation timed out)
[2009/04/29 19:30:58] @ keithlard joined channel #puppet
[2009/04/29 19:32:11] @ Quit: d3vilb0x:
[2009/04/29 19:32:34] @ kingitchy joined channel #puppet
[2009/04/29 19:34:54] @ punkcut joined channel #puppet
[2009/04/29 19:40:54] @ Quit: kingitchy: Read error: 54 (Connection reset by peer)
[2009/04/29 19:42:01] @ kingitchy joined channel #puppet
[2009/04/29 19:42:08] @ alfism joined channel #puppet
[2009/04/29 19:44:32] @ kingitchy_ joined channel #puppet
[2009/04/29 19:48:20] <justindossey> looks like my "bug" with puppetd taking too long to complete a run is associated with having a whole lot of files on the machine indexed by portage
[2009/04/29 19:49:09] <jrojas> justindossey: are you using puppet to modify any files in or near the portage directory?
[2009/04/29 19:49:25] <justindossey> nope
[2009/04/29 19:49:41] <justindossey> I just unmerged a couple of kernels to see if that would help
[2009/04/29 19:50:18] @ Quit: edwardam: Remote closed the connection
[2009/04/29 19:50:50] <justindossey> what's silly is that all I'm (currently) doing with puppet is maintaining /etc/hosts and /etc/sudoers-- seems pretty silly to process the entire installed portage tree
[2009/04/29 19:51:44] <justindossey> bam-- removing three old kernel sources reduced runtime from 4500 seconds to 73 seconds
[2009/04/29 19:52:29] <bevans5446> that's odd
[2009/04/29 19:53:34] <justindossey> yeah, it surprises me too. I ran it with full debug output though, and it was getting stuck processing kernel packages from the list
[2009/04/29 19:53:51] <justindossey> this is a really old machine--installed back in 2005-- so there's lots of cruft
[2009/04/29 19:56:20] @ Quit: cwebber:
[2009/04/29 20:00:35] @ Quit: kingitchy: Read error: 110 (Connection timed out)
[2009/04/29 20:01:43] <jrojas> 2
[2009/04/29 20:04:55] <justindossey> hey, does anyone know the proper way to specify a template path from a module manifest?
[2009/04/29 20:05:45] <justindossey> I know that I can do: content => template('/path/to/template/file') but I'd rather do: content => template('templates/file')
[2009/04/29 20:06:35] <jrojas> try content => template("module_name/templates/template_path")
[2009/04/29 20:06:56] <justindossey> trying-- will take a bit
[2009/04/29 20:10:23] @ Quit: kingitchy_:
[2009/04/29 20:11:02] <sigmonsays> man, I swear, I have never had a good time setting up load balanced puppet
[2009/04/29 20:11:02] <justindossey> damn. Could not retrieve catalog: Could not find template hosts/templates/hosts.erb at /etc/puppet/modules/hosts/manifests/init.pp:9
[2009/04/29 20:11:19] <sigmonsays> justindossey, templates are processed on the master, so use a absolute path
[2009/04/29 20:11:30] <justindossey> okay, no way around it. Ah well
[2009/04/29 20:11:34] <jrojas> sigmonsays: i dont have an issue with it :)
[2009/04/29 20:11:47] <sigmonsays> using nginx?
[2009/04/29 20:11:52] <jrojas> passenger
[2009/04/29 20:12:03] <jrojas> and i didnt have a problem before i switched either
[2009/04/29 20:12:10] <sigmonsays> heh
[2009/04/29 20:13:24] @ jmarki joined channel #puppet
[2009/04/29 20:14:13] <sigmonsays> Hrm
[2009/04/29 20:14:21] <sigmonsays> it works with single master
[2009/04/29 20:14:25] <sigmonsays> then I put httpd in front of it
[2009/04/29 20:14:30] <sigmonsays> and now I get "untrusted" certs
[2009/04/29 20:14:31] <sigmonsays> *sigh*
[2009/04/29 20:14:32] @ pheezy joined channel #puppet
[2009/04/29 20:15:17] <justindossey> so you're using mod_proxy_balance to load balance?
[2009/04/29 20:15:33] <sigmonsays> aye
[2009/04/29 20:15:46] <justindossey> sounds like mod_proxy_balance isn't forwarding the client cert
[2009/04/29 20:16:27] @ nakano_ is now known as nakano
[2009/04/29 20:16:54] <Djelibeybi> justindossey: content => template("module_name/template_name.erb") maps to $puppetdir/modules/module_name/templates/template_name.erb
[2009/04/29 20:18:19] <justindossey> sigmonsays: any reason not to just use a boring ol' TCP proxy like haproxy?
[2009/04/29 20:18:32] <justindossey> since haproxy doesn't know SSL, it won't mess with the certs
[2009/04/29 20:19:00] <justindossey> or maybe I'm just crazy here :)
[2009/04/29 20:19:54] <justindossey> Djelibeybi: and $puppetdir should be /etc/puppet, no?
[2009/04/29 20:20:22] <Djelibeybi> justindossey: it is on my EL4 and EL5 RPM installs, yes. But I suspect it may be different on other distros. YMMV, etc.
[2009/04/29 20:21:22] <justindossey> aha, I know what I did
[2009/04/29 20:22:14] <sigmonsays> justindossey, is that true? I wonder if that'd work
[2009/04/29 20:22:16] <sigmonsays> i woudl laugh :)
[2009/04/29 20:23:26] <justindossey> Djelibeybi: I think that worked. I'll have to change the file to be sure
[2009/04/29 20:24:15] @ tony_ left channel #puppet ()
[2009/04/29 20:25:25] @ oxtail_ joined channel #puppet
[2009/04/29 20:25:28] <justindossey> Djelibeybi: you win-- it worked
[2009/04/29 20:25:58] @ Quit: WALoeIII: "Bai."
[2009/04/29 20:26:18] <justindossey> sigmonsays: I haven't tried it-- my environment is too small to need load balancing
[2009/04/29 20:27:00] @ d3vilb0x joined channel #puppet
[2009/04/29 20:27:32] <sigmonsays> lemme let ya nkow, it doesn't work
[2009/04/29 20:27:40] <sigmonsays> bah. this is lame
[2009/04/29 20:27:48] <sigmonsays> on to nginx
[2009/04/29 20:28:58] @ Quit: oxtail: Read error: 60 (Operation timed out)
[2009/04/29 20:32:23] <Djelibeybi> justindossey: huzzah!
[2009/04/29 20:32:40] <Djelibeybi> justindossey: I'd like to thank my family, friends, parents, the little people behind the scenes...
[2009/04/29 20:32:47] <justindossey> haha
[2009/04/29 20:32:55] @ Quit: keithlard:
[2009/04/29 20:33:09] @ Quit: andrewcshafer_:
[2009/04/29 20:33:56] @ Quit: graynor: "Leaving."
[2009/04/29 20:36:42] @ Quit: pheezy: Read error: 110 (Connection timed out)
[2009/04/29 20:41:15] @ jmarki is now known as jmarki|work
[2009/04/29 20:41:59] @ nakano is now known as nakano_
[2009/04/29 20:54:41] @ ezmob is now known as ezmob|away
[2009/04/29 20:57:41] @ nakano_ is now known as nakano
[2009/04/29 20:58:04] <justindossey> has anyone here used puppet to install perl modules?
[2009/04/29 20:58:13] <justindossey> as in, not from a package
[2009/04/29 21:00:03] @ ezmob|away is now known as ezmob
[2009/04/29 21:02:50] @ Quit: jmarki|work: Remote closed the connection
[2009/04/29 21:04:43] <jrojas> justindossey: no, that just sounds dangerous
[2009/04/29 21:04:57] @ pheezy joined channel #puppet
[2009/04/29 21:05:03] <jrojas> justindossey: i would rather build what perl (shudder) modules I need into rpms
[2009/04/29 21:05:13] <jrojas> then distribute via yum
[2009/04/29 21:10:54] <justindossey> jrojas: thanks
[2009/04/29 21:19:08] @ Quit: oxtail_: Read error: 110 (Connection timed out)
[2009/04/29 21:19:48] <justindossey> what about /etc/services management? Do yall just use a file block and have a single one for everything?
[2009/04/29 21:26:33] @ fbe_ joined channel #puppet
[2009/04/29 21:28:17] @ nakano is now known as nakano_
[2009/04/29 21:32:44] @ Quit: pheezy: Remote closed the connection
[2009/04/29 21:42:27] @ justindossey left channel #puppet ()
[2009/04/29 21:42:42] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/04/29 21:51:14] @ lak joined channel #puppet
[2009/04/29 21:53:54] @ Quit: alfism: Read error: 60 (Operation timed out)
[2009/04/29 21:58:45] @ alfism joined channel #puppet
[2009/04/29 22:08:32] @ nakano_ is now known as nakano
[2009/04/29 22:15:05] @ Quit: lak:
[2009/04/29 22:17:16] @ kingitchy joined channel #puppet
[2009/04/29 22:38:10] @ randybias joined channel #puppet
[2009/04/29 23:34:24] @ dzollinger joined channel #puppet
[2009/04/29 23:39:03] <dzollinger> hi all. When I try to run a custom function (the file validation function from TemplateValidationFunction recipe, i get the following error: "Could not retrieve catalog: Unknown function validate". I've tested it loads in ruby, i've got it installed on the server, not the client. The function is currently at /usr/lib/ruby/site_ruby/puppet/parser/functions/validate.rb, which is in the ruby load path
[2009/04/29 23:39:22] @ andrewcshafer joined channel #puppet
[2009/04/29 23:39:42] @ fujin joined channel #puppet
[2009/04/29 23:39:51] <dzollinger> is that a familiar error to anyone? I haven't found anything online so far
[2009/04/29 23:42:28] <dzollinger> i'm running CentOS 5 on the servers, x86_64 platform
[2009/04/29 23:48:28] @ randybias is now known as randybias|away
[2009/04/29 23:56:08] @ randybias|away is now known as randybias
[2009/04/29 23:57:51] <dzollinger> just tried copying the function to /var/lib/puppet/lib/puppet/parser/functions/ still getting "Could not retrieve catalog: Unknown function validate"

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