The chef_gem resource is for installing
Ruby gems needed to extend Chef on a given node. Given you have a
full-chef (Omnibus) installation, and want to have Chef pull data
from LDAP, you could `chef_gem "net-ldap"` to extend your Chef
recipe with that particular gem.
The gem_package resource on the other hand is for managing a system Ruby, or Ruby application stack, external to Chef. Given you have a full-chef (Omnibus) installation, and want to manage an external Rails application stack, you could use `gem_package "rails"`. You could also try something like ruby_application (http://ckbk.it/ruby_application) cookbook to deploy by representing your implementation as data structures and function calls. Eric G. Wolfe Senior Linux Administrator, IT Infrastructure Systems -------------------------------------- Marshall University Computing Services Drinko Library 428-K One John Marshall Dr. Huntington, WV 25755 Phone: 304.942.3970 Email: "> You will be recognized and honored as a community leader.On 08/28/2013 09:00 PM, David Montgomery wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.