Skip to content

Instantly share code, notes, and snippets.

@eherot
Forked from evan4498/gist:2917838
Created June 12, 2012 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eherot/2917872 to your computer and use it in GitHub Desktop.
Save eherot/2917872 to your computer and use it in GitHub Desktop.
failure
include_recipe "chef_gem"
p = package "libxslt-dev" do
action :nothing
end
p.run_action(:install)
p = package "libxml2-dev" do
action :nothing
end
p.run_action(:install)
chef_gem "rackspace-monitoring" do
version node['cloud_monitoring']['version']
action :install
end
require 'rubygems'
Gem.clear_paths
require 'rackspace-monitoring'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment