| [2009/06/02 00:01:28] @ Log started by gepetto | ||
| [2009/06/02 00:01:28] <jason^> i'm lame and i create a sudoers file per machine | ||
| [2009/06/02 00:01:47] <jason^> i always forget that i can put the hostname thing in the sudoers file | ||
| [2009/06/02 00:10:13] <imeyer> yeah the only reason i didn't do that is my last place we went from 300 hosts to 7000 real quickly, and nevermind how unmanageable the host alias would've become | ||
| [2009/06/02 00:10:47] <imeyer> i got used to being dynamic with everything | ||
| [2009/06/02 00:12:38] @ alex2 joined channel #puppet | ||
| [2009/06/02 00:14:04] @ Quit: CaptainCupcake__: Read error: 60 (Operation timed out) | ||
| [2009/06/02 00:25:59] @ Quit: alagoon: | ||
| [2009/06/02 00:26:33] @ alagoon joined channel #puppet | ||
| [2009/06/02 00:28:22] @ Quit: alagoon: Client Quit | ||
| [2009/06/02 00:31:28] @ Quit: _nono_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:29] @ Quit: alex2: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:29] @ Quit: claymation_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:30] @ Quit: andrewcshafer: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:30] @ Quit: joe-mac: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:31] @ Quit: mattyafk: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:31] @ Quit: d3vilb0x: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:32] @ Quit: zipkid: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:32] @ Quit: pugnacity: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:33] @ Quit: BMDan: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:33] @ Quit: bartvb: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:34] @ Quit: Superfly_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:34] @ Quit: chadh: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:34] @ Quit: FiXion: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:35] @ Quit: hacim: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 00:31:58] @ alex2 joined channel #puppet | ||
| [2009/06/02 00:32:09] @ BMDan joined channel #puppet | ||
| [2009/06/02 00:34:41] @ schwagala joined channel #puppet | ||
| [2009/06/02 00:35:22] @ hacim joined channel #puppet | ||
| [2009/06/02 00:35:35] @ bartvb joined channel #puppet | ||
| [2009/06/02 00:35:47] @ Quit: schwagal1: Read error: 60 (Operation timed out) | ||
| [2009/06/02 00:37:24] @ claymation_ joined channel #puppet | ||
| [2009/06/02 00:37:24] @ andrewcshafer joined channel #puppet | ||
| [2009/06/02 00:37:25] @ joe-mac joined channel #puppet | ||
| [2009/06/02 00:37:25] @ mattyafk joined channel #puppet | ||
| [2009/06/02 00:37:25] @ d3vilb0x joined channel #puppet | ||
| [2009/06/02 00:37:25] @ _nono_ joined channel #puppet | ||
| [2009/06/02 00:37:25] @ zipkid joined channel #puppet | ||
| [2009/06/02 00:37:25] @ pugnacity joined channel #puppet | ||
| [2009/06/02 00:37:25] @ FiXion joined channel #puppet | ||
| [2009/06/02 00:37:25] @ Superfly_ joined channel #puppet | ||
| [2009/06/02 00:37:25] @ chadh joined channel #puppet | ||
| [2009/06/02 00:37:27] @ zipkid_ joined channel #puppet | ||
| [2009/06/02 00:38:13] @ Quit: FiXion: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 00:41:38] @ schwagal1 joined channel #puppet | ||
| [2009/06/02 00:41:40] @ Quit: schwagala: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 00:43:22] @ FiXion joined channel #puppet | ||
| [2009/06/02 00:43:36] @ chadh_ joined channel #puppet | ||
| [2009/06/02 00:48:33] @ Quit: zipkid: Connection timed out | ||
| [2009/06/02 00:49:25] @ Quit: chadh: Read error: 113 (No route to host) | ||
| [2009/06/02 00:50:16] @ QMan joined channel #puppet | ||
| [2009/06/02 00:54:51] @ Quit: QMan: | ||
| [2009/06/02 00:55:50] @ QMan joined channel #puppet | ||
| [2009/06/02 01:04:16] @ Quit: d3vilb0x: | ||
| [2009/06/02 01:12:54] @ jmarki joined channel #puppet | ||
| [2009/06/02 01:13:28] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/02 01:30:05] @ Quit: pugnacity: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 01:31:23] @ pugnacity joined channel #puppet | ||
| [2009/06/02 01:35:21] @ Quit: d33d: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 01:36:25] @ Quit: jmarki: Remote closed the connection | ||
| [2009/06/02 01:37:45] @ Quit: claymation_: | ||
| [2009/06/02 01:43:17] @ Quit: andrewcshafer: | ||
| [2009/06/02 01:46:55] <FiXion> mornings (in CEST land :) | ||
| [2009/06/02 01:49:31] @ konnertz joined channel #puppet | ||
| [2009/06/02 01:51:41] @ andrewcshafer joined channel #puppet | ||
| [2009/06/02 01:51:52] <konnertz> hi | ||
| [2009/06/02 01:52:09] @ mfournier joined channel #puppet | ||
| [2009/06/02 01:52:13] <konnertz> where can i define how often a file (ie) is checked pls? | ||
| [2009/06/02 01:52:33] <konnertz> the puppet hp and docs are not avail. atm | ||
| [2009/06/02 01:53:15] <Djelibeybi> konnertz: a file is checked every time Puppet runs, i.e. every 30 minutes. | ||
| [2009/06/02 01:53:21] <Djelibeybi> konnertz: you can change it with the Schedule type | ||
| [2009/06/02 01:53:23] <f3ew> konnertz once per puppetd run, which is approximately once every 30 minutes | ||
| [2009/06/02 01:53:46] <Djelibeybi> wiki:TypeReference | ||
| [2009/06/02 01:54:34] <gepetto> Djelibeybi: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/06/02 01:54:34] <konnertz> everytime the client puppetd runs? | ||
| [2009/06/02 01:54:34] <Djelibeybi> konnertz: yup | ||
| [2009/06/02 01:54:34] <konnertz> ok. And all files are checked, i cant set different schedules? | ||
| [2009/06/02 01:54:34] <konnertz> because: | ||
| [2009/06/02 01:54:34] <Djelibeybi> konnertz: you can, using the Schedule type | ||
| [2009/06/02 01:54:44] <konnertz> I would like to exclude /etc/hosts from checks | ||
| [2009/06/02 01:54:57] <Djelibeybi> konnertz: http://reductivelabs.com/trac/puppet/wiki/TypeReference#schedule | ||
| [2009/06/02 01:58:54] @ Quit: omry: Remote closed the connection | ||
| [2009/06/02 02:13:04] @ DavidS joined channel #puppet | ||
| [2009/06/02 02:15:46] @ madrescher joined channel #puppet | ||
| [2009/06/02 02:15:49] @ geoffr joined channel #puppet | ||
| [2009/06/02 02:16:39] @ Quit: notbrien: | ||
| [2009/06/02 02:22:02] @ Quit: andrewcshafer: | ||
| [2009/06/02 02:24:52] <konnertz> hm to schedule a module on only one host - is that possible? | ||
| [2009/06/02 02:25:10] <konnertz> cant find out as far as i have read the reference up to now | ||
| [2009/06/02 02:26:23] <FiXion> konnertz: I have seen on occasion, that puppet "forgets" to update the files that comprise the "rules" it follows on a client | ||
| [2009/06/02 02:26:49] <FiXion> konnertz: I usually run puppetd -t again - this is with 0.28 | ||
| [2009/06/02 02:26:50] <Djelibeybi> konnertz: if $fqdn == "host.domain.com" { schedule { "name": } } | ||
| [2009/06/02 02:27:08] <Djelibeybi> Might want an else in there, to create a default schedule. | ||
| [2009/06/02 02:28:09] <konnertz> i see, thanks. | ||
| [2009/06/02 02:28:41] <konnertz> but just talked to out puppet guru here and he says i should disable puppet on my workstation | ||
| [2009/06/02 02:29:05] <konnertz> makes more sense than write an own class for my box :) | ||
| [2009/06/02 02:29:29] <konnertz> remember it's just for a few entries in /etc/hosts | ||
| [2009/06/02 02:29:59] <Djelibeybi> konnertz: yeah, that works too. :) | ||
| [2009/06/02 02:30:12] <Djelibeybi> konnertz: or just chattr +i your /etc/hosts, so puppet can't change it. :) | ||
| [2009/06/02 02:31:01] <konnertz> he not bad :) | ||
| [2009/06/02 02:33:43] @ saurabhverma joined channel #puppet | ||
| [2009/06/02 02:35:53] @ mattock joined channel #puppet | ||
| [2009/06/02 02:37:28] <FiXion> konnertz: chattr +i gives you puppet complains though - so it should IMHO only be a extra safety measure :) | ||
| [2009/06/02 02:50:30] <nico> hi | ||
| [2009/06/02 02:53:38] <konnertz> thx,bye and have a nice day! | ||
| [2009/06/02 02:53:49] @ konnertz left channel #puppet ("Verlassend") | ||
| [2009/06/02 02:54:35] @ CaptainCupcake joined channel #puppet | ||
| [2009/06/02 03:08:32] @ Quit: poison_: Remote closed the connection | ||
| [2009/06/02 03:08:56] @ Quit: madrescher: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 03:08:59] @ madrescher joined channel #puppet | ||
| [2009/06/02 03:11:18] @ pleemans joined channel #puppet | ||
| [2009/06/02 03:11:56] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/06/02 03:13:24] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/06/02 03:16:06] <geoffr> Hi Volcane, you in? First want to thank you for extlookup.rb its been extremely helpful :) | ||
| [2009/06/02 03:16:11] @ Quit: QMan: | ||
| [2009/06/02 03:17:17] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/06/02 03:17:45] @ zipkid_ is now known as zipkid | ||
| [2009/06/02 03:22:18] @ Quit: madrescher: "Leaving." | ||
| [2009/06/02 03:24:17] @ DerekW joined channel #puppet | ||
| [2009/06/02 03:26:49] @ Quit: mattyafk: | ||
| [2009/06/02 03:28:50] @ Innocenti joined channel #puppet | ||
| [2009/06/02 03:33:32] @ poison joined channel #puppet | ||
| [2009/06/02 03:38:02] @ kolla joined channel #puppet | ||
| [2009/06/02 03:42:35] <geoffr> does anyone perhaps have an example (if possible) of a class file do iteration loops on an array? | ||
| [2009/06/02 03:44:18] @ francois joined channel #puppet | ||
| [2009/06/02 03:49:41] @ Robbie joined channel #puppet | ||
| [2009/06/02 03:52:52] @ MattyM joined channel #puppet | ||
| [2009/06/02 04:05:03] <DavidS> geoffr: file { [ 'val1', 'val2' ]: ... } | ||
| [2009/06/02 04:05:07] <DavidS> or what? | ||
| [2009/06/02 04:05:40] @ zeroXten joined channel #puppet | ||
| [2009/06/02 04:06:25] @ briandquinn joined channel #puppet | ||
| [2009/06/02 04:08:08] <geoffr> DavidS: that's it thanks :) | ||
| [2009/06/02 04:08:16] @ Quit: geoffr: Remote closed the connection | ||
| [2009/06/02 04:23:40] @ bigon joined channel #puppet | ||
| [2009/06/02 04:24:16] <bigon> hi | ||
| [2009/06/02 04:24:52] <bigon> I've a ressource defined like that yumrepo { foo: enabled => 1 } and I get err: //yum/Yumrepo[spacechecker]/enabled: change from absent to 1 failed: can't convert Hash into String | ||
| [2009/06/02 04:25:06] <bigon> s/spacechecker/goo | ||
| [2009/06/02 04:25:11] <bigon> foo :/ | ||
| [2009/06/02 04:27:04] @ DavidS1 joined channel #puppet | ||
| [2009/06/02 04:27:35] @ Quit: DavidS: Nick collision from services. | ||
| [2009/06/02 04:27:39] @ DavidS1 is now known as DavidS | ||
| [2009/06/02 04:28:01] <DavidS> bigon: does enabled=>true work? | ||
| [2009/06/02 04:30:39] <bigon> Parameter enabled failed: Invalid 'enabled' value true. Valid values are absent. Valid values match (?-mix:(0|1)). | ||
| [2009/06/02 04:30:48] <bigon> nop :( | ||
| [2009/06/02 04:31:08] <DavidS> wtf? | ||
| [2009/06/02 04:31:09] <Volcane> try specifying all the things a repo actually need in addition | ||
| [2009/06/02 04:31:46] <bigon> already tried that | ||
| [2009/06/02 04:40:34] <DavidS> bigon: please pastie the output with --trace specified | ||
| [2009/06/02 04:40:41] <DavidS> and which version you are using | ||
| [2009/06/02 04:41:37] <bigon> DavidS: mmm it works now actually I only get that (scary) message with --noop | ||
| [2009/06/02 04:42:44] @ Quit: pleemans: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 04:46:19] @ pleemans joined channel #puppet | ||
| [2009/06/02 04:47:13] @ sts joined channel #puppet | ||
| [2009/06/02 04:53:24] @ Quit: _nono_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:25] @ Quit: DerekW: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:25] @ Quit: CaptainCupcake: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:26] @ Quit: chadh_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:26] @ Quit: FiXion: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:26] @ Quit: zipkid: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:27] @ Quit: Superfly_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:53:27] @ Quit: joe-mac: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 04:54:09] @ lazzurs_ is now known as lazzurs | ||
| [2009/06/02 04:54:17] @ DerekW joined channel #puppet | ||
| [2009/06/02 04:54:18] @ CaptainCupcake joined channel #puppet | ||
| [2009/06/02 04:54:18] @ chadh_ joined channel #puppet | ||
| [2009/06/02 04:54:18] @ FiXion joined channel #puppet | ||
| [2009/06/02 04:54:18] @ zipkid joined channel #puppet | ||
| [2009/06/02 04:54:18] @ joe-mac joined channel #puppet | ||
| [2009/06/02 04:54:18] @ _nono_ joined channel #puppet | ||
| [2009/06/02 04:54:18] @ Superfly_ joined channel #puppet | ||
| [2009/06/02 04:56:58] <sts> hello folks! i've a question regarding the structure of my manifests/modules. i wrote a module with defines some services, which in turn has dependencies on file resources. | ||
| [2009/06/02 04:57:03] <sts> hen i want to use this module for my infrastructure i thought it would be nice to overwrite the sources of the files in a way, so i can keep a default configuratio | ||
| [2009/06/02 04:57:07] <sts> n with the module but i'm as well able to add other sources for specific nodes. | ||
| [2009/06/02 04:57:12] <sts> ups | ||
| [2009/06/02 05:02:03] @ fbe_ joined channel #puppet | ||
| [2009/06/02 05:02:34] @ geoffr joined channel #puppet | ||
| [2009/06/02 05:03:48] <DavidS> sts: yes, quite reasonable use case | ||
| [2009/06/02 05:04:11] @ Quit: fbe: Read error: 60 (Operation timed out) | ||
| [2009/06/02 05:04:44] <DavidS> one possibility is to say source => [ "puppet:///files/$fqdn/some.conf", "puppet:///myModule/some.conf" ] | ||
| [2009/06/02 05:08:26] <sts> DavidS: ah, alright so i'll just specify multiple sources. :-) | ||
| [2009/06/02 05:09:46] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/06/02 05:13:52] @ Quit: docelic: "http://www.spinlocksolutions.com/" | ||
| [2009/06/02 05:14:13] <nico> sts: I personnaly use fqdn to compose the name of the 1st argument | ||
| [2009/06/02 05:15:46] <nico> http://www.rottenbytes.info/?p=56 (in french, sorry) | ||
| [2009/06/02 05:17:27] <sts> nico: would this as well be possible for a group of hosts? like "files/nfsservers/config.cfg"? | ||
| [2009/06/02 05:18:31] <DavidS> sts: you "just" need a common identifying thing you can put into your $source | ||
| [2009/06/02 05:18:41] <nico> yes | ||
| [2009/06/02 05:31:54] @ niczar1 joined channel #puppet | ||
| [2009/06/02 05:33:01] <jamesturnbull> gepetto: seen nasrat | ||
| [2009/06/02 05:33:01] <gepetto> jamesturnbull: nasrat was last seen 16 hours, 20 minutes and 22 seconds ago, quitting IRC ("Ex-Chat") | ||
| [2009/06/02 05:37:05] @ alban2 joined channel #puppet | ||
| [2009/06/02 05:44:06] @ verwilst joined channel #puppet | ||
| [2009/06/02 05:44:32] @ nasrat joined channel #puppet | ||
| [2009/06/02 05:44:41] <verwilst> anyone here has a puppet reporting module that just sends all output to an external script? :) | ||
| [2009/06/02 05:45:36] @ aymerick joined channel #puppet | ||
| [2009/06/02 05:45:40] @ monzie joined channel #puppet | ||
| [2009/06/02 05:48:56] @ veritas_aequitas joined channel #puppet | ||
| [2009/06/02 05:55:35] @ glaw joined channel #puppet | ||
| [2009/06/02 05:55:47] * nico needs to write a script that takes input of reports and generate stats | ||
| [2009/06/02 05:57:24] <nico> but ETOOFEWTIME | ||
| [2009/06/02 05:57:37] <nico> my todo list keeps growing :/ | ||
| [2009/06/02 06:02:03] <DavidS> nico: I've got a few munin plugins which get count of resources, count of resources by host and last config time from the storedconfigs db | ||
| [2009/06/02 06:03:12] <DavidS> what would you need? | ||
| [2009/06/02 06:04:56] <nico> I don't use storedconfigs | ||
| [2009/06/02 06:05:24] <DavidS> too bad :) | ||
| [2009/06/02 06:05:24] <nico> I need to see how long my manifests take to run, if changes occur | ||
| [2009/06/02 06:05:34] <nico> It's in the todo :) | ||
| [2009/06/02 06:07:55] <DavidS> apply time or how long the canges need to hit your servers? | ||
| [2009/06/02 06:09:11] <nico> apply time | ||
| [2009/06/02 06:09:12] @ HarryCalahan joined channel #puppet | ||
| [2009/06/02 06:09:18] <nico> how long is 30 minutes | ||
| [2009/06/02 06:09:43] <DavidS> oh, yeah, not having storedconfigs makes that easier | ||
| [2009/06/02 06:10:22] <nico> time for eating, bbl | ||
| [2009/06/02 06:10:37] <nico> (I still need to see what storedconfig would improve here) | ||
| [2009/06/02 06:12:45] <ohadlevy> nico: i did a long time ago a simple puppemtaster munin module | ||
| [2009/06/02 06:12:54] <ohadlevy> counts client avg compile time stuff like that | ||
| [2009/06/02 06:13:17] <ohadlevy> verwlst: yes something like that | ||
| [2009/06/02 06:14:23] <DavidS> ohadlevy: cool, would you mind sharing that? I'd love to not have to implement that myself :) | ||
| [2009/06/02 06:14:31] <DavidS> I could publish it on my repo | ||
| [2009/06/02 06:14:36] <ohadlevy> its in the munin plugins page | ||
| [2009/06/02 06:15:02] <ohadlevy> but I'm really planning to rewrite it with collectd | ||
| [2009/06/02 06:15:12] <ohadlevy> probably the tail plugin | ||
| [2009/06/02 06:15:19] <ohadlevy> i had enough of munin | ||
| [2009/06/02 06:15:19] <ohadlevy> ;) | ||
| [2009/06/02 06:16:10] <ohadlevy> anyway, gotta go cya l8r | ||
| [2009/06/02 06:16:20] @ ohadlevy left channel #puppet () | ||
| [2009/06/02 06:20:42] @ d3vilb0x joined channel #puppet | ||
| [2009/06/02 06:29:33] @ pleemans joined channel #puppet | ||
| [2009/06/02 06:29:35] @ MarlondB joined channel #puppet | ||
| [2009/06/02 06:30:26] @ Quit: Cope: Read error: 110 (Connection timed out) | ||
| [2009/06/02 06:37:45] <geoffr> hi all, is there a way to make "ensure" try to install a specific version of a package and if that version invalid fail? | ||
| [2009/06/02 06:38:44] <Volcane> ensure => 1.2.3 | ||
| [2009/06/02 06:39:50] <geoffr> mm then I must be doing something wrong, thought I was doing that. will check it out thanks :) | ||
| [2009/06/02 06:40:04] @ Quit: monzie: | ||
| [2009/06/02 06:42:40] @ Quit: garin_: Read error: 60 (Operation timed out) | ||
| [2009/06/02 06:48:51] @ Hikah joined channel #puppet | ||
| [2009/06/02 06:53:11] @ mvn072 joined channel #puppet | ||
| [2009/06/02 06:55:32] <Volcane> geoffr: is sheldon hearn working with you? | ||
| [2009/06/02 06:55:46] @ Quit: drmikecrowe: Read error: 110 (Connection timed out) | ||
| [2009/06/02 06:56:28] <geoffr> yep | ||
| [2009/06/02 06:56:35] <Volcane> get him on irc :P) | ||
| [2009/06/02 06:57:10] <geoffr> told him (sits next to me) | ||
| [2009/06/02 06:57:34] <Volcane> :) | ||
| [2009/06/02 06:58:10] @ yure joined channel #puppet | ||
| [2009/06/02 06:58:22] @ sheldonh joined channel #puppet | ||
| [2009/06/02 06:58:30] <Volcane> sheldonh :) | ||
| [2009/06/02 06:58:31] <sheldonh> my liege? ;) | ||
| [2009/06/02 06:58:37] <Volcane> hows tricks | ||
| [2009/06/02 06:58:46] <sheldonh> could be a lot worse, man :) | ||
| [2009/06/02 06:58:59] <Volcane> why are you ignoring my emails you b'tard :) | ||
| [2009/06/02 06:59:15] <sheldonh> oh no no, not ignoring. queuing ;) | ||
| [2009/06/02 06:59:19] <Volcane> hehe | ||
| [2009/06/02 06:59:25] <sheldonh> i blame eve online | ||
| [2009/06/02 06:59:30] <Volcane> lol | ||
| [2009/06/02 06:59:48] <sheldonh> so what bum job did you end up with where you need puppet? :) | ||
| [2009/06/02 07:00:14] <Volcane> heh, i do all sorts of consulting and stuff | ||
| [2009/06/02 07:00:33] <sheldonh> i've landed at a php web hosting company. fortunately, i don't actually have to know much about php beyond that it chugs | ||
| [2009/06/02 07:00:47] <Volcane> but hetzner doesnt do just php though? | ||
| [2009/06/02 07:00:53] <Volcane> I've many machines at the de lot | ||
| [2009/06/02 07:01:26] <sheldonh> eek, protect the names of the innocent :P | ||
| [2009/06/02 07:01:33] <Volcane> haha | ||
| [2009/06/02 07:01:44] <Volcane> ok :) | ||
| [2009/06/02 07:02:08] <sheldonh> $WORK only seriously offers php, when it comes to managed hosting. if you manage it yourself, you can pretty much do what you like | ||
| [2009/06/02 07:02:19] <Volcane> ah | ||
| [2009/06/02 07:02:48] <Volcane> yeah so i have some kewl ideas for a web based puppet node manageent tool if you have willing php coders :P | ||
| [2009/06/02 07:06:42] <Volcane> sheldonh: ancient pastie by someone here, custom report handler to put reports into a db | ||
| [2009/06/02 07:06:44] <Volcane> http://pastie.org/215292 | ||
| [2009/06/02 07:08:04] <Volcane> well thats just the logs it seems, but it would be trivial to write a nice report parser that feeds a db with all the metrics and whatnots | ||
| [2009/06/02 07:09:52] <sheldonh> cool, doesn't look too hard to define your own reporters then. good, because a cronjob processing over a thousand reports every time ain't gonna fly :) | ||
| [2009/06/02 07:10:03] <Volcane> yeah for sure | ||
| [2009/06/02 07:10:26] <Volcane> you can push out your report parser with normal pluginsync too | ||
| [2009/06/02 07:11:40] <sheldonh> wow. you don't often see ruby code creating tables with no surrogate key :) | ||
| [2009/06/02 07:12:25] <geoffr> is there a name for the current iteration of an array in a class? e.g. { $packagelist: ensure => <version of current package> } | ||
| [2009/06/02 07:12:44] <Volcane> geoffr: thats what defines are for | ||
| [2009/06/02 07:12:52] <Volcane> oh i see | ||
| [2009/06/02 07:13:27] <Volcane> erm, no there isnt, if you put it in a define $name will be the name of the current instance so that oculd help? | ||
| [2009/06/02 07:14:53] <geoffr> looks like it would... now if only I knew how to do that :-P time for some more reading | ||
| [2009/06/02 07:15:14] <sheldonh> Volcane: whole team's new to puppet :) | ||
| [2009/06/02 07:15:32] <Volcane> sheldonh: I'll be popping into cape town soon, glad to come train :P | ||
| [2009/06/02 07:15:32] <sheldonh> Volcane: and i'm the only one with ruby experience. so it's fun :) | ||
| [2009/06/02 07:15:47] <sheldonh> Volcane: not a bad idea, actually | ||
| [2009/06/02 07:15:57] <Volcane> heh I'll shout when i have details | ||
| [2009/06/02 07:16:17] <Volcane> not sure if I'll come or not, I'm not a fan of doing down there so might not | ||
| [2009/06/02 07:16:26] * f3ew should visit .za | ||
| [2009/06/02 07:17:03] <sheldonh> Volcane: the more notice, the better. we're working in 3 week sprints and pack them pretty tightly | ||
| [2009/06/02 07:17:14] <Volcane> ok | ||
| [2009/06/02 07:17:22] @ phips joined channel #puppet | ||
| [2009/06/02 07:17:43] <f3ew> I wonder if I can afford it | ||
| [2009/06/02 07:19:33] <sheldonh> aw, puppet doesn't put cron jobs in /etc/cron.d? that's a pity | ||
| [2009/06/02 07:19:40] <Volcane> user crontabs | ||
| [2009/06/02 07:19:42] <sheldonh> i'm not a fan of user crontabs | ||
| [2009/06/02 07:19:46] <Volcane> yeah ditto | ||
| [2009/06/02 07:20:00] <sheldonh> must submit a patch some time ;) | ||
| [2009/06/02 07:20:04] <Volcane> and its not great about doing things like changing the user of a crontab | ||
| [2009/06/02 07:20:13] <Volcane> if you change teh user, it will leave the old cron job around | ||
| [2009/06/02 07:20:24] <sheldonh> can't be any worse than cfengine | ||
| [2009/06/02 07:20:29] <Volcane> heh | ||
| [2009/06/02 07:25:03] <sheldonh> so Puppet::Transaction::Report#logs is what gets serialized to $libdir/reports/client/*.yml? | ||
| [2009/06/02 07:25:24] <Volcane> hmm, does that include the metrics and all? | ||
| [2009/06/02 07:25:32] <sheldonh> yup | ||
| [2009/06/02 07:25:48] <sheldonh> well, the metrics are in the yaml files. i was asking where the yaml files come from :) | ||
| [2009/06/02 07:25:54] <sheldonh> should have just asked like that! lol | ||
| [2009/06/02 07:26:02] <Volcane> Puppet::Transaction::Report ? | ||
| [2009/06/02 07:26:02] <sheldonh> but you know how i like the long way around | ||
| [2009/06/02 07:26:24] <Volcane> which has Puppet::Util::Metric | ||
| [2009/06/02 07:26:53] <sheldonh> doh. as evidenced quite clearly in the yaml. izaretard :) | ||
| [2009/06/02 07:26:59] <Volcane> indeed :) | ||
| [2009/06/02 07:27:17] @ Quit: HarryCalahan: "." | ||
| [2009/06/02 07:29:03] @ Quit: maxagaz: "Leaving" | ||
| [2009/06/02 07:29:33] <sheldonh> hmmmm, how far am i going to go with modelling these reports... :) | ||
| [2009/06/02 07:29:45] @ nakano_ is now known as nakano | ||
| [2009/06/02 07:31:42] <Volcane> would be good to have a db reporter in puppet proper | ||
| [2009/06/02 07:31:50] <Volcane> maybe for 0.25.x make it use the queueing system too | ||
| [2009/06/02 07:33:03] @ Quit: glaw: Remote closed the connection | ||
| [2009/06/02 07:33:17] @ alban3 joined channel #puppet | ||
| [2009/06/02 07:34:47] @ Quit: alban2: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 07:39:22] @ friendly12345 joined channel #puppet | ||
| [2009/06/02 07:39:27] @ Quit: friendly12345: Remote closed the connection | ||
| [2009/06/02 07:40:03] <DavidS> I just did a little ruby snippet that puts the metrics in munin format onto the fs, now I just need another little snippet to be called by munin to read those values | ||
| [2009/06/02 07:41:03] <Volcane> nice | ||
| [2009/06/02 07:43:12] <DavidS> the ugly thing is choosing between by-host and by-metric graphing. I guess I'd prefer by-metric graphing | ||
| [2009/06/02 07:43:17] <DavidS> opinions? | ||
| [2009/06/02 07:43:35] <Volcane> puppet already does per host | ||
| [2009/06/02 07:43:48] <DavidS> not in munin | ||
| [2009/06/02 07:43:51] <Volcane> sure | ||
| [2009/06/02 07:44:00] <sheldonh> volcane: okay, so then i should go all the way | ||
| [2009/06/02 07:44:02] <DavidS> and it needs that ugly rrd library, no? | ||
| [2009/06/02 07:44:12] <Volcane> my hosts are very different, so per host would be most useful | ||
| [2009/06/02 07:44:41] <DavidS> well, per-host is easy, anyways... I'll do both, then :) | ||
| [2009/06/02 07:46:14] @ Quit: d3vilb0x: | ||
| [2009/06/02 07:49:26] @ Quit: alex2: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 07:49:46] @ alex2 joined channel #puppet | ||
| [2009/06/02 07:50:10] @ gaveen joined channel #puppet | ||
| [2009/06/02 07:51:12] * Volcane goes to lunch | ||
| [2009/06/02 08:05:13] @ nakano is now known as nakano_ | ||
| [2009/06/02 08:07:36] @ Quit: Dyresen: Remote closed the connection | ||
| [2009/06/02 08:10:37] @ nakano_ is now known as nakano | ||
| [2009/06/02 08:10:45] <nico> hum | ||
| [2009/06/02 08:11:14] <nico> first signing of a certificate through nginx seems quite problematic no ? | ||
| [2009/06/02 08:15:30] <nico> the wiki:UsingMongrelNginx says "* You will need to add --ca_port 8141 to your first puppetd run in order to have the puppetmaster sign your certificate" | ||
| [2009/06/02 08:15:31] <gepetto> nico: wiki:UsingMongrelNginx is http://reductivelabs.com/trac/puppet/wiki/UsingMongrelNginx | ||
| [2009/06/02 08:16:05] @ shellac_ joined channel #puppet | ||
| [2009/06/02 08:17:10] @ n0ts____ joined channel #puppet | ||
| [2009/06/02 08:20:45] @ drmikecrowe joined channel #puppet | ||
| [2009/06/02 08:23:06] <nico> ok, got it | ||
| [2009/06/02 08:23:25] <nico> I had not added the "no ssl" part in my nginx config | ||
| [2009/06/02 08:23:36] <nico> PEBKAC | ||
| [2009/06/02 08:23:50] <coofamani> Error 1D10T? | ||
| [2009/06/02 08:24:03] <nico> 1D10T ?? | ||
| [2009/06/02 08:24:07] <nico> haha :D | ||
| [2009/06/02 08:24:26] <coofamani> got a lot of use out of that one working helpdesk | ||
| [2009/06/02 08:24:38] @ HarryCalahan joined channel #puppet | ||
| [2009/06/02 08:31:07] @ Quit: niczar1: Remote closed the connection | ||
| [2009/06/02 08:32:28] @ Quit: n0ts___: Read error: 110 (Connection timed out) | ||
| [2009/06/02 08:40:19] @ lak joined channel #puppet | ||
| [2009/06/02 08:47:10] @ niczar1 joined channel #puppet | ||
| [2009/06/02 08:54:34] @ fujin_ joined channel #puppet | ||
| [2009/06/02 08:55:37] @ Quit: lak: | ||
| [2009/06/02 08:56:31] @ Quit: law__: "This computer has gone to sleep" | ||
| [2009/06/02 08:57:26] @ kambiz_away is now known as kambiz | ||
| [2009/06/02 08:58:01] @ mccune joined channel #puppet | ||
| [2009/06/02 08:58:25] @ masterzen joined channel #puppet | ||
| [2009/06/02 08:59:08] @ Quit: DerekW: Remote closed the connection | ||
| [2009/06/02 09:00:53] @ Quit: geoffr: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 09:01:14] @ geoffr joined channel #puppet | ||
| [2009/06/02 09:02:31] @ madrescher joined channel #puppet | ||
| [2009/06/02 09:02:33] @ Quit: fujin: Read error: 110 (Connection timed out) | ||
| [2009/06/02 09:05:52] @ kngus joined channel #puppet | ||
| [2009/06/02 09:06:08] @ kngus left channel #puppet ("Leaving.") | ||
| [2009/06/02 09:07:34] @ omry|work joined channel #puppet | ||
| [2009/06/02 09:07:45] @ penthief joined channel #puppet | ||
| [2009/06/02 09:09:19] @ nmalik joined channel #puppet | ||
| [2009/06/02 09:13:01] @ Telmo joined channel #puppet | ||
| [2009/06/02 09:13:38] <Volcane> http://www.peoplemerge.com/drupal/hudson_and_puppet | ||
| [2009/06/02 09:17:55] @ d3vilb0x joined channel #puppet | ||
| [2009/06/02 09:23:28] @ Quit: cwebber: | ||
| [2009/06/02 09:30:39] @ lak joined channel #puppet | ||
| [2009/06/02 09:32:06] @ fujin_ is now known as fujin | ||
| [2009/06/02 09:39:50] * HarryCalahan doesn't like drupal | ||
| [2009/06/02 09:40:42] @ matty joined channel #puppet | ||
| [2009/06/02 09:40:43] @ Quit: mattock: "Leaving." | ||
| [2009/06/02 09:41:21] @ Quit: Innocenti: Client Quit | ||
| [2009/06/02 09:45:07] @ Quit: CSamuelson: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 09:47:16] <omry|work> what is storedconfigs good for? | ||
| [2009/06/02 09:47:22] <omry|work> what does puppet do with it? | ||
| [2009/06/02 09:47:42] @ Llama joined channel #puppet | ||
| [2009/06/02 09:49:09] <Volcane> http://reductivelabs.com/trac/puppet/wiki/ExportedResources | ||
| [2009/06/02 09:55:23] @ Quit: shellac_: | ||
| [2009/06/02 09:56:47] @ Quit: niczar1: Remote closed the connection | ||
| [2009/06/02 09:58:23] <omry|work> Volcane, so it extends virtual resources which I already don't understand :) | ||
| [2009/06/02 09:58:51] <Volcane> yeah | ||
| [2009/06/02 09:59:01] <Volcane> well the nagios example there should give you aperfect idea | ||
| [2009/06/02 10:00:26] @ Quit: alban3: "A bientot" | ||
| [2009/06/02 10:00:47] @ alban3 joined channel #puppet | ||
| [2009/06/02 10:01:39] @ rgsteele||work joined channel #puppet | ||
| [2009/06/02 10:01:54] @ niczar1 joined channel #puppet | ||
| [2009/06/02 10:02:01] <sheldonh> Volcane: okay, looks like hosts 1-* reports, reports 1-* logs, reports 1-* metric_values, metric_values *-1 resources, metric_values *-1 metric_names | ||
| [2009/06/02 10:02:15] <sheldonh> Volcane: not sure what "records" are yet | ||
| [2009/06/02 10:04:26] <Volcane> i have no nodes with anything in records | ||
| [2009/06/02 10:05:29] @ Llama left channel #puppet ("Выходжу") | ||
| [2009/06/02 10:05:34] @ mfoster joined channel #puppet | ||
| [2009/06/02 10:05:43] <sheldonh> chances are it's safe to leave unreported for now, then ;) | ||
| [2009/06/02 10:05:57] <sheldonh> possibly just accidentally serialized | ||
| [2009/06/02 10:06:23] <Volcane> nah theres a method Puppet::Transaction::Report.record that appends to it | ||
| [2009/06/02 10:06:30] <Volcane> looking if i can find somethig that actually calls it | ||
| [2009/06/02 10:08:02] <Telmo> Has anyone tried setting module dependent environments? I did what the documentation says but I am getting an error when I try to start puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1042:in `parse_file': Could not match line [production] at /etc/puppet/puppet.conf:[production] (Puppet::Error) | ||
| [2009/06/02 10:08:15] <Telmo> it seem that my environment definition is not liked | ||
| [2009/06/02 10:08:28] <Volcane> show your config? | ||
| [2009/06/02 10:08:32] <Telmo> sure | ||
| [2009/06/02 10:09:25] <Telmo> http://www.pastie.org/private/pu5tv8vqdb7i0xtci6iepg | ||
| [2009/06/02 10:10:18] <DavidS> Telmo: what version are you running? | ||
| [2009/06/02 10:10:40] <Volcane> yeah that seems fine | ||
| [2009/06/02 10:10:51] <Telmo> 0.24.7 I believe | ||
| [2009/06/02 10:11:06] <Volcane> should work | ||
| [2009/06/02 10:11:27] <Telmo> [root@storm puppet]# puppetmasterd --version | ||
| [2009/06/02 10:11:28] <Telmo> 0.24.7 | ||
| [2009/06/02 10:11:28] <Telmo> [root@storm puppet]# | ||
| [2009/06/02 10:11:43] <Volcane> that defo worked for me then | ||
| [2009/06/02 10:11:45] <DavidS> Volcane: first updates from the munin plugin at http://munin.edv-bus.at/black.co.at/puppetmaster.black.co.at.html#Puppet ; feedback welcome :) | ||
| [2009/06/02 10:11:58] * Volcane 's not a munin fan :P | ||
| [2009/06/02 10:12:18] <DavidS> what's you recommend? | ||
| [2009/06/02 10:12:24] <DavidS> s/d | ||
| [2009/06/02 10:12:29] @ Quit: kolla: Remote closed the connection | ||
| [2009/06/02 10:12:36] <Volcane> munins nice, i had problem getting aggregate graphs going well and its fugly as hell | ||
| [2009/06/02 10:13:01] <Volcane> you should munin to any non techy and they just gloss over and go wtf | ||
| [2009/06/02 10:13:08] <Volcane> should=show | ||
| [2009/06/02 10:13:26] <Volcane> cacti, while much more work and crappy, at least makes sense to non techs | ||
| [2009/06/02 10:13:29] <Volcane> just cant win | ||
| [2009/06/02 10:14:28] <Volcane> Telmo: that file looks fine, not sure whats up with it | ||
| [2009/06/02 10:14:29] <DavidS> *sigh* anything about the content though? | ||
| [2009/06/02 10:14:46] <Telmo> yes, it is not starting and I am not sure why | ||
| [2009/06/02 10:15:26] <Telmo> it is very nice DavidS very management oriented :) | ||
| [2009/06/02 10:15:26] <Volcane> DavidS: hm, not sure how usable those huge graphs will be really? too much info per graph | ||
| [2009/06/02 10:15:53] <Telmo> Volcane: management likes to see graphs for things they don't understand :) | ||
| [2009/06/02 10:15:58] <DavidS> the other thing I'd like to do now is slices over all hosts for some interesting graphs like times.config_retrieval, times.total and resources.{applied,failed,??} | ||
| [2009/06/02 10:16:31] @ martha1 joined channel #puppet | ||
| [2009/06/02 10:16:38] <DavidS> Volcane: the resources by type is a bit much, yes :) | ||
| [2009/06/02 10:16:43] <Volcane> Telmo: sure all for that, but they wont understand these graphs either :) | ||
| [2009/06/02 10:16:44] <DavidS> hi martha1 | ||
| [2009/06/02 10:17:13] @ martha1 is now known as martha | ||
| [2009/06/02 10:17:14] <DavidS> well, in my case, I'm my own management, and for sure, id _DO_ understand to graphs. | ||
| [2009/06/02 10:17:21] <martha> hi DavidS | ||
| [2009/06/02 10:17:40] <omry|work> DavidS, I am thinking about installing your munin module. will you be able to answer a few questions if I bump into problems? | ||
| [2009/06/02 10:17:45] <Telmo> DavidS for the average user is too much information, easy to get lost | ||
| [2009/06/02 10:17:48] <DavidS> omry|work: sure | ||
| [2009/06/02 10:17:56] @ Quit: n0ts____: "Tiarra 0.1+svn-30026: SIGTERM received; exit" | ||
| [2009/06/02 10:17:58] <omry|work> DavidS, cool. getting to it. | ||
| [2009/06/02 10:18:21] <DavidS> Volcane: that's always gonna be a probem | ||
| [2009/06/02 10:19:01] <DavidS> but if you want concise info, there needs to be a aggregation anyhow. like pushing all failed!=0 hosts to nagios and sending out mails or something | ||
| [2009/06/02 10:19:14] <Volcane> yeah | ||
| [2009/06/02 10:19:15] <sheldonh> Volcane: do you know whether puppet_tags are something special, or just a generaelized taxonomy feature in the db? | ||
| [2009/06/02 10:19:38] <Volcane> sheldonh: perhaps if you run the client restriciting it to certain tags it would populate that? | ||
| [2009/06/02 10:19:43] <Volcane> wild guess | ||
| [2009/06/02 10:19:59] <sheldonh> wild indeed :) | ||
| [2009/06/02 10:20:02] <omry|work> DavidS, that's the correct git repo? git://git.black.co.at/manifests | ||
| [2009/06/02 10:20:03] <DavidS> they are actually what puppet automatically detects as tags | ||
| [2009/06/02 10:20:04] <Telmo> ok, so if I comment out the [production] and [test] and leave only [development] puppetmaster starts... | ||
| [2009/06/02 10:20:08] <DavidS> omry|work: no | ||
| [2009/06/02 10:20:20] <DavidS> omry|work: http://git.black.co.at/?p=module-munin | ||
| [2009/06/02 10:20:31] <omry|work> is that an old one or what? my mysql module is from there | ||
| [2009/06/02 10:20:33] @ Demosthenes joined channel #puppet | ||
| [2009/06/02 10:20:38] @ Quit: lak: | ||
| [2009/06/02 10:20:41] <DavidS> yeah, quite old | ||
| [2009/06/02 10:20:53] @ JM joined channel #puppet | ||
| [2009/06/02 10:21:04] <omry|work> I`ll try to upgrade to the latest mysql module later as well | ||
| [2009/06/02 10:21:30] <DavidS> Telmo: try to remove the space from the environments= line *wild guess* | ||
| [2009/06/02 10:21:39] <DavidS> omry|work: good luck :) | ||
| [2009/06/02 10:21:41] <Volcane> DavidS: surely then all reports would have them? very few of mine has them - seems only clients run with --test but thats just a quick investigate about why its only there sometimes | ||
| [2009/06/02 10:21:56] @ plathrop-away is now known as plathrop | ||
| [2009/06/02 10:21:57] <DavidS> Volcane: oh, in the reports? | ||
| [2009/06/02 10:21:59] <omry|work> DavidS, words of comfort, coming from the author ;) | ||
| [2009/06/02 10:22:01] <Volcane> yeah | ||
| [2009/06/02 10:22:09] <DavidS> sorry, wrong context, i was thinking about storedconfigs db | ||
| [2009/06/02 10:22:12] <Telmo> what I did was to copy and paste the development environment and renamed it.. it seems to be working so I assume there was some wierd characters in the lines | ||
| [2009/06/02 10:22:29] @ Quit: penthief: Read error: 110 (Connection timed out) | ||
| [2009/06/02 10:22:29] <DavidS> omry|work: I've no idea at which point in development of thy mysql module manifests died | ||
| [2009/06/02 10:22:41] <Volcane> actually no, its not even ones with --test, I've no idea what causes them to apear | ||
| [2009/06/02 10:22:53] <DavidS> Volcane: --tags ? | ||
| [2009/06/02 10:22:55] <omry|work> DavidS, aha. | ||
| [2009/06/02 10:23:00] <Volcane> i never run things with --tags | ||
| [2009/06/02 10:24:56] @ penthief joined channel #puppet | ||
| [2009/06/02 10:25:11] @ Quit: saurabhverma: Client Quit | ||
| [2009/06/02 10:25:16] @ loquito joined channel #puppet | ||
| [2009/06/02 10:26:14] <Volcane> ah | ||
| [2009/06/02 10:26:24] <Volcane> i think its when puppet changes a resource it adds the tags | ||
| [2009/06/02 10:26:34] @ docelic joined channel #puppet | ||
| [2009/06/02 10:26:53] <sheldonh> DavidS: so general taxonomy sounds close | ||
| [2009/06/02 10:27:09] <Volcane> sheldonh: yeah you do want to keep those tags | ||
| [2009/06/02 10:27:13] <sheldonh> DavidS: but almost certainly not the right table to abuse for metric labels :) | ||
| [2009/06/02 10:27:35] <sheldonh> Volcane: i'm not gonna ditch anything. just taking the time to figure out what to add | ||
| [2009/06/02 10:27:42] <Volcane> yeah | ||
| [2009/06/02 10:28:01] <Volcane> are you putting them into the sotred conf db? | ||
| [2009/06/02 10:28:08] <sheldonh> Volcane: yes | ||
| [2009/06/02 10:28:11] <omry|work> everytime I run puppetd --test I get many messages like : notice: /File[/var/lib/puppet/lib]/checksum: checksum changed '{mtime}Mon Mar 30 03:21:28 -0700 2009' to '{mtime}Mon Mar 30 10:21:28 +0000 2009' | ||
| [2009/06/02 10:28:13] <Volcane> kewl | ||
| [2009/06/02 10:28:13] <sheldonh> Volcane: well, i plan to | ||
| [2009/06/02 10:28:35] <Volcane> omry|work: yeah there are several tickets about it, its harmless but very annoying | ||
| [2009/06/02 10:28:47] <omry|work> Volcane, ah, okay. | ||
| [2009/06/02 10:28:52] <sheldonh> Volcane: we just have too many nodes and resources for mail to be useful, and we're not ready with the splunk project | ||
| [2009/06/02 10:29:10] <sheldonh> Volcane: so we need to roll our own visibility into how the network's doing | ||
| [2009/06/02 10:29:15] @ Quit: penthief: Client Quit | ||
| [2009/06/02 10:29:55] <Volcane> sheldonh: yeah, i wrote the puppetview thing - but we dont need to proactively monitor and look at it, its more for casual now and then viewing and i have it integrated into another app rather than use it as it is there, so i guess our needs differ | ||
| [2009/06/02 10:29:56] @ lak joined channel #puppet | ||
| [2009/06/02 10:30:19] <sheldonh> Volcane: ja, i think so. plus, we have multiple puppetmasters | ||
| [2009/06/02 10:30:24] <Volcane> so do i | ||
| [2009/06/02 10:30:28] <Volcane> but i send my reports to just 1 | ||
| [2009/06/02 10:30:49] <omry|work> the performance of storageconfigs using sqlite is really that bad? | ||
| [2009/06/02 10:30:59] <Volcane> horrible | ||
| [2009/06/02 10:31:12] <Volcane> sqlite doesnt do well with concurrent access | ||
| [2009/06/02 10:31:38] <omry|work> I assume only the puppetmaster accesses it? | ||
| [2009/06/02 10:31:59] <Volcane> yes, but if more than 1 host hits your master at the same tie u can get concurrent access | ||
| [2009/06/02 10:32:22] <Volcane> sqlite's a toy, used for development, just like webrick | ||
| [2009/06/02 10:32:38] <Volcane> you would probably outgrow sqlite before webrick in a puppet environment | ||
| [2009/06/02 10:32:50] <HarryCalahan> sqlite is also nice for client applications. | ||
| [2009/06/02 10:33:01] <omry|work> webrick is the internal web server? | ||
| [2009/06/02 10:33:15] <Volcane> yeah the default | ||
| [2009/06/02 10:35:29] <omry|work> currently I have around 15 servers, you think I should install a more serious web server for puppetd? | ||
| [2009/06/02 10:35:45] <omry|work> I expect to have twice as many in a few months. | ||
| [2009/06/02 10:35:51] <Volcane> you're probably ok with webrick up to mid 20 to mid 30 depending on the complexity of your manifest | ||
| [2009/06/02 10:36:23] <omry|work> what's the bottleneck for webrick when it starts to get slow? | ||
| [2009/06/02 10:36:42] <Volcane> it just doesnt do high concurrency so your clients just grow stupidly slow | ||
| [2009/06/02 10:36:51] <Volcane> you'll see tons of SYN_SENT and SYN_REC connections | ||
| [2009/06/02 10:36:56] <Volcane> and many connection reset by peers too | ||
| [2009/06/02 10:36:56] <masterzen> I really saw the difference between webrick and mongrel... File access was largely faster... | ||
| [2009/06/02 10:37:16] <Volcane> but just going to webrick will speed things up in general regardless | ||
| [2009/06/02 10:37:30] @ mccune left channel #puppet () | ||
| [2009/06/02 10:37:57] <omry|work> Volcane, you mean mongrel? | ||
| [2009/06/02 10:38:04] <Volcane> yes sorry | ||
| [2009/06/02 10:38:08] <sheldonh> throw both away and use passenger :) | ||
| [2009/06/02 10:38:18] <omry|work> :) | ||
| [2009/06/02 10:38:19] <sheldonh> we quite simply wouldn't cope without it :) | ||
| [2009/06/02 10:38:27] <omry|work> or jetty ;) | ||
| [2009/06/02 10:38:32] <sheldonh> hahaha | ||
| [2009/06/02 10:38:34] <sheldonh> no :) | ||
| [2009/06/02 10:38:39] <tim|imac> python! | ||
| [2009/06/02 10:38:47] <omry|work> Java!1 | ||
| [2009/06/02 10:38:55] <sheldonh> what, jetty and glassfish? i didn't know jetty acted as a container for glassfish | ||
| [2009/06/02 10:39:08] <omry|work> dunno anything about glassfish | ||
| [2009/06/02 10:39:09] <omry|work> what is it? | ||
| [2009/06/02 10:39:17] <tim|imac> is glassfish any good? | ||
| [2009/06/02 10:39:18] @ cwebber joined channel #puppet | ||
| [2009/06/02 10:39:20] <sheldonh> jruby application container | ||
| [2009/06/02 10:39:24] * tim|imac is getting tired of tomcat | ||
| [2009/06/02 10:39:40] <Volcane> sheldonh: so with reports do you want to get a whole interactive view of things all the time or just for monitoring or whats the goal? | ||
| [2009/06/02 10:39:40] <sheldonh> tim, dunno. i only use it inside netbeans, when vim ceases to cut it :) | ||
| [2009/06/02 10:39:51] <omry|work> tim|imac, I find jetty more fun to work with | ||
| [2009/06/02 10:39:56] <sheldonh> Volcane: good, a man who focuses on the point :) | ||
| [2009/06/02 10:39:57] <masterzen> if someone performs some jruby+glassfish/wahetever test, I'm interested by the results... | ||
| [2009/06/02 10:40:12] <Volcane> sheldonh: only cos you're so 'los kop' | ||
| [2009/06/02 10:40:15] <sheldonh> Volcane: i need to monitor and alert, _and_ i need to support adhoc queries | ||
| [2009/06/02 10:40:18] <sheldonh> hehe | ||
| [2009/06/02 10:40:33] <Volcane> sheldonh: monitor for failures and alert changes? | ||
| [2009/06/02 10:40:54] <sheldonh> Volcane: hmmmm. stop making me think :) | ||
| [2009/06/02 10:40:58] * Volcane 's yet to find an adequate english term that quite captures the essence of 'los kop' | ||
| [2009/06/02 10:41:10] <sheldonh> Volcane: dits :) | ||
| [2009/06/02 10:41:14] <sheldonh> Volcane: or ditz | ||
| [2009/06/02 10:41:37] <Volcane> sheldonh: yeah well i am just thinkin when would i actually use a good view on my reports, and really my nagios that tells me if puppet hasnt run for x minutes answers all questions i could ever neeed really | ||
| [2009/06/02 10:41:51] <Volcane> sheldonh: ah my british SO wouldnt have a clue what that is :) | ||
| [2009/06/02 10:41:57] <omry|work> puppetmaster will install the storedconfigs tables automatically? | ||
| [2009/06/02 10:42:10] <Volcane> omry|work: first time a client runs it should make them yeah | ||
| [2009/06/02 10:42:31] @ Quit: Demosthenex: Read error: 110 (Connection timed out) | ||
| [2009/06/02 10:42:35] <omry|work> Volcane, even if it doesn't have any collection stuff in the manifests/ | ||
| [2009/06/02 10:42:36] <omry|work> ? | ||
| [2009/06/02 10:42:36] <sheldonh> first time a client runs, its puppetmaster should make them | ||
| [2009/06/02 10:42:39] <Telmo> man, I am getting no puppet love today, nothing is working the way it is supposed to | ||
| [2009/06/02 10:42:50] <sheldonh> omry|work: yes, because it still has facts to store | ||
| [2009/06/02 10:42:53] <Volcane> omry|work: yeah everything about all nodes then go to that db | ||
| [2009/06/02 10:42:59] <omry|work> alright | ||
| [2009/06/02 10:43:01] <sheldonh> except reports :( | ||
| [2009/06/02 10:43:06] <lak> nasrat: have you been able to review the windows code at all? | ||
| [2009/06/02 10:43:23] <lak> it's on like the third revision and i think joel could maybe use a bit more hands-on | ||
| [2009/06/02 10:44:07] <sheldonh> Volcane: i'd like to alert on failed resources and restarts. not sure yet about out_of_sync. not per host, though. just "look, you've got some problems, come check out the web interface please" | ||
| [2009/06/02 10:44:34] <sheldonh> Volcane: and then a view of hosts with one or more such failures, with drill-down (ultimately leading to logs) | ||
| [2009/06/02 10:44:51] <Volcane> sheldonh: ah, hmm, does the logs in the report have enough details to clearly indicate its a failure? | ||
| [2009/06/02 10:45:19] <sheldonh> Volcane: sometimes, from what i've seen | ||
| [2009/06/02 10:45:24] @ jmarki joined channel #puppet | ||
| [2009/06/02 10:45:44] <sheldonh> Volcane: but i've only seen what happens for failures that i'm expecting and understand, because i triggered them :) | ||
| [2009/06/02 10:46:18] <Volcane> ah the metrics has a failed count | ||
| [2009/06/02 10:46:23] <sheldonh> ja | ||
| [2009/06/02 10:46:34] <Volcane> yeah thats interesting | ||
| [2009/06/02 10:46:53] <sheldonh> hence the idea of metric_values and metric_names (following the table naming pattern for storedconfigs) | ||
| [2009/06/02 10:48:25] <Volcane> yeah a report for failed counts would be good | ||
| [2009/06/02 10:48:39] <Volcane> might just write a simple report handler that updates a log with the mtrics | ||
| [2009/06/02 10:48:47] <Volcane> so i can get nagios check_logs to report on fail_count != 0 | ||
| [2009/06/02 10:49:05] <Volcane> cos I'm no fan of stored configs in current incarnation | ||
| [2009/06/02 10:49:57] <sheldonh> Volcane: puppetshow did most of what we wanted, when the guy who started on this got it up and running. but i don't think we can use puppetshow with a straight face | ||
| [2009/06/02 10:51:03] <sheldonh> Volcane: for less than 30 lines of code, we got alerts for puppet clients not checking in, and mismatches between puppet's seen nodes and our canonical node list | ||
| [2009/06/02 10:51:23] <nasrat> lak: yeah I've looked through it but not commented yet | ||
| [2009/06/02 10:51:34] <sheldonh> Volcane: so for us, storedconfigs have paid for themselves. and having the facts queryable from script/console is a bonus :) | ||
| [2009/06/02 10:51:40] <Volcane> yeah i think people just have such a wide ranging need when it comes to reporting that its hard to please people | ||
| [2009/06/02 10:52:08] <sheldonh> spot on | ||
| [2009/06/02 10:52:29] <sheldonh> we're lucky in that are report consumers are linux geeks who're all keen to learn ruby | ||
| [2009/06/02 10:52:50] <sheldonh> so we can probably even get away with no web interface at all, and just a bunch of script/runner scriptlets :) | ||
| [2009/06/02 10:53:04] <sheldonh> anyway, i need to log off so i can get ready for call of duty :) | ||
| [2009/06/02 10:53:05] <Volcane> rake :P | ||
| [2009/06/02 10:53:21] <Volcane> sheldonh: arg, soo much tie wasted on cod :( | ||
| [2009/06/02 10:53:26] <sheldonh> i don't like rake for cron jobs -- it spews rubbish to stdout when it starts :) | ||
| [2009/06/02 10:53:51] <sheldonh> Volcane: i know, i waste _hours_ that i could be spending on EVE :) | ||
| [2009/06/02 10:54:04] * Volcane 's on almost 8 days play time on cod4 :( | ||
| [2009/06/02 10:54:20] <sheldonh> later :) | ||
| [2009/06/02 10:54:35] <geoffr> Volcane: have you found the "ensure" with a specified version will use the version specified or just install whatever it finds? I specify a version newer than what's available and it just installs the latest | ||
| [2009/06/02 10:55:15] <omry|work> DavidS, I get : Could not find resource type modules_dir at /etc/puppet/modules/munin/manifests/init.pp:10 on node | ||
| [2009/06/02 10:55:31] <omry|work> when I run puppetd --test on the munin host node. | ||
| [2009/06/02 10:56:08] <Volcane> geoffr: most puppet tells your package manager to do it | ||
| [2009/06/02 10:56:16] <Telmo> when creating environments do I need an autosign.conf, fileserver.conf and namespaceauth,conf per environment? | ||
| [2009/06/02 10:56:59] @ Quit: sheldonh: "gonne" | ||
| [2009/06/02 10:57:05] <geoffr> yeah looks like an aptitude issue, I was hoping there was a better explanation :( | ||
| [2009/06/02 10:57:06] @ n0ts joined channel #puppet | ||
| [2009/06/02 10:57:09] <Volcane> no i think you just need manifest = everything else is bonus | ||
| [2009/06/02 10:57:16] <Volcane> geoffr: GIGO :P | ||
| [2009/06/02 10:57:45] <geoffr> :) | ||
| [2009/06/02 10:59:02] <geoffr> that's enough for one day time for COD WaW | ||
| [2009/06/02 10:59:06] @ Quit: mfournier: Read error: 113 (No route to host) | ||
| [2009/06/02 10:59:10] <DavidS> omry|work: seems like that got wedged in my last update to the common module. There it's called module_dir, not modules_dir | ||
| [2009/06/02 10:59:10] <lak> nasrat: have you been able to test it at all? | ||
| [2009/06/02 10:59:17] @ Quit: geoffr: Remote closed the connection | ||
| [2009/06/02 10:59:49] <omry|work> DavidS, trying to fix the code, sec. | ||
| [2009/06/02 11:00:14] @ alfism joined channel #puppet | ||
| [2009/06/02 11:00:33] <docelic> Hey folks, I'd like to install puppet as part of preseeded Debian install (through late_command), but have it *not* start until the system reboots for the first time and enters the correct kernel | ||
| [2009/06/02 11:00:44] <omry|work> DavidS, looks better, thanks | ||
| [2009/06/02 11:00:50] <omry|work> hi docelic :) | ||
| [2009/06/02 11:00:55] <DavidS> docelic: try the policy-rc.d stuff | ||
| [2009/06/02 11:01:04] <docelic> omry|work, hey man | ||
| [2009/06/02 11:01:15] <docelic> your servers or work-related? | ||
| [2009/06/02 11:01:34] <omry|work> docelic, work related. | ||
| [2009/06/02 11:01:45] <DavidS> omry|work: still working on getting the whole mess to properly work on 2.24.8 | ||
| [2009/06/02 11:01:49] <DavidS> 0.24.8 | ||
| [2009/06/02 11:02:03] <omry|work> docelic, got just one box of my own, so no need for puppet there. | ||
| [2009/06/02 11:02:58] <omry|work> DavidS, aha, I am using 0.24.8, or a variant of it (some kumina3 package) | ||
| [2009/06/02 11:03:58] <DavidS> omry|work: no worries. just some nits due to the way tags and collections interact ... | ||
| [2009/06/02 11:04:19] <DavidS> and of course the renaming of modules_dir :) | ||
| [2009/06/02 11:04:44] <omry|work> hehe | ||
| [2009/06/02 11:05:04] <omry|work> DavidS, and this? | ||
| [2009/06/02 11:05:07] <omry|work> Unknown function gsub at /etc/puppet/modules/munin/manifests/plugin.pp:91 | ||
| [2009/06/02 11:06:20] @ mccune joined channel #puppet | ||
| [2009/06/02 11:06:21] <docelic> DavidS, which package would that be? I'm on debian testing and not seeing the actual policy-rc.d stuff | ||
| [2009/06/02 11:07:58] <omry|work> docelic, you can also try to play with /etc/default/puppet | ||
| [2009/06/02 11:08:29] <omry|work> not sure if it will work for you, never used 'late_command' | ||
| [2009/06/02 11:08:54] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/02 11:09:18] <docelic> actually I was wrong for late_command, I wouldn't do it there but in Debian's existing preseed question where you can list extra packages to install | ||
| [2009/06/02 11:09:43] <docelic> btw, /etc/default/puppet is a good hint, I forgot to check if it existed. | ||
| [2009/06/02 11:10:21] <docelic> although it means I need to create it manually, either before the install goes, or I need to move puppet install into late_command which would then be echo START=no > /etc/default/puppet && apt-get install puppet | ||
| [2009/06/02 11:10:22] <omry|work> let me know how you got it to work eventually, I`ll have to create my own image with a preseeded puppet at some point :) | ||
| [2009/06/02 11:10:58] <omry|work> my boostrap.sh file (which I use to kick off new machines) tweak the /etc/default/puppet like that. | ||
| [2009/06/02 11:11:16] <omry|work> I got : echo "START=yes" > /etc/default/puppet | ||
| [2009/06/02 11:11:16] <omry|work> echo "DAEMON_OPTS=\"-w 1 --no-client\"" >> /etc/default/puppet | ||
| [2009/06/02 11:11:23] <omry|work> in my case. but you may want something else. | ||
| [2009/06/02 11:11:36] <docelic> right | ||
| [2009/06/02 11:11:47] @ Quit: hamish: Read error: 113 (No route to host) | ||
| [2009/06/02 11:12:01] <omry|work> not pretty | ||
| [2009/06/02 11:12:14] <loquito> I am having a problem between my client and server. I request a cert from the server and I see the message on the output on the server window and I am able to sign the cert, but after that when trying to get run a normal manifest on the client it keeps telling me that the cert in invalid | ||
| [2009/06/02 11:12:30] <omry|work> but works. will hopefully have something more elegant when I create a new system image. | ||
| [2009/06/02 11:12:46] <omry|work> DavidS, any hints on the gsub error? | ||
| [2009/06/02 11:12:51] <docelic> Is someone of puppet debian pkg maintainers here? It'd be useful if preinst/postinst checked for debconf key, such as puppet/run=true|false, and then create /etc/puppet/default with a value that comes from that (or 'yes' as default) | ||
| [2009/06/02 11:13:19] @ Quit: HarryCalahan: "." | ||
| [2009/06/02 11:13:48] @ Quit: alex2: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 11:14:17] @ Quit: mccune: Remote closed the connection | ||
| [2009/06/02 11:16:10] <DavidS> omry|work: gsub was replaced by regsubst in puppet proper | ||
| [2009/06/02 11:16:31] <DavidS> omry|work: | ||
| [2009/06/02 11:16:48] <omry|work> DavidS, aha. are you making a list of changes? might come in handy as a patch for later :) | ||
| [2009/06/02 11:17:13] <DavidS> omry|work: I'm working on it :) | ||
| [2009/06/02 11:17:27] <DavidS> I'll publish that munin stuff immediately | ||
| [2009/06/02 11:17:36] * DavidS wonders why my server doesn't complain | ||
| [2009/06/02 11:17:36] @ mib_r8zmuz joined channel #puppet | ||
| [2009/06/02 11:17:52] <omry|work> DavidS, private method `sub' called for ["eth0,eth1"]:Array at /etc/puppet/modules/munin/manifests/plugin.pp:91 | ||
| [2009/06/02 11:17:54] @ Quit: mib_r8zmuz: Client Quit | ||
| [2009/06/02 11:18:56] <DavidS> sorry, have to run. p.s. split changed too. darn :-/ | ||
| [2009/06/02 11:19:48] @ Quit: DavidS: "Leaving." | ||
| [2009/06/02 11:21:26] <joe-mac> docelic: nigelk is the deb maintainer iir | ||
| [2009/06/02 11:21:28] <joe-mac> c | ||
| [2009/06/02 11:24:52] @ mccune joined channel #puppet | ||
| [2009/06/02 11:26:18] @ Quit: n0ts: "Tiarra 0.1+svn-30026: SIGTERM received; exit" | ||
| [2009/06/02 11:26:22] @ Quit: nevyn: Read error: 101 (Network is unreachable) | ||
| [2009/06/02 11:26:55] @ Quit: cmoates: "Leaving" | ||
| [2009/06/02 11:27:38] <joe-mac> hey lak, thjere is a puppetshow.mov in the downloads folder on the website, but it looks totally different from the puppetshow screenshots on the puppetshow wiki, what's that all about? | ||
| [2009/06/02 11:27:52] <lak> joe-mac: right, that's the reporting app | ||
| [2009/06/02 11:27:58] <lak> (just emailed the list about it) | ||
| [2009/06/02 11:28:14] <joe-mac> oh, let me read the email... the one in your .mov looks slick as hell though | ||
| [2009/06/02 11:29:54] <lak> we're trying to release it, we just need to get the money to pay the devs off :) | ||
| [2009/06/02 11:29:57] <Volcane> http://www.techcrunch.com/2009/06/02/from-terrible-to-terrifying-newspaper-ad-sales-plummet-26-billion-in-first-quarter/ | ||
| [2009/06/02 11:30:01] <Volcane> oops, wrong # | ||
| [2009/06/02 11:31:54] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/06/02 11:32:54] <omry|work> Volcane, still interesting :) | ||
| [2009/06/02 11:33:18] * Volcane worked for newspapers | ||
| [2009/06/02 11:33:38] <omry|work> Volcane, ahm. | ||
| [2009/06/02 11:33:50] <omry|work> bad storm rising? | ||
| [2009/06/02 11:34:06] @ sigmonsays joined channel #puppet | ||
| [2009/06/02 11:34:23] <Volcane> yeah its not really news to anyone, but like they say, nothing like a graph to make thigns clear | ||
| [2009/06/02 11:34:55] <omry|work> Volcane, yeah, most newspapers are doomed. | ||
| [2009/06/02 11:35:45] <omry|work> Volcane, any idea about split in 0.24.8? | ||
| [2009/06/02 11:35:52] <omry|work> was it changed somehow? | ||
| [2009/06/02 11:36:20] @ notbrien joined channel #puppet | ||
| [2009/06/02 11:36:50] <Volcane> omry|work: DavidS has several of his own functions there and i think his modules depend on them | ||
| [2009/06/02 11:37:00] <Volcane> split for example | ||
| [2009/06/02 11:37:21] <omry|work> string supposed to have split.. but I tried $interfaces.split(" ") without any luck | ||
| [2009/06/02 11:37:32] @ Quit: lak: | ||
| [2009/06/02 11:37:35] <Volcane> not in puppet manifest they dont | ||
| [2009/06/02 11:37:39] <Volcane> puppet manifest != ruby | ||
| [2009/06/02 11:37:42] <omry|work> great.. | ||
| [2009/06/02 11:37:58] <Volcane> in a template u could split it | ||
| [2009/06/02 11:38:18] <omry|work> funny thing is that I didn't find where that split is defined | ||
| [2009/06/02 11:38:31] <omry|work> it's there, because it's calling some private sub method | ||
| [2009/06/02 11:38:43] <sigmonsays> probably in string.c somewhere in ruby source code :) | ||
| [2009/06/02 11:39:02] <omry|work> sigmonsays, nono. we are talking about davids split's :) | ||
| [2009/06/02 11:39:08] <sigmonsays> heh | ||
| [2009/06/02 11:39:14] <omry|work> a non object oriented version used from his munin script. | ||
| [2009/06/02 11:39:18] <omry|work> module | ||
| [2009/06/02 11:39:23] <Volcane> omry|work: even then you wouldnt call it $foo.split | ||
| [2009/06/02 11:39:34] <omry|work> Volcane, enlighten me | ||
| [2009/06/02 11:39:36] <Volcane> omry|work: you'd call it $foo = split($something, " ") | ||
| [2009/06/02 11:39:55] <omry|work> Volcane, becuase it's a static version of string::split, right? | ||
| [2009/06/02 11:40:01] <omry|work> "static | ||
| [2009/06/02 11:40:02] <omry|work> " | ||
| [2009/06/02 11:40:07] <Volcane> no because puppet strings arent objects like ruby | ||
| [2009/06/02 11:40:14] <Volcane> theres no $string.anything | ||
| [2009/06/02 11:40:20] <Volcane> they're just strings | ||
| [2009/06/02 11:40:23] <omry|work> ok | ||
| [2009/06/02 11:40:36] <omry|work> I was just trying to fix the error cluelessly. | ||
| [2009/06/02 11:40:38] <Volcane> and you have functions like those in the functions reference | ||
| [2009/06/02 11:40:58] <omry|work> I didn't expect it to work. but if I`ll find that bogus split function I might be able to fix it | ||
| [2009/06/02 11:41:07] <Volcane> http://git.black.co.at/?p=module-common;a=tree;f=plugins/puppet/parser/functions;h=7d9a8e67f74828e381860fd01dd64a7f9568a044;hb=HEAD | ||
| [2009/06/02 11:41:13] <Volcane> thats his function | ||
| [2009/06/02 11:41:15] <Volcane> s | ||
| [2009/06/02 11:41:35] <joe-mac> lak, i';m looking forward to that reporting app | ||
| [2009/06/02 11:41:38] <joe-mac> brb | ||
| [2009/06/02 11:41:58] <omry|work> Volcane, looks right, except I don't see any calls to sub() | ||
| [2009/06/02 11:42:00] <sigmonsays> Man, reporting is kinda hard to handle cleanly | ||
| [2009/06/02 11:42:20] <Volcane> sub() ? | ||
| [2009/06/02 11:42:42] @ reyjrar joined channel #puppet | ||
| [2009/06/02 11:42:45] <sigmonsays> I recently started hacking a script that processes .yaml data and parsing the source attribute was difficult | ||
| [2009/06/02 11:42:46] <omry|work> private method `sub' called for ["eth0,eth1"]:Array at /etc/puppet/modules/munin/manifests/plugin.pp:91 | ||
| [2009/06/02 11:43:13] <omry|work> sigmonsays, I am sure there are ruby libs to parse yaml. | ||
| [2009/06/02 11:43:19] <omry|work> no need to invent the wheel.. | ||
| [2009/06/02 11:43:26] <omry|work> well, to invent a wheel :) | ||
| [2009/06/02 11:43:29] <Volcane> omry|work: this? $if_errs = gsub(split($interfaces, " "), "(.+)", "if_err_\\1") | ||
| [2009/06/02 11:43:47] <sigmonsays> i used 'yaml' module, i am talking about the source attribute of Puppet::Util::Log | ||
| [2009/06/02 11:43:52] <Volcane> that what it is in his git repo | ||
| [2009/06/02 11:44:04] @ lak joined channel #puppet | ||
| [2009/06/02 11:44:10] <omry|work> Volcane, $ifs = regsubst(split($interfaces, " "), "(.+)", "if_\\1") | ||
| [2009/06/02 11:44:17] <omry|work> corrected (sub -> regsubst) | ||
| [2009/06/02 11:44:22] <omry|work> and off by one line | ||
| [2009/06/02 11:44:26] <Volcane> omry|work: what version are you on? | ||
| [2009/06/02 11:44:46] <omry|work> Volcane, local version. I tweaked it per davids advice | ||
| [2009/06/02 11:44:54] <Volcane> what puppet version | ||
| [2009/06/02 11:44:57] @ erm_ joined channel #puppet | ||
| [2009/06/02 11:45:09] <omry|work> 0.24.8-0kumina3 | ||
| [2009/06/02 11:45:31] <omry|work> it's a package one of the channel dwellers built a few months ago | ||
| [2009/06/02 11:45:47] <omry|work> because 0.24.8 was official, I believe. | ||
| [2009/06/02 11:45:49] <omry|work> befor | ||
| [2009/06/02 11:45:51] <omry|work> e | ||
| [2009/06/02 11:45:52] <Volcane> yeah who know wtf that is, no doubt its a rc | ||
| [2009/06/02 11:46:07] <Volcane> so all bets are off really | ||
| [2009/06/02 11:46:08] <omry|work> you think that's the problem? | ||
| [2009/06/02 11:46:23] <Volcane> regsubstr() works on 0.24.8 proper | ||
| [2009/06/02 11:46:40] <Volcane> you could maybe do a simple test of regsubstr to see if thats the problem | ||
| [2009/06/02 11:47:02] <omry|work> Volcane, the error is from split | ||
| [2009/06/02 11:47:07] <omry|work> not from regsubstr | ||
| [2009/06/02 11:47:33] <omry|work> I entered a newline in the code to verify: | ||
| [2009/06/02 11:47:39] <omry|work> $ifs = regsubst( | ||
| [2009/06/02 11:47:39] <omry|work> split($interfaces, " "), "(.+)", "if_\\1") | ||
| [2009/06/02 11:47:50] <omry|work> error comes from the second line. | ||
| [2009/06/02 11:48:07] <Volcane> i wouldnt put my money on that being a good way to diagnose | ||
| [2009/06/02 11:48:14] <Volcane> puppets line number reporting isnt always spot on | ||
| [2009/06/02 11:48:19] <omry|work> okay, what do you suggest? | ||
| [2009/06/02 11:48:25] <omry|work> I`m hardly a qualified ruby dev :) | ||
| [2009/06/02 11:48:32] <Volcane> if you did on its own line : $foo = split($interfaces, " ") | ||
| [2009/06/02 11:48:40] <omry|work> and certainly not a puppet dev. | ||
| [2009/06/02 11:48:41] @ Quit: loquito: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/06/02 11:48:41] <Volcane> see if that trips you up in the same way | ||
| [2009/06/02 11:48:47] <omry|work> okay, sec. | ||
| [2009/06/02 11:49:29] @ n0ts joined channel #puppet | ||
| [2009/06/02 11:49:42] <omry|work> Volcane, right on. it's the regsubstr | ||
| [2009/06/02 11:50:03] <omry|work> is 0.24.8 officially out yet? | ||
| [2009/06/02 11:50:35] <Volcane> yeah | ||
| [2009/06/02 11:51:23] <Volcane> put in a file, say test.pp: | ||
| [2009/06/02 11:51:23] <Volcane> notice(regsubst("Foo", "(.+)", "if_\\1")) | ||
| [2009/06/02 11:51:26] <Volcane> and run puppet test.pp | ||
| [2009/06/02 11:51:30] <Volcane> what does that say? | ||
| [2009/06/02 11:51:32] @ cmoates joined channel #puppet | ||
| [2009/06/02 11:52:17] <omry|work> you mean puppetd --test? | ||
| [2009/06/02 11:52:23] <Volcane> nope | ||
| [2009/06/02 11:52:42] <omry|work> # puppet test.pp | ||
| [2009/06/02 11:52:42] <omry|work> notice: Scope(Class[main]): if_Foo | ||
| [2009/06/02 11:52:50] <Volcane> ok so regsubst works too | ||
| [2009/06/02 11:53:40] <omry|work> hm | ||
| [2009/06/02 11:54:01] <Volcane> show your: class munin::plugins::interfaces inherits munin::plugins::base { on pastie pls | ||
| [2009/06/02 11:54:05] <Volcane> and the actual error | ||
| [2009/06/02 11:54:45] <omry|work> Volcane, where can I find that? | ||
| [2009/06/02 11:54:55] <Volcane> it should be around the line that the error is | ||
| [2009/06/02 11:55:17] <omry|work> sec | ||
| [2009/06/02 11:56:10] <omry|work> Volcane, http://pastebin.ca/1445000 | ||
| [2009/06/02 11:56:17] @ Quit: MarlondB: | ||
| [2009/06/02 11:57:29] <Volcane> and line 92 is which? | ||
| [2009/06/02 11:57:45] @ Quit: Welsh_Dwarf: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 11:58:03] <omry|work> ah, sorry: $ifs = regsubst($s, "(.+)", "if_\\1") | ||
| [2009/06/02 11:58:06] <omry|work> that's 92 | ||
| [2009/06/02 11:58:47] <Volcane> ok | ||
| [2009/06/02 11:58:51] <Volcane> so $s would be an array | ||
| [2009/06/02 11:59:03] <Volcane> but regsubst works on strings | ||
| [2009/06/02 11:59:23] <omry|work> aha | ||
| [2009/06/02 11:59:43] <omry|work> that makes sense, regsubst is my correction. I guess davids didn't think I was such a ruby noob. | ||
| [2009/06/02 11:59:52] <Volcane> not sure where davids's gsub function is but i assume it had handling for arrays | ||
| [2009/06/02 12:00:35] <omry|work> you think $ifs and $ifs_not are supposed to be strings or arrays? | ||
| [2009/06/02 12:01:01] <Volcane> not sure, split suggests an array would be the result to me | ||
| [2009/06/02 12:01:10] <omry|work> yeah | ||
| [2009/06/02 12:01:13] <omry|work> to me too. | ||
| [2009/06/02 12:01:18] @ Quit: Robbie: Remote closed the connection | ||
| [2009/06/02 12:01:36] <omry|work> so I probably want to iterate s and call regsubstr for each element | ||
| [2009/06/02 12:01:46] <omry|work> and create a new array | ||
| [2009/06/02 12:01:51] <omry|work> or change it inplace | ||
| [2009/06/02 12:02:33] @ Quit: gaveen: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 12:04:27] @ nevyn joined channel #puppet | ||
| [2009/06/02 12:05:33] <omry|work> Volcane, except this is not really ruby code, is it? so I can't easily insert logic there.. | ||
| [2009/06/02 12:05:53] <Volcane> yeah need to see what his gsub function did | ||
| [2009/06/02 12:06:15] <Volcane> it may have had some special handling for this stuff | ||
| [2009/06/02 12:07:44] <omry|work> private method `sub' called for ["eth0,eth1"] | ||
| [2009/06/02 12:07:46] <omry|work> strange | ||
| [2009/06/02 12:07:56] <omry|work> ["eth0,eth1"] looks like somewhat broken array | ||
| [2009/06/02 12:08:02] <omry|work> with one element instead of two | ||
| [2009/06/02 12:08:31] @ hamish joined channel #puppet | ||
| [2009/06/02 12:08:52] <omry|work> facter | grep eth | ||
| [2009/06/02 12:08:52] <omry|work> interfaces => eth0,eth1 | ||
| [2009/06/02 12:09:04] <omry|work> I think there was a bug in the code, split should be with , and not with ' ' | ||
| [2009/06/02 12:09:09] <omry|work> regardless of the current problem | ||
| [2009/06/02 12:10:04] <Volcane> yeah who knows, its possible that he has a funky interface fact too | ||
| [2009/06/02 12:10:18] <Volcane> really i find with DavidS puppet stuff anythig is possible :) | ||
| [2009/06/02 12:10:40] <Volcane> and mostly its some weird custom something or other thats the key to everything | ||
| [2009/06/02 12:10:43] <Volcane> so i just avoid them | ||
| [2009/06/02 12:11:25] <omry|work> well, I didn't see any other munin module | ||
| [2009/06/02 12:11:26] <omry|work> or mysql | ||
| [2009/06/02 12:11:50] <omry|work> my current approach with munin is only partially automated | ||
| [2009/06/02 12:11:53] <Volcane> yeah but the thing is, his modules are almost all old and for ancient puppets that lacked a lot of features so he extended it | ||
| [2009/06/02 12:12:05] <omry|work> and it gets tiring to run after it. | ||
| [2009/06/02 12:12:15] <Volcane> so the best approach is to study his module, and make your own based on what u learned from his minus all the extensions | ||
| [2009/06/02 12:13:01] <omry|work> Volcane, that would take more effort than I can put into it at the moment. | ||
| [2009/06/02 12:13:28] <omry|work> besides, my gap is too big for it to be worth the time. need to catch on ruby and on puppet current state | ||
| [2009/06/02 12:14:34] <Volcane> nods, well then best to wait till he is back and ask | ||
| [2009/06/02 12:15:05] <omry|work> yup | ||
| [2009/06/02 12:15:07] <omry|work> I guess | ||
| [2009/06/02 12:15:16] <Volcane> but you're right, for the current interfaces fact you'd split on ',' but still, then theres the array+regsubst problem | ||
| [2009/06/02 12:15:17] <omry|work> I`ll just disable the munin module for now. | ||
| [2009/06/02 12:15:34] @ sts left channel #puppet () | ||
| [2009/06/02 12:15:34] <omry|work> yeah, I`ll try to catch him later or tomorrow | ||
| [2009/06/02 12:16:50] <omry|work> I wonder if that code even runs | ||
| [2009/06/02 12:17:03] <omry|work> maybe I`m just wasting my time on something that I don't even need | ||
| [2009/06/02 12:17:35] <omry|work> how do I get the function to fail if it's entered? | ||
| [2009/06/02 12:17:46] <omry|work> (fail the puppet run) | ||
| [2009/06/02 12:18:03] <Volcane> raise Puppet::ParseError "foo" | ||
| [2009/06/02 12:18:14] <Volcane> you mean a function not a bit of puppet manifest right? | ||
| [2009/06/02 12:18:31] <omry|work> yeah | ||
| [2009/06/02 12:18:42] <omry|work> that entire interfaces thing | ||
| [2009/06/02 12:18:43] @ Quit: notbrien: | ||
| [2009/06/02 12:18:56] <omry|work> class munin::plugins::interfaces inherits munin::plugins::base { | ||
| [2009/06/02 12:18:56] <omry|work> raise Puppet::ParseError "interfaces is disabled" | ||
| [2009/06/02 12:19:00] <omry|work> not really eating this. | ||
| [2009/06/02 12:19:09] <Volcane> no thats not a function thats a puppet manifest | ||
| [2009/06/02 12:19:18] <omry|work> right | ||
| [2009/06/02 12:19:27] <Volcane> inside a manifest you'd just use file("foo") i think | ||
| [2009/06/02 12:19:29] <omry|work> can I get it to fail only if it's used? | ||
| [2009/06/02 12:19:33] <omry|work> fail? | ||
| [2009/06/02 12:19:39] <Volcane> yes fail typo :) | ||
| [2009/06/02 12:19:44] <omry|work> :) | ||
| [2009/06/02 12:20:06] <omry|work> gets called :( | ||
| [2009/06/02 12:20:08] <omry|work> nice try though :) | ||
| [2009/06/02 12:20:25] <nasrat> lak: no I'll have time next week for that though | ||
| [2009/06/02 12:20:29] <Volcane> it only fails if somethings including that class | ||
| [2009/06/02 12:20:56] <omry|work> you mean the interfaces class? | ||
| [2009/06/02 12:21:47] @ Quit: madrescher: "Leaving." | ||
| [2009/06/02 12:22:56] <omry|work> well, I`ll just wait for him | ||
| [2009/06/02 12:23:02] <omry|work> enough hacking for one evening. | ||
| [2009/06/02 12:24:15] @ Quit: alban3: Read error: 110 (Connection timed out) | ||
| [2009/06/02 12:26:08] @ Quit: masterzen: "Leaving" | ||
| [2009/06/02 12:26:33] @ Quit: aymerick: | ||
| [2009/06/02 12:31:06] @ Quit: MattyM: "ta ta" | ||
| [2009/06/02 12:31:20] @ Quit: jenza: "leaving" | ||
| [2009/06/02 12:31:28] @ plathrop is now known as plathrop-away | ||
| [2009/06/02 12:33:14] @ Jenza joined channel #puppet | ||
| [2009/06/02 12:35:36] @ Quit: grim_radical: "Leaving" | ||
| [2009/06/02 12:36:07] @ Quit: Jenza: Remote closed the connection | ||
| [2009/06/02 12:39:44] <SplasPood> hehe, hacking together puppet manifests is a bit addicting | ||
| [2009/06/02 12:39:54] <SplasPood> spent many late nights recently implementing just ONE MORE thing... :) | ||
| [2009/06/02 12:40:37] @ Jenza joined channel #puppet | ||
| [2009/06/02 12:40:49] @ Jenza left channel #puppet () | ||
| [2009/06/02 12:40:53] @ Jenza joined channel #puppet | ||
| [2009/06/02 12:42:27] @ andrewcshafer joined channel #puppet | ||
| [2009/06/02 12:43:32] @ Quit: Jenza: Client Quit | ||
| [2009/06/02 12:46:26] @ Quit: lak: | ||
| [2009/06/02 12:53:39] @ Quit: reyjrar: "Leaving" | ||
| [2009/06/02 12:56:09] @ pleemans joined channel #puppet | ||
| [2009/06/02 13:00:12] <fsweetser> one definition I'm heard of a sysadmin is someone who'll spend an hour automating a five minute job =) | ||
| [2009/06/02 13:03:58] <sigmonsays> fsweetser, heh. to play devils advocate, what if u do that job 10 times a day for a month straight? | ||
| [2009/06/02 13:04:27] @ Quit: Demosthenes: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 13:04:35] @ Demosthenes joined channel #puppet | ||
| [2009/06/02 13:07:04] <Telmo> has anyone been able to successfully enable environments in puppet? I've been hitting my head against the wall all day long and can't get it to work | ||
| [2009/06/02 13:08:01] <Telmo> without environments my modules work fine, the moment I try to implement environments none of my modules seem to be imported | ||
| [2009/06/02 13:09:04] @ Quit: briandquinn: | ||
| [2009/06/02 13:09:23] <Volcane> Telmo: works a charm for me | ||
| [2009/06/02 13:10:07] <Telmo> what am I supposed to put in the site.pp for each environment? I've gone as far as to copy the general site.pp in each one of the environments | ||
| [2009/06/02 13:10:34] <Volcane> whatever is appropriate really, u do need to include nodes | ||
| [2009/06/02 13:10:47] <Volcane> and thats the least u need, all i do anyway cos all my stuff is in modules | ||
| [2009/06/02 13:10:51] <Volcane> import nodes even | ||
| [2009/06/02 13:11:08] @ DavidS joined channel #puppet | ||
| [2009/06/02 13:11:09] <Telmo> oh.. I need to include individual nodes? nodes don't ask for the files pertinent to their environment? | ||
| [2009/06/02 13:11:14] <DavidS> re | ||
| [2009/06/02 13:11:29] <Volcane> Telmo: they do, but u still need the node {} blocks | ||
| [2009/06/02 13:11:31] <DavidS> omry|work: stillthere? | ||
| [2009/06/02 13:11:33] @ Quit: bgupta: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 13:11:41] <Volcane> DavidS: where is your gsub function? | ||
| [2009/06/02 13:11:57] <Telmo> so I can just put a node default {} and that "should" work? | ||
| [2009/06/02 13:11:59] <DavidS> Volcane: removed, use the official regsubst now | ||
| [2009/06/02 13:12:00] @ Demosthenex joined channel #puppet | ||
| [2009/06/02 13:12:04] <Volcane> DavidS: he was have issues where split obviously return an array but regsubst needs strings | ||
| [2009/06/02 13:12:08] <Volcane> DavidS: so it was failing | ||
| [2009/06/02 13:12:19] @ Quit: nasrat: "Ex-Chat" | ||
| [2009/06/02 13:12:28] <Volcane> Telmo: sure if all u need is a default node, how do you usually do node resources before environments came? | ||
| [2009/06/02 13:12:38] <DavidS> ugh, i noticed that rebsubst's interface is not totally compatible. but that is really bad .-( | ||
| [2009/06/02 13:13:09] <Volcane> so i wanted to look at your gsub function but couldnt find it so i gave up :) | ||
| [2009/06/02 13:13:40] <Telmo> they were all under the "default" unless they were specific classes like weblogic or oracle where they would inherit the specific node definition for their class | ||
| [2009/06/02 13:13:52] <Volcane> Telmo: right | ||
| [2009/06/02 13:13:57] <Volcane> Telmo: well then just do the same | ||
| [2009/06/02 13:14:10] <Telmo> I'll give that a try | ||
| [2009/06/02 13:17:02] @ Quit: fujin: | ||
| [2009/06/02 13:17:08] @ ezmob joined channel #puppet | ||
| [2009/06/02 13:17:52] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/02 13:18:46] @ pleemans joined channel #puppet | ||
| [2009/06/02 13:19:37] <DavidS> Volcane: just go back a few commits in the common module: http://git.black.co.at/?p=module-common;a=tree;f=plugins/puppet/parser/functions;h=c73c38a69087e2f012a68d3b151129c2fcf370b0;hb=9a2c68367f8ac75ce52e315253d28f6710a80702 | ||
| [2009/06/02 13:20:29] <Volcane> ah yeah, you cant replace gsub for regsubst then | ||
| [2009/06/02 13:20:34] <Volcane> yours is much nicert | ||
| [2009/06/02 13:20:35] @ Quit: zeroXten: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 13:20:36] <Volcane> nicer | ||
| [2009/06/02 13:20:48] <DavidS> hrmpf, will re-enable it then ... | ||
| [2009/06/02 13:22:34] @ Quit: Demosthenes: Read error: 110 (Connection timed out) | ||
| [2009/06/02 13:22:55] @ Quit: poison: Remote closed the connection | ||
| [2009/06/02 13:23:10] <DavidS> pushed | ||
| [2009/06/02 13:23:16] <DavidS> omry|work: sorry for the hassle | ||
| [2009/06/02 13:25:14] @ mmm9 joined channel #puppet | ||
| [2009/06/02 13:32:08] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/06/02 13:34:37] @ Tuf8 joined channel #puppet | ||
| [2009/06/02 13:35:50] @ Quit: mmm9: "Leaving..." | ||
| [2009/06/02 13:42:15] <Telmo> that worked like a charm, thanks Volcane | ||
| [2009/06/02 13:44:14] @ Quit: mccune: "Leaving." | ||
| [2009/06/02 13:44:46] @ pleemans joined channel #puppet | ||
| [2009/06/02 13:45:03] @ mccune joined channel #puppet | ||
| [2009/06/02 13:46:03] @ nigelk joined channel #puppet | ||
| [2009/06/02 13:51:35] <Telmo> I understand why the puppet name was cool for this app.. but man.. it hell when you are google'ing for something like "puppet redundancy" | ||
| [2009/06/02 13:52:32] <Volcane> puppet high availability would be better | ||
| [2009/06/02 13:53:14] @ Quit: cmoates: Read error: 110 (Connection timed out) | ||
| [2009/06/02 13:53:18] <nigelk> I think lak regrets picking a generic name for Puppet | ||
| [2009/06/02 13:53:39] <Volcane> better than "chef" :) | ||
| [2009/06/02 13:53:52] <nigelk> Has anyone managed to get 0.25.x working on Dapper with Passenger? | ||
| [2009/06/02 13:54:01] @ Quit: maek: | ||
| [2009/06/02 13:54:02] <sigmonsays> the name is great. who doesn't want to see pictures of alf | ||
| [2009/06/02 13:56:03] <joe-mac> i like the name puppet | ||
| [2009/06/02 13:56:07] <joe-mac> i wouldn't have it any other way | ||
| [2009/06/02 13:56:15] <joe-mac> unless it was "Das Puppet" | ||
| [2009/06/02 13:56:53] <joe-mac> is passenger the new like, standard way to load balance? i'm doing apache with mod_proxy_balancer, wonderingf if i should start to migrate to passenger... | ||
| [2009/06/02 13:57:22] <sigmonsays> *insert xyz here* | ||
| [2009/06/02 13:57:33] <Volcane> its the flavour of the moment for ruby web app hosting | ||
| [2009/06/02 13:58:10] <sigmonsays> i know people who did it with apache and haproxy too | ||
| [2009/06/02 13:58:30] <Volcane> yeah but with normal proxying you'd still be using webrick in the back | ||
| [2009/06/02 13:58:54] <joe-mac> i use mongrel for each master being the balancer | ||
| [2009/06/02 13:58:57] <Volcane> apache et al is there with mongrel to take care of the ssl | ||
| [2009/06/02 13:59:24] <sigmonsays> right | ||
| [2009/06/02 13:59:26] <Telmo> joe-mac: its not really proxy balancer, it just allows you to run puppetmaster as a rack app | ||
| [2009/06/02 13:59:27] * sigmonsays uses apache | ||
| [2009/06/02 13:59:41] <joe-mac> o i c | ||
| [2009/06/02 13:59:46] <Telmo> I am using passenger it works pretty good | ||
| [2009/06/02 14:00:45] @ nakano is now known as nakano_ | ||
| [2009/06/02 14:02:08] <Telmo> Volcane: I remembered you giving some stats on the number of clients served by your master and what the load was at, what do you think a master needs hardware wise to support around 3k clients? | ||
| [2009/06/02 14:02:23] <Volcane> several masters in that case | ||
| [2009/06/02 14:02:32] <nigelk> depends how often they're puppeting | ||
| [2009/06/02 14:02:42] <nigelk> and how intensive the server side load is for your manifests | ||
| [2009/06/02 14:02:45] <Telmo> ok, so I need to keep figuring out how to do HA on it then | ||
| [2009/06/02 14:02:54] @ justindossey joined channel #puppet | ||
| [2009/06/02 14:02:58] <nigelk> HA is hard with environments in 0.24.x | ||
| [2009/06/02 14:03:19] <Telmo> easier in the new beta? | ||
| [2009/06/02 14:03:25] <nigelk> yes | ||
| [2009/06/02 14:04:19] <Telmo> well right now we are only doing testing in about 100 systems, I am sure 0.25 will be out when we are ready to deploy full escale | ||
| [2009/06/02 14:06:28] <Volcane> if you just have multiple masters with the same CA shouldnt you be able to put just a LB infront? not tried just curious | ||
| [2009/06/02 14:08:17] <Telmo> We'll probably go the Veritas Cluster way | ||
| [2009/06/02 14:08:24] <Telmo> but I need to figure out how to get it done | ||
| [2009/06/02 14:08:36] <Telmo> anyway, have a meeting to go, ttl | ||
| [2009/06/02 14:09:51] <nigelk> Volcane: 0.24.x is problematic with environments and LB | ||
| [2009/06/02 14:10:03] <nigelk> as individual file requests don't contain the environment information for the clients | ||
| [2009/06/02 14:10:03] <Volcane> yeah? | ||
| [2009/06/02 14:10:07] <Volcane> ah i see | ||
| [2009/06/02 14:10:08] <Volcane> that sux | ||
| [2009/06/02 14:10:22] <nigelk> the client environment comes from the cached information at the first stage of hte puppet run that goes to yaml | ||
| [2009/06/02 14:10:30] <Volcane> right, yeah thats a pity | ||
| [2009/06/02 14:10:36] <nigelk> fixed in 0.25 | ||
| [2009/06/02 14:10:48] <Volcane> so far all i have is reports going to another server no actual LBing so no problems yet | ||
| [2009/06/02 14:11:00] <ch> one could share the yamldir, no? | ||
| [2009/06/02 14:11:11] <nigelk> ch: the risk of corruption there worries me | ||
| [2009/06/02 14:11:16] <DavidS> nigelk: how's that working out when using mongrel? | ||
| [2009/06/02 14:11:25] <nigelk> I've managed to provoke corrupted yamls sharing the yaml dir | ||
| [2009/06/02 14:11:26] <ch> yeah that may be a problem | ||
| [2009/06/02 14:11:34] <Volcane> nigelk: surely a shared yaml dir is exactly the same as multiple masters behind apache talking to the same yaml dir? | ||
| [2009/06/02 14:11:39] <nigelk> DavidS: which? 0.25 ? | ||
| [2009/06/02 14:11:49] <nigelk> Volcane: you would think so. | ||
| [2009/06/02 14:11:53] <DavidS> when using environments, one can always use different servers in different environments, no? | ||
| [2009/06/02 14:11:54] <nigelk> but in practice it differs | ||
| [2009/06/02 14:11:57] <DavidS> nigelk: no, in 0.24 | ||
| [2009/06/02 14:11:58] <Volcane> you still have many sep processes talking to it | ||
| [2009/06/02 14:12:02] <Volcane> nigelk: odd | ||
| [2009/06/02 14:12:12] <Volcane> nigelk: wonder what the story is there | ||
| [2009/06/02 14:12:28] <nigelk> DavidS: we have many more environments than servers :) | ||
| [2009/06/02 14:13:20] <joe-mac> nigelk: i'm curious, when you provision a machine, what do you do to make sure it enters the right environment? different networks | ||
| [2009/06/02 14:13:22] <joe-mac> ? | ||
| [2009/06/02 14:13:30] <nigelk> we have an environment fact | ||
| [2009/06/02 14:13:35] <Volcane> yeah i use a fact too | ||
| [2009/06/02 14:13:36] <nigelk> that supplies the environment information. | ||
| [2009/06/02 14:13:41] * joe-mac just fixed my herman miller to not go all the way back with no resistance | ||
| [2009/06/02 14:13:46] <nigelk> it works out whether you've configured your machine to be unstable, testing or stable. | ||
| [2009/06/02 14:13:48] <joe-mac> this is the most productive vaca i have ever had | ||
| [2009/06/02 14:13:52] <nigelk> and whether it's a Mac, Linux or Solaris machine | ||
| [2009/06/02 14:13:53] <joe-mac> hmm, a fact ok | ||
| [2009/06/02 14:14:02] <nigelk> and whether it's a desktop/laptop or server | ||
| [2009/06/02 14:14:19] <joe-mac> nigelk: is this fact proprietary or public info? | ||
| [2009/06/02 14:14:45] <nigelk> it's not particularly secret, but makes use of stuff that's pretty special for us I guess | ||
| [2009/06/02 14:14:50] @ lak joined channel #puppet | ||
| [2009/06/02 14:15:05] <joe-mac> i c | ||
| [2009/06/02 14:15:10] <nigelk> on ubuntu we use debconf to set your "track" like unstable,testing,stable | ||
| [2009/06/02 14:15:14] <nigelk> on OS X we store it in a plist | ||
| [2009/06/02 14:15:18] <Volcane> joe-mac: any fact that sets the 'environment' fact will do, so just code something that fits your logic and environment | ||
| [2009/06/02 14:15:21] <nigelk> in Solaris we use a text config file | ||
| [2009/06/02 14:15:23] @ notbrien joined channel #puppet | ||
| [2009/06/02 14:15:42] <Volcane> joe-mac: maybe you determine it based on subnet address, or based on dns or whatever | ||
| [2009/06/02 14:15:55] <joe-mac> hmm, so it's preferred to set the fact and not through the puppet.conf? | ||
| [2009/06/02 14:16:23] <nigelk> joe-mac: I think it depends on your environment (no pun intended) | ||
| [2009/06/02 14:16:23] <nico> ipv6 will fix this kind of problems \o/ | ||
| [2009/06/02 14:16:25] <Volcane> whatever works for you is preferred, like if you have some way to set a per environment puppet.conf then that will be fine | ||
| [2009/06/02 14:16:41] <Volcane> i have a little text file full of facts that gets loaded, so i just make sure a node has facts | ||
| [2009/06/02 14:17:01] <nigelk> We like having a template for puppet.conf that doesn't include the environment | ||
| [2009/06/02 14:18:11] @ Quit: omry|work: Read error: 60 (Operation timed out) | ||
| [2009/06/02 14:18:33] <nigelk> huh. I wish I could get 0.25.x working with passenger... | ||
| [2009/06/02 14:18:43] <nigelk> 0.25.x on webrick is outperforming 0.24.8 on passenger ..... | ||
| [2009/06/02 14:18:43] @ omry|work joined channel #puppet | ||
| [2009/06/02 14:18:48] <nigelk> (for a single client) | ||
| [2009/06/02 14:18:52] @ poison joined channel #puppet | ||
| [2009/06/02 14:19:18] <ch> nigelk: I thought it already worked for you with passenger? | ||
| [2009/06/02 14:19:23] @ kolla joined channel #puppet | ||
| [2009/06/02 14:19:37] <nigelk> nope. I haven't spent much time on 0.25 lately, and not on Dapper at all | ||
| [2009/06/02 14:19:55] @ nasrat joined channel #puppet | ||
| [2009/06/02 14:20:06] <ch> ah, so it's actually passenger on dapper what's giving you the headache? | ||
| [2009/06/02 14:20:23] <nigelk> y | ||
| [2009/06/02 14:20:31] <nigelk> well I have passenger working with 0.24.8 on dapper | ||
| [2009/06/02 14:20:45] <nigelk> just can't get the rack app to work with 0.25 (using the new config.ru) | ||
| [2009/06/02 14:20:57] <ch> well you need passenger to be of the version in the readme, or newer | ||
| [2009/06/02 14:21:07] <ch> older passenger versions bundle an old rack gem, which doesn't work | ||
| [2009/06/02 14:21:35] <nigelk> sure. I'm on 2.2.2 | ||
| [2009/06/02 14:21:51] <nigelk> and the newer rack whatever that was | ||
| [2009/06/02 14:22:50] @ claymation joined channel #puppet | ||
| [2009/06/02 14:23:22] @ grey- joined channel #puppet | ||
| [2009/06/02 14:23:38] @ gaveen joined channel #puppet | ||
| [2009/06/02 14:25:27] @ Quit: Demosthenex: "Lost terminal" | ||
| [2009/06/02 14:29:10] <justindossey> haha-- from the man page for resolv.conf: On a normally configured system this file should not be necessary. The only name server to be queried will be on the local machine; the domain name is determined from the hostname and the domain search path is constructed from the domain name. | ||
| [2009/06/02 14:29:35] <justindossey> because it's normal to run a nameserver on every machine | ||
| [2009/06/02 14:29:48] * Volcane runs caching servers on his main app servers | ||
| [2009/06/02 14:30:14] <justindossey> would you consider that the "normal" configuration for a server though? | ||
| [2009/06/02 14:30:29] <justindossey> or heck, a desktop machine? | ||
| [2009/06/02 14:30:35] <Volcane> heh, if local resolvers caches were lighter i would yes | ||
| [2009/06/02 14:30:58] <Volcane> all windows machiens for example run local resolver caches, feckloads of debian machines do (nscd, not quite the same) | ||
| [2009/06/02 14:31:07] <justindossey> yeah nscd isn't the same | ||
| [2009/06/02 14:31:44] <Volcane> but windows for example runs local caches that query upstream configured, actually windows resolver cache is maybe closer to nscd than lets say bind-caching-server | ||
| [2009/06/02 14:33:01] <justindossey> yeah you still have to set name server IPs in windows, osx, etc | ||
| [2009/06/02 14:33:22] <Volcane> that could just be to configure the forwarding query source, would be sensible | ||
| [2009/06/02 14:33:26] @ FreakGuard joined channel #puppet | ||
| [2009/06/02 14:33:34] <Volcane> I would put caches everywhere if there were really light ones | ||
| [2009/06/02 14:33:49] <Volcane> all my dom0's run a cache and domUs are set to query that for example | ||
| [2009/06/02 14:34:35] <justindossey> even ISC BIND isn't heavy in most cases though, you really could have a local named instance on every machine if you wanted to. I just wouldn't consider that setup typical | ||
| [2009/06/02 14:34:51] <jrojas> anyone experience the yumhelper.py stack traces when a server is loaded or doing a lot fo traffic? | ||
| [2009/06/02 14:35:01] <justindossey> and most of the admins I know would be shocked to find a machine without resolv.conf | ||
| [2009/06/02 14:35:24] <jbk> heh.. | ||
| [2009/06/02 14:35:50] <Volcane> justindossey: i agree its not typical, but i think given a option of say something very small thats std i would be perfectly happy with it - esp if it would read resolv.conf to set itself up for a forwarder (like dnsmasq does) | ||
| [2009/06/02 14:36:08] <jbk> i once had a developer tell me we couldn't use DNS (had to use IPs) with their $$$ application because it'd be too slow to resolve hostnames | ||
| [2009/06/02 14:36:10] <FreakGuard> I suppose puppet clients do support windows machines? | ||
| [2009/06/02 14:36:38] <jrojas> FreakGuard: not yet | ||
| [2009/06/02 14:36:40] <Volcane> jbk: i hate how java apps by default just ignore ttls and caches answers forever | ||
| [2009/06/02 14:36:44] <FreakGuard> jrojas, oh | ||
| [2009/06/02 14:36:49] <jrojas> FreakGuard: search the mailing list, you will find multiple threads on it | ||
| [2009/06/02 14:36:53] <justindossey> jbk: optimization-itis | ||
| [2009/06/02 14:36:55] <jrojas> FreakGuard: puppet-dev and puppet-users | ||
| [2009/06/02 14:37:36] <FreakGuard> jrojas, hm... months or years? | ||
| [2009/06/02 14:37:39] <jbk> Volcane: they at least usually have an excuse -- they probably just do a gethostbyname() under the covers and just store the value (which doesn't return a TTL) | ||
| [2009/06/02 14:37:41] <jrojas> weeks | ||
| [2009/06/02 14:37:43] <jrojas> maybe months | ||
| [2009/06/02 14:37:52] <jbk> justindossey: oh I know it was BS | ||
| [2009/06/02 14:39:30] <FreakGuard> jrojas, thanks for the info | ||
| [2009/06/02 14:39:38] <justindossey> jbk: yeah, but I am willing to imagine the developer was confused-- resolving a whole lot of IPs, say for a webserver access log, really can slow down a server. If he was unclear on the reasons, it's not too much of a stretch to conclude that all DNS lookups should be avoided. | ||
| [2009/06/02 14:39:58] @ Demosthenes joined channel #puppet | ||
| [2009/06/02 14:40:03] <jbk> it wasn't a webserver | ||
| [2009/06/02 14:40:15] <jbk> this was for things like specifying other systems it should connect to | ||
| [2009/06/02 14:40:24] <jbk> which in a large enterprise was a major PITA | ||
| [2009/06/02 14:40:25] <justindossey> jbk: at the same time, it's our responsibilty to understand the systems we're working with, especially if we're selling something that use them | ||
| [2009/06/02 14:40:32] <justindossey> jbk: I understand | ||
| [2009/06/02 14:40:38] <jbk> basically it was a copout because their software was crap | ||
| [2009/06/02 14:40:41] <jbk> and wouldn't scale | ||
| [2009/06/02 14:40:51] <jbk> and cost well into the 7 figures | ||
| [2009/06/02 14:41:06] <justindossey> jbk: been there | ||
| [2009/06/02 14:41:14] <jbk> (and ended up costing this company to write off about 10 figures in sunk costs) | ||
| [2009/06/02 14:41:23] <justindossey> jbk: and it only seems to come out that it's crap after your boss buys it :) | ||
| [2009/06/02 14:42:02] <justindossey> I once had my boss run a crap program by me, I said it's crap, my boss told his boss it's crap, and they demoted my boss and bought it anyway | ||
| [2009/06/02 14:42:12] <Volcane> wow | ||
| [2009/06/02 14:42:29] <jbk> *shrug* i'm no longer at that place so oh well.. | ||
| [2009/06/02 14:42:43] <jbk> it was plainly obvious | ||
| [2009/06/02 14:44:06] <jbk> when the existing system ran on an E15k + 3 6800s, and the new system required 4 HP superdomes, 16 V890s, and like 30 L boxes, and still fell down handling less than 1/16th the load of the existing system | ||
| [2009/06/02 14:44:21] <ch> nigelk: if you've got an error or something, pastie me please | ||
| [2009/06/02 14:44:33] <nigelk> I can't get it to log anything :( | ||
| [2009/06/02 14:44:47] <nigelk> it's rather frustrating. nothing to the puppet log, nothing special to the apache logs | ||
| [2009/06/02 14:45:00] <ch> is there anything if you point your browser to https://puppetmaster:8140/ ? | ||
| [2009/06/02 14:45:09] <nigelk> doh! you suggested this last time... :) | ||
| [2009/06/02 14:45:14] <ch> like, a fancy passenger error page? | ||
| [2009/06/02 14:45:14] <justindossey> jbk: wow | ||
| [2009/06/02 14:45:14] <nigelk> and I forgot. again. | ||
| [2009/06/02 14:45:23] <ch> :-) | ||
| [2009/06/02 14:45:44] <jbk> yeah.. we knew it was jsut a matter of if, not when the thing would be scrapped :) | ||
| [2009/06/02 14:45:45] <ch> it's a bit silly that passenger doesn't log anything if it can't start the app | ||
| [2009/06/02 14:45:46] * nigelk adds exception, gets certificate, confirms security exception, and curses Firefox | ||
| [2009/06/02 14:45:51] <jbk> err when not if | ||
| [2009/06/02 14:45:58] <ch> :> | ||
| [2009/06/02 14:46:04] * chadh_ lol @ nigelk. | ||
| [2009/06/02 14:46:08] <ch> if you can, use chrome for this ;) | ||
| [2009/06/02 14:46:16] <nigelk> Oh I can. :) | ||
| [2009/06/02 14:46:25] <nigelk> it's busy atm | ||
| [2009/06/02 14:46:27] <chadh_> I think they need a few more clicks | ||
| [2009/06/02 14:46:28] <Volcane> yeah damn firefox for that | ||
| [2009/06/02 14:46:30] <nigelk> no such file to load -- rack/builder | ||
| [2009/06/02 14:46:35] <nigelk> damnit. | ||
| [2009/06/02 14:47:55] @ chadh_ is now known as chadh | ||
| [2009/06/02 14:49:08] <ch> now that's strange. | ||
| [2009/06/02 14:49:44] <nigelk> yeah. I have builder 2.1.2 installed via gems | ||
| [2009/06/02 14:49:57] <nigelk> and via irb can do the rubygems, rack, rack/builder require dance | ||
| [2009/06/02 14:50:20] <coofamani> you can define nodes/classes, etc... anywhere you want right? ie classes in site.pp... | ||
| [2009/06/02 14:50:26] <coofamani> just out of curiosity | ||
| [2009/06/02 14:51:37] <ch> nigelk: are you modifying RUBYLIB stuff by any chance? | ||
| [2009/06/02 14:51:42] <nigelk> nope | ||
| [2009/06/02 14:51:53] <ch> nigelk: any older rack version on the system, somewhere? | ||
| [2009/06/02 14:52:07] <nigelk> I just trashed 0.9.1 for that very reason | ||
| [2009/06/02 14:52:42] @ Quit: jmarki: Remote closed the connection | ||
| [2009/06/02 14:53:24] <nigelk> oh wait.... | ||
| [2009/06/02 14:53:45] <nigelk> nope. gah. | ||
| [2009/06/02 14:54:29] <pastie> ch: http://pastie.org/498113 by nigelk. | ||
| [2009/06/02 14:55:09] <ch> that looks fine | ||
| [2009/06/02 14:55:13] <nigelk> yeah. | ||
| [2009/06/02 14:56:22] <ch> I can try to replicate your setup un dapper later or tomorrow... | ||
| [2009/06/02 14:56:59] <ch> (there's no rack via debian packages, no?) | ||
| [2009/06/02 14:57:03] <nigelk> nope | ||
| [2009/06/02 14:57:09] <nigelk> we use gem2deb to create debs internally | ||
| [2009/06/02 14:57:24] <nigelk> but that's not what I'm doing here yet | ||
| [2009/06/02 15:00:07] <ch> and you are not using REE, right? | ||
| [2009/06/02 15:00:19] <tessier_> Does puppet have much in the way of provisions for dealing with selinux? | ||
| [2009/06/02 15:00:19] <nigelk> oh this is ruby ee | ||
| [2009/06/02 15:00:19] <ch> btw, where do I get rubygems for dapper? my dapper install doesn't have that | ||
| [2009/06/02 15:00:30] <nigelk> ch: is that a problem? I can back that out | ||
| [2009/06/02 15:00:42] <ch> nigelk: it shouldn't be | ||
| [2009/06/02 15:00:49] <ch> just asking so I can replicate that | ||
| [2009/06/02 15:01:03] <nigelk> sure. You don't have to go to too much effort though. I'm happy to keep poking at this. | ||
| [2009/06/02 15:01:09] <ch> your rubygems list is from EE? | ||
| [2009/06/02 15:01:16] <nigelk> yeah, I've replaced the ruby stack | ||
| [2009/06/02 15:01:28] <nigelk> basically taken the brightbox hardy debs and backported to dapper | ||
| [2009/06/02 15:06:24] <ch> btw, can you pastie the entire error page? | ||
| [2009/06/02 15:06:35] <ch> so I get to see where it errors out | ||
| [2009/06/02 15:07:04] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/02 15:08:35] @ briandquinn joined channel #puppet | ||
| [2009/06/02 15:08:39] <nigelk> the html page? sure | ||
| [2009/06/02 15:08:47] <nigelk> it's not particularly illimunating | ||
| [2009/06/02 15:09:12] <nigelk> http://pastie.org/498148 | ||
| [2009/06/02 15:09:25] @ Quit: davelj: | ||
| [2009/06/02 15:10:09] @ Quit: joe-mac: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 15:10:32] @ mfoster left channel #puppet () | ||
| [2009/06/02 15:12:31] <ch> doh. | ||
| [2009/06/02 15:12:46] <ch> you took config.ru from 0.25? | ||
| [2009/06/02 15:13:19] <ch> it's interesting that it thinks require 'rack/builder' fails on line 1 of config.ru, but this shouldn't be in the file | ||
| [2009/06/02 15:13:38] <ch> I think this actually fails earlier, still inside Passenger... | ||
| [2009/06/02 15:13:45] <ch> might want to try another rack app | ||
| [2009/06/02 15:13:54] <nigelk> yeah, I was going to poke around for a test app | ||
| [2009/06/02 15:14:56] <nigelk> this is 2.2.2 installed from source. I haven't done a deb of it yet | ||
| [2009/06/02 15:15:10] <nigelk> the issues with broken pipes I've been seeing on the dev lists have kind of turned me off a little | ||
| [2009/06/02 15:15:29] <nigelk> ah. I'm on prefork apache... I wonder if that's it | ||
| [2009/06/02 15:16:27] <nigelk> fwiw Server Version: Apache/2.0.55 (Ubuntu) Phusion_Passenger/2.2.2 mod_ssl/2.0.55 OpenSSL/0.9.8a | ||
| [2009/06/02 15:17:34] @ ryanduff|away is now known as ryanduff | ||
| [2009/06/02 15:28:20] <d3vilb0x> i'm running puppet 0.24.8, installed from epel, on a RHEL 5.3 box. I've created some puppet modules and in one of them i attempt to add a user that has his home directory created using the managehome => true flag. I run puppet in the %post of a ks and while the user is getting added the home directory of the user is not created. If i run puppet after the installation is complete the users home directory is successfully added. Anyone have any ideas | ||
| [2009/06/02 15:30:04] @ Quit: Josh_M: Read error: 110 (Connection timed out) | ||
| [2009/06/02 15:30:23] <fsweetser> do you have the ruby-shadow package installed? | ||
| [2009/06/02 15:30:43] @ Quit: sigmonsays: "Leaving" | ||
| [2009/06/02 15:31:46] <d3vilb0x> yes | ||
| [2009/06/02 15:32:01] <ch> nigelk: installed REE from source, works fine for me on dapper | ||
| [2009/06/02 15:32:34] <ch> Server: Apache/2.0.55 (Ubuntu) mod_ssl/2.0.55 OpenSSL/0.9.8a Phusion_Passenger/2.2.2 | ||
| [2009/06/02 15:33:26] @ bendsu joined channel #puppet | ||
| [2009/06/02 15:34:27] <nico> does someone has a procedure about changing puppetmaster certificates ? | ||
| [2009/06/02 15:35:41] @ tecto joined channel #puppet | ||
| [2009/06/02 15:36:45] <jrojas> nico: do you want to generate new ones? | ||
| [2009/06/02 15:37:33] <nico> and make them accepted by the clients | ||
| [2009/06/02 15:38:12] <jrojas> i believe if you rm -rf /var/lib/puppet/ssl on the clients and whatever the cert dir is on the puppetmaster, it will re-generate the ca cert | ||
| [2009/06/02 15:38:22] <jrojas> then you have to make sure your clients get the new one | ||
| [2009/06/02 15:38:30] <jrojas> test it by moving the dirs out of there and see what happens | ||
| [2009/06/02 15:44:31] <cwebber> is it possible to fire puppet to grab the catalog and not do anything? | ||
| [2009/06/02 15:44:45] <nico> --dry-run | ||
| [2009/06/02 15:44:47] <jrojas> --noop | ||
| [2009/06/02 15:44:49] <cwebber> i want to build a nagios check for the puppet master | ||
| [2009/06/02 15:44:53] <nico> yes, that one | ||
| [2009/06/02 15:45:01] <cwebber> *puppetmaster | ||
| [2009/06/02 15:46:34] @ unpaidbill joined channel #puppet | ||
| [2009/06/02 15:46:58] <cwebber> hmmmm | ||
| [2009/06/02 15:47:24] <cwebber> the next problem will be allowing puppet to be run by the nagios user | ||
| [2009/06/02 15:54:19] @ ezmob is now known as ezmob|away | ||
| [2009/06/02 15:55:08] @ Quit: lak: | ||
| [2009/06/02 15:59:59] @ mfoster joined channel #puppet | ||
| [2009/06/02 16:02:45] @ cmoates joined channel #puppet | ||
| [2009/06/02 16:04:44] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 16:04:45] @ Quit: drmikecrowe: Read error: 60 (Operation timed out) | ||
| [2009/06/02 16:05:41] @ Quit: gaveen: No route to host | ||
| [2009/06/02 16:06:16] @ Innocenti joined channel #puppet | ||
| [2009/06/02 16:08:31] @ Quit: tecto: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 16:11:44] @ madrescher joined channel #puppet | ||
| [2009/06/02 16:12:10] @ bacs joined channel #puppet | ||
| [2009/06/02 16:14:26] @ Quit: briandquinn: Read error: 110 (Connection timed out) | ||
| [2009/06/02 16:16:19] @ Quit: Demosthenes: "leaving" | ||
| [2009/06/02 16:17:25] @ lak joined channel #puppet | ||
| [2009/06/02 16:17:40] @ Quit: lak: Client Quit | ||
| [2009/06/02 16:18:16] @ Demosthenes joined channel #puppet | ||
| [2009/06/02 16:20:31] @ Quit: nasrat: Read error: 110 (Connection timed out) | ||
| [2009/06/02 16:21:39] @ grim_radical joined channel #puppet | ||
| [2009/06/02 16:25:25] @ Quit: yure_: Remote closed the connection | ||
| [2009/06/02 16:25:58] @ CaptainCupcake_ joined channel #puppet | ||
| [2009/06/02 16:28:43] <nigelk> ch: did you install all the dependencies via gems ? | ||
| [2009/06/02 16:29:36] @ aymerick joined channel #puppet | ||
| [2009/06/02 16:30:13] @ MattyM joined channel #puppet | ||
| [2009/06/02 16:30:49] <ch> nigelk: http://pastie.org/498259 | ||
| [2009/06/02 16:30:51] @ CaptainCupcake__ joined channel #puppet | ||
| [2009/06/02 16:30:57] <ch> I installed facter from the tgz though | ||
| [2009/06/02 16:31:06] <nigelk> ta | ||
| [2009/06/02 16:31:16] <ch> all the other stuff shipped with REE | ||
| [2009/06/02 16:31:19] <nigelk> how did you get away without needing builder etc ? | ||
| [2009/06/02 16:31:20] <nigelk> ah | ||
| [2009/06/02 16:33:34] <nigelk> I wonder if my 1.8.6.20090201 Ruby EE is the issue as the latest is 1.8.6-20090520 | ||
| [2009/06/02 16:34:30] @ ezmob|away is now known as ezmob | ||
| [2009/06/02 16:36:32] @ briandquinn joined channel #puppet | ||
| [2009/06/02 16:39:42] @ nakano_ is now known as nakano | ||
| [2009/06/02 16:41:42] <ch> yeah I'm on 1.8.6-20090520 | ||
| [2009/06/02 16:42:03] @ Quit: d3vilb0x: Read error: 60 (Operation timed out) | ||
| [2009/06/02 16:42:18] @ hekaldama joined channel #puppet | ||
| [2009/06/02 16:42:26] <ch> you shouldn't need builder btw, rack/builder is inside rack | ||
| [2009/06/02 16:42:34] @ pleemans joined channel #puppet | ||
| [2009/06/02 16:43:10] @ Quit: CaptainCupcake: Read error: 113 (No route to host) | ||
| [2009/06/02 16:44:22] @ Quit: gaveen_: Connection timed out | ||
| [2009/06/02 16:44:38] @ kambiz is now known as kambiz_away | ||
| [2009/06/02 16:45:07] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 16:50:18] @ anarcat joined channel #puppet | ||
| [2009/06/02 16:50:24] <anarcat> hey i have a question about best practices | ||
| [2009/06/02 16:50:28] @ Quit: CaptainCupcake_: Read error: 113 (No route to host) | ||
| [2009/06/02 16:50:36] <anarcat> http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice#managing-users | ||
| [2009/06/02 16:51:46] <anarcat> in here it talks about a user module to define users, but it doesn't say how to define groups... in the user module? | ||
| [2009/06/02 16:52:12] @ bacs left channel #puppet ("Konversation terminated!") | ||
| [2009/06/02 16:52:34] <nigelk> ch: yeah from source is fine | ||
| [2009/06/02 16:53:05] @ Quit: rgsteele||work: Remote closed the connection | ||
| [2009/06/02 16:56:52] <hekaldama> hi all, can anyone point me in the right direction of fixing this client to master communication problem http://pastie.org/498308 ? | ||
| [2009/06/02 16:58:17] @ jbooth joined channel #puppet | ||
| [2009/06/02 16:59:15] <wakko666> has anyone seen any issues on RHEL4.8 with puppet not doing catalog runs? i just updated several systems from earlier patch levels of RHEL, and now puppet seems to think there are multiple instances running when there isn't. | ||
| [2009/06/02 17:03:31] @ Quit: aymerick: | ||
| [2009/06/02 17:05:49] @ lak joined channel #puppet | ||
| [2009/06/02 17:06:07] <wakko666> has anyone seen any issues on RHEL4.8 with puppet not doing catalog runs? i just updated several systems from earlier patch levels of RHEL, and now puppet seems to think there are multiple instances running when there isn't. | ||
| [2009/06/02 17:07:23] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/06/02 17:07:40] <Volcane> wakko666: few people here reported similar, dont think we've figured it out yet | ||
| [2009/06/02 17:08:56] <wakko666> Volcane: thanks. i couldn't find much reason for it, other than possibly the ruby and ruby-libs updates. The CVEs they fixed may have changed behavior that puppet was relying on. | ||
| [2009/06/02 17:10:46] @ CaptainCupcake joined channel #puppet | ||
| [2009/06/02 17:12:42] <hekaldama> still having that problem, bummer | ||
| [2009/06/02 17:18:54] @ joe-mac joined channel #puppet | ||
| [2009/06/02 17:19:59] <DavidS> @|#!$% wasted 2 hours tracing a broken collected resource which came from a host that doesn't even exist anymore .. gah | ||
| [2009/06/02 17:20:26] <Volcane> yeah, (no aging of old hosts)-- | ||
| [2009/06/02 17:20:50] <Volcane> seriously just need a setting in puppet.conf that gives the oldest allowed age in the db in seconds and autocull everything older | ||
| [2009/06/02 17:20:55] <Volcane> would solve so much hassle | ||
| [2009/06/02 17:21:15] <DavidS> well, not that old, seems like the kill_node.rb I'm using needs an upgrade for 0.24.8 | ||
| [2009/06/02 17:21:29] <Volcane> yeah someone here said it doesnt work anymore | ||
| [2009/06/02 17:25:11] @ Quit: gaveen_: Read error: 113 (No route to host) | ||
| [2009/06/02 17:25:59] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 17:26:22] <hacim> DavidS: Volcane http://projects.reductivelabs.com/issues/1886 | ||
| [2009/06/02 17:27:50] <Volcane> node {} should have some meta param | ||
| [2009/06/02 17:27:53] <Volcane> ensure => absent | ||
| [2009/06/02 17:27:57] <Volcane> boom, everything gets cleaned :P | ||
| [2009/06/02 17:29:10] @ Quit: mccune: Remote closed the connection | ||
| [2009/06/02 17:30:44] @ Quit: CaptainCupcake__: Read error: 113 (No route to host) | ||
| [2009/06/02 17:33:03] <hacim> Volcane: add to the ticket :) sadly, I think maybe the person who it is assigned is not working on it | ||
| [2009/06/02 17:34:42] @ verwilst joined channel #puppet | ||
| [2009/06/02 17:36:30] <flakrat> anyone know what would cause this error when puppet attempts to start on a client: Could not create /var/lib/puppet/ssl: Invalid context to parse: Multiple | ||
| [2009/06/02 17:36:50] <lak> flakrat: i've never seen that one before | ||
| [2009/06/02 17:37:01] <Volcane> yeah no idea | ||
| [2009/06/02 17:37:02] <lak> Volcane: it's not quite that easy | ||
| [2009/06/02 17:37:08] @ Quit: mvn072: Remote closed the connection | ||
| [2009/06/02 17:37:09] @ drmikecrowe joined channel #puppet | ||
| [2009/06/02 17:37:10] <Volcane> lak: it never is :) | ||
| [2009/06/02 17:37:13] <flakrat> hmm, just noticed that the client is 24.6, let me try upgrading it | ||
| [2009/06/02 17:37:17] <DavidS> all collected stuff should go to purged resources(directories), that way you can delete the node without regrets | ||
| [2009/06/02 17:37:29] <lak> and you'd want to batch that anyway, so why not just cron it? | ||
| [2009/06/02 17:38:53] <flakrat> ok, that was strange, some how the puppet package version got out of sync with other packages on the system | ||
| [2009/06/02 17:39:51] <flakrat> updating it to 24.8 got things right | ||
| [2009/06/02 17:40:21] @ mfournier joined channel #puppet | ||
| [2009/06/02 17:40:25] * Volcane decides to concentrate on what he is doing so he doesnt 'halt' the wrong machine again £$£J"! | ||
| [2009/06/02 17:40:36] <flakrat> haha, been there | ||
| [2009/06/02 17:40:49] <flakrat> and you can't type quick enough to cancel it normally | ||
| [2009/06/02 17:41:06] @ patch-tag joined channel #puppet | ||
| [2009/06/02 17:41:13] @ Quit: CaptainCupcake: | ||
| [2009/06/02 17:41:29] <patch-tag> hey i was following the demo in http://stochasticresonance.wordpress.com/2009/03/14/practical-puppet-at-mwrc/ | ||
| [2009/06/02 17:41:44] <Volcane> wow, hetzner made serious kewl upgrade to their admin interface | ||
| [2009/06/02 17:41:48] <Volcane> no more needing google translate | ||
| [2009/06/02 17:42:00] <patch-tag> I'm puzzled by the line servername => "www.tnbt.com", | ||
| [2009/06/02 17:42:08] <patch-tag> this is the server puppet is pulling from, right? | ||
| [2009/06/02 17:42:12] <patch-tag> I can't ping this server | ||
| [2009/06/02 17:42:28] <patch-tag> yet, when I execute that rails install script, it does appear to be installing something. | ||
| [2009/06/02 17:42:31] <patch-tag> how can this be? | ||
| [2009/06/02 17:43:29] <patch-tag> andrewschaefer? :) | ||
| [2009/06/02 17:43:55] @ francois left channel #puppet () | ||
| [2009/06/02 17:44:12] <jbooth> patch-tag: Just cause a server (or router between) drops ICMP ping doesn't mean it isn't up? | ||
| [2009/06/02 17:44:16] <ch> this is just a parameter to a defined type, and /probably/ has nothing to do with the puppet server | ||
| [2009/06/02 17:45:12] <patch-tag> is tnbt like, a blessed puppet server or something? | ||
| [2009/06/02 17:45:19] <patch-tag> is there a list of blessed puppet servers? | ||
| [2009/06/02 17:45:25] <patch-tag> don't know what to google on | ||
| [2009/06/02 17:45:33] <patch-tag> or is this just for this particular demo>? | ||
| [2009/06/02 17:45:45] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/06/02 17:47:25] <jrojas> patch-tag: the demo is not from the reductive labs site. | ||
| [2009/06/02 17:47:36] <jrojas> patch-tag: tnbt is an example site. nothing real there | ||
| [2009/06/02 17:47:36] <Volcane> patch-tag: that servername => is it setting up a www.tnbt.com website | ||
| [2009/06/02 17:48:04] @ Quit: briandquinn: | ||
| [2009/06/02 17:48:17] @ Quit: gaveen_: Connection timed out | ||
| [2009/06/02 17:48:48] <patch-tag> tnbt is not a puppet master server? | ||
| [2009/06/02 17:49:09] <Volcane> no, thats just how they use puppet to make a website "www.tnbt.com" | ||
| [2009/06/02 17:49:10] @ d3vilb0x joined channel #puppet | ||
| [2009/06/02 17:49:41] <patch-tag> ah, ok | ||
| [2009/06/02 17:50:20] <patch-tag> so, when I started this ami, rails was not installed | ||
| [2009/06/02 17:50:33] <patch-tag> after running this script, rails and a bunch of other stuff, was installed | ||
| [2009/06/02 17:50:52] <patch-tag> so, do people use puppet instead of, say, dpkg or yum? | ||
| [2009/06/02 17:50:59] <patch-tag> as a sort of meta-installer/package tool? | ||
| [2009/06/02 17:51:28] <Volcane> patch-tag: we use puppet to do everything to a machine so we can replicate it 100% for 100s of servers | ||
| [2009/06/02 17:51:29] <justindossey> patch-tag: puppet runs those programs, so it's unnecessary to run them directly | ||
| [2009/06/02 17:52:03] <patch-tag> Let's say you had 50 deb servers and 50 redhat servers | ||
| [2009/06/02 17:52:03] <justindossey> here's a q-- if one module says that a package is ensure => absent and another module says it is ensure => present, what will happen? | ||
| [2009/06/02 17:52:14] <patch-tag> and you didn't want to bother switching all to one distro to standardize | ||
| [2009/06/02 17:52:23] <Volcane> justindossey: you cant do that - you can only define a resource once :) | ||
| [2009/06/02 17:52:26] <patch-tag> would you be confident using puppet to configure all 100 servers in some similar way? | ||
| [2009/06/02 17:52:31] <joe-mac> yes | ||
| [2009/06/02 17:52:37] <justindossey> that's what it's all about | ||
| [2009/06/02 17:52:41] <wakko666> yup. i do it for redhat and solaris. :) | ||
| [2009/06/02 17:52:52] <joe-mac> i do it for openbsd and ubuntu | ||
| [2009/06/02 17:52:52] <Volcane> wakko666: you're one sick puppy | ||
| [2009/06/02 17:52:58] <Bradipo> As long as the servers are not managed with other tools it shoudl be safe. | ||
| [2009/06/02 17:53:01] <patch-tag> of course, there could be some subtle thing that could hose your setup -- but it's unlikely, right? puppet's good. or so's the thinking. | ||
| [2009/06/02 17:53:07] <Bradipo> joe-mac: How is your OBSD stuff coming? | ||
| [2009/06/02 17:53:20] <wakko666> Volcane: i didn't choose the environment, i just make the best of what i've got. I can't wait to ditch the solaris 8 boxes. ;-) | ||
| [2009/06/02 17:53:33] <joe-mac> it's coming along, i got a diff from the maintainer and now have a .24.8 package for obsd | ||
| [2009/06/02 17:53:33] @ Quit: lak: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 17:53:38] <Volcane> patch-tag:its a lot of work, puppet wouldnt know that installing "httpd" on redhat and "apache2" on debian, you'd need to make effort to tell it the difference, but it can be done | ||
| [2009/06/02 17:53:40] <joe-mac> 4.5 i mean | ||
| [2009/06/02 17:53:50] <justindossey> patch-tag: it's up to you to write your configuration in a way that works on both platforms-- you'll probably have your share of $operatingsystem ? { redhat => blah, debian => blahblah } | ||
| [2009/06/02 17:54:29] @ lak joined channel #puppet | ||
| [2009/06/02 17:54:30] <joe-mac> which reminds me, does anyone want the .24.8 package for the latest OBSD release? | ||
| [2009/06/02 17:54:33] <patch-tag> so it's a judgement call whether it would be less work to standardize on one platform or do the work to teach puppet what it needs to know I guess | ||
| [2009/06/02 17:54:47] <Volcane> patch-tag: if you, then standardise | ||
| [2009/06/02 17:54:56] <patch-tag> of course ;) | ||
| [2009/06/02 17:55:57] <justindossey> I see puppet as a way to take some of the pressure to standardize off-- that is, if you decide to standardize at some point, you can be sure that you won't inadvertently break something | ||
| [2009/06/02 17:56:29] <Volcane> yeah. but it is easiest/best to reinstall a box when you've captured its entire function in puppet | ||
| [2009/06/02 17:56:35] <Volcane> might as well reinstall to $newos then | ||
| [2009/06/02 17:56:47] <Bradipo> Yeah, but some things you don't do with multiple OSes... | ||
| [2009/06/02 17:56:53] <patch-tag> okay, now let's say I want to have a setup on ubuntu with emacs and git pre-installed. sans puppet, I would just do apt get of course. is there a way to wrap apt-get actions with pupet? | ||
| [2009/06/02 17:57:10] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 17:57:10] <Volcane> patch-tag: package{"git": ensure => present } | ||
| [2009/06/02 17:57:12] <Bradipo> For example, why serve up your content from a mix of OpenBSD, Linux and Solaris servers? | ||
| [2009/06/02 17:57:46] <Bradipo> Unless you hope to gain some security by having a diverse culture of systems. :-) | ||
| [2009/06/02 17:57:47] <patch-tag> volcane: ah, thanks. | ||
| [2009/06/02 17:57:51] <justindossey> Bradipo: because if a major secur.... yeah | ||
| [2009/06/02 17:59:06] <joe-mac> i would standardize on OBSD if upgrades were more streamlined, it's so deliciously lightweight | ||
| [2009/06/02 17:59:21] <patch-tag> is there a difference between ensure => installed and ensure => present ? | ||
| [2009/06/02 17:59:33] <Bradipo> joe-mac: Actually, upgrades aren't hard. | ||
| [2009/06/02 17:59:51] <Volcane> patch-tag: nope, ensure => 1.2.3 is also a option, or ensure => absent | ||
| [2009/06/02 17:59:54] <nigelk> patch-tag: there are actually apt and aptitude providers with slight differences in behavior between them | ||
| [2009/06/02 17:59:57] <joe-mac> Bradipo: not as easy as sudo apt-get update && sudo apt-get upgrade though lol | ||
| [2009/06/02 18:00:00] <patch-tag> is this channel logged anywhere? | ||
| [2009/06/02 18:00:03] <Bradipo> joe-mac: In fact, all you have to do is build the patch with a DESTDIR, then tar up that DESTDIR and send it out. | ||
| [2009/06/02 18:00:15] @ Quit: notbrien: | ||
| [2009/06/02 18:00:16] <Volcane> patch-tag: we've not said anything that isnt in the docs :P | ||
| [2009/06/02 18:00:32] <Bradipo> joe-mac: No, not that easy, but there is a tradeoff for ``deliciously lightweight'' :-) | ||
| [2009/06/02 18:00:35] <patch-tag> sure, i just like logs | ||
| [2009/06/02 18:00:39] <joe-mac> lol, yea | ||
| [2009/06/02 18:00:41] <Bradipo> joe-mac: pkg_add is easy. | ||
| [2009/06/02 18:00:46] <Bradipo> So packages are easy to install... | ||
| [2009/06/02 18:01:03] <Bradipo> But if you have a master server that you build on, then it wouldn't be hard to produce one upgrade and push it out. | ||
| [2009/06/02 18:01:19] <joe-mac> not so much so from puppet. for instance: screen. there is -shm and -static, you can't tell puppet to force so you have to specify the version inside the resource name. | ||
| [2009/06/02 18:01:20] @ bendsu left channel #puppet () | ||
| [2009/06/02 18:01:24] <Volcane> patch-tag: wiki:TypeReference | ||
| [2009/06/02 18:02:24] <joe-mac> yea that's what we set up, a master build server | ||
| [2009/06/02 18:02:25] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 18:02:25] @ lak joined channel #puppet | ||
| [2009/06/02 18:02:25] * Volcane notes the bot is broken | ||
| [2009/06/02 18:02:30] <Bradipo> joe-mac: How does puppet distinguish for differences in apt-get? | ||
| [2009/06/02 18:02:37] <Volcane> ah, or maybe its the wiki | ||
| [2009/06/02 18:02:48] <Bradipo> I mean, apt generally has a lot of different sub packages for certain things. | ||
| [2009/06/02 18:02:51] <justindossey> Volcane: if you can only define a resource once, and you have two modules included that are independent, but both require the same package, do you have to use inheritance or something? | ||
| [2009/06/02 18:03:07] <Bradipo> How is that any different than having a screen-shm or screen-static? | ||
| [2009/06/02 18:03:19] <Volcane> justindossey: well you can pull out the class that installs the package, say apache::install - you can then include apache::install many times. | ||
| [2009/06/02 18:03:20] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 18:03:31] <Volcane> justindossey: or you could use something called virtual resources | ||
| [2009/06/02 18:03:32] <joe-mac> Bradipo: because there is only one package wityh the name packagename | ||
| [2009/06/02 18:03:41] <joe-mac> version should be separate from name | ||
| [2009/06/02 18:03:59] <Bradipo> -shm isn't a version, its a subpackage. | ||
| [2009/06/02 18:04:06] <Bradipo> The version would be 4.0.x or something. | ||
| [2009/06/02 18:04:40] <joe-mac> then why doesn't obsd by default install 4.0.3p1, which is teh regular package? instead it says i am giving it an ambiguous name | ||
| [2009/06/02 18:04:42] <Volcane> patch-tag: see http://reductivelabs.com/trac/puppet/wiki/TypeReference for all the various things puppet understand like packages, users etc | ||
| [2009/06/02 18:05:00] <Bradipo> Because the name is ambiguous... | ||
| [2009/06/02 18:05:36] <Bradipo> Both -shm and -static are different names, but the version of screen 4.0.3p1 is the same isn't it? | ||
| [2009/06/02 18:06:03] <joe-mac> yes, but the way it behaves, it seems like 4.0.3p1 afa the package managemetn is concerned, is part of the pkg name | ||
| [2009/06/02 18:06:19] <Bradipo> Couldn't you create an alias for the OBSD platform that says screen is screen-shm (or whatever you want to be the default for this OS)? | ||
| [2009/06/02 18:06:44] @ lak joined channel #puppet | ||
| [2009/06/02 18:07:02] @ erm_ joined channel #puppet | ||
| [2009/06/02 18:07:21] <Bradipo> Well, the version is part of the filename, sure. | ||
| [2009/06/02 18:08:06] <Bradipo> Actually, its called a flavor (not subpackage, sorry). | ||
| [2009/06/02 18:08:44] <Bradipo> Oddly enough, if I build screen from ports I don't get either because I didn't specify a flavor, so I get screen-4.0.3p1.tgz | ||
| [2009/06/02 18:08:50] <Bradipo> So maybe you should build your own packages too. :-) | ||
| [2009/06/02 18:09:43] <joe-mac> yea, i wish i had time to fully automate a nice obsd infrastructure beyond just routers and load-balancing | ||
| [2009/06/02 18:09:48] <Bradipo> So whoever decided to build screen for release decided on building both flavors and uploading them, instead of just the default of whatever this is. | ||
| [2009/06/02 18:10:13] <Bradipo> joe-mac: Isn't puppet supposed to give you more time? :-) | ||
| [2009/06/02 18:10:28] @ Quit: DavidS: "Leaving." | ||
| [2009/06/02 18:10:37] @ Quit: gaveen_: Read error: 60 (Operation timed out) | ||
| [2009/06/02 18:10:41] <joe-mac> it gives me plenty of time, but when you inherit such a mess, it's an uphill battle | ||
| [2009/06/02 18:10:53] <Bradipo> I mean, previously you were wasting time managing your servers one at a time, right? :-) | ||
| [2009/06/02 18:10:55] <joe-mac> eventually i will reach the plateau where i can improve things at a faster rate | ||
| [2009/06/02 18:11:03] <joe-mac> no, the guys before me were though | ||
| [2009/06/02 18:11:17] <Bradipo> Yeah, I was making a facetious comment. | ||
| [2009/06/02 18:11:26] <Bradipo> Clearly now your time is just devoted to other tasks. | ||
| [2009/06/02 18:11:27] <joe-mac> i am a fan of the word 'facetious' | ||
| [2009/06/02 18:11:28] <patch-tag> is obsd == open bsd? | ||
| [2009/06/02 18:11:32] <joe-mac> should be the word of the day | ||
| [2009/06/02 18:11:40] <joe-mac> like chatting on #puppet Bradipo | ||
| [2009/06/02 18:11:47] <joe-mac> i'm actually on vacation right now | ||
| [2009/06/02 18:11:49] @ Quit: lak: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 18:12:15] <Bradipo> patch-tag: Yes. | ||
| [2009/06/02 18:12:47] @ lak joined channel #puppet | ||
| [2009/06/02 18:13:53] <Bradipo> joe-mac: You know about siteXX.tgz right? | ||
| [2009/06/02 18:14:04] <Bradipo> And install.site/upgrade.site | ||
| [2009/06/02 18:14:30] <joe-mac> yea, we have them built from a makefile currently so when puppet pushes out new configs, they get written to the dir and notify and exec to put together the makefile | ||
| [2009/06/02 18:14:45] <joe-mac> there's a problem with the class though, well with the logic really i have to iron out | ||
| [2009/06/02 18:14:49] @ Quit: lak: Read error: 54 (Connection reset by peer) | ||
| [2009/06/02 18:14:56] <joe-mac> cause it runs mtree, puppet thinks that the dir is always old | ||
| [2009/06/02 18:15:01] <joe-mac> which means it's running make on every run | ||
| [2009/06/02 18:15:12] @ lak joined channel #puppet | ||
| [2009/06/02 18:15:37] <Bradipo> Shouldn't matter because Makefile won't recreate already built targets. :-) | ||
| [2009/06/02 18:15:51] <Bradipo> mtree is a nice tool. | ||
| [2009/06/02 18:15:57] <joe-mac> yea, it's really nice | ||
| [2009/06/02 18:16:23] <joe-mac> we had a guy from the openbsd team, one of the devs come in and do consulting. showed me a bunch of stuff | ||
| [2009/06/02 18:16:25] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 18:16:43] @ lak joined channel #puppet | ||
| [2009/06/02 18:23:26] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 18:24:37] @ Quit: mfoster: "Leaving." | ||
| [2009/06/02 18:25:29] @ lak joined channel #puppet | ||
| [2009/06/02 18:25:36] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 18:27:20] <patch-tag> you know how synaptic (on ubuntu) will suggest to you where there are necessary security patches, or available package upgrades? Is there some way to have puppet make suggestions in a similar way? | ||
| [2009/06/02 18:27:37] <joe-mac> suggestions for what? | ||
| [2009/06/02 18:27:45] <patch-tag> for, like, security patches | ||
| [2009/06/02 18:27:51] <joe-mac> i use nagios for that | ||
| [2009/06/02 18:28:07] <joe-mac> i'm sure it could be done with an exec that notifies another exec somehow... | ||
| [2009/06/02 18:28:35] <Volcane> its not really puppets remit to do things like that | ||
| [2009/06/02 18:28:46] <joe-mac> yea | ||
| [2009/06/02 18:28:55] @ anarcat left channel #puppet () | ||
| [2009/06/02 18:32:34] <Bradipo> You could use puppet to cause systems to check for updates and then notify someone. :-) | ||
| [2009/06/02 18:32:54] <Volcane> i use puppet to install an actual update checker that was designed for that :) | ||
| [2009/06/02 18:34:32] @ Quit: hekaldama: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:32] @ Quit: hacim: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:33] @ Quit: neh: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:33] @ Quit: jason^: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:34] @ Quit: jmslagle: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:34] @ Quit: buggs: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:34] @ Quit: machpo: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:35] @ Quit: jamesturnbull: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:35] @ Quit: ralfgro_: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:34:36] @ Quit: mrrx: verne.freenode.net irc.freenode.net | ||
| [2009/06/02 18:36:21] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/02 18:37:33] @ hekaldama joined channel #puppet | ||
| [2009/06/02 18:37:33] @ hacim joined channel #puppet | ||
| [2009/06/02 18:37:33] @ neh joined channel #puppet | ||
| [2009/06/02 18:37:33] @ jason^ joined channel #puppet | ||
| [2009/06/02 18:37:33] @ jmslagle joined channel #puppet | ||
| [2009/06/02 18:37:33] @ machpo joined channel #puppet | ||
| [2009/06/02 18:37:33] @ jamesturnbull joined channel #puppet | ||
| [2009/06/02 18:37:34] @ buggs joined channel #puppet | ||
| [2009/06/02 18:37:34] @ ralfgro_ joined channel #puppet | ||
| [2009/06/02 18:37:34] @ mrrx joined channel #puppet | ||
| [2009/06/02 18:38:48] @ Quit: hacim: Remote closed the connection | ||
| [2009/06/02 18:38:52] @ hacim joined channel #puppet | ||
| [2009/06/02 18:39:05] @ Quit: buggs: Remote closed the connection | ||
| [2009/06/02 18:39:52] @ buggs joined channel #puppet | ||
| [2009/06/02 18:40:12] @ fujin joined channel #puppet | ||
| [2009/06/02 18:44:57] <FreakGuard> is it possible to use puppet recursive? like puppetmaster => puppet to configure puppetmaster => puppets | ||
| [2009/06/02 18:45:39] @ tecto joined channel #puppet | ||
| [2009/06/02 18:45:59] * sc0ttB_ uses puppet that way | ||
| [2009/06/02 18:46:31] <wakko666> FreakGuard: yes, it's possible. | ||
| [2009/06/02 18:46:56] @ Quit: gaveen_: No route to host | ||
| [2009/06/02 18:47:08] <FreakGuard> sc0ttB_, so can you use the classes you defined on the first puppetmaster? | ||
| [2009/06/02 18:47:33] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 18:48:15] <sc0ttB_> FreakGuard: I haven't tried that | ||
| [2009/06/02 18:48:20] <wakko666> FreakGuard: yep, if you're sharing the manifests in some way. i use git to store my manifests, so everyone clones the same set of manifests. | ||
| [2009/06/02 18:48:32] <FreakGuard> wakko666, nice idea :) | ||
| [2009/06/02 18:49:11] <sc0ttB_> ya I do have one unified, svn-backed repo of puppet manifests | ||
| [2009/06/02 18:50:20] <sc0ttB_> the only thing that I don't share across puppetmasters is private ssh host keys | ||
| [2009/06/02 18:52:11] @ Quit: erm_: Read error: 60 (Operation timed out) | ||
| [2009/06/02 18:55:29] @ Quit: gaveen_: Read error: 60 (Operation timed out) | ||
| [2009/06/02 18:55:48] <patch-tag> I would like puppetmasterd to be running at startup. Is there a way to use puppet to ensure that this is the case? | ||
| [2009/06/02 18:57:21] @ hekaldama left channel #puppet () | ||
| [2009/06/02 18:57:48] <patch-tag> I guess this would be the service type in http://reductivelabs.com/trac/puppet/wiki/TypeReference#package ... | ||
| [2009/06/02 18:57:56] <sc0ttB_> something like this should work: service { "puppetmaster": enabled=>true } | ||
| [2009/06/02 19:00:20] @ lak joined channel #puppet | ||
| [2009/06/02 19:00:29] @ ezmob is now known as ezmob|away | ||
| [2009/06/02 19:00:40] <patch-tag> sc0ttB: would it make sense to update http://reductivelabs.com/trac/puppet/wiki/InstallationGuide around "finishing installation" with this info? | ||
| [2009/06/02 19:01:22] @ Quit: lak: Client Quit | ||
| [2009/06/02 19:01:51] <patch-tag> sc0ttB: in general, is the service name the same as the exe minus the d at the end? | ||
| [2009/06/02 19:02:08] <sc0ttB_> it depends on the service | ||
| [2009/06/02 19:02:15] <sc0ttB_> and the distribution | ||
| [2009/06/02 19:02:25] * sc0ttB_ does not maintain the wiki | ||
| [2009/06/02 19:02:31] @ ezmob|away is now known as ezmob | ||
| [2009/06/02 19:03:06] <patch-tag> sure, I would make the change, but I'm just getting into puppet and wasn't sure if there was some gotcha that would make this advice not-so-good | ||
| [2009/06/02 19:03:12] @ martha left channel #puppet () | ||
| [2009/06/02 19:03:34] <patch-tag> anyways how does one determine what to call the service when writing a manifest? | ||
| [2009/06/02 19:03:50] <patch-tag> is there reference material for this? or do you grep the puppet source code? | ||
| [2009/06/02 19:04:01] @ PaulWay joined channel #puppet | ||
| [2009/06/02 19:04:17] <sc0ttB_> the service name isn't a puppetism | ||
| [2009/06/02 19:04:44] <sc0ttB_> it is typically in /etc/init.d/ (on debian-based) | ||
| [2009/06/02 19:05:10] <sc0ttB_> and the name in chkconfig (on redhat-based) | ||
| [2009/06/02 19:06:08] <sc0ttB_> I think puppet will "ps -ef" for that name and make sure there is at least one process running by that name by default | ||
| [2009/06/02 19:06:36] <sc0ttB_> alternatively you can set hasstatus => true to run /etc/init.d/name status | ||
| [2009/06/02 19:06:59] <sc0ttB_> might want to look at the service type docs | ||
| [2009/06/02 19:09:03] @ maek joined channel #puppet | ||
| [2009/06/02 19:13:27] @ Quit: cwebber: | ||
| [2009/06/02 19:14:10] @ gaveen_ joined channel #puppet | ||
| [2009/06/02 19:22:01] <patch-tag> is there a puppet front end to pacman? | ||
| [2009/06/02 19:22:16] <maek> oo arch :) | ||
| [2009/06/02 19:22:55] <patch-tag> wasn't listed in http://reductivelabs.com/trac/puppet/wiki/TypeReference#package so I assume the answer is No. | ||
| [2009/06/02 19:24:09] @ Quit: teratoma: "leaving" | ||
| [2009/06/02 19:28:35] @ Quit: tecto: | ||
| [2009/06/02 19:28:39] @ Quit: madrescher: "Leaving." | ||
| [2009/06/02 19:28:44] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/06/02 19:33:25] @ Quit: MattyM: "ta ta" | ||
| [2009/06/02 19:33:42] @ n0ts_ joined channel #puppet | ||
| [2009/06/02 19:34:55] <maek> if im making a bunch of sub dirs in classes/ like classes/common/ classes/oracle is there some magic to have those sub dirs included or do I have to add each one in the sites.pp ? thanks | ||
| [2009/06/02 19:39:45] @ teratoma joined channel #puppet | ||
| [2009/06/02 19:45:43] @ QMan joined channel #puppet | ||
| [2009/06/02 19:46:44] @ Quit: n0ts: Read error: 110 (Connection timed out) | ||
| [2009/06/02 20:05:02] @ bgupta joined channel #puppet | ||
| [2009/06/02 20:08:06] @ Quit: mfournier: Read error: 60 (Operation timed out) | ||
| [2009/06/02 20:08:18] <patch-tag> is there a blessed puppetmasterd script to put under /etc/init.d or should I just cp ssh and tweak it? | ||
| [2009/06/02 20:08:59] <Volcane> patch-tag: what distro do you use? | ||
| [2009/06/02 20:08:59] <maek> the one in the rpm works well, but thats under redhat | ||
| [2009/06/02 20:09:10] <patch-tag> ubuntu at home | ||
| [2009/06/02 20:09:27] <patch-tag> and the ami from http://stochasticresonance.wordpress.com/2009/03/14/practical-puppet-at-mwrc/ in my amazon sandbox | ||
| [2009/06/02 20:09:28] <Volcane> ah well then you can do whatever u want it will still br broken :P | ||
| [2009/06/02 20:09:40] <patch-tag> which I believe is also ubuntu based | ||
| [2009/06/02 20:09:43] <Volcane> but there are debs out there that does the right thing | ||
| [2009/06/02 20:09:52] <Volcane> no need to build from source etc | ||
| [2009/06/02 20:10:04] <patch-tag> well is there a distro that is considered "best" for running puppetmasterd on? | ||
| [2009/06/02 20:10:08] <patch-tag> where it will just do the right thing? | ||
| [2009/06/02 20:10:17] <Volcane> the one you know best | ||
| [2009/06/02 20:10:22] <patch-tag> ubuntu then | ||
| [2009/06/02 20:10:41] * Volcane goes to bed, 1am, bah. | ||
| [2009/06/02 20:10:46] <patch-tag> gnight | ||
| [2009/06/02 20:12:39] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/06/02 20:16:43] @ Quit: Innocenti: Client Quit | ||
| [2009/06/02 20:30:56] <fjay> hmm | ||
| [2009/06/02 20:30:58] <fjay> what does | ||
| [2009/06/02 20:31:08] <fjay> Could not retrive catalog: unexpected return mean? | ||
| [2009/06/02 20:32:23] <fjay> Could not retrive catalog: unexpected return mean? | ||
| [2009/06/02 20:32:26] <fjay> woops | ||
| [2009/06/02 20:34:44] @ nakano is now known as nakano_ | ||
| [2009/06/02 20:40:03] @ Quit: FreakGuard: Read error: 113 (No route to host) | ||
| [2009/06/02 20:42:12] <patch-tag> I apt-get installed puppetmaster and added service { puppetmaster: ensure =>true } and ran the manifest with puppet. got output "^[[0;36mnotice: //Service[puppetmaster]/ensure: ensure changed 'stopped' to 'running'" However, ps aux | grep -i pupp did not show puppetmaster running. what gives? | ||
| [2009/06/02 20:43:10] @ Quit: nigelk: | ||
| [2009/06/02 20:45:04] <patch-tag> hm... perhaps I needed to run puppetmasterd --mkusers | ||
| [2009/06/02 20:45:05] <patch-tag> firs | ||
| [2009/06/02 20:45:17] <patch-tag> first | ||
| [2009/06/02 20:46:13] <patch-tag> no, now I get puppetmasterd --mkusers | ||
| [2009/06/02 20:46:13] <patch-tag> /usr/sbin/puppetmasterd:185: undefined method `genconfig' for Puppet:Module (NoMethodError) | ||
| [2009/06/02 20:46:50] <patch-tag> this was installed frmo source dist, puppet --version | ||
| [2009/06/02 20:46:51] <patch-tag> 0.24.8 | ||
| [2009/06/02 20:47:21] @ Quit: drmikecrowe: " HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!" | ||
| [2009/06/02 20:47:22] <patch-tag> (installed from source after apt-get installed gave me similar error) | ||
| [2009/06/02 20:50:22] @ garin_ joined channel #puppet | ||
| [2009/06/02 20:51:36] @ Quit: justindossey: "Leaving." | ||
| [2009/06/02 20:57:38] @ ohadlevy joined channel #puppet | ||
| [2009/06/02 20:58:00] <patch-tag> a logged irc on this topic advises: if you have a package managed distro, you just shouldnt install stuff by source unless you put it in /opt or somewhere out the way | ||
| [2009/06/02 20:58:31] <patch-tag> bah, maybe that's why these troubles. but I was having them with apt installed before installed from source. anyhoo... | ||
| [2009/06/02 21:02:39] @ Quit: ezmob: "Bye!" | ||
| [2009/06/02 21:06:17] @ tecto joined channel #puppet | ||
| [2009/06/02 21:10:40] @ lak joined channel #puppet | ||
| [2009/06/02 21:27:50] @ Quit: grey-: Remote closed the connection | ||
| [2009/06/02 21:28:37] @ jmarki joined channel #puppet | ||
| [2009/06/02 21:33:57] @ notbrien joined channel #puppet | ||
| [2009/06/02 21:35:24] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2009/06/02 21:36:02] @ Quit: JM: Connection timed out | ||
| [2009/06/02 21:38:29] @ Quit: notbrien: Read error: 60 (Operation timed out) | ||
| [2009/06/02 21:49:41] @ PhabX joined channel #puppet | ||
| [2009/06/02 21:50:02] @ nigelk joined channel #puppet | ||
| [2009/06/02 22:04:23] @ Quit: jmarki: Remote closed the connection | ||
| [2009/06/02 22:04:31] @ Quit: nigelk: | ||
| [2009/06/02 22:05:37] @ Quit: londo: Remote closed the connection | ||
| [2009/06/02 22:08:07] @ ezmob joined channel #puppet | ||
| [2009/06/02 22:09:57] @ londo joined channel #puppet | ||
| [2009/06/02 22:15:13] @ Quit: patch-tag: Read error: 113 (No route to host) | ||
| [2009/06/02 22:24:59] @ Quit: fujin: | ||
| [2009/06/02 22:27:46] <stevenjenkins> lak - how are you getting to asheville? | ||
| [2009/06/02 22:27:59] <lak> going for a drive in the car car | ||
| [2009/06/02 22:28:02] <stevenjenkins> 40? | ||
| [2009/06/02 22:28:10] <stevenjenkins> ie, I40 | ||
| [2009/06/02 22:28:12] <lak> how'd you know i was going? | ||
| [2009/06/02 22:28:15] <lak> yeah, i think so | ||
| [2009/06/02 22:28:17] <stevenjenkins> linkedin | ||
| [2009/06/02 22:28:20] <lak> ah :) | ||
| [2009/06/02 22:28:23] @ Quit: garin_: Read error: 110 (Connection timed out) | ||
| [2009/06/02 22:28:24] <lak> right, tripit integration | ||
| [2009/06/02 22:28:29] * stevenjenkins nods. | ||
| [2009/06/02 22:28:38] <stevenjenkins> you'll drive w/in an hour of my house. | ||
| [2009/06/02 22:28:49] <lak> ah | ||
| [2009/06/02 22:30:03] <stevenjenkins> is the trip work or pleasure? | ||
| [2009/06/02 22:30:23] <lak> pleasure? | ||
| [2009/06/02 22:30:49] <stevenjenkins> (not that 4+ hrs in a car w/year-old twins can be described as 'pleasure'... ) | ||
| [2009/06/02 22:31:56] <lak> yeah | ||
| [2009/06/02 22:32:01] <lak> we'll see how they drive | ||
| [2009/06/02 22:32:07] <lak> haven't done much of a road trip with them | ||
| [2009/06/02 22:32:44] <stevenjenkins> we used to do 14hr trips from Iowa to TN, then 12 hr trips from NJ to TN with our girls. was rough, but the grandparents appreciated it. | ||
| [2009/06/02 22:35:48] <stevenjenkins> twins, though. that's tough. ours were much more spread out. | ||
| [2009/06/02 22:37:27] @ CaptianCupcake joined channel #puppet | ||
| [2009/06/02 22:38:58] <maek> but now they have dvd players in cars | ||
| [2009/06/02 22:39:25] @ fujin joined channel #puppet | ||
| [2009/06/02 22:39:25] @ Quit: omry|work: Read error: 60 (Operation timed out) | ||
| [2009/06/02 22:39:26] <maek> a friend of mine only lets his kids watch tv when they are in the car, so the kids are always excited to go for a drive | ||
| [2009/06/02 22:48:14] <CaptianCupcake> is it possible to override a files source? eg- all nodes inherit from basenode which specifies a file pulling a file from puppet:///files/test .. I'd like to have one node use the same file but pull it from puppet:///files/test2 | ||
| [2009/06/02 22:48:18] <CaptianCupcake> is this possible? | ||
| [2009/06/02 22:48:20] @ kngus joined channel #puppet | ||
| [2009/06/02 22:48:37] @ Quit: kngus: Client Quit | ||
| [2009/06/02 22:56:27] @ kngus joined channel #puppet | ||
| [2009/06/02 22:56:30] @ kngus left channel #puppet ("Leaving.") | ||
| [2009/06/02 22:57:38] @ erm_ joined channel #puppet | ||
| [2009/06/02 23:02:26] @ omry|work joined channel #puppet | ||
| [2009/06/02 23:06:35] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/02 23:08:19] @ nigelk joined channel #puppet | ||
| [2009/06/02 23:10:51] <ibt> lak: still around? | ||
| [2009/06/02 23:10:57] <lak> yeah | ||
| [2009/06/02 23:23:46] @ Quit: lak: | ||
| [2009/06/02 23:26:29] @ Quit: nigelk: | ||
| [2009/06/02 23:27:01] <CaptianCupcake> uhh.. getting err: Could not call fileserver.list: #<RuntimeError: HTTP-Error: 500 Internal Server Error > | ||
| [2009/06/02 23:27:58] <CaptianCupcake> anyone know what's up? I'm seeing this in masterhttp.log ERROR XMLRPC::FaultException: Host *** not authorized to call fileserver.describe | ||
| [2009/06/02 23:28:49] <CaptianCupcake> and I have an allow * within my filerserver.conf | ||
| [2009/06/02 23:31:52] @ Quit: gaveen_: Success | ||
| [2009/06/02 23:32:12] @ nigelk joined channel #puppet | ||
| [2009/06/02 23:39:51] @ Quit: andrewcshafer: | ||
| [2009/06/02 23:40:15] <CaptianCupcake> anyone? | ||
| [2009/06/02 23:44:15] <CaptianCupcake> nvm.. my namespaceauth.conf had no permissions | ||
| [2009/06/02 23:45:32] <PaulWay> Another triumph for leaving people to solve their own problems :-) | ||
| [2009/06/02 23:45:39] <PaulWay> (I didn't have a clue how to solve that anyway...() | ||
| [2009/06/02 23:46:22] @ lak joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!