Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created March 8, 2011 03:00
Show Gist options
  • Save jtimberman/859775 to your computer and use it in GitHub Desktop.
Save jtimberman/859775 to your computer and use it in GitHub Desktop.
automate installation of Emacs.app
[Mon, 07 Mar 2011 20:38:02 -0700] INFO: Starting Chef Run (Version 0.9.14)
[Mon, 07 Mar 2011 20:40:02 -0700] INFO: remote_file[/Users/jtimberman/.chef/cache/Emacs.dmg]: Creating /Users/jtimberman/.chef/cache/Emacs.dmg
[Mon, 07 Mar 2011 20:40:04 -0700] INFO: Ran execute[hdid /Users/jtimberman/.chef/cache/Emacs.dmg] successfully
[Mon, 07 Mar 2011 20:40:08 -0700] INFO: Ran execute[cp -r '/Volumes/Emacs/Emacs.app' '/Applications'] successfully
[Mon, 07 Mar 2011 20:40:09 -0700] INFO: Ran execute[hdiutil detach '/Volumes/Emacs'] successfully
[Mon, 07 Mar 2011 20:40:22 -0700] INFO: Chef Run complete in 140.384327 seconds
[Mon, 07 Mar 2011 20:40:22 -0700] INFO: cleaning the checksum cache
[Mon, 07 Mar 2011 20:40:22 -0700] INFO: Running report handlers
[Mon, 07 Mar 2011 20:40:22 -0700] INFO: Report handlers complete
# Requires http://ckbk.it/dmg for the dmg_package resource.
dmg_package "Emacs" do
source "http://emacsformacosx.com/emacs-builds/Emacs-23.2-universal-10.6.3.dmg"
checksum "d51e85bc5c7bfa7d2cf28c249c17fa4733d53"
action :install
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment