Tuesday, 2009-04-21

[2009/04/21 00:03:24] @ Log started by gepetto
[2009/04/21 00:03:24] @ Quit: d3vilb0x:
[2009/04/21 00:11:36] @ Quit: edwardam: Remote closed the connection
[2009/04/21 00:17:45] @ Quit: axisys_: Connection timed out
[2009/04/21 00:20:08] @ Quit: euclid: Read error: 113 (No route to host)
[2009/04/21 00:22:13] @ euclid joined channel #puppet
[2009/04/21 00:24:32] <eythian> What is the default timeout on exec?
[2009/04/21 00:26:53] @ Quit: WALoeIII: "Bai."
[2009/04/21 00:27:32] @ Quit: axisys: Read error: 60 (Operation timed out)
[2009/04/21 00:27:48] @ axisys joined channel #puppet
[2009/04/21 00:44:16] @ Quit: Kindred: Read error: 104 (Connection reset by peer)
[2009/04/21 00:45:15] <ohadlevy> if i want to parse only puppet configuration file, which require should i do? require 'puppet' loads a lot of stuff (and takes some seconds)
[2009/04/21 00:47:04] @ Kindred joined channel #puppet
[2009/04/21 00:57:43] @ axisys_ joined channel #puppet
[2009/04/21 00:59:38] @ shake-n-bake joined channel #puppet
[2009/04/21 01:06:13] <fujin> ohadlevy: puppet/settings IIRC
[2009/04/21 01:10:30] @ PhabX joined channel #puppet
[2009/04/21 01:11:09] @ Quit: collier_s: "Leaving"
[2009/04/21 01:18:37] @ Quit: axisys: Read error: 110 (Connection timed out)
[2009/04/21 01:23:17] @ Quit: fujin:
[2009/04/21 01:27:09] @ axisys joined channel #puppet
[2009/04/21 01:28:54] @ PhabX left channel #puppet ("Leaving...")
[2009/04/21 01:29:45] @ Quit: shake-n-bake:
[2009/04/21 01:37:33] @ kingitchy_ joined channel #puppet
[2009/04/21 01:38:23] @ Quit: kingitchy: Read error: 104 (Connection reset by peer)
[2009/04/21 01:41:43] @ DavidS joined channel #puppet
[2009/04/21 01:42:45] @ Quit: kingitchy_:
[2009/04/21 01:44:13] @ nakano_ is now known as nakano
[2009/04/21 01:46:38] @ Quit: kolla: Remote closed the connection
[2009/04/21 01:46:54] @ Quit: axisys_: Read error: 110 (Connection timed out)
[2009/04/21 01:57:03] @ Quit: axisys: Read error: 60 (Operation timed out)
[2009/04/21 01:57:12] @ axisys_ joined channel #puppet
[2009/04/21 02:04:25] @ pleemans joined channel #puppet
[2009/04/21 02:08:11] @ madrescher joined channel #puppet
[2009/04/21 02:08:31] @ Quit: raphink: Remote closed the connection
[2009/04/21 02:08:46] @ kolla joined channel #puppet
[2009/04/21 02:09:17] @ fujin joined channel #puppet
[2009/04/21 02:09:47] @ raphink joined channel #puppet
[2009/04/21 02:11:53] <FiXion> goodmorning :)
[2009/04/21 02:16:35] <ohadlevy> fujin: thanks, but thats not correct..
[2009/04/21 02:19:24] <fujin> oh? bother
[2009/04/21 02:19:30] <fujin> I could have sworn that was where it was. Oh well.
[2009/04/21 02:20:21] @ DavidS1 joined channel #puppet
[2009/04/21 02:20:57] @ Quit: DavidS: Nick collision from services.
[2009/04/21 02:20:57] <ohadlevy> fujin: there is puppet/util/settings, but you need to set some more defaults....
[2009/04/21 02:21:03] @ DavidS1 is now known as DavidS
[2009/04/21 02:27:15] @ axisys joined channel #puppet
[2009/04/21 02:27:37] @ nakano is now known as nakano_
[2009/04/21 02:30:22] @ Quit: randybias: "Leaving..."
[2009/04/21 02:33:16] @ nakano_ is now known as nakano
[2009/04/21 02:38:51] @ Quit: fujin: Read error: 113 (No route to host)
[2009/04/21 02:39:11] @ ijcd joined channel #puppet
[2009/04/21 02:40:22] @ randybias joined channel #puppet
[2009/04/21 02:41:43] @ Quit: randybias: Client Quit
[2009/04/21 02:41:56] <FiXion> anyone have any ideas as to how to control roll out of source code (website) on hosts, using puppet?
[2009/04/21 02:42:15] <FiXion> we talked yesterday about creating an .deb - but puppet doesn't support downgrading
[2009/04/21 02:42:35] <FiXion> and I need to be able to roll back a version if need be :(
[2009/04/21 02:42:42] <FiXion> I was thinking of tar packages..
[2009/04/21 02:42:45] <nico> using version control ?
[2009/04/21 02:42:50] <Volcane> isn't it apt that has issues downgrading? puppet just tells apt 'install this version'?
[2009/04/21 02:42:59] <proton> do a checkout/export from the appropriate source control system
[2009/04/21 02:43:10] <FiXion> nico:yes - but I've seen to many "mishaps" switching to tags etc.
[2009/04/21 02:43:29] <FiXion> I'd rather have a checkout in one place - and then tar that up (or package it) and distribute that.
[2009/04/21 02:43:42] <FiXion> that way I'm a 100% certain it's the exact same on all servers
[2009/04/21 02:43:58] * Volcane doesnt think puppets the right tool for the job
[2009/04/21 02:44:03] <FiXion> and I can roll back to previous release without problems.
[2009/04/21 02:44:42] <FiXion> if only puppet supported downgrading packages as well - it'd be perfect - as I could just build a .deb
[2009/04/21 02:44:45] <FiXion> and ensure => $version
[2009/04/21 02:45:01] <Volcane> can apt downgrade packages?
[2009/04/21 02:45:32] @ Quit: alban2: Read error: 113 (No route to host)
[2009/04/21 02:45:40] <lak> FiXion: puppet does support downgrading, as long as the provider does
[2009/04/21 02:46:57] <FiXion> lak: yes - but the apt provider doesn't - HarryCalahann tried it yesterday: http://pastie.org/452351
[2009/04/21 02:47:17] <FiXion> Volcane: yes. apt-get install subversion=1.4.0
[2009/04/21 02:47:17] <pietro> FiXion: apt downgrades, but it depends on your settings
[2009/04/21 02:47:18] <FiXion> f.ex.
[2009/04/21 02:47:41] <FiXion> pietro: which settings? any hints are most welcome
[2009/04/21 02:47:48] <FiXion> I would love to use .deb packages to control it
[2009/04/21 02:47:53] <lak> ah, well, that's a different thing
[2009/04/21 02:48:13] @ Quit: axisys_: Success
[2009/04/21 02:48:38] <FiXion> lak: well - the provider is part of puppet - apt.rb
[2009/04/21 02:48:49] <FiXion> so I'd say puppet doesn't support downgrading
[2009/04/21 02:48:55] <FiXion> with apt that is
[2009/04/21 02:49:05] <lak> you'd be wrong though - the rpm provider supports it
[2009/04/21 02:49:10] <lak> and i think the dpkg provider supports it
[2009/04/21 02:49:17] <lak> so as a framework, it does support it
[2009/04/21 02:49:26] <lak> it just so happens that the specific provider you want doesn't support it
[2009/04/21 02:49:35] <lak> but that should be a straightforward patch
[2009/04/21 02:49:37] <FiXion> lak: hmm. so I could distribute the packages and use dpkg provider to do it..
[2009/04/21 02:49:44] <lak> probably :)
[2009/04/21 02:49:55] <FiXion> I think I'll try to see if I can make it work..
[2009/04/21 02:49:59] <lak> i focus more on the core, not as familiar with the providers, i mostly don't maintain them
[2009/04/21 02:50:49] <lak> FiXion: am i reading that pastie wrong? looks to me like he started with 1.6 and used puppet to get to 1.4.6
[2009/04/21 02:50:51] <lak> isn't that downgrading?
[2009/04/21 02:51:00] * Volcane 's also not getting it
[2009/04/21 02:51:10] <lak> i see
[2009/04/21 02:51:13] <Volcane> assumes the ii and rc bits mean something, but who knows
[2009/04/21 02:51:16] <lak> 1.6 wasnt actually installed
[2009/04/21 02:51:16] <Volcane> i dont know debian
[2009/04/21 02:51:19] <lak> ii means installed
[2009/04/21 02:51:27] <lak> rc means uninstalled but configs are left
[2009/04/21 02:52:35] <Volcane> so it worked fine? cleared up the rc stuff and installed the old version?
[2009/04/21 02:52:48] <lak> it's a bad pastie
[2009/04/21 02:52:57] <lak> i think the point is that he had to uninstall subversion
[2009/04/21 02:53:03] <lak> and then the install of the old version worked
[2009/04/21 02:53:19] @ fujin joined channel #puppet
[2009/04/21 02:53:22] <Volcane> ah
[2009/04/21 02:53:57] <f3ew> What's a good way of dealing with database changes?
[2009/04/21 02:54:01] <f3ew> One offs
[2009/04/21 02:55:49] * Volcane doesnt see anything fancy in apt.rb that would break it?
[2009/04/21 02:56:46] <Volcane> all it does is append =1.1.1 to the end of the package name when you ask for a specific version and then pass it to apt-get
[2009/04/21 02:57:21] <keyur> can someone help me out with the below error
[2009/04/21 02:57:22] <keyur> Apr 21 01:28:51 nfs puppetd[16924]: Starting catalog run
[2009/04/21 02:57:22] <keyur> Apr 21 01:28:55 nfs puppetd[16924]: Got an uncaught exception of type NoMethodError: undefined method `groups' for #<Puppet::Type::User:0x2aaaab11d4f8>
[2009/04/21 03:00:13] <Volcane> did you do anything or did it just stop working all on its own?
[2009/04/21 03:02:44] <Volcane> its all rigged
[2009/04/21 03:02:47] <Volcane> oops, ignore
[2009/04/21 03:02:53] @ Quit: MrProper_: "Leaving"
[2009/04/21 03:03:38] @ PaulWay left channel #puppet ()
[2009/04/21 03:05:00] @ randybias joined channel #puppet
[2009/04/21 03:07:01] @ MarlondB joined channel #puppet
[2009/04/21 03:13:00] @ Quit: randybias: Client Quit
[2009/04/21 03:13:51] @ Quit: axisys: Read error: 110 (Connection timed out)
[2009/04/21 03:17:00] <keyur> Volcane : it just stopped working
[2009/04/21 03:17:14] @ axisys joined channel #puppet
[2009/04/21 03:20:51] @ tim|mb joined channel #puppet
[2009/04/21 03:23:04] @ mikepea joined channel #puppet
[2009/04/21 03:25:44] @ chu joined channel #puppet
[2009/04/21 03:27:22] @ axisys_ joined channel #puppet
[2009/04/21 03:29:42] @ nasrat joined channel #puppet
[2009/04/21 03:32:20] <chu> soooo if I run puppetd --test --server=master --waitforcert 60 then puppet runs through the catalog and transfers everything it's supposed to.
[2009/04/21 03:32:34] <chu> But it's not doing it automatically.
[2009/04/21 03:32:58] <chu> puppetd is running.
[2009/04/21 03:33:11] <chu> wtf?
[2009/04/21 03:33:13] @ DerekW joined channel #puppet
[2009/04/21 03:33:38] <bob2> what do your logs say?
[2009/04/21 03:33:42] <bob2> on the client and puppetmaster
[2009/04/21 03:33:44] @ verwilst joined channel #puppet
[2009/04/21 03:35:03] <chu> no logs on the client. That seems wrong.
[2009/04/21 03:35:08] <chu> nothing interesting on master
[2009/04/21 03:35:21] <bob2> as in no connections?
[2009/04/21 03:35:29] @ ghenry joined channel #puppet
[2009/04/21 03:35:33] <bob2> what os, how did you install puppet, what does your config file say
[2009/04/21 03:36:18] <chu> linux fc9, from source, and basically all the config says is server=master
[2009/04/21 03:36:23] <chu> aside from the default paths
[2009/04/21 03:36:34] @ Quit: lak:
[2009/04/21 03:38:02] <chu> http://420weedstreet.com/puppet.conf
[2009/04/21 03:38:41] <chu> http://420weedstreet.com/masterhttp.log
[2009/04/21 03:39:02] @ Quit: mikepea:
[2009/04/21 03:39:02] <nico> :win 2
[2009/04/21 03:40:19] <bob2> log is 403
[2009/04/21 03:40:31] <bob2> but it's probably more to do with how you're running it rather than any of that
[2009/04/21 03:40:58] <chu> perms fixed
[2009/04/21 03:41:28] @ Quit: Djelibeybi: "Leaving"
[2009/04/21 03:41:31] <chu> I'm just running the init script ... guess that works out to running /usr/bin/ruby /usr/bin/puppetd
[2009/04/21 03:41:42] <chu> root 4396 1 0 07:21 ? 00:00:00 /usr/bin/ruby /usr/bin/puppetd
[2009/04/21 03:45:19] @ Quit: ralfgro: Read error: 110 (Connection timed out)
[2009/04/21 03:45:20] @ ralfgro_ joined channel #puppet
[2009/04/21 03:50:04] @ aymerick joined channel #puppet
[2009/04/21 03:50:43] @ Quit: axisys: Connection timed out
[2009/04/21 03:55:06] * monachus is in limbo.
[2009/04/21 03:56:16] @ axisys joined channel #puppet
[2009/04/21 03:59:07] @ MattyM joined channel #puppet
[2009/04/21 03:59:22] @ cirquitz joined channel #puppet
[2009/04/21 03:59:35] @ Innocenti joined channel #puppet
[2009/04/21 04:01:31] @ briandquinn joined channel #puppet
[2009/04/21 04:01:42] @ Quit: tim|mb: Read error: 110 (Connection timed out)
[2009/04/21 04:06:19] @ tim|mb joined channel #puppet
[2009/04/21 04:06:51] @ thijso joined channel #puppet
[2009/04/21 04:16:06] @ alban2 joined channel #puppet
[2009/04/21 04:18:33] @ Quit: axisys_: Success
[2009/04/21 04:18:39] @ mikepea joined channel #puppet
[2009/04/21 04:24:19] @ Quit: cirquitz: Read error: 104 (Connection reset by peer)
[2009/04/21 04:24:24] @ HarryCalahan joined channel #puppet
[2009/04/21 04:24:32] @ cirquitz joined channel #puppet
[2009/04/21 04:24:45] @ keithlard joined channel #puppet
[2009/04/21 04:24:50] <int> anyone uses puppet for user managment? can i describe users in one place and then just "adduser(john); adduser(smith)" ?
[2009/04/21 04:25:19] @ fbe joined channel #puppet
[2009/04/21 04:26:08] @ Quit: cirquitz: Read error: 113 (No route to host)
[2009/04/21 04:26:08] <int> it seems i can declare class user_john and then just include it
[2009/04/21 04:26:37] @ axisys_ joined channel #puppet
[2009/04/21 04:30:16] <HarryCalahan> int: that's how you can do it
[2009/04/21 04:30:42] <HarryCalahan> and i'm not using it (i have a directory service for users)
[2009/04/21 04:33:28] @ Quit: mikepea:
[2009/04/21 04:38:08] @ glaw joined channel #puppet
[2009/04/21 04:39:29] @ Quit: nico: Read error: 104 (Connection reset by peer)
[2009/04/21 04:46:44] @ Quit: axisys: Connection timed out
[2009/04/21 04:49:00] @ mikepea joined channel #puppet
[2009/04/21 04:55:53] @ nico joined channel #puppet
[2009/04/21 04:56:46] @ axisys joined channel #puppet
[2009/04/21 05:16:05] @ Quit: raphink: Read error: 113 (No route to host)
[2009/04/21 05:16:36] @ Quit: snafu: "leaving"
[2009/04/21 05:16:59] @ Quit: axisys_: Connection timed out
[2009/04/21 05:20:11] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/04/21 05:21:25] @ Quit: keithlard:
[2009/04/21 05:25:04] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/21 05:25:55] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 05:26:59] @ axisys_ joined channel #puppet
[2009/04/21 05:28:01] @ gaveen joined channel #puppet
[2009/04/21 05:40:07] @ friendly12345 joined channel #puppet
[2009/04/21 05:42:32] @ DasFx joined channel #puppet
[2009/04/21 05:46:44] @ Quit: axisys: Connection timed out
[2009/04/21 05:47:03] @ ohadlevy left channel #puppet ()
[2009/04/21 05:53:38] @ gebi_ is now known as gebi
[2009/04/21 05:55:56] @ axisys joined channel #puppet
[2009/04/21 05:58:47] @ bajan joined channel #puppet
[2009/04/21 06:00:20] @ bajan left channel #puppet ()
[2009/04/21 06:09:02] @ squiddle joined channel #puppet
[2009/04/21 06:17:35] @ Quit: axisys_: Read error: 110 (Connection timed out)
[2009/04/21 06:18:59] @ Quit: keyur: Read error: 104 (Connection reset by peer)
[2009/04/21 06:20:38] @ Quit: fsweetser: Read error: 60 (Operation timed out)
[2009/04/21 06:21:57] @ fsweetser joined channel #puppet
[2009/04/21 06:24:56] @ Quit: DerekW: "Leaving"
[2009/04/21 06:25:11] @ DerekW joined channel #puppet
[2009/04/21 06:25:57] @ axisys_ joined channel #puppet
[2009/04/21 06:45:09] @ marek joined channel #puppet
[2009/04/21 06:45:58] @ blahdeblah joined channel #puppet
[2009/04/21 06:46:52] <marek> hello folks, any idea why I'm getting this error message about failed parse? http://pastebin.sk/en/13153/
[2009/04/21 06:47:06] @ Innocenti joined channel #puppet
[2009/04/21 06:47:23] @ Quit: axisys: Connection timed out
[2009/04/21 06:48:19] <HarryCalahan> <% for adminjid in datasources::openfire::openfire_admins %>
[2009/04/21 06:48:29] <HarryCalahan> remove the $ from datasources
[2009/04/21 06:48:46] <HarryCalahan> as far as i know no $-variable stuff in erb templates
[2009/04/21 06:49:22] <blahdeblah> Hi. I'm just getting started in Puppet and finding my feet. The first couple of simple tasks i want to do are: ensure there's a proxy server setting in /etc/popularity-contest.conf, and add a set of slave domains to /etc/bind/named.conf.local and restart bind9 when i'm done. Can anyone point me to some starting recipes for these? I've looked around the wiki, but there's so much there i don't know where to start, and sometimes the
[2009/04/21 06:49:27] @ raphink joined channel #puppet
[2009/04/21 06:50:49] @ nakano is now known as nakano_
[2009/04/21 06:52:43] <chu> blahdeblah: http://420weedstreet.com/site.pp
[2009/04/21 06:53:50] <blahdeblah> chu: I don't want to drag in the entire file - i only want to ensure it contains certain text (and add it if not).
[2009/04/21 06:53:53] <marek> HarryCalahan: thank you!
[2009/04/21 06:54:01] @ Quit: madrescher: Read error: 113 (No route to host)
[2009/04/21 06:55:18] <HarryCalahan> marek: and now you need to explain me what datasources::openfire::openfire_admins is. is datasources a puppet module?
[2009/04/21 06:55:48] <marek> HarryCalahan: yes, datasources is a puppet module I'm using to storage "global" configuration
[2009/04/21 06:56:04] <marek> HarryCalahan: so I can use my openfire module with various datasources module w/o changing it
[2009/04/21 06:56:41] <HarryCalahan> now i also learned something
[2009/04/21 06:56:50] @ axisys joined channel #puppet
[2009/04/21 06:57:18] @ madrescher joined channel #puppet
[2009/04/21 07:02:41] @ d3vilb0x joined channel #puppet
[2009/04/21 07:10:33] @ DavidS1 joined channel #puppet
[2009/04/21 07:18:07] @ Quit: axisys_: Connection timed out
[2009/04/21 07:25:59] @ Quit: DavidS: Read error: 113 (No route to host)
[2009/04/21 07:25:59] @ axisys_ joined channel #puppet
[2009/04/21 07:27:35] @ Quit: friendly12345: "Leaving."
[2009/04/21 07:33:55] @ stasheck joined channel #puppet
[2009/04/21 07:40:41] @ Quit: mvn071: "Leaving"
[2009/04/21 07:47:17] @ Quit: axisys: Read error: 110 (Connection timed out)
[2009/04/21 07:49:31] @ steven_d joined channel #puppet
[2009/04/21 07:49:59] @ Quit: axisys_: Connection timed out
[2009/04/21 07:50:35] @ Quit: marek: "Lost terminal"
[2009/04/21 07:50:49] @ Quit: d3vilb0x:
[2009/04/21 07:52:33] @ kambiz_away is now known as kambiz
[2009/04/21 07:57:27] @ DasFx_ joined channel #puppet
[2009/04/21 08:08:07] @ Quit: DasFx: Read error: 110 (Connection timed out)
[2009/04/21 08:14:59] @ martha joined channel #puppet
[2009/04/21 08:22:22] @ nakano_ is now known as nakano
[2009/04/21 08:24:32] @ Quit: DasFx_: Read error: 110 (Connection timed out)
[2009/04/21 08:27:15] @ schwagal1 joined channel #puppet
[2009/04/21 08:32:19] @ chillitom joined channel #puppet
[2009/04/21 08:33:29] @ Quit: schwagala: Read error: 60 (Operation timed out)
[2009/04/21 08:34:10] <Volcane> Hawking expected to recover fully: Doctors say condition of scientist, 67, is improving after he was taken to hospital 'very ill'
[2009/04/21 08:34:12] <Volcane> oops...
[2009/04/21 08:34:14] <Volcane> wrong #
[2009/04/21 08:34:40] <tim|mb> still, glad to know
[2009/04/21 08:34:45] @ Quit: Demosthenes: "leaving"
[2009/04/21 08:34:47] <tim|mb> that's one great guy
[2009/04/21 08:35:10] <Volcane> newspapers here have been making a bit of joke of the whole situation
[2009/04/21 08:35:19] <tim|mb> a joke? why?
[2009/04/21 08:35:36] <Volcane> one ran a comic sketch suggesting they try powercycling him
[2009/04/21 08:35:52] <tim|mb> heh
[2009/04/21 08:36:04] <SyTonnerre> Stephen?
[2009/04/21 08:36:12] <tim|mb> it would such a shame if we lost him already, though... he still has a great mind
[2009/04/21 08:36:16] <chillitom> i read he was ill this morning.. very upset to hear it so equally pleased to hear he's recovering
[2009/04/21 08:36:36] <SyTonnerre> tim|mb, well, they told him he'd have less than a year to live. That was in 1974...
[2009/04/21 08:37:08] <HarryCalahan> time is relative
[2009/04/21 08:37:09] * tim|mb is a, what you'd call a physics major, I guess
[2009/04/21 08:37:38] <SyTonnerre> tim|mb, dito (but that was before I got a job ;)
[2009/04/21 08:38:01] <tim|mb> well, before I switched to CS because I got my first company in IT... biggest mistake of my life.
[2009/04/21 08:38:10] <tim|mb> not the company, but the switch
[2009/04/21 08:38:45] <tim|mb> did you see the TED.com presentation with the video of Hawking in zero-g?
[2009/04/21 08:38:58] <SyTonnerre> tim|mb, you mean you took a CS job or did you actually change courses?
[2009/04/21 08:39:52] <tim|mb> I was working as IT support guy at the Dutch Open University and some co-workers asked me to become IT "manager" in their start-up... so I thought it more appropriate if I switched studies from physics to computer science
[2009/04/21 08:40:12] <SyTonnerre> Oh, baaaaaaad decision
[2009/04/21 08:40:15] <SyTonnerre> (IMO)
[2009/04/21 08:40:18] <tim|mb> here in NL you choose one direction, you don't choose specific courses every year or something
[2009/04/21 08:40:26] <tim|mb> very bad decision :( still regret it to this day
[2009/04/21 08:40:28] <niczar1> why bad?
[2009/04/21 08:40:29] <tim|mb> i love physics
[2009/04/21 08:40:38] <SyTonnerre> Yeah, me too
[2009/04/21 08:40:47] <SyTonnerre> I miss it quite a bit somehow
[2009/04/21 08:41:02] <niczar1> me it's the opposite, I did stupid electrical engineering instead of doing CS
[2009/04/21 08:41:03] <tim|mb> because (a) CS studies in NL are baaaad and not interesting at all and (b) physics is a really great profession
[2009/04/21 08:41:08] <SyTonnerre> I always tell myself that one day, when I finished all of my CS related todo list, I'll get a job as a physicist
[2009/04/21 08:41:35] <tim|mb> I almost got myself an internship at CERN before I switched, too :( well, 30% chance of getting elected, but still a 30% chance...
[2009/04/21 08:41:38] <SyTonnerre> That will be approximately in the year 2166
[2009/04/21 08:41:51] @ crow joined channel #puppet
[2009/04/21 08:47:12] @ Quit: ijcd: Read error: 110 (Connection timed out)
[2009/04/21 08:48:37] @ Quit: gaveen: Connection timed out
[2009/04/21 08:49:39] @ gaveen joined channel #puppet
[2009/04/21 08:51:39] @ Quit: fujin:
[2009/04/21 08:57:37] @ drmikecrowe joined channel #puppet
[2009/04/21 08:58:12] @ joe-mac joined channel #puppet
[2009/04/21 08:58:15] @ d3vilb0x joined channel #puppet
[2009/04/21 08:59:03] @ stijnbe joined channel #puppet
[2009/04/21 09:00:23] @ erm_ joined channel #puppet
[2009/04/21 09:02:11] @ brothers joined channel #puppet
[2009/04/21 09:02:15] <phantez> Is there an approximate date for the release of the 0.25 ?
[2009/04/21 09:02:56] @ benkei_gone is now known as csmith
[2009/04/21 09:05:27] @ ethan_rowe joined channel #puppet
[2009/04/21 09:08:33] <FiXion> can I access a file on the puppetmaster using a command in my puppet .pp file?
[2009/04/21 09:08:39] <FiXion> I need to import a gpg key
[2009/04/21 09:08:46] <FiXion> but I don't have my own key server
[2009/04/21 09:08:58] <FiXion> and don't want the key on some public server
[2009/04/21 09:09:07] <FiXion> or to rely on someone elses public server
[2009/04/21 09:09:10] <HarryCalahan> FiXion: place key on a webserver and exec wget -O - |gpg
[2009/04/21 09:09:23] <HarryCalahan> FiXion: or transport key to puppet-client using File
[2009/04/21 09:09:29] <HarryCalahan> and then exec
[2009/04/21 09:09:30] <FiXion> HarryCalahan: perfect - thanks :)
[2009/04/21 09:09:39] <FiXion> HarryCalahan: if I use file - can I ensure that the File is done before the exec?
[2009/04/21 09:09:54] <HarryCalahan> require => File["gpg-key"]
[2009/04/21 09:10:20] <HarryCalahan> . o O (importing keys to for apt signing)
[2009/04/21 09:15:19] @ rsquared joined channel #puppet
[2009/04/21 09:20:38] <FiXion> I'm trying to use this recipe: http://reductivelabs.com/trac/puppet/wiki/Recipes/AptKeys
[2009/04/21 09:20:44] <FiXion> it has a define apt::key
[2009/04/21 09:20:49] <FiXion> instead of class apt::key
[2009/04/21 09:21:11] <FiXion> do I place a the define outside of my class apt {} - or inside?
[2009/04/21 09:21:49] <HarryCalahan> you can define it inside of the class with class apt { define key {
[2009/04/21 09:21:55] <HarryCalahan> and acces sit by apt::key
[2009/04/21 09:22:23] <HarryCalahan> but outside by specifiying define apt::key() {} is more readable i think
[2009/04/21 09:23:20] <FiXion> only thing is that I can't use apt::key in my templates.pp file
[2009/04/21 09:23:28] <FiXion> do I need to import apt::key ?
[2009/04/21 09:24:13] <FiXion> the line before I try to use it, import's apt. the apt::key define is in modules/apt/manifests/init.pp - which is loaded by the aforementioned import apt
[2009/04/21 09:24:19] <FiXion> include apt that is
[2009/04/21 09:24:32] <Volcane> what file is apt::key in?
[2009/04/21 09:24:45] <FiXion> modules/apt/manifests/init.pp
[2009/04/21 09:25:03] <Volcane> just: class apt::key { ..... } ?
[2009/04/21 09:25:06] <FiXion> which is loaded on the line before (using include apt)
[2009/04/21 09:25:25] <FiXion> I was just wondering why the recipe has a define instead of a class apt::key
[2009/04/21 09:25:50] <HarryCalahan> thats what i use http://pastie.org/453367
[2009/04/21 09:26:33] <FiXion> HarryCalahan: thanks.
[2009/04/21 09:26:49] <FiXion> I guess I'll just drop it being a define.. just odd that the recipe doesn't work
[2009/04/21 09:27:15] <FiXion> I'm guessing something "obvious" has been omitted - and I'm clueless enough to miss it :)
[2009/04/21 09:27:38] @ Quit: nigelk_:
[2009/04/21 09:28:01] <FiXion> it's cool though that I can just call the define with a variable and then it uses that.
[2009/04/21 09:28:34] <Volcane> show the code and maybe we can help
[2009/04/21 09:30:53] <FiXion> Volcane: http://reductivelabs.com/trac/puppet/wiki/Recipes/AptKeys
[2009/04/21 09:30:59] <FiXion> that's what I'm trying to implement
[2009/04/21 09:31:26] <Volcane> but you say you dont have a keyserver?
[2009/04/21 09:31:27] <FiXion> and I added the define below the class apt {} in modules/apt/manifests/init.pp as mentioned
[2009/04/21 09:31:43] <FiXion> Volcane: I just changed it to using a file - in the command line
[2009/04/21 09:32:02] <FiXion> err: Could not retrieve catalog: Could not find resource type apt::key at /etc/puppet/manifests/templates.pp:13
[2009/04/21 09:32:16] <FiXion> but I get this in my templates - when using the apt::key as described in the recipe
[2009/04/21 09:32:31] <Volcane> and your modulepath is setup properly? other modules work fine etc? show how you call it
[2009/04/21 09:32:34] <FiXion> I was thinking that perhaps I need the define in a seperate file or something?
[2009/04/21 09:32:38] <FiXion> the apt module works
[2009/04/21 09:32:49] <FiXion> and is actually loaded right above there I use apt::key
[2009/04/21 09:33:08] <FiXion> include apt
[2009/04/21 09:33:12] <FiXion> is how the apt class is run
[2009/04/21 09:33:35] <FiXion> perhaps defines need to be imported or something?
[2009/04/21 09:33:55] <Volcane> nope, but whatever, its not like i can really help you without seeing what *you* did
[2009/04/21 09:34:04] <Volcane> telling me you tried to make some recipe work doesnt help
[2009/04/21 09:34:11] <FiXion> 2 secs
[2009/04/21 09:34:41] @ Quit: stijnbe: Client Quit
[2009/04/21 09:35:36] <FiXion> hope it helps: http://pastebin.com/m64111904
[2009/04/21 09:36:24] @ Quit: nasrat: "Ex-Chat"
[2009/04/21 09:37:01] <Volcane> ok, and when you look at the recipe you pasted, do you see any difference between your code and how they use apt::key?
[2009/04/21 09:37:12] @ stijnbe joined channel #puppet
[2009/04/21 09:38:02] <HarryCalahan> FiXion: http://pastie.org/453367
[2009/04/21 09:39:45] <FiXion> I'm not understanding
[2009/04/21 09:39:59] <FiXion> in your paste - you declare the define outside the class apt as well
[2009/04/21 09:40:11] <FiXion> then why would it find your defintion - and not find the one I have ?
[2009/04/21 09:40:18] <HarryCalahan> a class is included. a definition is used.
[2009/04/21 09:40:58] <FiXion> yes - I believe I use it in the top of my paste
[2009/04/21 09:41:03] <FiXion> the paste is of two files
[2009/04/21 09:41:09] <Volcane> you're doing it wrong
[2009/04/21 09:41:14] <Volcane> look again at the recipe on the wiki
[2009/04/21 09:41:33] <FiXion> just saw I had prepended with include
[2009/04/21 09:42:02] * FiXion kicks himself in the head
[2009/04/21 09:42:05] <Volcane> heh
[2009/04/21 09:42:07] <FiXion> why did I add an include in front
[2009/04/21 09:44:31] <HarryCalahan> question could one use $name to refer to $keyid?
[2009/04/21 09:44:37] @ fujin joined channel #puppet
[2009/04/21 09:44:54] <Volcane> yeah, can be refactored that way
[2009/04/21 09:45:18] @ incommon_ike joined channel #puppet
[2009/04/21 09:47:52] @ nakano is now known as nakano_
[2009/04/21 09:48:08] @ Quit: kolla: Remote closed the connection
[2009/04/21 09:50:51] @ rdaugherty1 left channel #puppet ()
[2009/04/21 09:51:35] @ Quit: etaylor: Remote closed the connection
[2009/04/21 09:52:55] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 09:53:38] @ gaveen joined channel #puppet
[2009/04/21 09:56:38] <HarryCalahan> how could i add a require on a definition? resource { "apt-key": apt::key { "keyid": }} and then require => Resource["apt-key"]
[2009/04/21 09:56:49] <Volcane> Apt::Key["foo"]
[2009/04/21 09:56:58] <HarryCalahan> ah. nice.
[2009/04/21 09:58:35] <mrrx> "Apt::Key" the double colons have no special meaning right?
[2009/04/21 09:58:50] <gepetto> ::trac:: Recipes/Apt Keys edited by fragfutter @ http://reductivelabs.com/trac/puppet/wiki/Recipes/AptKeys (by puppet@held-im-ruhestand.de)
[2009/04/21 09:59:04] <mrrx> it's just a naming convention?
[2009/04/21 09:59:13] <Volcane> mrrx: namespaces and modules
[2009/04/21 09:59:20] <mrrx> umm
[2009/04/21 09:59:25] <Volcane> http://reductivelabs.com/trac/puppet/wiki/PuppetModules
[2009/04/21 09:59:29] <mrrx> so it does has semantic meanings
[2009/04/21 09:59:30] <Volcane> oh, no not that url
[2009/04/21 09:59:37] <mrrx> *have
[2009/04/21 09:59:41] <Volcane> http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
[2009/04/21 09:59:43] <Volcane> that url
[2009/04/21 09:59:54] <Volcane> and i think the language tutrial covers namespace
[2009/04/21 09:59:55] <mrrx> i think i read it already
[2009/04/21 10:00:33] @ DavidS1 is now known as DavidS
[2009/04/21 10:01:12] <mrrx> ah, i missed that part
[2009/04/21 10:02:22] <mrrx> there's nothing wrong in using the following convention: class blaat {}; class blaat::server inherits blaat{}; right?
[2009/04/21 10:02:51] <Volcane> no, if inheritance gets used properly
[2009/04/21 10:03:35] @ unxfrek joined channel #puppet
[2009/04/21 10:04:21] <mrrx> so if I understand the doc, using main::sub states main is the module, nothing else?
[2009/04/21 10:05:07] @ csmith is now known as benkei_gone
[2009/04/21 10:05:12] @ shake-n-bake joined channel #puppet
[2009/04/21 10:05:13] <Volcane> class foo { class bar { } } == foo::bar
[2009/04/21 10:06:43] @ bobbyz joined channel #puppet
[2009/04/21 10:06:46] @ mfoster joined channel #puppet
[2009/04/21 10:10:58] <mrrx> oh, ok
[2009/04/21 10:11:26] <mrrx> so it inherits the parents definitions automatically?
[2009/04/21 10:11:48] <mrrx> umm, doesn't sound right
[2009/04/21 10:12:06] <Volcane> no that would be terrible :)
[2009/04/21 10:12:24] <Volcane> for modules, just think of it like a way for the parser to find files
[2009/04/21 10:12:34] <Volcane> foo::bar == modules/foo/manifests/bar.pp
[2009/04/21 10:18:32] @ cwebber joined channel #puppet
[2009/04/21 10:20:26] @ ckm joined channel #puppet
[2009/04/21 10:20:54] <goa6id> in modules/foo/manifests/init.pp do :
[2009/04/21 10:21:02] <goa6id> class foo::bar {}
[2009/04/21 10:21:09] @ glaw left channel #puppet ()
[2009/04/21 10:21:16] <goa6id> class foo::bar2{}
[2009/04/21 10:21:23] <mrrx> looks like a stripped-down version of _any_ other class support in toher languages like php, c++, java, etc
[2009/04/21 10:21:43] <tim|mb> php has class support???
[2009/04/21 10:21:49] <Volcane> goa6id: and what does that achieve?
[2009/04/21 10:21:50] <mrrx> yes
[2009/04/21 10:22:02] <Volcane> goa6id: other than one-file-with-lots-of-classes?
[2009/04/21 10:22:16] <Volcane> point of modules is to provide a nice seperation, one thing per file etc
[2009/04/21 10:22:24] <HarryCalahan> tim|mb: sort of. at least developers claim it...
[2009/04/21 10:22:40] <Volcane> php5's OO isnt too bad
[2009/04/21 10:22:46] @ Quit: stick: Nick collision from services.
[2009/04/21 10:22:58] @ stick joined channel #puppet
[2009/04/21 10:22:59] <goa6id> well maybe a files is used for too similar things
[2009/04/21 10:23:06] <mrrx> in the end there's nothing wrong in having a subclass inherit from its parent?
[2009/04/21 10:23:08] @ Quit: ckm: Client Quit
[2009/04/21 10:23:14] <HarryCalahan> and with php6 we get a nice namespace seperator: \
[2009/04/21 10:23:35] <Volcane> mrrx: over use just makes it slower and doesnt add value, so dont use inherit where you should be using include
[2009/04/21 10:23:44] @ stick left channel #puppet ("Leaving")
[2009/04/21 10:23:54] @ stick joined channel #puppet
[2009/04/21 10:26:19] <chillitom> nasrat mentioned that Luke would be visiting London next week.. does anyone know more about this?
[2009/04/21 10:26:32] <Volcane> chillitom: its on the mailing list
[2009/04/21 10:26:35] <mrrx> well, most cases where i want to use inherit overrides some properties int he parent
[2009/04/21 10:26:51] <chillitom> Volcane, cheers I'll dig it out
[2009/04/21 10:26:54] <mrrx> i guess i can't just use "include"
[2009/04/21 10:27:09] <Volcane> yeh if you do actually override then inherit
[2009/04/21 10:27:24] <Volcane> most people just tend to inherit whatever they want to include in the specific class
[2009/04/21 10:27:27] <Volcane> rather than include
[2009/04/21 10:28:37] <mrrx> i'll cnsider your hint at all times :p
[2009/04/21 10:28:41] <mrrx> *consider
[2009/04/21 10:28:41] <Volcane> and all I'm saying is that would be wrong :)
[2009/04/21 10:34:11] @ Quit: squiddle: Remote closed the connection
[2009/04/21 10:34:20] @ Quit: shake-n-bake:
[2009/04/21 10:34:23] @ squiddle joined channel #puppet
[2009/04/21 10:39:08] @ Quit: incommon_ike: "Leaving"
[2009/04/21 10:39:34] @ incommon_ike joined channel #puppet
[2009/04/21 10:45:07] <bgupta> Which service provider would be the best template to follow, when writing a new one?
[2009/04/21 10:45:49] <Volcane> what are you writing?
[2009/04/21 10:46:29] <bgupta> A monit provider
[2009/04/21 10:47:02] <Volcane> to handle the monit config files?
[2009/04/21 10:47:16] <Volcane> well the config file, i guess the plugins are just files that gets installed?
[2009/04/21 10:47:17] <bgupta> No to use monit as a service provider.
[2009/04/21 10:47:26] <bgupta> ALready have a monit module
[2009/04/21 10:47:55] <bgupta> monit manages running processes among a=other things
[2009/04/21 10:48:14] <Volcane> right, ofcourse, i was confused with munin :P
[2009/04/21 10:48:28] <Volcane> well try to find one thats kind of similar
[2009/04/21 10:49:58] <bgupta> MMm.. I guess what I was saying are all service providers created equally? IE: Are any of them particularly good examples of a service provider?
[2009/04/21 10:50:47] <Volcane> ah, i am not sure really, not done any internals coding but I think the ones that literally everyone use might be better examples than say ones that only mac people mihgt use
[2009/04/21 10:51:02] <Volcane> ie. would have had most exposure, most bugs filed etc
[2009/04/21 10:51:34] @ shake-n-bake joined channel #puppet
[2009/04/21 10:51:52] <bgupta> Volcane: Is Luke or James around?
[2009/04/21 10:52:14] <Volcane> *shrug*
[2009/04/21 10:54:09] <ChoHag> Do you need to register to edit wiki pages?
[2009/04/21 10:54:18] * monachus is in limbo.
[2009/04/21 10:54:26] <HarryCalahan> ChoHag: yes
[2009/04/21 10:54:42] <bgupta> Nevermind gonna base it off daemontools and runit providers... at least with start/stop, enable/disable, restart and status.
[2009/04/21 10:56:32] @ Quit: tim|mb:
[2009/04/21 10:56:35] @ edwardam joined channel #puppet
[2009/04/21 10:57:11] @ Quit: seph_:
[2009/04/21 10:57:44] <incommon_ike> semi-puppet related question. Does anyone use CFT to generate their puppet scripts?
[2009/04/21 10:59:00] <HarryCalahan> not me. puppet is already too much magic. adding another magic to automaticly create the magic will bend my brain into a moebiusloop
[2009/04/21 11:00:54] <ChoHag> HarryCalahan: Then how about the mongrel puppet recipes which makes puppet configure itself?
[2009/04/21 11:00:59] <ChoHag> make
[2009/04/21 11:01:37] <HarryCalahan> no thanks.
[2009/04/21 11:03:15] @ Quit: unxfrek: "Leaving"
[2009/04/21 11:03:17] <gepetto> ::trac:: File Serving Configuration edited by chohag @ http://reductivelabs.com/trac/puppet/wiki/FileServingConfiguration (by matthew.king@monnsta.net)
[2009/04/21 11:06:18] @ isaac_incommon joined channel #puppet
[2009/04/21 11:06:29] @ incommon_ike left channel #puppet ("is putting the nose back to the grindstone")
[2009/04/21 11:06:57] @ Quit: isaac_incommon: Client Quit
[2009/04/21 11:07:14] <gepetto> ::trac:: Using Mongrel edited by chohag @ http://reductivelabs.com/trac/puppet/wiki/UsingMongrel (by matthew.king@monnsta.net)
[2009/04/21 11:09:43] @ lak joined channel #puppet
[2009/04/21 11:13:07] @ incommon_ike joined channel #puppet
[2009/04/21 11:14:34] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/04/21 11:15:36] @ Quit: elijahwright: Remote closed the connection
[2009/04/21 11:16:07] @ elijahwright joined channel #puppet
[2009/04/21 11:16:16] <HarryCalahan> c!
[2009/04/21 11:21:00] @ Quit: stijnbe: Client Quit
[2009/04/21 11:22:12] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/04/21 11:23:38] @ tim|mb joined channel #puppet
[2009/04/21 11:23:47] @ alfism joined channel #puppet
[2009/04/21 11:25:17] @ Quit: shake-n-bake:
[2009/04/21 11:25:19] @ Quit: brothers: "leaving"
[2009/04/21 11:25:50] @ brothers joined channel #puppet
[2009/04/21 11:28:43] @ shake-n-bake joined channel #puppet
[2009/04/21 11:29:52] @ melopt joined channel #puppet
[2009/04/21 11:30:08] @ Steve[cug] joined channel #puppet
[2009/04/21 11:30:14] <Steve[cug]> morning everyone
[2009/04/21 11:32:32] @ devicenull_ joined channel #puppet
[2009/04/21 11:34:37] @ crow left channel #puppet ()
[2009/04/21 11:35:03] @ mconigliaro1 joined channel #puppet
[2009/04/21 11:35:07] @ edwardam is now known as edwardam|phn
[2009/04/21 11:37:09] <HarryCalahan> no evening. actually quitting time ;)
[2009/04/21 11:37:16] <Steve[cug]> :-p
[2009/04/21 11:37:30] <Steve[cug]> I have never used Puppet...is there a decent web interface to it?
[2009/04/21 11:37:49] <Steve[cug]> It'll never gain traction at this place w/o something shiney for them to look at
[2009/04/21 11:37:55] <HarryCalahan> no webinterface. But you can install vim... ;)
[2009/04/21 11:38:02] <Steve[cug]> :-p
[2009/04/21 11:38:03] <joe-mac> there is a web interface to reporting
[2009/04/21 11:38:07] <joe-mac> a couple of them
[2009/04/21 11:38:14] <joe-mac> one is called puppetshow and one is called puppetview
[2009/04/21 11:38:15] <niczar1> Steve[cug]: you can install Nexuiz
[2009/04/21 11:38:28] <niczar1> it's got nothing to do with Puppet but it looks nice
[2009/04/21 11:38:36] * niczar1 exits stage left
[2009/04/21 11:38:39] <joe-mac> most puppet users don't need shine
[2009/04/21 11:38:41] <niczar1> I'l be here all week
[2009/04/21 11:39:04] <Steve[cug]> joe-mac: you haven't seen the people I work with :-p
[2009/04/21 11:39:54] <HarryCalahan> niczar1: can i have an autograph?
[2009/04/21 11:40:18] * niczar1 signs
[2009/04/21 11:40:36] @ jmarki joined channel #puppet
[2009/04/21 11:40:57] <HarryCalahan> and no i need to explain the office why i burst into a laughing fit.
[2009/04/21 11:41:05] @ Quit: shake-n-bake:
[2009/04/21 11:43:28] @ Quit: HarryCalahan: "."
[2009/04/21 11:44:28] @ jtimberman joined channel #puppet
[2009/04/21 11:45:49] <ChoHag> Steve[cug]: http://gpl.internetconnection.net/vi/
[2009/04/21 11:45:57] <ChoHag> vi in a website.
[2009/04/21 11:47:02] @ gaveen joined channel #puppet
[2009/04/21 11:48:18] <joe-mac> Steve[cug]: are you working with devs or ops guys or what?
[2009/04/21 11:48:36] <joe-mac> anyone know if i can just slap an nfs mount in the name of a mount resource and it will work?
[2009/04/21 11:48:36] <ChoHag> joe-mac: Sounds like he's working with management.
[2009/04/21 11:48:44] <joe-mac> LOL
[2009/04/21 11:48:54] @ Quit: devicenull: Read error: 110 (Connection timed out)
[2009/04/21 11:49:00] <joe-mac> then i can see the need for shine
[2009/04/21 11:49:40] @ Quit: mconigliaro: Read error: 110 (Connection timed out)
[2009/04/21 11:50:05] <Steve[cug]> joe-mac: the guys that I'm trying to get into this thing are a couple of OS400 people that were thrown into Linux Admin
[2009/04/21 11:50:50] <joe-mac> lol, someone in mgmt said "it's all just black screens and letters, clickity clak clickity clak, you can handle it"
[2009/04/21 11:51:19] <joe-mac> i've never really worked on machines of that caliber
[2009/04/21 11:52:13] <Steve[cug]> heh
[2009/04/21 11:52:16] <Steve[cug]> pretty much
[2009/04/21 11:52:18] @ benkei_gone is now known as csmith
[2009/04/21 11:52:39] <Steve[cug]> they went, "OS/400 isn't that different from Unix and Linux, it's yours"
[2009/04/21 11:54:01] <jbk> haha
[2009/04/21 11:54:10] <Steve[cug]> yeah
[2009/04/21 11:54:13] <jbk> it's _very_ different from what little i recall about it :)
[2009/04/21 11:54:19] @ csmith is now known as benkei_gone
[2009/04/21 11:54:42] <Steve[cug]> so now we are in the scenario of 20-30 RHEL systems that were built with the "Full Install" option and weren't tweaked
[2009/04/21 11:54:54] <jbk> though supposed to work very well for what it does
[2009/04/21 11:54:56] <Steve[cug]> it's a mess
[2009/04/21 11:55:37] @ Quit: cwebber:
[2009/04/21 11:56:02] @ cwebber joined channel #puppet
[2009/04/21 11:56:13] <tim|mb> Steve[cug]: are you actually running OS400? would be cool if puppet had support for that ;-) not that I'd need it, but cool nonetheless!
[2009/04/21 11:56:40] <Steve[cug]> tim|mb: yeah, we have over a dozen OS/400 LPars still
[2009/04/21 11:57:46] <joe-mac> and inside the lpars you can run some other os right?
[2009/04/21 11:57:52] @ edwardam|phn is now known as edwardam
[2009/04/21 11:58:06] <Steve[cug]> os/400 :-p
[2009/04/21 11:58:12] <Steve[cug]> aix base
[2009/04/21 11:58:18] <Steve[cug]> os/400 in the lpars
[2009/04/21 11:58:20] <joe-mac> o i thought inside them you can run other stuff, like rhel for example
[2009/04/21 11:58:22] <joe-mac> o i c
[2009/04/21 11:58:30] @ Quit: Innocenti: Client Quit
[2009/04/21 11:58:51] <Steve[cug]> ;)
[2009/04/21 11:59:37] @ Quit: fujin:
[2009/04/21 12:00:49] <ChoHag> Where's that page that explains how to configure nagios to test the services configured on each node?
[2009/04/21 12:02:45] @ cirquitz joined channel #puppet
[2009/04/21 12:03:03] @ Quit: fbe: Remote closed the connection
[2009/04/21 12:05:29] @ claymation joined channel #puppet
[2009/04/21 12:06:58] @ Quit: alban2: "A bientot"
[2009/04/21 12:11:38] @ kingitchy joined channel #puppet
[2009/04/21 12:12:48] @ benkei_gone is now known as csmith
[2009/04/21 12:13:19] @ Quit: aymerick:
[2009/04/21 12:14:21] @ csmith is now known as benkei_gone
[2009/04/21 12:16:22] @ Quit: Tuf8: Read error: 104 (Connection reset by peer)
[2009/04/21 12:17:48] @ keithlard joined channel #puppet
[2009/04/21 12:18:02] @ Tuf8 joined channel #puppet
[2009/04/21 12:20:10] @ shake-n-bake joined channel #puppet
[2009/04/21 12:20:56] @ markl_ joined channel #puppet
[2009/04/21 12:21:35] @ voixd joined channel #puppet
[2009/04/21 12:21:40] @ Quit: kingitchy:
[2009/04/21 12:21:45] @ nigelk joined channel #puppet
[2009/04/21 12:29:31] @ Quit: tim|mb: Read error: 110 (Connection timed out)
[2009/04/21 12:33:13] @ reyjrar joined channel #puppet
[2009/04/21 12:34:40] @ Quit: bobbyz: Read error: 60 (Operation timed out)
[2009/04/21 12:42:58] @ jason^_ is now known as jason^
[2009/04/21 12:43:03] @ Quit: alfism: "Connection reset by beer"
[2009/04/21 12:43:37] @ ijcd joined channel #puppet
[2009/04/21 12:43:45] @ Quit: DerekW: "Leaving"
[2009/04/21 12:51:09] * monachus is in limbo.
[2009/04/21 12:52:47] @ Quit: neh: Read error: 104 (Connection reset by peer)
[2009/04/21 12:52:55] @ neh joined channel #puppet
[2009/04/21 12:54:02] @ Quit: lak:
[2009/04/21 12:54:10] @ Quit: MattyM: "ta ta"
[2009/04/21 13:03:06] @ Quit: raphink: Read error: 104 (Connection reset by peer)
[2009/04/21 13:03:20] @ raphink joined channel #puppet
[2009/04/21 13:03:46] @ Quit: shake-n-bake:
[2009/04/21 13:04:14] @ Quit: cwebber:
[2009/04/21 13:04:39] @ cwebber joined channel #puppet
[2009/04/21 13:15:40] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/21 13:17:24] @ ezmob joined channel #puppet
[2009/04/21 13:23:05] @ gaveen_ joined channel #puppet
[2009/04/21 13:26:27] @ bobbyz joined channel #puppet
[2009/04/21 13:30:57] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/04/21 13:33:50] @ Quit: wakko666: Remote closed the connection
[2009/04/21 13:35:37] @ Quit: gaveen: No route to host
[2009/04/21 13:37:37] @ voixd joined channel #puppet
[2009/04/21 13:38:18] @ wakko666 joined channel #puppet
[2009/04/21 13:39:17] @ kingitchy joined channel #puppet
[2009/04/21 13:40:35] @ alfism joined channel #puppet
[2009/04/21 13:42:19] @ Quit: MarlondB:
[2009/04/21 13:48:27] @ Quit: keithlard:
[2009/04/21 13:49:50] @ kolla joined channel #puppet
[2009/04/21 13:52:32] @ ezmob is now known as ezmob|away
[2009/04/21 13:53:19] @ Quit: jmarki: "Leaving"
[2009/04/21 13:55:08] @ Quit: claymation:
[2009/04/21 13:57:04] @ shake-n-bake joined channel #puppet
[2009/04/21 13:57:43] @ Quit: travisbrady:
[2009/04/21 13:59:14] @ randybias joined channel #puppet
[2009/04/21 13:59:35] @ claymation joined channel #puppet
[2009/04/21 14:02:14] @ ezmob|away is now known as ezmob
[2009/04/21 14:03:36] @ benkei_gone is now known as csmith
[2009/04/21 14:03:44] @ Quit: melopt: "Leaving"
[2009/04/21 14:04:43] @ Quit: cirquitz: "Leaving"
[2009/04/21 14:05:43] @ csmith is now known as benkei_gone
[2009/04/21 14:15:37] @ Quit: ijcd:
[2009/04/21 14:16:01] @ randybias is now known as randybias|away
[2009/04/21 14:19:20] @ lak joined channel #puppet
[2009/04/21 14:20:32] @ Quit: incommon_ike: "Leaving"
[2009/04/21 14:26:41] @ gaveen_ is now known as gaveen
[2009/04/21 14:27:54] @ nasrat joined channel #puppet
[2009/04/21 14:29:46] @ Quit: gaveen: "Enough lurking for now"
[2009/04/21 14:30:48] @ jhulten_work_ is now known as jhulten_work
[2009/04/21 14:32:48] @ jhulten_work is now known as jhulten
[2009/04/21 14:36:41] @ pleemans joined channel #puppet
[2009/04/21 14:39:53] @ MattyM joined channel #puppet
[2009/04/21 14:40:26] <jrojas> its dead in here today
[2009/04/21 14:46:08] @ gaveen joined channel #puppet
[2009/04/21 14:48:26] @ randybias|away is now known as randybias
[2009/04/21 14:51:17] @ Quit: claymation:
[2009/04/21 14:54:57] @ Quit: randybias: "Leaving..."
[2009/04/21 14:55:11] @ mfoster left channel #puppet ()
[2009/04/21 14:56:59] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/04/21 14:57:29] @ Quit: reyjrar: "Leaving"
[2009/04/21 15:00:30] @ randybias joined channel #puppet
[2009/04/21 15:09:13] <riddley> ever since that nazi guy yesterday... we're all aghast
[2009/04/21 15:09:45] <chu> nazis on the internet
[2009/04/21 15:09:48] <chu> that's a first
[2009/04/21 15:10:23] <riddley> I hate Illinois nazis
[2009/04/21 15:11:39] <jrojas> hurh?
[2009/04/21 15:11:43] <jrojas> i missed something
[2009/04/21 15:11:44] @ ezmob is now known as ezmob|away
[2009/04/21 15:13:01] @ mikepea joined channel #puppet
[2009/04/21 15:13:06] @ seph_ joined channel #puppet
[2009/04/21 15:15:23] @ seph_ left channel #puppet ()
[2009/04/21 15:15:27] @ seph_ joined channel #puppet
[2009/04/21 15:15:33] @ Quit: seph_: Client Quit
[2009/04/21 15:15:58] <jbooth> No Illinois for you! ?
[2009/04/21 15:16:12] @ seph_ joined channel #puppet
[2009/04/21 15:18:05] * fsweetser could go for four fried chickens and a coke...
[2009/04/21 15:19:20] <seph_> I'm a bit confused by ssh_authorized_key, and not finding much for examples around realizing it. I've got http://pastie.org/453736 which seems pretty simple, but doesn't result in user seph having that key
[2009/04/21 15:19:30] <kingitchy> and some dry white toast
[2009/04/21 15:20:59] @ Quit: MattyM: "ta ta"
[2009/04/21 15:25:56] @ Quit: mikepea:
[2009/04/21 15:28:55] @ MarlondB joined channel #puppet
[2009/04/21 15:32:07] @ mfoster1 joined channel #puppet
[2009/04/21 15:33:50] @ alban2 joined channel #puppet
[2009/04/21 15:34:19] <riddley> kingitchy, knows what's what.
[2009/04/21 15:34:27] <riddley> fsweetser, too!
[2009/04/21 15:34:40] <riddley> didja get me my cheese whiz, boy!?
[2009/04/21 15:34:41] <jrojas> seph_: is that a custom type (ssh keys?)
[2009/04/21 15:35:44] <seph_> jrojas: no. http://reductivelabs.com/trac/puppet/wiki/TypeReference#ssh-authorized-key
[2009/04/21 15:36:01] <seph_> It works fine if it's not virtual
[2009/04/21 15:36:10] <jrojas> hmm
[2009/04/21 15:37:07] <Telmo> if I define a exec {} in my parent class shouldn't it work if I make a "notify => my_exec" in a child class?
[2009/04/21 15:38:22] <jrojas> seph_: you have no target defined for the key
[2009/04/21 15:38:25] @ Quit: rlpowell: Read error: 104 (Connection reset by peer)
[2009/04/21 15:38:33] <jrojas> seph_: maybe it doesnt know where to put it
[2009/04/21 15:38:36] @ rlpowell joined channel #puppet
[2009/04/21 15:39:03] <seph_> jsojas: I have the user defined, I don't think it needs the target. (and if I change it to be real and not virtualized in user::unixadmins then it works)
[2009/04/21 15:39:44] <jrojas> hmm
[2009/04/21 15:40:06] <jrojas> what file does it create it as (authorized_keys2)? in your homedir? or somewhere else?
[2009/04/21 15:40:53] @ ezmob|away is now known as ezmob
[2009/04/21 15:40:57] <seph_> it creates /home/seph/.ssh/authorized_keys
[2009/04/21 15:41:04] <jrojas> hmm
[2009/04/21 15:41:06] <jrojas> strange..
[2009/04/21 15:41:32] <ChoHag> Is there an explanation somewhere of how you can create a recipe which will set up services on one node and also configure something for each service on another node?
[2009/04/21 15:41:37] <seph_> Also, if it was missing the target parameter, I'd expect something in the verbose logs. I get nothing. (this was 24.7, I'm just trying with 24.8 now)
[2009/04/21 15:41:39] <ChoHag> eg. Nagios or some other monitoring software.
[2009/04/21 15:43:30] <jrojas> ChoHag: there is a nagios config thing on the puppet wiki somewhere
[2009/04/21 15:43:34] @ gebi_ joined channel #puppet
[2009/04/21 15:44:17] <ChoHag> Yeah I've seen it before, I just can't find it.
[2009/04/21 15:44:34] <seph_> yeah. same behavior in 0.24.8. If I make sh_authorized_key not virtual, it's created. But as soon as I virtualize it, I get nothing.
[2009/04/21 15:44:54] <seph_> ChoHag: There are nagios bits in the TypeReference, not sure if you're looking for more or not
[2009/04/21 15:44:54] <jrojas> ChoHag: http://reductivelabs.com/trac/puppet/wiki/ExportedResources
[2009/04/21 15:45:41] <ChoHag> Ah that looks familiar. Cheers.
[2009/04/21 15:46:00] <jrojas> seph_: there are a few tickets about issues similar to yours
[2009/04/21 15:46:14] <seph_> yeah, I was just looking for those to reread them
[2009/04/21 15:46:17] <jrojas> gepetto: #2124
[2009/04/21 15:47:00] <jrojas> i think he hates me
[2009/04/21 15:48:43] <seph_> giving it an explicit target, still fails
[2009/04/21 15:49:35] <jrojas> file a bug :P
[2009/04/21 15:49:49] <jrojas> i dont manage ssh keys so i dont have much experience with it
[2009/04/21 15:49:51] <pietro> #2124
[2009/04/21 15:49:51] <gepetto> pietro: #2124 is http://projects.reductivelabs.com/issues/show/2124 "Puppet - Bug #2124: ssh_authorized_key always changes target if target is not defined - ReductiveLabs.com"
[2009/04/21 15:50:08] <ChoHag> What's the <| |> syntax for/called?
[2009/04/21 15:50:11] <jrojas> pietro: i hate you. :)
[2009/04/21 15:50:31] <pietro> jrojas: gepetto doesnt like when people talk directly to him
[2009/04/21 15:50:39] <jrojas> pietro: apparenty.
[2009/04/21 15:51:48] <jrojas> ChoHag: http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#expression-examples
[2009/04/21 15:52:33] <ChoHag> Ah yes virtual resources.
[2009/04/21 15:52:41] <ChoHag> I read about them a while ago.
[2009/04/21 15:53:21] <ChoHag> Amusingly, immediately after that is an explanation of exported resources.
[2009/04/21 15:55:11] <seph_> Filing a bug is a lot harder when projects.reductivelabs.com produces 500 errors. <sigh>
[2009/04/21 15:55:53] @ Quit: gebi: Read error: 113 (No route to host)
[2009/04/21 16:03:20] <seph_> I
[2009/04/21 16:04:24] <Volcane> realize(Ssh_authorized_key["seth-2008"])
[2009/04/21 16:04:27] <Volcane> missing "S"
[2009/04/21 16:04:38] <seph_> I'm still having trouble wrapping my head around the puppet model for managing users. I kinda want to define ssh authroized keys as part of the user, not as a separate resource. Or as something included by the user, but when I've tried that it creates them even for unrealized users. I feel like I'm missing something fundemental
[2009/04/21 16:05:38] @ fbe joined channel #puppet
[2009/04/21 16:05:53] * Volcane thinks user management in puppet lacks loads
[2009/04/21 16:06:11] <nigelk> I think user management is fine
[2009/04/21 16:06:11] <nigelk> but
[2009/04/21 16:06:12] <seph_> I tried it as Ssh_authorized_key, I didn't get anything there either
[2009/04/21 16:06:24] <nigelk> you want some kind of model that allows other resource types to be attached to a user more directly somehow
[2009/04/21 16:06:30] <nigelk> I haven't quite thought how this would work
[2009/04/21 16:06:32] <pietro> seph_: te user can 'require' its key
[2009/04/21 16:06:50] <Volcane> seph_: its your manifest on the users list right?
[2009/04/21 16:06:53] <seph_> The other place user management always kills me is in creating user groups. If I want the user seph to have the primary group seph, I don't think I can do that.
[2009/04/21 16:07:31] <seph_> when I've tried having users require things (like groups) they get created even when the users aren't realized or the dependancy order is weird.
[2009/04/21 16:08:05] <nigelk> seph_: sure you can do that... create the group and make the user dependent upon the group
[2009/04/21 16:08:34] <seph_> Volcane: I'm not sure what "its" is. My realizes are in modules/user/manifests/unixadmins.pp
[2009/04/21 16:08:36] <ChoHag> Can you compile a host's configuration on the server without having to realise it?
[2009/04/21 16:08:38] <nigelk> if you want a circular dependency.... the group requires the user which requires the group.... that's not going to work :)
[2009/04/21 16:08:46] @ Quit: randybias: "Leaving..."
[2009/04/21 16:09:39] <seph_> niegelk: That didn't work. I'm trying to remember the details. I'm pretty sure that the group was created even when the user was unrealized (weird, but okay), and that on debian it pre-created the group, and then the adduser failed, since the group was already in place
[2009/04/21 16:10:10] <seph_> niegelk: I just gave up on managing groups. What my primary group is really doesn't matter much in my very small shop.
[2009/04/21 16:10:19] <seph_> The ssh keys, however, are killing me
[2009/04/21 16:11:16] <nigelk> so that seems like a bug in adduser or the adduser provider then
[2009/04/21 16:11:23] <Volcane> well the basics work: http://pastie.org/453804
[2009/04/21 16:11:26] <nigelk> as I've done that happily on *bsds and OS X
[2009/04/21 16:11:32] <Volcane> why it does the 'target changed' b/s all the time i dont know
[2009/04/21 16:12:31] @ blahdeblah left channel #puppet ()
[2009/04/21 16:13:58] <Volcane> so yeha, donno why your things not working
[2009/04/21 16:14:06] <Volcane> does it just not do it? no errors nothing?
[2009/04/21 16:14:28] <seph_> With my stuff (across various files, using the puppetmaster) it does nothing. No output.
[2009/04/21 16:14:54] <seph_> Trying your simple case, with the puppet command line, I get "sh: Syntax error: Bad fd number" I'm trying to get a little more verbosity
[2009/04/21 16:16:25] <Volcane> if i just put it in a file and run it it works fine
[2009/04/21 16:16:38] <Volcane> hmm
[2009/04/21 16:16:45] <Volcane> what os/distro?
[2009/04/21 16:18:28] @ randybias joined channel #puppet
[2009/04/21 16:18:44] <seph_> ubuntu, 8.04. puppet 0.24.8-1. I found a typo in the test case from you, it does work though it produces some weird sh errors. http://pastie.org/453816
[2009/04/21 16:19:08] <Volcane> typo where?
[2009/04/21 16:19:15] <seph_> typo on my end, not yours
[2009/04/21 16:19:19] <Volcane> ah :)
[2009/04/21 16:19:30] <Volcane> ok so that works then pretty much right
[2009/04/21 16:19:48] @ Quit: randybias: Client Quit
[2009/04/21 16:20:20] <Volcane> http://pastie.org/453819 that works for me too
[2009/04/21 16:20:42] <seph_> yes, modulo the weird sh syntax errors. I'm currently stepping through the more complex example to see where I screwed up
[2009/04/21 16:20:51] <Volcane> this 'Bad fd number' sounds to me like something weird in a fact somewhere
[2009/04/21 16:21:03] <seph_> dumping the trivial syntax into puppetmaster works too
[2009/04/21 16:21:14] <Volcane> run just: facter, same errors?
[2009/04/21 16:21:50] <seph_> no errors from `facter`
[2009/04/21 16:22:00] <Volcane> ah
[2009/04/21 16:22:33] @ Quit: d3vilb0x: Read error: 110 (Connection timed out)
[2009/04/21 16:23:23] <jrojas> wow. upgrading puppetmaster to 24.8 dropped my load average this is nice.
[2009/04/21 16:26:35] @ Quit: nigelk: Read error: 104 (Connection reset by peer)
[2009/04/21 16:27:21] <seph_> Yeah, if I dump everything into a file in /tmp, and run puppet against it it works. But when thigns split across files on the puppetmaster it still produces no output. I'm trying to adding in some warn or fail statements to see if it's actually including everything
[2009/04/21 16:28:10] <Volcane> pretty odd
[2009/04/21 16:29:58] @ claymation joined channel #puppet
[2009/04/21 16:31:07] @ nigelk joined channel #puppet
[2009/04/21 16:37:00] @ keithlard joined channel #puppet
[2009/04/21 16:37:12] @ Quit: kolla: Remote closed the connection
[2009/04/21 16:38:26] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2009/04/21 16:40:11] @ benkei_gone is now known as csmith
[2009/04/21 16:41:57] @ csmith is now known as benkei_gone
[2009/04/21 16:42:05] <joe-mac> hey can someone tell me how you can specify attributes at realization?
[2009/04/21 16:42:19] <joe-mac> or if it's even possible
[2009/04/21 16:43:16] <Volcane> inherit from the class that made the virtual resource, then use normal overriding syntax
[2009/04/21 16:43:33] <sc0ttB> hrm... I have a Ubuntu Jaunty system being detected as FreeBSD... any easy fixes?
[2009/04/21 16:43:41] <joe-mac> thanks Volcane, will do
[2009/04/21 16:44:05] <joe-mac> sc0ttB: pastie your whole sudo facter output, minus any sensitive info
[2009/04/21 16:44:11] <joe-mac> i'm curious to see this...
[2009/04/21 16:44:16] <seph_> Still weirdly failing. I added a bunch of crit(blah) statements. I get the messages from baseclass, but not the messages from unixadmins. Which is especially weird, since if I delete the seph user, iit gets recreated
[2009/04/21 16:45:20] <seph_> it all works if I dump it into a single file and run puppet against it though
[2009/04/21 16:46:02] <Volcane> what files do you have these things in?
[2009/04/21 16:47:11] <seph_> node and baseclass are in template.pp, unixadmin and virtual are in module/users/manifests
[2009/04/21 16:47:29] <Volcane> in what files exactly
[2009/04/21 16:47:48] <Volcane> virtual.pp and unixadmin.pp?
[2009/04/21 16:47:50] <pastie> joe-mac: http://pastie.org/453847 by sc0ttB.
[2009/04/21 16:48:29] <sc0ttB> joe-mac: I put the log messages at the end
[2009/04/21 16:48:45] <seph_> unixadmins.pp and virtual.pp (my unixadmins is plural, but it's plural consistently)
[2009/04/21 16:49:04] @ \ask-_ joined channel #puppet
[2009/04/21 16:49:25] <joe-mac> sc0ttB: oh, that's cause of portage or whatever i am guessing
[2009/04/21 16:49:46] <Volcane> seph_: and does it work if you put both in modules/users/manifests/init.pp ?
[2009/04/21 16:50:12] <joe-mac> might want to file a bug sc0ttB
[2009/04/21 16:50:19] <sc0ttB> k, thx
[2009/04/21 16:50:34] <joe-mac> sc0ttB:
[2009/04/21 16:50:42] <joe-mac> so, that facter output is from a gentoo box?
[2009/04/21 16:50:54] <sc0ttB> ubuntu (9.04)
[2009/04/21 16:51:09] <seph_> Volcane: arrg. I had a different (and incorrect) unixadmins class in init.pp. Once I kill that things start working correct. <smacks self>
[2009/04/21 16:51:18] <seph_> I'd even checked too. But hadn't managed to notice
[2009/04/21 16:51:22] <Volcane> seph_: yueah figured it was something like that :)
[2009/04/21 16:51:31] <joe-mac> sorry for some reason i read gentoo up there, probably cause of jaunty
[2009/04/21 16:51:34] <sc0ttB> joe-mac: 9.04 will be released tomorrow (afaict)
[2009/04/21 16:51:34] <joe-mac> that's why i mentioned portage
[2009/04/21 16:51:36] <seph_> It takes ages to walk through and find the little things
[2009/04/21 16:51:39] <seph_> thanks for the patience
[2009/04/21 16:51:51] <sc0ttB> ya I was wondering about that ;)
[2009/04/21 16:52:33] <joe-mac> sc0ttB: yea, so, in short i am a little puzzled by that, can you run puppet with --debug to see maybe if you get mroei nfo how it's finding that provider
[2009/04/21 16:54:26] @ Quit: MrHeavy: Remote closed the connection
[2009/04/21 17:01:21] <sc0ttB> hmm --debug doesn't show much else.
[2009/04/21 17:01:47] <sc0ttB> there are a few: "file /sbin/chkconfig does not exist" etc messages
[2009/04/21 17:02:53] @ martha left channel #puppet ()
[2009/04/21 17:03:12] <Volcane> does it have /etc/rc.conf.d ?
[2009/04/21 17:04:01] <sc0ttB> I've built a 0.24.8 package but that gets installed by puppet so the first run
[2009/04/21 17:04:05] <cwebber> is it a feature that if you do all, !users: in tagmail that it ignores the !users?
[2009/04/21 17:04:25] <Volcane> sc0ttB: does this macine have /etc/rc.conf.d?
[2009/04/21 17:04:26] <sc0ttB> s/so the first run//
[2009/04/21 17:04:35] <sc0ttB> no
[2009/04/21 17:04:49] <Volcane> what version facter?
[2009/04/21 17:05:16] <sc0ttB> problem is fixed with 0.24.8 BTW
[2009/04/21 17:05:21] <Volcane> ah
[2009/04/21 17:05:22] @ Quit: erm_: "leaving"
[2009/04/21 17:05:27] @ Quit: devicenull_: Connection reset by peer
[2009/04/21 17:05:47] @ Quit: tim|imac: "Leaving"
[2009/04/21 17:06:07] <sc0ttB> but Jaunty ships with 0.24.5
[2009/04/21 17:06:35] <sc0ttB> or will ship
[2009/04/21 17:06:55] <seph_> Looking at the Type metaprameters, there's a before and an require. Is there anything like an after? So I could say "After creating this user, do this following...."
[2009/04/21 17:07:21] <Volcane> how can require get satisfied before something else runs? :)
[2009/04/21 17:08:16] @ MattyM joined channel #puppet
[2009/04/21 17:08:45] <seph_> See, I want to say "after realizing user seph, Ssh_authorized_keys<|user==seph|>" but I think have to just realize them seperaetly
[2009/04/21 17:09:07] <Volcane> what does require do if not to make sure it runs after something else?
[2009/04/21 17:10:17] <seph_> require defines a pre-requisit. I could put a require in the ssh_authorized_key, but that's not really the same
[2009/04/21 17:10:18] <joe-mac> that sucks sc0ttB, luckily we have a policy of only using the LTS
[2009/04/21 17:10:27] @ tim|imac joined channel #puppet
[2009/04/21 17:10:37] <Volcane> seph_: i dont get what the difference is in your case
[2009/04/21 17:10:56] <Volcane> seph_: you want it to add the key only if the user is there already, not before and not if adding the user failed == require
[2009/04/21 17:11:07] <seph_> Volcane: lemme write up an example
[2009/04/21 17:11:14] <sc0ttB> joe-mac: with virt machines it is hard not to use the latest and greatest
[2009/04/21 17:11:34] <joe-mac> sc0ttB: i am not sure i understand what you're getting at
[2009/04/21 17:11:38] * Volcane neither
[2009/04/21 17:11:51] <sc0ttB> easier to snapshot and upgrade
[2009/04/21 17:12:05] <sc0ttB> fall back if things break
[2009/04/21 17:12:21] <joe-mac> ah i c
[2009/04/21 17:12:41] <joe-mac> we do use vm's and whatnot, but vmware server so snapshots and stuff isn't so easy with such crap
[2009/04/21 17:13:00] @ alfism_ joined channel #puppet
[2009/04/21 17:13:16] <joe-mac> we were going to get a SAN and esxi but budget constraints, and a distributed exchange cluster to replace notes is more important to the important people right now
[2009/04/21 17:13:33] * sc0ttB stabs notes
[2009/04/21 17:13:39] <Volcane> I'd say replacing notes is more important than breating
[2009/04/21 17:14:03] <joe-mac> LMFAOO
[2009/04/21 17:14:08] <joe-mac> two great responses
[2009/04/21 17:14:34] <joe-mac> it's a chinese box to me
[2009/04/21 17:14:45] <joe-mac> i feed it mail and it goes places
[2009/04/21 17:14:53] <joe-mac> it's more like the client side where it sucks for me
[2009/04/21 17:14:57] <seph_> http://pastie.org/453883 is a bit more detail
[2009/04/21 17:15:34] <Volcane> seph_: keys require user, sorted
[2009/04/21 17:16:10] <Volcane> and awesomly - in 0.24.8 anyway - the require happens automagically
[2009/04/21 17:16:14] <Volcane> so you dont even need to do anytiung
[2009/04/21 17:16:29] <Volcane> just like puppet wont try to create /foo/bar before /foo even without you telling it requires
[2009/04/21 17:16:32] <seph_> Volcane: right, that's the third approach. _keys requires the user. And then instead of realizing the user, I'd realize the key directly, which would pull in the user. Somehow it just seems werid to do that
[2009/04/21 17:16:48] <Volcane> seph_: you can realize, and require, they're not mutually exclusive
[2009/04/21 17:17:54] <seph_> sure. It just feels weird to realize the _key, and leave the user implicit. Just feels backwards
[2009/04/21 17:18:26] <Volcane> i dont get it. its how puppets designed to work?
[2009/04/21 17:18:38] <Volcane> one thing require another, that makes one thing happen after another
[2009/04/21 17:18:40] <seph_> (oops, brb)
[2009/04/21 17:18:52] <Volcane> and should the first fail, the 2nd cant happen and wont happen
[2009/04/21 17:19:26] <Volcane> in the case where you have both a User["foo"] and a Ssh_authorized_key that specifies user => foo, that relationship gets made for you automagically
[2009/04/21 17:19:47] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 17:19:53] @ Quit: voixd: Read error: 104 (Connection reset by peer)
[2009/04/21 17:21:19] @ gaveen joined channel #puppet
[2009/04/21 17:22:42] @ Quit: keithlard:
[2009/04/21 17:23:30] @ voixd joined channel #puppet
[2009/04/21 17:25:16] <seph_> Right. And that means that in my unixadmins I could just realize the key. (which would in turn realize the user). But I find it unsatisfying to realize the key. I believe these are logically equivlent
[2009/04/21 17:25:40] <Volcane> it wouldnt realize the user, you still need to realize both
[2009/04/21 17:25:53] <Volcane> it would just do the key after the user without any action on your part
[2009/04/21 17:25:57] @ cwebber_ joined channel #puppet
[2009/04/21 17:27:08] @ erm_ joined channel #puppet
[2009/04/21 17:27:48] <Volcane> ah right, now i follow your manifest
[2009/04/21 17:27:58] <Volcane> no that just not possible, and thats not what before => does either
[2009/04/21 17:28:02] @ fujin joined channel #puppet
[2009/04/21 17:28:15] @ cwebber__ joined channel #puppet
[2009/04/21 17:28:15] @ Quit: cwebber_: Read error: 104 (Connection reset by peer)
[2009/04/21 17:28:29] <seph_> Ah. I want to not explicitly realize both. It feels weird not to be able to make the relationship do it automatically. I realize puppet just doesn't do it, an "after" might do it, but that functionality isn't there
[2009/04/21 17:28:43] <Volcane> no, you missunderstood before
[2009/04/21 17:28:48] <Volcane> you still need to realize both
[2009/04/21 17:29:58] <seph_> yes. I don't think I misunderstand before -- it's the mirror of require. A requires B. B befores A.
[2009/04/21 17:30:13] @ Quit: flakrat: "Leaving"
[2009/04/21 17:30:15] <Volcane> well you wrote: after => Ssh_authorized_key<| user == seph |>
[2009/04/21 17:30:30] <Volcane> which seems to suggest you think you can write before => Ssh_authorized_key<| user == seph |> ?
[2009/04/21 17:30:41] <Volcane> cos you said you want something like before, but for after?
[2009/04/21 17:31:03] <seph_> I guess I'm blurring my two desires. One is to define an after, which I think is logically different than before/require. The other is to have something run whenever a user user is realized.
[2009/04/21 17:31:18] <Volcane> right
[2009/04/21 17:31:25] <Volcane> well you could easily write a define to do what u want
[2009/04/21 17:32:04] @ Quit: MattyM: "ta ta"
[2009/04/21 17:32:19] <Volcane> like creating a myuser resources that would do the user and realize his keys, that hsould be possible
[2009/04/21 17:32:22] <seph_> Hrm. I think I think I could write "before => Ssh_authorized_key<| user == seph |> " though I'm not sure it would do the right thing with the realizes (that second desire I mention)
[2009/04/21 17:32:59] <seph_> I've steered away from the defines, on the theory that it's better for me to do what other people do. Which I assume is to write somewhat repetative realize statements.
[2009/04/21 17:33:04] <Volcane> seph_: no, it wouldnt, thats why i said I think you missunderstood what "before" does and therefore my saying 'require' is like after is confusing :)
[2009/04/21 17:33:21] @ Quit: alfism: Read error: 110 (Connection timed out)
[2009/04/21 17:33:37] <Volcane> seph_: defines get used all the time to group related resources
[2009/04/21 17:34:24] <seph_> yes :) So why wouldn't that before work? Is seems pretty similar to the example in TypeReference
[2009/04/21 17:34:47] <Volcane> before => Ssh_authorized_key["seph"]
[2009/04/21 17:34:50] <Volcane> that would work
[2009/04/21 17:35:13] <seph_> Oh, so it's just the collection aspect that fails. Sure, but I don't think that's a fundemental misunderstnading
[2009/04/21 17:35:41] <Volcane> Ssh_authorized_key["seph"] references a single resource
[2009/04/21 17:36:05] <Volcane> wht you're saying is the equiv of saying require all these resources tagged 'seph' oh and realize them at the same time
[2009/04/21 17:36:07] <Volcane> very different
[2009/04/21 17:36:33] <seph_> yes. Single vs. collection. Which I guess points to "before" and "require" as being about single resources, and presumable after is too. Where I'm looking for something more like "run this code afterwards" or "include"
[2009/04/21 17:36:47] <Volcane> you cant do that
[2009/04/21 17:37:03] <seph_> So I guess I now have 3 feature requests :) Some or all of which I could do with a define.
[2009/04/21 17:38:25] <seph_> But I think for the tiny number of users I have, I'll just realize the users and realize the keys separately. Taking the pragmatic approach over trying to write a define
[2009/04/21 17:41:43] @ Quit: cwebber: Connection timed out
[2009/04/21 17:41:43] <joe-mac> anyboldy know why this won't work? http://www.pastie.org/453926
[2009/04/21 17:41:51] <joe-mac> can i not have variables in the attributes?
[2009/04/21 17:42:17] <Volcane> its like shell scripts
[2009/04/21 17:42:35] <Volcane> "foo-0${bar}.${baz}"
[2009/04/21 17:43:24] <joe-mac> that's what i tried also Volcane
[2009/04/21 17:43:31] <joe-mac> let me try again
[2009/04/21 17:44:37] <joe-mac> Volcane: when i do that i get Could not match '${primary}.${domain}
[2009/04/21 17:44:50] <joe-mac> domain is a fact and primary is a variable that i have set in the class
[2009/04/21 17:45:03] <Volcane> who the full actual code
[2009/04/21 17:45:41] <joe-mac> k h/o
[2009/04/21 17:45:48] @ Quit: benp-: Remote closed the connection
[2009/04/21 17:45:59] @ benp- joined channel #puppet
[2009/04/21 17:49:06] @ cwebber joined channel #puppet
[2009/04/21 17:49:07] @ Quit: cwebber__: Read error: 104 (Connection reset by peer)
[2009/04/21 17:49:15] @ Quit: cwebber: Remote closed the connection
[2009/04/21 17:49:20] @ cwebber joined channel #puppet
[2009/04/21 17:50:13] <joe-mac> Volcane: http://www.pastie.org/453936
[2009/04/21 17:50:47] <Volcane> did you put "'s around it like in my example?
[2009/04/21 17:50:58] @ keithlard joined channel #puppet
[2009/04/21 17:51:04] <joe-mac> let me try that
[2009/04/21 17:51:51] @ fdz joined channel #puppet
[2009/04/21 17:52:40] @ shake-n-bake joined channel #puppet
[2009/04/21 17:52:56] <joe-mac> nice, thanks Volcane asidwe from a small other punctuation error it's parsuing now
[2009/04/21 17:53:03] <Volcane> :)
[2009/04/21 17:53:27] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/04/21 17:54:08] @ travisbrady joined channel #puppet
[2009/04/21 17:55:41] <travisbrady> can I pass a list of minutes in a cron ala "minute => [1, 11, 23]"?
[2009/04/21 17:56:29] @ masterzen joined channel #puppet
[2009/04/21 17:56:56] @ d3vilb0x joined channel #puppet
[2009/04/21 17:59:57] @ specsmu joined channel #puppet
[2009/04/21 18:00:00] <specsmu> hey anyone awake?
[2009/04/21 18:00:10] <wakko666> travisbrady: yes. see examples: http://reductivelabs.com/trac/puppet/wiki/TypeReference#cron
[2009/04/21 18:00:20] @ Quit: alfism_: Read error: 110 (Connection timed out)
[2009/04/21 18:00:37] <specsmu> guess so. so I can't seem to get the force => true to work. I have a directory I want to replace with a symlink, but it's not doing it. Any ideas?
[2009/04/21 18:00:47] @ nakano_ is now known as nakano
[2009/04/21 18:00:52] <masterzen> lak: I've almost finished the latest version of #1875 (rebased on top of your 2149 branch). There's just a problem when I'm testing a small manifest: puppetd fails to get a catalog, with an invalid yaml error :-(
[2009/04/21 18:00:53] <gepetto> masterzen: lak: #1875 is http://projects.reductivelabs.com/issues/show/1875 "Puppet - Feature #1875: A REST Authorization file is needed - ReductiveLabs.com"
[2009/04/21 18:01:24] @ cw_ joined channel #puppet
[2009/04/21 18:01:39] <lak> masterzen: ok, gimme a sec
[2009/04/21 18:01:56] <lak> masterzen: try it with this patch applied: http://gist.github.com/99422
[2009/04/21 18:02:14] <wakko666> specsmu: i can think of two options. 1) recurse => true may need to be set. 2) you may need two objects, one to ensure directory is absent and a second to ensure the symlink is present.
[2009/04/21 18:02:29] <lak> masterzen: i think that patch is in master, but.... i'm verifying now
[2009/04/21 18:02:39] <specsmu> hmm.. I thought force => true was designed specifically for this circumstance.
[2009/04/21 18:02:55] <lak> nope
[2009/04/21 18:03:37] <lak> masterzen: hrm, that got lost in the rebase, apparently
[2009/04/21 18:03:51] <lak> i'll open a ticket and publish the code now
[2009/04/21 18:03:58] <specsmu> how do you set up two objects to work on the same file? every time I try I get a duplicate definition
[2009/04/21 18:04:04] <specsmu> I'm willing to try that..
[2009/04/21 18:04:27] <wakko666> specsmu: $title and $name are different parameters and don't have to be the same thing.
[2009/04/21 18:04:38] <specsmu> mm.
[2009/04/21 18:05:08] <wakko666> err... in the file {} case, it's $title and $path.
[2009/04/21 18:05:14] <wakko666> see: http://reductivelabs.com/trac/puppet/wiki/TypeReference#file
[2009/04/21 18:05:19] <specsmu> yeah, I was just about to ask that.
[2009/04/21 18:05:30] <specsmu> so you can have two objects with the same path?
[2009/04/21 18:05:37] <travisbrady> wakko666: thank you, sorry i missed that section
[2009/04/21 18:06:13] <lak> specsmu: you can't; how would puppet know which object wins?
[2009/04/21 18:06:16] <masterzen> lak: yes, that's it. It fixed the issue :-)
[2009/04/21 18:06:24] <lak> masterzen: cool, i'll get it in now
[2009/04/21 18:06:40] <specsmu> lak: but that's what wakko666 just recommended I do...
[2009/04/21 18:06:45] <wakko666> specsmu: lak's right. doh. so, you'll need to do a phased roll out
[2009/04/21 18:06:50] <specsmu> I'm trying to replace a directory with a symlink but force isn't working.
[2009/04/21 18:06:56] <specsmu> phrased rollout?
[2009/04/21 18:07:13] <wakko666> first, remove the directory, wait for that to push out, then create the symlink, and push that out.
[2009/04/21 18:07:46] <specsmu> that's not going to work because I'm not using puppetmasterd, I'm running it on server build.
[2009/04/21 18:08:04] <specsmu> we use push instead of pull
[2009/04/21 18:08:15] <masterzen> lak: regarding #2149, I don't need anymore to have a default entry for saving facts, is that right?
[2009/04/21 18:08:16] <gepetto> masterzen: lak: #2149 is http://projects.reductivelabs.com/issues/show/2149 "Puppet - Bug #2149: Client facts should be sent to server as request parameters - ReductiveLabs.com"
[2009/04/21 18:08:29] <lak> masterzen: correct
[2009/04/21 18:08:31] <masterzen> lak: I mean, a default ACL
[2009/04/21 18:09:12] <masterzen> lak: OK, the code should be ready in a few minutes. Do you want me to resend the touched patches on list?
[2009/04/21 18:09:16] * specsmu tries recurse
[2009/04/21 18:09:38] <wakko666> specsmu: hrm... i suppose you could just create an exec to mv the directory out of the way, and set it "before =>" your symlink directive.
[2009/04/21 18:09:52] <wakko666> then you can got back and clean up the directory at your leisure
[2009/04/21 18:10:02] <wakko666> s/got/go
[2009/04/21 18:10:04] <specsmu> yeah, that's what I had done prebiously, but I was hoping that force would work - because that's what the documentation says it's supposed to do.
[2009/04/21 18:10:39] <joe-mac> hey Volcane, do you know if i can inherit a subclass, like
[2009/04/21 18:10:58] <joe-mac> node 'somenode.something.com' inherits 'software::engine::hosted'
[2009/04/21 18:12:21] <Volcane> make test.pp, put questionable code, run puppet test.pp
[2009/04/21 18:12:56] <specsmu> heh, well, recurse bombed spectacularly.
[2009/04/21 18:13:49] <specsmu> in fact, it did something that I did not predict and have no idea WHY it did it.
[2009/04/21 18:14:20] <specsmu> ok, I'd set it to create a link (with ensure), set force => true, and recurse => true.
[2009/04/21 18:14:33] <specsmu> It didn't create the link - but it started copying stuff from the directory it was supposed to link to.
[2009/04/21 18:15:12] <specsmu> notice: //ftp-base/File[/home/77090_vXf-9he]/ensure: created
[2009/04/21 18:15:19] <specsmu> Is that a bug?
[2009/04/21 18:17:37] <wakko666> maybe, or may be just unexpected behavior. it sounds like it dereferenced the link
[2009/04/21 18:18:24] <bob2> ensure=> link and recurse=>true should probably raise an error
[2009/04/21 18:20:23] <joe-mac> ah Volcane looks like you need double quotes around the class name
[2009/04/21 18:20:37] <joe-mac> i feel like my n00b days of shell scripting are back
[2009/04/21 18:20:38] <joe-mac> lol
[2009/04/21 18:21:30] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 18:21:37] <joe-mac> hrm, no now it says it cannot find parent, probably a scope issue
[2009/04/21 18:21:49] @ Quit: masterzen: "Exploring other worlds"
[2009/04/21 18:22:08] @ gaveen joined channel #puppet
[2009/04/21 18:22:56] @ Deesl joined channel #puppet
[2009/04/21 18:23:42] @ Quit: rsquared: "Leaving"
[2009/04/21 18:23:58] @ masterzen joined channel #puppet
[2009/04/21 18:24:38] <specsmu> there's no link to dereference.
[2009/04/21 18:28:15] <joe-mac> ugh
[2009/04/21 18:28:18] <joe-mac> o'
[2009/04/21 18:28:30] <joe-mac> im out, thanks for the help
[2009/04/21 18:30:18] @ joe-mac left channel #puppet ()
[2009/04/21 18:30:30] @ Quit: masterzen: "Exploring other worlds"
[2009/04/21 18:35:59] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/04/21 18:37:05] @ madrescher joined channel #puppet
[2009/04/21 18:37:10] @ Quit: steven_d:
[2009/04/21 18:40:16] @ mfoster1 left channel #puppet ()
[2009/04/21 18:41:55] @ ericrw joined channel #puppet
[2009/04/21 18:42:21] <wakko666> i'm having difficulty getting puppet to update /etc/hosts. i need it to remove an old entry, and replace it with a correct one. however puppetd complains that "Configuration could not be instantiated: $title already exists with name $hostname
[2009/04/21 18:44:12] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 18:44:13] @ Quit: alban2: Read error: 60 (Operation timed out)
[2009/04/21 18:45:23] @ gaveen joined channel #puppet
[2009/04/21 18:48:59] @ alban2 joined channel #puppet
[2009/04/21 18:50:49] @ Quit: keithlard:
[2009/04/21 18:53:39] @ Quit: Deesl:
[2009/04/21 19:02:35] @ Quit: \ask-_: "Leaving..."
[2009/04/21 19:05:09] @ \ask-_ joined channel #puppet
[2009/04/21 19:05:39] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/04/21 19:08:21] @ Quit: claymation: Connection reset by peer
[2009/04/21 19:12:59] @ Quit: ghenry: Remote closed the connection
[2009/04/21 19:16:23] <gepetto> ::trac:: Language Tutorial edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial (by james@lovedthanlost.net)
[2009/04/21 19:16:39] @ Quit: madrescher: "Leaving."
[2009/04/21 19:19:00] @ claymation joined channel #puppet
[2009/04/21 19:21:02] <lurbs> Is there any easy way of doing "if $package is installed, ensure latest"? Would it involve adding a fact to check installed status?
[2009/04/21 19:21:32] <plathrop> lurbs: Why not just ensure=>latest?
[2009/04/21 19:22:17] <lurbs> Because I'm retrofitting, and puppet isn't the only thing that installs packages on the systems. :-/
[2009/04/21 19:23:00] <plathrop> ah
[2009/04/21 19:26:30] @ Quit: lak:
[2009/04/21 19:31:07] @ gebi_ is now known as gebi
[2009/04/21 19:44:04] @ randybias joined channel #puppet
[2009/04/21 19:51:53] @ Quit: Bass10: Success
[2009/04/21 19:59:37] @ Quit: cwebber:
[2009/04/21 20:02:56] @ alfism joined channel #puppet
[2009/04/21 20:06:57] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/04/21 20:07:36] @ gaveen joined channel #puppet
[2009/04/21 20:10:47] @ Quit: brothers: "leaving"
[2009/04/21 20:16:48] @ ijcd joined channel #puppet
[2009/04/21 20:19:23] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2009/04/21 20:19:38] @ andrewcshafer joined channel #puppet
[2009/04/21 20:20:04] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2009/04/21 20:20:08] @ andrewcshafer joined channel #puppet
[2009/04/21 20:22:47] @ Quit: kingitchy:
[2009/04/21 20:22:54] @ Quit: squiddle: Read error: 113 (No route to host)
[2009/04/21 20:24:40] <chadh> anyone know how I can get puppet to regenerate rrd files from all the existing reports?
[2009/04/21 20:28:44] @ Quit: ericrw:
[2009/04/21 20:30:39] @ Quit: \ask-_: "Leaving..."
[2009/04/21 20:32:28] @ alfism_ joined channel #puppet
[2009/04/21 20:40:23] @ cw_ is now known as cw|away
[2009/04/21 20:42:33] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 20:42:55] @ gaveen joined channel #puppet
[2009/04/21 20:49:41] @ Quit: alfism: Read error: 110 (Connection timed out)
[2009/04/21 20:52:47] @ Quit: nigelk:
[2009/04/21 20:55:05] @ Quit: travisbrady:
[2009/04/21 20:58:12] @ fdz left channel #puppet ()
[2009/04/21 20:59:37] @ randybias is now known as randybias|away
[2009/04/21 21:01:27] @ Quit: ezmob: "Bye!"
[2009/04/21 21:04:17] @ DavidS1 joined channel #puppet
[2009/04/21 21:04:25] @ collier_s joined channel #puppet
[2009/04/21 21:06:02] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2009/04/21 21:10:28] @ Quit: edwardam: Remote closed the connection
[2009/04/21 21:12:54] @ Quit: voixd: "leaving"
[2009/04/21 21:14:40] @ Quit: alfism_: "Connection reset by beer"
[2009/04/21 21:22:14] @ Quit: DavidS: Read error: 110 (Connection timed out)
[2009/04/21 21:22:14] @ Quit: claymation:
[2009/04/21 21:27:19] @ Quit: Kindred: Read error: 54 (Connection reset by peer)
[2009/04/21 21:27:39] @ Kindred joined channel #puppet
[2009/04/21 21:35:37] @ Quit: gaveen: Read error: 113 (No route to host)
[2009/04/21 21:35:43] @ gaveen_ joined channel #puppet
[2009/04/21 21:36:03] @ bobbyz joined channel #puppet
[2009/04/21 21:36:44] @ nakano is now known as nakano_
[2009/04/21 21:38:30] <bobbyz> Hi all. Is there a way to 'require' an exported file resource? My config uses entries like: @@file{ "/etc/bacula/puppet/seed_$fqdn":} and File <<| name == "/etc/bacula/puppet/seed_$fqdn" |>>, but a later require => File["/etc/bacula/puppet/seed_$fqdn"] always gives me config errors --- "Could not find dependency File[/etc/bacula/puppet/seed_yum.bobbyz.homeunix.org]"
[2009/04/21 21:38:59] @ Demosthenes joined channel #puppet
[2009/04/21 21:42:03] @ edwardam joined channel #puppet
[2009/04/21 21:44:21] @ Quit: cw|away: Read error: 110 (Connection timed out)
[2009/04/21 21:44:59] @ nakano_ is now known as nakano
[2009/04/21 22:00:33] @ Quit: edwardam: Remote closed the connection
[2009/04/21 22:00:48] @ erm_ joined channel #puppet
[2009/04/21 22:03:23] @ Quit: gaveen_: Read error: 113 (No route to host)
[2009/04/21 22:04:04] @ gaveen_ joined channel #puppet
[2009/04/21 22:06:17] @ n3kl joined channel #puppet
[2009/04/21 22:06:34] <n3kl> Hello
[2009/04/21 22:07:08] @ beloth joined channel #puppet
[2009/04/21 22:11:58] <beloth> hello, i changed puppet servers and i get the following error on the new server http://rafb.net/p/lwNKHw94.html would appreciate some insight on how to fix it
[2009/04/21 22:12:34] <n3kl> beloth: sounds like you need to specify your ca or something
[2009/04/21 22:14:37] <beloth> n3kl: newbie alert, all i did was change /etc/sysconfig/puppet (centos) to the new server, the certs worked on the other server, i am not sure where to put/generate or imports of the client to the server
[2009/04/21 22:15:21] <beloth> n3kl: if you can point me to resources would appreciate it :D
[2009/04/21 22:15:22] <n3kl> beloth: okay, you might need to generate new certs on teh new server to match the hostname. That sounds reasonable to me
[2009/04/21 22:15:31] <n3kl> beloth: dood, I have never used puppet
[2009/04/21 22:16:04] <n3kl> I came here trying to get someone to tell me that puppet is better than cfengine and that I should make the switch asap
[2009/04/21 22:16:08] <n3kl> =]
[2009/04/21 22:16:18] <n3kl> beloth: regardless, thats what it sounds like to me though
[2009/04/21 22:16:59] <beloth> ok thanks :)
[2009/04/21 22:17:16] <n3kl> you might still stick around though, seems empty, but...
[2009/04/21 22:20:08] <beloth> n3kl: yeah will do :D
[2009/04/21 22:24:32] @ atlan_ joined channel #puppet
[2009/04/21 22:24:47] @ nigelk joined channel #puppet
[2009/04/21 22:30:50] @ jmarki joined channel #puppet
[2009/04/21 22:31:23] @ ohadlevy joined channel #puppet
[2009/04/21 22:40:17] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/04/21 22:41:21] <jmarki> hi, i'm trying to mount an array of user home directories. any idea how that can be done?
[2009/04/21 22:42:02] @ Quit: nigelk:
[2009/04/21 22:42:47] @ ericrw joined channel #puppet
[2009/04/21 22:43:02] <jmarki> something like mount{ $users: ...}. but i can't don't know how to define the mount paths
[2009/04/21 22:50:00] <sub> http://reductivelabs.com/trac/puppet/wiki/TypeReference#mount
[2009/04/21 22:50:38] @ edwardam joined channel #puppet
[2009/04/21 22:53:33] <jmarki> sub: yes, but i don't know how to define the mount path according to the username...
[2009/04/21 22:56:59] <jmarki> pastebin http://pastebin.com/d2dcac83e
[2009/04/21 23:05:10] @ Deesl joined channel #puppet
[2009/04/21 23:05:24] @ Quit: Deesl: Remote closed the connection
[2009/04/21 23:06:18] @ lak joined channel #puppet
[2009/04/21 23:06:30] @ Quit: ijcd:
[2009/04/21 23:11:26] <sub> oh, i see what you're trying to do
[2009/04/21 23:12:10] <jmarki> yeah. any tips? or should i do it another way?
[2009/04/21 23:12:19] <ohadlevy> jmarki: I guess you could use a define
[2009/04/21 23:12:31] <sub> that's what i'm thinking ^
[2009/04/21 23:12:55] <ohadlevy> jmarki: do you get yoru user list from an external list? or you just write it down in the manifest?
[2009/04/21 23:13:01] <jmarki> how would i insert in the title parameter using define?
[2009/04/21 23:13:01] @ \ask-_ joined channel #puppet
[2009/04/21 23:13:21] <ohadlevy> jmarki: what do you mean?
[2009/04/21 23:13:23] <jmarki> ohadlevy: a variable in the manifest
[2009/04/21 23:13:51] <ohadlevy> but you have a set of users names and their homedir right?
[2009/04/21 23:14:36] <jmarki> sort of...
[2009/04/21 23:14:36] <ohadlevy> and usually, you want to populate the home dir with some values as well..
[2009/04/21 23:15:03] <ohadlevy> e.g. some skeleton files
[2009/04/21 23:15:17] <ohadlevy> or set some file permissions (e.g. groups etc)
[2009/04/21 23:16:10] <ohadlevy> well, I've something that I use at home, not sure if thats what you want exactly, but I can share the manifest..
[2009/04/21 23:16:40] <jmarki> ohadlevy: can u please share that?
[2009/04/21 23:16:48] <ohadlevy> pastie me
[2009/04/21 23:17:13] <jmarki> ohadlevy: eek, how do u do that?
[2009/04/21 23:18:14] <ohadlevy> http://pastie.org/454165
[2009/04/21 23:18:31] @ Quit: \ask-_: "Bye!"
[2009/04/21 23:18:52] <ohadlevy> I wrote it a long time ago, so maybe some optmizations are possible :)
[2009/04/21 23:18:57] <ohadlevy> like the managehome etc
[2009/04/21 23:20:36] <jmarki> ahh.... that's something new... thanks ohadlevy and sub! =)
[2009/04/21 23:22:02] <sub> it was all ohadlevy ;p
[2009/04/21 23:27:20] @ nakano is now known as nakano_
[2009/04/21 23:38:06] @ cwebber joined channel #puppet
[2009/04/21 23:44:22] @ kingitchy joined channel #puppet
[2009/04/21 23:50:00] @ shake-n-bake joined channel #puppet
[2009/04/21 23:53:54] @ Quit: cwebber:
[2009/04/21 23:56:41] @ cwebber joined channel #puppet

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