Skip to content

Instantly share code, notes, and snippets.

@luckymike
Last active August 29, 2015 13:57
Show Gist options
  • Save luckymike/9772987 to your computer and use it in GitHub Desktop.
Save luckymike/9772987 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
#^syntax detection
site 'http://community.opscode.com/api/v1'
cookbooks = Dir.glob(File.join('site-cookbooks/*/metadata.*')).map{ |file| File.dirname(file) }
cookbooks.each do |cb|
cookbook File.basename(cb), :path => cb
end
cookbook 'rbenv', :git => 'https://github.com/fnichol/chef-rbenv', :ref => 'master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment