Cheers,
Is there an easy way to use the various resources from a Ruby script.
This is what I want to be able to do:
# pseudo-script
require 'rubygems'
require 'chef'
Chef::Package("apache2", :action =">" :upgrade)
Chef::Service("apache2", :action =">" [:enable, :start])
Is there a nice API to do this?
Thanks,
Jonathan
--
Jonathan Weiss
http://blog.innerewut.de
http://twitter.com/jweiss
Archive powered by MHonArc 2.6.16.