Friday, 2009-06-26

[2009/06/26 00:07:50] @ Log started by gepetto
[2009/06/26 00:07:50] @ Administrator__ joined channel #puppet
[2009/06/26 00:08:28] @ Quit: Administrator__: Client Quit
[2009/06/26 00:09:35] <gstratton> I'm still fighting with this error; any hints?
[2009/06/26 00:09:36] <gstratton> err: Could not retrieve catalog: Puppet::Parser::Compiler failed with error NameError: uninitialized constant Puppet::Rails::Host on node impulse.mocomedia.net
[2009/06/26 00:10:19] <gstratton> Other clients can connect okay.
[2009/06/26 00:12:05] <joe-mac> jamesturnbull: what exactly would someone have a hudson slave for?
[2009/06/26 00:12:12] <joe-mac> just as an OS to test puppet on that RL doesn't currently have?
[2009/06/26 00:12:53] <joe-mac> i do like how there are no music things or anything
[2009/06/26 00:13:04] <joe-mac> myspace seems like more geared towards advertising
[2009/06/26 00:13:12] <joe-mac> wrong #
[2009/06/26 00:17:48] @ Administrator__ joined channel #puppet
[2009/06/26 00:19:30] @ tecto joined channel #puppet
[2009/06/26 00:20:42] @ bobbyz joined channel #puppet
[2009/06/26 00:21:08] @ Quit: blahdeblah: "Leaving."
[2009/06/26 00:21:39] @ Quit: Administrator__: Client Quit
[2009/06/26 00:23:07] @ Quit: omry_|work: Read error: 60 (Operation timed out)
[2009/06/26 00:23:16] @ omry_|work joined channel #puppet
[2009/06/26 00:23:56] @ Quit: langseth: Read error: 60 (Operation timed out)
[2009/06/26 00:23:58] @ langseth joined channel #puppet
[2009/06/26 00:24:04] @ Quit: ezekiel: Read error: 60 (Operation timed out)
[2009/06/26 00:24:09] @ Quit: n3kl_: Read error: 60 (Operation timed out)
[2009/06/26 00:24:10] @ ezekiel joined channel #puppet
[2009/06/26 00:24:11] @ n3kl_ joined channel #puppet
[2009/06/26 00:31:13] @ Quit: pinoyskull: Read error: 110 (Connection timed out)
[2009/06/26 00:32:08] @ joe-mac left channel #puppet ()
[2009/06/26 00:35:07] @ nawty joined channel #puppet
[2009/06/26 00:42:44] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/06/26 00:44:56] @ nawty_ joined channel #puppet
[2009/06/26 00:49:24] @ randybias is now known as randybias|away
[2009/06/26 00:50:26] @ D-CoDe joined channel #puppet
[2009/06/26 00:52:46] @ Quit: nawty: Read error: 110 (Connection timed out)
[2009/06/26 00:55:53] @ Shazburg joined channel #puppet
[2009/06/26 00:58:05] @ Quit: D-CoDe: "Leaving."
[2009/06/26 00:58:22] @ D-CoDe joined channel #puppet
[2009/06/26 01:03:09] @ bobbyz joined channel #puppet
[2009/06/26 01:03:46] @ randybias|away is now known as randybias
[2009/06/26 01:07:56] @ Quit: PhabX: "Leaving..."
[2009/06/26 01:08:18] @ pastie joined channel #puppet
[2009/06/26 01:22:24] @ Quit: cwebber:
[2009/06/26 01:23:05] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/06/26 01:27:27] @ Quit: D-CoDe: "Leaving."
[2009/06/26 01:27:38] @ D-CoDe joined channel #puppet
[2009/06/26 01:31:13] @ bobbyz joined channel #puppet
[2009/06/26 01:34:32] @ monzie joined channel #puppet
[2009/06/26 01:38:28] @ Quit: monzie: Client Quit
[2009/06/26 01:38:52] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/26 01:38:56] @ maryN joined channel #puppet
[2009/06/26 01:39:59] @ Quit: int: Read error: 110 (Connection timed out)
[2009/06/26 01:55:00] @ Quit: fujin:
[2009/06/26 02:01:03] @ fujin joined channel #puppet
[2009/06/26 02:12:53] @ Quit: poison: "Leaving..."
[2009/06/26 02:16:45] @ randybias is now known as randybias|away
[2009/06/26 02:17:23] @ Quit: Shazburg: Remote closed the connection
[2009/06/26 02:18:41] @ Shazburg joined channel #puppet
[2009/06/26 02:25:31] @ andrewcshafer joined channel #puppet
[2009/06/26 02:32:02] @ lak joined channel #puppet
[2009/06/26 02:32:24] @ Quit: Shazburg: Remote closed the connection
[2009/06/26 02:34:18] @ Quit: D-CoDe: "Leaving."
[2009/06/26 02:37:49] @ saurabhverma joined channel #puppet
[2009/06/26 02:40:55] @ kolla joined channel #puppet
[2009/06/26 02:42:54] @ Quit: PhatBaja:
[2009/06/26 02:45:24] @ justindossey1 joined channel #puppet
[2009/06/26 02:48:13] @ Quit: saurabhverma: Connection reset by peer
[2009/06/26 02:48:18] @ saurabhverma joined channel #puppet
[2009/06/26 02:49:16] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/06/26 02:50:44] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 02:57:30] @ Quit: alban2: Read error: 113 (No route to host)
[2009/06/26 02:59:36] @ Quit: f3ew: Remote closed the connection
[2009/06/26 03:00:52] @ f3ew joined channel #puppet
[2009/06/26 03:06:53] @ monzie joined channel #puppet
[2009/06/26 03:14:50] @ madrescher joined channel #puppet
[2009/06/26 03:17:42] @ Quit: saurabhverma: Connection timed out
[2009/06/26 03:22:24] @ Quit: lak:
[2009/06/26 03:27:22] @ DerekW joined channel #puppet
[2009/06/26 03:32:47] @ MattyM joined channel #puppet
[2009/06/26 03:32:53] @ Quit: magnachef__: Read error: 110 (Connection timed out)
[2009/06/26 03:33:00] @ francois joined channel #puppet
[2009/06/26 03:33:05] @ magnachef__ joined channel #puppet
[2009/06/26 03:34:29] @ kibahop joined channel #puppet
[2009/06/26 03:36:14] @ tim|macbook joined channel #puppet
[2009/06/26 03:38:33] @ Quit: QMan:
[2009/06/26 03:42:19] @ Quit: madrescher: "Leaving."
[2009/06/26 03:46:16] <hMz> how do i handle updates to pluginsync items?
[2009/06/26 03:48:51] <Volcane> update them on the master and they go out?
[2009/06/26 03:48:54] * tim|macbook is watching the configuration panel
[2009/06/26 03:49:41] @ Berge joined channel #puppet
[2009/06/26 03:49:52] <ctso> uh. have pluginsync on XD
[2009/06/26 03:50:34] @ madrescher joined channel #puppet
[2009/06/26 03:50:48] @ Quit: justindossey1: Read error: 104 (Connection reset by peer)
[2009/06/26 03:51:15] @ justindossey joined channel #puppet
[2009/06/26 03:57:48] @ maxagaz joined channel #puppet
[2009/06/26 04:02:46] @ Quit: andrewcshafer:
[2009/06/26 04:04:03] @ Quit: maxagaz: Remote closed the connection
[2009/06/26 04:05:47] @ blahdeblah joined channel #puppet
[2009/06/26 04:06:23] <blahdeblah> Hi. How can i work out why puppet will not distribute a file as i expect?
[2009/06/26 04:08:58] @ maxagaz joined channel #puppet
[2009/06/26 04:09:36] <tim|macbook> blahdeblah: try using --debug
[2009/06/26 04:09:37] <phellarv> blahdeblah: debug?
[2009/06/26 04:09:41] <phellarv> \o/
[2009/06/26 04:09:45] <tim|macbook> :)
[2009/06/26 04:09:47] <blahdeblah> OK
[2009/06/26 04:09:48] @ mfournier joined channel #puppet
[2009/06/26 04:10:12] <blahdeblah> whoa! That's a lot of output
[2009/06/26 04:10:22] <blahdeblah> I was already using verbose and i thought that was as much as there was...
[2009/06/26 04:10:45] <blahdeblah> Hmmm... No mention of my module
[2009/06/26 04:10:52] <blahdeblah> I must be missing something important
[2009/06/26 04:10:55] <hMz> Volcane: i have to restart the puppetd for them to do their thing
[2009/06/26 04:10:55] <phellarv> blahdeblah: Well - you wanted to find out why.
[2009/06/26 04:11:04] * blahdeblah goes back to check the node definitions
[2009/06/26 04:11:16] <Volcane> hMz: nods, depends on the type of plugin but that sounds about right yeah
[2009/06/26 04:11:29] <hMz> so how do i handle those restarts?
[2009/06/26 04:11:49] @ Quit: Black_ReZ: "WeeChat 0.2.6"
[2009/06/26 04:11:54] <Volcane> its a provider that you're putting out?
[2009/06/26 04:13:15] <Volcane> not sure, doubt u can subscribe to it or anything, I've only really put facts out with pluginsync
[2009/06/26 04:13:21] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 04:16:24] @ justindossey joined channel #puppet
[2009/06/26 04:16:33] @ tuf_ joined channel #puppet
[2009/06/26 04:17:00] <blahdeblah> Is puppet supposed to implicitly import everything in the modules directory?
[2009/06/26 04:17:17] <Volcane> it auto import, but import is not the same as include
[2009/06/26 04:17:24] <Volcane> if u want it to happen on your machine u must include it
[2009/06/26 04:17:33] <blahdeblah> Volcane: I'm doing include, but it's not imported, AFAICT
[2009/06/26 04:17:44] <blahdeblah> there's absolutely no mention of the class in the debug output
[2009/06/26 04:17:57] <Volcane> if you include it and it cant find it you'd get an error
[2009/06/26 04:18:13] <Volcane> that would be what you'd see if the import didnt happen
[2009/06/26 04:18:31] <blahdeblah> Is there a way to debug the import on the server side?
[2009/06/26 04:18:42] <blahdeblah> Or look at the catalog compile process for a given node?
[2009/06/26 04:18:54] <Volcane> on the node look at localconfig.yaml
[2009/06/26 04:21:58] <blahdeblah> What is the default modulepath for puppetmasterd?
[2009/06/26 04:22:52] @ w4rd joined channel #puppet
[2009/06/26 04:22:56] <Volcane> puppetmasterd --genconfig|grep modulepath
[2009/06/26 04:23:29] <blahdeblah> Thanks Volcane
[2009/06/26 04:24:01] @ w4rd left channel #puppet ()
[2009/06/26 04:24:14] <blahdeblah> OK - so i'm getting more lost as i go along here. My modulepath is as i expected: /etc/puppet/modules:/usr/share/puppet/modules
[2009/06/26 04:24:23] <blahdeblah> All of my modules are in /etc/puppet/modules
[2009/06/26 04:24:31] <blahdeblah> Do i need to import them anyway?
[2009/06/26 04:24:45] <Volcane> like i said, if you're doing 'include foo' and you dont get an error saying it cant find foo, then its not an import problem
[2009/06/26 04:25:14] <blahdeblah> I'm not getting any errors
[2009/06/26 04:25:21] <blahdeblah> (That i can tell)
[2009/06/26 04:26:15] <blahdeblah> According to http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation everything in modulepath should be automatically imported
[2009/06/26 04:26:35] <blahdeblah> Yet when i run my config on the node, i get "info: No classes to store"
[2009/06/26 04:26:47] <blahdeblah> No errors about my includes, just that message
[2009/06/26 04:27:22] <blahdeblah> Ignore me
[2009/06/26 04:27:26] <blahdeblah> I'm being thick
[2009/06/26 04:27:32] <blahdeblah> It's the end of a long week :-\
[2009/06/26 04:28:33] <blahdeblah> (I had commented out my nodes file import as well as my modules file import)
[2009/06/26 04:29:30] @ verwilst joined channel #puppet
[2009/06/26 04:31:37] @ Robbie_ joined channel #puppet
[2009/06/26 04:32:34] @ madrescher1 joined channel #puppet
[2009/06/26 04:33:03] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/06/26 04:35:37] @ root joined channel #puppet
[2009/06/26 04:36:00] @ root is now known as Guest84241
[2009/06/26 04:36:03] @ Quit: Guest84241: Client Quit
[2009/06/26 04:38:47] @ cyril_ joined channel #puppet
[2009/06/26 04:41:01] @ Quit: cyril_: Client Quit
[2009/06/26 04:41:19] @ cyril_ joined channel #puppet
[2009/06/26 04:43:48] <blahdeblah> I think i've fixed the results of my own stupidity - so time for a sensible question: is there a way to trigger the aptitude provider to run an update? One of my recipes installs a new repository definition.
[2009/06/26 04:44:48] <Volcane> you'd need to use an exec
[2009/06/26 04:46:20] <ctso> Volcane: if a subscribes to b, would that guarantee that the a resource is evaluated after b?
[2009/06/26 04:46:47] <blahdeblah> Is there a sensible way to tie that exec into a notify? i.e. so i can just "include aptitude::update" and then have my packages notify the aptitude updater to do its thing?
[2009/06/26 04:46:57] <Volcane> ctso: probably, would seem sensible
[2009/06/26 04:47:22] <Volcane> blahdeblah: execs have an option that lets them only run the command if they got notified, not in normal runs
[2009/06/26 04:47:43] <ctso> would that be the refreshonly?
[2009/06/26 04:48:00] <blahdeblah> looks like it
[2009/06/26 04:48:06] * blahdeblah is reading the doco on exec
[2009/06/26 04:48:46] @ saurabhverma joined channel #puppet
[2009/06/26 04:53:15] @ poison joined channel #puppet
[2009/06/26 04:55:27] <blahdeblah> Just when i think i've got my head around one thing...
[2009/06/26 04:55:35] <blahdeblah> How can i find out which package provider my system is using?
[2009/06/26 04:59:43] <gepetto> ::trac:: Puppet Red Hat Centos edited by paulgear @ http://reductivelabs.com/trac/puppet/wiki/PuppetRedHatCentos (by puppet@gear.dyndns.org)
[2009/06/26 04:59:57] <kolla> blahdeblah: look in /etc/apt/sources.list*
[2009/06/26 05:00:00] <Djelibeybi> blahdeblah: it's usually distro specific. What distro are you using?
[2009/06/26 05:00:27] @ Quit: madrescher1: "Leaving."
[2009/06/26 05:00:28] <blahdeblah> Djelibeybi: Debian lenny
[2009/06/26 05:00:29] <blahdeblah> But Debian can have apt-get or aptitude
[2009/06/26 05:00:35] <Djelibeybi> blahdeblah: they your package provider is probably apt-get
[2009/06/26 05:00:56] <blahdeblah> But i don't want to know "probably"... :-)
[2009/06/26 05:01:25] <Djelibeybi> blahdeblah: well, it can be either. apt-get is almost always installed on debian. not so sure about aptitude
[2009/06/26 05:01:50] <Djelibeybi> blahdeblah: I'm a Red Hat/CentOS person, so I'm just trying to help. :)
[2009/06/26 05:02:17] <blahdeblah> I don't want to know what's installed - i already know that since i configured the box. I want to know how puppet decides on its provider, and where i can see the results of that...
[2009/06/26 05:03:59] <tim|macbook> just out of curiousity, does the puppetmaster do caching of compiled catalogs? or does it recompile every time?
[2009/06/26 05:04:15] <Djelibeybi> tim|macbook: it recompiles, as the Facter facts could have changed in the interim.
[2009/06/26 05:04:35] <tim|macbook> it cannot check if they have changed?
[2009/06/26 05:05:23] <Djelibeybi> tim|macbook: Dunno, I'm not a Puppet developer. :)
[2009/06/26 05:06:42] <blahdeblah> In /usr/lib/ruby/1.8/puppet/provider/package/apt.rb, i find this: "defaultfor :operatingsystem => :debian" - presumably that means apt-get is the default provider?
[2009/06/26 05:07:48] <Djelibeybi> blahdeblah: seems like a reasonable assumption.
[2009/06/26 05:11:04] @ nakano_ is now known as nakano
[2009/06/26 05:13:43] <blahdeblah> Is there a recipe that provides an equivalent to the yumrepo type for apt-get/aptitude?
[2009/06/26 05:15:23] <tim|macbook> blahdeblah: we have it in our repo
[2009/06/26 05:15:29] <tim|macbook> you might want to take a look at that
[2009/06/26 05:15:37] <blahdeblah> what is "our repo"?
[2009/06/26 05:15:38] <tim|macbook> http://puppet.kumina.nl
[2009/06/26 05:15:41] <blahdeblah> thanks
[2009/06/26 05:15:57] <tim|macbook> http://puppet.kumina.nl/cgi-bin/darcsweb.cgi?r=generic;a=tree;f=/apt
[2009/06/26 05:16:02] <tim|macbook> !seen davids
[2009/06/26 05:16:03] <gepetto> tim|macbook: DavidS was last seen 11 days, 2 hours, 10 minutes and 2 seconds ago, quitting IRC (Read error: 110 (Connection timed out))
[2009/06/26 05:16:49] <blahdeblah> tim|macbook: Are you the source of this? http://reductivelabs.com/trac/puppet/wiki/Recipes/Apt_Repositories
[2009/06/26 05:17:17] <tim|macbook> doubt it :)
[2009/06/26 05:17:32] * tim|macbook not very active on the wiki *shame*
[2009/06/26 05:18:44] @ Quit: tuf_:
[2009/06/26 05:28:53] @ melopt joined channel #puppet
[2009/06/26 05:35:47] @ poison_ joined channel #puppet
[2009/06/26 05:35:49] @ Quit: poison: Read error: 104 (Connection reset by peer)
[2009/06/26 05:36:07] @ alban2 joined channel #puppet
[2009/06/26 05:45:08] @ Quit: maxagaz: Remote closed the connection
[2009/06/26 05:51:47] @ markp joined channel #puppet
[2009/06/26 05:52:41] @ abien joined channel #puppet
[2009/06/26 06:05:22] @ masterzen joined channel #puppet
[2009/06/26 06:12:28] @ nakano is now known as nakano_
[2009/06/26 06:12:35] @ nakano_ is now known as nakano
[2009/06/26 06:15:29] @ lstep joined channel #puppet
[2009/06/26 06:17:59] @ Quit: kelseyhightower:
[2009/06/26 06:20:19] @ madrescher joined channel #puppet
[2009/06/26 06:22:07] <abien> Lets say i have a module, 'centos_base' which kinda bootstraps a system to a certain standard. Packages, timezones, yum repos & prios, snmp config, stuff like that.
[2009/06/26 06:22:13] <abien> Now, i would like to make sure that if a node has this module, it should always be executed prior to all other modules or definitions.
[2009/06/26 06:22:15] <abien> This is (among other things) because in 'centos_base' i set yum-priorities. If these are not set correctly the package installations of other modules might install the wrong version from the wrong repository. Whats a smart way to do this, without adding require statements to all "package {}" calls among all modules?
[2009/06/26 06:28:45] @ Quit: rlpowell: Remote closed the connection
[2009/06/26 06:28:52] @ rlpowell_ joined channel #puppet
[2009/06/26 06:30:15] <ch> Package { require => blah } should work
[2009/06/26 06:32:46] <lstep> Hello, I've got a simple question (I think). I'd like to loop over an array of strings and pass each element as a variable to template(). I thought I needed to use ${name} but it doesn't work.
[2009/06/26 06:33:06] <Djelibeybi> lstep: pass the entire array to the template and loop inside the template instead
[2009/06/26 06:33:15] <lstep> this doesn't work:
[2009/06/26 06:33:18] <lstep> enabledsites = ['site1', 'site2', 'site3']
[2009/06/26 06:33:18] <lstep> apache2::site {
[2009/06/26 06:33:18] <lstep> $enabledsites: ensure => 'present', content => template("apache2/${name}.erb");
[2009/06/26 06:33:18] <lstep> }
[2009/06/26 06:33:22] <lstep> why?
[2009/06/26 06:33:38] <Djelibeybi> No, that wouldn't.
[2009/06/26 06:34:15] <Djelibeybi> You could do that with a define, though
[2009/06/26 06:35:04] <lstep> Djelibeybi: how?
[2009/06/26 06:36:27] <Djelibeybi> lstep: one sec
[2009/06/26 06:37:17] <Djelibeybi> Hmm, there are things missing there
[2009/06/26 06:37:27] <Djelibeybi> Is apache2::site already a define?
[2009/06/26 06:37:30] <Djelibeybi> pastie the entire class
[2009/06/26 06:37:36] @ blahdeblah left channel #puppet ()
[2009/06/26 06:37:43] @ mattock joined channel #puppet
[2009/06/26 06:38:48] <lstep> It's the one I found in a link on Puppet's webiste recipes: http://wesabe.googlecode.com/svn/trunk/puppet/modules/apache2/trunk/manifests/init.pp
[2009/06/26 06:39:14] <lstep> apache2::site seems to be a define, yes
[2009/06/26 06:41:30] <Djelibeybi> Sorry, I don't have time right now to go through that -- I'm in the middle of a production SAN migration. :)
[2009/06/26 06:41:43] <lstep> Djelibeybi: ok, no problem
[2009/06/26 06:41:56] <lstep> Djelibeybi: thanks anyway
[2009/06/26 06:43:28] @ Quit: Djelibeybi: "Leaving"
[2009/06/26 06:48:29] @ kelseyhightower joined channel #puppet
[2009/06/26 06:48:54] @ Quit: madrescher: Read error: 113 (No route to host)
[2009/06/26 06:50:45] @ Quit: kelseyhightower: Client Quit
[2009/06/26 06:59:32] @ blahdeblah1 joined channel #puppet
[2009/06/26 07:07:43] @ Quit: maryN: Read error: 104 (Connection reset by peer)
[2009/06/26 07:10:00] <blahdeblah1> tim|macbook: There doesn't seem to be any copyright or license on most of the files in your generic repository - is there an overall statement about it somewhere?
[2009/06/26 07:13:44] <tim|macbook> no, not really, still need to do that... you can consider the generic/powerdns/manifest/init.pp statement the default license... I'll add them in a separate file one of these days
[2009/06/26 07:17:19] <blahdeblah1> tim|macbook: OK - thanks
[2009/06/26 07:17:31] <blahdeblah1> A short README at the top might be a good idea. :-)
[2009/06/26 07:18:01] <tim|macbook> yeah, i know
[2009/06/26 07:18:12] <tim|macbook> the repo was setup in a hurry, i think ;-)
[2009/06/26 07:19:27] <blahdeblah1> Well, i like your style in the apt-get stuff - makes good sense
[2009/06/26 07:20:27] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 07:20:32] <Volcane> where's this repo?
[2009/06/26 07:20:47] <tim|macbook> Volcane: http://puppet.kumina.nl
[2009/06/26 07:20:59] <Volcane> great thnx
[2009/06/26 07:27:08] @ fzzzt joined channel #puppet
[2009/06/26 07:27:21] @ maryN joined channel #puppet
[2009/06/26 07:29:24] @ Quit: blahdeblah1: "Leaving."
[2009/06/26 07:31:41] @ nakano is now known as nakano_
[2009/06/26 07:31:48] @ Quit: magnachef__: Read error: 110 (Connection timed out)
[2009/06/26 07:33:20] @ pvh_sa|wrk joined channel #puppet
[2009/06/26 07:41:41] @ thegcat joined channel #puppet
[2009/06/26 07:45:34] @ d3vilb0x joined channel #puppet
[2009/06/26 07:47:30] @ Quit: authentic: Read error: 110 (Connection timed out)
[2009/06/26 07:48:00] @ Quit: d3vilb0x: Client Quit
[2009/06/26 07:49:51] <thegcat> what would be the best practice to serve multiple clients (as in organisations, not computers)?
[2009/06/26 07:50:18] <Volcane> do they all want to commit manifests?
[2009/06/26 07:50:28] <thegcat> ie I want the servers from one client to not have access to the configuration of other servers
[2009/06/26 07:50:57] <thegcat> ok, example time :-)
[2009/06/26 07:51:18] <thegcat> 3 machines in the network of client A, 4 machines in network of client B
[2009/06/26 07:51:55] <thegcat> they all basically have the same configuration, and the modules are written so that they are agnostic, ie parametrisable enough to work for both clients
[2009/06/26 07:52:30] <thegcat> would be having different environments with the same modules but different base manifests a good idea?
[2009/06/26 07:52:50] <Volcane> it would help but that would make it a pain to keep them up to date
[2009/06/26 07:53:13] <Volcane> if u really seriously need hardcore seperation, make a fileserver mount clienta and clientb and only allow their boxes into it using the fileserver
[2009/06/26 07:53:17] <Volcane> and serve up the files from there
[2009/06/26 07:53:33] <thegcat> or just do a class client_A { some_config = A \ include module } and class client_B { some_config =B \ include module } and include the correct class at the node level?
[2009/06/26 07:53:47] <Volcane> if u just want to be sure there's no accidents, use file search paths that makes sense based on environment, or fqdn or somet arb variable you define
[2009/06/26 07:54:37] <Volcane> i define my mobiledirs like path/to/environment/modules:path/to/common/modules
[2009/06/26 07:54:54] <Volcane> so if i really needed something per environment, or some special logic etc, i can put them in that environment only and others cant get it
[2009/06/26 07:55:09] <thegcat> no, the modules aren't the problem, they are the same for all
[2009/06/26 07:55:16] <Volcane> but ofcourse environment gets set by the client, so this wont really be totally secure, they can just do puppetd --test --environment=foo
[2009/06/26 07:55:47] <Volcane> not sure what level of seperation u want, just, send the right apache config or something more?
[2009/06/26 07:55:48] <thegcat> I just want some variables to have different value depending on what client the machine belongs to
[2009/06/26 07:55:58] <Volcane> thegcat: use a fact
[2009/06/26 07:56:05] <Volcane> or just add it in the node
[2009/06/26 07:56:19] <Volcane> like your example above
[2009/06/26 07:56:23] <thegcat> Volcane: ok
[2009/06/26 07:56:30] @ magnachef__ joined channel #puppet
[2009/06/26 07:56:50] <thegcat> IIRC, puppet can't do node *.some-domain.net?
[2009/06/26 07:57:09] <Volcane> in node? nope
[2009/06/26 07:57:34] <Volcane> you could though: include ("common::${domain}")
[2009/06/26 07:58:12] <thegcat> sad, but anyway, there aren't more than 3 or 4 / client and only a litthe more than half a dozen clients
[2009/06/26 07:58:23] <thegcat> yeah, that would work too
[2009/06/26 07:58:32] <thegcat> I'll try it out, thanks :-)
[2009/06/26 07:58:39] <masterzen> thegcat: soon you'll be able to use a regexp for nodes :-)
[2009/06/26 07:58:47] <Volcane> i have many clients talking to my master
[2009/06/26 07:59:04] <Volcane> one case we have many internal teams committing to the same master too, real pita
[2009/06/26 07:59:29] <thegcat> Volcane: no, I meant that it wouldn't be to big a pita to make a node definition for each node
[2009/06/26 07:59:36] <Volcane> nods
[2009/06/26 07:59:44] <thegcat> because there aren't that many of them
[2009/06/26 07:59:44] <Volcane> you could use external nodes
[2009/06/26 08:02:13] <thegcat> Volcane: wouldn't really be worth it for so few machines
[2009/06/26 08:02:47] <Volcane> yeah i also just make node files atm, really wish i had time/inclination to finish my classfier
[2009/06/26 08:05:25] @ Quit: alex2: Read error: 54 (Connection reset by peer)
[2009/06/26 08:06:56] @ justindossey joined channel #puppet
[2009/06/26 08:17:08] <FiXion> I have my own apt key - which I install using the define from the wiki: apt::key { "AE7785F3":
[2009/06/26 08:17:24] <FiXion> can I somehow make a package require this key ?
[2009/06/26 08:17:35] @ Quit: matty91:
[2009/06/26 08:17:39] <FiXion> require => apt::key["AE7785F3"] or something
[2009/06/26 08:18:08] <FiXion> first install of hosts fails - and I have to run puppet again - so that it can install the packages, now the key is in place :(
[2009/06/26 08:18:15] <FiXion> first run that is :)
[2009/06/26 08:35:55] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 08:47:18] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/26 08:47:28] @ maryN joined channel #puppet
[2009/06/26 08:53:52] @ Quit: monzie:
[2009/06/26 08:54:20] @ egerlach_ is now known as egerlach
[2009/06/26 08:54:44] @ justindossey joined channel #puppet
[2009/06/26 08:55:09] @ poison joined channel #puppet
[2009/06/26 08:55:37] @ Disconnect joined channel #puppet
[2009/06/26 08:56:01] @ Quit: poison_: Read error: 54 (Connection reset by peer)
[2009/06/26 08:56:07] @ Quit: kolla: Remote closed the connection
[2009/06/26 09:04:35] @ kngus joined channel #puppet
[2009/06/26 09:04:36] <thegcat> FiXion: should read Apt::Key["..."] *methinks*
[2009/06/26 09:04:55] <thegcat> I meant require => Apt::Key
[2009/06/26 09:07:46] @ nakano_ is now known as nakano
[2009/06/26 09:07:51] @ nakano is now known as nakano_
[2009/06/26 09:08:13] <Volcane> yup, Apt::Key is the correct capitalization
[2009/06/26 09:08:22] @ claymation joined channel #puppet
[2009/06/26 09:08:36] @ rmiller4pi8 joined channel #puppet
[2009/06/26 09:08:52] <FiXion> thegcat: I'll try that. Thanks
[2009/06/26 09:11:11] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 09:14:05] <FiXion> perfect - no complains from puppet :)
[2009/06/26 09:14:41] @ Quit: maryN: Read error: 104 (Connection reset by peer)
[2009/06/26 09:14:50] @ Quit: poison: Remote closed the connection
[2009/06/26 09:14:54] @ maryN joined channel #puppet
[2009/06/26 09:15:09] @ unxfrek joined channel #puppet
[2009/06/26 09:17:05] @ poison joined channel #puppet
[2009/06/26 09:17:20] @ authentic joined channel #puppet
[2009/06/26 09:17:40] <thegcat> FiXion: it's because you want to require => an instance of a type, thus the first-capital capitalization
[2009/06/26 09:19:13] @ nakano_ is now known as nakano
[2009/06/26 09:19:16] @ Bass10 joined channel #puppet
[2009/06/26 09:19:17] @ nakano is now known as nakano_
[2009/06/26 09:23:40] @ niczar joined channel #puppet
[2009/06/26 09:25:29] @ D-CoDe joined channel #puppet
[2009/06/26 09:33:04] @ kolla joined channel #puppet
[2009/06/26 09:35:34] @ Quit: bgupta_: Read error: 104 (Connection reset by peer)
[2009/06/26 09:35:52] @ bgupta joined channel #puppet
[2009/06/26 09:36:39] @ pleemans joined channel #puppet
[2009/06/26 09:36:49] @ kambiz_away is now known as kambiz
[2009/06/26 09:37:36] <zahna> do any of you guys use puppet to manage network config files like /etc/sysconfig/network-scripts/ifcfg-eth0 or is that just being too uptight?
[2009/06/26 09:38:03] <Volcane> easy with templates
[2009/06/26 09:38:30] <zahna> with templates?
[2009/06/26 09:38:39] @ Quit: lstep: "Ex-Chat"
[2009/06/26 09:38:42] <Volcane> yes, templates
[2009/06/26 09:39:06] <zahna> but how do you map the IP addresses?
[2009/06/26 09:39:17] <zahna> maybe i should re-read up on templates
[2009/06/26 09:39:19] <Volcane> $ipaddress = x.x.x.x
[2009/06/26 09:39:32] <Volcane> file{"/etc/sysconfig/network-scripts/ifcfg-eth0": content => template("ifcfg.erb")}
[2009/06/26 09:40:53] <zahna> ah, i hadn't thought of defining my own variables
[2009/06/26 09:41:47] <Volcane> you probably do a define
[2009/06/26 09:41:58] <zahna> up until now, i've only been using facter variables
[2009/06/26 09:42:35] <Volcane> netint{"eth0": ipaddress => "1.2.3.4", netmask => "255.255.255.0", broadcast => "1.2.3.255" }
[2009/06/26 09:42:47] <Volcane> and then in the define you can just use the variables passed in
[2009/06/26 09:42:59] <zahna> yeah, that's what i'll do
[2009/06/26 09:43:15] <zahna> because i need a lot of interface definitions
[2009/06/26 09:43:49] <zahna> would you happen to have an existing define for me to modify?
[2009/06/26 09:44:06] <Volcane> nah, i never mess with my interfaces, worst i do to them is make bonds
[2009/06/26 09:44:13] <Volcane> which is a bit different
[2009/06/26 09:44:35] <zahna> i'm not even doing that. i'm just defining lots of loopbacks for load balancing
[2009/06/26 09:44:39] <Volcane> and a right pita cos you cant figure out hte MACs easily once bonded
[2009/06/26 09:46:10] @ Quit: maryN: Success
[2009/06/26 09:47:00] @ Quit: markp: Read error: 54 (Connection reset by peer)
[2009/06/26 09:47:21] @ Quit: D-CoDe: "Leaving."
[2009/06/26 09:47:29] @ markp joined channel #puppet
[2009/06/26 09:47:35] @ Quit: MattyM: Remote closed the connection
[2009/06/26 09:47:41] @ randybias|away is now known as randybias
[2009/06/26 09:48:27] <zahna> ah
[2009/06/26 09:50:06] @ madrescher joined channel #puppet
[2009/06/26 09:50:16] <jamesturnbull> zahna: talk to Avi - djelibeli
[2009/06/26 09:50:34] <jamesturnbull> zahna: he has boxes with 6-8 interfaces and configures all of them with Puppet
[2009/06/26 09:50:54] @ notbrien joined channel #puppet
[2009/06/26 09:50:58] <jamesturnbull> zahna: sorry Djelibeybi
[2009/06/26 09:51:06] <zahna> ah, where is he?
[2009/06/26 09:51:15] <jamesturnbull> zahna: well I suspect right now - asleep
[2009/06/26 09:52:15] <zahna> ah, so he's not in North America then, eh? :)
[2009/06/26 09:55:21] @ niczar1 joined channel #puppet
[2009/06/26 09:55:51] @ Quit: cyril_: "Quitte"
[2009/06/26 09:57:20] @ Quit: niczar: Remote closed the connection
[2009/06/26 09:57:24] @ Quit: poison: Remote closed the connection
[2009/06/26 10:00:37] @ kelseyhightower joined channel #puppet
[2009/06/26 10:01:04] @ kibahop left channel #puppet ()
[2009/06/26 10:01:12] @ Quit: mattock: "Leaving."
[2009/06/26 10:01:57] <jamesturnbull> zahna: Australia
[2009/06/26 10:05:00] @ Quit: melopt: "Leaving"
[2009/06/26 10:05:25] @ erm_ joined channel #puppet
[2009/06/26 10:05:38] @ maryN joined channel #puppet
[2009/06/26 10:06:16] @ madrescher1 joined channel #puppet
[2009/06/26 10:06:56] @ bobbyz_ joined channel #puppet
[2009/06/26 10:07:11] @ randybias is now known as randybias|away
[2009/06/26 10:07:43] @ erm__ joined channel #puppet
[2009/06/26 10:07:51] <zahna> yeah :)
[2009/06/26 10:08:35] @ scylla joined channel #puppet
[2009/06/26 10:10:50] @ poison joined channel #puppet
[2009/06/26 10:11:36] <pvh_sa|wrk> hi... i would like puppet to manage our automounts - i've found an autofs module that seems kinda right, but i also want it to manage the symlinks - so like /datastore1 -> /net/fs1/datastore1 - can it do that?
[2009/06/26 10:19:42] @ Quit: tim|macbook:
[2009/06/26 10:22:57] <jamesturnbull> pvh_sa|wrk: yep
[2009/06/26 10:24:54] <zahna> pvh_sa|wrk: in the File resource, setting ensure => "/path/to/link" will make a symlink
[2009/06/26 10:25:21] <zahna> at least, that's what i think i read about it yesterday
[2009/06/26 10:25:49] @ Quit: rmiller4pi8: "Leaving."
[2009/06/26 10:27:10] <pvh_sa|wrk> thanks zahna, that's exactly what i'm looking for. so i can make my base autofs class and then derived classes for the filesystems i want to mount that way. yay!
[2009/06/26 10:27:39] @ mvn071 joined channel #puppet
[2009/06/26 10:30:23] <zahna> yeah, puppet is cool like that
[2009/06/26 10:33:32] @ Quit: fujin: "Leaving..."
[2009/06/26 10:33:47] @ schwifty joined channel #puppet
[2009/06/26 10:34:22] @ devicenull_ joined channel #puppet
[2009/06/26 10:42:28] @ justindossey joined channel #puppet
[2009/06/26 10:46:28] @ randybias|away is now known as randybias
[2009/06/26 10:51:59] @ Quit: devicenull: Read error: 110 (Connection timed out)
[2009/06/26 10:52:11] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2009/06/26 10:52:40] @ mikearr joined channel #puppet
[2009/06/26 10:55:33] @ rmiller4pi8 joined channel #puppet
[2009/06/26 11:01:54] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 11:03:40] @ alfism joined channel #puppet
[2009/06/26 11:05:12] @ Quit: unxfrek: "Leaving"
[2009/06/26 11:05:12] @ andrewcshafer joined channel #puppet
[2009/06/26 11:08:38] @ Quit: saurabhverma: Read error: 104 (Connection reset by peer)
[2009/06/26 11:09:28] @ Quit: andrewcshafer: Client Quit
[2009/06/26 11:10:25] @ Quit: randybias: "Leaving..."
[2009/06/26 11:16:13] @ Quit: mvn071: "Leaving"
[2009/06/26 11:16:46] @ Quit: nawty_:
[2009/06/26 11:20:25] @ apbarrett joined channel #puppet
[2009/06/26 11:22:39] <apbarrett> Do module names, class names, or package names need to be lowercase? I get "Could not find class pkg_SUNWfoo", but when I rename the module and class from "pkg_SUNWfoo" to "pkg_sunwfoo" it seems to work.
[2009/06/26 11:23:22] <Volcane> yeah
[2009/06/26 11:24:32] <apbarrett> where is this documented? I didn't see it in the language reference on the wiki.
[2009/06/26 11:25:35] @ francois left channel #puppet ()
[2009/06/26 11:25:45] @ MattyM joined channel #puppet
[2009/06/26 11:25:48] @ Quit: MrProper_: Read error: 113 (No route to host)
[2009/06/26 11:25:55] <Volcane> not sure, def not in the language tut
[2009/06/26 11:26:45] <Volcane> but it doesnt work thats for sure :)
[2009/06/26 11:26:50] @ Quit: erm_: "leaving"
[2009/06/26 11:27:00] <apbarrett> oh well, I don't think I have packages whose names differ only in capitalisation, so I can deal with it easily enough.
[2009/06/26 11:27:28] <Volcane> try
[2009/06/26 11:27:33] <Volcane> class "foo_Foo" { }
[2009/06/26 11:27:38] <Volcane> include "foo_Foo"
[2009/06/26 11:27:38] <Volcane> works
[2009/06/26 11:28:04] <Volcane> however class "Foo" { ... } doesnt, I'd just lc everything and stay sane
[2009/06/26 11:28:27] <ckdake> I'm trying to figure out a way to build nginx config files that include the ip addresses of all servers that include a certain class. It seems like exported resources are one way to do this, but I'm stuck because I can't figure out how to get multiple exported resources into one file. Any suggestions for a better way or how to work with exported resources this way?
[2009/06/26 11:29:21] <Volcane> ckdake: yeah its not exactly exported resources forte that, u could perhaps do something that builds snippets and then concat the snippets into the eventual nginx file - the nodes would then export the snippets
[2009/06/26 11:29:25] <Volcane> but that sounds pretty grim really
[2009/06/26 11:30:15] <ckdake> that it does
[2009/06/26 11:30:26] <ckdake> hmm
[2009/06/26 11:34:32] <apbarrett> volcane: tried quotes around the mixed-case name in both the class definition and the include; doesn't work. Basically the same as your "foo_Foo" example, except the class definition is inside modules/foo_Foo/manifests/init.pp. I'll just lowercase everything.
[2009/06/26 11:34:42] @ Quit: mfournier: Read error: 110 (Connection timed out)
[2009/06/26 11:35:21] <Volcane> apbarrett: yeah, sounds safest
[2009/06/26 11:39:56] @ fujin joined channel #puppet
[2009/06/26 11:40:32] @ mfournier joined channel #puppet
[2009/06/26 11:40:48] @ Quit: fujin: Remote closed the connection
[2009/06/26 11:41:48] @ Quit: thegcat:
[2009/06/26 11:41:52] @ Quit: verwilst: "Ex-Chat"
[2009/06/26 11:43:30] @ lak joined channel #puppet
[2009/06/26 11:44:01] @ andrewcshafer joined channel #puppet
[2009/06/26 11:45:28] <flakrat> can anyone suggest a good way to manage rpm GPG keys on the clients?
[2009/06/26 11:45:47] @ joe-mac joined channel #puppet
[2009/06/26 11:46:14] <flakrat> for example, I have a key I use to sign my own packages, how would I use puppet to ensure that all clients have that key imported into RPM
[2009/06/26 11:46:40] <joe-mac> with an file resource and an exec
[2009/06/26 11:46:45] @ Quit: mfournier: Remote closed the connection
[2009/06/26 11:46:45] @ fujin joined channel #puppet
[2009/06/26 11:46:48] <Volcane> probably some crappy file+exec combo
[2009/06/26 11:46:57] <joe-mac> yep, that's how i do it with my apt key
[2009/06/26 11:47:42] <flakrat> Ok, then I'm part way there, I have the file getting synced to /etc/pki/rpm-gpg, now I just need to do the rpm --import
[2009/06/26 11:48:07] <joe-mac> yea, so the exec that does the rpm --import has refreshonly => "true" and you notify it from the file resource
[2009/06/26 11:48:12] <Volcane> flakrat: do an exec thats in refreshonly and notify it from the file
[2009/06/26 11:48:12] <joe-mac> so whenever you push a new key, it gets imported
[2009/06/26 11:48:21] <Volcane> yeah what joe-mac says
[2009/06/26 11:48:29] <flakrat> cool, thanks fellas
[2009/06/26 11:50:52] @ Quit: lak:
[2009/06/26 11:52:51] @ cwebber joined channel #puppet
[2009/06/26 11:54:22] <bpgoldsb> Are the built-in variables, like $name, listed anywhere?
[2009/06/26 11:55:05] @ Quit: andrewcshafer:
[2009/06/26 11:56:07] @ Quit: MattyM: "ta ta"
[2009/06/26 11:57:08] <apbarrett> I don't know if there are any truly built in variables, but everything in the output from "facter" behaves sort of like a built in variable
[2009/06/26 11:57:24] <flakrat> so, in this scenario, say I have many keys that I'm managing, can exec use a variable like: 'exec { "rpm --import $file": ' where $file is the key file and path?
[2009/06/26 11:58:06] <flakrat> or do I need a separate exec for each key?
[2009/06/26 11:59:03] @ nawty joined channel #puppet
[2009/06/26 11:59:05] <apbarrett> i'd probably use a "define" that generates both a file resource and an exec resource for each key
[2009/06/26 12:00:38] <flakrat> yeah that looks like a better approach
[2009/06/26 12:02:23] @ justindossey joined channel #puppet
[2009/06/26 12:05:46] @ matty91 joined channel #puppet
[2009/06/26 12:07:08] @ Quit: fujin: "Leaving..."
[2009/06/26 12:11:49] @ rlpowell_ is now known as rplowell
[2009/06/26 12:12:05] @ rplowell is now known as rlpowell
[2009/06/26 12:12:12] <Volcane> flakrat: yeah in that case you can pass it an array like rpm::key{["one", "two", "three"]: ensure => present} for exmaple
[2009/06/26 12:12:30] <flakrat> cool
[2009/06/26 12:12:50] @ rlpowell left channel #puppet ()
[2009/06/26 12:15:14] @ Quit: alban2: Read error: 145 (Connection timed out)
[2009/06/26 12:15:38] <joe-mac> bgupta: wiki:TypeReference
[2009/06/26 12:16:10] <gepetto> joe-mac: bgupta: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/06/26 12:16:59] @ Quit: masterzen: "Leaving"
[2009/06/26 12:19:49] @ Quit: devicenull_: Read error: 110 (Connection timed out)
[2009/06/26 12:20:12] @ Quit: Robbie_: Remote closed the connection
[2009/06/26 12:21:23] <flakrat> the ever prompt gepetto at your service :-)
[2009/06/26 12:22:02] @ plathrop-away is now known as plathrop
[2009/06/26 12:22:06] <apbarrett> err: Could not call puppetmaster.getconfig: #<#<Class:0x....>: execution expired>
[2009/06/26 12:22:14] <apbarrett> does that mean "you have too many modules"?
[2009/06/26 12:22:42] <Volcane> ynot unless you have 100s :)
[2009/06/26 12:23:36] <apbarrett> about 625 modules, most of which contain one small class which in turn contains one package
[2009/06/26 12:23:44] <Volcane> wow
[2009/06/26 12:23:49] <Volcane> yeah thats probably not great
[2009/06/26 12:23:59] <Volcane> you're trying to manage ever known package?
[2009/06/26 12:24:03] <apbarrett> yes
[2009/06/26 12:24:10] <Volcane> why in diff classes?
[2009/06/26 12:24:53] @ Quit: DerekW: "Leaving"
[2009/06/26 12:25:10] <apbarrett> because package {foo: require Package[bar]} doesn't seem to work properly, whereas class pkg_foo{ include pkg_bar } works
[2009/06/26 12:25:46] @ joe-mac1 joined channel #puppet
[2009/06/26 12:26:05] <Volcane> hmm, you should check out virtual resources
[2009/06/26 12:26:10] <joe-mac1> HOLY CRAP
[2009/06/26 12:26:14] <joe-mac1> 625 modules rofl
[2009/06/26 12:26:18] <Volcane> that many classes will totally screw things up :)
[2009/06/26 12:26:23] <Volcane> memory, performance etc
[2009/06/26 12:26:44] @ bendsu joined channel #puppet
[2009/06/26 12:26:44] <Volcane> i guess sun packages has no sane concept of dependencies so you want to model that?
[2009/06/26 12:28:32] <plathrop> Also, there aren't any known problems with the require statement... that's definitely the correct way
[2009/06/26 12:28:53] <Volcane> plathrop: i suspect he wants the require to also include..
[2009/06/26 12:29:27] <plathrop> Volcane: ah, yes.
[2009/06/26 12:29:30] <plathrop> probably
[2009/06/26 12:29:48] <apbarrett> yes, I am putting dependency info in classes. virtual resources dont' seem to support dependencies sanely (@some_virtualresource{ require => [another_virtual_resource]" should imply "realize [another_virtual_resource]", btu it doesn't, so I figured out a workaround involving classes. now I hit some sort of memory limit.
[2009/06/26 12:30:19] <Volcane> apbarrett: yeah the problem is requiring something does not realize it and does not include it, thats why you're being bitten
[2009/06/26 12:30:21] @ jmarki joined channel #puppet
[2009/06/26 12:31:47] @ Quit: poison: Remote closed the connection
[2009/06/26 12:32:11] <apbarrett> oh well, it can wait for monday. thanks for the help.
[2009/06/26 12:33:42] <Volcane> np
[2009/06/26 12:34:21] <joe-mac1> i put in a feature request to auto realize required virt resources... i think it got accepted
[2009/06/26 12:34:46] <apbarrett> yes, I saw that as "accepted" in the tracker
[2009/06/26 12:35:10] <zahna> so, what's a good way to build config files depending on variables?
[2009/06/26 12:35:18] <joe-mac1> ERB templates zahna
[2009/06/26 12:35:27] @ pugetworks joined channel #puppet
[2009/06/26 12:35:39] <zahna> they can keep out lines altogether?
[2009/06/26 12:36:03] <Volcane> zahna: they're ruby, full conditionals supported
[2009/06/26 12:36:23] <apbarrett> google "erb template". quite easy to get started.
[2009/06/26 12:36:36] <joe-mac1> there's also a little page on the wiki about them
[2009/06/26 12:36:47] <joe-mac1> and a useful command for parsing them to make sure the syntax is right
[2009/06/26 12:36:53] <zahna> and here i was trying to build a string'
[2009/06/26 12:37:06] <joe-mac1> LOL, good luck with that!
[2009/06/26 12:37:17] <joe-mac1> it would have been a nice accomplishment
[2009/06/26 12:37:31] <joe-mac1> til you saw erb and was just like ....shit. and left to go to the pub
[2009/06/26 12:37:44] <apbarrett> speaking of templates, is there an easy way to get the name of the template file itself, so I can write "# Do not edit this file, edit the template at <%= filename %> on <%= puppetmaster %>"
[2009/06/26 12:37:46] <zahna> i'd like to go to the pub anyway
[2009/06/26 12:37:53] <zahna> i could do with a few pints
[2009/06/26 12:38:05] @ slyphon joined channel #puppet
[2009/06/26 12:38:29] @ slyphon left channel #puppet ()
[2009/06/26 12:38:32] <joe-mac1> yea me too, banged my foot up last week and have been confined to home all week
[2009/06/26 12:38:38] @ bwingenroth joined channel #puppet
[2009/06/26 12:38:43] <zahna> that sucks. sorry to hear that.
[2009/06/26 12:38:56] <joe-mac1> these antibiotics also have been making me so tired i'm sleeping like 14 hours or something, getting nothing done.. weak
[2009/06/26 12:39:05] <joe-mac1> thanks for the sympathy
[2009/06/26 12:39:21] <zahna> sure thing. getting hurt sucks.
[2009/06/26 12:39:53] <zahna> so if i'm using this template in a define, where's a good place to put it?
[2009/06/26 12:40:05] <zahna> s/put/store/
[2009/06/26 12:41:00] <plathrop> zahna: templates dir of the module in which you declare the define?
[2009/06/26 12:41:13] <apbarrett> modules/your_module/templates/filename.erb, and refer to it via file { foo: source => template("your_module/filename.erb")
[2009/06/26 12:41:21] <zahna> heh, my define isn't in a module
[2009/06/26 12:41:31] <zahna> i hadn't even thought of doing that
[2009/06/26 12:41:57] <zahna> everything else is modularized, but not my defines
[2009/06/26 12:42:51] <zahna> do defines go in <module>/manifests/init.pp?
[2009/06/26 12:43:06] @ Quit: joe-mac: Read error: 110 (Connection timed out)
[2009/06/26 12:43:17] <joe-mac1> that's whjere i put mine...
[2009/06/26 12:43:34] @ mfournier joined channel #puppet
[2009/06/26 12:43:45] <zahna> cool
[2009/06/26 12:45:44] <apbarrett> if init.pp is getting too cluttered, then move the defines out to modules/<module>/manifests/defines.pp, and put "imort defines" in init.pp
[2009/06/26 12:46:00] <pugetworks> with an exec, and tagmail set, I get an email each time exec is called, but I'd like to only get an email when exec fails... is this possible?
[2009/06/26 12:46:14] <joe-mac1> pugetworks: in .24.6 and greater there is an err tag
[2009/06/26 12:46:15] @ ask joined channel #puppet
[2009/06/26 12:46:19] <Volcane> define mod::foo () { } can also go in foo.pp
[2009/06/26 12:46:30] <joe-mac1> i think that's the version it started at, i know for sure it's in .24.8 cause that's what i use
[2009/06/26 12:46:52] @ apbarrett left channel #puppet ()
[2009/06/26 12:47:01] <joe-mac1> the only emails i ever get atm are errors... i don't know if you can do, only send err+exec like an and, but the err tag is generally useful if something gets messed you get notified
[2009/06/26 12:47:32] <pugetworks> I only want the errors atm
[2009/06/26 12:47:39] <zahna> also, is this proper? file { "/etc/sysconfig/network-scripts/ifcfg-$iface":
[2009/06/26 12:48:11] <joe-mac1> yea, it'll work but zahna you might want to get in the habit of doing like ${iface}
[2009/06/26 12:48:18] <joe-mac1> but that'll definitely work
[2009/06/26 12:48:27] <zahna> oh, ok.
[2009/06/26 12:48:47] <joe-mac1> unless of course somehow you declare the resource twice
[2009/06/26 12:49:08] <joe-mac1> pugetworks: yea in tagmail add err to email you. i actually have mine em ail an alias that points to the people in my group
[2009/06/26 12:50:33] @ Quit: maryN: Read error: 60 (Operation timed out)
[2009/06/26 12:50:51] @ maryN joined channel #puppet
[2009/06/26 12:53:53] @ d3vilb0x joined channel #puppet
[2009/06/26 12:55:33] @ ezmobius joined channel #puppet
[2009/06/26 12:57:19] @ Quit: ezmobius: Excess Flood
[2009/06/26 12:58:46] @ Quit: madrescher1: "Leaving."
[2009/06/26 13:01:22] @ plathrop is now known as plathrop-away
[2009/06/26 13:01:43] @ Quit: mfournier: Read error: 110 (Connection timed out)
[2009/06/26 13:04:54] <abien> If i have a module with several classes that are not nested, class B canot have a 'require => File["/etc/yum/"]' statement if the actuall 'file { "/etc/yum/": ' statement is in a different class?
[2009/06/26 13:05:17] <pugetworks> you need an inherits
[2009/06/26 13:05:51] <pugetworks> class yum inherits otherclass {
[2009/06/26 13:05:57] <abien> so in my case , class b inherits " a different class" right?
[2009/06/26 13:05:59] <abien> ah yes ok
[2009/06/26 13:06:05] <abien> im gonna try that
[2009/06/26 13:07:23] @ Quit: tecto:
[2009/06/26 13:07:36] @ Quit: maryN: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:39] @ Quit: matty91: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:42] @ Quit: alfism: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:43] @ Quit: schwifty: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:45] @ Quit: egerlach: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:46] @ Quit: pugnacity: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:48] @ Quit: JD_: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:50] @ Quit: bartvb: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:51] @ Quit: kuvkir: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:53] @ Quit: vdc: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:54] @ Quit: nwp_: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:57] @ Quit: jrojas: verne.freenode.net irc.freenode.net
[2009/06/26 13:07:59] @ Quit: nwp: verne.freenode.net irc.freenode.net
[2009/06/26 13:08:04] @ Quit: TREllis: verne.freenode.net irc.freenode.net
[2009/06/26 13:08:05] @ kuvkir_ joined channel #puppet
[2009/06/26 13:08:05] @ bartvb_ joined channel #puppet
[2009/06/26 13:08:06] @ jrojas_ joined channel #puppet
[2009/06/26 13:08:06] @ JD___ joined channel #puppet
[2009/06/26 13:08:07] @ egerlach joined channel #puppet
[2009/06/26 13:08:07] @ TREllis joined channel #puppet
[2009/06/26 13:08:08] @ nwp_ joined channel #puppet
[2009/06/26 13:08:08] @ maryN joined channel #puppet
[2009/06/26 13:08:08] @ nwp joined channel #puppet
[2009/06/26 13:08:18] @ pugnacity joined channel #puppet
[2009/06/26 13:10:22] @ randybias joined channel #puppet
[2009/06/26 13:12:34] @ joe-mac joined channel #puppet
[2009/06/26 13:12:52] @ Quit: fzzzt: "Leaving."
[2009/06/26 13:13:19] @ Quit: scylla: Read error: 54 (Connection reset by peer)
[2009/06/26 13:15:24] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/26 13:16:23] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/06/26 13:17:26] <dan__t> Hrm.
[2009/06/26 13:17:35] <dan__t> I have Puppet installing config files before packages are installed.
[2009/06/26 13:17:46] <dan__t> Any tips for resolving that? Shouldn't a require take care of that?
[2009/06/26 13:18:49] @ Quit: Bass10: Connection timed out
[2009/06/26 13:18:49] <agaffney> yes
[2009/06/26 13:19:03] <agaffney> require => Package[foo] in the File
[2009/06/26 13:19:11] <dan__t> Well, wtf.
[2009/06/26 13:19:15] <agaffney> assuming you also have a package { foo: ... }
[2009/06/26 13:19:28] @ ezmobius joined channel #puppet
[2009/06/26 13:19:43] <dan__t> Oh, I was requiring a class
[2009/06/26 13:19:51] <dan__t> Same effect though, if the package is required per that class, right?
[2009/06/26 13:20:13] <agaffney> eh, not sure
[2009/06/26 13:26:16] @ Quit: erm__: Read error: 110 (Connection timed out)
[2009/06/26 13:29:32] <dan__t> yeah
[2009/06/26 13:29:35] <dan__t> looks liket hat works
[2009/06/26 13:29:38] <dan__t> it cascades as such
[2009/06/26 13:29:44] @ Quit: drmikecrowe: Connection timed out
[2009/06/26 13:30:46] <bgupta> joe-mac: What was that link in reference to?
[2009/06/26 13:31:15] <joe-mac> whatever your qwuestion was before i sent it
[2009/06/26 13:31:21] @ Quit: markp:
[2009/06/26 13:31:22] <joe-mac> something about a list of variables
[2009/06/26 13:32:08] <dan__t> Kewl, I get to rebuild like 204118043 RPMs.
[2009/06/26 13:33:46] @ Quit: joe-mac1: Read error: 110 (Connection timed out)
[2009/06/26 13:34:29] @ Quit: maryN: Read error: 110 (Connection timed out)
[2009/06/26 13:35:05] @ maryN joined channel #puppet
[2009/06/26 13:40:24] <nawty> peeps
[2009/06/26 13:40:31] <nawty> puppet + passenger, bad idea ?
[2009/06/26 13:42:21] <dan__t> Not sure.
[2009/06/26 13:42:27] <dan__t> Never played with Passenger before.
[2009/06/26 13:42:32] <dan__t> But there's nothing that Apache's mod_proxy can't do :(
[2009/06/26 13:42:42] <dan__t> So I think I'm going to stick with that, like, forever.
[2009/06/26 13:44:54] <bgupta> AH I bet you meant to sent that link to bpgoldsb instead of me..
[2009/06/26 13:45:16] <bgupta> bpgoldsb: joe-mac: bgupta: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/06/26 13:45:44] <gepetto> bgupta: bpgoldsb: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/06/26 13:47:57] <joe-mac> Oh yea maybea typo with thte tab completion
[2009/06/26 13:53:04] @ Quit: bendsu: "Leaving."
[2009/06/26 13:54:11] @ joe-mac1 joined channel #puppet
[2009/06/26 13:54:22] @ ctb joined channel #puppet
[2009/06/26 13:57:37] <nawty> how about nginx ?
[2009/06/26 13:57:45] <nawty> i just don't like the idea of mod_proxy.
[2009/06/26 13:57:53] <nawty> it's given me many hours of pain in a previous lief.
[2009/06/26 13:57:54] <nawty> life/
[2009/06/26 14:10:10] @ drmikecrowe joined channel #puppet
[2009/06/26 14:11:50] @ Quit: joe-mac: Read error: 110 (Connection timed out)
[2009/06/26 14:12:36] @ Bass10 joined channel #puppet
[2009/06/26 14:13:45] @ Quit: niczar1: Remote closed the connection
[2009/06/26 14:17:24] @ lak joined channel #puppet
[2009/06/26 14:23:53] @ thegcat joined channel #puppet
[2009/06/26 14:28:42] @ plathrop-away is now known as plathrop
[2009/06/26 14:29:36] @ Quit: thegcat:
[2009/06/26 14:32:43] @ vdc joined channel #puppet
[2009/06/26 14:34:22] @ zahna left channel #puppet ()
[2009/06/26 14:36:18] @ andrewcshafer joined channel #puppet
[2009/06/26 14:40:32] @ andrewcshafer_ joined channel #puppet
[2009/06/26 14:41:00] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2009/06/26 14:42:24] @ Quit: andrewcshafer_: Client Quit
[2009/06/26 14:44:06] @ Quit: Guest68383: Remote closed the connection
[2009/06/26 14:51:16] @ pleemans joined channel #puppet
[2009/06/26 15:02:54] <hacim> what kind of pre-requisites are there for the puppet trainings?
[2009/06/26 15:03:48] <Volcane> lots of money
[2009/06/26 15:04:48] <Volcane> know linux well and thats probably about it
[2009/06/26 15:05:57] <hacim> i'm talkin' skills ;)
[2009/06/26 15:09:09] @ Quit: lak:
[2009/06/26 15:09:16] @ jetole_ joined channel #puppet
[2009/06/26 15:10:46] <Volcane> from what i know its like from beginner with puppet
[2009/06/26 15:10:51] <Volcane> but u need to know linux
[2009/06/26 15:11:27] <Volcane> mail the list and ask, or ask training@reductivelabs.com
[2009/06/26 15:11:33] <Volcane> 2nd probably better
[2009/06/26 15:23:26] @ Shazburg joined channel #puppet
[2009/06/26 15:26:25] <bpgoldsb> if multiple things require the same thing, in this case and 'exec', will the 'exec' be run once or multiple times?
[2009/06/26 15:26:35] @ edavis10 left channel #puppet ()
[2009/06/26 15:26:53] <Tonnerre> bpgoldsb, the idea is that it would be run once, before any of the targets requiring it
[2009/06/26 15:26:56] <joe-mac1> once
[2009/06/26 15:27:19] <bpgoldsb> Good. Thats what I wanted. Now to play devil's advocate... What if I wanted it to run each time? :P
[2009/06/26 15:27:36] <Tonnerre> Then define a new exec for each time :P
[2009/06/26 15:27:42] <Tonnerre> define() could be your friend there
[2009/06/26 15:28:00] @ Quit: kelseyhightower:
[2009/06/26 15:28:37] @ kelseyhightower joined channel #puppet
[2009/06/26 15:31:43] @ Quit: drmikecrowe: Connection timed out
[2009/06/26 15:35:02] <joe-mac1> yea, you'd have to wrap the exec in a define
[2009/06/26 15:35:20] <joe-mac1> otherwise, even if you were to notify it twice, those notifies queue up and then the resource is applied once
[2009/06/26 15:35:37] @ shood_ joined channel #puppet
[2009/06/26 15:35:50] @ lak joined channel #puppet
[2009/06/26 15:36:13] <shood_> could someone point me in the right direction. need to do a wildcard match on a file resource.. for example /dir/*/subdir
[2009/06/26 15:37:35] @ randybias is now known as randybias|away
[2009/06/26 15:38:59] @ randybias|away is now known as randybias
[2009/06/26 15:40:47] @ Quit: ctso: "Leaving."
[2009/06/26 15:41:49] @ andrewcshafer joined channel #puppet
[2009/06/26 15:44:31] @ ctso joined channel #puppet
[2009/06/26 15:49:58] @ Quit: magnachef__: Read error: 110 (Connection timed out)
[2009/06/26 15:50:14] @ magnachef__ joined channel #puppet
[2009/06/26 15:52:27] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/26 15:53:02] @ pleemans joined channel #puppet
[2009/06/26 16:09:21] @ Quit: d3vilb0x:
[2009/06/26 16:16:46] @ Quit: magnachef__: Read error: 110 (Connection timed out)
[2009/06/26 16:17:13] @ PhabX joined channel #puppet
[2009/06/26 16:20:25] @ Quit: ctb: Read error: 104 (Connection reset by peer)
[2009/06/26 16:21:49] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/06/26 16:21:58] @ Quit: andrewcshafer:
[2009/06/26 16:24:18] @ Quit: lak:
[2009/06/26 16:28:42] @ Quit: dedebkbrn: Remote closed the connection
[2009/06/26 16:29:44] @ Quit: notbrien:
[2009/06/26 16:30:56] @ dedebkbrn joined channel #puppet
[2009/06/26 16:36:14] @ Quit: claymation: Read error: 104 (Connection reset by peer)
[2009/06/26 16:36:27] @ claymation joined channel #puppet
[2009/06/26 16:42:40] @ drmikecrowe joined channel #puppet
[2009/06/26 16:58:11] @ ctb joined channel #puppet
[2009/06/26 16:58:15] @ Quit: kelseyhightower:
[2009/06/26 17:05:33] @ Quit: drmikecrowe: Connection timed out
[2009/06/26 17:07:07] @ jtimberman_ joined channel #puppet
[2009/06/26 17:11:03] @ andrewcshafer joined channel #puppet
[2009/06/26 17:13:20] @ Quit: pugetworks: "pugetworks has no reason"
[2009/06/26 17:13:58] @ PhatBaja joined channel #puppet
[2009/06/26 17:14:26] @ Quit: jtimberman: Read error: 113 (No route to host)
[2009/06/26 17:15:01] <PhatBaja> One specific definition is on two different modules. When I include both modules in one node i get the error ArgumentError: Duplicate definition: File[/var/data/apps] is already defined in file...
[2009/06/26 17:15:08] <PhatBaja> How to overcome this issue?
[2009/06/26 17:17:46] @ Quit: PhabX: "Leaving..."
[2009/06/26 17:23:07] @ Quit: claymation:
[2009/06/26 17:23:54] @ jtimberman_ is now known as jtimberman
[2009/06/26 17:24:07] @ drmikecrowe joined channel #puppet
[2009/06/26 17:25:28] @ randybias is now known as randybias|away
[2009/06/26 17:26:07] <Volcane> you cant define the same resource twice
[2009/06/26 17:26:25] <Volcane> in a define, files etc, should all be unique
[2009/06/26 17:27:16] @ Quit: jmarki: Remote closed the connection
[2009/06/26 17:28:19] <Volcane> if say you have a define to install an app, and it needs the parent directory that holds many apps, you need to make that parent directory in a class and include it
[2009/06/26 17:28:47] @ randybias|away is now known as randybias
[2009/06/26 17:32:57] @ kambiz is now known as kambiz_away
[2009/06/26 17:39:36] <PhatBaja> Volcane: Thanks
[2009/06/26 17:47:22] @ Quit: Shazburg: Remote closed the connection
[2009/06/26 17:56:34] @ plathrop is now known as plathrop-away
[2009/06/26 17:56:44] @ plathrop-away is now known as plathrop
[2009/06/26 17:57:35] @ mfournier joined channel #puppet
[2009/06/26 17:59:09] <gepetto> ::trac:: Common Misconceptions edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions (by james@lovedthanlost.net)
[2009/06/26 18:00:19] @ Quit: kngus: "Leaving."
[2009/06/26 18:00:56] @ Quit: ask: "Leaving..."
[2009/06/26 18:02:58] @ Quit: malraid: "ChatZilla 0.9.85 [Firefox 3.0.8/2009032711]"
[2009/06/26 18:06:17] @ Quit: flakrat: "Leaving"
[2009/06/26 18:12:42] @ tecto joined channel #puppet
[2009/06/26 18:13:14] @ mfournie1 joined channel #puppet
[2009/06/26 18:19:48] @ Quit: mfournier: Read error: 110 (Connection timed out)
[2009/06/26 18:28:53] @ devicenull joined channel #puppet
[2009/06/26 18:37:14] @ plathrop is now known as plathrop-away
[2009/06/26 18:37:24] @ plathrop-away is now known as plathrop
[2009/06/26 18:41:20] @ Quit: jtimberman: "Quitters never win [at irc]."
[2009/06/26 18:44:56] @ Quit: Zed1: Read error: 110 (Connection timed out)
[2009/06/26 18:47:24] @ ask joined channel #puppet
[2009/06/26 18:48:45] @ WALoeIII joined channel #puppet
[2009/06/26 18:50:28] @ Quit: bobbyz_: Read error: 110 (Connection timed out)
[2009/06/26 18:50:30] @ kambiz_away is now known as kambiz
[2009/06/26 19:03:32] @ Quit: nawty:
[2009/06/26 19:08:20] @ Quit: andrewcshafer:
[2009/06/26 19:11:40] @ Quit: randybias: "Leaving..."
[2009/06/26 19:19:57] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2009/06/26 19:24:56] @ Quit: shood_:
[2009/06/26 19:29:43] @ siezer joined channel #puppet
[2009/06/26 19:46:28] @ Quit: hessmll: Client Quit
[2009/06/26 19:55:49] @ dsch04 joined channel #puppet
[2009/06/26 19:57:20] @ Quit: ctb: "leaving"
[2009/06/26 19:58:40] @ Quit: cwebber:
[2009/06/26 20:05:09] @ ZeeRusski joined channel #puppet
[2009/06/26 20:11:14] <ZeeRusski> i've got a silly q... i'd like to check what version of package is installed on the system and based on that, setup config files
[2009/06/26 20:11:42] <ZeeRusski> can't quite figure out how to do an if/else/case based on a specific version of a package
[2009/06/26 20:21:11] <ZeeRusski> mm seems like i need to do a custom factoid
[2009/06/26 20:24:05] @ andrewcshafer joined channel #puppet
[2009/06/26 20:29:42] @ Quit: Demosthenes: "leaving"
[2009/06/26 20:31:13] @ Quit: mfournie1: Read error: 113 (No route to host)
[2009/06/26 20:35:25] @ shood joined channel #puppet
[2009/06/26 20:35:35] @ cwebber joined channel #puppet
[2009/06/26 20:40:35] @ Quit: ZeeRusski: Remote closed the connection
[2009/06/26 20:40:45] @ ZeeRusski joined channel #puppet
[2009/06/26 20:44:30] @ nd33r joined channel #puppet
[2009/06/26 20:45:29] @ WALoeIII_ joined channel #puppet
[2009/06/26 20:46:16] @ Quit: WALoeIII_: Client Quit
[2009/06/26 20:47:14] <nd33r> Hi all, new to Puppet. I've just installed puppetmaster on one Debian Lenny box and puppet on another Debian Lenny box. Any good tips on getting started? (Reading documentation now)
[2009/06/26 20:48:42] <ezekiel> reading documentation is the good tip
[2009/06/26 20:48:57] <nd33r> lol... yep, thought i'd get that one :)
[2009/06/26 20:49:17] <ezekiel> start with managing something fairly harmless, maybe cron jobs or something
[2009/06/26 20:49:25] <nd33r> I like the concept so far... I'm tired of manual administration of so many servers
[2009/06/26 20:49:38] <ctso> take a look at some of the existing recipes
[2009/06/26 20:49:41] <ezekiel> and put your puppetmaster library in version control right away - git, ahem
[2009/06/26 20:49:42] <ctso> both in the docs and on github
[2009/06/26 20:49:47] <ctso> they really give you a good idea of how puppet can be used
[2009/06/26 20:49:49] <ctso> particularly in a modular way
[2009/06/26 20:50:13] <nd33r> Hmm, i read that about SCM for puppetmaster... what's the reason behind this?
[2009/06/26 20:50:26] <nd33r> so many changes that it's good practice?
[2009/06/26 20:50:47] <ctso> i'd say that applies to anything code-related, period
[2009/06/26 20:50:53] <nd33r> Thank you ctso
[2009/06/26 20:51:03] <kennobaka> it's really handy to have a commit hook that means you only commit correct syntax, too
[2009/06/26 20:51:25] <kennobaka> especially if you have a cron to auto-checkout the puppet source every few minutes so that you don't have to remember to do it after each commit
[2009/06/26 20:51:32] @ Quit: ezmobius:
[2009/06/26 20:53:11] @ Quit: PhatBaja:
[2009/06/26 20:53:26] <nd33r> Thank you kennobaka... I now see the true usefulness. Finally, a good reason to try GIT instead of Subversion, which i've been using for years now.
[2009/06/26 20:57:54] @ Quit: cwebber:
[2009/06/26 20:58:26] @ plathrop is now known as plathrop-away
[2009/06/26 21:01:09] @ Quit: WALoeIII: Read error: 113 (No route to host)
[2009/06/26 21:01:17] @ Quit: andrewcshafer:
[2009/06/26 21:07:15] @ andrewcshafer joined channel #puppet
[2009/06/26 21:07:58] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2009/06/26 21:08:41] @ mikearr joined channel #puppet
[2009/06/26 21:22:57] @ snerd joined channel #puppet
[2009/06/26 21:25:11] @ fujin joined channel #puppet
[2009/06/26 21:33:40] @ Quit: andrewcshafer:
[2009/06/26 21:37:21] @ jtimberman joined channel #puppet
[2009/06/26 21:42:14] @ Quit: devicenull: Read error: 110 (Connection timed out)
[2009/06/26 22:10:16] @ incommon_ike joined channel #puppet
[2009/06/26 22:10:45] <incommon_ike> version 0.25 is supposed to have simple windows support. What does that include? exec only?
[2009/06/26 22:15:20] @ WALoeIII joined channel #puppet
[2009/06/26 22:20:29] <jamesturnbull> incommon_ike: user and group at this stage
[2009/06/26 22:21:15] <incommon_ike> gotcha. so no ability to call a bunch of .bat files, then.
[2009/06/26 22:21:45] <jamesturnbull> incommon_ike: not the initial code but once it runs it'll be easy to add providers
[2009/06/26 22:22:54] <incommon_ike> ok. thanks
[2009/06/26 22:31:37] @ Demosthenes joined channel #puppet
[2009/06/26 22:33:35] @ Djelibeybi joined channel #puppet
[2009/06/26 22:34:42] @ Quit: ZeeRusski: "This computer has gone to sleep"
[2009/06/26 22:36:32] @ Quit: fujin: "Leaving..."
[2009/06/26 22:39:07] @ Quit: drmikecrowe: Client Quit
[2009/06/26 22:49:43] <n3kl> where is puppet:/// defined?
[2009/06/26 22:51:55] <ctso> what do you mean
[2009/06/26 22:52:27] <n3kl> well, on a client, if I specify the source file of puppet:///coolfile, how do I know where on teh server it actually lives?
[2009/06/26 22:53:18] <ctso> i personally use it like: puppet:///<modulename>/<filename>, which ends up being in <modulepath>/<modulename>/files/<filename>
[2009/06/26 22:55:01] <n3kl> is that pretty standard?
[2009/06/26 22:55:22] <n3kl> So it seem to me that most people keep the files that belong to the module under the module directory, is that right?
[2009/06/26 22:55:30] <ctso> yeah
[2009/06/26 22:55:46] <ctso> i mean it would make sense - otherwise, the module wouldn't be very portable
[2009/06/26 22:55:49] <n3kl> I guess I am just wanting all of my configs to live in teh same directory
[2009/06/26 22:56:07] <n3kl> okay
[2009/06/26 22:56:37] <n3kl> I don't know what it means to have a portable module, but I am reading lots
[2009/06/26 22:57:53] <ctso> there's probably a better way to do this
[2009/06/26 22:58:05] <ctso> but at the very least, you could just make a module that has a files dir with all your configs
[2009/06/26 22:58:20] <ctso> just need to make sure that config module is always there
[2009/06/26 23:08:49] @ Quit: incommon_ike: "Leaving"
[2009/06/26 23:10:05] @ Quit: nd33r:
[2009/06/26 23:13:23] <n3kl> I am gettting: puppetd[20614]: (//Node[basenode]/sudo/File[/etc/sudoers]) Failed to retrieve current state of resource: No specified source was found from puppet:///sudo/files/sudoers. This last bit is the source I am using, and the file exists: /etc/puppet/modules/sudo/files/sudoers
[2009/06/26 23:13:37] <ctso> if you look carefully
[2009/06/26 23:13:42] <ctso> i didnt put "files" in the puppet:/// url
[2009/06/26 23:14:05] <ctso> the files directory is implied
[2009/06/26 23:18:47] <n3kl> so I should specify puppet:///module/actualfile instead
[2009/06/26 23:19:47] @ D-CoDe joined channel #puppet
[2009/06/26 23:20:02] <n3kl> so if the file is actually /etc/puppet/modules/sudo/files/sudoers, I should use the source option of puppet:///sudo/sudoers, right?
[2009/06/26 23:20:22] <Djelibeybi> n3kl: right.
[2009/06/26 23:21:05] <n3kl> I am also told that *everything* should be a module. Is this also correct?
[2009/06/26 23:21:35] @ Quit: justindossey: Read error: 110 (Connection timed out)
[2009/06/26 23:21:36] <Djelibeybi> I tend to take the "everything that I apply to more than one server" should be a module position
[2009/06/26 23:22:21] <n3kl> Okay, and its standard to have a files/ dir under every module with an init.pp file for every module also?
[2009/06/26 23:22:27] <Djelibeybi> Yup
[2009/06/26 23:22:39] <Djelibeybi> Well, you only need a files dir if your module has file resources
[2009/06/26 23:22:54] <n3kl> Ahhh
[2009/06/26 23:23:14] <n3kl> Cool
[2009/06/26 23:23:20] <n3kl> My sudo transfers
[2009/06/26 23:23:24] <Djelibeybi> Yay
[2009/06/26 23:23:27] <n3kl> indeeed
[2009/06/26 23:23:39] <n3kl> On to the "hello world"
[2009/06/26 23:24:03] <n3kl> Is it wise to have puppet update itself?
[2009/06/26 23:24:39] <n3kl> Also, is it wise to have all of /etc/puppet on teh server stored in subversion? What other options are out there to use subversion?
[2009/06/26 23:25:27] <rmiller4pi8> why not do that?
[2009/06/26 23:25:59] <n3kl> cool
[2009/06/26 23:26:41] <rmiller4pi8> in terms of having puppet update itself, i do that, but i only run it manually to minimize the risk of something breaking and me not seeing it, but ymmv
[2009/06/26 23:27:04] <Djelibeybi> My puppet clients update their own puppet.conf and I store all of /etc/puppet from the puppetmaster in Subversion
[2009/06/26 23:27:37] <n3kl> Djelibeybi: work well for you?
[2009/06/26 23:27:44] <rmiller4pi8> oh, i wasn't thinking of puppet.conf on the client when i said that, but rather the puppetmaster
[2009/06/26 23:27:52] <Djelibeybi> n3kl: so far, so good.
[2009/06/26 23:27:54] <rmiller4pi8> definitely update puppet.conf on the client with puppet
[2009/06/26 23:28:16] <n3kl> I'd like to be able to migrate from one server to another if I had to
[2009/06/26 23:29:43] <n3kl> so to do this, I would create a puppet module, right?
[2009/06/26 23:31:54] <jamesturnbull> n3kl: yep
[2009/06/26 23:41:00] @ Quit: maryN: Read error: 60 (Operation timed out)
[2009/06/26 23:41:17] @ maryN joined channel #puppet
[2009/06/26 23:42:18] <n3kl> I like this game

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