Wednesday, 2010-06-02

[2010/06/02 00:00:47] @ Log started by gepetto
[2010/06/02 00:00:47] @ Quit: emarshall: Client Quit
[2010/06/02 00:15:42] @ emarshall joined channel #puppet
[2010/06/02 00:20:55] @ AlexLuya joined channel #puppet
[2010/06/02 00:22:03] <pixie79> which is better foreman or puppet dashboard ?
[2010/06/02 00:24:01] <blood> foreman from what i saw
[2010/06/02 00:24:11] <blood> but test both
[2010/06/02 00:24:16] <blood> and make your decision
[2010/06/02 00:24:48] <pixie79> ok, just wondering what other people thought,
[2010/06/02 00:27:58] <tuv> can i include class1::common in a define? or will multiple usages of the define cause class1::common's to collide?
[2010/06/02 00:28:52] @ bgupta joined channel #puppet
[2010/06/02 00:29:06] @ Quit: bgupta: Remote host closed the connection
[2010/06/02 00:29:32] <ohadlevy> pixie79: a new much better release of foreman is coming soon :)
[2010/06/02 00:29:37] @ bgupta joined channel #puppet
[2010/06/02 00:29:55] @ lak joined channel #puppet
[2010/06/02 00:31:08] <pixie79> ohadlevy: do yo know how soon? i am looking at setting up a new production puppet master in the next few weeks ?
[2010/06/02 00:31:26] <ohadlevy> i hope to release before the end of the week
[2010/06/02 00:31:27] @ Quit: lak: Client Quit
[2010/06/02 00:31:35] <pixie79> ohadlevy: ok thanks
[2010/06/02 00:38:38] <pixie79> ohadlevy: i just checked out the git repo, and when doing RAILS_ENV=production rake db:migrate i got RubyGem version error: rack(1.1.0 not ~> 1.0.1)
[2010/06/02 00:39:27] @ bodepd joined channel #puppet
[2010/06/02 00:39:47] @ lak joined channel #puppet
[2010/06/02 00:42:28] <ohadlevy> yeah, rails required v1.0.1
[2010/06/02 00:42:37] <ohadlevy> pixie79: are you installing on RH5?
[2010/06/02 00:42:46] <pixie79> ohadlevy: no ubuntu 10.04
[2010/06/02 00:43:01] <ohadlevy> pixie79: so just do gem install rack -v 1.0.1
[2010/06/02 00:43:16] <pixie79> ok so it needs the older version ?
[2010/06/02 00:43:30] <ohadlevy> pixie79: yes, you can also use the puppet module to configure foreman for you
[2010/06/02 00:43:54] <pixie79> arh ok thanks
[2010/06/02 00:44:05] <hacim> ohadlevy: i thought you were saying that foreman requires rails 1.0.1 :)
[2010/06/02 00:44:18] <ohadlevy> nono rails 2.3 requires rack 1.0;1
[2010/06/02 00:44:50] <hacim> i got it, but for a minute I was puzzled
[2010/06/02 00:48:45] <bodepd> ohadlevy: how's foreman going?
[2010/06/02 00:49:16] <ohadlevy> bodepd: not bad
[2010/06/02 00:49:19] @ Quit: Chiku: Quit: Quitte
[2010/06/02 00:49:49] <ohadlevy> bodepd: many contributors and happy users :)
[2010/06/02 00:50:05] <bodepd> yeah, I'm having a peek at the website.
[2010/06/02 00:50:10] <bodepd> almost 300 issues. wow!
[2010/06/02 00:50:25] <ohadlevy> bodepd: last version is a big one
[2010/06/02 00:50:45] @ cwebber joined channel #puppet
[2010/06/02 00:52:16] <bodepd> ohadlevy: where are the release notes?
[2010/06/02 00:52:46] <ohadlevy> bodepd: http://theforeman.org/projects/foreman/wiki/ReleaseNotes
[2010/06/02 00:52:47] <cwebber> Is there a way to see if this change has been migrated into 0.25.5? http://projects.puppetlabs.com/issues/2568
[2010/06/02 00:53:43] <pixie79> hm that is odd no reports? on my client i have [puppetd] report = true in the puppet.conf
[2010/06/02 00:53:59] @ Chiku joined channel #puppet
[2010/06/02 00:54:11] <ohadlevy> pixie79: and on the master?
[2010/06/02 00:54:30] <pixie79> ohadlevy: yes
[2010/06/02 00:54:55] <ohadlevy> pixie79: do you have reports = something on the puppetmaster section?
[2010/06/02 00:57:45] <pixie79> = store,log,rrdgraph
[2010/06/02 00:57:50] <ohadlevy> pixie79: are you trying the reports with foreman? if you do, did you look at http://theforeman.org/projects/foreman/wiki/Puppet_Reports
[2010/06/02 00:58:20] <pixie79> i am looking at foreman, have not looked at hat page will do now thanks
[2010/06/02 00:58:58] <ohadlevy> pixie79: one of the features of the new version is to include some help screens :)
[2010/06/02 00:59:29] @ Quit: gm1959:
[2010/06/02 01:01:57] @ Quit: bodepd: Quit: bodepd
[2010/06/02 01:03:59] @ Quit: emarshall: Quit: emarshall
[2010/06/02 01:06:57] @ emarshall joined channel #puppet
[2010/06/02 01:09:29] @ ckauhaus joined channel #puppet
[2010/06/02 01:10:25] @ Quit: emarshall: Client Quit
[2010/06/02 01:10:57] <cwebber> any ideas why I would regularly get the error "MySQL server has gone away"
[2010/06/02 01:11:11] <ohadlevy> cwebber: you are using an old version of rails?
[2010/06/02 01:11:20] <cwebber> errr
[2010/06/02 01:11:30] <cwebber> ohadlevy: that is a good question
[2010/06/02 01:11:40] <ohadlevy> 2.1 is too old
[2010/06/02 01:11:50] <cwebber> ok
[2010/06/02 01:11:51] @ bodepd joined channel #puppet
[2010/06/02 01:11:55] <cwebber> and how would I check?
[2010/06/02 01:11:56] @ Quit: Lunar_Lamp: Ping timeout: 248 seconds
[2010/06/02 01:11:59] @ Lunar_Lamp joined channel #puppet
[2010/06/02 01:12:13] <ohadlevy> cwebber: type "rails -v"
[2010/06/02 01:12:41] <cwebber> Rails 2.2.2
[2010/06/02 01:13:56] <ohadlevy> cwebber: #2816
[2010/06/02 01:13:56] <gepetto> ohadlevy: cwebber: #2816 is http://projects.puppetlabs.com/issues/show/2816 "Puppet - Bug #2816: Storeconfigs - MySQL server has gone away - PuppetLabs.com"
[2010/06/02 01:15:06] <cwebber> hmmm
[2010/06/02 01:15:09] <cwebber> that is interesting
[2010/06/02 01:16:31] <cwebber> I just added args[:pool] = 15, referencing the changes made in #2568
[2010/06/02 01:16:32] <gepetto> cwebber: #2568 is http://projects.puppetlabs.com/issues/show/2568 "Puppet - Feature #2568: add puppetmasterd 'dbconnections' option to increase rails 'max pool size' - PuppetLabs.com"
[2010/06/02 01:16:43] <cwebber> that seems to have helped at least
[2010/06/02 01:16:53] @ Quit: Edgan_: Ping timeout: 240 seconds
[2010/06/02 01:18:00] <cwebber> looks like i spoke too soon
[2010/06/02 01:18:13] <cwebber> there is at least one of those gone away messages now
[2010/06/02 01:19:34] <cwebber> ohadlevy: thanks
[2010/06/02 01:22:30] @ Quit: agagag: Ping timeout: 240 seconds
[2010/06/02 01:23:25] @ Quit: bodepd: Quit: bodepd
[2010/06/02 01:23:40] @ Quit: n1x0n: Ping timeout: 248 seconds
[2010/06/02 01:24:24] @ emarshall joined channel #puppet
[2010/06/02 01:26:02] @ Quit: emarshall: Client Quit
[2010/06/02 01:26:34] @ emarshall joined channel #puppet
[2010/06/02 01:30:18] @ Quit: lak: Read error: Connection reset by peer
[2010/06/02 01:32:02] <bearnard_> oh sigh...
[2010/06/02 01:32:12] <bearnard_> anyone have any ideas http://pastebin.com/HwVGLMPi
[2010/06/02 01:32:32] @ n1x0n joined channel #puppet
[2010/06/02 01:32:49] <bearnard_> when the puppet-dashboard external_node script is run
[2010/06/02 01:33:13] <bearnard_> everything else in puppet-dashboard works okay..
[2010/06/02 01:33:23] <bearnard_> just cannot get the node yaml
[2010/06/02 01:33:33] @ Quit: blahdeblah: Ping timeout: 240 seconds
[2010/06/02 01:34:30] <bearnard_> ohadlevy: this new version of foreman.. is there a branch yet?
[2010/06/02 01:34:45] @ blahdeblah joined channel #puppet
[2010/06/02 01:34:47] <ohadlevy> sure, there is an rpm, tar and a git branch - you chose
[2010/06/02 01:34:48] @ Quit: blahdeblah: Changing host
[2010/06/02 01:34:48] @ blahdeblah joined channel #puppet
[2010/06/02 01:35:13] <bearnard_> theforeman.org ?
[2010/06/02 01:35:23] <ohadlevy> should always work :)
[2010/06/02 01:35:38] <ohadlevy> how do you want to get it?
[2010/06/02 01:36:00] <bearnard_> the nightly?
[2010/06/02 01:36:06] <bearnard_> tar is good.
[2010/06/02 01:36:12] <ohadlevy> yeah, the nightly should work
[2010/06/02 01:36:38] <bearnard_> thanks
[2010/06/02 01:37:09] @ agagag joined channel #puppet
[2010/06/02 01:38:46] @ Quit: cwebber: Quit: cwebber
[2010/06/02 01:39:31] @ Quit: emarshall: Quit: emarshall
[2010/06/02 01:41:17] @ bodepd joined channel #puppet
[2010/06/02 01:45:13] @ gebi joined channel #puppet
[2010/06/02 01:46:11] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/02 01:49:45] @ lak joined channel #puppet
[2010/06/02 01:50:19] @ ckauhaus joined channel #puppet
[2010/06/02 01:59:22] @ Quit: neek: Ping timeout: 265 seconds
[2010/06/02 02:03:42] @ fredden left channel #puppet ("Leaving")
[2010/06/02 02:03:44] @ Quit: gebi: Ping timeout: 258 seconds
[2010/06/02 02:04:42] @ stefan_ joined channel #puppet
[2010/06/02 02:05:00] @ Welsh_Dwarf joined channel #puppet
[2010/06/02 02:08:20] @ Quit: andrew1: Quit: Leaving.
[2010/06/02 02:09:53] @ Quit: bodepd: Quit: bodepd
[2010/06/02 02:15:47] <bearnard_> ohadlevy: ++ looking good.
[2010/06/02 02:16:40] <ohadlevy> bearnard_: :) let me know if you find any issues
[2010/06/02 02:19:15] <pixie79> ohadlevy: well i have reports being generated ok in /var/puppet/reports/host/ but nothing comming into foreman, i have added the foreman line to puppet.conf and restarted, any ideas?
[2010/06/02 02:21:43] @ Edgan joined channel #puppet
[2010/06/02 02:23:23] @ Quit: n1x0n: Ping timeout: 264 seconds
[2010/06/02 02:23:28] @ n1x0n joined channel #puppet
[2010/06/02 02:24:59] @ sdog joined channel #puppet
[2010/06/02 02:25:49] @ Quit: sdog: Changing host
[2010/06/02 02:25:49] @ sdog joined channel #puppet
[2010/06/02 02:25:53] @ bodepd joined channel #puppet
[2010/06/02 02:26:26] <ohadlevy> pixie79: did you change the url inside the report file?
[2010/06/02 02:26:55] <pixie79> ohadlevy: yep i change it to puppet
[2010/06/02 02:27:08] <ohadlevy> it should point to the foreman url
[2010/06/02 02:28:11] <pixie79> ohadlevy: it does
[2010/06/02 02:28:52] @ nexx joined channel #puppet
[2010/06/02 02:28:53] <ohadlevy> pixie79: did you restart your master? (do you see something in the master / foreman ?)
[2010/06/02 02:30:26] @ Quit: keej: Quit: keej
[2010/06/02 02:37:32] @ Quit: blahdeblah: Ping timeout: 265 seconds
[2010/06/02 02:38:00] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/06/02 02:41:46] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/02 02:43:39] @ Quit: OpenMedia: Quit: Leaving.
[2010/06/02 02:44:22] @ benoit__ joined channel #puppet
[2010/06/02 02:49:25] @ Quit: bodepd: Quit: bodepd
[2010/06/02 02:50:10] <ohadlevy> anyone is looking for a job in Austria or Germany?
[2010/06/02 02:51:18] <ohadlevy> hmm.. maybe too early
[2010/06/02 02:51:53] @ Quit: lak: Quit: lak
[2010/06/02 02:53:49] <chrisg> lol
[2010/06/02 02:54:07] <chrisg> what job is this ohadlevy
[2010/06/02 02:54:39] @ PsychoSid joined channel #puppet
[2010/06/02 02:54:54] <ohadlevy> chrisg: infrastructure automation role, taking part in managing a few thousands puppet clients
[2010/06/02 02:55:13] @ allsystemsarego joined channel #puppet
[2010/06/02 02:55:46] @ TREllis joined channel #puppet
[2010/06/02 02:56:03] <chrisg> contract?
[2010/06/02 02:56:04] @ Quit: enoch2038: Ping timeout: 240 seconds
[2010/06/02 02:56:22] <ohadlevy> chrisg: could be, but most likely a local hire
[2010/06/02 02:56:22] <sdog> ohadlevy: and I always tought that having puppet meant you didn't have to manage the clients anymore :))
[2010/06/02 02:56:52] <ohadlevy> sdog: its a big enterprise, you need to keep on converting things to use puppet
[2010/06/02 02:57:35] <chrisg> iight have been interestrd in a couple of months lol, only just starrtee this contract in frankfurt :)
[2010/06/02 02:58:17] <chrisg> is te place a managed service provider? or does thier app actually need that kany nodes?
[2010/06/02 02:58:57] <ohadlevy> chrisg: its a large enterprise, with many many services (but most of the nodes are for compute purpose)
[2010/06/02 02:59:06] @ Quit: nexusone: Quit: Leaving
[2010/06/02 02:59:10] <chrisg> ah :)
[2010/06/02 03:01:15] @ LapTop006 joined channel #puppet
[2010/06/02 03:01:41] @ Quit: rodnet: Quit: rodnet
[2010/06/02 03:02:10] <ohadlevy> chrisg: I guess we need someone to come in in the next few months (1-3)
[2010/06/02 03:03:09] @ LapTop006_ joined channel #puppet
[2010/06/02 03:05:24] @ Quit: LapTop006: Client Quit
[2010/06/02 03:05:24] @ Quit: LapTop006_: Client Quit
[2010/06/02 03:05:36] @ Ramonster joined channel #puppet
[2010/06/02 03:06:28] <nasrat> ohadlevy: if you have a job spec can punt to the london list
[2010/06/02 03:06:50] <ohadlevy> nasrat: thanks, most likely this need to be in Austria / Germany
[2010/06/02 03:07:11] <nasrat> sure but it's all the EU and some ppl may be interested in relocation
[2010/06/02 03:07:34] <ohadlevy> nasrat: thanks, I might do it then
[2010/06/02 03:08:25] <nasrat> later -> office
[2010/06/02 03:10:03] @ LapTop006 joined channel #puppet
[2010/06/02 03:14:31] <sdog> nasrat: yeah to spain, italy, south of france, etc .. not to germany :)
[2010/06/02 03:14:39] @ taihen joined channel #puppet
[2010/06/02 03:14:56] <ohadlevy> sdog: and you completely ignored Austria ;)
[2010/06/02 03:21:35] <pixie79> ohadlevy: what do you mean by did i see somthing in master / foreman (yes i restarted the master and the client) sorry for the slow reply looking after my girls today and working
[2010/06/02 03:22:53] @ themroc joined channel #puppet
[2010/06/02 03:23:16] <pixie79> although i am not sure reporting is working correctly as i am not getting rrd's either generated, but i do have reports in yaml format on the server for the client under /var/pupper/reports/client/
[2010/06/02 03:24:37] @ Quit: stefan_: Ping timeout: 258 seconds
[2010/06/02 03:27:52] @ ckauhaus joined channel #puppet
[2010/06/02 03:27:56] @ thegcat joined channel #puppet
[2010/06/02 03:30:52] <ohadlevy> pixie79: its ok, I know the feeling - do you see in your puppet master logs something processing reports foreman etc
[2010/06/02 03:31:23] <ohadlevy> pixie79: rrd are not required any more, as foreman generates its own graphs now
[2010/06/02 03:32:22] <pixie79> ohadlevy: ok i shall remove the rrd bit then
[2010/06/02 03:33:35] @ Quit: nimrod10: *.net *.split
[2010/06/02 03:33:35] @ Quit: rcrowley: *.net *.split
[2010/06/02 03:33:35] @ Quit: zahna: *.net *.split
[2010/06/02 03:33:36] @ Quit: mizzy: *.net *.split
[2010/06/02 03:33:36] @ Quit: cmoates: *.net *.split
[2010/06/02 03:33:36] @ Quit: j00bar: *.net *.split
[2010/06/02 03:33:36] @ Quit: felix_da_catz: *.net *.split
[2010/06/02 03:33:36] @ Quit: nicomen: *.net *.split
[2010/06/02 03:33:36] @ Quit: Dyresen: *.net *.split
[2010/06/02 03:33:36] @ Quit: andrewh: *.net *.split
[2010/06/02 03:33:37] @ Quit: AdrianBroher: *.net *.split
[2010/06/02 03:33:37] @ Quit: stevenjenkins: *.net *.split
[2010/06/02 03:33:37] @ Quit: jheiss: *.net *.split
[2010/06/02 03:33:37] @ Quit: zipkid: *.net *.split
[2010/06/02 03:34:49] <pixie79> ohadlevy: its a no to seeing anything in the log
[2010/06/02 03:35:17] <ohadlevy> pixie79: did you follow http://theforeman.org/projects/foreman/wiki/Puppet_Reports ?
[2010/06/02 03:35:28] <pixie79> ohadlevy: yes
[2010/06/02 03:35:36] <pixie79> my puppet.conf for the master is http://pastie.org/988710
[2010/06/02 03:36:06] <ohadlevy> pixie79: and your foreman file is in the right place? (which os?)
[2010/06/02 03:36:16] <pixie79> ubuntu
[2010/06/02 03:37:07] <ohadlevy> did you save the report as /usr/lib/ruby/1.8/puppet/foreman.rb ?
[2010/06/02 03:37:24] <pixie79> ohadlevy: http://pastie.org/988713 yes
[2010/06/02 03:37:54] @ giskard joined channel #puppet
[2010/06/02 03:38:10] <pixie79> ohadlevy: one thing that url does not exist in DNS but does in the local host table
[2010/06/02 03:38:38] <ohadlevy> pixie79: it should be named foreman.rb
[2010/06/02 03:39:33] <pixie79> ohadlevy: arh thanks :)
[2010/06/02 03:39:47] @ nimrod10 joined channel #puppet
[2010/06/02 03:39:48] @ rcrowley joined channel #puppet
[2010/06/02 03:39:48] @ zahna joined channel #puppet
[2010/06/02 03:39:48] @ mizzy joined channel #puppet
[2010/06/02 03:39:48] @ cmoates joined channel #puppet
[2010/06/02 03:39:48] @ j00bar joined channel #puppet
[2010/06/02 03:39:48] @ felix_da_catz joined channel #puppet
[2010/06/02 03:39:48] @ nicomen joined channel #puppet
[2010/06/02 03:39:48] @ Dyresen joined channel #puppet
[2010/06/02 03:39:48] @ andrewh joined channel #puppet
[2010/06/02 03:39:48] @ AdrianBroher joined channel #puppet
[2010/06/02 03:39:48] @ stevenjenkins joined channel #puppet
[2010/06/02 03:39:48] @ jheiss joined channel #puppet
[2010/06/02 03:39:48] @ zipkid joined channel #puppet
[2010/06/02 03:43:06] @ MattyM joined channel #puppet
[2010/06/02 03:46:59] <pixie79> interseting, i got a report that time, viewed the report then went back to the hosts page and the host is still there but the report is gone
[2010/06/02 03:47:14] @ verwilst joined channel #puppet
[2010/06/02 03:48:51] <chrisg> hows the wibdows client dev been c
[2010/06/02 03:49:03] @ Quit: jfreeman: Remote host closed the connection
[2010/06/02 03:49:04] <chrisg> oing alomg does anyone know?
[2010/06/02 03:49:12] <ohadlevy> pixie79: what do you mean by gone?
[2010/06/02 03:50:09] <pixie79> under last report on the hosts page, it just says 4 minuetes but no clickable link, if i go to the reports page it shows no reports
[2010/06/02 03:50:25] <ohadlevy> pixie79: did you click on delete report?
[2010/06/02 03:50:30] <chrisg> sorry
[2010/06/02 03:50:45] <chrisg> for the wierd typing, on a phone lol
[2010/06/02 03:50:46] <ohadlevy> or, did you run the report purger (and specified a wrong time)?
[2010/06/02 03:51:52] <chrisg> what i meant to ask was: does anyone know how the windows dev is coming along?
[2010/06/02 03:53:14] <pixie79> ohadlevy: i dont think so, but i will check on the next run
[2010/06/02 03:54:35] @ Quit: littleidea_: Read error: Connection reset by peer
[2010/06/02 03:59:06] @ Quit: freshtonic: Quit: freshtonic
[2010/06/02 04:07:13] <pixie79> ohadlevy: must have accidently deleted it, is there a way in Foreman to see the config_version, i set it in my puppet.conf on the master to retrieve the git version
[2010/06/02 04:10:20] @ PsychoSid1 joined channel #puppet
[2010/06/02 04:10:30] @ Quit: PsychoSid: Ping timeout: 245 seconds
[2010/06/02 04:14:16] <ohadlevy> pixie79: hmm.. I'm not sure if its included in the report itself
[2010/06/02 04:14:48] @ shug joined channel #puppet
[2010/06/02 04:16:05] <pixie79> ohadlevy: oh, i though that was the point of declaring the config_version
[2010/06/02 04:16:49] <pixie79> it would be useful to be able to see at a glance what version of the config clients are running
[2010/06/02 04:17:31] <ohadlevy> pixie79: you can add it as a feature request, I did a quick look and i didnt find it in the report, but i might be wrong :)
[2010/06/02 04:17:35] @ Quit: verwilst: Ping timeout: 245 seconds
[2010/06/02 04:20:37] <pixie79> ok will do, just looking at getting storeconfigs working first :)
[2010/06/02 04:21:03] <ohadlevy> pixie79: for which feature are you adding it?
[2010/06/02 04:24:25] <pixie79> storeconfigs? first to puppet as i was not using it before
[2010/06/02 04:24:41] <pixie79> its complaining about needing ActiveRecord at the moment
[2010/06/02 04:25:38] <ohadlevy> pixie79: I mean what do you want use storeconfigs for?
[2010/06/02 04:26:39] <pixie79> ohadlevy: is it not the better way to keep the configs aligned between puppet and foreman? if not what is the benefit of stoeconfig
[2010/06/02 04:27:03] <ohadlevy> pixie79: not really, foreman can fetch data by itself, without the overhead of puppet and a db
[2010/06/02 04:27:36] <ohadlevy> pixie79: some people use storeconfigs for exporting data from one node to be available on another node
[2010/06/02 04:27:50] <ohadlevy> pixie79: but foreman supports that too in another way (using its query interface)
[2010/06/02 04:28:26] <pixie79> ohadlevy: ok so which method do you recomend then?
[2010/06/02 04:28:32] <pixie79> keeping it simple seems best to me
[2010/06/02 04:28:47] <ohadlevy> pixie79: there is a simple fact importer which runs in a cron
[2010/06/02 04:29:04] <ohadlevy> and see http://theforeman.org/projects/foreman/wiki/Query_Interface
[2010/06/02 04:29:11] <pixie79> ok
[2010/06/02 04:29:31] @ Quit: maxagaz: Quit: Ex-Chat
[2010/06/02 04:29:45] <ohadlevy> pixie79: there are a few small things, (like the fact importer script) that the puppet module can do for you - http://github.com/ohadlevy/puppet-foreman
[2010/06/02 04:32:20] @ kolla joined channel #puppet
[2010/06/02 04:33:10] @ verwilst joined channel #puppet
[2010/06/02 04:38:55] @ mikepea joined channel #puppet
[2010/06/02 04:40:02] @ Quit: mikepea: Client Quit
[2010/06/02 04:42:41] @ Quit: andrewh: Quit: Leaving
[2010/06/02 04:44:34] @ andrewh joined channel #puppet
[2010/06/02 04:44:43] <julez> hi, quick question : how can I get one of the options in puppet.conf as a variable ? example : I'd like to test $certname
[2010/06/02 04:48:28] @ _nono_ joined channel #puppet
[2010/06/02 04:50:07] @ DavidS joined channel #puppet
[2010/06/02 04:51:38] <ohadlevy> I'll ask again, anyone is looking for a Job in Austria / Germany - managing a fairly large puppet infrastructure ?
[2010/06/02 04:59:05] @ Quit: AlexLuya: Remote host closed the connection
[2010/06/02 05:00:17] @ Quit: shug: Quit: Leaving
[2010/06/02 05:03:08] <tim|mac> ohadlevy: only if they want to hire a company for it :) and if it's Debian :)
[2010/06/02 05:05:54] <sdog> ohadlevy: after reading @dries post ... , where in Austria ? :)
[2010/06/02 05:08:18] <ohadlevy> tim|mac: sorry then :)
[2010/06/02 05:08:31] <ohadlevy> sdog: which post?
[2010/06/02 05:10:48] <sdog> ohadlevy: about @dries moving to Boston for 2 years and me being jealous :)
[2010/06/02 05:11:36] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/02 05:13:00] @ mfladischer joined channel #puppet
[2010/06/02 05:14:22] <DavidS> ohadlevy: same problem as tim, i can provide services, but not full time
[2010/06/02 05:14:34] <ohadlevy> DavidS: I think you know the company
[2010/06/02 05:14:58] <ohadlevy> DavidS: it might be an interesting challenge (I'm looking for a replacement for myself)
[2010/06/02 05:15:26] @ jab_doa joined channel #puppet
[2010/06/02 05:15:27] <sdog> rt @DavidS: ohadlevy: same problem as tim, i can provide services, but not full time +1
[2010/06/02 05:16:13] <zipkid> sdog: this is not twitter you know.....
[2010/06/02 05:16:20] <ohadlevy> sdog: I did a 6 years relocation, (in two different countries) its usually a great experience
[2010/06/02 05:16:22] <barn> ohadlevy: where in Germany? Berlin?
[2010/06/02 05:16:30] <ohadlevy> barn: no, Munich
[2010/06/02 05:16:31] <zipkid> or is that rt = re tchat ?
[2010/06/02 05:16:46] <sdog> @zipkid is there a difference ? :)
[2010/06/02 05:16:58] <barn> ohadlevy: ah, nein danke (:
[2010/06/02 05:17:11] <ohadlevy> barn: :)
[2010/06/02 05:17:18] <zipkid> sdog: aparently none you might notice....
[2010/06/02 05:18:30] <sdog> ohadlevy: I'd love to spend some time abroad .. with wife and kids .. preferrable before they have to go to school :) but we're picky on countries . and my german is worth 0
[2010/06/02 05:18:57] <ohadlevy> sdog: where are you originally from?
[2010/06/02 05:19:23] @ AlexLuya_ joined channel #puppet
[2010/06/02 05:19:52] <sdog> ohadlevy: .be
[2010/06/02 05:19:59] @ Quit: AlexLuya_: Client Quit
[2010/06/02 05:21:00] @ AlexLuya_ joined channel #puppet
[2010/06/02 05:23:40] @ thdem joined channel #puppet
[2010/06/02 05:25:12] @ ckauhaus joined channel #puppet
[2010/06/02 05:25:16] <thdem> hello, I have a question, it is possible a multi heritage for a node ?
[2010/06/02 05:26:01] <Tonnerre> Somebody will soon tell you that node inheritance is a mistake and should never have seen the light of day
[2010/06/02 05:26:29] <ohadlevy> thdem: node inheritance is a mistake and should never have seen the light of day
[2010/06/02 05:26:48] <thdem> ok
[2010/06/02 05:26:55] <thdem> and for class ?
[2010/06/02 05:27:28] <ohadlevy> thdem: only one inheritance at a time
[2010/06/02 05:27:35] <thdem> ok
[2010/06/02 05:27:42] <thdem> thanks
[2010/06/02 05:27:52] <ohadlevy> thdem: what are you trying to do?
[2010/06/02 05:28:30] <DavidS> Tonnerre, ohadlevy: lol
[2010/06/02 05:29:22] <tim|mac> i like node inheritance...
[2010/06/02 05:30:04] <thdem> I have differents agencies and they have peculiarity
[2010/06/02 05:31:46] @ Quit: benoit__: Ping timeout: 240 seconds
[2010/06/02 05:31:48] <thdem> for example domain name
[2010/06/02 05:32:02] * f3ew has learnt to prefer composition over inheritance
[2010/06/02 05:32:26] <ohadlevy> thdem: if you do it just for varialbes, you might consider something like extlookup
[2010/06/02 05:32:30] <ohadlevy> or puppet-lookup
[2010/06/02 05:32:33] <thdem> It is better if I use include class
[2010/06/02 05:33:31] @ Quit: kolla: Remote host closed the connection
[2010/06/02 05:34:13] @ wedjat joined channel #puppet
[2010/06/02 05:36:28] @ Quit: a3li: Excess Flood
[2010/06/02 05:36:41] @ a3li joined channel #puppet
[2010/06/02 05:37:23] @ thdem left channel #puppet ()
[2010/06/02 05:38:10] <masterzen> ohadlevy: you might have a better chance asking your question on the puppet-users list
[2010/06/02 05:39:12] <masterzen> ohadlevy: and even better chance of an answer if it wasn't based in Germany or Austria :-P
[2010/06/02 05:41:19] <ohadlevy> masterzen: yeah - tell me about it
[2010/06/02 05:42:33] <ohadlevy> I lived there for 3 years >:o
[2010/06/02 05:42:49] <DavidS> c'mon, it's not that bad!
[2010/06/02 05:42:50] <masterzen> ohadlevy: I know, hence the :-P smiley :-)
[2010/06/02 05:43:15] <masterzen> DavidS: hey, you're German, of course it's not that bad for you :-D
[2010/06/02 05:43:29] <sdog> ohadlevy: and you said Gent was to far for #puppetcamp ? :)
[2010/06/02 05:43:39] <DavidS> masterzen: i'm austrian. still, i get the point
[2010/06/02 05:43:44] <ohadlevy> sdog: I live in Singapore for now
[2010/06/02 05:43:53] <f3ew> ohadlevy, you might also want to be specific about visa issues :)
[2010/06/02 05:43:57] <masterzen> DavidS: ooops, sorry for the mistake. I honestly thought you were German.
[2010/06/02 05:44:08] <ohadlevy> f3ew: I dont expect that to be a major issue, I got a visa there :)
[2010/06/02 05:44:26] <f3ew> Employment visas are hard to get :)
[2010/06/02 05:44:37] <ohadlevy> f3ew: its a big company ;)
[2010/06/02 05:44:52] <ohadlevy> and a non issue if you live in EU
[2010/06/02 05:44:53] <masterzen> DavidS: I do largely prefer Austria to Germany (practiced both for vacations, never lived there, though).
[2010/06/02 05:45:06] <f3ew> <=== not in the EU, which is why I mentioned visas
[2010/06/02 05:45:14] <ohadlevy> masterzen: Austria is great for traveling
[2010/06/02 05:45:25] <f3ew> <=== lives in a third world country
[2010/06/02 05:45:29] <masterzen> and great for mountain climbing
[2010/06/02 05:45:31] <ohadlevy> f3ew: where?
[2010/06/02 05:45:37] * f3ew is in .in
[2010/06/02 05:45:49] <ohadlevy> masterzen: I really miss the bike downhill
[2010/06/02 05:46:16] <ohadlevy> and snowboard
[2010/06/02 05:46:25] <ohadlevy> none of these exists in singapore
[2010/06/02 05:46:42] @ mauve_ joined channel #puppet
[2010/06/02 05:47:25] <f3ew> ohadlevy Disneyland with cops :)
[2010/06/02 05:47:36] @ mauve_ is now known as mauve
[2010/06/02 05:47:40] <ohadlevy> f3ew: hardly any cops in the area
[2010/06/02 05:50:51] @ Quit: jab_doa: Quit: Verlassend
[2010/06/02 05:51:58] <zipkid> DavidS: besides the --defaults-file setting your mysql module works great! Thanks. It could use an option to globally set a management user/pass .. (although that could be done via the my.cnf too i just realise...)
[2010/06/02 05:52:46] <zipkid> But maybe by setting it in puppet it will NOT be on the server itself, thus safer...?
[2010/06/02 05:55:44] <kjetilho> is it possible to negate an option to puppetd? specifically --show_diff
[2010/06/02 05:56:18] @ janfrode joined channel #puppet
[2010/06/02 05:57:56] <DavidS> zipkid: http://github.com/DavidS/puppet-mysql/issues#issue/1 , I'm currently trying to move the setting to a property, but it's stubborn
[2010/06/02 06:02:26] <masterzen> kjetilho: use --no-show_diff
[2010/06/02 06:02:28] <zipkid> DavidS: on most distros you really don't need that setting at all (All i've worked with) ....
[2010/06/02 06:02:50] <kjetilho> masterzen: thanks!
[2010/06/02 06:02:58] <kjetilho> strange that --color is different
[2010/06/02 06:03:20] <kjetilho> (for a laugh, try --color mycat)
[2010/06/02 06:06:46] @ bogusano joined channel #puppet
[2010/06/02 06:10:45] @ benoit__ joined channel #puppet
[2010/06/02 06:12:20] @ quit (okay bye)
[2010/06/02 06:12:46] @ Joined channel #puppet
[2010/06/02 06:12:46] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/06/02 06:12:46] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 21:32:23 -0400 2010
[2010/06/02 06:12:49] @ Mode +cnt by anthony.freenode.net
[2010/06/02 06:17:56] @ AlexLuya___ joined channel #puppet
[2010/06/02 06:18:06] @ Quit: AlexLuya_: Ping timeout: 240 seconds
[2010/06/02 06:27:11] @ Quit: benoit__: Ping timeout: 252 seconds
[2010/06/02 06:28:52] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/02 06:30:26] <kjetilho> masterzen: --no-show_diff doesn't work, though
[2010/06/02 06:31:45] <kjetilho> --diff=false works (although I guess it actually spawns false(1))
[2010/06/02 06:31:55] @ Quit: AlexLuya___: Read error: Connection reset by peer
[2010/06/02 06:41:35] @ ckauhaus joined channel #puppet
[2010/06/02 06:42:43] @ benoit__ joined channel #puppet
[2010/06/02 06:57:22] @ Quit: vzctl_: Ping timeout: 258 seconds
[2010/06/02 07:13:16] @ cynicismic joined channel #puppet
[2010/06/02 07:16:27] <DavidS> haha, oops: http://munin.edv-bus.at/black.co.at/hetz2.black.co.at-load.html
[2010/06/02 07:16:36] <DavidS> zipkid: debian needs it
[2010/06/02 07:16:52] <DavidS> and if you want to manage a remote db you'll need it too
[2010/06/02 07:18:09] <DavidS> load average: 1.11, 47.00, 142.31
[2010/06/02 07:18:14] <tim|mac> lol
[2010/06/02 07:18:52] <DavidS> now i know thy that server has eight cores :-P
[2010/06/02 07:18:57] <DavidS> why* even
[2010/06/02 07:20:43] <barn> to keep the building warm?
[2010/06/02 07:22:01] <tim|mac> nono, that's what disk arrays are for
[2010/06/02 07:24:26] <DavidS> wow, the other ssh sessions even survived that load spike, my vim's still running and functional
[2010/06/02 07:25:32] <DavidS> i should really start ulimiting memory ...
[2010/06/02 07:25:49] <DavidS> anyone have a good howto/doc at hand for resource limiting?
[2010/06/02 07:31:23] <tim|mac> I've been looking into cgroups... not sure yet if they're the correct tool though
[2010/06/02 07:31:36] <tim|mac> kernel docs are the only thing I've read about it
[2010/06/02 07:33:21] @ gantec joined channel #puppet
[2010/06/02 07:33:41] <gantec> hello, i've a prob. with puppetrun -> return exit with code 2
[2010/06/02 07:33:46] <gantec> what does it mean ?
[2010/06/02 07:34:04] <gantec> problem with port 8139
[2010/06/02 07:36:13] <DavidS> gantec: can you paste --debug output to http://paste.debian.net ?
[2010/06/02 07:37:08] @ Quit: bronto: Quit: Leaving.
[2010/06/02 07:39:52] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/02 07:39:57] <gantec> davidS:donne -> http://paste.debian.net/75813/
[2010/06/02 07:40:19] @ rmiller4pi8 joined channel #puppet
[2010/06/02 07:40:37] <gantec> i do the iptables -A INPUT for dport 8139
[2010/06/02 07:40:41] <gantec> but nothing
[2010/06/02 07:44:28] <gantec> DavidS : did you recieve the link ?
[2010/06/02 07:44:41] <zipkid> DavidS: then i would say that is a bug in the MySQL packaging for Debian.
[2010/06/02 07:44:43] <DavidS> yeah, are you running the clients with listen=true?
[2010/06/02 07:45:02] <DavidS> zipkid: debian is different[tm]
[2010/06/02 07:45:28] <gantec> i'm going to check (but think not)
[2010/06/02 07:45:32] @ Quit: rmiller4pi8: Read error: Connection reset by peer
[2010/06/02 07:45:46] <DavidS> gantec: try again with this setting ;-)
[2010/06/02 07:46:01] <gantec> thank you
[2010/06/02 07:46:03] <gantec> ;-)
[2010/06/02 07:46:08] @ rmiller4pi8 joined channel #puppet
[2010/06/02 07:46:24] <gantec> maybe if my clients listing, that gonna be better
[2010/06/02 07:46:46] <DavidS> gantec: exactly :-)
[2010/06/02 07:48:18] <gantec> DavidS: that's not OK. use like this : puppetrun --host gantec3 --remotefile my_file_conf_to_put_onto_client
[2010/06/02 07:48:21] <gantec> is that right ?
[2010/06/02 07:48:43] <DavidS> no
[2010/06/02 07:49:13] <gantec> ok i go to find the correct command
[2010/06/02 07:49:20] <DavidS> try without --remotefile
[2010/06/02 07:49:31] * DavidS hasn't used puppetrun in a while
[2010/06/02 07:49:33] <gantec> ok just with host ?
[2010/06/02 07:49:45] <DavidS> yeah
[2010/06/02 07:50:18] <gantec> i have the same error
[2010/06/02 07:51:38] <tim|mac> does anyone have an example of a fact that gets it value by querying a database?
[2010/06/02 07:52:28] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/02 07:53:39] <ohadlevy> tim|mac: what do you mean? how to query?
[2010/06/02 07:54:04] <tim|mac> like, doing a SELECT on a MySQL database :)
[2010/06/02 07:54:06] @ Quit: andrewh: Quit: andrewh
[2010/06/02 07:54:29] <ohadlevy> tim|mac: and you dont want to use something that someone has already worked on right? :)
[2010/06/02 07:54:49] <tim|mac> how do you mean?
[2010/06/02 07:55:25] <ohadlevy> tim|mac: http://theforeman.org/projects/foreman/wiki/Query_Interface
[2010/06/02 07:55:45] <ohadlevy> tim|mac: which in this case is identical to the storeconfig db
[2010/06/02 07:55:46] <DavidS> gantec: strange
[2010/06/02 07:57:03] <tim|mac> ohadlevy: um... I might be missing your point, but how does that provide me with a fact with the value from a certain query in the database? :)
[2010/06/02 07:57:10] <DavidS> gantec: but you have restarted the puppetd on gantec3 with listen=true and the port is open (check with netstat -ant)
[2010/06/02 07:57:24] <zipkid> DavidS: ok, fair enough. But that is the reason why this should at least be configurable in a module that is on the puppetlabs Forge...
[2010/06/02 07:57:48] <ohadlevy> tim|mac: it provide you an interface to query for hosts, facts, classes etc
[2010/06/02 07:57:49] <zipkid> tim|mac: I suppose you ask how to write custom facts....
[2010/06/02 07:58:30] <DavidS> zipkid: http://github.com/DavidS/puppet-mysql/issues/closed/#issue/1 : "closed by 0cf317b", please test!
[2010/06/02 07:58:36] <zipkid> tim|mac: ohadlevy: I think you guys are talking about different sides... server Vs Client ....
[2010/06/02 07:58:36] <DavidS> (works for me[tm])
[2010/06/02 07:58:44] <tim|mac> ohadlevy: that's not what I want to do, though :)
[2010/06/02 07:59:01] <tim|mac> I have a certain value in a database (ServerAliases, actually) that I want to expose to puppet via a fact
[2010/06/02 07:59:11] <ohadlevy> tim|mac: ah, :)
[2010/06/02 07:59:26] <ohadlevy> tim|mac: then either run mysql in a fact directly, or use the ruby binding
[2010/06/02 07:59:55] <tim|mac> ohadlevy: exactly... and I was trying to see if anyone already did that so I wouldn't have to learn ruby but just had to modify someone elses code slightly :P
[2010/06/02 07:59:56] <gantec> DavidS:nop, there isn't 8139 connection with netstat
[2010/06/02 08:00:17] <ohadlevy> tim|mac: just execute echo select * from something; | mysql ?
[2010/06/02 08:00:41] <DavidS> mysql -NBe "SELECT ... "
[2010/06/02 08:00:47] <ohadlevy> even better
[2010/06/02 08:00:52] <tim|mac> ohadlevy: yeah... but that's the dirty solution :P I'll see if I can finally get my head around ruby stuff then ;-)
[2010/06/02 08:01:13] <ohadlevy> tim|mac: why dirty? (unless its much more complicated than that)
[2010/06/02 08:01:56] @ wedjat left channel #puppet ()
[2010/06/02 08:02:02] <tim|mac> ohadlevy: because you're starting a shell command from a ruby script? I think it's cleaner to just have ruby interface with mysql... I'm not in favour of starting shell commands from a script like this :)
[2010/06/02 08:02:05] <tim|mac> might be me, though
[2010/06/02 08:02:56] <ohadlevy> tim|mac: my rule is that if its longer than 3 lines, i rewrite it in ruby :)
[2010/06/02 08:05:08] <tim|mac> well, one of my problems is that I'm going to have to concat several values via some sort of magic... ah what the heck, I'll try my hand on some ruby then
[2010/06/02 08:07:10] @ Quit: mauve: Ping timeout: 265 seconds
[2010/06/02 08:07:20] <DavidS> zipkid: http://forge.puppetlabs.com/users/DavidSchmitt/modules/mysql/releases/1.1.0
[2010/06/02 08:08:26] <zipkid> DavidS: nice, i already cloned the Git but i don't know when i'll be able to test. Looks good though :-)
[2010/06/02 08:08:55] <DavidS> there might be glitches when using without defaults. looking forward to hearing your success story though :-)
[2010/06/02 08:09:21] @ Quit: thegcat: Quit: Leaving.
[2010/06/02 08:10:36] @ cbuckley joined channel #puppet
[2010/06/02 08:10:38] <cbuckley> hi !
[2010/06/02 08:10:52] <cbuckley> in puppet, looking through the docs, i want to pass the '-p' flag to a directory
[2010/06/02 08:11:05] <cbuckley> looks like recurse => true, does it - but it fails
[2010/06/02 08:11:15] <cbuckley> anyone know off hand how to perform this, mkdir -p ?
[2010/06/02 08:11:56] <zipkid> cbuckley: not as far as i know
[2010/06/02 08:12:54] <zipkid> create all dirs file{ ['/this','/this/dir','/this/dir/exists']: ensure => directory }
[2010/06/02 08:13:45] <cbuckley> ah.. yeah, that'll do it
[2010/06/02 08:13:47] <cbuckley> many thanks!
[2010/06/02 08:14:52] @ Quit: mfladischer: Remote host closed the connection
[2010/06/02 08:20:09] @ itguru joined channel #puppet
[2010/06/02 08:20:42] * itguru greets all 302 people in the room - Hello :)
[2010/06/02 08:20:47] <|Mike|> hi itguru
[2010/06/02 08:20:57] @ maxagaz joined channel #puppet
[2010/06/02 08:21:22] @ Disconnect joined channel #puppet
[2010/06/02 08:21:30] <itguru> Hi |Mike| ! - Hope your day is going okay
[2010/06/02 08:21:52] * itguru says finally, after 8 months of waiting, the sun has returned to London, England :)
[2010/06/02 08:21:55] <|Mike|> It sure is, the sun is shining :)
[2010/06/02 08:22:04] <|Mike|> How's your day ?
[2010/06/02 08:22:07] <Volcane> already missing winter :)
[2010/06/02 08:22:22] * itguru wonders if Volcane is a penguin
[2010/06/02 08:22:41] <|Mike|> winter.... *sigh*
[2010/06/02 08:22:42] <itguru> Or polar bear! - you prefer winter @ Volcane ?
[2010/06/02 08:22:48] <Volcane> yup
[2010/06/02 08:22:51] @ Quit: stevenjenkins: Ping timeout: 265 seconds
[2010/06/02 08:22:53] <|Mike|> Volcane: did you enjoy the belgium beer btw?
[2010/06/02 08:23:02] <Volcane> i dont drink, did enjoy the food though :)
[2010/06/02 08:23:19] @ stevenjenkins joined channel #puppet
[2010/06/02 08:23:25] <itguru> Volcane, i can only forgive liking winter over summer, if you snowboard, or take part in any of those x sports
[2010/06/02 08:23:53] <|Mike|> Volcane: i see, it was a real belgium dish :D
[2010/06/02 08:23:54] <Volcane> summer makes me sick. much healthier since moving to the uk
[2010/06/02 08:24:07] * itguru feels like an idiot now
[2010/06/02 08:24:09] <|Mike|> s/dish/plate
[2010/06/02 08:24:35] @ thdem joined channel #puppet
[2010/06/02 08:24:37] <sdog> Volcane: I`m pretty sure there was some beer in the dish :)
[2010/06/02 08:24:44] <Volcane> sdog: :)
[2010/06/02 08:24:58] <itguru> Volcane, I can umm.. also forgive it in that situation too :) Roll on Winter! woohoo! peace and good health to all :)
[2010/06/02 08:25:08] <Volcane> itguru: heh
[2010/06/02 08:25:16] <itguru> Are there any module writers up in the room at the moment?
[2010/06/02 08:25:27] <|Mike|> sdog: doh!
[2010/06/02 08:26:44] @ mikepea joined channel #puppet
[2010/06/02 08:27:52] <Volcane> we all write modules :)
[2010/06/02 08:27:56] <itguru> I take that as a no!
[2010/06/02 08:28:01] <itguru> Or maybe not...
[2010/06/02 08:28:23] <itguru> Maybe I should rephrase that, does anyone here write modules for public release?
[2010/06/02 08:28:56] <|Mike|> itguru: you're refering to forge.puppetlabs.com?
[2010/06/02 08:29:02] @ sts left channel #puppet ()
[2010/06/02 08:29:40] <itguru> |Mike|, I'm on the forge already, I'm trying to find others who also write public modules, so I can rally the troops!
[2010/06/02 08:30:09] <|Mike|> Aren't most people what release their modules on forge in this channel already? :)
[2010/06/02 08:30:37] <itguru> I'm not looking for forge people on IRC, I'm tryin to get people from IRC, into forge :)
[2010/06/02 08:31:48] @ Quit: benoit__: Ping timeout: 260 seconds
[2010/06/02 08:33:27] <gantec> this error still run : http://paste.debian.net/75813/
[2010/06/02 08:33:41] <gantec> added listen=true
[2010/06/02 08:33:48] <gantec> but come again and again
[2010/06/02 08:35:11] @ Quit: maxagaz: Quit: Ex-Chat
[2010/06/02 08:35:23] @ ahasenack joined channel #puppet
[2010/06/02 08:38:08] @ ckauhaus joined channel #puppet
[2010/06/02 08:38:13] @ gebi joined channel #puppet
[2010/06/02 08:39:18] @ cwebber joined channel #puppet
[2010/06/02 08:39:48] <DavidS> itguru: what's up?
[2010/06/02 08:41:05] <itguru> Schmidt?
[2010/06/02 08:41:12] * itguru forgive me if I spelt it wrong!
[2010/06/02 08:41:29] * itguru feels an idiot! it's right here on my other screen!
[2010/06/02 08:41:36] <DavidS> itguru: :-P
[2010/06/02 08:41:40] <Schmidt> itguru: no worries :)
[2010/06/02 08:41:44] <itguru> Sorry DavidS ! I was checking it was you!
[2010/06/02 08:41:52] <itguru> ....
[2010/06/02 08:41:59] * itguru Wait...
[2010/06/02 08:42:02] <DavidS> lol
[2010/06/02 08:42:12] <DavidS> Schmidt: now we have him confused :-)
[2010/06/02 08:42:13] <itguru> Are you guys, the same guy, or two guys?
[2010/06/02 08:42:23] <itguru> Not funny!
[2010/06/02 08:42:35] * itguru goes to put down his liquid lunch
[2010/06/02 08:42:41] <DavidS> itguru: I'm David Schmitt and Schmidt is "Lowe Schmidt" according to his /whois
[2010/06/02 08:42:48] <itguru> .....
[2010/06/02 08:42:57] <itguru> Okay, I'll take your word for it!
[2010/06/02 08:43:20] <DavidS> so unless I've got an evil twin identity i don't know about, we are two different persons
[2010/06/02 08:43:31] <Schmidt> DavidS: I am the good twin :(
[2010/06/02 08:43:59] <DavidS> Schmidt: you would only been a bad twin if you were me.
[2010/06/02 08:44:00] <Schmidt> except, I am under the impression that I am quite young in this crowd :D
[2010/06/02 08:45:47] @ benoit__ joined channel #puppet
[2010/06/02 08:45:52] <DavidS> Schmidt: I'll become 0x1f this month
[2010/06/02 08:49:38] <itguru> DavidS, Me the same next month!
[2010/06/02 08:49:57] <lisa> old farts
[2010/06/02 08:49:59] <lisa> :P
[2010/06/02 08:50:46] * masterzen will be 0x26 next week, and still feel young :-)
[2010/06/02 08:50:49] <Schmidt> DavidS: I am o30 ;)
[2010/06/02 08:51:01] @ themurph joined channel #puppet
[2010/06/02 08:51:18] * masterzen thinks he should express his age in base64 to look younger
[2010/06/02 08:51:29] <itguru> lisa, Hey!! 0x1f is the new 0x14
[2010/06/02 08:51:44] * itguru hope he got his maths right!
[2010/06/02 08:51:44] @ MPSimmons joined channel #puppet
[2010/06/02 08:51:48] <Schmidt> or 0x18
[2010/06/02 08:51:56] <lisa> lol
[2010/06/02 08:52:03] <DavidS> o_O
[2010/06/02 08:52:05] <Schmidt> i think...
[2010/06/02 08:52:14] @ Quit: themurph: Client Quit
[2010/06/02 08:52:42] <DavidS> 31 is "prime" time :-)
[2010/06/02 08:54:03] @ vzctl_ joined channel #puppet
[2010/06/02 08:54:42] @ cliff-hm joined channel #puppet
[2010/06/02 08:55:57] <lisa> yeah but so is 29 *g*
[2010/06/02 08:56:09] <itguru> DavidS, sure is!
[2010/06/02 08:57:37] <Schmidt> 23 was prime time :( not anymore with 24
[2010/06/02 08:58:09] <DavidS> Schmidt: it comes and goes ;-)
[2010/06/02 08:58:33] <Schmidt> Ooooh iiiii had the prime of my liiife
[2010/06/02 08:58:37] @ Quit: gantec: Quit: Page closed
[2010/06/02 08:58:39] * zipkid 0x2B
[2010/06/02 09:02:04] @ reyjrar joined channel #puppet
[2010/06/02 09:04:15] @ joe-mac1 joined channel #puppet
[2010/06/02 09:04:57] <fluxdude> when using $name inside a define, it is coming out to the name of the enclosing class rather than the name I gave the define's call, ie blah { "nameIwant": }
[2010/06/02 09:05:45] @ andrewh joined channel #puppet
[2010/06/02 09:06:11] <DavidS> fluxdude: please post your code and results to http://paste.debian.net
[2010/06/02 09:06:24] <fluxdude> ok I've figured it out
[2010/06/02 09:06:31] <masterzen> fluxdude: looks strange to me
[2010/06/02 09:06:44] <kjetilho> fluxdude: inside the default values for the define, yes
[2010/06/02 09:06:45] <fluxdude> the name was using the parent class's name in ($source = blah/$name)
[2010/06/02 09:06:55] <fluxdude> but the given name in the file {} that the define contained
[2010/06/02 09:07:16] <fluxdude> switching to not using $source and just having $name used in the literal file {} source => fixed it
[2010/06/02 09:07:23] <fluxdude> it's a scope issue or something
[2010/06/02 09:12:23] @ Quit: cynicismic: Quit: leaving
[2010/06/02 09:14:03] <fluxdude> kjetilho: yes
[2010/06/02 09:15:30] <fluxdude> kjetilho: ah, if I need to support a source and also support a default using the $name var, what do I do?!
[2010/06/02 09:16:20] <kjetilho> I do $foo=undef, and if !$foo { $_foo = "$name-foo" } { else $_foo = $foo }
[2010/06/02 09:16:24] <pixie79> i need to create a set of directories on each of my servers, the directories need to exist twice on some servers but the parent dir will be different. I also need to set the perms so the the directory has the sticky bit set, any ideas on the best method to approach this?
[2010/06/02 09:16:32] <kjetilho> yes, it's a bit annoying...
[2010/06/02 09:17:12] <kjetilho> but you are not allowed to reassign $foo
[2010/06/02 09:18:16] <DavidS> kjetilho: and when futures finally land in master, it'll make sense too :-) I'm so looking forward to that
[2010/06/02 09:18:23] <pixie79> can i set the sticky bit on a directory with puppet even?
[2010/06/02 09:19:05] <pixie79> does puppets mode operator allow for letters i.e g=rwx,o=r or only numerics?
[2010/06/02 09:19:30] <|Mike|> numeric, but you could do an exec with chmod o-r bla :)
[2010/06/02 09:20:05] <pixie79> |Mike|: yep but that means exec on every run
[2010/06/02 09:20:47] <kjetilho> pixie79: I believe symbolic support was added in 0.25.5
[2010/06/02 09:21:53] <pixie79> kjetilho: i have done symbolics ok my issue is sticky bits on directories and creating dirs where the parent name is specified by the node
[2010/06/02 09:22:23] <pixie79> maybe i will just exec a ruby script
[2010/06/02 09:25:05] <elementai_> Hi, folks, I have a problem with puppet file serving type. I've updated all clients to 0.25.x and changed file paths to puppet:///modules/module_name/path/file , deprecation notices vanished, but from time to time I see errors in foreman reports like http://pastebin.com/LkbQDLNp . Puppetd is run from cron when errors emerge, but everything is fine if I do "puppetd --test" from root shell.
[2010/06/02 09:25:28] @ elementai_ is now known as elementai
[2010/06/02 09:27:55] <elementai> For some reason puppetd chooses file located in path with $variable in it, even if there's no matching path.$variable file .
[2010/06/02 09:28:27] @ themurph joined channel #puppet
[2010/06/02 09:39:04] @ Quit: telmich: Ping timeout: 240 seconds
[2010/06/02 09:45:23] @ Quit: shenson: Quit: /me taps out
[2010/06/02 09:46:42] <zipkid> if you do a include y and next notify => Service[x] where service{ x: requires Package[Y] } does that not automatically 'install' package {y: }
[2010/06/02 09:47:49] <joe-mac1> zipkid: you mean notify int he scope of a class? you can't do that...
[2010/06/02 09:47:57] @ notbrien joined channel #puppet
[2010/06/02 09:48:19] <zipkid> joe-mac1: NO, NOTIFY IN A FILE RESOURCE
[2010/06/02 09:48:25] <zipkid> oops caps, sorry
[2010/06/02 09:48:34] <joe-mac1> lol :-O
[2010/06/02 09:49:03] @ emarshall joined channel #puppet
[2010/06/02 09:49:24] <joe-mac1> if the package has ensure => "present" and the service requires the package, then that should work?
[2010/06/02 09:49:31] <zipkid> i have a file that notifies apache but apache is not installed yet....
[2010/06/02 09:49:43] <zipkid> joe-mac1: it seems not to....
[2010/06/02 09:50:03] <joe-mac1> can i see thea ctual code on pastie?
[2010/06/02 09:50:16] <zipkid> joe-mac1: it is a bit long....
[2010/06/02 09:50:23] <zipkid> let me see....
[2010/06/02 09:51:00] @ mauve joined channel #puppet
[2010/06/02 09:52:03] @ telmich joined channel #puppet
[2010/06/02 09:52:49] @ beata_ joined channel #puppet
[2010/06/02 09:53:52] <DavidS> zipkid: sorry, just sent you email restating what we talked about mysql, didn't get the connection :-)
[2010/06/02 09:54:02] <DavidS> zipkid: were you at puppetcamp?
[2010/06/02 09:54:08] <beata_> hmm if using the augeas type and specifying a file that augeas does not know about, I dont get an error rather it just thinks nothing in the file needs to be changed. That is prob a bug right?
[2010/06/02 09:54:09] @ spencert joined channel #puppet
[2010/06/02 09:54:20] <zipkid> DavidS: yes i was :-)
[2010/06/02 09:54:53] @ spencert left channel #puppet ()
[2010/06/02 09:55:29] <zipkid> joe-mac1: http://pastebin.com/YjUDxB2c
[2010/06/02 09:56:08] @ Quit: andrewh: Quit: andrewh
[2010/06/02 09:56:35] @ bodepd joined channel #puppet
[2010/06/02 09:56:54] <DavidS> zipkid: damn, too many people :-(
[2010/06/02 10:00:16] <joe-mac1> zipkid: first, you can eliminate that case statement with a selector
[2010/06/02 10:00:51] <joe-mac1> second, maybe what you're seeing is a side effect of the case statement
[2010/06/02 10:00:53] <zipkid> joe-mac1: explain
[2010/06/02 10:01:02] <joe-mac1> sure, do you know what a selector is?
[2010/06/02 10:01:02] @ tim___ joined channel #puppet
[2010/06/02 10:01:21] <zipkid> i'm not sure i know what you mean.
[2010/06/02 10:01:28] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/02 10:02:01] @ shenson joined channel #puppet
[2010/06/02 10:03:45] @ vachon joined channel #puppet
[2010/06/02 10:03:49] <joe-mac1> it's a conditional structure specific to the puppet language
[2010/06/02 10:04:13] <zipkid> DavidS: that's me http://www.flickr.com/photos/zipkid/4060788966/in/set-72157622576663345/ ( i was also wearing a red sweater @ puppetcamp )
[2010/06/02 10:04:26] <vachon> hey all
[2010/06/02 10:04:29] <vachon> im stuck on something
[2010/06/02 10:04:30] <vachon> http://pastebin.com/px2fRgRz
[2010/06/02 10:04:33] <vachon> out of that manifest
[2010/06/02 10:04:48] <vachon> no matter what I do, only the service resource is evaluated
[2010/06/02 10:04:53] <ohadlevy> are there any photos from puppetcamp?
[2010/06/02 10:05:01] <vachon> does it have something do to with the dots or underscores?
[2010/06/02 10:05:05] <zipkid> DavidS: and my puppetcamp pics http://www.flickr.com/photos/zipkid/sets/72157624064215965/
[2010/06/02 10:05:05] <joe-mac1> anyways, you can use a selector to make decisions based on variables, like ensure => $operatingsystem ? { value1 => "this", value2 => "that" },
[2010/06/02 10:05:35] <zipkid> joe-mac1: ah yes.... i see now what a selector is....
[2010/06/02 10:05:36] @ spencert joined channel #puppet
[2010/06/02 10:05:54] <zipkid> but if that is the issu it is a bug to me....
[2010/06/02 10:05:58] <joe-mac1> vachon: your indentation burns my eyes and brain
[2010/06/02 10:06:02] <vachon> i know
[2010/06/02 10:06:13] <vachon> it didnt opy right
[2010/06/02 10:06:44] <joe-mac1> so, you require a class from a resource that belongs to the class
[2010/06/02 10:07:10] <joe-mac1> if those are disparate pastes, please fix and paste the appropriate code, since it's nearly impossible to judge the sum from the pieces here
[2010/06/02 10:07:26] @ gaveen joined channel #puppet
[2010/06/02 10:07:37] @ herdingcat joined channel #puppet
[2010/06/02 10:08:00] <vachon> joe-mac1: um not quite, docroot != docrootinstall
[2010/06/02 10:08:09] <vachon> i actually trunkated the name of the class
[2010/06/02 10:08:13] <vachon> or redacted
[2010/06/02 10:08:17] <vachon> chose your words
[2010/06/02 10:08:24] <vachon> lets just say its longer than that
[2010/06/02 10:08:25] <ashp> god i don't want to look at monitoring systems
[2010/06/02 10:08:29] <ashp> i can't think of anything less fun
[2010/06/02 10:08:36] <ashp> i wonder if i can buy some big ugly commerical thing
[2010/06/02 10:08:38] <DavidS> zipkid: ah, now i remember, you also had "zipkid" on your namebadge.
[2010/06/02 10:08:40] <joe-mac1> nagios is fun when you have puppet automate it
[2010/06/02 10:08:40] <ckdake> zenoss!
[2010/06/02 10:08:49] <zipkid> DavidS: duh :-)
[2010/06/02 10:08:58] <vachon> i enjoy xymon for free, nimbus for paid
[2010/06/02 10:09:10] <ashp> we use nagios but my boss wants me to focus on keeping a bunch of long term stats and graphing everything, so I thought I might just look at something else that does the lot
[2010/06/02 10:09:30] <vachon> cactus?
[2010/06/02 10:09:34] <vachon> jsut for perfmon
[2010/06/02 10:09:45] <vachon> why reinvent the wheel when you can just augment it
[2010/06/02 10:09:59] <ashp> vachon: i was looking at collectd/Reconnoiter, i might look at it again
[2010/06/02 10:10:09] <ashp> part of why i want to reinvent the wheel here is to give my new coworker something to do
[2010/06/02 10:10:18] <vachon> haha
[2010/06/02 10:10:18] <ashp> i want him to get more puppet experience and nagios is already fully automated :D
[2010/06/02 10:10:42] <DavidS> I'm using munin for good effect and now trying to use n2rrd and rrd2graph
[2010/06/02 10:10:44] <vachon> so joe-mac1 anything else you can see?
[2010/06/02 10:11:04] <vachon> its very odd that that triggers and say the file directives dont
[2010/06/02 10:11:29] <vachon> which have no deps
[2010/06/02 10:11:30] <joe-mac1> vachon: is the service defined elsewhere? include something like info("WE ARE IN DOCROOTINSTALL CLASS") at the top of teh class
[2010/06/02 10:11:39] <joe-mac1> then run puppetd -t and pastie the output
[2010/06/02 10:11:45] <ashp> i was using 'splunk for unix' to do this
[2010/06/02 10:11:53] <ashp> but it used 1.6G of my 1G licence a day :/
[2010/06/02 10:11:53] <joe-mac1> <3 splunk
[2010/06/02 10:11:56] <joe-mac1> just can';t get the money for it
[2010/06/02 10:12:01] <vachon> no that is the only place its defined, i know its called becasue that docroot class is triggered
[2010/06/02 10:12:02] <ashp> yeah splunk is nice but the price sure isn't
[2010/06/02 10:12:10] <ashp> we just upgraded to a 2G licence but i had to turn off splunk for unix globally
[2010/06/02 10:12:12] <ashp> so that sucked
[2010/06/02 10:12:20] <tim|mac> price is way too high
[2010/06/02 10:12:22] <vachon> or would that be triggered regardless becasue of the include?
[2010/06/02 10:12:25] <notbrien> ashp: have you looked at cloudkick?
[2010/06/02 10:12:49] <joe-mac1> vachon: like i said, determining the flow of the manifests with such a little tidbit is nearly imposible
[2010/06/02 10:12:52] <ashp> tim|mac: yeah, our 2G licence is like $12,000 or something insane, there's no way that's sensible pricing with modern datasets
[2010/06/02 10:12:58] <ashp> that 2G should be 20 or 200G for that price
[2010/06/02 10:13:00] <vachon> that is the init.pp of the module
[2010/06/02 10:13:09] <vachon> what else would you need
[2010/06/02 10:13:10] <joe-mac1> sprinkle some infos here and thre like you would printfs when debugging an iterative program
[2010/06/02 10:13:12] <vachon> the whole module?
[2010/06/02 10:13:14] <vachon> pl
[2010/06/02 10:13:15] <ashp> notbrien: nope, gonna go take a look, is this one of those outsourced monitoring things?
[2010/06/02 10:13:19] <vachon> *ok
[2010/06/02 10:13:39] <notbrien> ashp: it has puppet support, which is cool
[2010/06/02 10:13:47] <joe-mac1> also, where is this module included from?
[2010/06/02 10:13:53] <vachon> nodes.pp
[2010/06/02 10:13:58] <vachon> well
[2010/06/02 10:14:00] <notbrien> ashp: i haven't decided on a monitoring system to use yet, though
[2010/06/02 10:14:01] <vachon> the class is
[2010/06/02 10:14:09] <vachon> the module is included in modules.pp
[2010/06/02 10:14:12] <ashp> notbrien: it has the coolest 3d graph, i'm sold on that alone
[2010/06/02 10:14:14] <vachon> along with many others
[2010/06/02 10:14:21] <vachon> this is the only problem child
[2010/06/02 10:15:09] <vachon> there are 3 other classes in this module
[2010/06/02 10:15:14] <vachon> each other one runs
[2010/06/02 10:15:20] <zipkid> DavidS: is that not tim|mac and you in red here? http://www.flickr.com/photos/zipkid/4662821465/sizes/l/in/set-72157624064215965/
[2010/06/02 10:15:49] <ashp> wow, nasty pricing, shame i can't just buy it outright
[2010/06/02 10:15:56] <tim|mac> omg... matching colours! :D
[2010/06/02 10:16:08] <DavidS> yeah we are.
[2010/06/02 10:16:17] <DavidS> alessandro had a red shirt too
[2010/06/02 10:16:50] <tim|mac> i look sorta... like a doofus :S
[2010/06/02 10:16:51] <zipkid> DavidS: yes but under green :-)
[2010/06/02 10:19:28] <tim|mac> "nah tim, it's not that bad" "thanks all" *sigh*
[2010/06/02 10:20:49] @ rmiller4pi81 joined channel #puppet
[2010/06/02 10:21:10] <zipkid> tim|mac: lol
[2010/06/02 10:21:15] <ashp> i know this is an odd request but are any of the available monitoring systems capable of tuning their own timeouts to be more appropriate, like if they always take about ~150ms to get a reply over time it tunes itself to not alert until it's been ~300ms
[2010/06/02 10:21:23] <ashp> as i get a lot of false positive alerts and i'm too lazy to tune it all myself
[2010/06/02 10:21:27] <zipkid> tim|mac: we all do in pics at times...
[2010/06/02 10:21:36] @ GioGio joined channel #puppet
[2010/06/02 10:21:38] @ LowValueTarget left channel #puppet ()
[2010/06/02 10:21:42] <GioGio> hi there
[2010/06/02 10:21:49] <ashp> i just figure if one exists you guys will have seen it :D
[2010/06/02 10:21:49] @ Quit: sdog: Quit: Leaving.
[2010/06/02 10:22:28] @ vachon left channel #puppet ()
[2010/06/02 10:23:02] <GioGio> i have a question about puppet. i want to know the status of the configuration after executed puppetd on a node ? is it a value which i can get to verify if the configuration runs well or not ?
[2010/06/02 10:24:16] @ Quit: rmiller4pi8: Ping timeout: 260 seconds
[2010/06/02 10:25:05] @ Quit: rmiller4pi81: Ping timeout: 245 seconds
[2010/06/02 10:25:26] <|Mike|> haha, that picture of Luke is priceless :P
[2010/06/02 10:26:38] <tim|mac> ashp: alas... would be a killer feature though
[2010/06/02 10:27:24] <tim___> I'm trying to us a conditional inside a class definition, is this possible?
[2010/06/02 10:27:39] <tim___> class nagios {
[2010/06/02 10:27:41] <tim___> package { "nagios-plugins": ensure => installed, }
[2010/06/02 10:27:42] <tim___> nagiospluginspath => $architecture ? {
[2010/06/02 10:27:44] <tim___> x86_64 => "/usr/lib64/nagios/plugins/",
[2010/06/02 10:27:45] <tim___> default => "/usr/lib/nagios/plugins/",
[2010/06/02 10:27:47] <tim___> }
[2010/06/02 10:28:01] @ tonyskapunk joined channel #puppet
[2010/06/02 10:28:03] <tim___> I keep getting: "err: Could not parse for environment production: Syntax error at '=>'; expected '}'"
[2010/06/02 10:28:04] <Tonnerre> You may want a $ in front of nagiospluginspath
[2010/06/02 10:28:12] @ pheezy joined channel #puppet
[2010/06/02 10:28:37] <tim___> still same error with $nagiospluginspath
[2010/06/02 10:28:37] <DavidS> |Mike|: :-(
[2010/06/02 10:28:52] <Tonnerre> You may also want to use = instead of =>
[2010/06/02 10:29:57] <ashp> i think i need to look at systemtap
[2010/06/02 10:30:02] <tim___> now I get "err: Could not parse for environment production: Syntax error at '='; expected '}'"
[2010/06/02 10:30:16] <ashp> something keeps deleting /root/.ssh/known_hosts on the weekend :/
[2010/06/02 10:30:33] <tim___> I don't understand this, the 'Pulling strings with Puppet' says to use => in conditionals anyway
[2010/06/02 10:30:51] <DavidS> nagiospluginspath => $architecture ? { <<-- here
[2010/06/02 10:30:57] <DavidS> ^ tim__
[2010/06/02 10:31:38] <tim___> that's what I had originally
[2010/06/02 10:32:07] <tim___> err: Could not parse for environment production: Syntax error at '=>'; expected '}'"it produces: "
[2010/06/02 10:32:10] <DavidS> should be $np = $arch ? {
[2010/06/02 10:32:17] @ bix0r joined channel #puppet
[2010/06/02 10:32:26] @ ckauhaus joined channel #puppet
[2010/06/02 10:32:40] <tim___> yep that gets "err: Could not parse for environment production: Syntax error at '='; expected '}'"
[2010/06/02 10:32:44] <tim___> :-(
[2010/06/02 10:33:30] <DavidS> tim___: then something else is broken. please paste the complete file to http://paste.debian.net
[2010/06/02 10:33:49] <DavidS> try to keep the line numbers right, and paste the error message again
[2010/06/02 10:34:12] <tim___> ok http://paste.debian.net/75839/
[2010/06/02 10:34:16] @ Quit: bodepd: Quit: bodepd
[2010/06/02 10:34:50] @ bodepd joined channel #puppet
[2010/06/02 10:34:59] <tim___> hmm wait a sec
[2010/06/02 10:35:02] @ Quit: bodepd: Client Quit
[2010/06/02 10:35:06] <|Mike|> DavidS: hm, why the sad face?
[2010/06/02 10:35:22] <DavidS> |Mike|: because that pic isn't funny
[2010/06/02 10:35:32] <tim___> thanks DavidS and Tonerre
[2010/06/02 10:36:09] <tim___> "$nagiospluginspath = $architecture ? {" was right, it was still erroring because i had another incorrect conditional further down the file
[2010/06/02 10:36:37] <tim___> that also means the pulling strings with puppet book is wrong on page 59, but I guess that's normal with IT books
[2010/06/02 10:36:51] @ Quit: emarshall: Read error: Connection reset by peer
[2010/06/02 10:37:10] @ bodepd joined channel #puppet
[2010/06/02 10:37:22] <ashp> we'll have james thrashed soundly :D
[2010/06/02 10:37:41] @ Quit: GioGio: Quit: Page closed
[2010/06/02 10:37:51] <|Mike|> DavidS: I was refering to the picture where Luke was sleeping on the floor under the coatrack, was that on thursday btw?
[2010/06/02 10:37:58] @ emarshall joined channel #puppet
[2010/06/02 10:39:33] <DavidS> |Mike|: I know which pic you mean. I still don't consider it funny
[2010/06/02 10:41:27] <joe-mac1> tim___: the book is a bit dated by now
[2010/06/02 10:45:36] <eric0> tim___: that selector structure you're using is only for inside resources
[2010/06/02 10:45:54] <eric0> tim___: for setting variables conditionally use the if/else or case conditional
[2010/06/02 10:48:46] <Volcane> eric0: selectors will work anywhere you need to reference a value - even when assigning other vars
[2010/06/02 10:49:24] @ Quit: bodepd: Quit: bodepd
[2010/06/02 10:50:41] @ jhp joined channel #puppet
[2010/06/02 10:53:01] <jhp> Good afternoon. I have a little problem and I would like to know if their is a fix for this. In our attempt to implement Puppet in our environment one of my developers came up with the idea to split the install of all the stuff into different sections and use file resources to sync these sections after each other.
[2010/06/02 10:53:52] @ rmiller4pi8 joined channel #puppet
[2010/06/02 10:54:06] <jhp> What we noticed is that when you have for example 10 resources in section 1 and all those resources are installend / configured etc the evaluation of the split takes for example 1 minute.
[2010/06/02 10:54:06] @ Quit: themurph: Quit: themurph
[2010/06/02 10:54:09] @ Quit: rmiller4pi8: Client Quit
[2010/06/02 10:54:11] @ ader joined channel #puppet
[2010/06/02 10:54:20] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/02 10:54:37] @ themurph joined channel #puppet
[2010/06/02 10:54:58] <jhp> Then the second section takes about 10 times the time it takes to evaluate everything above. In the end, the whole install / puppetrun takes 2 hours.
[2010/06/02 10:55:36] <DavidS> jhp: which version? but basically trying to sequence stuff too much is discouraged anyways
[2010/06/02 10:55:41] @ snikta joined channel #puppet
[2010/06/02 10:55:41] @ rmiller4pi8 joined channel #puppet
[2010/06/02 10:55:45] <jhp> 0.24.8
[2010/06/02 10:56:52] <jhp> DavidS: The problem is that when we don't sequence the stuff we run into dependency problem.
[2010/06/02 10:58:11] <ader> Using "fqdn_rand(60)" in a cron recipe, I get following error when retrieving catalog: "bignum too big to convert into `unsigned long' at /etc/puppet/manifests/classes/ntp-client-cron.pp:9"
[2010/06/02 10:59:17] <DavidS> jhp: yeah, but don't artificially constrain it. I've got only a couple of relations in my modules and it still works
[2010/06/02 10:59:53] <DavidS> jhp: on the other hand going for two hours sounds like a major bug, and I don't think 0.24 would get an update
[2010/06/02 11:00:03] <DavidS> do you use recurive file resources?
[2010/06/02 11:00:16] <DavidS> *recursive even
[2010/06/02 11:02:25] @ thegcat joined channel #puppet
[2010/06/02 11:07:49] @ Quit: thegcat: Quit: Leaving.
[2010/06/02 11:07:49] @ Quit: emarshall: Read error: Connection reset by peer
[2010/06/02 11:08:15] @ notbrien_ joined channel #puppet
[2010/06/02 11:08:35] @ bodepd joined channel #puppet
[2010/06/02 11:08:37] @ emarshall joined channel #puppet
[2010/06/02 11:11:00] @ Quit: notbrien_: Read error: Connection reset by peer
[2010/06/02 11:11:21] <jhp> DavidS: Recursive file resources are only used for the getconfig part. After that nothing. But the time issues are not in the getconfig part.
[2010/06/02 11:11:45] @ notbrien_ joined channel #puppet
[2010/06/02 11:11:51] <jhp> Sorry getconfig is a resource that get a complete tree of apache configs.
[2010/06/02 11:11:55] @ Quit: notbrien_: Client Quit
[2010/06/02 11:12:20] @ notbrien_ joined channel #puppet
[2010/06/02 11:12:20] @ Quit: notbrien: Ping timeout: 276 seconds
[2010/06/02 11:12:28] @ notbrien_ is now known as notbrien
[2010/06/02 11:13:16] @ Quit: tim___: Remote host closed the connection
[2010/06/02 11:14:17] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/02 11:16:19] <snikta> I need to install a package using the gem provider and I need to run an exec just before the gem installation and another just after the gem installation. I want the first exec to run once and only if the gem is not installed and I want the second exec to also only run once. can anyone provide guidance on how to do this?
[2010/06/02 11:18:32] <masterzen> jhp: you can run your client with --summarize it will show you in which resources it took that long time
[2010/06/02 11:19:38] <rmiller4pi8> snikta: exec will only run once per run, so you should be able to just constrain both with a creates on whatever files the gem creates, and use requires to set the order of the 3 during the run
[2010/06/02 11:20:45] <agaffney> are there any big "gotchas" in moving from 0.24.8 to 0.25.4?
[2010/06/02 11:21:14] <Volcane> 0.25.5 :)
[2010/06/02 11:21:30] <masterzen> agaffney: check the release notes, test on a test env, then upgrade the master first.
[2010/06/02 11:21:52] @ Quit: emarshall: Read error: Connection reset by peer
[2010/06/02 11:22:44] @ emarshall joined channel #puppet
[2010/06/02 11:22:49] <agaffney> Volcane: 0.25.4 is what's in EPEL :P
[2010/06/02 11:23:12] <Volcane> so you'd rather have buggy and lazy than fewer bugs and 2 minutes to build an RPM
[2010/06/02 11:23:16] <Volcane> yup, sounds logical
[2010/06/02 11:23:44] <agaffney> buggy how? :P
[2010/06/02 11:23:46] <jhp> Volcane: 0.25.5 is current stable?
[2010/06/02 11:23:52] <snikta> rmiller4pi8: thanks- I will give it a try, I didn't realize you could use "creates" with packages
[2010/06/02 11:23:54] <agaffney> and 0.25.5 could have different bugs ;)
[2010/06/02 11:23:56] <Volcane> jhp: yeah
[2010/06/02 11:24:17] <Volcane> agaffney: well, its out, lots of tickets were solved, and they dont add any features in point releases. So that leaves bugs been fixed
[2010/06/02 11:24:43] <jhp> Volcane: But I heard that their were some problems with 0.25 in an environment where you have 2 puppetmaster underneath a rootCA with both their own signing key.
[2010/06/02 11:25:09] <Volcane> jhp: yeah though check with ohadlevy i think that might be solved in .5
[2010/06/02 11:25:09] <ader> 0.25.5 is in EPEL testing
[2010/06/02 11:25:50] @ ckauhaus joined channel #puppet
[2010/06/02 11:26:22] <ashp> i wish 0.25.5 in epel wasn't compiled against that libselinux-ruby library :)
[2010/06/02 11:27:31] <Volcane> rpmbuild -ba -D 'dist .el5' -D 'rhel 5' -D '_without_augeas 1' -D '_without_selinux 1' puppet.spec
[2010/06/02 11:27:45] <Volcane> 2 minutes to solve a problem or a life time of winging
[2010/06/02 11:28:27] <ashp> well for one i don't like distributing stuff that's already in epel and two i would have never known any of that crazy rpm stuff
[2010/06/02 11:28:45] <ashp> and 3 it seems like libselinux-ruby isn't part of RHEL 6 so they are going to have to either bring it to epel or rebuild it in the long run anyway
[2010/06/02 11:28:51] <ashp> and it seems like a fix for everyone is better than a fix for me
[2010/06/02 11:29:31] <Volcane> %if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
[2010/06/02 11:29:32] <Volcane> %{!?_without_selinux:Requires: ruby(selinux)}
[2010/06/02 11:29:40] <Volcane> seems they already handle it right
[2010/06/02 11:29:46] <Volcane> you just shouldnt install .el5 packages on el6
[2010/06/02 11:30:19] @ steph021_w joined channel #puppet
[2010/06/02 11:31:59] <ashp> i should have the rhel6 package, hmm, i'll have to poke around in foreman, we added code to handle this so it should be fine
[2010/06/02 11:33:28] <tmz> ashp: FWIW, EPEL6 has puppet too: http://download.fedora.redhat.com/pub/epel/beta/6/$basearch
[2010/06/02 11:34:28] <ashp> yeah, that's what I should have automatically pulled in
[2010/06/02 11:35:33] <ohadlevy> ashp: thats what foreman pulls
[2010/06/02 11:35:50] <ashp> ohadlevy: I am going to guess puppet mangled what foreman pulled in at a quick quess :)
[2010/06/02 11:36:20] <ashp> it installed puppet during the install but maybe didn't grab the very latest, then changed the repo and tried to get .5 from the -5 branch
[2010/06/02 11:36:36] <jhp> Volcane: Why would you want to disable Augeas?
[2010/06/02 11:36:53] <Volcane> cos i dont want to only partually manage files
[2010/06/02 11:37:01] <ohadlevy> ashp: if you chose the OS as RedHat 6, then it would default to the url tmz just mentioned
[2010/06/02 11:37:32] @ Quit: PsychoSid1: Quit: Leaving.
[2010/06/02 11:37:41] <beata_> in 0.25 is there a way to make sure a module is the last module to be run?
[2010/06/02 11:39:42] @ jense joined channel #puppet
[2010/06/02 11:39:57] <Volcane> jhp: only partially managing the content of a file ensures that you dont know whats in the file. which in my environment isnt desirable
[2010/06/02 11:40:26] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/02 11:40:45] <jhp> Volcane: I know what Augeas does and here we use it to manage all kind of files. And it seems to work rather nice.
[2010/06/02 11:41:03] <Volcane> then i guess you're happy with partually managed files, I'm not.
[2010/06/02 11:41:12] <rmiller4pi8> snikta: all 'creates' does is not run the exec if the file in question exists. it doesn't know anything clever about where that file came from, so you can pick any file the gem is guaranteed to create
[2010/06/02 11:42:23] @ Quit: emarshall: Read error: Operation timed out
[2010/06/02 11:45:05] @ fdz1 joined channel #puppet
[2010/06/02 11:45:09] @ Quit: fdz1: Client Quit
[2010/06/02 11:47:50] <chadh> Did I see somewhere that we no longer have to explicitly list environments anymore?
[2010/06/02 11:48:13] <ohadlevy> chadh: yes
[2010/06/02 11:48:23] <jhp> Volcane: With respect to the problem I mentioned above where creating a split somewhere in the puppet recipe where we ensure that a part is always run before and an other part is always run after the split. We notice that the evaluation of the split, where we use a file resource that we don't create at all, take as long as the evaluation of all resources above the split.
[2010/06/02 11:48:55] <Volcane> jhp: thats not really parsable - best if you just show us code :)
[2010/06/02 11:48:56] <ohadlevy> jhp: the whole chained ca is broken on 25.x
[2010/06/02 11:49:15] <chadh> ohadlevy: so the 'environments=' is not necessary, and we can specify anything to 'environment=', and assuming the puppetmaster can figure out what that is, it will work?
[2010/06/02 11:49:28] <chadh> $confdir/<environmentname>
[2010/06/02 11:49:29] <ohadlevy> chadh: you can drop that line
[2010/06/02 11:49:39] @ kaptk2 joined channel #puppet
[2010/06/02 11:49:40] @ Quit: QtPlatypus: Ping timeout: 260 seconds
[2010/06/02 11:50:04] @ p3rror joined channel #puppet
[2010/06/02 11:50:07] <chadh> ohadlevy: cool. I have been wanting to do a test environment per person for a while
[2010/06/02 11:50:37] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/02 11:50:47] <chadh> ohadlevy: btw, theforeman is probably going into my production setup this evening if I can get to it
[2010/06/02 11:51:07] <ohadlevy> chadh: :)
[2010/06/02 11:51:13] <ohadlevy> chadh: which version do you use?
[2010/06/02 11:51:21] @ QtPlatypus joined channel #puppet
[2010/06/02 11:51:45] <chadh> ohadlevy: latest epel (0.25.4) on my clients. master is installed from gem, so whatever I want
[2010/06/02 11:52:12] <ohadlevy> chadh: i mean foreman version, is still the stable version or did you try the new release candidate?
[2010/06/02 11:52:23] <chadh> ohadlevy: oh, I'll get the latest :)
[2010/06/02 11:52:50] <chadh> ohadlevy: heh, that sounds like you think I tested it before I roll it into production
[2010/06/02 11:52:58] <jhp> Volcane: http://pastebin.com/MpHG5Xz8
[2010/06/02 11:53:10] <ohadlevy> chadh: only 6 more tickets to go (out of 108)
[2010/06/02 11:54:03] <jhp> Volcane: That is how we implement the different sections where part of the config are done. First the boot, then networking setup, then install packages, then configure the packages. In the end enable services and some finalizing.
[2010/06/02 11:54:22] <chadh> ohadlevy: I can't remember from the -dev discussion. Are your extlookup changes integrated into foreman, or is that a different mechanism?
[2010/06/02 11:54:47] <ohadlevy> chadh: there is some integration - i guess it depends on what you need
[2010/06/02 11:55:16] <Volcane> jhp: everything about thats wrong, i dont really know what i can say about it :)
[2010/06/02 11:55:47] <DavidS> jhp: O_O
[2010/06/02 11:56:03] <Volcane> jhp: you've basically decided that you had a tool that was designed to work a specific way , you didnt like it, and so you hacked it till it did what you want.
[2010/06/02 11:56:04] <jhp> I will hit my developer :-(
[2010/06/02 11:56:09] <chadh> ohadlevy: I don't even know yet. I am refactoring my modules this summer, and I am surveying the landscape.
[2010/06/02 11:56:17] <Volcane> jhp: so, more or less, you'll need to find another person who has abused it the way you did to help you
[2010/06/02 11:56:55] @ Quit: itguru: Quit: Leaving
[2010/06/02 11:57:08] @ ader left channel #puppet ()
[2010/06/02 11:57:24] <bodepd> DavidS: I heard puppet will work on windows next week ;)
[2010/06/02 11:57:39] <DavidS> jhp: your developer will be happy to hear that there are already patches to implement actual "stages", without the painyou currently have
[2010/06/02 11:58:06] <Volcane> DavidS: i think in this case it will just be more rope :)
[2010/06/02 11:58:12] <jhp> DavidS: That is music to my ears.
[2010/06/02 11:58:16] <DavidS> bodepd: well, if you guys hadn't screwed up the unit tests, it would have already worked last week :-P
[2010/06/02 11:58:27] <DavidS> Volcane: and well spent ;-)
[2010/06/02 11:59:07] <Volcane> heh
[2010/06/02 11:59:09] <DavidS> bodepd: seriously, files can already be created but not much more and there are one or two things markus has promised me, that will ease much of my pain to actually get a few things to run stably
[2010/06/02 11:59:24] <bodepd> DavidS: cool.
[2010/06/02 12:00:27] @ Quit: \ask: Remote host closed the connection
[2010/06/02 12:00:29] <jhp> DavidS: Those stages patches, are they agains 0.25 ?
[2010/06/02 12:00:36] <DavidS> bodepd: sorry, gotta run. But I'll try to get a blog posting posted about the stuff markus and i talked about @puppetcamp. there are quite a few ppl waiting on the stuff
[2010/06/02 12:00:50] <Volcane> jhp: search the tickets
[2010/06/02 12:00:51] <masterzen> DavidS: is your blog on planetpuppet?
[2010/06/02 12:00:53] <Volcane> jhp: afaik its for 26
[2010/06/02 12:00:59] <bodepd> DavidsS: cool
[2010/06/02 12:01:03] <DavidS> jhp: no idea, they came through on the -dev list 2-3 weeks ago
[2010/06/02 12:01:05] <bodepd> masterzen:it is
[2010/06/02 12:01:07] <DavidS> masterzen: yeah
[2010/06/02 12:01:16] <DavidS> c ya'll
[2010/06/02 12:01:17] <Volcane> jhp: since new features dont go into point releases and all
[2010/06/02 12:01:19] <masterzen> ok, cool, I'm eager to read your post
[2010/06/02 12:01:25] @ Quit: DavidS: Quit: Leaving.
[2010/06/02 12:01:30] <bodepd> masterzen: mine is too as of today :)
[2010/06/02 12:01:44] <masterzen> bodepd: yep, welcome to the Planet!
[2010/06/02 12:01:56] @ Quit: shenson: Quit: /me taps out
[2010/06/02 12:02:09] <bodepd> masterzen: and thank you! I might be spamming it in the next week with all of the half written blogs I need to finish.
[2010/06/02 12:02:29] <masterzen> bodepd: if only I have time (and ides) to blog :-(
[2010/06/02 12:02:33] <masterzen> *ideas
[2010/06/02 12:02:48] @ Quit: Welsh_Dwarf: Remote host closed the connection
[2010/06/02 12:03:09] <bodepd> masterzen- the stuff you have is pretty awesome. I always mention your and Volcanes blog when I teach the class.
[2010/06/02 12:03:10] @ tep joined channel #puppet
[2010/06/02 12:03:10] @ Quit: tep: Changing host
[2010/06/02 12:03:10] @ tep joined channel #puppet
[2010/06/02 12:03:31] @ mick joined channel #puppet
[2010/06/02 12:03:36] <masterzen> bodepd: thanks! now I'm famous :-D
[2010/06/02 12:03:57] @ mick is now known as Guest36868
[2010/06/02 12:04:15] <bodepd> masterzen: I'm happy to just scrape up whatever leftover fame is stuck on the floor.
[2010/06/02 12:05:04] @ Quit: themroc: Remote host closed the connection
[2010/06/02 12:05:20] @ ckauhaus joined channel #puppet
[2010/06/02 12:05:38] <Volcane> masterzen: check out 'air display' for your ipad :)
[2010/06/02 12:06:11] <bodepd> anyone ever thought about static code analysis for puppet code?
[2010/06/02 12:06:25] <masterzen> Volcane: I didn't try it, but it was on my radar.
[2010/06/02 12:06:33] <masterzen> Volcane: is it working?
[2010/06/02 12:07:02] <bodepd> masterzen: I saw the days of wonder app on the iphone is pretty popular.
[2010/06/02 12:07:14] <Volcane> masterzen: its pretty freaky tiny little screen to put things on slightly jaggy but mostly its great
[2010/06/02 12:08:26] <masterzen> Volcane: you need a dock or stand so that the ipad is vertical, though...
[2010/06/02 12:08:34] <Volcane> got one :)
[2010/06/02 12:09:03] <masterzen> bodepd: yes, the small world ipad game is doing fine. It's nice I demoed it a little bit at Puppetcamp
[2010/06/02 12:09:07] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/02 12:09:11] <Volcane> its a bit mad, 13 inch macbook -> 24 inch -> 24 inch imac -> ipad
[2010/06/02 12:09:14] <Volcane> macbook is temp though
[2010/06/02 12:11:18] <masterzen> I'm still not using my ipad as much as I want...
[2010/06/02 12:11:32] <tychoish> masterzen: thanks for your help yestday. :)
[2010/06/02 12:11:36] @ gmcquillan joined channel #puppet
[2010/06/02 12:11:45] <masterzen> tychoish: you're welcome
[2010/06/02 12:11:45] * tychoish waves goodbye
[2010/06/02 12:11:48] @ tychoish left channel #puppet ()
[2010/06/02 12:13:59] @ shenson joined channel #puppet
[2010/06/02 12:15:46] @ Quit: ona_matt: Quit: leaving
[2010/06/02 12:19:05] <robinbowes> Is there a canonical way to list all classes and defines in a puppet tree, and to check if any are not being used?
[2010/06/02 12:19:34] @ ona_matt joined channel #puppet
[2010/06/02 12:19:53] @ Quit: QtPlatypus: Ping timeout: 240 seconds
[2010/06/02 12:21:59] @ QtPlatypus joined channel #puppet
[2010/06/02 12:26:39] @ emarshall joined channel #puppet
[2010/06/02 12:29:27] @ plathrop-away is now known as plathrop
[2010/06/02 12:33:08] @ Quit: MattyM: Remote host closed the connection
[2010/06/02 12:34:26] @ Quit: Guest36868: Ping timeout: 264 seconds
[2010/06/02 12:35:57] @ Guest36868 joined channel #puppet
[2010/06/02 12:40:56] @ Quit: swa_work: Read error: Connection reset by peer
[2010/06/02 12:41:04] @ Quit: mboyd: Quit: Read error: 131 (Connection reset by beer)
[2010/06/02 12:44:01] @ Quit: mauve: Quit: Leaving
[2010/06/02 12:52:12] @ mboyd joined channel #puppet
[2010/06/02 12:52:42] @ toi joined channel #puppet
[2010/06/02 12:55:36] @ ahuman joined channel #puppet
[2010/06/02 12:57:30] @ Quit: themurph: Quit: themurph
[2010/06/02 12:59:47] @ swa_work joined channel #puppet
[2010/06/02 13:01:49] @ windowsrefund joined channel #puppet
[2010/06/02 13:01:59] <windowsrefund> hello
[2010/06/02 13:10:16] @ cynicismic joined channel #puppet
[2010/06/02 13:10:37] @ Quit: bodepd: Quit: bodepd
[2010/06/02 13:11:17] @ spencert left channel #puppet ()
[2010/06/02 13:11:22] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/02 13:16:55] @ Quit: reyjrar: Quit: Leaving.
[2010/06/02 13:19:55] @ SQLDarkly joined channel #puppet
[2010/06/02 13:20:10] @ jesusaurus joined channel #puppet
[2010/06/02 13:21:20] @ Hunner joined channel #puppet
[2010/06/02 13:21:35] <SQLDarkly> Greetings all. Im having a bit of an issue. One a few machines I have just installed puppet on they are refusing the SSL... error as follows:
[2010/06/02 13:21:40] <SQLDarkly> err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[2010/06/02 13:22:15] <SQLDarkly> ive puppetca clean hostname and ive deleted the ssl from the client and retried. it will receive the cert but then after that the error above keeps biting me
[2010/06/02 13:23:47] <chrisg> date/time wrong on server/client?
[2010/06/02 13:24:24] <SQLDarkly> i thought that to, but sadly it is correct almost to the second :(
[2010/06/02 13:24:38] @ Quit: TREllis: Quit: leaving
[2010/06/02 13:24:47] <chrisg> definately using the correct hostname in the config/commandline?
[2010/06/02 13:25:00] @ bug joined channel #puppet
[2010/06/02 13:25:02] <chrisg> gotta match exactly what's in the CN or the alias attribute
[2010/06/02 13:25:24] <chrisg> i got caught out by the datetime thing a few weeks ago, kickstarted a fresh new blade from hp
[2010/06/02 13:25:33] <chrisg> wouldnt register on our satellite server or puppet
[2010/06/02 13:25:42] <chrisg> was one of those things that took a few tries to go "ohhhhhh" lol
[2010/06/02 13:25:49] <SQLDarkly> checking now. Just a moment :)
[2010/06/02 13:25:53] <chrisg> but if thats right i cant think of much to suggest :)
[2010/06/02 13:26:24] <SQLDarkly> yeah i just syncd. but im going to try the clean since I just syncd the time to my ntp serv
[2010/06/02 13:28:12] @ bodepd joined channel #puppet
[2010/06/02 13:28:42] @ Quit: flakrat: Quit: Leaving
[2010/06/02 13:28:53] <Volcane> bodepd: just getting 403 from your box
[2010/06/02 13:29:25] <dballing> Speaking of certificates, I'm trying to understand something... yesterday someone was asking about PXEboot'ed filesystems that have a "common shared cert" for a number of machines (that are all PXEing to the same FS image). there as a lot of talk about how that might cause problems, etc. etc.
[2010/06/02 13:29:35] <bodepd> Volcane:really? I can acess it.
[2010/06/02 13:29:49] <Volcane> Error 403 Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.2 mod_jk/1.2.14 PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a
[2010/06/02 13:29:59] @ Quit: windowsrefund: Quit: leaving
[2010/06/02 13:30:02] <dballing> but what I've seen, when cloning VMs that have puppet clients installed, seems to be that the cloned-VM regenerates a new certificate for itself when it powers up
[2010/06/02 13:30:15] <bodepd> dballing: I know that its not recommended, I dont know the exact reason why.
[2010/06/02 13:30:17] <dballing> wouldn't the PXEboot'ed machine do the same thing, if its hostname didnt match the cert if had?
[2010/06/02 13:30:20] @ tecto joined channel #puppet
[2010/06/02 13:30:25] <bodepd> Volcane: what url are you hitting?
[2010/06/02 13:30:29] <Volcane> dballing: guess it depends what he does with hostnames
[2010/06/02 13:30:30] <dballing> s/if had/it had/
[2010/06/02 13:30:51] @ Quit: blood:
[2010/06/02 13:30:57] <Volcane> dballing: if he starts up a box today as web1, and morrow rebuild it as web1 and certs regen then he has to go and revoke old ones, sign new one etc
[2010/06/02 13:31:04] <Volcane> bodepd: http://bodepd.com/
[2010/06/02 13:31:04] <odyi> You can also tweak the puppet.conf to use a different cert name.
[2010/06/02 13:31:06] @ Quit: bodepd: Read error: Connection reset by peer
[2010/06/02 13:31:10] @ Quit: tecto: Changing host
[2010/06/02 13:31:10] @ tecto joined channel #puppet
[2010/06/02 13:31:15] <dballing> because when I was running it in a lab, I had "puppettestclient", and in /etc/ssl/certs were the certs for puppettestclient.mydomain.com.... when I cloned it, all of a sudden there was also a cert set for puppettestclient2.mydomain.com
[2010/06/02 13:31:18] @ blood joined channel #puppet
[2010/06/02 13:31:26] @ Quit: blood: Changing host
[2010/06/02 13:31:26] @ blood joined channel #puppet
[2010/06/02 13:32:20] <dballing> Volcane: oh, I see the concern... that if he comes up as "dhcp-101.whatever" for this PXEboot and reg's a cert, then whoever PXEs to "dhcp-101" a week from now might have issues
[2010/06/02 13:32:50] <dballing> (a concern that might theoretically be obviated by forcing yourself to use a single-static-cert rather than individual-host-certs)
[2010/06/02 13:32:50] <odyi> Using the same cert seems more complicated then just turning on autosign.
[2010/06/02 13:32:52] @ bodepd joined channel #puppet
[2010/06/02 13:33:25] <SQLDarkly> BAH same thing
[2010/06/02 13:33:29] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 13:33:31] <Volcane> dballing: yeah i dont know really i've not been following that thread, thats just my first thought
[2010/06/02 13:33:49] <SQLDarkly> this is quite irritating lol. Well going to keep tryin :) has to be something right?
[2010/06/02 13:34:09] @ bodepd joined channel #puppet
[2010/06/02 13:34:28] <dballing> odyi: well, it depends on how they use their PXE environment. because from what he was saying yest. it was more like old sparc stations, where you get a FS via PXE, but after shutdown any changes are gone (so if you create a cert, and get it signed, and power off, whoever comes back up with your DHCP hostname "next" better have the copy that ended up in the bit bucket for their cert, otherwise the server will reject.
[2010/06/02 13:34:42] @ Quit: thdem: Ping timeout: 252 seconds
[2010/06/02 13:34:51] <bodepd> Volcane:: yeah, hit bodepd.com/wordpress/
[2010/06/02 13:35:03] <bodepd> uggh, I though about that, but was too lazy to fix it.
[2010/06/02 13:35:04] <Volcane> bodepd: meh :)
[2010/06/02 13:35:29] <Volcane> bodepd: if only there were some damn tool to help with these niggly config options hey?
[2010/06/02 13:35:39] <bodepd> :(
[2010/06/02 13:35:51] <Volcane> bodepd: and like, maybe somewhere you could download some premade bits of code, like maybe 'modules' :P
[2010/06/02 13:36:08] <odyi> Old sparc stations? PXE? That doesn't seem right. SPARC has used its own Jumpstart infrastructure for more years then I know.
[2010/06/02 13:36:17] <Volcane> bodepd: anyway, wicked ec2 type, very keen to see that mature :)
[2010/06/02 13:37:59] <chadh> How do you get stuff out of the filebucket? I have the sum
[2010/06/02 13:38:09] <Volcane> chadh: filebucket --help
[2010/06/02 13:38:17] <chadh> Volcane: thanks :)
[2010/06/02 13:38:33] * odyi also uses statically assigned/reserved IP addresses in his DHCP configs for all his SPARC boxes.
[2010/06/02 13:38:42] <Volcane> or just find /var/lib/puppet -name <hash> :)
[2010/06/02 13:38:48] @ genericfinch joined channel #puppet
[2010/06/02 13:38:49] <odyi> So at install and next boot will alway end in the same hostname.
[2010/06/02 13:38:53] <Volcane> and then grab the 'contents' file
[2010/06/02 13:39:08] <dballing> odyi: well, I was just talking about the methodology at the macro level... I remember setting up BootP for a sparc station in 1995ish time frame. :-P
[2010/06/02 13:39:31] <bodepd> volcane: yeah, Im going to site and add features today, its the best way to learn how to teach the puppet developers class.
[2010/06/02 13:39:32] <dballing> and I remember it having to load a ramdisk with its "drive" every time I powered it on since it had no storage itself.
[2010/06/02 13:39:50] @ flakrat joined channel #puppet
[2010/06/02 13:40:47] <odyi> Yeah. Autosign would probably still be more sane it that situation. People seem to be scared of autosign more then they should be.
[2010/06/02 13:41:03] <Volcane> odyi: autosign != auto remove old cert and sign new one
[2010/06/02 13:41:07] <dballing> odyi: autosign would cause massive grief there.
[2010/06/02 13:41:09] @ Quit: snikta: Read error: Connection reset by peer
[2010/06/02 13:41:20] <Volcane> odyi: when a new host arrives with a old hostname - manual intervention required
[2010/06/02 13:42:07] <odyi> Ah! Gotcha. Yeah. We copy out all our certs on every host every night and then automate the manual recopy of the cert back in place so we don't have to deal with that.
[2010/06/02 13:42:34] <Volcane> yeah i suspec tthe same certname everywhere question is around avoiding that :)
[2010/06/02 13:43:11] @ Quit: benoit__: Ping timeout: 264 seconds
[2010/06/02 13:44:02] @ Quit: Guest36868: Ping timeout: 264 seconds
[2010/06/02 13:44:25] @ Quit: tecto: Read error: Connection reset by peer
[2010/06/02 13:44:29] @ tecto joined channel #puppet
[2010/06/02 13:53:20] <ashp> alright, gonna try zenoss enterprise, hope this is good :D
[2010/06/02 13:53:36] <Volcane> read the docs, then deploy :)
[2010/06/02 13:53:57] <ashp> they make documentation for products? that doesn't sound brave :D
[2010/06/02 13:54:01] <bodepd> Volcane: laziest fix ever. Is that any better ;)
[2010/06/02 13:54:08] <ashp> i'm intriged by their 'deep vmware' monitoring, i wonder what that involves
[2010/06/02 13:54:13] <Volcane> bodepd: lols.
[2010/06/02 13:54:22] @ Quit: pheezy: Remote host closed the connection
[2010/06/02 13:54:48] @ Quit: rsquared: Remote host closed the connection
[2010/06/02 13:54:50] <Volcane> bodepd: <? header("Location: /wordpress/"); ?> :P
[2010/06/02 13:54:54] <ashp> I am going to try the puppet zenpack too, should be interesting
[2010/06/02 13:55:21] @ rsquared joined channel #puppet
[2010/06/02 13:55:52] <bodepd> thanks. next you can tell me how to fix my css issues :)
[2010/06/02 13:56:13] <Volcane> copy and paste something else :P
[2010/06/02 13:56:35] <ashp> how to fix your css issues, dump support for IE :D
[2010/06/02 13:56:38] <Volcane> isnt that how everyone fix css? visit random websites and try to extract the bit that make some element look the way you wanted it
[2010/06/02 13:57:59] <setient> anyone got a good walkthrough of using templates with examples of a class and setting the variables
[2010/06/02 13:58:58] <Volcane> class foo { $foo = "bar"; file{"/tmp/foo": content => template("foo.erb")} } foo.erb: <%= foo %>
[2010/06/02 13:59:57] <Volcane> a class called foo, that has a variable $foo with a value "bar" that produces a file called /tmp/foo with the contents being 'bar'
[2010/06/02 14:03:26] @ Bass10 joined channel #puppet
[2010/06/02 14:04:29] @ adrian_broher joined channel #puppet
[2010/06/02 14:04:53] @ Quit: Bass10: Max SendQ exceeded
[2010/06/02 14:05:30] @ Bass10 joined channel #puppet
[2010/06/02 14:05:31] @ tecto_ joined channel #puppet
[2010/06/02 14:07:03] <setient> is that compatible with version 0.25.4?
[2010/06/02 14:07:09] <setient> i get some syntax errors :(
[2010/06/02 14:07:20] @ Quit: herdingcat: Quit: Leaving
[2010/06/02 14:07:24] <Volcane> thats the basic idea yes
[2010/06/02 14:08:11] <Volcane> setient: the ";" is probably the problem, take it out and make a new line instead
[2010/06/02 14:08:33] @ Quit: tecto: Ping timeout: 240 seconds
[2010/06/02 14:08:34] @ tecto_ is now known as tecto
[2010/06/02 14:09:10] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/02 14:11:04] @ ezmobius joined channel #puppet
[2010/06/02 14:13:04] @ ckauhaus joined channel #puppet
[2010/06/02 14:13:28] @ Quit: bug: Quit: bug
[2010/06/02 14:15:00] <setient> that did it!
[2010/06/02 14:15:04] <setient> lets see what i can do now :)
[2010/06/02 14:15:11] <sbeards> is there a way to link puppet dashboard to a storeconfigs DB?
[2010/06/02 14:15:50] <setient> SWEET that helps A LOT :)
[2010/06/02 14:15:53] <setient> easy easy easy now
[2010/06/02 14:20:45] @ Quit: jhp: Ping timeout: 248 seconds
[2010/06/02 14:21:31] @ jhp joined channel #puppet
[2010/06/02 14:22:59] <dan__t> Is there such thing as a single peer debug? I want to debug a single host, and I want that single host's logs to be logged by the puppetmaster to a specific single file instead of everything just to one file as it does now.
[2010/06/02 14:23:35] @ Quit: cynicismic: Ping timeout: 240 seconds
[2010/06/02 14:23:38] @ Quit: rcrowley: Quit: rcrowley
[2010/06/02 14:23:57] <odyi> I would start a seperate puppetmaster on a different port with a puppet.conf on the puppetmaster that kicks the logs somewhere special.
[2010/06/02 14:24:07] <odyi> Then just run your client with the --masterport option.
[2010/06/02 14:24:24] <eric0> yep i do that
[2010/06/02 14:24:46] <eric0> furthermore i have the alternate puppetmaster configs living out of a 'test' branch in svn
[2010/06/02 14:25:04] <eric0> so you can make changes live and test them on real clients without affecting everyone
[2010/06/02 14:25:57] <dan__t> Bah, really? That's a drag.
[2010/06/02 14:26:01] @ Quit: blood: Read error: Connection reset by peer
[2010/06/02 14:26:02] <dan__t> I can work with that though... thanks
[2010/06/02 14:27:38] * Volcane just uses a loghost
[2010/06/02 14:27:38] @ bug joined channel #puppet
[2010/06/02 14:27:55] <Volcane> that splits logs out by box
[2010/06/02 14:29:37] <dan__t> yea
[2010/06/02 14:30:50] @ cynicismic joined channel #puppet
[2010/06/02 14:33:42] @ themurph joined channel #puppet
[2010/06/02 14:44:59] @ Quit: bug: Quit: bug
[2010/06/02 14:49:27] @ mick joined channel #puppet
[2010/06/02 14:49:54] @ mick is now known as Guest63528
[2010/06/02 14:53:40] @ jab_doa joined channel #puppet
[2010/06/02 14:54:56] @ Quit: Guest63528: Quit: Leaving
[2010/06/02 14:55:17] @ adsadad joined channel #puppet
[2010/06/02 14:55:36] <beata_> does puppet support a multidimensional array?
[2010/06/02 14:57:00] <zipkid> beata_: no
[2010/06/02 14:58:21] @ LinuxCode joined channel #puppet
[2010/06/02 14:58:22] <beata_> ok then
[2010/06/02 15:02:50] @ lak joined channel #puppet
[2010/06/02 15:03:07] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/02 15:03:09] @ Quit: bodepd: Quit: bodepd
[2010/06/02 15:05:03] @ bodepd joined channel #puppet
[2010/06/02 15:06:43] @ Quit: bodepd: Client Quit
[2010/06/02 15:06:50] @ Quit: lak: Client Quit
[2010/06/02 15:08:14] <dan__t> no syslog host specification for logdest, eh?
[2010/06/02 15:08:20] <dan__t> that would be rad
[2010/06/02 15:08:24] <dan__t> feature request?
[2010/06/02 15:09:28] @ \ask joined channel #puppet
[2010/06/02 15:13:50] @ pting joined channel #puppet
[2010/06/02 15:19:51] @ glaw joined channel #puppet
[2010/06/02 15:20:40] @ jaredrhine joined channel #puppet
[2010/06/02 15:22:24] @ thegcat joined channel #puppet
[2010/06/02 15:29:06] @ bug joined channel #puppet
[2010/06/02 15:30:49] @ Quit: themurph: Quit: themurph
[2010/06/02 15:31:48] <beata_> is there a function to log a msg to the client?
[2010/06/02 15:33:21] @ Quit: gaveen: Quit: Leaving
[2010/06/02 15:34:19] <Volcane> beata_: notify{"meh": }
[2010/06/02 15:34:38] <Volcane> dan__t: well thats a function of syslog really :)
[2010/06/02 15:35:08] @ Quit: emarshall: Read error: Connection reset by peer
[2010/06/02 15:35:55] @ rcrowley joined channel #puppet
[2010/06/02 15:36:00] @ emarshall joined channel #puppet
[2010/06/02 15:37:37] @ Quit: \ask: Remote host closed the connection
[2010/06/02 15:38:34] @ pheezy joined channel #puppet
[2010/06/02 15:38:37] <beata_> I am trying to do a before for a file from another class. How would i do that
[2010/06/02 15:39:06] <beata_> File[ClassName::path] didnt work
[2010/06/02 15:41:02] @ themurph joined channel #puppet
[2010/06/02 15:41:31] <Volcane> beata_: File["/the/file"]
[2010/06/02 15:41:44] <Volcane> beata_: or often better Class["the::class"]
[2010/06/02 15:41:48] <beata_> makes sense since they have to be unique
[2010/06/02 15:43:30] <Volcane> doing cross class dependencies based on class is much saner
[2010/06/02 15:49:52] <beata_> im trying to setup iptables w/ templates using defines an appending to an array but im pretty sure my changes are getting lost do to scope
[2010/06/02 15:50:13] <Volcane> yup, sounds like a disaster
[2010/06/02 15:50:22] <Volcane> you should consider using somtehing that concatenates snippets
[2010/06/02 15:52:26] <beata_> Volcane: you dont by chance have an example do you?
[2010/06/02 15:53:30] <Volcane> http://github.com/ripienaar/puppet-concat
[2010/06/02 15:54:33] <beata_> thanks
[2010/06/02 15:55:36] @ sclamage joined channel #puppet
[2010/06/02 15:57:40] @ himynameisthor joined channel #puppet
[2010/06/02 15:57:48] @ himynameisthor is now known as hephaestus
[2010/06/02 16:02:02] @ Quit: bearnard_: Quit: bearnard_
[2010/06/02 16:03:27] @ bodepd joined channel #puppet
[2010/06/02 16:03:51] @ \ask joined channel #puppet
[2010/06/02 16:04:37] <dan__t> Volcane, you're right... typing around with the kernel's syslog= option for kickstarting. I forgot that puppet logs to the console by default with testing and/or debugging switched on.
[2010/06/02 16:04:54] <dan__t> So now that's in order, assuming anaconda knows how to throw syslog to another host, it should work.
[2010/06/02 16:06:02] <Volcane> yeah it can do during ks
[2010/06/02 16:06:51] <dan__t> hrm, don't see anything going to syslog...
[2010/06/02 16:07:05] @ Quit: ezmobius: Remote host closed the connection
[2010/06/02 16:09:13] @ bearnard joined channel #puppet
[2010/06/02 16:10:17] @ Quit: \ask: Read error: Connection reset by peer
[2010/06/02 16:11:37] @ \ask joined channel #puppet
[2010/06/02 16:21:17] @ Quit: Chiku: Quit: Quitte
[2010/06/02 16:21:25] @ glaw left channel #puppet ()
[2010/06/02 16:22:15] @ Quit: toi: Quit: Ex-Chat
[2010/06/02 16:22:59] @ Quit: nexx: Quit: quit
[2010/06/02 16:23:03] @ gaveen joined channel #puppet
[2010/06/02 16:24:20] @ ezmobius joined channel #puppet
[2010/06/02 16:24:46] @ Quit: cwebber: Quit: cwebber
[2010/06/02 16:27:36] <dan__t> doesn't appear that syslog logging is working as advertised, not in that environment anyway
[2010/06/02 16:28:04] @ lak joined channel #puppet
[2010/06/02 16:31:17] <BLZbubba> ok a weird user creation problem - i made a group for this user already. nagios created the group, but then wouldn't create the user because the group already exists
[2010/06/02 16:31:34] @ Quit: bug: Quit: bug
[2010/06/02 16:33:04] <BLZbubba> s/nagios/puppet/
[2010/06/02 16:33:38] <dan__t> kNow what, it does, but %post happens inside the chroot env, meaning it uses a new instance of syslog....
[2010/06/02 16:33:42] <sbeards> anyone using the dashboard? How do I import existing puppet classes?
[2010/06/02 16:37:09] <sbeards> dan__t: is your primary syslogd running with the "-r" option (to enable incomming remote syslog messages)?
[2010/06/02 16:37:17] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/02 16:37:28] <BLZbubba> ah i get it, you can't have both a user id and group id defined in puppet. :(
[2010/06/02 16:37:56] <zipkid> BLZbubba: eum... ??? not true....
[2010/06/02 16:39:04] @ Quit: SQLDarkly: Quit: Leaving
[2010/06/02 16:39:09] <zipkid> sbeards: by entering your class names.
[2010/06/02 16:39:29] <zipkid> sbeards: there is no automated way.
[2010/06/02 16:40:02] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/02 16:40:19] <setient> hmm for an erb template, how do i define a fixnum instead of a string?
[2010/06/02 16:40:21] <sbeards> ugggg
[2010/06/02 16:40:44] * sbeards forgets about dashboard and moves on to something else
[2010/06/02 16:42:05] @ Quit: emarshall: Ping timeout: 240 seconds
[2010/06/02 16:44:17] @ Quit: ezmobius: Ping timeout: 260 seconds
[2010/06/02 16:45:40] @ Quit: lak: Quit: lak
[2010/06/02 16:46:07] <zipkid> sbeards: do you remember Dashboard?
[2010/06/02 16:48:31] <BLZbubba> zipkid: if you do both, then it fails to create the user because the group already exist
[2010/06/02 16:48:34] <BLZbubba> s
[2010/06/02 16:49:01] <zipkid> BLZbubba: i have many users with both uid and gid set....
[2010/06/02 16:49:31] <sbeards> zipkid: no I've only been using puppet for ~1year
[2010/06/02 16:49:31] @ p3rror joined channel #puppet
[2010/06/02 16:50:55] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/02 16:54:15] @ Quit: gebi: Ping timeout: 276 seconds
[2010/06/02 17:00:19] @ bug joined channel #puppet
[2010/06/02 17:00:47] <dan__t> Yes, it is. Like I said, %post defaults to running in a chrooted environment. Guess the kernel params syslog=syslog.host.name.tld does not get passed to that environment.
[2010/06/02 17:00:55] <dan__t> Guess I wouldn't expect it to, but that would be neat.
[2010/06/02 17:01:07] <dan__t> Prior to that, though, all kernel logging is sent to the syslog host.
[2010/06/02 17:02:03] @ Quit: rmiller4pi8: Ping timeout: 276 seconds
[2010/06/02 17:02:34] <zipkid> BLZbubba: i just noticed you're talking about nagios, not system users....
[2010/06/02 17:02:50] <zipkid> or.... are you?
[2010/06/02 17:03:21] <BLZbubba> heh nagios is the user that has a random uid & gid on a few machines here
[2010/06/02 17:04:36] <zipkid> BLZbubba: do you mean you can not 'change' a user to a uid you chose because that uid is already taken? That is obvious.
[2010/06/02 17:04:56] <zipkid> Same goes for creating groups with gid that is taken.
[2010/06/02 17:05:26] <BLZbubba> no, on machines that don't have a nagios account - if puppet creates the nagios group first, then it fails to create the user
[2010/06/02 17:05:48] <BLZbubba> i was hoping to have all of the groups defined on all machines
[2010/06/02 17:05:53] <zipkid> BLZbubba: pastie your user definition + the error...
[2010/06/02 17:05:54] <BLZbubba> even if the users weren't there
[2010/06/02 17:06:14] <zipkid> BLZbubba: you are doing it wrong (somewhere)
[2010/06/02 17:06:47] * zipkid will get a beer from the fridge in the meantime....
[2010/06/02 17:11:57] @ andrew3 joined channel #puppet
[2010/06/02 17:15:48] @ Quit: giskard: Remote host closed the connection
[2010/06/02 17:18:12] @ themurph left channel #puppet ()
[2010/06/02 17:19:11] <BLZbubba> http://pastebin.ca/1876247
[2010/06/02 17:19:23] <BLZbubba> ok that was enough time to have funneled an entire 6 pack
[2010/06/02 17:19:47] <zipkid> no, i'm having a Duvel. To be savoured slowly...
[2010/06/02 17:20:38] <RS-232> zipkid: cheers, I'm having Orval :-)
[2010/06/02 17:20:51] <zipkid> RS-232: Cheers to you too.
[2010/06/02 17:21:03] <zipkid> BLZbubba: what distro is that?
[2010/06/02 17:21:27] <zipkid> and can you paste the output of puppetd --test ?
[2010/06/02 17:22:03] <zipkid> in your paste the gid or groups is not even set....?
[2010/06/02 17:23:53] <dan__t> effff yeah.
[2010/06/02 17:23:57] <dan__t> syslog is a go.
[2010/06/02 17:26:48] @ Quit: f3ew: Read error: Connection reset by peer
[2010/06/02 17:27:37] @ f3ew joined channel #puppet
[2010/06/02 17:28:15] @ Quit: bearnard: Quit: bearnard
[2010/06/02 17:30:07] @ Quit: joe-mac1: Ping timeout: 240 seconds
[2010/06/02 17:31:44] @ joe-mac1 joined channel #puppet
[2010/06/02 17:31:59] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/02 17:32:02] @ joe-mac1 left channel #puppet ()
[2010/06/02 17:32:17] @ joe-mac1 joined channel #puppet
[2010/06/02 17:43:38] @ Determinist joined channel #puppet
[2010/06/02 17:45:03] @ Quit: shenson: Quit: /me taps out
[2010/06/02 17:45:21] <chadh> Is there a limit to the number of reports you can have?
[2010/06/02 17:45:42] <Volcane> there's always a limit
[2010/06/02 17:46:11] <chadh> well, I have 4
[2010/06/02 17:51:03] @ Quit: bodepd: Quit: bodepd
[2010/06/02 17:52:10] @ bearnard_ joined channel #puppet
[2010/06/02 17:54:51] @ Quit: beata_: Quit: leaving
[2010/06/02 17:57:33] @ Quit: swa_work: Ping timeout: 260 seconds
[2010/06/02 17:58:30] @ Quit: LinuxCode: Quit: Connection Closed
[2010/06/02 17:59:23] @ Quit: ahuman: Remote host closed the connection
[2010/06/02 17:59:44] @ swa_work joined channel #puppet
[2010/06/02 17:59:51] @ Quit: gaveen: Quit: Leaving
[2010/06/02 18:00:43] @ _hlouis joined channel #puppet
[2010/06/02 18:03:43] @ Quit: tecto: Quit: tecto
[2010/06/02 18:04:15] @ Quit: ckdake: Ping timeout: 245 seconds
[2010/06/02 18:06:30] @ [GuS] joined channel #puppet
[2010/06/02 18:07:26] @ ckdake joined channel #puppet
[2010/06/02 18:07:26] @ Quit: ckdake: Changing host
[2010/06/02 18:07:26] @ ckdake joined channel #puppet
[2010/06/02 18:07:33] <dan__t> my graph is too big for graphviz to render anything usable :(
[2010/06/02 18:08:09] <Volcane> yeah they're not all that useful
[2010/06/02 18:08:28] <dan__t> Well, they were when I had like 30 classes heh
[2010/06/02 18:08:36] <Volcane> often pondered writing something that walks the catalog from a specific resource onward and produce a smaller subset graph
[2010/06/02 18:09:13] <dan__t> Now I have almost 600.
[2010/06/02 18:09:14] @ plathrop is now known as plathrop-away
[2010/06/02 18:09:20] <dan__t> yeah that would be perfect.
[2010/06/02 18:13:45] @ carlas joined channel #puppet
[2010/06/02 18:13:51] @ Quit: carlas: Client Quit
[2010/06/02 18:19:55] @ Quit: bug: Quit: bug
[2010/06/02 18:21:08] <ashp> Volcane: my woes never end - files are being mysteriously changed at work
[2010/06/02 18:21:28] <ashp> Volcane: a file that is buried deep in an app changed at 1517 and i know it wasn't me or my other admin, and they changed the username/password to completely wrong ones
[2010/06/02 18:22:34] @ Quit: cynicismic: Quit: leaving
[2010/06/02 18:23:21] @ Quit: kaptk2: Quit: Leaving.
[2010/06/02 18:25:12] @ bug joined channel #puppet
[2010/06/02 18:27:19] @ Quit: ahasenack: Ping timeout: 240 seconds
[2010/06/02 18:30:01] <ashp> (haha, resolution - it was me, i broke it)
[2010/06/02 18:31:28] <Volcane> no ways, could never guess :P
[2010/06/02 18:33:31] @ Quit: _hlouis: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401064631]
[2010/06/02 18:41:29] @ enoch2038 joined channel #puppet
[2010/06/02 18:44:06] @ WALoeIII joined channel #puppet
[2010/06/02 18:44:58] @ bodepd joined channel #puppet
[2010/06/02 18:46:47] @ fredden joined channel #puppet
[2010/06/02 18:47:52] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:47:58] <jph98> i'm having problems getting puppetrun to work with my hosts...
[2010/06/02 18:48:43] <jph98> i've put this in my puppet.conf file on each node: listen = true
[2010/06/02 18:48:57] <jph98> for the [puppetd] block...
[2010/06/02 18:49:33] <jph98> and changed namespaceauth.conf to allow the server to connect in the [puppetrunner] block
[2010/06/02 18:49:39] @ bodepd joined channel #puppet
[2010/06/02 18:50:01] <jph98> but on restart it doesn't appear to listen on port 8139
[2010/06/02 18:50:14] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:50:46] @ bodepd joined channel #puppet
[2010/06/02 18:51:25] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:51:56] @ bodepd joined channel #puppet
[2010/06/02 18:52:38] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:53:09] @ bodepd joined channel #puppet
[2010/06/02 18:53:47] <chadh> jph98: iptables?
[2010/06/02 18:53:49] @ Quit: bodepd: Read error: Connection reset by peer
[2010/06/02 18:54:07] <jph98> Firewall is stopped
[2010/06/02 18:54:20] @ bodepd joined channel #puppet
[2010/06/02 18:55:00] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:55:30] @ bodepd joined channel #puppet
[2010/06/02 18:56:09] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:56:40] @ bodepd joined channel #puppet
[2010/06/02 18:56:51] <chadh> jph98: I'm pretty sure that's all you need. are you sure the client is not listening on 8139?
[2010/06/02 18:57:06] <jph98> i can't telnet locally to port 8139
[2010/06/02 18:57:18] <chadh> what happens? does it immediately get closed?
[2010/06/02 18:57:22] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:57:38] @ Quit: adsadad: Quit: This computer has gone to sleep
[2010/06/02 18:57:52] @ bodepd joined channel #puppet
[2010/06/02 18:58:12] @ bodepd left channel #puppet ()
[2010/06/02 18:58:58] <jph98> Unable to connect to remote host, connection refused...
[2010/06/02 18:59:02] @ bodepd joined channel #puppet
[2010/06/02 18:59:08] @ sebas891 joined channel #puppet
[2010/06/02 18:59:42] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 18:59:48] @ Quit: steph021_w: Quit: Leaving
[2010/06/02 19:00:06] <chadh> jph98: ok. that sounds like the port isn't open. I just noticed that the listener has slightly different behavior in that it closed the connection immediately.
[2010/06/02 19:00:14] @ bodepd joined channel #puppet
[2010/06/02 19:00:21] @ Quit: bodepd: Client Quit
[2010/06/02 19:00:53] <chadh> jph98: nothing in the client log? How about puppetd --test --debug?
[2010/06/02 19:00:59] @ cliff-hm joined channel #puppet
[2010/06/02 19:01:25] <chadh> (actually, I guess that will ignore the listen, but it should say that it is doing that if it is configured)
[2010/06/02 19:02:02] <chadh> "notice: Ignoring --listen on onetime run"
[2010/06/02 19:02:03] <jph98> yep says just that...
[2010/06/02 19:02:08] <jph98> "notice: Ignoring --listen on onetime run"
[2010/06/02 19:03:27] @ freshtonic joined channel #puppet
[2010/06/02 19:03:29] <jph98> this is on Centos 5 with puppet 0.25.4
[2010/06/02 19:07:24] <chadh> you know, in the process of testing my client, I upgraded from 0.24.8 to 0.25.4, and now it isn't working
[2010/06/02 19:07:27] <chadh> lol
[2010/06/02 19:07:42] @ OpenMedia joined channel #puppet
[2010/06/02 19:09:31] @ Quit: bug: Quit: bug
[2010/06/02 19:10:07] <jph98> http://projects.reductivelabs.com/issues/3313
[2010/06/02 19:10:36] <jph98> [chadh] apologies...
[2010/06/02 19:11:08] @ m6d4 joined channel #puppet
[2010/06/02 19:12:08] <chadh> jph98: does listen=true,client=false work for you?
[2010/06/02 19:12:19] <chadh> jph98: sorry, duh
[2010/06/02 19:12:36] @ Brian__ joined channel #puppet
[2010/06/02 19:12:54] <Brian__> curious about the use of the word Recipe in the documentation
[2010/06/02 19:13:10] <Brian__> is it still propper nomenclature?
[2010/06/02 19:13:22] <chadh> jph98: you get that to work? with the --no-client, it works again for me
[2010/06/02 19:13:28] <chadh> Brian__: sure
[2010/06/02 19:16:19] <jph98> chadh: how are you running the client? specifying listen = true in config or just starting up puppet directly?
[2010/06/02 19:16:28] <jph98> (with the flag added)
[2010/06/02 19:16:47] <chadh> jph98: I put listen = true in puppet.conf
[2010/06/02 19:17:14] <chadh> (and --no-client in /etc/sysconfig/puppet's EXTRA_OPTS)
[2010/06/02 19:17:55] <jph98> yeah that's what i have
[2010/06/02 19:18:13] <jph98> although i specify the server location as well and puppetport
[2010/06/02 19:18:32] <chadh> puppetport or masterport?
[2010/06/02 19:18:38] <jph98> puppetport
[2010/06/02 19:18:44] <chadh> is that the listenport?
[2010/06/02 19:19:13] <jph98> no idea
[2010/06/02 19:19:37] <chadh> jph98: sorry, haven't heard of that one. checking genconfig now. I meant is that the the port that puppet will listen on.
[2010/06/02 19:19:45] <chadh> it is
[2010/06/02 19:20:19] <jph98> taking it out and restarting makes no difference....
[2010/06/02 19:20:27] <jph98> are you testing by just telnet localhost 8139 ?
[2010/06/02 19:20:30] @ Quit: sebas891: Ping timeout: 245 seconds
[2010/06/02 19:20:35] <chadh> you were using puppetport=8139?
[2010/06/02 19:21:00] <jph98> prior to this i tried it yep to see if it worked, but now I've taken puppetport out of the config - still doesn't bloody work
[2010/06/02 19:21:32] <chadh> you see the --no-client in the 'ps' listing?
[2010/06/02 19:22:18] @ Quit: swa_work: Remote host closed the connection
[2010/06/02 19:23:55] <chadh> What happens when you do puppetd --no-client --debug --no-daemonize (and I guess you need --server)
[2010/06/02 19:24:19] @ Quit: jab_doa: Quit: Verlassend
[2010/06/02 19:25:20] <jph98> bang
[2010/06/02 19:25:21] <jph98> got it
[2010/06/02 19:26:09] <dan__t> Hey Volcane, when you make virtual resources, do you make a class named like classname::config::virtual or something, and @define the virtual resources in there, and include them in a class where you want to realize them?
[2010/06/02 19:26:48] <jph98> just trying this on another host now..
[2010/06/02 19:27:21] <jph98> yeah the trick was doing what you did - adding it to PUPPET_EXTRA_OPTS
[2010/06/02 19:27:46] <Volcane> i try to avoid virtual resources since they're broken
[2010/06/02 19:27:54] <chadh> jph98: cool. I'm adding the --no-client stuff to my puppet templates now
[2010/06/02 19:27:57] <jph98> i'd hacked the /etc/init.d/puppet file and added it to PUPPET_OPTS
[2010/06/02 19:27:58] @ Quit: jense: Quit: Verlassend
[2010/06/02 19:28:40] <jph98> the question why doesn't it work without the --no-client option
[2010/06/02 19:28:41] <jph98> stupid
[2010/06/02 19:30:11] <dan__t> Broken? How so?
[2010/06/02 19:30:35] <Volcane> dan__t: if you realize a resource in a class puppet doesnt add a relationship between class and resource
[2010/06/02 19:30:45] <dan__t> Ah... very very nice.
[2010/06/02 19:30:52] <Volcane> dan__t: which means things like require => Class["foo"] doesnt work if foo has a lot of realize's in them
[2010/06/02 19:30:58] @ lak joined channel #puppet
[2010/06/02 19:31:14] <Volcane> dan__t: which is pretty fundemantally screwed up really if you ask me
[2010/06/02 19:31:18] <dan__t> yeah.
[2010/06/02 19:31:28] <dan__t> I actually suspect that happens inside of conditionals as well
[2010/06/02 19:31:32] <dan__t> I mean, the same things break.
[2010/06/02 19:31:39] <dan__t> In fact I know they do, I just refactored a class because ofit.
[2010/06/02 19:31:45] <lak> what's this?
[2010/06/02 19:32:26] <Volcane> lak: class foo { realize(Package["meh"]) } and later require => Class["foo"] doesnt do sane things
[2010/06/02 19:32:31] @ Quit: thegcat: Quit: Leaving.
[2010/06/02 19:32:43] <dan__t> Package { require => Class["someclass"] } if ( $somevar != someval ) { package { "foo": ensure => present } }
[2010/06/02 19:32:58] <dan__t> package { "foo": will never see that the resource type default value is present.
[2010/06/02 19:33:27] @ lak_ joined channel #puppet
[2010/06/02 19:33:39] <lak_> Volcane: sorry, network problems
[2010/06/02 19:33:41] <dan__t> Package { require => Class["someclass"] } if ( $somevar != someval ) { package { "foo": ensure => present } }
[2010/06/02 19:33:43] <dan__t> package { "foo": will never see that the resource type default value is present.
[2010/06/02 19:33:44] @ Quit: [GuS]: Read error: Connection reset by peer
[2010/06/02 19:33:51] <dan__t> I'ma allowed to do that right? heh
[2010/06/02 19:33:59] <dan__t> (the repaste, that is)
[2010/06/02 19:34:04] <Volcane> lak: class foo { realize(Package["meh"]) } and later require => Class["foo"] doesnt do sane things. I've filed it ages ago though so probably/hopefully not news
[2010/06/02 19:34:20] <lak_> hmm
[2010/06/02 19:34:41] <Volcane> lak_: the Package["meh"] doesnt get associated with class foo basically
[2010/06/02 19:35:26] <odyi> realize and the spaceship/mothership operators make me all warm and fuzzy.
[2010/06/02 19:35:48] <Volcane> the sperm operator got some laughs.
[2010/06/02 19:35:49] <lak_> Volcane: right
[2010/06/02 19:35:52] <lak_> hah
[2010/06/02 19:35:54] <lak_> nice
[2010/06/02 19:36:01] <lak_> hadn't heard it called that, but i guess that makes sense :)
[2010/06/02 19:36:03] <dan__t> hahaha
[2010/06/02 19:36:07] <lak_> dunno if that's good or bad
[2010/06/02 19:36:23] <lak_> Volcane: trying to imagine how i would fix that class/realize problem
[2010/06/02 19:36:29] @ Quit: lak: Ping timeout: 260 seconds
[2010/06/02 19:36:29] @ lak_ is now known as lak
[2010/06/02 19:36:44] <Volcane> let me try to find the bug
[2010/06/02 19:36:55] <lak> should realize automatically add a require to the realizing class?
[2010/06/02 19:37:05] <lak> what if i have multiple classes realize a given resource?
[2010/06/02 19:37:22] <Volcane> lak: I'd think so, you clearly want requires on Class to do the right thing
[2010/06/02 19:37:37] <lak> yeah
[2010/06/02 19:39:53] <Volcane> #2020
[2010/06/02 19:39:54] <gepetto> Volcane: #2020 is http://projects.puppetlabs.com/issues/show/2020 "Puppet - Bug #2020: Realizing a resource should create a dependency on that resource - PuppetLabs.com"
[2010/06/02 19:40:42] @ thatch joined channel #puppet
[2010/06/02 19:40:59] @ bodepd joined channel #puppet
[2010/06/02 19:41:06] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 19:41:38] @ bodepd joined channel #puppet
[2010/06/02 19:41:39] <thatch> I am working on a custom type, and when I run it on a client nothing happens, it there a simple way to test my type and provider?
[2010/06/02 19:42:17] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 19:42:46] <thatch> anyone?
[2010/06/02 19:42:49] @ bodepd joined channel #puppet
[2010/06/02 19:42:52] <bodepd> thatch: what do you expect it to do?
[2010/06/02 19:43:03] @ m6d4 left channel #puppet ()
[2010/06/02 19:43:17] <bodepd> thatch: I create a test directory in the module where I do testing using puppet.
[2010/06/02 19:43:34] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 19:43:53] <thatch> I want it to change a file, but I just realized I could use ralsh too
[2010/06/02 19:44:00] @ bodepd joined channel #puppet
[2010/06/02 19:45:31] <Volcane> thatch: or put some puppet code in test.pp and just run: puppet test.pp
[2010/06/02 19:45:44] @ jfreeman joined channel #puppet
[2010/06/02 19:45:51] <thatch> ahh, yes! thanks!
[2010/06/02 19:51:10] @ morphic joined channel #puppet
[2010/06/02 19:56:11] @ Quit: tep: Quit: Leaving.
[2010/06/02 19:57:54] @ Quit: morphic: Ping timeout: 252 seconds
[2010/06/02 20:01:02] <raz> is it possible to require a class or do i always have to depend on some resource inside that class?
[2010/06/02 20:02:51] <Volcane> Class["foo"]
[2010/06/02 20:03:05] <raz> ah..
[2010/06/02 20:03:07] * raz smacks forehead
[2010/06/02 20:03:08] <raz> thx ;)
[2010/06/02 20:07:06] <notbrien> is icinga worth using instead of nagios?
[2010/06/02 20:12:08] @ Quit: alfism: Quit: alfism
[2010/06/02 20:12:58] <chadh> raz: that's a relatively new feature
[2010/06/02 20:13:15] <raz> good match for me then, i'm a relatively new puppet user :)
[2010/06/02 20:18:28] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/02 20:21:03] <dan__t> argh. include does not imply any kind of requirement.
[2010/06/02 20:21:06] <dan__t> That's a drag.
[2010/06/02 20:21:24] <Volcane> but there's require()
[2010/06/02 20:22:13] <chadh> Does anyone know if puppet-dashboard and foreman can share the same db?
[2010/06/02 20:22:47] <dan__t> uh, for classes?
[2010/06/02 20:22:59] <chadh> dan__t: reports
[2010/06/02 20:23:15] @ explody joined channel #puppet
[2010/06/02 20:23:17] <dan__t> oh, no, that was in response to Volcane, sorry heh
[2010/06/02 20:23:25] <chadh> dan__t: sorry :)
[2010/06/02 20:23:30] <explody> puppetlabs, wat?
[2010/06/02 20:23:42] <Volcane> dan__t: its like include, except it adds a require relationship - lots of gotchas though
[2010/06/02 20:23:46] <Volcane> dan__t: see the docs
[2010/06/02 20:24:09] <dan__t> hrm, will do, but, since when was this available?
[2010/06/02 20:24:15] <Volcane> 0.25.0 i think
[2010/06/02 20:27:47] <dan__t> Interesting.......
[2010/06/02 20:34:13] @ fluxdud3 joined channel #puppet
[2010/06/02 20:35:48] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/02 20:44:08] @ Quit: bearnard_: Quit: bearnard_
[2010/06/02 20:45:35] @ Quit: WALoeIII: Quit: Bai.
[2010/06/02 20:46:37] @ Quit: lak: Quit: lak
[2010/06/02 20:49:07] @ cmatheson left channel #puppet ()
[2010/06/02 20:51:05] @ 5EXAAW0YL joined channel #puppet
[2010/06/02 21:02:28] @ seanyo joined channel #puppet
[2010/06/02 21:08:56] @ Quit: rcrowley: Quit: rcrowley
[2010/06/02 21:15:36] @ Quit: seanyo: Ping timeout: 252 seconds
[2010/06/02 21:16:21] <raz> is there an easy recipe to write the hostname of the current node (as specific in node "foo.bar") to /etc/mailname?
[2010/06/02 21:17:13] <chadh> raz: you just want a single line in that file with the hostname? fully qualified, or just the hostname?
[2010/06/02 21:17:40] <raz> chadh: fully qualified. could be just the node name (which is the same), or auto-determined as in "what hostname -f would spit out"
[2010/06/02 21:17:48] <raz> postfix auto-detection seems to be sadly broken, that's why i need it
[2010/06/02 21:18:28] <chadh> file { '/etc/mailname': content => $fqdn, mode => 0444, owner => root, group => root, } ?
[2010/06/02 21:19:05] <chadh> raz: that will put `facter fqdn` in that file
[2010/06/02 21:19:30] @ Quit: bodepd: Quit: bodepd
[2010/06/02 21:20:16] <dan__t> FWIW, I've never known Postfix to be broken in that regard. Which distro are you using, mind me asking?
[2010/06/02 21:21:11] <raz> grrr
[2010/06/02 21:21:37] <raz> chadh: good start, but that seems to put what puppetmaster sees as the reverse lookup, which is not what i need in this case. i need certname or the nodename, or "hostname -f" .. ;)
[2010/06/02 21:21:45] <raz> dan__t: long explain is here: http://lists.debian.org/debian-user/2003/05/msg00579.html
[2010/06/02 21:21:58] <raz> short story: postfix expect the gethostname() to return the fqdn
[2010/06/02 21:22:05] <raz> which is not what everyone else seems to have agreed on
[2010/06/02 21:22:13] <dan__t> Got it.
[2010/06/02 21:22:14] <chadh> raz: what does 'facter fqdn' say on that host?
[2010/06/02 21:22:37] <raz> chadh: foo.bar.batz.boom.net (the reverse lookup of said host as seen by puppetmaster)
[2010/06/02 21:22:37] <dan__t> I guess Wietse can be as bad as djb sometimes... haha
[2010/06/02 21:22:48] <raz> chadh: but the nodename and hostname -f is just: foo.bar
[2010/06/02 21:23:14] @ bodepd joined channel #puppet
[2010/06/02 21:23:14] <raz> dan__t: i used to *love* qmail with passion, still do somewhat. but at some point had to switch because the patching for every little feature was getting old.
[2010/06/02 21:23:15] <chadh> raz: it is not a reverse lookup. facter runs on the host. not sure what algorithm it uses to determine the fully qualified hostname. probably same as postfix
[2010/06/02 21:23:26] <dan__t> Yep.
[2010/06/02 21:23:34] <eric0> i've never heard of /etc/mailname , is that some distro-specific hack?
[2010/06/02 21:24:00] <dan__t> yea
[2010/06/02 21:24:05] <raz> chadh: nope, it's decidely returning a hostname that..well, can only come from dns, it's not listed in any file on that host
[2010/06/02 21:24:06] @ Quit: Schmidt: Ping timeout: 258 seconds
[2010/06/02 21:24:09] <chadh> raz: you can write a custom fact that does hostname -f (it would be the same as facter's fact on all my machines)
[2010/06/02 21:24:25] <raz> actually i'd prefer if facter fqdn would return the proper hostname
[2010/06/02 21:24:26] <chadh> then you can use that fact where I used $fqdn above
[2010/06/02 21:24:50] <raz> anyone now how it really determines its name?
[2010/06/02 21:25:17] <raz> it actually returns a very strange domain name
[2010/06/02 21:25:30] <chadh> raz: facter probably uses gethostname
[2010/06/02 21:25:32] <raz> i.e. it uses the real hostname but then appends a domain name that i'm not even sure where it comes from
[2010/06/02 21:25:36] <dan__t> yea, that's what I Was going to say.
[2010/06/02 21:25:44] <chadh> raz: /etc/hosts? /etc/resolv.conf?
[2010/06/02 21:25:54] <raz> no, that domain name string does not exist anywhere on that host
[2010/06/02 21:26:07] @ Quit: bodepd: Remote host closed the connection
[2010/06/02 21:26:21] <raz> oh.. erm..
[2010/06/02 21:26:34] <raz> could it be that string was stored during my early puppet experiments before all the stuff was set correctly?
[2010/06/02 21:26:40] <raz> can i delete/recreate the factor db somehow?
[2010/06/02 21:26:49] @ bodepd joined channel #puppet
[2010/06/02 21:27:00] @ bodepd left channel #puppet ()
[2010/06/02 21:27:17] <raz> it looks suspiciously like the hostname puppet tried to use for the cert at first
[2010/06/02 21:27:19] <chadh> well, I don't think facter caches facts, but puppet has a copy in /var/lib/puppet
[2010/06/02 21:27:34] <chadh> you could try blow away the cert and re-sign
[2010/06/02 21:28:14] <raz> chadh: already done that, the host now has the proper hostname
[2010/06/02 21:28:20] <chadh> raz: ah
[2010/06/02 21:28:20] <raz> but on the host i see the bad name in: /var/lib/puppet/state/localconfig.yaml
[2010/06/02 21:28:26] <raz> can i just delete that?
[2010/06/02 21:28:51] <chadh> you can safely blow away stuff in /var/lib/puppet, and it will get recreated. If the cert stuff was a pain, you might not want to delete that ;-)
[2010/06/02 21:29:02] <raz> hmm
[2010/06/02 21:29:10] <raz> strangely... erm
[2010/06/02 21:29:43] <raz> that's what localconfig.yaml seems to think is the content of /etc/mailname
[2010/06/02 21:29:52] * raz is confused
[2010/06/02 21:30:11] <raz> ah well, lets blow localconfig.yaml and see
[2010/06/02 21:30:31] <raz> ah.. heh ok
[2010/06/02 21:30:32] <eric0> what factor version raz? this stuff changed recently
[2010/06/02 21:30:33] <raz> i get it
[2010/06/02 21:30:37] <eric0> its easy to follow along in the code
[2010/06/02 21:30:45] <raz> 1.5.1 on the node
[2010/06/02 21:31:09] <raz> localconfig.yaml was not the culprit, it's only storing what puppet put there because of that class i just added (the one that puts $fqdn)
[2010/06/02 21:31:43] <raz> but i think i found the problem on the puppetmaster
[2010/06/02 21:32:09] <raz> . /var/lib/puppet/yaml/node/foo.bar.yaml: fqdn: broken.brokendomain, domain: brokendomain
[2010/06/02 21:32:19] <raz> it has stored the broken values under the correct node name
[2010/06/02 21:33:17] <raz> how do i convince it to update that with the proper values? (i.e. what hostname -f says, what gethostname(), getdomainname() say, what everyone says!)
[2010/06/02 21:34:23] <raz> actually it may just use the node name for the fqdn
[2010/06/02 21:34:36] <chadh> raz: take a look at the output of facter
[2010/06/02 21:34:40] @ Quit: \ask: Remote host closed the connection
[2010/06/02 21:34:59] <raz> yea it returns the broken value
[2010/06/02 21:35:01] <chadh> if there is not a fact in there you can use, you will have to either make your own, or just provide one explicitly in the manifest
[2010/06/02 21:35:15] <chadh> raz: what about 'facter hostname'
[2010/06/02 21:35:30] <raz> facter hostname is correct
[2010/06/02 21:35:45] <raz> facter fqdn gives the correct hostname but appends a domain name that i have no idea where it comes from
[2010/06/02 21:35:51] <raz> that domain name is not mentioned anywhere in /etc
[2010/06/02 21:36:04] <raz> oh wait!
[2010/06/02 21:36:17] <raz> hmm
[2010/06/02 21:36:34] <raz> it was in /etc/resolv.conf (as "search"). just fixed that but facter fqdn still returns the broken domain.
[2010/06/02 21:37:02] <chadh> raz: is there a valid line in /etc/hosts?
[2010/06/02 21:37:04] <raz> grep -r brokendomain /etc/* now doesn't bring up anything
[2010/06/02 21:37:24] <raz> chadh: yes. as said, hostname -f gives the correct fqdn. dnsdomainname gives the correct domain.
[2010/06/02 21:37:37] <eric0> 'dnsdomainname' ?
[2010/06/02 21:37:44] <raz> might be a debian specific
[2010/06/02 21:37:47] <eric0> looks like facter executes that first
[2010/06/02 21:38:32] <chadh> raz: ok. just never seen anything like that. it does sound like some library is using reverse lookup
[2010/06/02 21:38:48] <raz> yea lookin at strace for facter right now
[2010/06/02 21:39:29] <eric0> it's very easy to read, seriously - look at your $RUBY_LIB/facter/hostname.rb and domain.rb
[2010/06/02 21:39:31] <chadh> have you looked /etc/host.conf? maybe debian has a different config that I am used to
[2010/06/02 21:39:46] <chadh> s/that/than/
[2010/06/02 21:40:08] <eric0> name = Socket.gethostbyname(Socket.gethostname).first
[2010/06/02 21:40:50] @ Schmidt joined channel #puppet
[2010/06/02 21:40:58] <raz> tee hee
[2010/06/02 21:41:00] <raz> BUG!
[2010/06/02 21:41:16] <raz> when i said i fixed /etc/resolv.conf then i just commented it out
[2010/06/02 21:41:19] <raz> seems facter doesn't care about comments
[2010/06/02 21:41:25] <raz> it parsed: #search broken.stuff
[2010/06/02 21:41:29] <raz> and used that as the domain :P
[2010/06/02 21:41:51] <eric0> hah, yep.
[2010/06/02 21:42:12] <raz> eww
[2010/06/02 21:42:18] <raz> also the call to dnsdomainname looks wrong
[2010/06/02 21:42:25] <raz> if domain and domain =~ /.+\..+/
[2010/06/02 21:42:34] <raz> my domain does not contain a dot, that's why it's not using the value from 'dnsdomainname'
[2010/06/02 21:42:46] <raz> nice chain of bugs
[2010/06/02 21:42:51] @ herdingcat joined channel #puppet
[2010/06/02 21:42:52] <raz> that way it falls all the way through to resolv.conf .. and fails again ;)
[2010/06/02 21:43:36] <raz> can't ruby do a call to plain old getdomainname()?
[2010/06/02 21:43:50] @ bob2 left channel #puppet ()
[2010/06/02 21:43:54] <raz> some time way in the past, some ancient greybeard probably made it precisely for this purpose ;)
[2010/06/02 21:47:42] <raz> anyways, thanks very much for your help guys
[2010/06/02 21:47:48] <raz> i think i'll make it from here on my own
[2010/06/02 21:51:44] @ Quit: gmcquillan: Quit: gmcquillan
[2010/06/02 21:56:08] @ MPSimmons joined channel #puppet
[2010/06/02 21:59:23] @ bug joined channel #puppet
[2010/06/02 22:03:48] @ ahuman joined channel #puppet
[2010/06/02 22:05:33] @ weizhang joined channel #puppet
[2010/06/02 22:08:00] @ alexine_dsouza joined channel #puppet
[2010/06/02 22:08:35] @ Quit: Bass10: Quit: Leaving
[2010/06/02 22:10:50] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/02 22:17:05] @ morphic joined channel #puppet
[2010/06/02 22:18:18] @ tuvyz joined channel #puppet
[2010/06/02 22:20:05] @ Quit: tuv: Ping timeout: 240 seconds
[2010/06/02 22:25:31] @ Quit: weizhang: Quit: Leaving
[2010/06/02 22:26:43] @ Quit: cbuckley: *.net *.split
[2010/06/02 22:26:43] @ Quit: genericfinch: *.net *.split
[2010/06/02 22:26:44] @ Quit: carlasouza: *.net *.split
[2010/06/02 22:26:44] @ Quit: nahamu: *.net *.split
[2010/06/02 22:26:44] @ Quit: dbruce: *.net *.split
[2010/06/02 22:26:44] @ Quit: erm: *.net *.split
[2010/06/02 22:26:44] @ Quit: deadbum: *.net *.split
[2010/06/02 22:26:45] @ Quit: jds2001: *.net *.split
[2010/06/02 22:26:45] @ Quit: sektoid: *.net *.split
[2010/06/02 22:26:45] @ Quit: wakko666: *.net *.split
[2010/06/02 22:26:45] @ Quit: jbooth: *.net *.split
[2010/06/02 22:26:45] @ Quit: Groenleer: *.net *.split
[2010/06/02 22:29:07] @ genericfinch joined channel #puppet
[2010/06/02 22:29:07] @ cbuckley joined channel #puppet
[2010/06/02 22:29:07] @ carlasouza joined channel #puppet
[2010/06/02 22:29:07] @ nahamu joined channel #puppet
[2010/06/02 22:29:07] @ dbruce joined channel #puppet
[2010/06/02 22:29:07] @ erm joined channel #puppet
[2010/06/02 22:29:07] @ deadbum joined channel #puppet
[2010/06/02 22:29:07] @ jds2001 joined channel #puppet
[2010/06/02 22:29:07] @ sektoid joined channel #puppet
[2010/06/02 22:29:07] @ wakko666 joined channel #puppet
[2010/06/02 22:29:07] @ jbooth joined channel #puppet
[2010/06/02 22:29:07] @ Groenleer joined channel #puppet
[2010/06/02 22:38:22] <pixie79> hi is there anyone here who can look over my ruby script and give some advise, i have tried #ruby but got no replies. I am making a script which will be called via puppet. It currently is supposed to fetch a tar.gz file from a https download server with basic auth. It seems to be doing that part correctly but when i ungzip the file i get an error unexpected end of file. I am guessing this is due to the way i am writing the file to the server, so if anyone
[2010/06/02 22:38:22] <pixie79> have a better way to do it please let me know. http://pastebin.com/nPXtvS7T
[2010/06/02 22:46:50] <ohadlevy> pixie79: looks ok
[2010/06/02 22:48:01] <pixie79> ohadlevy: thanks, just seems to be grabbing me a duff gz file
[2010/06/02 22:48:38] <emag> does plain jane gunzip complain about the file?
[2010/06/02 22:49:57] <pixie79> emag: yep
[2010/06/02 22:51:05] <emag> yeah, that's what i'd suspect is the problem.
[2010/06/02 22:51:46] <pixie79> emag: whats that? if i download the file via wget and gunzip all is ok
[2010/06/02 22:52:51] <pixie79> its as if it is not closing the file correctly, if i tar ztvf i can see it looks like all the files are there
[2010/06/02 22:52:51] @ Quit: pheezy: Remote host closed the connection
[2010/06/02 22:54:28] @ Quit: 5EXAAW0YL: Remote host closed the connection
[2010/06/02 22:56:23] @ rmiller4pi8 joined channel #puppet
[2010/06/02 22:59:12] @ rmiller4pi81 joined channel #puppet
[2010/06/02 22:59:13] @ Quit: rmiller4pi8: Read error: Connection reset by peer
[2010/06/02 23:03:43] <emag> pixie79: oh, nm. misunderstood the response
[2010/06/02 23:05:09] @ Quit: tyler79: Read error: Connection reset by peer
[2010/06/02 23:06:20] @ Quit: Brian__: Ping timeout: 252 seconds
[2010/06/02 23:06:47] @ Quit: Lunar_Lamp: Ping timeout: 245 seconds
[2010/06/02 23:07:43] @ Lunar_Lamp joined channel #puppet
[2010/06/02 23:07:43] @ Quit: Lunar_Lamp: Changing host
[2010/06/02 23:07:43] @ Lunar_Lamp joined channel #puppet
[2010/06/02 23:10:02] @ carla joined channel #puppet
[2010/06/02 23:14:00] @ lak joined channel #puppet
[2010/06/02 23:14:53] @ pheezy joined channel #puppet
[2010/06/02 23:16:23] @ Quit: lak: Client Quit
[2010/06/02 23:19:30] @ \ask joined channel #puppet
[2010/06/02 23:21:42] <pixie79> ohadlevy: emag for you information i needed to use syswrite rather than puts as puts was adding extra chars thus corrupting the file
[2010/06/02 23:22:57] <ohadlevy> pixie79: ok - I didnt look that carefully :)
[2010/06/02 23:23:06] <pixie79> :)
[2010/06/02 23:23:09] <emag> oooh, yeah, that would probably do it
[2010/06/02 23:28:24] @ pinoyskull joined channel #puppet
[2010/06/02 23:32:04] @ Quit: pheezy: Remote host closed the connection
[2010/06/02 23:33:38] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2010/06/02 23:33:52] @ Quit: pinoyskull: Ping timeout: 245 seconds
[2010/06/02 23:41:13] @ Quit: notbrien: Quit: notbrien
[2010/06/02 23:44:25] @ Quit: pting: Quit: Ex-Chat
[2010/06/02 23:52:45] @ pinoyskull joined channel #puppet
[2010/06/02 23:53:40] @ bodepd joined channel #puppet
[2010/06/02 23:54:33] @ sebas891 joined channel #puppet

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