[chef] extending the resource


Chronological Thread 
  • From: Dmitry V'yal < >
  • To:
  • Subject: [chef] extending the resource
  • Date: Thu, 29 Jul 2010 14:10:43 +0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=SeAr9SBzefhjB5mMgr3azp8L5a/Wd79XL/XSQYn75eDn3XLgghu+XoWI082aTdy6MH SWNA+/iEf0IVoZlmJ5hDKIYnJQ9t8vjZV58xwZgbPZCr5TEkciABiBeK2dLZfPbBI+eY XMAXQkax2HD4ehgFW3HLoLtwACX9FINe/uD6o=

Greetings,

Is there a convenient way to extend built-in chef resources? Right now I'm thinking about the User resource. For my purposes it would be nice to have an attribute for managing contents of ~/.ssh/authorized_keys. Of course, I could have patched chef sources, but maybe a better way exists.

Thanks,
Dmitry



Archive powered by MHonArc 2.6.16.

§