Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Created January 29, 2014 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjasghar/8695616 to your computer and use it in GitHub Desktop.
Save jjasghar/8695616 to your computer and use it in GitHub Desktop.
chef-campfire-handler gem work around
cookbook_file "/tmp/tinder-1.9.3.gem" do
  owner "root"
  group "root"
  mode "0644"
  source "tinder-1.9.3.gem"
end

gem_package "tinder" do
  gem_binary("/opt/chef/embedded/bin/gem")
  action :install
  source "/tmp/tinder-1.9.3.gem"
  version "1.9.3"
end

chef_gem "chef-handler-campfire" do
  action :install
end

And build the tinder gem with

 gem.add_dependency 'json', '~> 1.7.0'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment