Tuesday, 2010-06-15

[2010/06/15 00:02:06] @ Log started by gepetto
[2010/06/15 00:02:06] @ Quit: rodnet_: Quit: rodnet_
[2010/06/15 00:02:42] @ Quit: alban2: Quit: Leaving.
[2010/06/15 00:04:40] @ Quit: debianuser: Ping timeout: 276 seconds
[2010/06/15 00:05:27] @ sdog joined channel #puppet
[2010/06/15 00:05:47] @ Quit: sdog: Changing host
[2010/06/15 00:05:47] @ sdog joined channel #puppet
[2010/06/15 00:07:55] @ Quit: bobinabottle: Ping timeout: 276 seconds
[2010/06/15 00:08:14] @ bobinabottle joined channel #puppet
[2010/06/15 00:09:20] @ Quit: M-: Quit: Leaving
[2010/06/15 00:09:33] @ Ramonster joined channel #puppet
[2010/06/15 00:10:40] @ Roksteady joined channel #puppet
[2010/06/15 00:13:28] @ DavidS joined channel #puppet
[2010/06/15 00:20:50] @ lohapuk joined channel #puppet
[2010/06/15 00:22:38] @ paul__ joined channel #puppet
[2010/06/15 00:22:44] @ Quit: paul__: Client Quit
[2010/06/15 00:23:08] @ paulojack joined channel #puppet
[2010/06/15 00:25:40] @ nexx joined channel #puppet
[2010/06/15 00:26:38] @ Quit: lak: Quit: lak
[2010/06/15 00:28:30] @ Guest98228 joined channel #puppet
[2010/06/15 00:32:10] @ thekad is now known as thekad-afk
[2010/06/15 00:32:56] @ ptman joined channel #puppet
[2010/06/15 00:35:48] @ themroc joined channel #puppet
[2010/06/15 00:38:08] @ ckauhaus joined channel #puppet
[2010/06/15 00:44:21] @ paulojack left channel #puppet ()
[2010/06/15 00:44:40] @ paulojack joined channel #puppet
[2010/06/15 00:44:55] @ Quit: paulojack: Quit: Page closed
[2010/06/15 00:44:56] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/15 01:04:59] @ benoit_ joined channel #puppet
[2010/06/15 01:05:32] @ macfly joined channel #puppet
[2010/06/15 01:06:32] @ mauve joined channel #puppet
[2010/06/15 01:07:20] @ fluxdude joined channel #puppet
[2010/06/15 01:07:28] @ Berge joined channel #puppet
[2010/06/15 01:08:19] <Berge> Hi! How do I specify multiple allow-statements in namespaceauth.conf? I'd like to allow both *.foo.example.com, *.bar.example.com and *.baz.example.com.
[2010/06/15 01:08:33] <Berge> The documentation is a bit vague on the matter.
[2010/06/15 01:09:14] <Berge> I've tried doing "allow .foo.example.com .bar.example.com" and multiple lines with allow-statements, to no avail.
[2010/06/15 01:15:08] <Berge> Wait, I'm being stupid. I need to fix fileserver.conf, of course, not namespaceauth.conf. Need more coffee.
[2010/06/15 01:15:55] @ debianuser joined channel #puppet
[2010/06/15 01:15:59] @ MattyM joined channel #puppet
[2010/06/15 01:16:11] @ Quit: itguru: Ping timeout: 260 seconds
[2010/06/15 01:16:16] @ Quit: shug: Quit: Leaving
[2010/06/15 01:17:01] @ Quit: debianuser: Max SendQ exceeded
[2010/06/15 01:17:20] * eric0 is doing evil things with the contents of /var/puppet/yaml/node/ ...
[2010/06/15 01:18:29] @ ohadlevy joined channel #puppet
[2010/06/15 01:24:11] @ Quit: bobinabottle: Quit: bobinabottle
[2010/06/15 01:24:45] @ Quit: pinoyskull: Quit: Leaving
[2010/06/15 01:25:34] @ jab_doa joined channel #puppet
[2010/06/15 01:27:57] <zipkid> Hello, How can i get puppet to fill the hosts.last_report column in the storeconfig db ?
[2010/06/15 01:31:51] <Volcane> if its not working its probably a bug, not aware of any options to tune there
[2010/06/15 01:32:37] <zipkid> Volcane: i was thinking of maybe a report type... 'storeconfig' , but that file does not exist in the reports folder....
[2010/06/15 01:32:49] <zipkid> but indeed, maybe it is just a bug....
[2010/06/15 01:33:11] <zipkid> But i cannot upgrade untill the LIMIT 30 bug is fixed...
[2010/06/15 01:33:30] @ shakaP joined channel #puppet
[2010/06/15 01:33:50] <zipkid> Ow shoot...
[2010/06/15 01:34:06] <zipkid> now i'm confusing puppet & Dashboard...
[2010/06/15 01:34:13] <zipkid> nm my remark...
[2010/06/15 01:35:23] <ohadlevy> zipkid: it should work, but it always store it in local time (maybe an issue if you have multiple timezones)
[2010/06/15 01:35:58] <ohadlevy> zipkid: ah, i meant last_compile
[2010/06/15 01:36:25] <zipkid> ohadlevy: indeed, last_compile is ok, last_report is NULL
[2010/06/15 01:36:46] <ohadlevy> zipkid: hmm.. are you sure thats part of puppet?
[2010/06/15 01:39:44] @ PhabX joined channel #puppet
[2010/06/15 01:40:02] @ erlingre joined channel #puppet
[2010/06/15 01:40:20] <zipkid> ohadlevy: rather....
[2010/06/15 01:40:37] <zipkid> storeconfigs is part of puppet.... it just requires rails...
[2010/06/15 01:41:12] @ verwilst joined channel #puppet
[2010/06/15 01:41:49] <ohadlevy> zipkid: my mistake, I though that this is a custom field that I added in foreman(and its storeconfig compatible) so i thought it might be a left over
[2010/06/15 01:41:50] @ Quit: PhabX: Client Quit
[2010/06/15 01:45:28] @ Quit: tracphil: Quit: Leaving...
[2010/06/15 01:47:18] @ jsimpson joined channel #puppet
[2010/06/15 01:50:44] @ floess_chris joined channel #puppet
[2010/06/15 01:52:11] <floess_chris> can someone point me to the documentation for managing users with puppet? Essentially I want to add system users (application users actually), and I'm not finding it on the site
[2010/06/15 01:52:55] <zipkid> floess_chris: http://docs.puppetlabs.com/guides/types/user.html
[2010/06/15 01:53:16] <jsimpson> jamesturnbull: sorry about earlier. I had a train to catch.
[2010/06/15 01:53:45] <floess_chris> So they are a type. I knew I was overlooking something. Thanks zipkid
[2010/06/15 01:55:56] @ lutter joined channel #puppet
[2010/06/15 01:57:46] @ johnf left channel #puppet ()
[2010/06/15 02:01:00] @ allsystemsarego joined channel #puppet
[2010/06/15 02:04:03] @ mrowell_ joined channel #puppet
[2010/06/15 02:07:00] @ Quit: mrowell_: Remote host closed the connection
[2010/06/15 02:07:07] @ mrowell_ joined channel #puppet
[2010/06/15 02:08:33] @ Quit: mrowell: Ping timeout: 276 seconds
[2010/06/15 02:08:33] @ mrowell_ is now known as mrowell
[2010/06/15 02:09:19] @ mrowell_ joined channel #puppet
[2010/06/15 02:09:56] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2010/06/15 02:13:32] @ Quit: mrowell: Ping timeout: 245 seconds
[2010/06/15 02:14:01] @ Quit: mrowell_: Ping timeout: 276 seconds
[2010/06/15 02:21:18] <Berge> I'm getting the following error message when trying to realize a virtual resource: "err: Could not retrieve catalog: Failed to realize virtual resources Package[libapache2-mod-perl2]". How do I debug this? puppetd with --debug gives no hint.
[2010/06/15 02:23:19] <malikai> just curious here.. i'm running a puppetmaster on ubuntu lucid which comes with 0.25.4.. i'm going to switch from webrick to passenger and wondering if it would be a better idea to use my distribution's puppet packages or should i install from scratch? any opinions?
[2010/06/15 02:23:34] <Berge> Use distribution packages whenever you can.
[2010/06/15 02:23:42] <Berge> Especially for ruby software.
[2010/06/15 02:26:24] <malikai> does that mean there's anything wrong with using the other tools like rake?
[2010/06/15 02:26:29] <kjetilho> Berge: debug it by hand -- where is the declaration of the virtual resource, and why do you expect it to be evaluated?
[2010/06/15 02:26:42] <kjetilho> malikai: hahahaha!
[2010/06/15 02:27:08] <kjetilho> i think Gem is the most hated package software in the world
[2010/06/15 02:27:16] <malikai> <-- not very experienced with ruby or gem et all
[2010/06/15 02:27:49] <malikai> kjetilho, that sounds like one hell of a title to have
[2010/06/15 02:29:11] <Berge> kjetilho: Hah, I forgot to include the class which which declares the virtual resources. Cheers, and nevermind me for having the dumbs today d-:
[2010/06/15 02:31:30] <Berge> malikai: Well, gems is really, really broken in a lot of ways. Read http://pkg-ruby-extras.alioth.debian.org/rubygems.html (and the links near the bottom) for more on the topic.
[2010/06/15 02:32:39] <kc7zzv> malikai: I've got a puppet module for setting up puppetmaster to use passenger using the official packages on Lucid. Want the whole thing, pieces of it, or anything in particular?
[2010/06/15 02:33:04] <kc7zzv> I haven't tested it a whole lot, but it does work for me.
[2010/06/15 02:35:16] <malikai> Berge, interesting document.. very interesting
[2010/06/15 02:36:33] <malikai> kc7zzv: i'd love to see it.. does it take an existing webrick and convert it to passenger?
[2010/06/15 02:36:56] <kc7zzv> malikai: By "Official Packages" I mean it uses the debs from the Ubuntu repositories.
[2010/06/15 02:37:03] <kc7zzv> Yes. It does.
[2010/06/15 02:37:13] <malikai> well that's awesome :)
[2010/06/15 02:38:10] <Berge> Hm, wherever did Luke's "Ruby has a distribution problem" blog entry go?
[2010/06/15 02:38:19] <malikai> kc7zzv: is it available packaged anywhere or small enough for pastie?
[2010/06/15 02:38:20] <Berge> http://www.madstop.com/ruby/ruby_has_a_distribution_problem.html 404's.
[2010/06/15 02:38:39] <kc7zzv> It has three known limitations. First, it automatically shuts down the puppetmaster service. You'll want to remove that if you are using the server as the client.
[2010/06/15 02:39:02] <kc7zzv> Second, it assumes you aren't using passenger for things other than puppet.
[2010/06/15 02:39:26] <kc7zzv> Third, you need to have run the Webrick puppet master at least once first.
[2010/06/15 02:40:08] <malikai> those all sound reasonable
[2010/06/15 02:40:10] <kc7zzv> Give me a min to put it up somewhere. It's in an internal repository.
[2010/06/15 02:40:49] @ bix0r left channel #puppet ()
[2010/06/15 02:41:25] <malikai> i'll be back in a few minutes.. meeting with Bill Lumburgh
[2010/06/15 02:41:35] <kc7zzv> Ok
[2010/06/15 02:41:51] <malikai> heh.. or meeting with the "bobs" :)
[2010/06/15 02:46:22] @ Quit: jab_doa: Quit: Verlassend
[2010/06/15 02:48:25] @ mrowell joined channel #puppet
[2010/06/15 02:50:13] <kc7zzv> Alright. The tar.gz of the module is about 4k and posted at http://www.cascadeacademics.com/rack.tar.gz . It's based off a configuration someone posted that used gems.
[2010/06/15 02:51:22] <kc7zzv> I can't find where the original is.
[2010/06/15 02:51:44] <kc7zzv> This runs on a really lightweight server so PassengerMaxPoolSize is 3. Assume each instance takes up as much RAM as your current puppetmaster instance.
[2010/06/15 02:57:12] @ Quit: mrowell: Remote host closed the connection
[2010/06/15 02:58:48] @ mrowell joined channel #puppet
[2010/06/15 02:59:04] @ bix0r joined channel #puppet
[2010/06/15 03:04:33] @ zorzar joined channel #puppet
[2010/06/15 03:07:39] @ Quit: zorzar_: Ping timeout: 258 seconds
[2010/06/15 03:09:03] @ Quit: theriffer_: Quit: theriffer_
[2010/06/15 03:16:53] <malikai> kc7zzv: that's a nice, clean looking module
[2010/06/15 03:17:08] <nareshov> http://dpaste.com/207452/ - what could possibly be the reason for this?
[2010/06/15 03:17:28] <kc7zzv> malikai: Thanks. I got half of it from someone else.
[2010/06/15 03:18:06] <kc7zzv> nareshow: Are you storing node configuration in a DB?
[2010/06/15 03:18:42] <nareshov> no
[2010/06/15 03:19:06] <gepetto> ::redmine:: Wiki edit: Whos_Using_Puppet (#14) @ http://projects.reductivelabs.com/projects/1/wiki/Whos_Using_Puppet?version=14 (by David Gardner)
[2010/06/15 03:19:39] <kc7zzv> member:malikai: If you decide to do everything in there manually, make sure the owner of rack.ru is puppet.
[2010/06/15 03:20:49] <kc7zzv> nareshov: It looks like you don't have a node defined for that client.
[2010/06/15 03:21:17] <nareshov> but i do :(
[2010/06/15 03:21:42] <kc7zzv> What file is the definition is?
[2010/06/15 03:21:55] <nareshov> http://dpaste.com/207453/
[2010/06/15 03:21:58] <nareshov> cento2 works
[2010/06/15 03:22:01] <nareshov> not centos3 host
[2010/06/15 03:22:22] <malikai> nareshov, are you sure this file is loading?
[2010/06/15 03:22:24] <nareshov> it's in /etc/puppet/manifests/staging/hostgroup/nodes.pp
[2010/06/15 03:22:38] <nareshov> it's loading and working for the centos2 machine
[2010/06/15 03:22:58] <nareshov> the puppet and facter versions match
[2010/06/15 03:23:00] <kc7zzv> Strange. Are you using environments?
[2010/06/15 03:23:03] <nareshov> yes
[2010/06/15 03:23:31] <nareshov> aw crap
[2010/06/15 03:23:34] <nareshov> i think that was it
[2010/06/15 03:24:31] <nareshov> no..
[2010/06/15 03:24:37] <nareshov> oh, yes.
[2010/06/15 03:24:38] <nareshov> thanks
[2010/06/15 03:24:56] <malikai> kc7vv: will be installing shortly and will let you know.. i might modify it a bit and if i do i'll post it back.. maybe this module could go on puppetforge
[2010/06/15 03:25:06] <kc7zzv> malikai: Also, if you have any more questions about this, feel free to email me at (my irc username)@gmail.com
[2010/06/15 03:25:16] @ gebi joined channel #puppet
[2010/06/15 03:26:04] @ Quit: mrowell: Quit: mrowell
[2010/06/15 03:26:17] <malikai> i think it would just take a bit of templating and a few changes to the manifest and it could be portable i think
[2010/06/15 03:26:51] <kc7zzv> malikai: I found the original module at http://github.com/reductivelabs/puppet/tree/0.25.x/ext/rack/
[2010/06/15 03:28:02] <kc7zzv> malikai: All I did was add the Augeas section, add a config file, and change the packages from debs to gems. I couldn't find the original location earlier.
[2010/06/15 03:30:19] <kc7zzv> nareshov: So the two had different environments?
[2010/06/15 03:30:56] <nareshov> i hadn't set the environment on centos3
[2010/06/15 03:31:00] <nareshov> it was a new bootstrap
[2010/06/15 03:31:05] <nareshov> (forgot to)
[2010/06/15 03:36:39] <malikai> ok so that statement on gems from debian makes good arguments
[2010/06/15 03:37:10] <malikai> i wonder though.. is it really difficult to package gems?
[2010/06/15 03:37:36] <Volcane> gem2rpm and similar tools generally does an ok job
[2010/06/15 03:37:39] <Volcane> but gems are shit
[2010/06/15 03:37:52] <Volcane> cos they have require things like ~>
[2010/06/15 03:37:59] <Volcane> which has no equivelant in any packaging system other than gems
[2010/06/15 03:38:01] @ shug joined channel #puppet
[2010/06/15 03:38:12] <Volcane> so to automagically turn that into a deb/rpm/etc will just not work
[2010/06/15 03:38:20] <malikai> what does ~> mean?
[2010/06/15 03:38:32] <malikai> is that referencing a home dir?
[2010/06/15 03:38:54] <Volcane> no its like => and > just a thurd way
[2010/06/15 03:39:05] <malikai> right
[2010/06/15 03:39:17] <malikai> so they do weird things
[2010/06/15 03:39:31] <malikai> makes sense
[2010/06/15 03:39:47] <jsimpson> they also don't declare their C dependencies
[2010/06/15 03:39:51] <Volcane> gems are lame in other ways too
[2010/06/15 03:40:00] <Volcane> ones building natively have no useable dependencies
[2010/06/15 03:40:05] <Volcane> tey dont understand more than 1 bin dir
[2010/06/15 03:40:13] <Volcane> they dont understand proper config dirs etc
[2010/06/15 03:40:15] <malikai> ouch
[2010/06/15 03:40:25] <Volcane> so the gem packagers do nasty hacks to put in those features
[2010/06/15 03:40:32] <Volcane> which then causes havok with actual packagemanagers
[2010/06/15 03:40:37] <jsimpson> The Debian guys get annoyed at the expectation that gems can dump random stuff in /usr/bin
[2010/06/15 03:40:58] <malikai> i would too if that random stuff didn't belong there
[2010/06/15 03:41:35] <Volcane> http://www.pastie.org/1005137 <-- what the ~> does
[2010/06/15 03:42:17] <malikai> so did gem just evolve to abstract unix away from ruby on purpose?
[2010/06/15 03:42:28] <Volcane> it evolved from people who didnt know unix
[2010/06/15 03:42:34] @ Quit: Guest98228: Ping timeout: 260 seconds
[2010/06/15 03:43:13] <malikai> lord have mercy
[2010/06/15 03:43:23] <Volcane> its basically a system for delivering ruby libraries and nothing else
[2010/06/15 03:43:53] <malikai> so it is inherently unsuitable for package management
[2010/06/15 03:43:59] <Volcane> the moment you have config files, bins, sbins, etc, you really should be taking a step back
[2010/06/15 03:44:22] @ Quit: LeLutin_: Ping timeout: 240 seconds
[2010/06/15 03:44:32] <malikai> indeed
[2010/06/15 03:44:59] <Volcane> yet most ruby devs soehow think its gods gift to software development
[2010/06/15 03:45:15] <malikai> perhaps they are 'too far along' to take a step back
[2010/06/15 03:45:16] <Volcane> $random ruby dev 'why are you not distributing mcollective as a gem!'
[2010/06/15 03:45:35] <Volcane> like holding a sign up with an arrow and the word 'IDIOT' in red usually to me :)
[2010/06/15 03:45:47] <barn> I can imagine your response...
[2010/06/15 03:45:51] @ itguru joined channel #puppet
[2010/06/15 03:46:07] @ LeLutin joined channel #puppet
[2010/06/15 03:47:22] <malikai> this bugs me.. there are some very good ruby developers out there.. why isn't this question openly asked?
[2010/06/15 03:49:08] <Volcane> I think its universally known that gems are rubbish. however, no1 else will come up with a sane solution tot he problem of distributing libraries in a multi OS sane way
[2010/06/15 03:52:01] <Volcane> if its not things like the ~> operator then its things like CPAN that allow versions to be strings that Debian doesnt allow in packages
[2010/06/15 03:56:01] @ kenneho joined channel #puppet
[2010/06/15 03:59:37] <malikai> i guess proper package management for ruby is a big pain the the arse.. but nobody has really been pissed off enough by it to be motivated to deal with the problem..
[2010/06/15 04:01:19] <Volcane> the same problem applies to all these types of language
[2010/06/15 04:01:40] @ Welsh_Dwarf joined channel #puppet
[2010/06/15 04:02:20] <malikai> yea, i've used cpan a bit and package management there is pretty painful sometimes
[2010/06/15 04:02:33] <malikai> don't know about other languages
[2010/06/15 04:02:47] <Volcane> perl people seem to care more, they actually fix their shitty version strings when you ask them
[2010/06/15 04:02:54] <Volcane> ruby devs generally wont
[2010/06/15 04:05:36] @ jcape joined channel #puppet
[2010/06/15 04:07:55] <jsimpson> I think the cat is out of the bag with rubygems.
[2010/06/15 04:15:42] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/15 04:20:32] @ Quit: tim|mac: Remote host closed the connection
[2010/06/15 04:24:54] @ tim|mac joined channel #puppet
[2010/06/15 04:24:54] @ vachon joined channel #puppet
[2010/06/15 04:24:55] @ vachon left channel #puppet ()
[2010/06/15 04:27:13] @ Quit: ninjazjb: Quit: Lost terminal
[2010/06/15 04:32:11] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/15 04:49:27] @ tgeorgescu joined channel #puppet
[2010/06/15 04:51:43] <tgeorgescu> G'day gents, I came across the error "StoreConfigs not supported without ActiveRecord 2.1 or higher!" on my version 0.25.0, found the bug: http://projects.reductivelabs.com/issues/2508, updated to 0.25.5, but the error is still coming up. Puppet was running fine, but I started trying to install dashboard as per instructions: http://zcentric.com/2010/03/11/install-puppet-dashboard-on-redhatcentos-5/, I got as far as restarting the puppetmaster, but it
[2010/06/15 04:51:43] <tgeorgescu> fails to start this time.
[2010/06/15 04:53:19] <tgeorgescu> I've just tried taking out the --reports puppet_dashboard, so i'm guessing the rake install of dashboard must have broken it. Any tips would be much appreciated.
[2010/06/15 04:53:32] <Volcane> did you install activerecord?
[2010/06/15 04:54:09] @ ahasenack joined channel #puppet
[2010/06/15 04:57:02] <tgeorgescu> Ohh, doing that now... > gem install rails -v 2.2.2
[2010/06/15 04:57:02] <tgeorgescu> Successfully installed activesupport-2.2.2
[2010/06/15 04:57:02] <tgeorgescu> Successfully installed activerecord-2.2.2
[2010/06/15 04:57:07] <tgeorgescu> ...
[2010/06/15 04:57:10] <tgeorgescu> :)
[2010/06/15 04:57:25] <tgeorgescu> I'll try restarting the service once its finished.
[2010/06/15 05:05:18] <tim__> hi, more of an Augeas question but when augeas says 'saving failed' how do I find out what failed?
[2010/06/15 05:05:23] <tim__> ie. what the error msg is?
[2010/06/15 05:05:31] @ Quit: erlingre: Ping timeout: 248 seconds
[2010/06/15 05:06:07] @ Quit: kenneho: Ping timeout: 265 seconds
[2010/06/15 05:14:31] <DavidS> Volcane: do you see any chance of things like coapp to reduce the need for (hacks like) gems in the windows space?
[2010/06/15 05:16:09] <zipkid> is there a list somewhere of which files / types augeas in puppet supports?
[2010/06/15 05:16:24] <zipkid> and usage examples would be handy too....
[2010/06/15 05:17:14] <DavidS> zipkid: augeas supports everything that has a lens
[2010/06/15 05:17:23] <Volcane> DavidS: dont really know much (anything) about windows anymore thanfully
[2010/06/15 05:17:26] <zipkid> DavidS: ok....
[2010/06/15 05:17:33] <zipkid> where are the lenses?
[2010/06/15 05:17:34] @ TREllis joined channel #puppet
[2010/06/15 05:17:54] <DavidS> zipkid: dpkg -l augeas | grep lens ? (I obviously have no clue)
[2010/06/15 05:18:14] <zipkid> dpkg on SLES.... hmmm :-P
[2010/06/15 05:19:08] <zipkid> DavidS: does that mean i need to install the lenses on each client or only on the server?
[2010/06/15 05:19:27] <Volcane> each client
[2010/06/15 05:19:36] <Volcane> how else would it possibly work?
[2010/06/15 05:19:56] <zipkid> and what if i need to config the package manager to install lenses , with augeas...??
[2010/06/15 05:20:13] <zipkid> sounds like a bad vicious circle there....
[2010/06/15 05:20:48] <Volcane> yup augeas...vicious, sounds right
[2010/06/15 05:21:34] <zipkid> and another thing, i tried using augeas a while ago and nothing happened, obviously no lenses, but no error either.... nothing... more vice...
[2010/06/15 05:28:54] @ [GuS] joined channel #puppet
[2010/06/15 05:29:00] @ Quit: [GuS]: Changing host
[2010/06/15 05:29:00] @ [GuS] joined channel #puppet
[2010/06/15 05:34:57] <espent> hi - anyone have any advice to this ssl error: http://paste.scsys.co.uk/44868
[2010/06/15 05:35:18] <espent> i've been regenerating the certs maybe 10 times
[2010/06/15 05:39:47] @ ninjazjb joined channel #puppet
[2010/06/15 05:51:32] @ Quit: ninjazjb: Quit: leaving
[2010/06/15 05:51:50] @ jab_doa joined channel #puppet
[2010/06/15 05:51:53] @ ninjazjb joined channel #puppet
[2010/06/15 05:51:58] @ Bass10 joined channel #puppet
[2010/06/15 05:56:57] @ lwhalen joined channel #puppet
[2010/06/15 05:57:08] @ sebas891 joined channel #puppet
[2010/06/15 06:00:29] @ kenneho joined channel #puppet
[2010/06/15 06:00:41] @ Quit: kenneho: Read error: Connection reset by peer
[2010/06/15 06:04:09] @ iAlien joined channel #puppet
[2010/06/15 06:06:25] @ cliff-hm joined channel #puppet
[2010/06/15 06:10:11] <tgeorgescu> Volcane, sorted. Cheers bud.
[2010/06/15 06:10:21] @ Quit: jcape: Ping timeout: 276 seconds
[2010/06/15 06:11:33] <lohapuk> is there an easy way to check is a template exists for example if template exist then add it to the contents
[2010/06/15 06:11:36] <lohapuk> if no ignore it
[2010/06/15 06:17:19] @ tracphil joined channel #puppet
[2010/06/15 06:17:42] @ Quit: tracphil: Remote host closed the connection
[2010/06/15 06:19:48] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/15 06:20:35] @ rmiller4pi8 joined channel #puppet
[2010/06/15 06:20:39] @ jcape joined channel #puppet
[2010/06/15 06:29:30] @ elasticdog joined channel #puppet
[2010/06/15 06:33:53] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/15 06:34:09] @ omry|work joined channel #puppet
[2010/06/15 06:35:11] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/15 06:35:39] <lohapuk> i found a way with generate but its dirty
[2010/06/15 06:35:55] <lohapuk> generate('/bin/sh','-c','test -f /etc/puppet/modules/sudo/templates/$hostname')
[2010/06/15 06:36:03] <lohapuk> woudl that work
[2010/06/15 06:36:14] @ Quit: jeffmccune: Quit: jeffmccune
[2010/06/15 06:36:32] <Volcane> lohapuk: there's a ticket for making template work in a sane way, best to go beg there for someone to add the feature
[2010/06/15 06:38:56] <lohapuk> Volcane do you think this would work if( !generate('/bin/sh','-c','test -f /etc/puppet/modules/sudo/templates/$hostname) )
[2010/06/15 06:39:29] <lohapuk> basically have a if statement that switches the content based on the return of that command, a hack to check if that template exists
[2010/06/15 06:40:01] <Volcane> test it, if it does what u want, then it works
[2010/06/15 06:40:06] <Volcane> i think its a terrible idea
[2010/06/15 06:40:17] <Volcane> i also thnk ppl should have added the often requested feature already :)
[2010/06/15 06:40:33] <lohapuk> hahaha, so no one has a nice work around yet
[2010/06/15 06:40:51] <Volcane> if you go look for the ticket i put a function up that does what u want
[2010/06/15 06:41:00] <lohapuk> coolio
[2010/06/15 06:41:04] <Volcane> it behaves like source => on a file does if you give it an array
[2010/06/15 06:41:05] <lohapuk> ill have a poke
[2010/06/15 06:41:15] <Volcane> first one it finds it use rather than concatenation stuff
[2010/06/15 06:41:23] @ kaptk2 joined channel #puppet
[2010/06/15 06:42:56] <lohapuk> i want it to basically do this content => template("sudo/head.erb","sudo/${name}.erb","sudo/${hostname}.erb");
[2010/06/15 06:43:16] <Volcane> I'd use a concat tool for that
[2010/06/15 06:43:42] <lohapuk> but it dies if hostname.erb aint there which is may not be
[2010/06/15 06:43:57] @ Quit: jcape: Ping timeout: 245 seconds
[2010/06/15 06:44:41] <Volcane> lohapuk: http://github.com/ripienaar/puppet-concat
[2010/06/15 06:45:10] <malikai> with passenger installed, will puppetmasterd still be running?
[2010/06/15 06:46:11] <Volcane> yes
[2010/06/15 06:46:18] <Volcane> but pass manages that
[2010/06/15 06:46:26] <malikai> oh i see
[2010/06/15 06:46:42] <malikai> so passenger now controls puppetmasterd in a sense
[2010/06/15 06:46:45] @ Quit: mauve: Ping timeout: 276 seconds
[2010/06/15 06:47:29] <Volcane> yes, it starts it and more or less proxies stuff to it
[2010/06/15 06:47:38] <Volcane> and kills off masters regularly to keep memory in control etc
[2010/06/15 06:47:44] <malikai> nice
[2010/06/15 06:48:05] <malikai> i like it already
[2010/06/15 06:48:28] @ notbrien joined channel #puppet
[2010/06/15 06:51:27] @ mauve joined channel #puppet
[2010/06/15 06:52:17] @ gaveen joined channel #puppet
[2010/06/15 06:52:31] <tgeorgescu> Hey chaps, is this the place for puppet-dashboard questions?
[2010/06/15 06:52:39] <malikai> i was wondering about the memory earlier.. it seems like with certain misconfigurations, you can get puppetmaster to eat up all your memory pretty quickly
[2010/06/15 06:52:59] <Volcane> malikai: are you doing large file copies?
[2010/06/15 06:53:00] @ jcape joined channel #puppet
[2010/06/15 06:53:06] <malikai> tgeorgescu, go ahead and ask your question mate
[2010/06/15 06:53:31] <tgeorgescu> I'm getting "PGError: ERROR: function sum(boolean) does not exist" when attempting to start /opt/puppet-dashboard/script/server, and wondering if anybody has come up against this.
[2010/06/15 06:53:43] <malikai> Volcane, not really, but i do have quite a large file store with a mix of binary and text
[2010/06/15 06:53:54] <malikai> large numbers of small files, really
[2010/06/15 06:53:57] <tgeorgescu> I have Zero ActiveRecord knowledge
[2010/06/15 06:54:00] <Volcane> malikai: recursive copies?
[2010/06/15 06:54:39] <malikai> Volcane, i do now, but at the time i had some broken recursive copies
[2010/06/15 06:54:45] <Volcane> wthats why
[2010/06/15 06:55:25] @ Quit: Welsh_Dwarf: Remote host closed the connection
[2010/06/15 06:55:46] <malikai> right.. that makes sense because once i fixed the broken recursives, puppet went from using all physical plus a large amount of swap (>200MB swap) to all available physical and no swap
[2010/06/15 06:56:17] <Volcane> how big are those puppetmaster instances?
[2010/06/15 06:57:15] <malikai> physical available on the host is only 500mb.. puppetmaster regularly uses about 400mb of it.. puppetmaster is all that runs on this host (passenger as well now)
[2010/06/15 06:57:19] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/15 06:57:28] @ pheezy joined channel #puppet
[2010/06/15 06:57:52] <Volcane> malikai: some of mine: http://www.pastie.org/1005338
[2010/06/15 06:58:04] @ Quit: pheezy: Read error: Connection reset by peer
[2010/06/15 06:58:07] <malikai> of course, puppetmaster starts off with a tiny bit of memory.. but after a few clients it's almost the whole lot
[2010/06/15 06:58:30] @ pheezy joined channel #puppet
[2010/06/15 06:58:45] <Volcane> malikai: the memory issues are usually file related, its apparently improving a lot in version 2.6
[2010/06/15 06:58:48] @ joe-mac joined channel #puppet
[2010/06/15 06:59:10] <Volcane> malikai: if you're copying lots of files you should make packages or something similar
[2010/06/15 06:59:21] <malikai> is that 230K or 230M? I can't tell if that's a dot in place of comma
[2010/06/15 06:59:32] <Volcane> .
[2010/06/15 06:59:38] <Volcane> they're very small resident
[2010/06/15 06:59:48] <malikai> are you 0.25.4?
[2010/06/15 06:59:54] <Volcane> yeah
[2010/06/15 07:00:17] <malikai> you got your resident size down like that from using packages?
[2010/06/15 07:00:21] <Volcane> i dont do big or recursive file copies though and i very carefully control how many machines do puppet runs at any one time
[2010/06/15 07:00:50] <Volcane> though i am now having doubts about that RSS calculation
[2010/06/15 07:00:54] <Volcane> let me double check :)
[2010/06/15 07:01:05] <malikai> man if that's for real, i'm impressed :)
[2010/06/15 07:01:31] <Volcane> there are 512MB ram machines though
[2010/06/15 07:01:35] <Volcane> also runs activemq, nagios etc
[2010/06/15 07:01:45] <Volcane> one its a 768 one sorry
[2010/06/15 07:02:24] <malikai> still.. 230k/instance is tiny
[2010/06/15 07:02:45] <Volcane> yeah i doubt my calculation is right - actually i doubt my unit is right the calculation seems fine
[2010/06/15 07:03:01] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/15 07:03:38] <Volcane> no alls fine, ruby's proc interface must be lying
[2010/06/15 07:04:21] <Volcane> 71527 44117 785 1 0 45893 0
[2010/06/15 07:04:34] <Volcane> size, resident size, shared pages, text, lib, data, dirty
[2010/06/15 07:04:37] <Volcane> thats one of the masters
[2010/06/15 07:04:39] <malikai> 1142 puppet 20 0 141m 64m 3068 S 0.0 13.0 0:03.79 ruby <- that's what mine looks like in top
[2010/06/15 07:04:50] <malikai> it's just been started
[2010/06/15 07:04:59] <Volcane> so my calculation is fine
[2010/06/15 07:05:26] @ mikepea joined channel #puppet
[2010/06/15 07:05:27] <Volcane> proc says this master is using 44117 resident
[2010/06/15 07:05:41] <Volcane> assuming its bytes though?
[2010/06/15 07:06:21] <Volcane> ah, its kilobytes
[2010/06/15 07:06:27] <Volcane> so thats quite different
[2010/06/15 07:06:33] <Volcane> - well redhat claims its KB
[2010/06/15 07:06:45] <malikai> yea that makes more sense
[2010/06/15 07:07:09] <malikai> i wouldn't mind getting back that 20 megs
[2010/06/15 07:07:34] <Volcane> Matched processes: 6
[2010/06/15 07:07:35] <Volcane> Resident Size: 230.52MB
[2010/06/15 07:08:35] @ Quit: lwhalen: Quit: Computer has gone to sleep
[2010/06/15 07:08:40] <tgeorgescu> http://pastebin.com/NGRTm1jR Got the entire output of my error "function sum(boolean) does not exist" on pastebin if anybody could help.
[2010/06/15 07:09:02] <Volcane> tgeorgescu: what database?
[2010/06/15 07:09:09] <tgeorgescu> postgresql
[2010/06/15 07:09:28] <Tonnerre> tgeorgescu, how would you sum up a boolean? What's the result?
[2010/06/15 07:09:31] <Volcane> i guess someome made some bad assumptions about datatypes then and mysql just goss over it
[2010/06/15 07:09:34] <Tonnerre> A boolean probably?
[2010/06/15 07:09:57] <Tonnerre> The XOR of all boolean values?
[2010/06/15 07:10:18] <tgeorgescu> Volcane, I haven't touched the db. Puppet created it, and that was that.
[2010/06/15 07:10:25] @ mccune joined channel #puppet
[2010/06/15 07:10:38] <Volcane> tgeorgescu: i mean the ppl who wrote dashboard
[2010/06/15 07:11:01] @ snoop joined channel #puppet
[2010/06/15 07:13:33] <tgeorgescu> Volcane, I'll fire the question over to the dashboard folk.
[2010/06/15 07:17:28] @ cliff-hm joined channel #puppet
[2010/06/15 07:26:01] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/15 07:26:18] @ jcharette joined channel #puppet
[2010/06/15 07:26:35] <jcharette> does anyone know how to change the default port for puppet dashboard or foreman?
[2010/06/15 07:26:42] <jcharette> they both use 3000 and I want to try both of them
[2010/06/15 07:27:50] @ rmiller4pi8 joined channel #puppet
[2010/06/15 07:27:59] <Volcane> its a rails app
[2010/06/15 07:28:05] <Volcane> google how to change the port
[2010/06/15 07:28:11] <Volcane> they all work the same
[2010/06/15 07:28:17] <matti> Hi Volcane
[2010/06/15 07:28:27] <Volcane> hye matti
[2010/06/15 07:28:33] <jcharette> thanks volcane
[2010/06/15 07:28:39] @ Quit: rmiller4pi8: Client Quit
[2010/06/15 07:29:41] @ rmiller4pi8 joined channel #puppet
[2010/06/15 07:33:31] @ rhyanr joined channel #puppet
[2010/06/15 07:34:49] @ Quit: rhyanr: Remote host closed the connection
[2010/06/15 07:34:50] @ Quit: mccune: Ping timeout: 258 seconds
[2010/06/15 07:35:07] @ jdcasey joined channel #puppet
[2010/06/15 07:35:31] @ rhyno joined channel #puppet
[2010/06/15 07:38:12] @ mccune joined channel #puppet
[2010/06/15 07:38:14] @ Quit: rhyno: Remote host closed the connection
[2010/06/15 07:38:33] @ cliff-hm joined channel #puppet
[2010/06/15 07:39:45] @ mccune is now known as jeffmccune
[2010/06/15 07:39:58] <tgeorgescu> http://projects.puppetlabs.com/issues/4004 Just created if there are any dashboard developers kicking about.
[2010/06/15 07:43:28] @ lwhalen joined channel #puppet
[2010/06/15 07:47:20] <jamesturnbull> tgeorgescu: I'll point ReinH at it
[2010/06/15 07:47:34] <tgeorgescu> jamesturnbull, cheers pal.
[2010/06/15 07:48:43] @ mccune joined channel #puppet
[2010/06/15 07:49:12] @ mccune is now known as Guest39708
[2010/06/15 07:49:45] @ Quit: Guest39708: Client Quit
[2010/06/15 07:50:44] @ Quit: jeffmccune: Ping timeout: 276 seconds
[2010/06/15 07:52:10] <ohadlevy> jcharette: if you install from a package, there is a simple config file to manage the port
[2010/06/15 07:52:39] @ Quit: lutter: Remote host closed the connection
[2010/06/15 07:53:27] @ lutter joined channel #puppet
[2010/06/15 07:58:21] @ Quit: TREllis: Ping timeout: 240 seconds
[2010/06/15 08:00:26] @ rgsteele joined channel #puppet
[2010/06/15 08:00:30] @ tonyskapunk joined channel #puppet
[2010/06/15 08:05:28] @ TREllis joined channel #puppet
[2010/06/15 08:06:25] @ Quit: sdog: Quit: Leaving.
[2010/06/15 08:06:46] <jason^> i get this error: "Error 400 on SERVER: Could not find resource type apt::config at /etc/puppet/tree/manifests/nodes.pp:30 on node blah", all of my other modules work, it's in the module directory i setup in the puppet.conf file named apt
[2010/06/15 08:08:29] @ acrollet joined channel #puppet
[2010/06/15 08:10:30] @ jeffmccune joined channel #puppet
[2010/06/15 08:15:16] <tgeorgescu> Hey guys, it there any reason why a simple "ruby install.rb" upgrade from 0.25.0 to 0.25.5 would make puppet stop updating its clients without any errors?
[2010/06/15 08:15:26] <tgeorgescu> Did I just do a brute force update?
[2010/06/15 08:18:36] @ steph021 joined channel #puppet
[2010/06/15 08:20:40] @ Quit: floess_chris: Quit: Ex-Chat
[2010/06/15 08:23:39] @ plutt joined channel #puppet
[2010/06/15 08:27:57] @ pinoyskull joined channel #puppet
[2010/06/15 08:35:29] <jamesturnbull> tgeorgescu: source upgrades aren't recommended
[2010/06/15 08:35:43] <tgeorgescu> jamesturnbull, lol!
[2010/06/15 08:35:48] <jamesturnbull> tgeorgescu: you really need to delete your old puppet code/libraries and then re-install
[2010/06/15 08:35:58] <tgeorgescu> jamesturnbull, cheers pal.
[2010/06/15 08:36:10] <jamesturnbull> tgeorgescu: because install.rb doesn't delete the old code
[2010/06/15 08:36:41] <fruitcake> hm.. anyone running puppet with passenger on centos?
[2010/06/15 08:36:53] <jamesturnbull> fruitcake: I am running it on Fedora
[2010/06/15 08:36:59] <jamesturnbull> fruitcake: what's up?
[2010/06/15 08:37:00] <tgeorgescu> jamesturnbull, cheers pal. I can can add that to the rest of the stupid things I've done today, :)
[2010/06/15 08:37:15] <jamesturnbull> lols
[2010/06/15 08:38:12] <stahnma> fruitcake: we are on rhel
[2010/06/15 08:38:38] <fruitcake> just .. I feel like a bit of a tool. I followed the website intructions for getting it to work..
[2010/06/15 08:39:15] <fruitcake> I seem to have passenger running etc, and it looks like standalone it's ok, but passenger seems to error out on the ca permissions (which I've changed but to no avail)
[2010/06/15 08:40:40] <fruitcake> what user/group/perm does it _want_?
[2010/06/15 08:41:22] <stahnma> I think puppet as the owner
[2010/06/15 08:41:24] <stahnma> let me check
[2010/06/15 08:41:48] <fruitcake> hm
[2010/06/15 08:41:53] <stahnma> yeah puppet
[2010/06/15 08:41:55] <fruitcake> lemme look, I may have found something
[2010/06/15 08:42:32] @ eshamow joined channel #puppet
[2010/06/15 08:43:18] <fruitcake> actually, no i didn't..
[2010/06/15 08:43:27] <fruitcake> and perms?
[2010/06/15 08:43:28] @ Quit: tim__: Remote host closed the connection
[2010/06/15 08:43:41] <stahnma> drwxrwx--- 5 puppet puppet 4096 May 27 11:14 ca
[2010/06/15 08:44:35] <fruitcake> thans
[2010/06/15 08:44:41] <fruitcake> thanks even
[2010/06/15 08:46:22] <fruitcake> nope, still getting permission denied.
[2010/06/15 08:47:14] <fruitcake> Exception Errno::EACCES in PhusionPassenger::Rack::ApplicationSpawner (Permission denied - /var/lib/puppet/ssl/ca) <-- it's just weird...
[2010/06/15 08:47:18] <jbooth> Got selinux enabled?
[2010/06/15 08:47:37] <Volcane> fruitcake: look in ps, what does puppetmaster run as?
[2010/06/15 08:49:55] <fruitcake> hm
[2010/06/15 08:50:00] <fruitcake> no turned off selinux
[2010/06/15 08:50:15] <fruitcake> puppetmaster doesn't seem to be running at all..
[2010/06/15 08:50:29] @ ajbourg joined channel #puppet
[2010/06/15 08:50:40] <Volcane> ah, application spawner
[2010/06/15 08:50:41] <Volcane> ok
[2010/06/15 08:50:48] <Volcane> did you chown your .ru file to the puppet user?
[2010/06/15 08:50:55] <fruitcake> yea
[2010/06/15 08:51:19] <ajbourg> What is the easiest way to have puppet install a package on debian from lenny-backports instead of the default package sources?
[2010/06/15 08:51:29] @ allsystemsarego joined channel #puppet
[2010/06/15 08:51:31] <jbooth> Is there already content in ssl/ or is it failing trying to generate the ca and certificates?
[2010/06/15 08:51:36] <Volcane> ajbourg: configure apt with pinning
[2010/06/15 08:53:33] <fruitcake> although you may have a point Volcan, I might have overwritten it. Doublechecking
[2010/06/15 08:54:06] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/15 08:58:20] @ fluxdude joined channel #puppet
[2010/06/15 09:01:37] @ ashp_ joined channel #puppet
[2010/06/15 09:02:27] <ajbourg> Volcane: ok, that was easier than I expected. Thanks for the help.
[2010/06/15 09:02:27] @ Quit: joe-mac: *.net *.split
[2010/06/15 09:02:27] @ Quit: MattyM: *.net *.split
[2010/06/15 09:02:27] @ Quit: lohapuk: *.net *.split
[2010/06/15 09:02:27] @ Quit: fruitcake: *.net *.split
[2010/06/15 09:02:27] @ Quit: Lunar_Lamp: *.net *.split
[2010/06/15 09:02:28] @ Quit: mellen: *.net *.split
[2010/06/15 09:02:28] @ Quit: ashp: *.net *.split
[2010/06/15 09:02:28] @ Quit: elementai: *.net *.split
[2010/06/15 09:03:58] @ elementai joined channel #puppet
[2010/06/15 09:04:46] @ MattyM joined channel #puppet
[2010/06/15 09:04:51] @ fruitcake joined channel #puppet
[2010/06/15 09:04:51] @ Lunar_Lamp joined channel #puppet
[2010/06/15 09:04:51] @ mellen joined channel #puppet
[2010/06/15 09:05:02] @ Quit: cliff-hm: Ping timeout: 264 seconds
[2010/06/15 09:05:38] @ ckauhaus joined channel #puppet
[2010/06/15 09:05:55] @ Quit: themroc: Remote host closed the connection
[2010/06/15 09:06:05] @ joe-mac joined channel #puppet
[2010/06/15 09:08:12] @ ahuman joined channel #puppet
[2010/06/15 09:13:19] <joe-mac> man the openbsd package provider is fucked
[2010/06/15 09:14:37] @ LinuxCode joined channel #puppet
[2010/06/15 09:16:15] @ Quit: lutter: Ping timeout: 240 seconds
[2010/06/15 09:17:20] <joe-mac> i want to fix it but the packaging on obsd itself is kind of fux0red
[2010/06/15 09:17:45] <joe-mac> you would figure - was a separater for package info- mosto f them follow the convention name-version-flavor where -flavor is optional
[2010/06/15 09:17:54] <joe-mac> but then there is stuff like ruby-facter
[2010/06/15 09:18:02] <joe-mac> the package name has a - in it... why? why would anyone do this
[2010/06/15 09:18:03] <joe-mac> why
[2010/06/15 09:18:50] <Volcane> seems like a perfectly sane ting to do
[2010/06/15 09:19:18] @ cliff-hm joined channel #puppet
[2010/06/15 09:19:39] @ Quit: TREllis: Ping timeout: 265 seconds
[2010/06/15 09:19:58] <joe-mac> i can't figure out how to do a regex that handles this
[2010/06/15 09:20:09] <joe-mac> cuase it would need, what's it called uhh non-lazy matching i think?
[2010/06/15 09:20:28] <joe-mac> so .*-\d would match the last - before a digit, and not the first dash
[2010/06/15 09:24:35] @ bitfield joined channel #puppet
[2010/06/15 09:24:58] <Cope_> lo bitfield :)
[2010/06/15 09:25:25] @ Cope_ is now known as Cope
[2010/06/15 09:25:59] <Cope> WTF: rake install on puppet dashboard is bitching about to being able to load net/https
[2010/06/15 09:26:26] <bitfield> i'm trying out this awesome new thing called irc. it's like campfire, only better.
[2010/06/15 09:26:32] <Cope> wow
[2010/06/15 09:30:48] @ Quit: shug: Quit: Leaving
[2010/06/15 09:32:31] @ Quit: mauve: Quit: Leaving
[2010/06/15 09:37:14] @ Quit: jcape: Remote host closed the connection
[2010/06/15 09:37:33] @ jcape joined channel #puppet
[2010/06/15 09:37:57] @ Quit: kc7zzv: Quit: kc7zzv
[2010/06/15 09:43:18] @ Quit: rocket: Ping timeout: 240 seconds
[2010/06/15 09:44:15] @ rocket joined channel #puppet
[2010/06/15 09:44:47] <fruitcake> my error has been upgraded to premature end of script headers.
[2010/06/15 09:44:55] <fruitcake> awesome ;)
[2010/06/15 09:44:58] @ Quit: bgupta: Quit: bgupta
[2010/06/15 09:45:16] @ Quit: plutt: Quit: Leaving
[2010/06/15 09:47:53] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/15 09:48:39] @ alfism joined channel #puppet
[2010/06/15 09:49:22] @ Quit: macfly: Quit: Leaving.
[2010/06/15 09:49:38] @ macfly joined channel #puppet
[2010/06/15 09:49:52] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/06/15 09:51:35] <Cope> OK, so I've installed puppet dashboard from the .deb package... and also manually on a centos box; on each occasion, starting the server gives: /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- puppet/transaction/report (MissingSourceFile)
[2010/06/15 09:51:55] @ TREllis joined channel #puppet
[2010/06/15 09:52:00] <Cope> but the documentation states: 4. **Import Reports (optional):** `rake reports:import`
[2010/06/15 09:52:43] @ ckauhaus joined channel #puppet
[2010/06/15 09:52:49] <Cope> and that also gives: no such file to load -- puppet/transaction/report
[2010/06/15 09:54:18] <tgeorgescu> TTFN all.
[2010/06/15 09:54:20] @ Quit: tgeorgescu: Quit: Leaving
[2010/06/15 09:54:42] @ Quit: DavidS: Quit: Leaving.
[2010/06/15 09:55:09] @ DavidS joined channel #puppet
[2010/06/15 09:55:28] @ Quit: MattyM: Remote host closed the connection
[2010/06/15 09:58:21] @ thekad-afk is now known as thekad
[2010/06/15 09:59:50] @ Quit: DavidS: Ping timeout: 272 seconds
[2010/06/15 10:01:42] <fruitcake> can someone tell me what their passenger-status | grep PID | sort
[2010/06/15 10:01:51] <fruitcake> says?
[2010/06/15 10:01:54] @ Quit: itguru: Ping timeout: 265 seconds
[2010/06/15 10:08:54] @ phips joined channel #puppet
[2010/06/15 10:11:24] @ Quit: jdcasey: Remote host closed the connection
[2010/06/15 10:13:19] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/15 10:13:26] @ ^Anvil joined channel #puppet
[2010/06/15 10:15:41] @ jaredrhine joined channel #puppet
[2010/06/15 10:20:34] @ Quit: sijis: Ping timeout: 252 seconds
[2010/06/15 10:21:22] @ Blackfoot joined channel #puppet
[2010/06/15 10:22:23] @ Quit: gaveen: Remote host closed the connection
[2010/06/15 10:22:25] <fruitcake> clear
[2010/06/15 10:22:27] <fruitcake> oops
[2010/06/15 10:22:28] @ sijis joined channel #puppet
[2010/06/15 10:26:18] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 10:26:46] @ avocado joined channel #puppet
[2010/06/15 10:27:28] @ sijis joined channel #puppet
[2010/06/15 10:28:05] <avocado> is there like a page of puppet best practices?
[2010/06/15 10:28:17] @ Quit: ahuman: Remote host closed the connection
[2010/06/15 10:28:55] <jhelwig> avocado: This? http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Best_Practice
[2010/06/15 10:29:40] <jhelwig> I have no idea how up-to-date it is, or if it's still "best practices". It's been a _long_ time since I looked at the best practices pages.
[2010/06/15 10:30:01] @ Quit: macfly: Ping timeout: 264 seconds
[2010/06/15 10:31:59] @ macfly joined channel #puppet
[2010/06/15 10:36:20] <Cope> it was felt at puppetcamp that that document didn't really represent best practices
[2010/06/15 10:36:35] <Cope> but rather one specific team's perfectly valid interpretation
[2010/06/15 10:36:42] <Cope> at a point in history
[2010/06/15 10:37:01] @ Quit: jgoldschrafe: Ping timeout: 258 seconds
[2010/06/15 10:37:19] <Cope> http://www.lab42.it/presentations/puppetmodules/puppetmodules.html
[2010/06/15 10:37:41] <Cope> is an uptodate perspective, although it doesn't cover the same ground
[2010/06/15 10:37:58] <Volcane> and is designed specifically to be as generic as possible
[2010/06/15 10:38:08] <Volcane> which has side effects in the amount of effort it is to comply with that design
[2010/06/15 10:38:18] <Volcane> which might just not be appropriate for many places
[2010/06/15 10:41:24] @ Quit: sijis: Ping timeout: 276 seconds
[2010/06/15 10:41:34] @ theriffer joined channel #puppet
[2010/06/15 10:41:49] @ robinbowes_nb joined channel #puppet
[2010/06/15 10:46:04] @ adrian_broher joined channel #puppet
[2010/06/15 10:48:13] @ sijis joined channel #puppet
[2010/06/15 10:48:46] @ Quit: theriffer: Read error: Connection reset by peer
[2010/06/15 10:50:12] <gepetto> ::redmine:: Wiki edit: Using_Mongrel_Nginx (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Using_Mongrel_Nginx?version=3 (by Jim Blomo)
[2010/06/15 10:51:13] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/15 10:51:35] @ jeffmccune joined channel #puppet
[2010/06/15 10:52:20] @ MrHeavy joined channel #puppet
[2010/06/15 10:54:12] * Cope hunts high and low for documentation on using puppet dashbaord as a node manager
[2010/06/15 10:54:58] @ happymcplaksin joined channel #puppet
[2010/06/15 10:59:06] @ Quit: ^Anvil: Remote host closed the connection
[2010/06/15 11:00:51] @ Quit: jeffmccune: Read error: Connection reset by peer
[2010/06/15 11:01:11] @ jeffmccune joined channel #puppet
[2010/06/15 11:02:38] <odyi> Cope: it is rather basic. You use the script that is included with the dashboard installation. Are you using the source or something someone packaged?
[2010/06/15 11:02:50] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/06/15 11:03:25] <Cope> odyi: currently using one of jturnbull's ubuntu packages on an ec2 instance for a test
[2010/06/15 11:04:05] <odyi> I have no idea where the script would then. I haven't used the dashboard in any packaged form.
[2010/06/15 11:04:26] <odyi> ...You can look directly through the repo on github though.
[2010/06/15 11:05:03] <Cope> /bin/external_node in the src
[2010/06/15 11:05:15] <odyi> correct
[2010/06/15 11:05:37] <odyi> Then you just follow the normal external nodes directions
[2010/06/15 11:05:50] @ anvil14 joined channel #puppet
[2010/06/15 11:07:25] @ lutter joined channel #puppet
[2010/06/15 11:11:27] @ erm is now known as germ
[2010/06/15 11:12:25] @ plathrop-away is now known as plathrop
[2010/06/15 11:14:34] @ Quit: giskard: Read error: Connection timed out
[2010/06/15 11:16:12] <Cope> odyi: what's a 'group'?
[2010/06/15 11:16:22] @ Arvind joined channel #puppet
[2010/06/15 11:16:30] <Cope> I get that a node is a node, and I can apply classes to it
[2010/06/15 11:16:39] @ giskard joined channel #puppet
[2010/06/15 11:18:19] @ HouseAway is now known as AimanA
[2010/06/15 11:18:27] <plathrop> jamesturnbull: I definitely get that augeas is a good library for puppet to use, I just don't want to use it myself :-)
[2010/06/15 11:19:03] <Arvind> Hi , I get this Error with puppet /usr/lib/ruby/site_ruby/1.8/puppet/sslcertificates.rb:8: You must have the Ruby openssl library installed (Puppet::Error)
[2010/06/15 11:19:39] <odyi> Cope: I believe the group and class sections of the dashboard are unfinished.
[2010/06/15 11:19:50] <Arvind> this is seen on calling standalone puppet (version = 0.24.8-2.1) executable even though ruby package installed is ruby-1.8.7.p72-5.21
[2010/06/15 11:20:16] <Cope> odyi: ah ok... /me checks changeog
[2010/06/15 11:20:25] @ plathrop is now known as plathrop-away
[2010/06/15 11:20:41] <Cope> Arvind: what platform?
[2010/06/15 11:20:45] @ plathrop-away is now known as plathrop
[2010/06/15 11:20:49] <Cope> debian lenny?
[2010/06/15 11:20:49] <Arvind> SLES11
[2010/06/15 11:20:52] <Cope> ok
[2010/06/15 11:21:02] <Cope> you need the ruby ssl stuff
[2010/06/15 11:21:06] <Cope> no idea what that is called on sles
[2010/06/15 11:21:56] @ Quit: f3ew: Ping timeout: 265 seconds
[2010/06/15 11:22:01] <Arvind> this runs on 10 of the devices with same configuration and another 10 or more device shows this error
[2010/06/15 11:22:13] <Cope> it's called libopenssl-ruby on debian
[2010/06/15 11:22:17] <Cope> you need the equivalent
[2010/06/15 11:22:25] @ Quit: nareshov: Ping timeout: 265 seconds
[2010/06/15 11:22:38] @ nareshov joined channel #puppet
[2010/06/15 11:23:07] <jbooth> I think group and class work on dashboard
[2010/06/15 11:23:17] <jbooth> At least, they seemed to 'inherit' configuration on mine
[2010/06/15 11:23:26] <jbooth> If I set a variable on a group all nodes in the group picked it up
[2010/06/15 11:23:32] <Cope> right
[2010/06/15 11:23:34] <Arvind> Cope : puppet is supported on this distribution and ruby provides the library /usr/lib/ruby/1.8/i586-linux/openssl.so
[2010/06/15 11:23:58] <Cope> Arvind: i don't believe I said SLES was unsupported
[2010/06/15 11:26:07] <Arvind> Cope : oh .. okay .But for some reason ruby src /usr/lib/ruby/1.8/openssl.rb is not able to load the required Ruby openssl shared library at the path /usr/lib/ruby/1.8/i586-linux/openssl.so available from 'ruby' package.
[2010/06/15 11:26:24] <Cope> mysterious
[2010/06/15 11:26:37] <Cope> compare the one that works... see what's differnet
[2010/06/15 11:27:37] <jbooth> I'd find that i586 suspicious.
[2010/06/15 11:27:46] <jbooth> i686 or x86_64 I'd expect. i586 makes me wonder.
[2010/06/15 11:28:43] @ pting joined channel #puppet
[2010/06/15 11:28:46] <Arvind> ruby -ropenssl -e "puts :yep" to query the library where it does not work and get this error ::> /usr/lib/ruby/1.8/i586-linux/openssl.so: /usr/lib/ruby/1.8/i586-linux/openssl.so: undefined symbol: d2i_ECPKParameters - /usr/lib/ruby/1.8/i586-linux/openssl.so (LoadError) from /usr/lib/ruby/1.8/openssl.rb:17
[2010/06/15 11:29:57] <jbooth> does said i586 directory exist?
[2010/06/15 11:31:50] @ cwebber joined channel #puppet
[2010/06/15 11:31:57] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 11:32:13] @ sijis joined channel #puppet
[2010/06/15 11:32:13] <Arvind> yes . it does rpm -qa |grep ssl gives :> openssl-0.9.8h-30.11 , openssl-certs-0.9.8h-25.14, libopenssl0_9_8-0.9.8h-30.11
[2010/06/15 11:32:39] <jbooth> No. That didn't answer my question
[2010/06/15 11:32:50] <jbooth> Run a ls against said file/path/etc. Does it really exist?
[2010/06/15 11:33:08] @ Quit: cwebber: Client Quit
[2010/06/15 11:34:00] <jbooth> Also, run a ldd against it and look for unresolved libraries. I bet you'll find some.
[2010/06/15 11:34:29] @ Quit: Blackfoot: Quit: leaving
[2010/06/15 11:35:42] @ f3ew joined channel #puppet
[2010/06/15 11:36:14] @ Quit: lutter: Quit: Leaving.
[2010/06/15 11:37:10] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 11:37:15] @ plathrop is now known as plathrop-away
[2010/06/15 11:37:25] @ sijis joined channel #puppet
[2010/06/15 11:38:05] <Arvind> ok .. i guess the problem is openssl command is not working correctly I get this error on running openssl command >> openssl: symbol lookup error: openssl: undefined symbol: d2i_ECPKParameters
[2010/06/15 11:38:29] @ jdcasey joined channel #puppet
[2010/06/15 11:38:41] <jbooth> Arvind: You can either follow my directions about ldd or continue chasing your tail, but I'm not going to help debug something when you won't listen.
[2010/06/15 11:38:49] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 11:38:51] <Arvind> this package is installed on another device where this openssl command works fine
[2010/06/15 11:39:00] <Arvind> sure
[2010/06/15 11:40:16] <Arvind> jbooth : ldd on openssl you mean ?
[2010/06/15 11:40:33] <jbooth> No. ldd on that exact i586 path you posted earlier
[2010/06/15 11:40:45] @ plathrop-away is now known as plathrop
[2010/06/15 11:40:48] <jbooth> Though ldd on the openssl binary should produce the same error...
[2010/06/15 11:40:52] <jbooth> So I guess it doesn't matter
[2010/06/15 11:42:15] @ sijis joined channel #puppet
[2010/06/15 11:44:07] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 11:45:49] <Arvind> jbooth : http://pastie.org/1005749
[2010/06/15 11:45:53] @ gaveen joined channel #puppet
[2010/06/15 11:46:49] <jbooth> You removed the system openssl and put your own version on didn't you?
[2010/06/15 11:47:04] <jbooth> or at least the system openssl libraries
[2010/06/15 11:47:15] @ sijis joined channel #puppet
[2010/06/15 11:48:16] @ Quit: gaveen: Client Quit
[2010/06/15 11:48:43] <lwhalen> I think I'm doing something silly with facter and facts that depend on other facts
[2010/06/15 11:49:00] <jbooth> run a ldd /usr/lib/ruby/1.8/i586-linux/openssl.so, does it have a not found?
[2010/06/15 11:49:02] <Arvind> no .. This is from the system itself . rpm -qa --last gives the same install date for this package as other package like kernel / glibc
[2010/06/15 11:49:16] <lwhalen> if I have a fact that doesn't depend on other facts, and run "facter myfact", it will return that fact as expected
[2010/06/15 11:49:19] <Arvind> sure
[2010/06/15 11:49:44] <jbooth> Arvind: Not even suse would be insane enough to distribute system packages into /usr/local like you're showing on ldd openssl
[2010/06/15 11:49:45] <lwhalen> however, if I have another custom fact that depends on "myfact", if I run "facter mydependantfact" it will return nil
[2010/06/15 11:50:00] <lwhalen> but if I just run "facter" and grep for "mydependantfact" it'll show up
[2010/06/15 11:50:08] <lwhalen> what am I doing wrong?
[2010/06/15 11:50:33] <Arvind> http://pastie.org/1005766
[2010/06/15 11:51:30] <Cope> i seem to be unable to add a class to a node in puppet dashboard... it just doesn't seem to have attaced, and when i view the node it says no nodes
[2010/06/15 11:51:35] <Cope> sorry o calsses
[2010/06/15 11:51:36] <jbooth> Arvind: I don't know what's screwed up with your system but you either have processor architecutre issues (i386/i586/x86_64 mixing) and/or package problems. That your libssl is in /usr/local/staf/lib tells me something isn't right.
[2010/06/15 11:51:42] <Cope> *no classes!
[2010/06/15 11:52:20] <jbooth> lwhalen: Do you call Facter.loadfacts() somewhere before you try to use the value?
[2010/06/15 11:52:21] @ Quit: sijis: Read error: Connection reset by peer
[2010/06/15 11:52:30] <lwhalen> jbooth: uh, on
[2010/06/15 11:52:32] <lwhalen> *no
[2010/06/15 11:52:34] @ lutter joined channel #puppet
[2010/06/15 11:52:36] @ sijis joined channel #puppet
[2010/06/15 11:53:49] <jbooth> lwhalen: http://projects.puppetlabs.com/projects/puppet/wiki/Adding_Facts see the "osfamily" example
[2010/06/15 11:54:07] <jbooth> You need to replicate the begin/rescue/end block
[2010/06/15 11:54:10] <lwhalen> ahh, very cool
[2010/06/15 11:54:20] <lwhalen> what is that "begin/rescue/end" stuff?
[2010/06/15 11:54:21] <Arvind> jbooth : This is not about one system but 10 -15 system show this and uname -a Linux blr-srm-slab126 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux
[2010/06/15 11:54:21] <gepetto> Arvind: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions - Puppet Labs"
[2010/06/15 11:55:12] <jbooth> Arvind: Doesn't really matter if it is 1 or a million. You've got problems with the base OS or packages.
[2010/06/15 11:55:29] <jbooth> I'm not a suse user so my ability to debug their package issues is highly limited.
[2010/06/15 11:56:30] <jbooth> lwhalen: Just testing if the facts you need eixst. It'd be really slow if you always just called loadfacts() (and might end up in a recursive loop too)
[2010/06/15 11:56:33] <Arvind> yeah. . agree this is problem but for several other devices this is working fine .. so got eally confused
[2010/06/15 11:57:00] <lwhalen> can I tell loadfacts to just load certain facts?
[2010/06/15 11:57:20] <jbooth> lwhalen: Beyond me. I just copied the code there I needed. ;-)
[2010/06/15 11:57:34] <lwhalen> haha fair enough :-p
[2010/06/15 11:57:50] <lwhalen> I wish there was a more in-depth guide to fact-writing
[2010/06/15 11:58:23] <Arvind> gepetto : http://projects.puppetlabs.com/issues/show/1 you sent is not related to this ruby thing i guess ??
[2010/06/15 11:59:02] <Volcane> Arvind: gepetto is a bot, it just auto responds to key words
[2010/06/15 11:59:18] <Arvind> sorry :)
[2010/06/15 12:01:51] <pheezy> define foo($a, $b=' ') <--- is a the required parameter, or is b the required parameter?
[2010/06/15 12:02:36] @ plathrop is now known as plathrop-away
[2010/06/15 12:03:01] <jbooth> a
[2010/06/15 12:03:06] <jbooth> b has a default
[2010/06/15 12:03:41] <pheezy> ok
[2010/06/15 12:03:56] <odyi> b's default in a single space character so its validity it based on which resource you are passing that parameter too.
[2010/06/15 12:04:04] <odyi> (in your example)
[2010/06/15 12:04:21] @ floess_chris joined channel #puppet
[2010/06/15 12:05:25] <pheezy> right right, i was just unclear if setting a parameter default also ensured the parameter was required, but it looks like its an either or thing :)
[2010/06/15 12:05:50] <Volcane> whats the point of a parameter with a default that also *requires* someone to supply a value?
[2010/06/15 12:05:57] <Volcane> the default would never get used
[2010/06/15 12:06:26] @ Quit: pting: Quit: Ex-Chat
[2010/06/15 12:07:22] <pheezy> yeah you're right, there is none :P
[2010/06/15 12:07:45] <floess_chris> anybody have some tips about manifest repository practices? Specifically, I installed puppet, and then started to write the manifest, but this is all happening in /etc/puppet
[2010/06/15 12:07:57] <floess_chris> which has since turned into a git repository
[2010/06/15 12:08:15] @ Quit: jcape: Remote host closed the connection
[2010/06/15 12:08:33] @ jcape joined channel #puppet
[2010/06/15 12:09:07] <floess_chris> the other thing is that I don't write most of my manifests on the puppet master, so it gets complicated when you make changes and then have to move them to the master, only to debug again later
[2010/06/15 12:11:41] @ sijis_ joined channel #puppet
[2010/06/15 12:12:35] @ Quit: sijis_: Client Quit
[2010/06/15 12:12:51] @ Quit: adrian_broher: Remote host closed the connection
[2010/06/15 12:14:59] @ thekad is now known as thekad-afk
[2010/06/15 12:15:09] @ Quit: nareshov: Ping timeout: 258 seconds
[2010/06/15 12:15:22] @ adrian_broher joined channel #puppet
[2010/06/15 12:16:04] @ Quit: f3ew: Ping timeout: 265 seconds
[2010/06/15 12:16:04] @ ckauhaus joined channel #puppet
[2010/06/15 12:17:25] @ nareshov joined channel #puppet
[2010/06/15 12:18:34] @ f3ew joined channel #puppet
[2010/06/15 12:20:31] @ Quit: robinbowes_nb: Ping timeout: 258 seconds
[2010/06/15 12:22:45] <Insyte> I'm trying to struggle my way through working with custom types while using environments.
[2010/06/15 12:23:22] <Insyte> It appears that with 2.5.x custom types in non-default environments don't work.
[2010/06/15 12:23:57] <Insyte> Nigel has been trying to explain the workaround to me on the list, but I appear to be misunderstanding something basic.
[2010/06/15 12:24:25] <Insyte> Where do I need to symlink my dev provider/type in order for the server to see it when building the catalog?
[2010/06/15 12:25:17] @ macfly left channel #puppet ()
[2010/06/15 12:25:58] @ Quit: giskard: Remote host closed the connection
[2010/06/15 12:27:19] @ giskard_ joined channel #puppet
[2010/06/15 12:29:20] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/15 12:29:22] @ Quit: gebi: Ping timeout: 245 seconds
[2010/06/15 12:30:22] <anvil14> when using package ensure if the package needs to be installed on CentOS is there a way to issue a "yum clean all"
[2010/06/15 12:31:07] <fsweetser> before or after the package installation?
[2010/06/15 12:31:55] <anvil14> before
[2010/06/15 12:32:44] <fsweetser> hm... you can create an exec and set up package defaults to be after it, but I'm not sure if you can make it refreshonly but before
[2010/06/15 12:33:10] <anvil14> I added the puppet client to my yum repo and now a yum upgrade is failing, if I got to the host and issue a yum clean all and then yum upgrade I get the new puppet rpm
[2010/06/15 12:33:41] <fsweetser> is there any chance you could craft a command to detect if yum clean is required?
[2010/06/15 12:33:56] <fsweetser> (timestamp on the metadata files, or a yum query?)
[2010/06/15 12:37:15] @ Quit: lutter: Quit: Leaving.
[2010/06/15 12:37:57] @ Quit: bitfield: Quit: Leaving.
[2010/06/15 12:41:53] <Arvind> jbooth : your clue helped to track the issue . actually some application providing these openssl library was adding it in the ld_library_path before the actual openssl library
[2010/06/15 12:43:45] <Arvind> jbooth : now after setting the ld library path for these libssl and libcrypto so files this works fine .. Thanks !
[2010/06/15 12:43:58] <jbooth> Arvind: Hopefully that didn't break said other app. :-)
[2010/06/15 12:45:00] <Arvind> this is not part of our app . but will confirm with stakeholder as a crosscheck ..
[2010/06/15 12:45:26] @ Quit: jcape: Ping timeout: 258 seconds
[2010/06/15 12:45:45] <dan__t> Why the F did I just have an argument with someone at work about having the primary identifier of a machine to be the hostname?
[2010/06/15 12:45:50] <dan__t> "No, it should be its IP".
[2010/06/15 12:45:57] <dan__t> No. Why? Because that's stupid. Fact.
[2010/06/15 12:46:15] <dan__t> "Hey Steve can you log in to 10.55.2.16 for me please?"
[2010/06/15 12:47:43] <jbooth> Depends if you're in a DHCP environment, doesn't it?
[2010/06/15 12:48:04] <danderson> pretty much also completely depends on what you mean by "machine"
[2010/06/15 12:48:18] <danderson> if you mean "hardware", then the MAC address or CPU ID may be better.
[2010/06/15 12:48:24] <dan__t> Not really no because every machine is going to end up with a hostname.
[2010/06/15 12:48:29] <danderson> In the context of puppet, I'm guessing you mean "a unit of running services"
[2010/06/15 12:48:36] <dan__t> Its the human recognizable aspect of the actual machine itself.
[2010/06/15 12:48:45] <dan__t> In the context of IT.
[2010/06/15 12:48:57] <dan__t> Yeah when I define a node in Puppet I use a hostname, not an IP or a MAC or a serial number.
[2010/06/15 12:48:57] <danderson> in which case I tend to agree that a hostname is better, assuming the existence of the database describing the mapping of hardware to hostnames
[2010/06/15 12:52:11] @ Quit: Arvind: Quit: Page closed
[2010/06/15 12:52:14] @ toi joined channel #puppet
[2010/06/15 12:56:13] @ Quit: omry|work: Ping timeout: 276 seconds
[2010/06/15 12:57:09] <jbooth> There are potentially arguments for IP or MAC though, depending on your case.
[2010/06/15 12:57:25] <dan__t> Take for example, listing machines in a wiki or something, where one would keep notes.
[2010/06/15 12:57:33] <mackn> it really depends on 'why'
[2010/06/15 12:57:35] <dan__t> You going to list them by IP or MAC or serial?
[2010/06/15 12:57:39] <jbooth> Large supercomputers for instace -- our hostnames are IPs (though those are, in turn, an encoding of rack/slot numbers)
[2010/06/15 12:57:51] <jbooth> For us there, hostname =~ IP
[2010/06/15 12:57:59] @ Quit: ajbourg: Quit: ajbourg
[2010/06/15 12:58:26] <dan__t> right
[2010/06/15 12:58:31] @ Quit: ashp_: Ping timeout: 260 seconds
[2010/06/15 12:59:07] <jbooth> We actually don't use either, we list them by rack-slot and have to turn that into either the hostname (prepend "tur" or ip via some math)
[2010/06/15 12:59:19] <dan__t> got it.
[2010/06/15 12:59:24] <jbooth> So you could call it hostname but you'd be just as valid calling it the IP.
[2010/06/15 12:59:35] @ ashp joined channel #puppet
[2010/06/15 12:59:37] @ Quit: [GuS]: Remote host closed the connection
[2010/06/15 12:59:37] <dan__t> Ok, you'll have to agree, that's "special".
[2010/06/15 12:59:49] <mackn> everyone's needs are different
[2010/06/15 12:59:53] <jbooth> It used to be, back when we were using 10.0 that the transformation was pretty even -- prepend 10.0. or "tur" and you got it.
[2010/06/15 13:00:02] <jbooth> I don't think we're that odd for HPC installs
[2010/06/15 13:00:31] <jbooth> In terms of machines-named-that-way it'd be pretty common. ;-)
[2010/06/15 13:00:57] <mackn> or.. you can just name your machines after smurfs
[2010/06/15 13:01:03] @ Quit: \ask: Remote host closed the connection
[2010/06/15 13:01:23] <jbooth> I think I'd run out of smurfs rather fast. :-P
[2010/06/15 13:02:32] @ macfly joined channel #puppet
[2010/06/15 13:06:06] <stahnma> jamesturnbull: is puppet scaffold up to the point where it should be packaged?
[2010/06/15 13:06:24] <jhelwig> dan__t: The best argument against using the IP I can think of is that many of our machines at work are multi-homed, so using the IP makes it more difficult to determine if x.x.x.x and y.y.y.y are the same physical/virtual machine (without consulting the machines that respond to the IPs, or a spreadsheet/database), whereas each physical/virtual machine can only have one hostname.
[2010/06/15 13:09:20] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/15 13:10:06] <lwhalen> hrm, I seem to be having trouble with my custom Facter facts: http://www.pastie.org/1005905
[2010/06/15 13:10:14] @ lutter joined channel #puppet
[2010/06/15 13:10:18] <lwhalen> whenever I try to load ALL facts, I get stuck in a loop and I crash
[2010/06/15 13:10:25] <lwhalen> i.e. "just running facter"
[2010/06/15 13:10:34] <lwhalen> if I run "facter mc-cluster", I get the expected output
[2010/06/15 13:10:48] <lwhalen> if I run "facter mc-mtamaster", I get no output
[2010/06/15 13:11:29] @ Quit: toi: Quit: Ex-Chat
[2010/06/15 13:11:30] @ rmiller joined channel #puppet
[2010/06/15 13:11:42] <rmiller> anyone have any experience putting puppet behind a load balancer?
[2010/06/15 13:12:17] <Volcane> rmiller: apache is a load balancer :P
[2010/06/15 13:12:47] <rmiller> I've got two puppet servers set up, they are identical in every way and even got them to respond to the same key
[2010/06/15 13:13:02] <rmiller> but I put a VIP in front of it and it tells me it can't do it because of an "unknown protocol"
[2010/06/15 13:14:21] <lwhalen> what are you using to implement the VIP?
[2010/06/15 13:14:26] <rmiller> F5 load balancer
[2010/06/15 13:14:52] <lwhalen> is the F5 set up to be the default route for the puppetmaster boxen?
[2010/06/15 13:15:14] <rmiller> I think it is actually.
[2010/06/15 13:15:30] @ thekad-afk is now known as thekad
[2010/06/15 13:15:36] <lwhalen> can the puppetmasters (puppetmastrei?) route properly?
[2010/06/15 13:15:47] <rmiller> yes... they can get everywhere on the internal network
[2010/06/15 13:15:58] <rmiller> and even work perfectly if pointed to directly
[2010/06/15 13:16:03] <eric0> rmiller: i have my puppetmasters behind netscaler just fine - i'm not terminating the SSL on the lb though, so the vip is just generic TCP
[2010/06/15 13:16:15] <rmiller> hmm
[2010/06/15 13:16:19] <Kiloman> what layer are you doing the load balancing at?
[2010/06/15 13:16:22] <Kiloman> L4 or L7?
[2010/06/15 13:16:34] <rmiller> not entirely sure, the datacenter set up the vip, guess I should look at the config
[2010/06/15 13:17:00] <Kiloman> IIRC the puppetmaster need to be able to verify the client cert
[2010/06/15 13:17:02] <eric0> puppetd->puppetmaster is SSL encrypted and unless you do some special stuff you need the puppetmaster to be the SSL endpoint
[2010/06/15 13:17:13] <Kiloman> which isn't going to work if you're doing SSL offload on the load balancer
[2010/06/15 13:17:31] <Kiloman> unless you go and upload all the certs every time you touch something with puppetca
[2010/06/15 13:17:39] <eric0> Kiloman: you can do it, you just need to have the LB put the client cert CN into a header, and tell puppet what header to look for
[2010/06/15 13:17:42] <rmiller> I'm checking the config now
[2010/06/15 13:17:52] <Kiloman> eric0: erm, right
[2010/06/15 13:17:56] @ Quit: n3kl: Ping timeout: 265 seconds
[2010/06/15 13:18:05] <Kiloman> I suppose you'd just need to upload the CA cert and then update the CRL
[2010/06/15 13:18:31] <Kiloman> for certificate verification stuff
[2010/06/15 13:18:47] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/15 13:18:51] <rmiller> does that mean I have to fix the SSL Profile on the LB?
[2010/06/15 13:19:06] <Kiloman> or just do L4 load balancing and let Puppet continue to handle SSL
[2010/06/15 13:19:16] <Volcane> rmiller: if you look at the apache setups you'll see its offloading all the ssl stuff to apache and have it add some variables etc
[2010/06/15 13:19:38] <Volcane> rmiller: but i guess you could treat it like you would any https server with a LB - have it just distribute the connections leaving the SSL to the servers and not hte LB
[2010/06/15 13:20:48] @ steph021 left channel #puppet ("Leaving")
[2010/06/15 13:24:47] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/15 13:25:34] @ Quit: lutter: Quit: Leaving.
[2010/06/15 13:27:02] <rmiller> I think I see what it is, looks like port 8140 is passed through to port 80. Not good.
[2010/06/15 13:27:45] * rmiller climbs under the servers, grabs a wrench, and starts tightening stuff
[2010/06/15 13:28:52] <lwhalen> can anyone help me with some facter-debugging love? http://www.pastie.org/1005905
[2010/06/15 13:29:38] <lwhalen> if I run "facter mc-cluster", I get the expected output. if I run "facter mc-mtamaster", I get no output.
[2010/06/15 13:30:33] <Volcane> lwhalen: why dont you add some debug puts statements into your code and see where it stops working
[2010/06/15 13:30:36] <Volcane> lwhalen: debuging 101
[2010/06/15 13:31:23] <lwhalen> because I know where it stops working: for whatever reason, when it's processing JUST the "mc-mtamaster" fact, the "cluster = Facter.value("mc-cluster")" line does not process
[2010/06/15 13:31:51] <Volcane> thats just how facter works, its a bit lame with running individual facts
[2010/06/15 13:32:00] <Volcane> thats been addressed i think for the next release
[2010/06/15 13:32:06] <hMz> volcane: is there anyway to get the ldap puppet facts which are generated automatically (ie: ldap) in mc?
[2010/06/15 13:32:14] <nico> lwhalen: you should consider using the case statement too
[2010/06/15 13:32:18] <Volcane> hMz: they're not facts are they?
[2010/06/15 13:32:26] <hMz> not "real" pluginsync facts
[2010/06/15 13:32:31] <hMz> just variables i guess
[2010/06/15 13:32:45] <lwhalen> what's the release schedule for the next facter release?
[2010/06/15 13:32:49] <Volcane> hMz: easiest is probably to write out a file with foo=bar in it for all the ones you care about and make facts from that file
[2010/06/15 13:33:11] <hMz> yea, thats where i'm at today. There is just some delay between making the change in ldap and the next puppet run
[2010/06/15 13:33:16] <Volcane> yeh
[2010/06/15 13:33:17] <hMz> which is what it'd take to write out that file
[2010/06/15 13:33:34] <hMz> so i was mostly checking to see if i was reinventing the wheel or not
[2010/06/15 13:33:45] <Volcane> yeah no other way, other way would be to query ldap
[2010/06/15 13:33:48] <Volcane> and you wont want that
[2010/06/15 13:33:53] <hMz> yea
[2010/06/15 13:33:55] <hMz> thouht about that too
[2010/06/15 13:34:04] <Volcane> cos no matter how awesome your ldap, mc will hammer it to death with enough machines :)
[2010/06/15 13:34:06] <hMz> 600 ldap queries in ms
[2010/06/15 13:34:22] @ Quit: stevenjenkins: Ping timeout: 245 seconds
[2010/06/15 13:34:37] <lwhalen> what's mc?
[2010/06/15 13:34:48] <Volcane> mcollective
[2010/06/15 13:34:51] <lwhalen> ahhhh
[2010/06/15 13:35:16] @ Quit: labrown: Quit: Leaving
[2010/06/15 13:37:26] <hMz> one of my favorite tools
[2010/06/15 13:38:02] <Volcane> hMz: you should hang out in #mcollective then
[2010/06/15 13:38:18] <hMz> didnt know it existed
[2010/06/15 13:39:00] <rmiller> yup that fixed it
[2010/06/15 13:39:04] <rmiller> thanks
[2010/06/15 13:40:48] @ thekad is now known as thekad-afk
[2010/06/15 13:41:01] @ Quit: MattM: Ping timeout: 258 seconds
[2010/06/15 13:41:02] @ thekad-afk is now known as thekad
[2010/06/15 13:41:38] @ Quit: rmiller: Quit: leaving
[2010/06/15 13:42:51] @ PhabX joined channel #puppet
[2010/06/15 13:48:41] @ eventi joined channel #puppet
[2010/06/15 13:48:58] <eventi> anyone using puppet to install and manage splunk?
[2010/06/15 13:53:18] @ ahasenack left channel #puppet ("Leaving")
[2010/06/15 13:57:36] <joe-mac> eventi: i did during my piloting of it
[2010/06/15 13:57:42] <joe-mac> til i realized it would cost 33k to index our data
[2010/06/15 13:57:49] <joe-mac> then i promptly removed splunk
[2010/06/15 13:58:30] <eventi> haha
[2010/06/15 13:58:37] <eventi> How does it get to 33K?
[2010/06/15 13:58:47] <eventi> The licensing looks cheaper than that
[2010/06/15 14:00:53] <pheezy> eh? it's $6000 for a perpetual license that limits you to 500mb/day
[2010/06/15 14:01:42] <eventi> Oh - misread that
[2010/06/15 14:01:44] <pheezy> that gets to 33k+ quickly depending on the size of your infrastructure and what you're indexing
[2010/06/15 14:01:50] <eventi> doesn't free get you 500MB/day?
[2010/06/15 14:02:18] <pheezy> Yeah, it's crippled though, lacking some 'enterprise' features
[2010/06/15 14:02:21] * eventi is less interrested in getting it up via puppet
[2010/06/15 14:02:30] * eventi is keeping the t-shirts though
[2010/06/15 14:03:15] <floess_chris> is it possible to tell puppet to install from debian backports
[2010/06/15 14:03:23] <dan__t> hrm
[2010/06/15 14:05:33] <floess_chris> sorry, I didn't really know the best way to google for it
[2010/06/15 14:05:43] <joe-mac> hahahah
[2010/06/15 14:05:54] <joe-mac> if by 'enterprisey' features you mean the ability to have an actual login...
[2010/06/15 14:06:05] <joe-mac> they are pretty much a gigantic bait and switch
[2010/06/15 14:06:14] <joe-mac> however, the product is absolutely awesome
[2010/06/15 14:06:44] <joe-mac> you literally cannot lock down the login without buying a license... unless you put in an htaccess or some hack
[2010/06/15 14:06:56] <joe-mac> i saw someone make a hack that put apache inm front of it and did that...
[2010/06/15 14:07:17] <eventi> I can firewall the machine easily enough
[2010/06/15 14:07:28] <joe-mac> 33k is only like the 5 GB license too, i only have like 70 boxes, using splunk for unix with a bunch of the more talky plugins disabled
[2010/06/15 14:07:34] <eventi> how about collecting data from other servers? is that enterprise?
[2010/06/15 14:07:38] <joe-mac> firewall != access control
[2010/06/15 14:07:41] @ mrowell joined channel #puppet
[2010/06/15 14:07:57] @ itguru joined channel #puppet
[2010/06/15 14:07:57] <eventi> joe-mac - true - but I'm not protecting much
[2010/06/15 14:08:02] <joe-mac> sure, but the number quickly exceeds 500 MB per day
[2010/06/15 14:08:09] <joe-mac> unless you've got less than 10 boxes or so
[2010/06/15 14:08:16] <eventi> I'm looking at 2
[2010/06/15 14:08:17] <eventi> :)
[2010/06/15 14:08:20] <joe-mac> then you're fine
[2010/06/15 14:08:23] <eventi> lol
[2010/06/15 14:08:47] <joe-mac> i had big plans for splunk
[2010/06/15 14:08:50] <joe-mac> but they would never pay for it
[2010/06/15 14:09:03] <eventi> I've had my eye on it for years, too
[2010/06/15 14:09:14] @ Quit: ckdake: Quit: Leaving.
[2010/06/15 14:09:16] <eventi> I have about 8 t-shirts from Inter Op
[2010/06/15 14:09:19] <joe-mac> the newer versions are ridiculously awesome compared to the older ones too
[2010/06/15 14:09:26] <eventi> lol - and still havn't used it
[2010/06/15 14:09:34] @ Quit: voodoo_: Excess Flood
[2010/06/15 14:09:35] @ mrowell left channel #puppet ()
[2010/06/15 14:09:50] @ voodoo_ joined channel #puppet
[2010/06/15 14:09:55] @ Quit: voodoo_: Excess Flood
[2010/06/15 14:10:16] <lwhalen> heh, wanna know what the answer to my problem was?
[2010/06/15 14:10:17] <eventi> I like the reason "Excess Flood" - as if a small flood was OK
[2010/06/15 14:10:25] @ voodoo_ joined channel #puppet
[2010/06/15 14:10:31] <lwhalen> apparently, when you're trying to call a SINGLE FACT, your filename has to be identical to the fact you're trying to call
[2010/06/15 14:10:41] <lwhalen> http://projects.reductivelabs.com/issues/1365
[2010/06/15 14:10:56] <lwhalen> that'd be a good thing to stick in the documentation somewhere
[2010/06/15 14:11:08] <eventi> on a puppet related subject - do classes and nodes share the same namespace?
[2010/06/15 14:11:28] <eventi> I tried to include splunk (the class) from a node called splunk, and it ignored it
[2010/06/15 14:11:39] @ Quit: rgsteele: Remote host closed the connection
[2010/06/15 14:12:17] <Volcane> eventi: include ::splunk for the top level one
[2010/06/15 14:12:39] <eventi> so to escape the scope of the node name?
[2010/06/15 14:12:52] <LinuxCode> :: one higher in scope
[2010/06/15 14:12:56] <eventi> ok - thanks
[2010/06/15 14:13:00] <Volcane> eventi: someting like that
[2010/06/15 14:13:09] <eventi> is there any use to include nodenames?
[2010/06/15 14:13:13] @ siezer joined channel #puppet
[2010/06/15 14:13:15] <eventi> *use case?
[2010/06/15 14:15:08] @ Quit: project2501b: Read error: Connection reset by peer
[2010/06/15 14:19:58] @ Quit: itguru: Ping timeout: 240 seconds
[2010/06/15 14:20:17] @ Quit: floess_chris: Ping timeout: 265 seconds
[2010/06/15 14:20:53] @ itguru joined channel #puppet
[2010/06/15 14:21:18] @ pting joined channel #puppet
[2010/06/15 14:24:33] @ ckdake joined channel #puppet
[2010/06/15 14:24:33] @ Quit: ckdake: Changing host
[2010/06/15 14:24:33] @ ckdake joined channel #puppet
[2010/06/15 14:24:38] @ bgupta joined channel #puppet
[2010/06/15 14:28:53] @ Quit: nexx: Quit: quit
[2010/06/15 14:30:31] @ eventi left channel #puppet ()
[2010/06/15 14:39:27] @ andrew3 joined channel #puppet
[2010/06/15 14:42:38] @ plathrop-away is now known as plathrop
[2010/06/15 14:43:52] @ sebas891 left channel #puppet ()
[2010/06/15 14:44:07] @ MattM joined channel #puppet
[2010/06/15 14:45:15] @ sebas891 joined channel #puppet
[2010/06/15 14:45:34] @ Quit: iAlien: Ping timeout: 252 seconds
[2010/06/15 14:46:45] @ Quit: joe-mac: Quit: Leaving.
[2010/06/15 14:48:32] @ Quit: sebas891: Client Quit
[2010/06/15 14:54:02] @ Quit: TREllis: Quit: leaving
[2010/06/15 14:55:17] @ Quit: jcharette: Quit: ~ Trillian Astra - www.trillian.im ~
[2010/06/15 14:56:01] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/15 14:56:04] @ Quit: bgupta: Quit: bgupta
[2010/06/15 14:58:08] @ the|herbivore joined channel #puppet
[2010/06/15 14:58:53] @ Quit: anvil14: Quit: anvil14
[2010/06/15 15:02:28] @ Quit: acrollet: Quit: acrollet
[2010/06/15 15:04:39] @ Quit: rmiller4pi8: Ping timeout: 276 seconds
[2010/06/15 15:06:20] @ Quit: notbrien: Quit: notbrien
[2010/06/15 15:13:09] @ Quit: pheezy: Remote host closed the connection
[2010/06/15 15:23:24] <Insyte> I have a mostly-working custom type. It works the first time after a plugin sync, but on subsequent runs it complains "Failed to retrieve current state of resource: No ability to determine if fifo exists"
[2010/06/15 15:23:30] <Insyte> ("fifo" is the name of my type)
[2010/06/15 15:24:20] <Insyte> "ruby -r puppet /var/lib/puppet/lib/puppet/type/fifo.rb /var/lib/puppet/lib/puppet/provider/fifo.rb" doesn't show any syntax errors.
[2010/06/15 15:27:40] <Insyte> Running with --debug doesn't return any additional info.
[2010/06/15 15:28:38] @ Quit: snoop: Ping timeout: 265 seconds
[2010/06/15 15:29:40] @ Quit: kaptk2: Quit: Leaving.
[2010/06/15 15:32:42] @ MarkN left channel #puppet ()
[2010/06/15 15:33:30] @ plathrop is now known as plathrop-away
[2010/06/15 15:39:42] @ bgupta joined channel #puppet
[2010/06/15 15:41:42] @ Quit: andrew3: Quit: Leaving.
[2010/06/15 15:44:55] @ Quit: jab_doa: Quit: Verlassend
[2010/06/15 15:49:05] @ Quit: jdcasey:
[2010/06/15 15:49:47] @ Quit: bgupta: Remote host closed the connection
[2010/06/15 15:49:58] @ bgupta joined channel #puppet
[2010/06/15 15:55:11] <Insyte> So providers must be in a subdirectory of lib/puppet/provider and types must *not*?
[2010/06/15 15:55:14] <Insyte> Is that accurate?
[2010/06/15 15:57:18] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/06/15 16:03:31] @ bobinabottle joined channel #puppet
[2010/06/15 16:05:53] @ Quit: BLZbubba: Ping timeout: 260 seconds
[2010/06/15 16:07:04] @ Quit: lwhalen: Ping timeout: 252 seconds
[2010/06/15 16:14:00] @ jph98 joined channel #puppet
[2010/06/15 16:14:29] <jph98> hi all, what are the minimum system requirements for a puppetmaster server?
[2010/06/15 16:15:44] <eshamow> Volcane: ping
[2010/06/15 16:16:12] <eshamow> meh i keep forgetting you are across the ocean :) it's prob rather late over there
[2010/06/15 16:16:15] <eshamow> i'll ask tomorrow
[2010/06/15 16:16:29] <LinuxCode> 00:16 am
[2010/06/15 16:16:45] <eshamow> ooh, and i found the answer to my own question anyway...
[2010/06/15 16:16:50] @ Quit: rodjek: Remote host closed the connection
[2010/06/15 16:16:50] <LinuxCode> hehe
[2010/06/15 16:16:53] <eshamow> well, the afternoons are turning into quite the spectacle for me
[2010/06/15 16:16:53] <Insyte> jph98: That's somewhat impossible to answer in a vacuum.
[2010/06/15 16:16:54] <LinuxCode> excellent
[2010/06/15 16:17:31] <Insyte> jph98: 5 clients? 5000?
[2010/06/15 16:17:48] <Volcane> yeah, 00:17 :P
[2010/06/15 16:18:05] <jph98> Insyte: approx 50 clients...
[2010/06/15 16:18:20] <Volcane> jph98: i run them fine on a 768MB virtual machine
[2010/06/15 16:18:23] <Insyte> jph98: In that case, pretty much any server you have lying around.
[2010/06/15 16:18:37] <Volcane> jph98: as well as nagios and some other bits on that same machine
[2010/06/15 16:18:42] <jph98> 768MB virtual machine... ok sounds good.. thanks Volcane...
[2010/06/15 16:21:15] * Volcane thinks its bed time
[2010/06/15 16:25:41] <tonyskapunk> I'm attemtping to control a custom init script, it previously had no "status" support then everytime puppet ran it attempted to start up the service, I modified it to add the status but now when I define a "hassstatus => true" the service is never started, http://fpaste.org/DXsn/
[2010/06/15 16:26:35] <Insyte> What does the 'status' command return?
[2010/06/15 16:26:50] <Kiloman> it needs to exit 0 if it's running, exit 1 otherwise
[2010/06/15 16:27:04] <Kiloman> well, exit nonzero if not running
[2010/06/15 16:27:18] <Insyte> "service foo_init status; echo $?"
[2010/06/15 16:27:24] <Insyte> What does that display?
[2010/06/15 16:27:28] <Kiloman> exit code is all that matters, not stderr/stdout tet
[2010/06/15 16:27:32] <Kiloman> *text
[2010/06/15 16:27:49] <tonyskapunk> foo (pid 9734) is running...
[2010/06/15 16:27:50] <tonyskapunk> 0
[2010/06/15 16:28:01] <Insyte> And is it actually running?
[2010/06/15 16:28:35] <Insyte> (I assume so since it returns a pid.) So what does it display if the service is *not* running?
[2010/06/15 16:28:50] <gepetto> ::redmine:: Wiki edit: Using_Thin_Nginx (#1) @ http://projects.reductivelabs.com/projects/1/wiki/Using_Thin_Nginx?version=1 (by Jim Blomo)
[2010/06/15 16:28:50] <gepetto> ::redmine:: Wiki edit: Using_Mongrel (#7) @ http://projects.reductivelabs.com/projects/1/wiki/Using_Mongrel?version=7 (by Jim Blomo)
[2010/06/15 16:29:18] <tonyskapunk> I stopped the sercvice and ran: service foo_init status; echo $?
[2010/06/15 16:29:18] <tonyskapunk> topstats is stopped
[2010/06/15 16:29:18] <tonyskapunk> 0
[2010/06/15 16:29:26] <Insyte> There's your problem.
[2010/06/15 16:29:27] <Kiloman> well there you go
[2010/06/15 16:29:38] <Insyte> If you tell puppet the service is running, it won't start it... :)
[2010/06/15 16:29:46] * Insyte pats puppetd on the head.
[2010/06/15 16:30:27] <tonyskapunk> I see, then the important part is the result of the status 0 is running 1 is stopped
[2010/06/15 16:30:36] <Insyte> w00t! My moderately complex custom type is *alive*!
[2010/06/15 16:30:42] @ lwhalen joined channel #puppet
[2010/06/15 16:33:00] <Insyte> tonyskapunk: Yes.
[2010/06/15 16:34:15] <tonyskapunk> uhmm but why do I get always 0 for other services if they are stopped, e.g service puppet status; echo $?
[2010/06/15 16:34:16] <tonyskapunk> puppetd is stopped
[2010/06/15 16:34:16] <tonyskapunk> 0
[2010/06/15 16:34:16] <tonyskapunk>
[2010/06/15 16:34:24] <Insyte> Basically puppet wants your init scripts to be LSB compliant.
[2010/06/15 16:35:46] <tonyskapunk> ok.. I thought it was.. but definitely I guess the issue is around the init script and not puppet
[2010/06/15 16:36:04] <tonyskapunk> cuz with other services I don't have issues
[2010/06/15 16:36:23] <Kiloman> http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
[2010/06/15 16:36:42] <Kiloman> see the STATUS action exit codes
[2010/06/15 16:36:54] <Insyte> Too fast for me... I was just going to paste the same thing.
[2010/06/15 16:37:03] <Kiloman> hehe
[2010/06/15 16:37:08] <Insyte> tonyskapunk: Many scripts are not LSB.
[2010/06/15 16:37:50] <Insyte> If hasstatus is "no" it looks for the running process. The default is, I believe, no.
[2010/06/15 16:38:42] @ freshtonic joined channel #puppet
[2010/06/15 16:38:44] <Kiloman> yeah without hasstatus it scans 'ps' output for a process name matching the service {} name
[2010/06/15 16:38:52] @ freshtonic left channel #puppet ()
[2010/06/15 16:40:08] <tonyskapunk> thanks for the info, I'll need to look at it closely
[2010/06/15 16:40:33] @ rojasj joined channel #puppet
[2010/06/15 16:40:39] @ rojasj is now known as jrojas
[2010/06/15 16:43:03] @ freshtonic joined channel #puppet
[2010/06/15 16:43:57] @ jcape joined channel #puppet
[2010/06/15 16:45:08] @ andrew3 joined channel #puppet
[2010/06/15 16:48:21] @ plathrop-away is now known as plathrop
[2010/06/15 16:50:18] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/15 16:52:40] @ ona_matt1 joined channel #puppet
[2010/06/15 16:53:43] <jamesturnbull> stahnma: probably not packaged - it was really a stop gap before puppet-module was more operational
[2010/06/15 16:53:50] <jamesturnbull> stahnma: I am hopign it'll go away entirely
[2010/06/15 16:55:34] @ Quit: ona_matt: Ping timeout: 264 seconds
[2010/06/15 16:58:13] @ Quit: jrojas: Quit: leaving
[2010/06/15 17:00:22] @ Quit: PhabX:
[2010/06/15 17:01:35] @ jrojas joined channel #puppet
[2010/06/15 17:16:26] @ cliff-hm joined channel #puppet
[2010/06/15 17:30:12] @ ona_matt joined channel #puppet
[2010/06/15 17:32:56] @ sebas891 joined channel #puppet
[2010/06/15 17:33:25] @ Quit: ona_matt1: Ping timeout: 252 seconds
[2010/06/15 17:33:32] @ Quit: alfism: Quit: alfism
[2010/06/15 17:34:18] @ Quit: duritong: Ping timeout: 240 seconds
[2010/06/15 17:48:43] @ Quit: Edgan: Ping timeout: 276 seconds
[2010/06/15 17:50:15] @ Quit: sebas891: Ping timeout: 265 seconds
[2010/06/15 18:01:09] @ Quit: plathrop: Quit: leaving
[2010/06/15 18:01:17] @ plathrop joined channel #puppet
[2010/06/15 18:02:41] @ Quit: plathrop: Client Quit
[2010/06/15 18:02:44] @ plathrop joined channel #puppet
[2010/06/15 18:06:50] @ sebas891 joined channel #puppet
[2010/06/15 18:08:59] @ Quit: sebas891: Client Quit
[2010/06/15 18:15:21] @ sebas891 joined channel #puppet
[2010/06/15 18:17:04] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/15 18:17:35] @ duritong joined channel #puppet
[2010/06/15 18:24:39] @ Quit: goraxe: Ping timeout: 240 seconds
[2010/06/15 18:29:12] @ plathrop is now known as plathrop-away
[2010/06/15 18:29:22] @ plathrop-away is now known as plathrop
[2010/06/15 19:04:55] @ Quit: avocado: Remote host closed the connection
[2010/06/15 19:16:33] @ Quit: lwhalen: Quit: Where'd my controlling terminal go?!?
[2010/06/15 19:21:38] @ thekad is now known as thekad-afk
[2010/06/15 19:25:18] @ Quit: LinuxCode: Quit: Connection Closed
[2010/06/15 19:28:00] @ rmiller4pi8 joined channel #puppet
[2010/06/15 19:31:42] @ jaredrhine joined channel #puppet
[2010/06/15 19:34:09] @ crdant joined channel #puppet
[2010/06/15 19:43:12] @ Quit: crdant: Quit: Leaving.
[2010/06/15 19:43:34] @ lwhalen joined channel #puppet
[2010/06/15 19:45:11] @ pinoyskull joined channel #puppet
[2010/06/15 20:03:56] @ Quit: pting: Quit: Ex-Chat
[2010/06/15 20:05:12] @ jdcasey joined channel #puppet
[2010/06/15 20:07:49] @ Quit: Disconnect: Ping timeout: 276 seconds
[2010/06/15 20:08:48] @ AimanA is now known as HouseAway
[2010/06/15 20:16:28] @ Quit: fox2mike_: Quit: BOFH Excuse #191: Just type mv * /dev/null.
[2010/06/15 20:17:14] @ fox2mike joined channel #puppet
[2010/06/15 20:24:06] @ Bass10 joined channel #puppet
[2010/06/15 20:31:16] @ alexine_dsouza joined channel #puppet
[2010/06/15 20:35:06] @ Quit: jdcasey:
[2010/06/15 20:37:38] @ fredden joined channel #puppet
[2010/06/15 20:38:44] @ Quit: cliff-hm: Ping timeout: 260 seconds
[2010/06/15 20:40:56] <nexusone> what's the difference for "absent" and "purged" with "package"?
[2010/06/15 20:45:48] @ sebas891 left channel #puppet ()
[2010/06/15 20:45:51] <nareshov> the ifference between apt-get remove package and apt-get purge package
[2010/06/15 20:45:59] <nareshov> or yum uninstall package vs. yum erase package
[2010/06/15 20:46:00] <nareshov> i guess
[2010/06/15 20:47:51] @ WALoeIII joined channel #puppet
[2010/06/15 20:47:58] @ jdcasey joined channel #puppet
[2010/06/15 20:51:47] <nexusone> nareshov, based on code from /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/apt.rb, that's the case for apt, but with yum.rb, absent is to do 'rpm -e', purge is to to 'yum erase'..
[2010/06/15 20:52:14] <nareshov> hmm
[2010/06/15 20:53:14] @ Quit: zorzar: Ping timeout: 265 seconds
[2010/06/15 20:53:46] <nareshov> i'd guess that is because a 'yum uninstall package' removes the dependencies of that package that were installed implicitly
[2010/06/15 20:53:57] <nareshov> unlike 'apt-get package'
[2010/06/15 20:54:08] <nareshov> which relies on your doing a 'apt-get -f remove', iirc
[2010/06/15 20:54:23] <nareshov> (to remove the implicitly installed dependant packages)
[2010/06/15 20:54:35] <nareshov> hi fox2mike
[2010/06/15 20:54:47] @ zorzar joined channel #puppet
[2010/06/15 20:54:53] <nexusone> there is no yum uninstall option
[2010/06/15 20:55:04] <nareshov> yum remove
[2010/06/15 20:55:21] <nareshov> oops
[2010/06/15 20:55:23] <nareshov> they're the same
[2010/06/15 20:55:24] <nareshov> D:
[2010/06/15 20:59:42] @ wilmoore joined channel #puppet
[2010/06/15 21:00:33] @ floess_chris joined channel #puppet
[2010/06/15 21:06:53] @ plathrop is now known as plathrop-away
[2010/06/15 21:13:02] @ Quit: jdcasey:
[2010/06/15 21:13:15] @ crdant joined channel #puppet
[2010/06/15 21:21:38] @ ahuman joined channel #puppet
[2010/06/15 21:35:52] @ mrowell joined channel #puppet
[2010/06/15 21:36:49] @ Quit: Phibs: Quit: leaving
[2010/06/15 21:37:59] @ Phibs joined channel #puppet
[2010/06/15 21:39:20] @ Quit: kgraham: Read error: Operation timed out
[2010/06/15 21:39:48] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/06/15 21:39:59] @ Quit: nareshov: Ping timeout: 260 seconds
[2010/06/15 21:40:37] @ Quit: mriddle: Ping timeout: 245 seconds
[2010/06/15 21:40:38] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/06/15 21:41:05] @ nareshov joined channel #puppet
[2010/06/15 21:41:52] @ Phibs_ joined channel #puppet
[2010/06/15 21:42:02] @ Quit: Phibs_: Client Quit
[2010/06/15 21:42:06] @ Quit: Phibs: Client Quit
[2010/06/15 21:42:12] @ Phibs joined channel #puppet
[2010/06/15 21:42:33] @ Quit: Phibs: Client Quit
[2010/06/15 21:43:30] @ Phibs joined channel #puppet
[2010/06/15 21:43:43] @ kgraham joined channel #puppet
[2010/06/15 21:44:39] @ Quit: nareshov: Changing host
[2010/06/15 21:44:39] @ nareshov joined channel #puppet
[2010/06/15 21:46:11] @ Quit: WALoeIII: Quit: Bai.
[2010/06/15 21:50:03] @ Quit: jcape: Ping timeout: 260 seconds
[2010/06/15 21:50:32] @ mriddle joined channel #puppet
[2010/06/15 21:51:38] @ nexx joined channel #puppet
[2010/06/15 21:52:03] @ pinoyskull joined channel #puppet
[2010/06/15 21:54:55] @ Quit: mrowell: Quit: mrowell
[2010/06/15 21:59:14] @ Quit: crdant: Quit: Leaving.
[2010/06/15 21:59:36] @ wilmoore_ joined channel #puppet
[2010/06/15 22:01:36] @ Quit: wilmoore: Ping timeout: 248 seconds
[2010/06/15 22:05:52] @ Quit: floess_chris: Ping timeout: 248 seconds
[2010/06/15 22:12:20] @ ckauhaus joined channel #puppet
[2010/06/15 22:26:04] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/15 22:26:18] @ ckauhaus joined channel #puppet
[2010/06/15 22:30:47] @ Quit: siezer: Ping timeout: 258 seconds
[2010/06/15 22:37:59] @ Edgan joined channel #puppet
[2010/06/15 22:43:39] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/15 22:44:27] @ fredden left channel #puppet ("Leaving")
[2010/06/15 22:45:07] @ Quit: ahuman: Remote host closed the connection
[2010/06/15 22:47:25] @ ckauhaus joined channel #puppet
[2010/06/15 22:49:24] @ mattock joined channel #puppet
[2010/06/15 22:52:04] @ tjoe joined channel #puppet
[2010/06/15 22:57:13] @ gebi joined channel #puppet
[2010/06/15 22:57:35] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/15 22:57:59] @ ckauhaus joined channel #puppet
[2010/06/15 23:00:14] @ deadboi joined channel #puppet
[2010/06/15 23:02:13] <deadboi> harmoYOu guys all puppets
[2010/06/15 23:02:25] <deadboi> Or play with puppets
[2010/06/15 23:03:16] @ Quit: andrew3: Quit: Leaving.
[2010/06/15 23:03:56] <deadboi> You have sex with puppets>
[2010/06/15 23:04:18] @ deadboi left channel #puppet ()
[2010/06/15 23:14:56] @ shug joined channel #puppet
[2010/06/15 23:15:37] <ReinH> wat
[2010/06/15 23:19:56] <miah> lol
[2010/06/15 23:22:29] @ Quit: shug: Quit: Leaving
[2010/06/15 23:23:04] @ siezer joined channel #puppet
[2010/06/15 23:23:25] @ Quit: gebi: Ping timeout: 264 seconds
[2010/06/15 23:24:21] @ thekad-afk is now known as thekad
[2010/06/15 23:26:58] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/15 23:31:01] @ Djelibeybi joined channel #puppet
[2010/06/15 23:36:08] @ Quit: shakaP: Ping timeout: 252 seconds
[2010/06/15 23:38:41] @ floess_chris joined channel #puppet
[2010/06/15 23:53:42] @ Welsh_Dwarf joined channel #puppet

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