- From: Jonathan Weiss <
>
- To:
- Subject: [chef] Embedded Chef
- Date: Tue, 26 Oct 2010 17:45:21 +0200
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
- [chef] Embedded Chef, Jonathan Weiss, 10/26/2010
Archive powered by MHonArc 2.6.16.