| [2009/06/18 00:00:28] @ Log started by gepetto | ||
| [2009/06/18 00:00:28] <nigelk> or would you find it more useful to have a separate type that ensures certain debconf data is always set a certain way? Rather than tying it to the package installation only. | ||
| [2009/06/18 00:00:46] <joe-mac> nigelk: i don't mind using the files, but i think idea #1 is a good idea. | ||
| [2009/06/18 00:00:47] <gepetto> joe-mac: nigelk: #1 is http://projects.reductivelabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions - ReductiveLabs.com" | ||
| [2009/06/18 00:01:02] <joe-mac> not that idea 1 lol... | ||
| [2009/06/18 00:01:09] <nigelk> :) | ||
| [2009/06/18 00:01:20] <nigelk> both could be useful I guess | ||
| [2009/06/18 00:01:49] <nigelk> we have a bunch of small debconf settings we like to maintain, so I was thinking a separate type might be useful too | ||
| [2009/06/18 00:02:31] <joe-mac> what else do you use debconf for nigelk? | ||
| [2009/06/18 00:02:56] <jason^_> are you guys keeping puppet up to date on ubuntu or debian? how are you doing that? | ||
| [2009/06/18 00:03:16] <nigelk> http://packages.qa.debian.org/p/puppet.html | ||
| [2009/06/18 00:03:22] <joe-mac> jason, i go to ftp.ubuntu.com or debian.com and download it | ||
| [2009/06/18 00:03:23] <joe-mac> works fine | ||
| [2009/06/18 00:03:36] <joe-mac> alternatively, you can dget the .dsc and build it yourself, to sign it with your key | ||
| [2009/06/18 00:03:47] <jason^_> but you're staying on 0.24.4 or whatever ubuntu provides | ||
| [2009/06/18 00:04:15] <nigelk> no. we're running the package out of unstable | ||
| [2009/06/18 00:04:26] <joe-mac> yea, ftp://ftp.ubuntu.com/ubuntu/pool/universe/p/puppet | ||
| [2009/06/18 00:04:34] <joe-mac> latest and greatest is in there | ||
| [2009/06/18 00:04:41] <joe-mac> you'll probably want f/facter too | ||
| [2009/06/18 00:04:52] <jason^_> oh fun | ||
| [2009/06/18 00:05:11] <jason^_> did not realize it was there | ||
| [2009/06/18 00:05:34] <joe-mac> neither did i til a few weeks back | ||
| [2009/06/18 00:06:11] <jason^_> jawesome | ||
| [2009/06/18 00:06:18] @ Quit: claymation: | ||
| [2009/06/18 00:08:12] @ Quit: nigelk: | ||
| [2009/06/18 00:10:31] <jason^_> is there a decent way to get puppet to restart with the new version properly after the update? i have had some issues with that before | ||
| [2009/06/18 00:11:11] <joe-mac> jason^_: i stop the service with capistrano across my nodes then do the apt-get operation | ||
| [2009/06/18 00:11:55] <jason^_> go figure, i don't have capistrano :) | ||
| [2009/06/18 00:13:15] <joe-mac> it sure makes life a lot easier for me | ||
| [2009/06/18 00:13:28] <joe-mac> it's just a ruby script really | ||
| [2009/06/18 00:14:27] @ QMan joined channel #puppet | ||
| [2009/06/18 00:17:32] <Djelibeybi> jason^_: I have a cronjob that tests if puppet is running and if not, restarts it | ||
| [2009/06/18 00:17:41] <Djelibeybi> And I make the puppet service require the cronjob | ||
| [2009/06/18 00:17:50] <Djelibeybi> So that it doesn't attempt to restart puppet until after it's created the job | ||
| [2009/06/18 00:18:33] @ Demosthenes joined channel #puppet | ||
| [2009/06/18 00:59:28] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 00:59:39] @ PhabX joined channel #puppet | ||
| [2009/06/18 01:04:51] @ Quit: mccune: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 01:10:25] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/18 01:25:30] @ lak joined channel #puppet | ||
| [2009/06/18 01:27:19] @ joe-mac left channel #puppet () | ||
| [2009/06/18 01:28:22] @ shake-n-bake joined channel #puppet | ||
| [2009/06/18 01:33:07] <jamesturnbull> mattdelves: have you seen http://tinyurl.com/puppetbook - it's a good introduction - also there are a variety of modules out there that configure networks - wiki:PuppetModules | ||
| [2009/06/18 01:33:09] <gepetto> jamesturnbull: mattdelves: wiki:PuppetModules is http://reductivelabs.com/trac/puppet/wiki/PuppetModules | ||
| [2009/06/18 01:35:21] <mattdelves> jamesturnbull & gepetto thanks for your answers, looking over them now. | ||
| [2009/06/18 01:38:38] @ mikepea joined channel #puppet | ||
| [2009/06/18 01:38:45] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/18 01:38:56] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 01:40:21] @ Quit: matty91: | ||
| [2009/06/18 01:44:40] @ saurabhverma joined channel #puppet | ||
| [2009/06/18 01:45:13] @ gstratton left channel #puppet () | ||
| [2009/06/18 01:50:43] @ Quit: shake-n-bake: | ||
| [2009/06/18 01:51:16] <RageLink> anyone here do something with memcached and puppet yet? | ||
| [2009/06/18 01:51:21] <RageLink> :D | ||
| [2009/06/18 01:51:26] <RageLink> im looking for pointers | ||
| [2009/06/18 01:51:29] <jamesturnbull> RageLink: manage it do you mean? | ||
| [2009/06/18 01:51:33] <RageLink> yes | ||
| [2009/06/18 01:51:37] <RageLink> and install it technically | ||
| [2009/06/18 01:51:42] <jamesturnbull> RageLink: there are a couple of puppet modules for memchached | ||
| [2009/06/18 01:51:48] <jamesturnbull> RageLink: try on Github | ||
| [2009/06/18 01:51:51] <RageLink> SCHWEET | ||
| [2009/06/18 01:52:09] <RageLink> any idea if it happens to be the repcached too | ||
| [2009/06/18 01:52:11] <RageLink> hehe | ||
| [2009/06/18 01:52:17] <jamesturnbull> RageLink: not sure | ||
| [2009/06/18 01:52:23] <RageLink> thanks ! | ||
| [2009/06/18 01:52:26] <RageLink> ill check it out | ||
| [2009/06/18 01:58:11] @ M- joined channel #puppet | ||
| [2009/06/18 02:02:24] @ m6d4 joined channel #puppet | ||
| [2009/06/18 02:04:48] @ odyi joined channel #puppet | ||
| [2009/06/18 02:05:34] @ suchu joined channel #puppet | ||
| [2009/06/18 02:07:16] @ Quit: axisys: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 02:12:12] @ Quit: mikepea: | ||
| [2009/06/18 02:16:57] @ Quit: saurabhverma: Connection timed out | ||
| [2009/06/18 02:18:22] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/18 02:18:36] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 02:31:06] @ Quit: D-CoDe: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 02:31:28] <RageLink> jamesturnbull: you still around? | ||
| [2009/06/18 02:32:39] <RageLink> I been-a-searchin the github for puppet modules on memcached but am unable to track them down... a roadsign would be much appreciated | ||
| [2009/06/18 02:33:02] <jamesturnbull> RageLink: okay hang on | ||
| [2009/06/18 02:33:20] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/06/18 02:33:23] <RageLink> thanks :) | ||
| [2009/06/18 02:34:51] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/06/18 02:36:37] <jamesturnbull> RageLink: http://blog.digg.com/?p=562 http://git.puppetmanaged.org/ | ||
| [2009/06/18 02:36:56] <jamesturnbull> RageLink: sorry for th wrong steer - the Moonshine guys have a memcached module and I got confused | ||
| [2009/06/18 02:37:06] <RageLink> :D | ||
| [2009/06/18 02:37:10] @ mfournier joined channel #puppet | ||
| [2009/06/18 02:37:16] <jamesturnbull> RageLink: http://github.com/railsmachine/moonshine_memcached/tree/master | ||
| [2009/06/18 02:37:24] <jamesturnbull> RageLink: but the other links show memcached and puppet stuff | ||
| [2009/06/18 02:37:35] <RageLink> awesome :) | ||
| [2009/06/18 02:39:55] <RageLink> this looks like fun actually | ||
| [2009/06/18 02:40:04] @ pleemans joined channel #puppet | ||
| [2009/06/18 02:41:27] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 02:42:48] @ lak joined channel #puppet | ||
| [2009/06/18 02:47:24] @ saurabhverma joined channel #puppet | ||
| [2009/06/18 02:48:13] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 02:50:23] @ Quit: D-CoDe: Remote closed the connection | ||
| [2009/06/18 02:52:39] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 03:14:34] @ Quit: QMan: | ||
| [2009/06/18 03:15:35] @ x_dimitri joined channel #puppet | ||
| [2009/06/18 03:19:12] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/06/18 03:20:33] @ kibahop joined channel #puppet | ||
| [2009/06/18 03:24:49] @ Quit: maxagaz: "Leaving" | ||
| [2009/06/18 03:26:58] @ Quit: M-: "Leaving" | ||
| [2009/06/18 03:29:54] @ DerekW joined channel #puppet | ||
| [2009/06/18 03:31:24] @ Quit: D-CoDe: Remote closed the connection | ||
| [2009/06/18 03:34:09] @ Quit: lak: | ||
| [2009/06/18 03:43:11] @ tim|macbook joined channel #puppet | ||
| [2009/06/18 03:44:51] @ Robbie joined channel #puppet | ||
| [2009/06/18 03:46:13] <x_dimitri> running "ruby install.rb" (while trying to install puppet) give me the error: | ||
| [2009/06/18 03:46:26] <x_dimitri> "require: no such file to load -- ftools" | ||
| [2009/06/18 03:46:57] <x_dimitri> it appears ftools is included in the ruby standard library. Any ideas what's causing the error? | ||
| [2009/06/18 03:47:22] <Volcane> what OS? | ||
| [2009/06/18 03:47:53] <x_dimitri> suse | ||
| [2009/06/18 03:47:56] <x_dimitri> sles10 | ||
| [2009/06/18 03:48:18] <x_dimitri> i installed ruby from source | ||
| [2009/06/18 03:48:24] @ fbe joined channel #puppet | ||
| [2009/06/18 03:48:31] <x_dimitri> version 1.9.0 | ||
| [2009/06/18 03:48:53] <Volcane> could be 1.9 related problem | ||
| [2009/06/18 03:49:42] <x_dimitri> what's the latest version? | ||
| [2009/06/18 03:51:01] <Volcane> use 1.8.x | ||
| [2009/06/18 03:51:37] <x_dimitri> hm, ok | ||
| [2009/06/18 03:53:54] <Volcane> fairly sure there are SUSE packages for puppet though? | ||
| [2009/06/18 03:54:24] <x_dimitri> I don't know.. | ||
| [2009/06/18 03:54:27] <x_dimitri> I haven't found any | ||
| [2009/06/18 03:54:32] <x_dimitri> or are you saying there are? | ||
| [2009/06/18 03:55:42] <Volcane> funny cos the first google result for 'suse puppet package' is helpful | ||
| [2009/06/18 03:59:36] <x_dimitri> hm.. ok, lemme check | ||
| [2009/06/18 04:01:12] <x_dimitri> gee thanks. I've been mucking with this for weeks, and indeed googling, but I never came across it. But I may still have to use source though, cos I'm using virtual machines that may not be able to access the internet. But I appreciate the help | ||
| [2009/06/18 04:01:37] <Volcane> surely suse packages are downloadable, copyable and installable on machines? | ||
| [2009/06/18 04:02:59] <x_dimitri> It appears I have to use add repo sources and use yast, but I'll see what else is available. | ||
| [2009/06/18 04:04:43] @ francois joined channel #puppet | ||
| [2009/06/18 04:05:03] @ MattyM joined channel #puppet | ||
| [2009/06/18 04:06:28] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/18 04:08:59] @ Quit: madduck: Read error: 113 (No route to host) | ||
| [2009/06/18 04:09:00] @ madduck joined channel #puppet | ||
| [2009/06/18 04:10:20] @ kolla joined channel #puppet | ||
| [2009/06/18 04:10:48] @ QMan joined channel #puppet | ||
| [2009/06/18 04:11:28] @ mikepea joined channel #puppet | ||
| [2009/06/18 04:13:21] @ Quit: pinoyskull: | ||
| [2009/06/18 04:14:30] @ poison joined channel #puppet | ||
| [2009/06/18 04:15:35] @ Quit: tim|macbook: Read error: 110 (Connection timed out) | ||
| [2009/06/18 04:20:25] @ alban2 joined channel #puppet | ||
| [2009/06/18 04:26:27] @ briandquinn joined channel #puppet | ||
| [2009/06/18 04:29:42] @ yumas joined channel #puppet | ||
| [2009/06/18 04:30:26] @ mgk joined channel #puppet | ||
| [2009/06/18 04:32:37] @ mvn071 joined channel #puppet | ||
| [2009/06/18 04:37:27] @ tim|macbook joined channel #puppet | ||
| [2009/06/18 04:45:15] @ omry|work joined channel #puppet | ||
| [2009/06/18 04:48:45] @ Quit: tim|macbook: Remote closed the connection | ||
| [2009/06/18 04:48:46] @ tim|macbook joined channel #puppet | ||
| [2009/06/18 04:49:49] @ tim|macbook_ joined channel #puppet | ||
| [2009/06/18 04:49:52] @ Quit: tim|macbook: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 04:56:20] @ vblando joined channel #puppet | ||
| [2009/06/18 04:56:37] @ Quit: vblando: Client Quit | ||
| [2009/06/18 04:56:49] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/18 04:56:49] @ Innocenti joined channel #puppet | ||
| [2009/06/18 04:56:59] @ Quit: asbruvik: Remote closed the connection | ||
| [2009/06/18 04:57:00] @ asbruvik joined channel #puppet | ||
| [2009/06/18 04:57:20] @ pinoyskull joined channel #puppet | ||
| [2009/06/18 04:59:03] @ pleemans joined channel #puppet | ||
| [2009/06/18 05:10:00] @ glaw joined channel #puppet | ||
| [2009/06/18 05:13:27] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 05:13:53] <tim|macbook_> !seen davids | ||
| [2009/06/18 05:13:53] <gepetto> tim|macbook_: DavidS was last seen 3 days, 2 hours, 7 minutes and 52 seconds ago, quitting IRC (Read error: 110 (Connection timed out)) | ||
| [2009/06/18 05:13:56] <tim|macbook_> bollocks. | ||
| [2009/06/18 05:18:13] @ Administrator__ joined channel #puppet | ||
| [2009/06/18 05:19:54] @ HarryCalahan joined channel #puppet | ||
| [2009/06/18 05:20:15] @ nakano_ is now known as nakano | ||
| [2009/06/18 05:20:45] @ mfladischer joined channel #puppet | ||
| [2009/06/18 05:34:15] @ fbe joined channel #puppet | ||
| [2009/06/18 05:34:16] @ friendly12345 joined channel #puppet | ||
| [2009/06/18 05:35:37] @ verwilst joined channel #puppet | ||
| [2009/06/18 05:37:11] @ Quit: pinoyskull: Read error: 110 (Connection timed out) | ||
| [2009/06/18 05:38:14] @ suchu_ joined channel #puppet | ||
| [2009/06/18 05:43:16] @ Quit: suchu: Read error: 60 (Operation timed out) | ||
| [2009/06/18 05:43:26] @ suchu_ is now known as suchu | ||
| [2009/06/18 05:45:59] @ Quit: suchu: "ChatZilla 0.9.84 [Firefox 3.0.11/2009060215]" | ||
| [2009/06/18 05:51:42] @ Quit: egerlach: Read error: 110 (Connection timed out) | ||
| [2009/06/18 05:52:14] @ melopt joined channel #puppet | ||
| [2009/06/18 05:54:57] @ Quit: Administrator__: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 05:57:52] @ pinoyskull joined channel #puppet | ||
| [2009/06/18 06:02:04] @ madrescher joined channel #puppet | ||
| [2009/06/18 06:02:11] @ Quit: mikepea: | ||
| [2009/06/18 06:02:31] @ mikepea joined channel #puppet | ||
| [2009/06/18 06:09:46] @ Quit: D-CoDe: Read error: 110 (Connection timed out) | ||
| [2009/06/18 06:10:09] @ Quit: mikepea: | ||
| [2009/06/18 06:11:46] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 06:23:06] @ Quit: QMan: | ||
| [2009/06/18 06:23:36] @ Quit: mvn071: "Leaving" | ||
| [2009/06/18 06:26:23] @ mikepea joined channel #puppet | ||
| [2009/06/18 06:27:23] @ Quit: giles_: "ChatZilla 0.9.84 [Firefox 3.0.10/2009042523]" | ||
| [2009/06/18 06:47:41] @ Quit: madrescher: "Leaving." | ||
| [2009/06/18 06:47:54] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/18 06:49:56] @ kilon joined channel #puppet | ||
| [2009/06/18 06:57:22] @ Quit: glaw: ""Sunshine calling..."" | ||
| [2009/06/18 07:02:00] @ shellac_ joined channel #puppet | ||
| [2009/06/18 07:06:33] <FiXion> what do I need to have of [sections] in my fileserver.conf when I only want to distribute files via modules ? | ||
| [2009/06/18 07:06:38] <FiXion> no global files folder | ||
| [2009/06/18 07:07:48] <Volcane> [modules] | ||
| [2009/06/18 07:08:26] @ kilon left channel #puppet () | ||
| [2009/06/18 07:08:58] <FiXion> hmm. I have that.. it said it didn't want a path for it | ||
| [2009/06/18 07:09:21] <Volcane> yup, no path | ||
| [2009/06/18 07:09:28] <Volcane> you only add it so you can do allow/deny rules | ||
| [2009/06/18 07:09:56] @ Quit: niczar: Remote closed the connection | ||
| [2009/06/18 07:10:02] <FiXion> I get this when running puppetd: http://pastie.org/516242 | ||
| [2009/06/18 07:10:08] <FiXion> on a completely new setup | ||
| [2009/06/18 07:10:22] <FiXion> I am wondering what I'm missing :) | ||
| [2009/06/18 07:10:53] <Volcane> do you have any plugins ? if not just disable pluginsync on your client | ||
| [2009/06/18 07:11:01] <FiXion> ohh | ||
| [2009/06/18 07:11:01] <Volcane> or freely ignore the stupid warning | ||
| [2009/06/18 07:11:18] <FiXion> it says err: | ||
| [2009/06/18 07:11:24] <FiXion> doesn't seem like a warning :) | ||
| [2009/06/18 07:11:48] <FiXion> so if I don't have a module plugins - I'll get that message | ||
| [2009/06/18 07:11:57] <FiXion> a module with plugins.. | ||
| [2009/06/18 07:12:02] <Volcane> yeah its a error for the pluginsync feature, but overall not really earth shattering | ||
| [2009/06/18 07:12:16] <FiXion> what about facter distribution | ||
| [2009/06/18 07:12:24] <FiXion> if I had a facter folder - would that fix it? | ||
| [2009/06/18 07:12:42] <Volcane> in plugins inside a module yes | ||
| [2009/06/18 07:12:56] <FiXion> Volcane: thanks - I'll go try | ||
| [2009/06/18 07:13:27] <FiXion> lol | ||
| [2009/06/18 07:13:33] <FiXion> worked like a charm | ||
| [2009/06/18 07:19:28] @ kjetilho joined channel #puppet | ||
| [2009/06/18 07:20:32] <kjetilho> ssh_authorized_keys doesn't trim \n from the key value :-/ | ||
| [2009/06/18 07:20:49] <kjetilho> should I use inline_template on the template-value? | ||
| [2009/06/18 07:22:07] <Volcane> example? | ||
| [2009/06/18 07:23:46] <kjetilho> well, I put the keys in "template" files. and I really like to have trailing newlines in text files | ||
| [2009/06/18 07:24:06] <kjetilho> but key => template(foo) will include the newline in the generated authorized_keys file | ||
| [2009/06/18 07:24:22] @ Quit: friendly12345: "Leaving." | ||
| [2009/06/18 07:24:22] <Volcane> do you use the erb feature to surpress newlines? | ||
| [2009/06/18 07:25:20] <kjetilho> no, which is why I said "template" in scare quotes :) | ||
| [2009/06/18 07:25:46] <kjetilho> the files contain just the key, no magic syntax | ||
| [2009/06/18 07:26:07] <Volcane> <%= foo -%> | ||
| [2009/06/18 07:26:09] <Volcane> no new line :) | ||
| [2009/06/18 07:26:25] <kjetilho> unless foo contains a newline... | ||
| [2009/06/18 07:26:35] <Volcane> foo.chop | ||
| [2009/06/18 07:26:57] <kjetilho> chop is not discriminating | ||
| [2009/06/18 07:27:39] <Volcane> foo.chomp then | ||
| [2009/06/18 07:28:05] <kjetilho> so you think I should use two layers of templating? | ||
| [2009/06/18 07:28:07] <x_dimitri> what's the difference between /usr/bin/puppet and /usr/sbin/puppetd ? | ||
| [2009/06/18 07:28:26] * kjetilho is using regsubst as the workaround now | ||
| [2009/06/18 07:28:47] <Volcane> kjetilho: if you showed me an example i am sure my answers would be more useful :P | ||
| [2009/06/18 07:29:04] <Volcane> x_dimitri: puppetd talks to the master, puppet runs manifests locally | ||
| [2009/06/18 07:29:18] <Volcane> x_dimitri: so "puppet test.pp" will do whatever is in test.pp | ||
| [2009/06/18 07:30:16] <x_dimitri> oh, so one would use puppet to run a manifest. Does puppetd do that? (i.e. use puppet to run manifests it gets from puppetmasterd) | ||
| [2009/06/18 07:30:17] <kjetilho> Volcane: http://pastie.org/516252 | ||
| [2009/06/18 07:30:31] <Volcane> x_dimitri: nope | ||
| [2009/06/18 07:30:42] <kjetilho> Volcane: seemed like a common enough usage to me :/ | ||
| [2009/06/18 07:30:58] <Volcane> kjetilho: i dont get why you're putting them in the template? | ||
| [2009/06/18 07:31:05] <x_dimitri> hmm... so puppet is meant for users? | ||
| [2009/06/18 07:31:14] <Volcane> kjetilho: ah no i get it now | ||
| [2009/06/18 07:31:34] <Volcane> kjetilho: so in your $name.pub.erb is what? | ||
| [2009/06/18 07:32:59] <kjetilho> AAAAB3Nz...UlZlCQ==\n | ||
| [2009/06/18 07:33:22] <Volcane> so why is the new line there? | ||
| [2009/06/18 07:33:35] <kjetilho> because I don't like text files without newlines | ||
| [2009/06/18 07:33:55] <kjetilho> they're actually even hard to make in vi(1) :) | ||
| [2009/06/18 07:35:19] <x_dimitri> I'm very confused, the wiki at reductivelabs.com doens't correlate with what actually happens when I try stuff out | ||
| [2009/06/18 07:35:21] <x_dimitri> for e.g. | ||
| [2009/06/18 07:35:43] <x_dimitri> the wiki says "puppetd --genconfig" will generate a configuration template | ||
| [2009/06/18 07:35:49] <x_dimitri> but it doesn't. | ||
| [2009/06/18 07:35:58] <x_dimitri> but "puppet --genconfig" does instead | ||
| [2009/06/18 07:36:21] <x_dimitri> hence my confusion over the what binary does what, and the entire organisation of stuff in puppet | ||
| [2009/06/18 07:36:23] <Volcane> kjetilho: yeah i think it'll be hacky to work around that use case | ||
| [2009/06/18 07:36:36] <Volcane> x_dimitri: then somethings wrong, cos puppetd --genconfig should work | ||
| [2009/06/18 07:36:42] <Volcane> x_dimitri: what conf files do you have in /etc/puppet? | ||
| [2009/06/18 07:37:16] <x_dimitri> just puppet.conf | ||
| [2009/06/18 07:37:37] <x_dimitri> I installed the puppet client via "apt-get install puppet" | ||
| [2009/06/18 07:38:06] <Volcane> odd, puppetd --genconfig should work as expected, what version? | ||
| [2009/06/18 07:38:38] <x_dimitri> "puppet --version" returns 0.24.4 | ||
| [2009/06/18 07:39:02] <Volcane> so what does "puppetd --genconfig" say whne u run it? | ||
| [2009/06/18 07:39:04] @ Quit: francois: Remote closed the connection | ||
| [2009/06/18 07:39:08] <x_dimitri> it gives no output | ||
| [2009/06/18 07:39:23] <Volcane> very odd | ||
| [2009/06/18 07:39:28] * Volcane has to go grab lunch | ||
| [2009/06/18 07:39:29] <x_dimitri> I just tried it again | ||
| [2009/06/18 07:39:34] <x_dimitri> still no output | ||
| [2009/06/18 07:42:38] @ erm_ joined channel #puppet | ||
| [2009/06/18 07:42:43] <x_dimitri> Also, a tutorial I found online says to configure the puppet client via /etc/puppet/puppetd.conf, which didn't exist after installation. | ||
| [2009/06/18 07:42:43] <x_dimitri> So I created it, and configured it with the server e.t.c. | ||
| [2009/06/18 07:42:43] <x_dimitri> I had the server sign the client certificartes and created a manifest. | ||
| [2009/06/18 07:42:43] <x_dimitri> I then ran "puppetd --verbose" on the client and waited. | ||
| [2009/06/18 07:42:44] <x_dimitri> File permissions were changed as expected. I changed them back (via chmod) and waited, nothing's happened this time. | ||
| [2009/06/18 07:42:45] <x_dimitri> puppetd is still running. Isn't it supposed to check periodically? | ||
| [2009/06/18 07:45:25] <duritong> x_dimitri: puppetd.conf is deprecated, where did you find this info? | ||
| [2009/06/18 07:45:43] <duritong> x_dimitri: puppetd has to run if it should check priodically, not? | ||
| [2009/06/18 07:46:01] <x_dimitri> duritong: yes, it has to run... | ||
| [2009/06/18 07:46:36] <x_dimitri> what I meant is, it's still running so I expect it to have fixed the file permissions but it hasn't | ||
| [2009/06/18 07:46:52] <x_dimitri> and there's no logs file to see what's happening (nothing in /var/log/puppet/) | ||
| [2009/06/18 07:47:57] <duritong> puppetd rerurns per default every half an hour, or did you restart it? | ||
| [2009/06/18 07:48:58] <x_dimitri> duritong: I got that info from http://www.debian-administration.org/articles/526 | ||
| [2009/06/18 07:49:16] <duritong> ok, well this one is old | ||
| [2009/06/18 07:49:45] <x_dimitri> I did restart it | ||
| [2009/06/18 07:50:17] <x_dimitri> how do I monitor the server to see clients connecting? | ||
| [2009/06/18 07:50:43] <x_dimitri> the only server logfile I see is /var/log/puppet/masterhttp.log | ||
| [2009/06/18 07:51:01] <x_dimitri> and it doesn't contain any info on client connections | ||
| [2009/06/18 07:51:13] <duritong> you can specify various logfiles see wiki:ConfigurationReference | ||
| [2009/06/18 07:51:28] <gepetto> duritong: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference | ||
| [2009/06/18 07:51:28] @ francois joined channel #puppet | ||
| [2009/06/18 07:52:10] <x_dimitri> ok | ||
| [2009/06/18 07:52:15] <x_dimitri> but aren't there defaults? | ||
| [2009/06/18 07:52:20] * duritong gotta go for sport | ||
| [2009/06/18 07:53:20] <duritong> x_dimitri: there's masterlog, by default it's Default: $logdir/puppetmaster.log as stated on the wiki page | ||
| [2009/06/18 07:53:28] <duritong> but I dunno if debian changes them | ||
| [2009/06/18 07:53:48] <x_dimitri> okay. thanks. | ||
| [2009/06/18 07:54:03] <x_dimitri> I didn't expect this to be so convoluted | ||
| [2009/06/18 07:54:11] <x_dimitri> and annoying | ||
| [2009/06/18 07:54:27] * x_dimitri is grateful for the help, he's just a bit frustrated after fighting with puppet for so long | ||
| [2009/06/18 07:58:35] @ nakano is now known as nakano_ | ||
| [2009/06/18 07:58:46] @ nakano_ is now known as nakano | ||
| [2009/06/18 08:00:47] <tim|macbook_> is there any way to tell package {} it should add "-t etch-backports" to the apt-get install command? | ||
| [2009/06/18 08:03:04] <shellac_> x_dimitri: if you are on debian the default install of puppetmaster package will have puppetmasterd writing to syslog | ||
| [2009/06/18 08:03:10] <shellac_> you should see your clients connecting there | ||
| [2009/06/18 08:03:44] <shellac_> x_dimitri: if you want to verify watch what your clients are doing you can run puppetd by hand on the client "puppetd --no-daemonize --test" | ||
| [2009/06/18 08:03:48] @ Quit: Demosthenes: "leaving" | ||
| [2009/06/18 08:03:48] <x_dimitri> shellac: thanks. I see puppet-related entries in there | ||
| [2009/06/18 08:03:58] <shellac_> add --noop if you want it to just show what it would do | ||
| [2009/06/18 08:05:07] <x_dimitri> ok | ||
| [2009/06/18 08:05:56] <x_dimitri> I'd like to clarify a few things, just so I understand how this is organized | ||
| [2009/06/18 08:06:20] <x_dimitri> the client has puppetd and puppet | ||
| [2009/06/18 08:06:46] <shellac_> puppetd is the daemon it should be running on all your clients | ||
| [2009/06/18 08:06:54] @ Quit: pinoyskull: | ||
| [2009/06/18 08:07:00] <shellac_> puppet is a client only verison - you can feed it a manifest and have it execute it | ||
| [2009/06/18 08:07:05] <x_dimitri> ok, so puppetd is the client daemon, which connects to the server, retrieves information and applies on the client | ||
| [2009/06/18 08:07:06] <shellac_> ie. no puppetmaster required | ||
| [2009/06/18 08:07:15] <shellac_> persactly :) | ||
| [2009/06/18 08:07:18] <x_dimitri> ok | ||
| [2009/06/18 08:07:20] <x_dimitri> now... | ||
| [2009/06/18 08:07:29] <x_dimitri> I'm on ubuntu by the way, | ||
| [2009/06/18 08:07:46] <shellac_> that's cool I run debian in our datacentres but ubuntu on desktops | ||
| [2009/06/18 08:07:51] <shellac_> have setup / run on both | ||
| [2009/06/18 08:07:53] <x_dimitri> /etc/init.d/puppet is the start up script for puppetd (/use/sbin/puppetd) | ||
| [2009/06/18 08:08:03] <x_dimitri> /usr/sbin/puppetd | ||
| [2009/06/18 08:08:09] <x_dimitri> is that correct? | ||
| [2009/06/18 08:08:16] <shellac_> sounds about right | ||
| [2009/06/18 08:08:28] <x_dimitri> I wish they'd just called is /etc/init.d/puppetd | ||
| [2009/06/18 08:08:56] <x_dimitri> cos puppet also exists, and it's logical to assume that's it's startup script | ||
| [2009/06/18 08:08:58] <x_dimitri> these things cause confusion | ||
| [2009/06/18 08:09:04] <x_dimitri> anyway, I digress... | ||
| [2009/06/18 08:09:17] <x_dimitri> what's the config file for puppetd? | ||
| [2009/06/18 08:09:33] <x_dimitri> should it be /etc/puppet/puppetd.conf of /etc/puppet/puppet.conf? | ||
| [2009/06/18 08:09:38] <x_dimitri> ..or.. | ||
| [2009/06/18 08:10:26] <shellac_> puppet.conf | ||
| [2009/06/18 08:10:33] <x_dimitri> ok | ||
| [2009/06/18 08:10:42] <shellac_> just forget about the "puppet" binary for now | ||
| [2009/06/18 08:10:47] <x_dimitri> okay | ||
| [2009/06/18 08:12:35] <x_dimitri> what parameter do i use to tell puppetd how often to check for configs? | ||
| [2009/06/18 08:13:15] <x_dimitri> I haven't seen that in the config reference | ||
| [2009/06/18 08:19:48] @ niczar joined channel #puppet | ||
| [2009/06/18 08:20:27] @ Quit: Welsh_Dwarf: Remote closed the connection | ||
| [2009/06/18 08:20:36] <shellac_> if you run puppetd --genconfig > example | ||
| [2009/06/18 08:20:49] <shellac_> it will spit out a list of every config parameter with a comment | ||
| [2009/06/18 08:21:04] <shellac_> you can use that to work out which bits to tweak for your own config | ||
| [2009/06/18 08:21:20] <shellac_> or alternatively hit up the configuration reference on the reductive labs wiki | ||
| [2009/06/18 08:24:08] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/06/18 08:34:18] @ Bass10 joined channel #puppet | ||
| [2009/06/18 08:35:24] @ Quit: Bass10: SendQ exceeded | ||
| [2009/06/18 08:35:39] <x_dimitri> shellac_: "puppetd --genconfig" doesn't work | ||
| [2009/06/18 08:35:57] <x_dimitri> "puppet --genconfig" spits out the config template however | ||
| [2009/06/18 08:36:00] @ Bass10 joined channel #puppet | ||
| [2009/06/18 08:36:06] <x_dimitri> that's part of why I'm confused | ||
| [2009/06/18 08:36:22] <x_dimitri> things seem a little disorganized. :-( | ||
| [2009/06/18 08:39:58] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/18 08:44:50] @ Quit: fujin: Remote closed the connection | ||
| [2009/06/18 08:49:20] @ erm_ joined channel #puppet | ||
| [2009/06/18 08:53:41] <Volcane> x_dimitri: somethings literally broken for you cos thats not how it works for us, not sure what but in the past i saw that having more .conf files then just puppet.conf in /etc/puppet could contribute to that situation | ||
| [2009/06/18 08:54:24] <x_dimitri> I'm achieving some sort of order now... | ||
| [2009/06/18 08:54:37] <x_dimitri> now I know puppetd it logs to syslog by default | ||
| [2009/06/18 08:54:47] <x_dimitri> I can see what files it's looking for e.t.c | ||
| [2009/06/18 08:55:10] <x_dimitri> so now I know it's config file is /etc/puppet/puppet.conf | ||
| [2009/06/18 08:55:19] <x_dimitri> but some things aren't quite right | ||
| [2009/06/18 08:55:49] <x_dimitri> for e.g. shellac_ said puppetd --genconfig should generate a config file, just like you told me. but it still does | ||
| [2009/06/18 08:56:26] <x_dimitri> and despite seeing that puppetd is parsing /etc/puppet/puppet.conf (as evident from syslog entries), it still complains it can't contact the server | ||
| [2009/06/18 08:56:36] <x_dimitri> I've specified the server with it's hostname in puppet.conf | ||
| [2009/06/18 08:56:49] <x_dimitri> like so: "server = servername" | ||
| [2009/06/18 08:56:54] <Volcane> run puppetd --test to see it spew tings to you interactively so you can see | ||
| [2009/06/18 08:57:08] <x_dimitri> but puppetd still tries to connect to the default name "puppet" | ||
| [2009/06/18 08:57:09] <Volcane> also a bit more verbose than whats in the logs | ||
| [2009/06/18 08:57:12] <x_dimitri> ok | ||
| [2009/06/18 08:57:30] <shellac_> you'll need to define the servername in the config | ||
| [2009/06/18 08:57:33] <shellac_> or on the command like | ||
| [2009/06/18 08:57:40] <shellac_> puppetd --server <blah> | ||
| [2009/06/18 08:58:22] <x_dimitri> shellac_: I've defined it in the config | ||
| [2009/06/18 08:59:06] <Volcane> x_dimitri: if --genconfig doesnt work then your puppetd isnt finding the config | ||
| [2009/06/18 08:59:20] <Volcane> x_dimitri: or its finding it but having some issue | ||
| [2009/06/18 08:59:29] <x_dimitri> "puppetd --test --server servername" works | ||
| [2009/06/18 08:59:35] <shellac_> right | ||
| [2009/06/18 08:59:36] <Volcane> x_dimitri: put all your files in /etc/puppet/* on the client on pastie.org pls | ||
| [2009/06/18 09:00:15] <x_dimitri> ok | ||
| [2009/06/18 09:00:40] <FiXion> is the server=puppetservername variable from puppet.conf available via some $var to use in manifests ? | ||
| [2009/06/18 09:01:04] <FiXion> id'd like to replace my source => "puppet://puppeturl/.." with "puppet://$server/.." | ||
| [2009/06/18 09:01:10] <FiXion> so it'll work no matter the servername | ||
| [2009/06/18 09:01:41] <Volcane> FiXion: puppet:///path/to/file does that | ||
| [2009/06/18 09:02:08] <FiXion> Volcane: nice.. didn't know that. | ||
| [2009/06/18 09:03:11] <x_dimitri> Volcane: http://www.pastie.org/516316 | ||
| [2009/06/18 09:03:30] <x_dimitri> that's the file I got from "puppet --genconfig", which I've edited | ||
| [2009/06/18 09:04:01] @ bakins joined channel #puppet | ||
| [2009/06/18 09:04:13] <x_dimitri> note that /usr/bin/puppet gave me that, not usr/sbin/puppetd | ||
| [2009/06/18 09:04:27] <Volcane> x_dimitri: nice, you should disable "genconfig" in the config that you get from --genconfig | ||
| [2009/06/18 09:04:43] <x_dimitri> hmmm, lemme see | ||
| [2009/06/18 09:04:45] <Volcane> x_dimitri: else you'll be telling it to perpetually generate config and not actually do work | ||
| [2009/06/18 09:04:46] @ kngus joined channel #puppet | ||
| [2009/06/18 09:05:23] <x_dimitri> hm... okay. by *it* you mean puppetd ? | ||
| [2009/06/18 09:06:08] <Volcane> yes | ||
| [2009/06/18 09:06:11] <x_dimitri> done | ||
| [2009/06/18 09:07:08] <x_dimitri> it complains that it can't create config file /var/puppet/run/puppetd.pid | ||
| [2009/06/18 09:07:21] <x_dimitri> but the config file says to use /var/run/puppet/ as the pid directory | ||
| [2009/06/18 09:07:32] <x_dimitri> so it's ignoring that for some reason | ||
| [2009/06/18 09:07:58] <Volcane> running it as root right? run puppetd --test --verbose --debug and put on pastie | ||
| [2009/06/18 09:08:14] <x_dimitri> yes | ||
| [2009/06/18 09:12:09] <x_dimitri> Volcane: http://www.pastie.org/516321 | ||
| [2009/06/18 09:12:24] <x_dimitri> some strange characters in there... end of lines or something, I'm not sure | ||
| [2009/06/18 09:12:35] <x_dimitri> I redirected the output to a file and copied it from there | ||
| [2009/06/18 09:12:55] <x_dimitri> from that it appears it's still trying to use "puppet" as the server hostname | ||
| [2009/06/18 09:13:00] <verwilst> grm, ive disabled storedconfigs, it's a bit better, but still slow.. | ||
| [2009/06/18 09:13:09] <verwilst> Calling fileserver.describe is slow for example | ||
| [2009/06/18 09:13:17] <x_dimitri> but as you could see, I specified the server hostname as "xanax" in the config file | ||
| [2009/06/18 09:14:50] <Volcane> x_dimitri: look at the section name in the config "[puppet]" so what that means is dont apply any of these settings to "puppetd" | ||
| [2009/06/18 09:15:09] <Volcane> x_dimitri: if you want to use --genconfig generated configs you have to use the right tool | ||
| [2009/06/18 09:15:29] <Volcane> x_dimitri: puppetd --genconfig to make the config, generally we avoid using --genconfig generated configs cos its just way overkill | ||
| [2009/06/18 09:16:29] <Volcane> you should really just need this: http://www.pastie.org/516325 to start with | ||
| [2009/06/18 09:16:40] <Volcane> or just dont mess with it and use the default that your OS package installed, that would have worked too | ||
| [2009/06/18 09:16:41] <x_dimitri> ok | ||
| [2009/06/18 09:17:10] <x_dimitri> I've changed that section to puppetd, and it works | ||
| [2009/06/18 09:17:30] <Volcane> seriously the config options for puppet --genconfig cant just always apply to puppetd | ||
| [2009/06/18 09:17:38] <x_dimitri> some issues with certificates, but that's not a trainsmash | ||
| [2009/06/18 09:19:51] <x_dimitri> thanks a lot | ||
| [2009/06/18 09:21:37] @ joe-mac joined channel #puppet | ||
| [2009/06/18 09:23:14] <x_dimitri> I get the following warnings when running puppet on the server (e.g. running puppetca or /etc/init.d/puppet ): http://pastie.org/516335 | ||
| [2009/06/18 09:23:31] @ erm__ joined channel #puppet | ||
| [2009/06/18 09:28:14] @ tecto joined channel #puppet | ||
| [2009/06/18 09:28:50] <x_dimitri> how do I fix or suppress those warnings? | ||
| [2009/06/18 09:29:21] @ kibahop left channel #puppet () | ||
| [2009/06/18 09:29:36] @ zahna joined channel #puppet | ||
| [2009/06/18 09:29:56] <zahna> if i want a certain config file for all but one server, what's a good strategy for that? | ||
| [2009/06/18 09:30:11] <JD> puppet really gets upset if it doesn't get enough memory doesn't it | ||
| [2009/06/18 09:30:20] <Volcane> x_dimitri: i dont see anything in puppet that loads xmlsimple but might be missing it, never seen those warnings though | ||
| [2009/06/18 09:30:33] <z00dax> zahna: setup a file resource, default it to the one you normally want, conditional it off to the other machine. | ||
| [2009/06/18 09:30:34] <joe-mac> zahna: inherit the class int hat one server that the file is defined in, and override the file | ||
| [2009/06/18 09:30:38] <zahna> should i write a case statement around the source parameter? | ||
| [2009/06/18 09:30:43] <zahna> ok | ||
| [2009/06/18 09:30:46] <z00dax> if its more than a few machines, you are better off using templates if you want | ||
| [2009/06/18 09:30:46] <joe-mac> or you could do that yea | ||
| [2009/06/18 09:30:57] <joe-mac> a few different ways to handle that | ||
| [2009/06/18 09:31:02] <Volcane> zahna: file can take an array for source, and the first in the array matches source => ["puppet:///path/to/file.${fqdn}", "puppet:///path/to/file"] | ||
| [2009/06/18 09:31:11] <x_dimitri> phew, it's so much trouble considering I installed via a package | ||
| [2009/06/18 09:31:21] <Volcane> zahna: now all u nee dto do is create a file.your.box.com and that will go out to your.box.com, the rest will get the default | ||
| [2009/06/18 09:31:24] @ matty91 joined channel #puppet | ||
| [2009/06/18 09:31:26] <zahna> Volcane: oh yeah, i forgot about that method! | ||
| [2009/06/18 09:31:42] <joe-mac> x_dimitri: normally people have problems if they *don't* install via package, i've never seen those warnings you're seeing though | ||
| [2009/06/18 09:31:44] <joe-mac> where did you get your ruby? | ||
| [2009/06/18 09:32:04] <x_dimitri> it came with ubuntu, didn't have to install it | ||
| [2009/06/18 09:32:25] <x_dimitri> I'm on ubuntu 8.10 | ||
| [2009/06/18 09:32:26] @ bajan joined channel #puppet | ||
| [2009/06/18 09:32:45] <z00dax> Volcane: what ver of puppet did that come in ? I didnt even know you could have multiple sources | ||
| [2009/06/18 09:33:10] <Volcane> z00dax: for as long as i can remember thats been the way | ||
| [2009/06/18 09:33:18] <Volcane> z00dax: and thats since 0.20ish | ||
| [2009/06/18 09:33:28] <zahna> it's in the book | ||
| [2009/06/18 09:33:28] @ drmikecrowe joined channel #puppet | ||
| [2009/06/18 09:33:36] <zahna> but i forgot about that method | ||
| [2009/06/18 09:33:40] <z00dax> I did get onto puppet since before 0.20ish :) but missed this completely. | ||
| [2009/06/18 09:34:02] <z00dax> one could get quite creative with this stuff. | ||
| [2009/06/18 09:34:03] <Volcane> donno how you can use puppet without it :P | ||
| [2009/06/18 09:34:14] <HarryCalahan> hard to see all the details if the train flys by | ||
| [2009/06/18 09:35:02] <zahna> do any of you use puppet for managing zone/config data on multiple DNS servers? | ||
| [2009/06/18 09:35:23] * Volcane does | ||
| [2009/06/18 09:35:30] <zahna> seems to me like it would work really well. does it? | ||
| [2009/06/18 09:35:39] <Volcane> if you're creative enough :) | ||
| [2009/06/18 09:35:51] <zahna> why "creative enough"? | ||
| [2009/06/18 09:35:57] <z00dax> normally one only manages it on one place, let zone xfr's take care of the secondaries :) | ||
| [2009/06/18 09:36:15] <zahna> just have all the servers be masters and i would think it would be great. does it not work well in practice? | ||
| [2009/06/18 09:36:38] <z00dax> how will you sync the zone reload to be almost exactly in tune ? | ||
| [2009/06/18 09:36:59] <zahna> z00dax: you don't. which is why you let things overlap | ||
| [2009/06/18 09:37:23] <Volcane> http://pastie.org/516351 | ||
| [2009/06/18 09:37:38] <Volcane> i include "bind::master" or "bind::slave" on a box | ||
| [2009/06/18 09:37:40] <zahna> set the ttl low, let the 30 min update overlap. i'm not seeing a real problem, but i could be missing something | ||
| [2009/06/18 09:37:57] <Volcane> then depending on it being a master or a slave does it set up either master zones - with the zone files - or slave zones with the right masterip set etc | ||
| [2009/06/18 09:38:16] <zirpu> anyone using the stock facter/puppet in ubuntu jaunty? (9.04) | ||
| [2009/06/18 09:38:33] <zirpu> http://pastebin.com/d40a8502d i just noticed that facter doesn't run on my test machine. | ||
| [2009/06/18 09:38:40] <Volcane> that kind of arrangement works really well for me | ||
| [2009/06/18 09:38:53] <zahna> Volcane: but then, don't you have 2 sets of configs to keep track of (master and slave), as well as having to remember to update zone file serial numbers to make sure replication happens? | ||
| [2009/06/18 09:39:10] <Volcane> zahna: nope, the slave uses normal bind zone transfers to keep up to date | ||
| [2009/06/18 09:39:19] <shellac_> I run multiple DNS masters | ||
| [2009/06/18 09:39:22] <Volcane> zahna: and the bind::zone defines does the right thing in the different scenarious | ||
| [2009/06/18 09:39:29] <shellac_> the puppetrun to push | ||
| [2009/06/18 09:39:41] <Volcane> zahna: so no silly hacks with refresh times etc | ||
| [2009/06/18 09:40:09] <zahna> it's not a silly hack. it's part of bind. | ||
| [2009/06/18 09:40:21] <shellac_> last weekend I rolled out 59 servers .. bare metal to running in 6 hours thanks puppet!!! | ||
| [2009/06/18 09:40:36] <Volcane> well this way once i update my master bind al the slaves gets notified by bind and updates immediately without delay | ||
| [2009/06/18 09:41:19] @ mfoster joined channel #puppet | ||
| [2009/06/18 09:41:57] <Volcane> i use snippets to build up the named.conf, so i have a standard acl block for example that goes to all machines | ||
| [2009/06/18 09:42:07] <Volcane> and its just one acl block in my config, so nice reuse there | ||
| [2009/06/18 09:42:32] <z00dax> I want all my dns machines to serve the exact same content, all the time | ||
| [2009/06/18 09:42:43] @ mib_9kqv4m joined channel #puppet | ||
| [2009/06/18 09:43:01] <Volcane> z00dax: bind notifies not quick enough in that case? | ||
| [2009/06/18 09:43:26] @ mib_9kqv4m is now known as liquidki | ||
| [2009/06/18 09:43:28] <zahna> Volcane: you don't keep your records in puppet, do you? | ||
| [2009/06/18 09:43:53] <Volcane> zahna: just plain old zone files per domain - see little value to abstract them out into weird defines | ||
| [2009/06/18 09:44:05] @ bajan left channel #puppet () | ||
| [2009/06/18 09:44:34] <zahna> i'm having trouble seeing how that litle class does all you're describing | ||
| [2009/06/18 09:45:00] <z00dax> Volcane: it does, which is why i use it - i dont want all of them to be masters, and rely on puppet to get there quickly | ||
| [2009/06/18 09:45:22] <Volcane> z00dax: right sorry didnt follow, I'm with you on that one too many masters is a nightmare | ||
| [2009/06/18 09:46:42] <Volcane> zahna: http://pastie.org/516364 there's the master config class and the define for doing the zones | ||
| [2009/06/18 09:47:13] <Volcane> z00dax: the only thing that might be faster would be something like powerdns and mysql replication, much prefer just sticking to plain old bind with notifies and xfers though | ||
| [2009/06/18 09:47:38] <z00dax> yea | ||
| [2009/06/18 09:47:44] <z00dax> pdns comes with its own issues. | ||
| [2009/06/18 09:47:53] <z00dax> although, I've seen bind-9 run with a db backend | ||
| [2009/06/18 09:48:01] <Volcane> yeah saw those patches too | ||
| [2009/06/18 09:48:09] <z00dax> which might be handy if you have hundreds of domains | ||
| [2009/06/18 09:48:20] <Volcane> last time i gave up on pdns was cos of their SRVFAIL idiocy with CNAMEs to domains that are hosted elsewhere | ||
| [2009/06/18 09:51:14] @ Quit: mfladischer: "Ex-Chat" | ||
| [2009/06/18 09:57:13] @ cwebber joined channel #puppet | ||
| [2009/06/18 10:03:01] @ Quit: erm_: Read error: 54 (Connection reset by peer) | ||
| [2009/06/18 10:03:04] @ Quit: erm__: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 10:07:09] <henk> i have a module that defines a 'service { "syslog-ng": }' and another module which defines a services and two execs which create the two fifo files used for logging. is there a better solution for the fifos than using exec to create them? if not: how can i make sure syslog-ng and icecast are either started _after_ the fifos are created or are both restarted after the fifos are created? will inter-module 'requires' and 'notifies' work? | ||
| [2009/06/18 10:07:13] @ bobbyz joined channel #puppet | ||
| [2009/06/18 10:07:52] <Volcane> henk: use the normal require => parameters | ||
| [2009/06/18 10:07:54] <joe-mac> henk: yea you should be able to notify and require inter-module | ||
| [2009/06/18 10:07:59] <joe-mac> or intra? idk | ||
| [2009/06/18 10:08:30] <joe-mac> Volcane: hey you testing .25b1 at all? | ||
| [2009/06/18 10:08:45] <Volcane> joe-mac: tested, opened 4 bugs and waiting on next rc | ||
| [2009/06/18 10:09:28] <henk> ok, do i have to say specify which module i'm talking about? or just 'Service["syslog-ng"]'? | ||
| [2009/06/18 10:10:14] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 10:12:21] <joe-mac> Volcane: yea i started testing it last night and ran into #2294 i believe | ||
| [2009/06/18 10:12:22] <gepetto> joe-mac: Volcane: #2294 is http://projects.reductivelabs.com/issues/show/2294 "Puppet - Bug #2294: Classes sometimes cannot be found - ReductiveLabs.com" | ||
| [2009/06/18 10:12:31] <joe-mac> weird behavior for sure | ||
| [2009/06/18 10:12:46] <joe-mac> i ran into something else but it was like 2 am by then and i can't recall too clearly heh | ||
| [2009/06/18 10:16:28] @ erm_ joined channel #puppet | ||
| [2009/06/18 10:17:41] @ d3vilb0x joined channel #puppet | ||
| [2009/06/18 10:19:02] @ Quit: shellac_: | ||
| [2009/06/18 10:20:19] @ madrescher joined channel #puppet | ||
| [2009/06/18 10:24:21] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/18 10:27:01] <nico> Volcane: can't manage to debug extlookup, Puppet.info does not print anything | ||
| [2009/06/18 10:30:14] @ Robbie_ joined channel #puppet | ||
| [2009/06/18 10:30:49] <Volcane> nico: maybe try Puppet.notice or some other level, not sure what level your master logs as by default | ||
| [2009/06/18 10:31:11] @ mccune joined channel #puppet | ||
| [2009/06/18 10:31:16] <Volcane> but i have used this method to debug it in the past :) | ||
| [2009/06/18 10:32:01] <jason^_> is there anything i might need to watch out for by upgrading from 0.24.4 to 0.24.8? | ||
| [2009/06/18 10:32:32] <Volcane> jason^_: mostly no, upgrade the master first, then u can upgrade the clients in bits | ||
| [2009/06/18 10:45:25] @ Quit: Robbie: Read error: 113 (No route to host) | ||
| [2009/06/18 10:45:53] @ Quit: kolla: Remote closed the connection | ||
| [2009/06/18 10:46:15] @ plathrop-away is now known as plathrop | ||
| [2009/06/18 10:47:05] @ Quit: sigmonsays: Read error: 60 (Operation timed out) | ||
| [2009/06/18 10:48:51] @ x_dimitri left channel #puppet () | ||
| [2009/06/18 10:49:06] @ Baum left channel #puppet () | ||
| [2009/06/18 10:50:37] <nico> Ok, puppetmaster is broken | ||
| [2009/06/18 10:50:40] <nico> yay for me | ||
| [2009/06/18 10:50:54] <|Mike|> w00t? | ||
| [2009/06/18 10:51:12] @ Quit: d3vilb0x: | ||
| [2009/06/18 10:51:44] @ josm joined channel #puppet | ||
| [2009/06/18 10:53:02] <nico> "Could not retrieve catalog: Could not find default node or by name with...." | ||
| [2009/06/18 10:53:06] <nico> #@@#! | ||
| [2009/06/18 10:54:47] @ kjetilho left channel #puppet () | ||
| [2009/06/18 10:55:01] <henk> any recommendations how to make sure a fifo file in /var/log exists and has the right permissions? atm i'm using 2 exec statements with mkfifo and chmod, but i hope to get a better solution. | ||
| [2009/06/18 10:55:16] <nico> ensure => exists ? | ||
| [2009/06/18 10:55:28] @ poison_ joined channel #puppet | ||
| [2009/06/18 10:55:44] <henk> nico: which type? | ||
| [2009/06/18 10:55:51] @ Quit: poison: Read error: 113 (No route to host) | ||
| [2009/06/18 10:55:51] <Volcane> nico: Puppet.notice("extlookup found key #{r[0]} while looking for key #{key} in file #{file} on host #{lookupvar('fqdn')}") | ||
| [2009/06/18 10:55:51] <nico> file | ||
| [2009/06/18 10:55:58] @ rcsheets joined channel #puppet | ||
| [2009/06/18 10:56:01] <Volcane> nico: put that inside the loop : result = CSV.read..... | ||
| [2009/06/18 10:56:10] <nico> Volcane: just broke the master :) Fixing it before :D | ||
| [2009/06/18 10:56:29] <josm> Hi, could anyone point me to documentation about execution order within puppet? | ||
| [2009/06/18 10:56:42] <rcsheets> what should i do to make sure a service is told to reload its config file whenever it gets a new version of the config from puppet? | ||
| [2009/06/18 10:56:48] @ d3vilb0x joined channel #puppet | ||
| [2009/06/18 10:57:02] <Volcane> rcsheets: file{"/some/file": notify => Service["someservice"] } | ||
| [2009/06/18 10:57:07] <rcsheets> ah ok, thanks | ||
| [2009/06/18 10:57:31] @ Quit: d3vilb0x: Client Quit | ||
| [2009/06/18 10:57:31] <Volcane> josm: look at the type reference by Meta Parameters, there are some like require/subscribe/before (or maybe its after?) thats how you influenace it | ||
| [2009/06/18 10:57:33] <henk> nico: and how do i tell puppet that this 'file' is supposed to be a 'fifo'? | ||
| [2009/06/18 10:57:50] @ Quit: briandquinn: | ||
| [2009/06/18 10:57:51] <plathrop> henk: use a file{} and the exec to mkfifo. It's still two resources, but it's cleaner | ||
| [2009/06/18 10:58:19] <henk> plathrop: exec to mkfifo? sorry, i'm not sure how you mean that. | ||
| [2009/06/18 10:58:46] <josm> Volcane: ok, i've use require and ensure mostly. | ||
| [2009/06/18 10:59:02] <Volcane> josm: thats it yeah | ||
| [2009/06/18 10:59:02] <josm> cant say I do get the expected functionality | ||
| [2009/06/18 10:59:14] @ d3vilb0x joined channel #puppet | ||
| [2009/06/18 10:59:17] <Volcane> josm: example of the problem? | ||
| [2009/06/18 11:00:02] <josm> tried to install cron today, and I also had a class trying to setup a crontab entry | ||
| [2009/06/18 11:00:13] <josm> which failed since cron wasnt installed | ||
| [2009/06/18 11:00:26] <Volcane> ah, thats a different problem i suspect | ||
| [2009/06/18 11:00:44] <Volcane> when puppet first starts up, it tries to figure out what what it can and cannot manage | ||
| [2009/06/18 11:00:54] <josm> ok? | ||
| [2009/06/18 11:00:58] <Volcane> if you dont have cron stuff, it will fail saying it has no idea how to manage cron stuff | ||
| [2009/06/18 11:01:06] <josm> yupp | ||
| [2009/06/18 11:01:16] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/18 11:01:16] <Volcane> now if you then install your cron package mid run, it wont know to re-evaluate its idea of what it can and cannot do mid run | ||
| [2009/06/18 11:01:22] <plathrop> henk: you said you are using 2 execs. Keep the one that does the mkfifo, and use file{} to set permissions. | ||
| [2009/06/18 11:01:42] <josm> so then I put "require Package["cron"]" into the class trying to add the crontab. Failed | ||
| [2009/06/18 11:01:48] <henk> that reminds me of the 'bug' i ran into about half a year ago... puppet said it couldn't manage cron and didn't start the run even though it was supposed to install cron in this run. i guess that's fixed by now? | ||
| [2009/06/18 11:02:31] <henk> plathrop: ah, much less complicated than i had feared :) thanks | ||
| [2009/06/18 11:04:02] <Volcane> josm: show us the actual errors, but i think its down to the scenario i describe, it will only work on the next run after u installed the package | ||
| [2009/06/18 11:04:14] @ BMDan left channel #puppet () | ||
| [2009/06/18 11:04:36] <josm> Volcane: I got tired and did the installation of cron manually | ||
| [2009/06/18 11:05:30] <Volcane> josm: yeah just get your FAI or whatever to install it, its just one of those things if you want to use the cron feature of puppet u need to have cron on the box already | ||
| [2009/06/18 11:06:01] <josm> Volcane: thanks | ||
| [2009/06/18 11:07:00] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:07:02] @ poison joined channel #puppet | ||
| [2009/06/18 11:07:23] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:07:28] @ Quit: matty91: Excess Flood | ||
| [2009/06/18 11:08:12] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:08:39] @ Quit: poison_: Read error: 113 (No route to host) | ||
| [2009/06/18 11:08:39] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:09:00] <nico> I run my puppetmaster with debug and I get => http://pastie.org/516458 | ||
| [2009/06/18 11:09:06] @ pjw joined channel #puppet | ||
| [2009/06/18 11:09:25] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:09:36] <nico> looks like the fileserver part is OK, but I still get an error from the client | ||
| [2009/06/18 11:09:52] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:10:22] <Volcane> so its not finding your node files | ||
| [2009/06/18 11:10:25] <nico> running the ext_node.rb script returns the right YAML output | ||
| [2009/06/18 11:10:29] @ alfism joined channel #puppet | ||
| [2009/06/18 11:10:38] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:10:41] <Volcane> ah :) | ||
| [2009/06/18 11:10:55] <Volcane> node_terminus settings etc still there? | ||
| [2009/06/18 11:10:58] <nico> yes | ||
| [2009/06/18 11:11:06] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:11:27] <Volcane> ah yeah can see in your dbug, odd | ||
| [2009/06/18 11:11:46] <nico> http://pastie.org/516468 <= puppet.conf, unchanged for weeks | ||
| [2009/06/18 11:11:54] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:12:23] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:13:09] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:13:39] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:13:52] @ claymation joined channel #puppet | ||
| [2009/06/18 11:14:23] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:14:54] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:15:38] @ Quit: tim|macbook_: | ||
| [2009/06/18 11:15:40] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:16:06] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:16:17] @ BMDan joined channel #puppet | ||
| [2009/06/18 11:16:54] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:17:25] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:18:14] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:18:40] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:19:26] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:19:36] @ lak joined channel #puppet | ||
| [2009/06/18 11:19:54] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:20:04] <nico> dan__t: please, stop | ||
| [2009/06/18 11:20:42] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:21:10] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:21:54] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:22:28] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:23:16] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:23:41] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:24:29] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:24:56] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/06/18 11:24:57] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:25:43] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:26:11] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:26:23] <jason^_> looks like dan__t's parity bit is set incorrectly | ||
| [2009/06/18 11:26:59] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:27:20] <Volcane> wish more people could get ops here when needed for these kinds of situations. | ||
| [2009/06/18 11:27:27] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:28:05] @ sigmonsays joined channel #puppet | ||
| [2009/06/18 11:28:17] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:28:40] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:29:28] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:29:36] @ Quit: HarryCalahan: "brains" | ||
| [2009/06/18 11:29:56] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:30:47] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:31:11] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:32:45] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:33:14] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:34:57] @ Quit: mikepea: Remote closed the connection | ||
| [2009/06/18 11:35:11] @ mikepea joined channel #puppet | ||
| [2009/06/18 11:37:59] @ DarkFlib joined channel #puppet | ||
| [2009/06/18 11:38:12] @ Quit: dan__t: Excess Flood | ||
| [2009/06/18 11:38:42] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:39:00] @ Quit: poison: Remote closed the connection | ||
| [2009/06/18 11:39:50] @ nigelk joined channel #puppet | ||
| [2009/06/18 11:41:08] @ Quit: josm: "leaving" | ||
| [2009/06/18 11:43:39] @ poison joined channel #puppet | ||
| [2009/06/18 11:43:41] @ Quit: dan__t: Remote closed the connection | ||
| [2009/06/18 11:44:14] @ dan__t joined channel #puppet | ||
| [2009/06/18 11:44:26] @ notbrien joined channel #puppet | ||
| [2009/06/18 11:45:41] <dan__t> Well. I apologize for my connection flapping this morning. I don't know what the deal was. Sorry for the annoyance, folks. | ||
| [2009/06/18 11:45:46] @ Quit: Robbie_: Remote closed the connection | ||
| [2009/06/18 11:53:28] @ Quit: lak: | ||
| [2009/06/18 11:54:17] @ DarkFlib left channel #puppet ("Leaving") | ||
| [2009/06/18 11:55:16] @ ctso joined channel #puppet | ||
| [2009/06/18 11:55:38] <ctso> anyone ever build a custom puppet gem? | ||
| [2009/06/18 11:55:43] @ goacid joined channel #puppet | ||
| [2009/06/18 12:06:05] <rcsheets> dan__t: In case you weren't aware, your quits were consistently "Excess Flood" | ||
| [2009/06/18 12:06:28] <dan__t> Yea.... looking back, it appears that #httpd was getting flooded. | ||
| [2009/06/18 12:06:33] <jamesturnbull> gepetto: seen nasrat | ||
| [2009/06/18 12:06:33] <gepetto> jamesturnbull: nasrat was last seen 17 hours, 45 minutes and 48 seconds ago, quitting IRC () | ||
| [2009/06/18 12:11:45] @ Quit: mikepea: | ||
| [2009/06/18 12:16:26] @ mikepea joined channel #puppet | ||
| [2009/06/18 12:16:41] <ctso> jamesturnbull: if i have a suggestion for a patch that i currently use on my servers, should i post a diff to puppet-dev | ||
| [2009/06/18 12:16:47] <plathrop> Volcane: sorry, I was afk or I would have done something | ||
| [2009/06/18 12:17:11] @ Quit: DerekW: Remote closed the connection | ||
| [2009/06/18 12:19:30] <jamesturnbull> ctso: please do - good to log a ticket also | ||
| [2009/06/18 12:19:56] <jamesturnbull> ctso: what do you mean custom gem? Do you mean are there gems for Puppet? if so yes | ||
| [2009/06/18 12:20:16] <jamesturnbull> ctso: on the RL download site, Redmine and Rubyforge | ||
| [2009/06/18 12:20:30] @ bjoern_ joined channel #puppet | ||
| [2009/06/18 12:20:38] <jhelfman> can someone help me with a "no specified sources exist" error? | ||
| [2009/06/18 12:21:02] <jhelfman> i have the same setup, but it was a linux client, now using a freebsd client it chokes to find any source | ||
| [2009/06/18 12:21:52] <jhelfman> somehow it is getting some configuration files, though, just not these :) | ||
| [2009/06/18 12:21:56] <jhelfman> any help would be great | ||
| [2009/06/18 12:24:04] <jhelfman> my fileserver dist is set to be /usr/local/var/puppet/ | ||
| [2009/06/18 12:24:16] <fruitcake> ok | ||
| [2009/06/18 12:24:48] <ctso> jamesturnbull: actually, i was just curious as to whether it would be relatively simple to create a gem from existing source with my modifications so that i could distribute it to my current servers in a more controlled manner - been installing from source but i don't see that as a good thing when i want to upgrade to 0.25 | ||
| [2009/06/18 12:24:50] <jhelfman> not sure where else to look for where to setup fileserver... is this configured for "growing data" /var/puppet in puppet.con | ||
| [2009/06/18 12:24:58] <jamesturnbull> jhelfman: can you pastie your exact log and error? | ||
| [2009/06/18 12:25:20] <jamesturnbull> jhelfman: fileserver.conf | ||
| [2009/06/18 12:25:46] <jamesturnbull> ctso: in the rake file there is a gem task | ||
| [2009/06/18 12:25:52] @ hagedorn joined channel #puppet | ||
| [2009/06/18 12:25:56] <jamesturnbull> ctso: so yu can create your own gems from source | ||
| [2009/06/18 12:26:21] <jamesturnbull> ctso: or there are DSC or spec files for RPMs/DEBs floating around | ||
| [2009/06/18 12:26:40] <pastie> jamesturnbull: http://pastie.org/516550 by jhelfman. | ||
| [2009/06/18 12:27:09] <ctso> jamesturnbull: oh sweet man, all the time i was looking for a gemspec but this seems to build it.. awesome thanks | ||
| [2009/06/18 12:30:02] <jamesturnbull> jhelfman: why make the change and does /var/puppet/dist exist? | ||
| [2009/06/18 12:30:29] @ davidrichards joined channel #puppet | ||
| [2009/06/18 12:32:10] @ strangeloop joined channel #puppet | ||
| [2009/06/18 12:34:57] @ cirquitz joined channel #puppet | ||
| [2009/06/18 12:42:17] @ pleemans joined channel #puppet | ||
| [2009/06/18 12:42:34] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/06/18 12:46:37] <davidrichards> I just bought Turnbull's book, Installing and Running Puppet. He did a really good job with it!! | ||
| [2009/06/18 12:46:50] <davidrichards> I'm using that to fill in some gaps about what I can and can't do with puppet today. | ||
| [2009/06/18 12:47:06] @ mikepea_ joined channel #puppet | ||
| [2009/06/18 12:47:37] @ Quit: alban2: Read error: 110 (Connection timed out) | ||
| [2009/06/18 12:47:46] <Volcane> davidrichards: he's jamesturnbull on this # :) | ||
| [2009/06/18 12:48:19] <davidrichards> I figured he'd be here, but living in Australia, I didn't think he'd be listening :) | ||
| [2009/06/18 12:49:04] @ Quit: mgk: Remote closed the connection | ||
| [2009/06/18 12:49:33] <jamesturnbull> davidrichards: am here | ||
| [2009/06/18 12:49:42] <jamesturnbull> davidrichards: actually am in Portland, Oregon today so I am wide awake | ||
| [2009/06/18 12:49:47] <davidrichards> oh, hey! | ||
| [2009/06/18 12:49:58] <davidrichards> very cool. I used to live up there. | ||
| [2009/06/18 12:50:12] <davidrichards> I'd love to move back someday | ||
| [2009/06/18 12:50:26] <Tonnerre> But yes, he cannot be thanked enough for his achievements :P | ||
| [2009/06/18 12:50:33] <jamesturnbull> Tonnerre: oh shucks | ||
| [2009/06/18 12:50:57] <davidrichards> jamesturnbull: are you working with reductive labs? | ||
| [2009/06/18 12:51:09] <jamesturnbull> davidrichards: god no - those clows ... oh wait | ||
| [2009/06/18 12:51:15] <jamesturnbull> davidrichards: no I don't work for RL | ||
| [2009/06/18 12:51:16] <davidrichards> ha! | ||
| [2009/06/18 12:51:24] @ Quit: mfournier: Read error: 110 (Connection timed out) | ||
| [2009/06/18 12:51:36] <jamesturnbull> no I work for a bank | ||
| [2009/06/18 12:51:42] <jamesturnbull> my involvement is pure FOSS | ||
| [2009/06/18 12:51:50] <davidrichards> that's right, I saw that in your intro | ||
| [2009/06/18 12:53:22] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/06/18 12:53:28] @ lak joined channel #puppet | ||
| [2009/06/18 12:54:17] @ Quit: saurabhverma: No route to host | ||
| [2009/06/18 12:56:15] @ ezmob joined channel #puppet | ||
| [2009/06/18 12:56:32] <plathrop> Can we either delete or rename the wiki:PuppetBestPractice page? It really seems to cause more confusion than clarity... | ||
| [2009/06/18 12:56:38] <gepetto> plathrop: wiki:PuppetBestPractice is http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice | ||
| [2009/06/18 12:57:17] <jhelfman> can someone help me with what seems to me to be a configuration error | ||
| [2009/06/18 12:57:20] <jamesturnbull> plathrop: sometimes I agree and sometimes not | ||
| [2009/06/18 12:57:26] <jamesturnbull> plathrop: it's worded badly | ||
| [2009/06/18 12:57:32] @ docelic joined channel #puppet | ||
| [2009/06/18 12:57:34] <jamesturnbull> plathrop: to imply this is the "only" way | ||
| [2009/06/18 12:57:48] <jamesturnbull> plathrop: or perhaps people just read it like that | ||
| [2009/06/18 12:58:19] * jamesturnbull is bbl | ||
| [2009/06/18 12:58:25] <plathrop> jamesturnbull: Well, "Best Practice" has a connotation | ||
| [2009/06/18 12:58:58] <plathrop> We can discuss it later / on mailing list. I thought I'd feel it out here first. | ||
| [2009/06/18 13:00:21] <jhelfman> can someone help me? | ||
| [2009/06/18 13:01:09] <jhelfman> http://pastie.org/516581 | ||
| [2009/06/18 13:03:45] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 13:04:04] <plathrop> jhelfman: that's quite the mess... | ||
| [2009/06/18 13:04:08] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/06/18 13:04:32] @ Quit: mikepea_: Success | ||
| [2009/06/18 13:05:10] @ lak joined channel #puppet | ||
| [2009/06/18 13:05:11] <plathrop> jhelfman: For one, file:/// isn't a supported Puppet URL for sources. | ||
| [2009/06/18 13:05:25] <jhelfman> didn't know that | ||
| [2009/06/18 13:07:15] <jhelfman> i did update it to puppet... | ||
| [2009/06/18 13:07:20] <jhelfman> i put it to file to "figure it out" | ||
| [2009/06/18 13:07:29] @ Quit: poison: Remote closed the connection | ||
| [2009/06/18 13:08:25] <jhelfman> i updated it to puppet, and am getting the same error on the client | ||
| [2009/06/18 13:08:31] <plathrop> As for this line: err: Could not call puppetbucket.addfile: #<Errno::EINVAL: Invalid argument - connect(2)> - that's crazy, never seen anything like that. | ||
| [2009/06/18 13:09:08] <jhelfman> i am running the same version of puppet and ruby on both ends | ||
| [2009/06/18 13:10:07] <plathrop> jhelfman: does the path /usr/local/var/puppet/test exist? | ||
| [2009/06/18 13:11:40] <jhelfman> no, but /usr/local/var/puppet/dist/test does | ||
| [2009/06/18 13:11:52] <jhelfman> i am using the source of puppet:///dist/test | ||
| [2009/06/18 13:12:01] <plathrop> jhelfman: There's one problem, then. | ||
| [2009/06/18 13:12:05] <jhelfman> what? | ||
| [2009/06/18 13:12:37] <plathrop> jhelfman: You have your fileserver.conf set up to translate "dist" to "/usr/local/var/puppet" which means "dist/test" would be "/usr/local/var/puppet/test" | ||
| [2009/06/18 13:13:20] <jhelfman> so i should put dist in the fileserver config? | ||
| [2009/06/18 13:13:46] <plathrop> jhelfman: That's what I'd do in this case. I mean, I usually use modules so I don't have to mess with this stuff at all, but yeah. | ||
| [2009/06/18 13:13:58] <jhelfman> what do you mean by modules? | ||
| [2009/06/18 13:15:40] <plathrop> jhelfman: wiki:PuppetModules | ||
| [2009/06/18 13:15:47] <gepetto> plathrop: jhelfman: wiki:PuppetModules is http://reductivelabs.com/trac/puppet/wiki/PuppetModules | ||
| [2009/06/18 13:15:57] <jhelfman> err: Could not call puppetbucket.addfile: #<Errno::EINVAL: Invalid argument - connect(2)> | ||
| [2009/06/18 13:15:59] <jhelfman> err: //Node[smtp1]/bsd/le/File[critical-system-emergency]/source: change from {md5}05b3815cf95997671d2d546e9788eb9d to puppet:///dist/le/critical-system-emergency failed: Invalid argument - connect(2) | ||
| [2009/06/18 13:16:06] <jhelfman> i am getting this now on all files | ||
| [2009/06/18 13:16:43] @ francois left channel #puppet () | ||
| [2009/06/18 13:16:46] <plathrop> jhelfman: Like I said, I can't help with that one, I've never seen anything like it. I suspect potential version incompatibility at some level | ||
| [2009/06/18 13:17:04] <jhelfman> they are the same versions of everything on both client and server | ||
| [2009/06/18 13:17:28] <plathrop> jhelfman: yeah, that doesn't mean there isn't incompatibility between two packages | ||
| [2009/06/18 13:17:48] <plathrop> Like, ruby and puppet for example (though that seems doubtful) | ||
| [2009/06/18 13:18:13] * ckdake thinks the PuppetBestPractices page is a lot of help, provides a lot of good guidelines, and fits my expectations for a best practices document | ||
| [2009/06/18 13:18:38] <jhelfman> that is true... | ||
| [2009/06/18 13:19:10] @ D-CoDe joined channel #puppet | ||
| [2009/06/18 13:20:02] <plathrop> ckdake: I agree with all except the "fits my expectations for a best practices document" - I feel like the community as a whole should think that something is the "right way", and I definitely have not seen a lot of support for that interpretation. Of course, I could be mistaking silence for lack of approval. | ||
| [2009/06/18 13:20:40] * Volcane thinks its v.hard to make generic best practises | ||
| [2009/06/18 13:21:15] <Volcane> they only work in really oppinionated environments. ie. rails best practises is much easier to come up with than puppet ones | ||
| [2009/06/18 13:21:19] <plathrop> Volcane: I agree. It's a hard problem. On the gripping hand, there are some definite broad strokes we can all agree on, that are much simpler and work for most. | ||
| [2009/06/18 13:21:21] <Volcane> cos rails is so heavy on design by convention | ||
| [2009/06/18 13:21:32] <Volcane> where puppet is so heavy on enabling you to hang yourself in so many spectacular ways | ||
| [2009/06/18 13:21:33] <plathrop> Like: use modules from the very start. | ||
| [2009/06/18 13:21:41] <ckdake> all i know is that I inerited a mess of a puppet setup and slowly converting things to something sensibile by following things there was the only way I could make things consistent and intelligable to people that don't look at it every day :) | ||
| [2009/06/18 13:23:12] <plathrop> Volcane: that's actually exactly my point. Calling that page the "Best Practice" is misleading - I've seen quite a few people follow it, then ask for help expecting many of the more experienced Puppeteers to have followed it, and find that many of us do not and can't really help them as to what various parts of it mean. | ||
| [2009/06/18 13:23:25] <Volcane> plathrop: yeah totally | ||
| [2009/06/18 13:23:35] @ Quit: strangeloop: "Verlassend" | ||
| [2009/06/18 13:23:47] <Volcane> plathrop: I'd rather have a page of key concept, like where do you go once you figured out how classes, resources and nodes work | ||
| [2009/06/18 13:23:55] <Volcane> plathrop: but before you start configuring your whole webfarm | ||
| [2009/06/18 13:24:23] @ Maliuta joined channel #puppet | ||
| [2009/06/18 13:24:35] <Volcane> plathrop: 1) modules 2) saple simple module structures 3) recipes you cant live without like concat tool (god, do we have to standardise on the same concat tool!), etc | ||
| [2009/06/18 13:24:54] <plathrop> That's actually what I was thinking I'd put in it's place. Like I said, I don't want to lose that info, it's really good info. But I'd like to see "Best Practice" point to more of a "How to be successful in Puppet" sort of thing. | ||
| [2009/06/18 13:25:03] <Volcane> yup | ||
| [2009/06/18 13:25:42] <jhelfman> updated pastie with server and client versions and errors | ||
| [2009/06/18 13:25:46] <jhelfman> http://pastie.org/516632 | ||
| [2009/06/18 13:25:48] <jhelfman> any help would be great | ||
| [2009/06/18 13:27:57] @ Quit: MattyM: "ta ta" | ||
| [2009/06/18 13:31:33] @ Quit: tim|imac: | ||
| [2009/06/18 13:34:25] @ tim|imac joined channel #puppet | ||
| [2009/06/18 13:35:13] @ _dan__t joined channel #puppet | ||
| [2009/06/18 13:35:43] @ mfoster1 joined channel #puppet | ||
| [2009/06/18 13:36:04] @ Quit: mfoster: "Leaving." | ||
| [2009/06/18 13:37:15] <jhelfman> plathrop: i am using modules too, just was familiar with the term | ||
| [2009/06/18 13:39:29] @ Robbie joined channel #puppet | ||
| [2009/06/18 13:40:05] @ _dan__t is now known as dan___t | ||
| [2009/06/18 13:41:30] <jhelfman> unfamiliar that is | ||
| [2009/06/18 13:41:37] @ saurabhverma joined channel #puppet | ||
| [2009/06/18 13:42:52] @ Quit: int: Read error: 113 (No route to host) | ||
| [2009/06/18 13:43:19] @ alfism joined channel #puppet | ||
| [2009/06/18 13:43:31] @ alex2 joined channel #puppet | ||
| [2009/06/18 13:49:41] @ Quit: cirquitz: "Leaving" | ||
| [2009/06/18 13:52:21] @ Quit: tim|imac: | ||
| [2009/06/18 13:55:00] @ WALoeIII joined channel #puppet | ||
| [2009/06/18 13:57:09] @ poison joined channel #puppet | ||
| [2009/06/18 13:58:53] @ tim|imac joined channel #puppet | ||
| [2009/06/18 14:00:55] @ reyjrar joined channel #puppet | ||
| [2009/06/18 14:04:22] @ nakano is now known as nakano_ | ||
| [2009/06/18 14:07:11] @ Quit: saurabhverma: Connection timed out | ||
| [2009/06/18 14:10:36] @ Quit: mrepop: "leaving" | ||
| [2009/06/18 14:11:24] <dan___t> wat | ||
| [2009/06/18 14:12:05] @ Quit: poison: Remote closed the connection | ||
| [2009/06/18 14:14:30] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/18 14:23:38] @ Quit: bjoern_: "Ex-Chat" | ||
| [2009/06/18 14:26:21] @ mfournier joined channel #puppet | ||
| [2009/06/18 14:30:18] @ int joined channel #puppet | ||
| [2009/06/18 14:31:21] <jhelfman> after updating client and server for puppet and factor getting a little further, but same error still | ||
| [2009/06/18 14:31:26] <jhelfman> http://pastie.org/516729 | ||
| [2009/06/18 14:33:47] @ Quit: Innocenti: "leaving" | ||
| [2009/06/18 14:43:21] @ fbe joined channel #puppet | ||
| [2009/06/18 14:47:15] @ hyde joined channel #puppet | ||
| [2009/06/18 14:47:26] @ hyde left channel #puppet () | ||
| [2009/06/18 14:47:35] @ hyde joined channel #puppet | ||
| [2009/06/18 14:49:20] @ Quit: fbe: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 14:49:29] @ Quit: tecto: | ||
| [2009/06/18 14:49:33] <hyde> I followed some instruction and put one file in some module, trying to ask client to download it, how to troubleshoot this, now that it is not working as expected? | ||
| [2009/06/18 14:49:53] @ Quit: mfournier: Read error: 113 (No route to host) | ||
| [2009/06/18 14:50:09] <jhelfman> i've updated ruby libraries now, and here is the error I am getting | ||
| [2009/06/18 14:50:13] <jhelfman> http://pastie.org/516751 | ||
| [2009/06/18 14:50:18] <jhelfman> way at the bottom | ||
| [2009/06/18 14:50:20] <jhelfman> any help? | ||
| [2009/06/18 14:50:25] <dan___t> 'aternoon. | ||
| [2009/06/18 14:50:39] <dan___t> I've started to play with that special class user::virtual to manage a few test users. | ||
| [2009/06/18 14:50:55] <dan___t> I see the examples reference a file named virtual.pp that this code is in. However, I'm not sure how that ties in to, if at all, init.pp, and how I go about doing that per best practices. | ||
| [2009/06/18 14:51:06] <jhelfman> any help would be great... not sure where to go from here | ||
| [2009/06/18 14:51:13] <plathrop> jhelfman: Hit the list | ||
| [2009/06/18 14:51:28] <jhelfman> that is what I am doing.. i've been looking up all errors | ||
| [2009/06/18 14:52:06] <plathrop> jhelfman: No, I mean *ask* on the list | ||
| [2009/06/18 14:52:33] <jhelfman> oh ok | ||
| [2009/06/18 14:53:14] <dan___t> Does the fact named 'ee' call an executable that does not exist? | ||
| [2009/06/18 14:53:19] <plathrop> jhelfman: Lots of really smart Puppet folks that don't hang out in IRC all the time. | ||
| [2009/06/18 14:54:47] <dan___t> And in the example, there's a uinxadmins.pp file. I understand the purpose, but not exactly how it works. Given some class definition such as: class user::unixadmins inherits user::virtual ....does that imply that a class added to the user::virtual class would automagically pertain just to groups? | ||
| [2009/06/18 14:54:58] <jhelfman> i think i found the issue. now it is a port problem. so i will investigate firewall | ||
| [2009/06/18 14:55:00] <dan___t> Or are they "groups" as far as Puppet recognizes them, and not actual system groups. | ||
| [2009/06/18 14:58:19] <jhelfman> why would I get this, if I can connect to 8140 on the puppet master? | ||
| [2009/06/18 14:58:23] <jhelfman> err: //Node[smtp1]/bsd/le/File[critical-local-emergency]/source: change from {md5}4eaa2e6fc4ad9d19508426475591c6e0 to puppet:///dist/le/critical-local-emergency failed: Could not connect to on port 8140 | ||
| [2009/06/18 14:58:51] <jhelfman> seems like something is missing after the "to" and before the "on" | ||
| [2009/06/18 15:00:55] <jhelfman> i know there are lots of smart ppl, but ppl must be busy... | ||
| [2009/06/18 15:01:00] <nico> found the bug \o/ | ||
| [2009/06/18 15:01:11] <nico> #1389 is still alive | ||
| [2009/06/18 15:01:13] <gepetto> nico: #1389 is http://projects.reductivelabs.com/issues/show/1389 "Puppet - Bug #1389: puppetmaster completely ignores any found external nodes if any nodes are found in manifests first. - ReductiveLabs.com" | ||
| [2009/06/18 15:01:43] @ bendsu joined channel #puppet | ||
| [2009/06/18 15:01:45] @ Quit: stevenjenkins: Read error: 60 (Operation timed out) | ||
| [2009/06/18 15:02:37] @ Quit: lak: | ||
| [2009/06/18 15:02:39] <nico> lak: /query me if you want more information for bug #1389 I can reproduce | ||
| [2009/06/18 15:02:41] <gepetto> nico: lak: #1389 is http://projects.reductivelabs.com/issues/show/1389 "Puppet - Bug #1389: puppetmaster completely ignores any found external nodes if any nodes are found in manifests first. - ReductiveLabs.com" | ||
| [2009/06/18 15:02:45] <nico> haha | ||
| [2009/06/18 15:02:49] <nico> beaten | ||
| [2009/06/18 15:03:37] <joe-mac> jhelfman: should fill in $servername in there | ||
| [2009/06/18 15:03:47] <joe-mac> can you paste the puppet.conf from your puppetmaster on pastie.org? | ||
| [2009/06/18 15:03:54] <jhelfman> sure | ||
| [2009/06/18 15:06:09] <jhelfman> done | ||
| [2009/06/18 15:06:14] <jhelfman> http://pastie.org/516782 | ||
| [2009/06/18 15:06:28] <jhelfman> i've grepped it down to ease of readibility | ||
| [2009/06/18 15:06:47] @ mfournier joined channel #puppet | ||
| [2009/06/18 15:07:00] @ mikepea joined channel #puppet | ||
| [2009/06/18 15:08:13] <jhelfman> ha! | ||
| [2009/06/18 15:08:16] <jhelfman> fixed it | ||
| [2009/06/18 15:08:32] <jhelfman> i changed $server to $servername in site.pp and that was it! | ||
| [2009/06/18 15:08:33] <joe-mac> ilebucket { main: server => $server } | ||
| [2009/06/18 15:08:35] <joe-mac> no such thing | ||
| [2009/06/18 15:08:36] <joe-mac> yea | ||
| [2009/06/18 15:08:46] <jhelfman> yeah, saw it in a list post | ||
| [2009/06/18 15:09:07] <joe-mac> did you see the example pasted erroneously somewhere? might want to correct the personw ho gave that example if it is.... | ||
| [2009/06/18 15:11:41] <ctso> god, it's $servername instead of $server? | ||
| [2009/06/18 15:11:50] <ctso> i just commented that line out because it was causing so much grief | ||
| [2009/06/18 15:19:58] <joe-mac> lol, ctso yea | ||
| [2009/06/18 15:20:01] <joe-mac> that sucks | ||
| [2009/06/18 15:20:13] <joe-mac> is someone perpetuating that error? should def call notice on it if they are | ||
| [2009/06/18 15:20:16] <jhelfman> i just have to get facts working.... | ||
| [2009/06/18 15:20:26] <jhelfman> seems to be skipping them, but i'll check logs | ||
| [2009/06/18 15:21:47] <jhelfman> maybe it is that facter error that is making things messed up? | ||
| [2009/06/18 15:21:57] <jhelfman> /usr/local/lib/ruby/site_ruby/1.8/facter/util/ip.rb:145: command not found: | ||
| [2009/06/18 15:30:30] <joe-mac> Volcane: do you know how to properly require a resource inside a definition, if the required resource exists outside of the definition? | ||
| [2009/06/18 15:30:43] <joe-mac> jhelfman: your RUBYLIB is probably not set right | ||
| [2009/06/18 15:30:52] <joe-mac> how'd you install facter anyways? gem, rpm, what? | ||
| [2009/06/18 15:31:25] <jhelfman> in-house packaging... basically rpm is created from a freebsd port package | ||
| [2009/06/18 15:31:53] <jhelfman> it is a common error with facter, i am finding on the boards | ||
| [2009/06/18 15:33:00] @ Quit: mfournier: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 15:35:11] @ nakano_ is now known as nakano | ||
| [2009/06/18 15:36:52] <joe-mac> an rpm, created from an fbsd ports package? | ||
| [2009/06/18 15:37:03] <joe-mac> jhelfman: i don't understand why you would build a frankenstein package like that | ||
| [2009/06/18 15:37:19] <joe-mac> might be better if you just consumed the EPEL package(s) | ||
| [2009/06/18 15:37:24] <jhelfman> i'm just the new guy | ||
| [2009/06/18 15:37:27] <jhelfman> :) | ||
| [2009/06/18 15:37:31] <jhelfman> it is a good system, though | ||
| [2009/06/18 15:38:02] <joe-mac> jhelfman: sounds like a good hack, idk about system lol | ||
| [2009/06/18 15:38:21] <ckdake> there are systems that are not hacks? | ||
| [2009/06/18 15:38:41] <jhelfman> why would this: | ||
| [2009/06/18 15:38:43] <jhelfman> when /smtp1/ | ||
| [2009/06/18 15:38:46] <jhelfman> "smtp" | ||
| [2009/06/18 15:38:53] <jhelfman> work.. and this not | ||
| [2009/06/18 15:39:08] <jhelfman> when /smtp[1-2]$/ | ||
| [2009/06/18 15:39:11] <jhelfman> "smtp" | ||
| [2009/06/18 15:39:13] <jhelfman> not | ||
| [2009/06/18 15:39:36] <joe-mac> jhelfman: is it possiblet he line doesn't end there? | ||
| [2009/06/18 15:39:53] <jhelfman> i am snipping | ||
| [2009/06/18 15:40:04] <jhelfman> how can I tell where and when it doens't end | ||
| [2009/06/18 15:40:05] <joe-mac> snipping what? | ||
| [2009/06/18 15:40:09] <jhelfman> case type=%x{hostname}.chomp | ||
| [2009/06/18 15:40:20] <jhelfman> my hostname on the yaml is smtp1` | ||
| [2009/06/18 15:40:25] <jhelfman> smtp1 | ||
| [2009/06/18 15:40:35] <joe-mac> chomp then takes off the 1 | ||
| [2009/06/18 15:40:45] <jhelfman> why would it do that? | ||
| [2009/06/18 15:40:49] <joe-mac> unless, therei s a newline | ||
| [2009/06/18 15:40:53] <joe-mac> cause that's what the function does | ||
| [2009/06/18 15:41:03] <joe-mac> given no input,a chomp function generally chomps the last char, normally a newline | ||
| [2009/06/18 15:41:13] <joe-mac> on a string with no newline, and no argument given, it chomps the last char | ||
| [2009/06/18 15:41:21] <jhelfman> i see | ||
| [2009/06/18 15:41:35] <jhelfman> so if i take of .chomp | ||
| [2009/06/18 15:41:39] <jhelfman> is should be smtp1 | ||
| [2009/06/18 15:43:04] <jhelfman> it didn't do anything this time... well, it replaced fact but didn't act on it | ||
| [2009/06/18 15:43:07] <jhelfman> act | ||
| [2009/06/18 15:43:17] <joe-mac> what is hostname jhelfman? and i'll take a step back, what are you trying to do? | ||
| [2009/06/18 15:43:51] @ Quit: Robbie: Remote closed the connection | ||
| [2009/06/18 15:44:04] <jhelfman> well if there is a smtp1 and smtp2, i want to have a file named something.smtp apply to both of them | ||
| [2009/06/18 15:44:05] @ stevenjenkins joined channel #puppet | ||
| [2009/06/18 15:45:17] <jhelfman> ha it worked! | ||
| [2009/06/18 15:45:25] @ Robbie joined channel #puppet | ||
| [2009/06/18 15:45:32] <jhelfman> i removed the file, and the new yaml showed it as eearray | ||
| [2009/06/18 15:54:15] <Volcane> joe-mac: require => File["foo"] doesnt matter where it that will work, you can also say require => Class["bar"] to require all things, or require => Yourtype["foo"] etc, theres nothing fancy about where its defined | ||
| [2009/06/18 15:56:55] <joe-mac> hmmm, ok | ||
| [2009/06/18 15:57:06] <joe-mac> i ran into a problem but i bet i was just doin it wrong | ||
| [2009/06/18 16:03:26] @ d3vilb0x_ joined channel #puppet | ||
| [2009/06/18 16:05:13] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/06/18 16:05:52] <liquidki> it's cool to see this is an active channel | ||
| [2009/06/18 16:06:23] <liquidki> i'm doing a test of puppet's ability to work across RHEL/AIX/Solaris | ||
| [2009/06/18 16:07:02] @ Quit: d3vilb0x: Read error: 60 (Operation timed out) | ||
| [2009/06/18 16:07:47] @ greenmoss joined channel #puppet | ||
| [2009/06/18 16:08:13] <greenmoss> so, I'm getting the dreaded "warning: Found multiple default providers for service: freebsd, debian; using freebsd" | ||
| [2009/06/18 16:08:16] <greenmoss> facter 1.5.1 | ||
| [2009/06/18 16:08:33] <greenmoss> puppet 0.24.5 | ||
| [2009/06/18 16:10:07] <greenmoss> http://pastie.org/516866 is in my site.pp | ||
| [2009/06/18 16:10:29] <greenmoss> and yet it still chooses the freebsd package provider | ||
| [2009/06/18 16:19:44] @ Quit: bendsu: "Leaving." | ||
| [2009/06/18 16:19:58] @ Quit: mikepea: | ||
| [2009/06/18 16:22:34] <greenmoss> google says nothing conclusive about this | ||
| [2009/06/18 16:24:18] @ Quit: d3vilb0x_: Read error: 110 (Connection timed out) | ||
| [2009/06/18 16:24:49] @ Quit: hagedorn: "Ex-Chat" | ||
| [2009/06/18 16:27:24] @ hagedorn joined channel #puppet | ||
| [2009/06/18 16:27:45] <hagedorn> hey , http://pastie.org/516891 cert error ? how can i reset the certs ? | ||
| [2009/06/18 16:28:00] <ctso> greenmoss: dno if this means anything, but when i run facter on my ubuntu machines the value is "Ubuntu" not "ubuntu" | ||
| [2009/06/18 16:28:34] <greenmoss> ctso: not *supposed* to be case-sensitive, but let me try it anyway | ||
| [2009/06/18 16:29:02] <dan___t> So should that user::virtual class be part of a module? | ||
| [2009/06/18 16:29:41] @ nakano is now known as nakano_ | ||
| [2009/06/18 16:30:35] <greenmoss> ctso: nope, no difference | ||
| [2009/06/18 16:30:39] @ Quit: greenmoss: | ||
| [2009/06/18 16:30:55] <dan___t> I'm sort of confused as to what happens with a module; does it start off by reading init.pp? Would it make sense to have other .pp files in modulename/manifests/ ? | ||
| [2009/06/18 16:35:09] <dan___t> Hm, no, that doesn't work. | ||
| [2009/06/18 16:44:32] <hyde> how can I verify file serving from puppet master server? via http? I tried but got nothing when hitting http://puppetmaster_server:8140/ | ||
| [2009/06/18 16:45:45] <hyde> I've verified current configuration settings, using module to serve one file to the client, but nothing happened, already spent hours on this.. | ||
| [2009/06/18 16:46:17] <dan___t> So how do I include that user::virtual special class? Does it need to be a module? | ||
| [2009/06/18 16:47:55] @ Quit: Robbie: Remote closed the connection | ||
| [2009/06/18 16:49:27] @ aaronlippold joined channel #puppet | ||
| [2009/06/18 16:50:45] @ fbe joined channel #puppet | ||
| [2009/06/18 16:51:13] <aaronlippold> has anyone worked out installing puppet via kickstart and then using puppet in %post as an interpreter? I am looking to create a puppet kicsktart that uses the puppet-puppet module to setup puppet. | ||
| [2009/06/18 16:52:04] <aaronlippold> Do I just cat a file on /tmp with the right puppet content and then run puppet -l /tmp/mylog.log /tmp/myconfig? | ||
| [2009/06/18 16:52:29] <aaronlippold> I am looking to do something like the thuncrust folks do in their appliance configuration files | ||
| [2009/06/18 16:53:13] <dan___t> Nevermind, I got it figured out. | ||
| [2009/06/18 16:53:34] <dan___t> I don't have it handy, but that's what we did at my old job, aaronlippold. | ||
| [2009/06/18 16:53:44] <dan___t> Its been so long, and I wasn't the Puppet lead over there. | ||
| [2009/06/18 16:53:52] <dan___t> But I do know that it was possible and we were doing it. | ||
| [2009/06/18 16:54:20] <aaronlippold> Ya I was sure I wasn' | ||
| [2009/06/18 16:54:25] <aaronlippold> t the first to want this | ||
| [2009/06/18 16:54:38] <aaronlippold> but google has been coming up short on references | ||
| [2009/06/18 16:56:29] <hacim> is there a more sane way to do this: if !(( $hostname == "spamd1" ) or ( $hostname == "spamd2" )) { | ||
| [2009/06/18 16:56:38] <hacim> like an 'unless'? | ||
| [2009/06/18 16:56:57] <dan___t> %post is pretty neat. | ||
| [2009/06/18 16:58:46] <joe-mac> aaronlippold: sure. puppet file.pp | ||
| [2009/06/18 16:58:52] <joe-mac> it'll apply the manifest... | ||
| [2009/06/18 16:59:44] <aaronlippold> joe-mac: just tried that locally with the sudo.pp example. I did puppet -l /tmp/mylog.log sudo.pp | ||
| [2009/06/18 16:59:51] <aaronlippold> but the log file was empty | ||
| [2009/06/18 17:00:57] <aaronlippold> and the files didn't change | ||
| [2009/06/18 17:00:58] <aaronlippold> odd | ||
| [2009/06/18 17:01:25] <joe-mac> aaronlippold: if it relies on a file server it's not going to work | ||
| [2009/06/18 17:01:28] <joe-mac> pure puppet will work | ||
| [2009/06/18 17:01:36] @ Quit: Maliuta: Read error: 110 (Connection timed out) | ||
| [2009/06/18 17:01:45] <aaronlippold> no file server at this point | ||
| [2009/06/18 17:02:00] <aaronlippold> its just a file resource defn with an owner and group and perms | ||
| [2009/06/18 17:02:23] @ PhabX joined channel #puppet | ||
| [2009/06/18 17:03:10] <PhabX> in a nodes manifest, how can i control the order in which puppet proccesses the modules being installed? the problem i'm having is that i have two modules, one for apache and one for django. but for some reason django always runs before apache and django complains that apache is not installed. | ||
| [2009/06/18 17:03:11] <aaronlippold> joe-mac: ok, stupid mistake on my part, I was trying to execute the class file ( sudo.pp ) and not the site.pp file | ||
| [2009/06/18 17:03:41] <aaronlippold> when I did puppet -l blah /etc/puppet/manifests/site.pp | ||
| [2009/06/18 17:03:42] <joe-mac> PhabX: you can require with classes | ||
| [2009/06/18 17:03:44] <aaronlippold> it worked fine | ||
| [2009/06/18 17:04:13] <joe-mac> actually, django should include or inherit apache anyways | ||
| [2009/06/18 17:04:19] <PhabX> joe-mac: http://pastebin.com/m67ee2580 | ||
| [2009/06/18 17:04:46] <PhabX> where would the require go? | ||
| [2009/06/18 17:04:56] @ ribo left channel #puppet () | ||
| [2009/06/18 17:05:20] <joe-mac> first, i suggest you get rid of node inheritance because it works differently than most people think it does wiki:CommonMisconceptions , second you're not including apache anywhere | ||
| [2009/06/18 17:05:23] <gepetto> joe-mac: first: wiki:CommonMisconceptions is http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions | ||
| [2009/06/18 17:05:24] <PhabX> or does the actual django module need it? | ||
| [2009/06/18 17:05:43] @ nakano_ is now known as nakano | ||
| [2009/06/18 17:05:59] <joe-mac> in the django module, you probably want to include apache. if you need to override something in the apache class, use inheritance. | ||
| [2009/06/18 17:06:20] <PhabX> thank you joe-mac | ||
| [2009/06/18 17:06:41] @ alban2 joined channel #puppet | ||
| [2009/06/18 17:07:02] @ fbe_ joined channel #puppet | ||
| [2009/06/18 17:07:57] @ pugetworks joined channel #puppet | ||
| [2009/06/18 17:08:07] <pugetworks> hey | ||
| [2009/06/18 17:08:40] <joe-mac> np | ||
| [2009/06/18 17:08:41] <pugetworks> I'm extremely annoyed with the reductivelabs wiki | ||
| [2009/06/18 17:08:51] <pugetworks> it keeps sending me to dead links | ||
| [2009/06/18 17:08:53] <joe-mac> pugetworks: then punch it | ||
| [2009/06/18 17:09:02] <joe-mac> pugetworks: where? | ||
| [2009/06/18 17:09:39] <pugetworks> http://reductivelabs.com/projects/puppet/reference/configref.html#graph | ||
| [2009/06/18 17:09:45] <flashn> yeah its a bit broken | ||
| [2009/06/18 17:09:48] <pugetworks> that is the link | ||
| [2009/06/18 17:10:03] <pugetworks> source is on page: | ||
| [2009/06/18 17:10:03] <pugetworks> http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#how-do-i-use-puppet-s-graphing-support | ||
| [2009/06/18 17:10:12] <pugetworks> under 'graphing on the client' | ||
| [2009/06/18 17:10:23] <pugetworks> but I find the wiki search is pretty much useless | ||
| [2009/06/18 17:11:05] <pugetworks> I found the initial examples useful enough to get me started | ||
| [2009/06/18 17:11:08] <joe-mac> pugetworks: ok i'll fix that, i think i know where it should go | ||
| [2009/06/18 17:11:15] <joe-mac> let me check, wiki:ConfigReference | ||
| [2009/06/18 17:11:22] <joe-mac> let me check, wiki:ConfigurationReference | ||
| [2009/06/18 17:11:31] <gepetto> joe-mac: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference | ||
| [2009/06/18 17:11:32] <joe-mac> it's one of those i think | ||
| [2009/06/18 17:11:38] <pugetworks> but then when I want do something more complicated, searching the wiki has failed me time and again | ||
| [2009/06/18 17:12:11] <joe-mac> pugetworks: yea the search functionality of the wiki is basically broken, RL is working on fixing it | ||
| [2009/06/18 17:12:17] <pugetworks> k | ||
| [2009/06/18 17:12:41] <pugetworks> I finally got some reporting happening, but what is a good way to view it? | ||
| [2009/06/18 17:12:43] <joe-mac> generally most people in here are pretty helpful, so this is a good source of info... and once you get into puppet there';s only a few wiki pages you need and you can usually remember them | ||
| [2009/06/18 17:12:48] <dan___t> Man. This is voodoo. | ||
| [2009/06/18 17:13:00] <dan___t> So I can't use a comma after a Realize statement, which realizes a virtual user and group etc etc | ||
| [2009/06/18 17:13:35] <joe-mac> pugetworks: currently reporting is being ironed out... lak has an app but hasn't released it yet. i'm saving my reports for his app cause it looks super nice. but if you want something immediately, you'd have to write it. i use tagmail also, idk if you're familiar with it yet | ||
| [2009/06/18 17:13:37] <pugetworks> a tip that I found, is that in some cases, the last item needs a ; and not a , | ||
| [2009/06/18 17:13:46] <joe-mac> dan___t: what do you mean? | ||
| [2009/06/18 17:14:09] @ Quit: mccune: Remote closed the connection | ||
| [2009/06/18 17:14:14] <joe-mac> realize is a function, which is why you don't need to put a comma after it. if you mean you want to realize multiple things, you do it like realize(User["one", User["two"]) | ||
| [2009/06/18 17:14:17] <dan___t> I I'm just toying around with adding users/groups using puppet, and I understand that I must use a user::virtual class. | ||
| [2009/06/18 17:14:29] <dan___t> oooh. | ||
| [2009/06/18 17:14:50] <aaronlippold> joe-mac: Thanks. I will just drop in the modules I want to use and I think I am good to go. | ||
| [2009/06/18 17:14:57] <joe-mac> cool, have fun aaronlippold | ||
| [2009/06/18 17:15:04] <dan___t> Can I have multiple realize functions present in a single class? | ||
| [2009/06/18 17:16:22] <joe-mac> yes dan___t, but why would you want to? | ||
| [2009/06/18 17:16:26] <dan___t> I'm trying to add a user, and a group. adduser fails because the group that I'm specifying per the user does not exist - ok, I get that. How can I ensure that the group is present before the user is added? | ||
| [2009/06/18 17:16:30] <dan___t> For atomacy etc etc. | ||
| [2009/06/18 17:16:32] @ francois joined channel #puppet | ||
| [2009/06/18 17:16:44] <joe-mac> dan___t: take a look at the require metaparameter | ||
| [2009/06/18 17:16:49] <joe-mac> wiki:TypeReference | ||
| [2009/06/18 17:17:31] <gepetto> joe-mac: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/06/18 17:17:32] @ matty91 joined channel #puppet | ||
| [2009/06/18 17:17:32] <dan___t> On it. | ||
| [2009/06/18 17:17:32] <dan___t> Thanks. | ||
| [2009/06/18 17:17:32] <dan___t> Half of what's eating me alive is not knowing the proper terminology, context, and thigns like thjat. | ||
| [2009/06/18 17:17:35] <dan___t> Oh, and I can't type, so........ | ||
| [2009/06/18 17:17:42] <pugetworks> how common is it to have configs in mysql vs flat files? | ||
| [2009/06/18 17:18:24] <joe-mac> dan___t: yea, being a n00b at anything is annoying as hell... | ||
| [2009/06/18 17:18:47] <dan___t> haha. | ||
| [2009/06/18 17:19:11] @ Innocenti joined channel #puppet | ||
| [2009/06/18 17:19:17] <dan___t> So would it be safe to require Group['mygroup'] in the.... eh, I don't know which class that would belong in. | ||
| [2009/06/18 17:19:21] <joe-mac> pugetworks: idk, no statistics that i know of. i want stored configs post-.25 so i can make my nagios automatic. i'm sick of it lol | ||
| [2009/06/18 17:19:22] <dan___t> I understand the purpose; just not where it goes. | ||
| [2009/06/18 17:19:42] <joe-mac> dan___t: you want to put it in the user that needs it | ||
| [2009/06/18 17:19:57] <dan___t> hmmmm | ||
| [2009/06/18 17:20:00] <joe-mac> so like if you define a user that belongs to a group, and it's a puppet-managed group, youw ant to make sure you require that group | ||
| [2009/06/18 17:20:11] <dan___t> Yeah | ||
| [2009/06/18 17:20:11] <dan___t> I understand. | ||
| [2009/06/18 17:20:15] <dan___t> Wondering if I can just create arrays of users and such. | ||
| [2009/06/18 17:20:38] <dan___t> admin_users contains usernames, and I can just require a group per using admin_users | ||
| [2009/06/18 17:21:27] <joe-mac> dan___t: although i don't do that, i am pretty positive it can be done | ||
| [2009/06/18 17:21:33] <joe-mac> o wait | ||
| [2009/06/18 17:21:40] <joe-mac> let me make sure i understand | ||
| [2009/06/18 17:22:08] <joe-mac> if you just want a resource named like "admin_user" so you could say admin_user { "me": ensure => "present; } | ||
| [2009/06/18 17:22:15] <dan___t> I don't want to specify a definition for each and every user. | ||
| [2009/06/18 17:22:28] <dan___t> yeah exactly. | ||
| [2009/06/18 17:22:29] <joe-mac> yea, you can also do like | ||
| [2009/06/18 17:22:35] <dan___t> Then everything would be inherited. | ||
| [2009/06/18 17:22:41] <dan___t> Less things for me to f up when making a change. | ||
| [2009/06/18 17:22:50] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/18 17:22:51] <joe-mac> admin_user { [ "one", "two", "three]: ensure => "present" } iirc | ||
| [2009/06/18 17:25:00] <joe-mac> i don't do that though because in my user defines i specify ssh key | ||
| [2009/06/18 17:25:21] <pugetworks> hmm.. that's not a bad idea | ||
| [2009/06/18 17:26:07] <pugetworks> could you do source: $host ? { webserver: webkey ... | ||
| [2009/06/18 17:26:24] <pugetworks> in the virtual user class | ||
| [2009/06/18 17:27:09] @ Quit: pjw: | ||
| [2009/06/18 17:27:22] <dan___t> Yea under @user { "username": ...stuff here...... require => Group[admins] } | ||
| [2009/06/18 17:27:30] <dan___t> I still get an error that adduser fails because the group does not exist. | ||
| [2009/06/18 17:28:21] <dan___t> un 18 21:29:27 centos5-test02 puppetd[13580]: Could not retrieve catalog: Failed to realize virtual resources Group[admins], User[dtrainor] on node centos5-test02 | ||
| [2009/06/18 17:28:26] <joe-mac> dan___t: you need to realize the user still | ||
| [2009/06/18 17:28:34] <joe-mac> the require doesn't au tomatically realize | ||
| [2009/06/18 17:28:44] <joe-mac> i filed a feature request for that, but i am guessing it might take a while to code it up | ||
| [2009/06/18 17:29:02] <dan___t> So, I realize and require from within the definition for that user? | ||
| [2009/06/18 17:29:15] <joe-mac> no, dan___t can you pastie.org your manifest? | ||
| [2009/06/18 17:29:23] <joe-mac> best to use real code in most cases | ||
| [2009/06/18 17:29:36] <dan___t> Sure, hold on. | ||
| [2009/06/18 17:29:39] <joe-mac> pugetworks: there is an ssh_authorized_key type | ||
| [2009/06/18 17:29:44] <joe-mac> i'll paste you my user defs | ||
| [2009/06/18 17:31:38] <joe-mac> http://www.pastie.org/516967 | ||
| [2009/06/18 17:31:58] <dan___t> http://pastebin.com/m545044cc | ||
| [2009/06/18 17:32:03] <joe-mac> authorized key type came out in .24.6 i think, so if you're on ubuntu LTS or any somewhat older distro you might have a problem using that type | ||
| [2009/06/18 17:32:52] <dan___t> Ok, wait.... what is that file, where does it live, and how do you call the functions that interact with it? | ||
| [2009/06/18 17:32:59] <dan___t> Sorry I just don't see those contexts. | ||
| [2009/06/18 17:33:17] @ Quit: malraid: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032711]" | ||
| [2009/06/18 17:33:39] @ Maliuta joined channel #puppet | ||
| [2009/06/18 17:34:08] @ plathrop is now known as plathrop-away | ||
| [2009/06/18 17:34:59] <joe-mac> dan___t: what? | ||
| [2009/06/18 17:35:13] <joe-mac> what is what file? authorized keys? | ||
| [2009/06/18 17:35:20] <dan___t> No, that file you pasted. | ||
| [2009/06/18 17:35:28] <dan___t> Oh.... that wasn't for me. | ||
| [2009/06/18 17:35:30] <dan___t> I'm sorry heh. | ||
| [2009/06/18 17:35:36] <joe-mac> oh, i was pasting it to pugetworks heh | ||
| [2009/06/18 17:35:52] <dan___t> Yep I realize that now. | ||
| [2009/06/18 17:36:03] <dan___t> I've been looking for more examples on user::virtual class, proper usage etc etc. | ||
| [2009/06/18 17:36:09] <dan___t> I can't find much anything at all. | ||
| [2009/06/18 17:36:26] @ Quit: reyjrar: "Leaving" | ||
| [2009/06/18 17:37:23] @ PhabX left channel #puppet ("Leaving...") | ||
| [2009/06/18 17:37:36] <joe-mac> dan___t: now show me the place where you realize them? | ||
| [2009/06/18 17:39:06] <dan___t> Right, sorry: http://pastebin.com/m720b1e5e | ||
| [2009/06/18 17:39:44] <dan___t> Wait, I did require and realize in the user definition | ||
| [2009/06/18 17:39:47] <dan___t> for the group | ||
| [2009/06/18 17:42:35] <dan___t> Maybe I'm just doing it completely backwards. | ||
| [2009/06/18 17:43:26] @ mfournier joined channel #puppet | ||
| [2009/06/18 17:43:27] <joe-mac> dan___t: the things with => are "parameters" | ||
| [2009/06/18 17:43:32] <dan___t> I know. | ||
| [2009/06/18 17:43:32] <joe-mac> realize is actually a function | ||
| [2009/06/18 17:43:38] <dan___t> ... | ||
| [2009/06/18 17:43:47] <joe-mac> realize(Resource["resource-name"]) | ||
| [2009/06/18 17:43:51] <dan___t> heh. | ||
| [2009/06/18 17:44:01] <joe-mac> you'd do it outside of the resource def too, like in a class | ||
| [2009/06/18 17:45:51] @ Quit: alban2: Read error: 148 (No route to host) | ||
| [2009/06/18 17:47:54] <dan___t> Ok. | ||
| [2009/06/18 17:48:10] @ Quit: Maliuta: Read error: 60 (Operation timed out) | ||
| [2009/06/18 17:49:14] <dan___t> realize(Group["admins"]) | ||
| [2009/06/18 17:49:15] <dan___t> ? | ||
| [2009/06/18 17:49:35] <dan___t> I see parse errors re: ('s: Could not retrieve catalog: Could not parse for environment production: Syntax error at '('; expected ')' at /etc/puppet/modules/user/manifests/init.pp:30 | ||
| [2009/06/18 17:51:13] <dan___t> According to what I read, realize(User[username]) should work just fine. | ||
| [2009/06/18 17:51:18] <dan___t> Trying with quotes, and without. | ||
| [2009/06/18 17:52:59] <pugetworks> hmm | ||
| [2009/06/18 17:53:04] <pugetworks> worked for me | ||
| [2009/06/18 17:53:27] <dan___t> What, exactly? realize(User[username]) ? | ||
| [2009/06/18 17:53:36] <pugetworks> http://pastebin.com/d8a03aad | ||
| [2009/06/18 17:54:22] <pugetworks> or did it | ||
| [2009/06/18 17:54:24] <pugetworks> ... | ||
| [2009/06/18 17:55:43] <pugetworks> ok, I spoke too soon | ||
| [2009/06/18 17:56:14] <dan___t> haha | ||
| [2009/06/18 17:57:35] @ BMDan left channel #puppet () | ||
| [2009/06/18 17:57:36] <pugetworks> can one realize an object that has been realized? | ||
| [2009/06/18 17:57:37] <joe-mac> dan___t: where are you doing this? | ||
| [2009/06/18 17:57:47] <joe-mac> you can't realize inside a resource def, like you had it | ||
| [2009/06/18 17:58:01] <joe-mac> but i gotta catch a train... someone here can probably help | ||
| [2009/06/18 17:58:02] <joe-mac> good luck | ||
| [2009/06/18 17:58:06] <dan___t> haha ok. | ||
| [2009/06/18 17:58:09] <dan___t> Much appreciated. | ||
| [2009/06/18 17:58:11] <dan___t> Thank you for the time. | ||
| [2009/06/18 17:58:13] <joe-mac> np | ||
| [2009/06/18 17:58:17] <pugetworks> thanks joe | ||
| [2009/06/18 17:58:20] <joe-mac> np | ||
| [2009/06/18 17:58:23] @ joe-mac left channel #puppet () | ||
| [2009/06/18 17:59:05] <pugetworks> what if a new class for the groups was created | ||
| [2009/06/18 17:59:14] <pugetworks> then when you realize the user, you also realize the group | ||
| [2009/06/18 17:59:27] <pugetworks> that would separate the user and groups to separate files? | ||
| [2009/06/18 18:00:43] @ Quit: kngus: "Leaving." | ||
| [2009/06/18 18:04:23] @ Quit: notbrien: | ||
| [2009/06/18 18:04:36] <pugetworks> yeah, I think that worked | ||
| [2009/06/18 18:05:50] <pugetworks> dan___t: http://pastebin.com/d5959cde9 | ||
| [2009/06/18 18:09:06] @ pjw joined channel #puppet | ||
| [2009/06/18 18:15:45] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/06/18 18:16:17] <pugetworks> nite nite | ||
| [2009/06/18 18:16:23] @ Quit: pugetworks: "pugetworks has no reason" | ||
| [2009/06/18 18:19:17] @ Djelibeybi joined channel #puppet | ||
| [2009/06/18 18:20:05] <agaffney> ok, I made a boo boo, and I'm not sure how to fix it | ||
| [2009/06/18 18:20:16] <agaffney> I accidentally ran 'puppetca --clean --all' on my puppetmaster | ||
| [2009/06/18 18:20:24] <Djelibeybi> agaffney: D'oh! | ||
| [2009/06/18 18:20:26] <Volcane> bucket of waterand cloth? | ||
| [2009/06/18 18:20:44] <agaffney> the clients can still connect without issue | ||
| [2009/06/18 18:20:49] <agaffney> but the puppetmaster can't connect to itself | ||
| [2009/06/18 18:21:00] <agaffney> well, the SSL is b0rked | ||
| [2009/06/18 18:21:18] <agaffney> it just requests a cert from itself | ||
| [2009/06/18 18:21:46] <agaffney> and when I use puppetca to sign the cert, I get: | ||
| [2009/06/18 18:21:48] <agaffney> info: Creating a new SSL key at /var/lib/puppet/ssl/private_keys/puppet.broadstripe.com.pem | ||
| [2009/06/18 18:21:51] <agaffney> err: Could not request certificate: Certificate does not match private key. Try 'puppetca --clean puppet.broadstripe.com' on the server. | ||
| [2009/06/18 18:22:03] <agaffney> and if I run the --clean command, it just puts me back where I was | ||
| [2009/06/18 18:23:23] <duritong> andrewcshafer: any new stream around? | ||
| [2009/06/18 18:24:40] <andrewcshafer> did that one fall off? I'm on the phone now. | ||
| [2009/06/18 18:24:42] @ Quit: bgupta: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 18:24:58] @ bgupta joined channel #puppet | ||
| [2009/06/18 18:25:33] <duritong> andrewcshafer: yeah :( | ||
| [2009/06/18 18:25:43] @ Maliuta joined channel #puppet | ||
| [2009/06/18 18:25:54] <duritong> and the flash player is at least failing on jaunty :( | ||
| [2009/06/18 18:26:11] <duritong> (while all the other flash crap is working) | ||
| [2009/06/18 18:26:58] @ Quit: cwebber: | ||
| [2009/06/18 18:28:06] @ cwebber joined channel #puppet | ||
| [2009/06/18 18:30:24] <dan___t> Ok, I think I see it now.... | ||
| [2009/06/18 18:30:47] <dan___t> modules/user being super special, representing both virtual users and virtual groups. It would not make sense to define my own module named 'users' or 'groups' to facilitate that. | ||
| [2009/06/18 18:31:03] <Djelibeybi> Hmm.. how do you remove a yumrepo? ensure => absent throws an error | ||
| [2009/06/18 18:31:16] @ Quit: tim|imac: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 18:31:28] <dan___t> What error? | ||
| [2009/06/18 18:32:15] <Djelibeybi> Invalid parameter 'ensure' for type 'Yumrepo' | ||
| [2009/06/18 18:32:38] <Djelibeybi> It's ok, I'll use the File type to get rid of the .repo file | ||
| [2009/06/18 18:33:15] @ Quit: aaronlippold: "Ex-Chat" | ||
| [2009/06/18 18:36:48] <dan___t> *LIGHTBULB* | ||
| [2009/06/18 18:36:49] <dan___t> heh | ||
| [2009/06/18 18:37:16] <Volcane> enabled => absent | ||
| [2009/06/18 18:37:26] <Volcane> Djelibeybi... | ||
| [2009/06/18 18:39:06] @ erm_ joined channel #puppet | ||
| [2009/06/18 18:39:35] @ tecto joined channel #puppet | ||
| [2009/06/18 18:39:51] @ Quit: mfournier: Read error: 110 (Connection timed out) | ||
| [2009/06/18 18:40:13] <Djelibeybi> Volcane: no, that doesn't work either | ||
| [2009/06/18 18:40:16] @ matty91_ joined channel #puppet | ||
| [2009/06/18 18:40:23] <Djelibeybi> Volcane: that just removes the "enabled=" line from the repo file | ||
| [2009/06/18 18:40:32] <Djelibeybi> Which makes it enabled by default (go go yum) | ||
| [2009/06/18 18:40:53] <Volcane> odd, docs says it would remove it | ||
| [2009/06/18 18:41:03] @ nakano is now known as nakano_ | ||
| [2009/06/18 18:41:16] <Djelibeybi> Volcane: removes the "enabled" line from the file. There are a few of those. You can remove individual lines with the absent keyword | ||
| [2009/06/18 18:42:38] <Volcane> oh right i see yeah the language isnt awesomely clear there | ||
| [2009/06/18 18:42:43] <Volcane> i also just nuke the files really | ||
| [2009/06/18 18:43:15] <Djelibeybi> Volcane: yeah, that's what I'm doing. | ||
| [2009/06/18 18:43:22] <dan___t> Yea, so I'm still stuck on adding users/groups. From where do I realize the user? In what context? | ||
| [2009/06/18 18:43:25] <dan___t> Per node? | ||
| [2009/06/18 18:43:45] <Volcane> dan___t: node you.box.com { include users } | ||
| [2009/06/18 18:43:54] <Volcane> dan___t: class user { # add our users here } | ||
| [2009/06/18 18:44:00] <Volcane> class users even | ||
| [2009/06/18 18:44:17] <dan___t> but the 'special' class is named 'user' per the documentation | ||
| [2009/06/18 18:44:25] <dan___t> hm | ||
| [2009/06/18 18:44:28] <dan___t> No, its not. | ||
| [2009/06/18 18:44:47] <Volcane> call it whatever u want am just giving you an example of what goes where | ||
| [2009/06/18 18:45:12] <Volcane> if you;re just setting out and fresh and want to get some basics of nodes and classes try this http://www.devco.net/pubwiki/Puppet/GettingStarted | ||
| [2009/06/18 18:45:23] <dan___t> No, I understand - but I thought that the actual module named 'user' was special. | ||
| [2009/06/18 18:45:45] <dan___t> Per the Best Practices guide. | ||
| [2009/06/18 18:45:55] <dan___t> It explicitly details the 'user' module as special. | ||
| [2009/06/18 18:46:04] <Volcane> where's this? | ||
| [2009/06/18 18:46:23] <dan___t> http://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice#file-hierarchy | ||
| [2009/06/18 18:46:35] <dan___t> /modules/user/: A special module that contains manifests for users. | ||
| [2009/06/18 18:46:55] <Volcane> oh | ||
| [2009/06/18 18:47:13] <Volcane> its not exactly special in that the name means anything to puppet other than a symbolic name to call the group of things | ||
| [2009/06/18 18:47:21] <Volcane> like its not going to clash with user{} or anything | ||
| [2009/06/18 18:47:31] <dan___t> Hmm... ok. | ||
| [2009/06/18 18:47:55] <dan___t> So when managing users like that, what matters - the 'user' part, or the 'virtual' part, of user::virtual ? | ||
| [2009/06/18 18:48:00] <dan___t> Am I misunderstanding all of this? | ||
| [2009/06/18 18:48:20] @ Quit: matty91_: Read error: 60 (Operation timed out) | ||
| [2009/06/18 18:48:26] <Volcane> yeah if you're new in puppet I'd just avoid virtual users for now, but basically you'll see @user{"foo": .... }somewhere | ||
| [2009/06/18 18:48:43] <Volcane> and later on when you wish to put the user on the machine you'd say | ||
| [2009/06/18 18:48:55] <Volcane> realize(User["foo"]) | ||
| [2009/06/18 18:49:06] <dan___t> Ok, so neither of those matter - the only way Puppet knows that the resources is of type virtual is by prefixing it with @ ....? | ||
| [2009/06/18 18:49:13] <Volcane> yes | ||
| [2009/06/18 18:49:19] <dan___t> right. ok. | ||
| [2009/06/18 18:49:29] <dan___t> Let me read that doc you posted for now. Might help answer some questions. | ||
| [2009/06/18 18:49:36] <Volcane> see http://reductivelabs.com/trac/puppet/wiki/VirtualResources | ||
| [2009/06/18 18:49:43] <dan___t> Yeah, been all over that. | ||
| [2009/06/18 18:49:45] <Volcane> my doc doesnt cover virt stuff | ||
| [2009/06/18 18:49:55] <dan___t> But it doesn't explain that there is any sort of flexibility. | ||
| [2009/06/18 18:49:58] @ fbe_ is now known as fbe | ||
| [2009/06/18 18:50:17] <dan___t> It doesn't say like "prefixing the resource with @ makes it virtual and it doesn't matter what the class is named" yada yada. | ||
| [2009/06/18 18:50:31] <Volcane> yeah | ||
| [2009/06/18 18:50:44] <Volcane> you can prefix anything with @ to make it virtual | ||
| [2009/06/18 18:50:47] <Volcane> @file{} | ||
| [2009/06/18 18:50:53] <Volcane> @package{} etc | ||
| [2009/06/18 18:52:04] <dan___t> That's kinda cool. But pointless when considering you could just easily include said resource in a node definition...? | ||
| [2009/06/18 18:52:21] <Volcane> yeah they only make sense in a few situation | ||
| [2009/06/18 18:52:27] <Volcane> packages and users being most common | ||
| [2009/06/18 18:52:58] <Volcane> @package{["cups", "bash", "httpd"]: } | ||
| [2009/06/18 18:53:00] <Volcane> and later on | ||
| [2009/06/18 18:53:06] <Volcane> you inherit from whatever class made that | ||
| [2009/06/18 18:53:08] <Volcane> and say | ||
| [2009/06/18 18:54:11] <Volcane> Package["bash"] { ensure => "1.2.3" } | ||
| [2009/06/18 18:54:19] <Volcane> or ensure => absent or whatever | ||
| [2009/06/18 18:54:43] <Volcane> that way you can adjust the virtual resource later on to suit the need of whatever class is trying to use it | ||
| [2009/06/18 18:54:56] <dan___t> Yea I still don't see it. | ||
| [2009/06/18 18:55:14] <dan___t> I mean I understand it but dont' understand what advantages it has over another defined class applied to a node or something. | ||
| [2009/06/18 18:55:33] @ nakano_ is now known as nakano | ||
| [2009/06/18 18:56:23] @ axisys joined channel #puppet | ||
| [2009/06/18 18:57:18] <Volcane> dan___t: so check this: http://pastie.org/517067 | ||
| [2009/06/18 18:57:50] <Volcane> dan___t: hypothetical situation where tomcat machines and web machines need different versions of httpd | ||
| [2009/06/18 18:58:07] <Volcane> oh hold let me add something else | ||
| [2009/06/18 18:58:13] @ Quit: matty91: No route to host | ||
| [2009/06/18 18:58:29] <dan___t> ok. | ||
| [2009/06/18 18:59:35] @ Quit: bobbyz: Connection timed out | ||
| [2009/06/18 18:59:55] <Volcane> reload | ||
| [2009/06/18 19:00:06] <Volcane> see now i say realize package but make sure it happens before tomcat, | ||
| [2009/06/18 19:00:45] <Volcane> but there's still only one package{} resource, but in one case it has a distinct version and ordering that only applies to one specific situation | ||
| [2009/06/18 19:00:57] <Volcane> u can only do that with virtual resources | ||
| [2009/06/18 19:03:31] <Volcane> donno, its difficult to always come up with concise use cases for this kind of thing | ||
| [2009/06/18 19:03:50] @ Quit: Innocenti: "leaving" | ||
| [2009/06/18 19:04:27] <dan___t> Yeah. | ||
| [2009/06/18 19:04:36] <dan___t> Still mowing over it hoping it clicks soon here heh. | ||
| [2009/06/18 19:04:50] <dan___t> I think I need to step back to something a bit more simple to start out with. | ||
| [2009/06/18 19:04:59] <dan___t> I've got a few files pushed out and stuff, but I'm clearly stumped; not good. | ||
| [2009/06/18 19:05:05] <Volcane> yeah dont worry about virtual resources till much later | ||
| [2009/06/18 19:05:14] @ nwp_ joined channel #puppet | ||
| [2009/06/18 19:05:23] <Volcane> those best practises docs, they should be considered more somethig to just bounce some ideas around with | ||
| [2009/06/18 19:05:53] <Volcane> take from them, learn, get some ideas but figure out how to use it best in as simple a way as possible for your work method and network | ||
| [2009/06/18 19:06:11] @ Quit: authentic: SendQ exceeded | ||
| [2009/06/18 19:06:34] <dan___t> Yep. | ||
| [2009/06/18 19:07:49] @ Quit: mattdelves: "Ex-Chat" | ||
| [2009/06/18 19:08:09] @ Quit: cwebber: | ||
| [2009/06/18 19:09:23] @ Demosthenes joined channel #puppet | ||
| [2009/06/18 19:09:56] @ cwebber joined channel #puppet | ||
| [2009/06/18 19:11:19] @ Quit: cwebber: Client Quit | ||
| [2009/06/18 19:15:57] @ Quit: bakins: | ||
| [2009/06/18 19:23:00] <jhelfman> is there a password library for freebsd for puppet to properly deal with changing passwords? | ||
| [2009/06/18 19:23:28] <jhelfman> i know that there is one for linux, that worked nicely where I used to work with puppet | ||
| [2009/06/18 19:23:57] @ Quit: davidrichards: | ||
| [2009/06/18 19:24:01] @ QMan joined channel #puppet | ||
| [2009/06/18 19:25:19] @ mfoster1 left channel #puppet () | ||
| [2009/06/18 19:27:07] @ matty91 joined channel #puppet | ||
| [2009/06/18 19:30:35] <hMz> write one! | ||
| [2009/06/18 19:33:14] <dan___t> Very good article, Volcane. | ||
| [2009/06/18 19:33:14] <dan___t> Thanks. | ||
| [2009/06/18 19:33:42] @ hyde left channel #puppet () | ||
| [2009/06/18 19:34:07] <jhelfman> right, but before writing one, i would like to know if there is one | ||
| [2009/06/18 19:35:46] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/06/18 19:40:14] <Volcane> jhelfman: send patches to the ruby-shadow people | ||
| [2009/06/18 19:40:28] <Volcane> then u dont need to do anything to (hopefully) to make puppet use it? | ||
| [2009/06/18 19:40:55] <jhelfman> so there is nothing | ||
| [2009/06/18 19:40:58] <jhelfman> thanks | ||
| [2009/06/18 19:41:53] @ Quit: docelic: "http://www.spinlocksolutions.com/" | ||
| [2009/06/18 19:42:29] <Volcane> i dont know if ruby-shadow understands bs | ||
| [2009/06/18 19:42:30] <Volcane> bsd | ||
| [2009/06/18 19:42:37] <jhelfman> kay thanks | ||
| [2009/06/18 19:42:47] <Volcane> but if u want to make puppet speak to bsd's shadow, u need to extend ruby-shadow | ||
| [2009/06/18 19:43:09] <jhelfman> how do you, or anyone else, deal with it? | ||
| [2009/06/18 19:43:14] <jhelfman> with puppet, if you do | ||
| [2009/06/18 19:43:38] <Volcane> i use linux, so ruby-shadow and puppet does fine | ||
| [2009/06/18 19:50:49] <Volcane> but have a look at the pw provider in the puppet code | ||
| [2009/06/18 19:51:03] <Volcane> its possible u could extend that, i dont remember anymore if pw can manage shadow with hashes direct | ||
| [2009/06/18 19:51:12] @ nakano is now known as nakano_ | ||
| [2009/06/18 19:53:49] @ drmikecrowe is now known as drmikecrowe_AFK | ||
| [2009/06/18 19:54:06] <jhelfman> kay thanks | ||
| [2009/06/18 20:03:07] @ PaulWay joined channel #puppet | ||
| [2009/06/18 20:03:11] <PaulWay> curse curse curse. | ||
| [2009/06/18 20:03:31] <PaulWay> I had some problems with updating RHEL 4 machines that run puppet and then puppet stopped working. | ||
| [2009/06/18 20:04:34] <PaulWay> And there were some patches I had to manually apply to Ruby files to get it to work. | ||
| [2009/06/18 20:04:51] <PaulWay> Now I've upgraded a couple of other machines and they're not working too, and I can't remember what I changed. | ||
| [2009/06/18 20:04:55] <Djelibeybi> PaulWay: virtual.rb | ||
| [2009/06/18 20:04:57] * PaulWay slaps own forehead. | ||
| [2009/06/18 20:04:59] <Djelibeybi> PaulWay: uptime.rb | ||
| [2009/06/18 20:05:08] <Djelibeybi> Also fixed in Facter 1.5.5 IIRC | ||
| [2009/06/18 20:05:18] <Djelibeybi> Or 1.5.6 in EPEL-testing. Whichever is the latest | ||
| [2009/06/18 20:06:19] <PaulWay> Yeah, the only facter I have available is 1.5.4 :-( | ||
| [2009/06/18 20:06:45] <Djelibeybi> Check virtual.rb and uptime.rb on a working server | ||
| [2009/06/18 20:06:49] <Djelibeybi> You'll find the thread safe stuff | ||
| [2009/06/18 20:07:18] @ francois left channel #puppet () | ||
| [2009/06/18 20:07:18] <PaulWay> The problem is that most of them are fine because I haven't updated them in a month or two, it's only the ones I've updated that have the problems. | ||
| [2009/06/18 20:07:26] <PaulWay> So which have I updated and patched? :-( | ||
| [2009/06/18 20:07:51] <jhelfman> is there a patch for this error in facter: /usr/local/lib/ruby/site_ruby/1.8/facter/util/ip.rb:145: command not found: | ||
| [2009/06/18 20:11:37] @ Quit: Bass10: Connection timed out | ||
| [2009/06/18 20:17:59] @ lak joined channel #puppet | ||
| [2009/06/18 20:20:45] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/06/18 20:26:22] @ Bass10 joined channel #puppet | ||
| [2009/06/18 20:27:03] @ Quit: ezmob: | ||
| [2009/06/18 20:39:18] @ Quit: lak: | ||
| [2009/06/18 20:39:31] @ unxfrek joined channel #puppet | ||
| [2009/06/18 20:47:13] @ Quit: Bass10: Success | ||
| [2009/06/18 20:52:04] <Volcane> rpm -V facter would surely show what files you edit? | ||
| [2009/06/18 20:59:19] <PaulWay> But on which machine? | ||
| [2009/06/18 20:59:36] <PaulWay> Doesn't matter - I've installed the EPEL-testing package and it's brought them back to life. | ||
| [2009/06/18 20:59:42] <PaulWay> Thanks all. | ||
| [2009/06/18 20:59:43] @ PaulWay left channel #puppet () | ||
| [2009/06/18 21:02:12] @ Quit: nigelk: | ||
| [2009/06/18 21:02:57] @ ezmob joined channel #puppet | ||
| [2009/06/18 21:11:13] @ lak joined channel #puppet | ||
| [2009/06/18 21:16:14] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 21:17:11] @ fujin joined channel #puppet | ||
| [2009/06/18 21:17:36] @ Quit: dan__t: "Leaving" | ||
| [2009/06/18 21:18:40] @ lak joined channel #puppet | ||
| [2009/06/18 21:22:55] @ tim|imac joined channel #puppet | ||
| [2009/06/18 21:23:21] <wakko666> can someone help me with this error? i can't seem to get enough debugging output to track it down: http://pastebin.com/d7b7b5c09 | ||
| [2009/06/18 21:23:38] <wakko666> i can't really see what change I made to my manifests would have caused it | ||
| [2009/06/18 21:27:56] @ Quit: WALoeIII: Read error: 113 (No route to host) | ||
| [2009/06/18 21:30:56] @ Quit: lak: | ||
| [2009/06/18 21:30:58] @ Quit: ezmob: | ||
| [2009/06/18 21:31:33] <Volcane> broken erb template | ||
| [2009/06/18 21:31:41] <Volcane> PITA to debug | ||
| [2009/06/18 21:32:01] <Volcane> maybe a syntax error in some ruby in a template, or untermanitad >'s | ||
| [2009/06/18 21:32:07] <wakko666> ah ha... i found it. | ||
| [2009/06/18 21:32:44] <wakko666> Volcane: that's exactly what it was. a carriage return in the wrong place split <% end %> into <\n% end %> | ||
| [2009/06/18 21:33:08] <wakko666> just had to stare at the git logs long enough to find the right commit. | ||
| [2009/06/18 21:33:09] <Volcane> joy, that would drive you mad trying to debug | ||
| [2009/06/18 21:33:45] <wakko666> yeah... spent the last hour searching for it. >_< | ||
| [2009/06/18 21:34:20] @ nigelk joined channel #puppet | ||
| [2009/06/18 21:37:57] @ dan___t is now known as dan__t | ||
| [2009/06/18 21:39:30] @ Quit: matty91: Read error: 110 (Connection timed out) | ||
| [2009/06/18 21:43:43] <Volcane> howly hell, openoffice presentation tool is crap | ||
| [2009/06/18 21:43:50] <Volcane> will have to buy something better | ||
| [2009/06/18 21:44:15] <Volcane> been using it for 20 minutes and its died 3 times so i need to kill -9 it | ||
| [2009/06/18 21:45:02] <Volcane> anyway, almost 3am, better go sleep | ||
| [2009/06/18 21:46:56] @ erm_ joined channel #puppet | ||
| [2009/06/18 21:47:05] @ jli joined channel #puppet | ||
| [2009/06/18 22:05:12] @ Quit: alex2: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 22:08:43] @ Quit: drmikecrowe_AFK: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 22:09:26] @ drmikecrowe_AFK joined channel #puppet | ||
| [2009/06/18 22:20:31] <jli> Hi, is there a resource type to mange directory? | ||
| [2009/06/18 22:24:55] @ Quit: unxfrek: "Leaving" | ||
| [2009/06/18 22:25:38] @ WALoeIII joined channel #puppet | ||
| [2009/06/18 22:28:51] @ bobbyz joined channel #puppet | ||
| [2009/06/18 22:44:24] @ davidrichards joined channel #puppet | ||
| [2009/06/18 22:50:08] @ pinoyskull joined channel #puppet | ||
| [2009/06/18 22:52:22] <ckdake> jli: http://reductivelabs.com/trac/puppet/wiki/TypeReference#file ensure => "directory" | ||
| [2009/06/18 23:00:43] @ Quit: erm_: "leaving" | ||
| [2009/06/18 23:00:49] @ erm_ joined channel #puppet | ||
| [2009/06/18 23:09:03] @ duffbeer703 joined channel #puppet | ||
| [2009/06/18 23:09:25] @ Quit: duffbeer703: Client Quit | ||
| [2009/06/18 23:09:38] @ duffbeer703 joined channel #puppet | ||
| [2009/06/18 23:10:11] @ n0ts___________ joined channel #puppet | ||
| [2009/06/18 23:11:18] @ vdc joined channel #puppet | ||
| [2009/06/18 23:12:54] @ Quit: duffbeer703: Client Quit | ||
| [2009/06/18 23:17:26] @ matty91 joined channel #puppet | ||
| [2009/06/18 23:20:38] @ Quit: n0ts__________: Read error: 110 (Connection timed out) | ||
| [2009/06/18 23:20:43] @ Quit: matty91: Client Quit | ||
| [2009/06/18 23:23:30] <pinoyskull> hi | ||
| [2009/06/18 23:23:31] <vdc> hi, was wondering if there's a way to define a class dependency? I want a class to process, but only after a prerequisite class has processed | ||
| [2009/06/18 23:23:34] <pinoyskull> what's the difference between | ||
| [2009/06/18 23:23:41] <pinoyskull> ${var} and {var} | ||
| [2009/06/18 23:26:53] <QMan> vdc: have the second class require the first | ||
| [2009/06/18 23:26:58] <QMan> shoudl do the right thing | ||
| [2009/06/18 23:27:39] <vdc> I can't find the proper syntax for that? Is there an example somewhere? | ||
| [2009/06/18 23:27:57] <QMan> vdc: taken from http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#classes | ||
| [2009/06/18 23:28:03] <QMan> Like resources, you can also create relationships with classes like so: | ||
| [2009/06/18 23:28:03] <QMan> class apache { | ||
| [2009/06/18 23:28:04] <QMan> service { "apache": require => Class["squid"] } | ||
| [2009/06/18 23:28:04] <QMan> } | ||
| [2009/06/18 23:28:04] <QMan> The above uses the require metaparameter to make the apache class dependent on the squid class. | ||
| [2009/06/18 23:28:40] <QMan> pinoyskull: the former is a variable, the latter isn't | ||
| [2009/06/18 23:28:57] <pinoyskull> ah | ||
| [2009/06/18 23:29:03] <pinoyskull> i thought they are the same | ||
| [2009/06/18 23:29:10] <QMan> so, ${var} would be substituted with whatever is in that variable, the latter would probably wouldn't work | ||
| [2009/06/18 23:29:24] <pinoyskull> hmmm... that's why my manifest is acting weird | ||
| [2009/06/18 23:29:29] <QMan> probably :) | ||
| [2009/06/18 23:29:29] <pinoyskull> thanks QMan | ||
| [2009/06/18 23:29:34] <QMan> no worries | ||
| [2009/06/18 23:29:57] <vdc> ditto -- thx QMan! | ||
| [2009/06/18 23:30:25] <QMan> vdc -- did it work? | ||
| [2009/06/18 23:31:56] <vdc> too early to tell ;) I need to create a test class before putting in the proper bits. | ||
| [2009/06/18 23:32:19] <QMan> fair enough -- good luck :) | ||
| [2009/06/18 23:34:26] @ joe-mac joined channel #puppet | ||
| [2009/06/18 23:34:28] @ Quit: davidrichards: Read error: 104 (Connection reset by peer) | ||
| [2009/06/18 23:34:56] @ davidrichards joined channel #puppet | ||
| [2009/06/18 23:41:08] @ Quit: claymation: Read error: 110 (Connection timed out) | ||
| [2009/06/18 23:44:34] <vdc> QMan: is this format valid? class c_one { include c_two: require => Class["c_zero"] } | ||
| [2009/06/18 23:45:56] <QMan> I would suggest not | ||
| [2009/06/18 23:46:25] <QMan> the example places the dependency on a *service* | ||
| [2009/06/18 23:46:49] <QMan> I expect a package or file construct might be able to do the same | ||
| [2009/06/18 23:47:11] <QMan> I don't believe you can add a dependancy on the include | ||
| [2009/06/18 23:47:34] <vdc> that's the answer I was afraid of :( | ||
| [2009/06/18 23:47:42] <QMan> do you have more info? | ||
| [2009/06/18 23:48:07] <QMan> (note -- I'm just starting out too, so don't take me as authoritative :) ) | ||
| [2009/06/18 23:49:04] <vdc> heheh. no worries. what kind of info do you mean? something else I can base the dependency on? | ||
| [2009/06/18 23:49:10] @ authentic joined channel #puppet | ||
| [2009/06/18 23:49:51] <QMan> copies of the classes, or what is defined in each | ||
| [2009/06/18 23:49:57] @ matty91 joined channel #puppet | ||
| [2009/06/18 23:50:13] <QMan> like c_zero is including packages, c_two is config or something | ||
| [2009/06/18 23:50:23] <QMan> might help to offer a suggestion if we can see 'em | ||
| [2009/06/18 23:52:08] <vdc> http://pastie.org/517263 | ||
| [2009/06/18 23:54:38] <vdc> file 1 and file 2 also have an intermediate file. anyway, rather than put dependencies inside each s_timeshare::packages::* definition, I want to create a dependency on the 'meta-class' |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!