Commits

Anonymous committed d12c1da

Add heroku-toolbelt recipe

Comments (0)

Files changed (2)

   config.vm.provision :chef_solo do |chef|
     chef.cookbooks_path = "cookbooks"
     chef.add_recipe "haskell-platform"
+    chef.add_recipe "heroku-toolbelt"
     chef.json.merge!({ :ghc_version => '7.0.4',
                        :haskell_platform_version => '2011.4.0.0'})
   end

cookbooks/heroku-toolbelt/recipes/default.rb

+log "Install Heroku Toolbelt..."
+execute "install heroku toolbelt" do
+  command "wget -qO- https://toolbelt.heroku.com/install.sh | sh"
+  action :run
+  not_if "which heroku"
+end