Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
todos
Browse files Browse the repository at this point in the history
  • Loading branch information
mkocher committed Mar 23, 2012
1 parent ec83cd4 commit 7d78db7
Show file tree
Hide file tree
Showing 22 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions recipes/bash_profile-git_completion.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#TODO clean this up
include_recipe "pivotal_workstation::bash_profile"
GIT_COMP_PATH = "#{WS_HOME}/.bash_profile_includes/git-completion.sh"
GIT_COMP_SRC = "http://repo.or.cz/w/git.git/blob_plain/HEAD:/contrib/completion/git-completion.bash"
Expand Down
1 change: 1 addition & 0 deletions recipes/gem_no_rdoc_no_ri.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
content "install: --no-rdoc --no-ri\nupdate: --no-rdoc --no-ri\n"
end

#TODO use link resource
unless File.exists?("#{WS_HOME}/.gemrc")
execute "link .gemrc to /etc/gemrc" do
command "ln -s /etc/gemrc #{WS_HOME}/.gemrc"
Expand Down
2 changes: 2 additions & 0 deletions recipes/github_for_mac.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#TODO move to using the package resource

unless File.exists?(node["github_for_mac_app_path"])

remote_file "/tmp/github_for_mac.zip" do
Expand Down
2 changes: 2 additions & 0 deletions recipes/gitx.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#TODO - package resource

include_recipe "pivotal_workstation::user_owns_usr_local"

GITX_PATH = "/Applications/GitX.app"
Expand Down
2 changes: 2 additions & 0 deletions recipes/homebrew.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# should use file cache path so it persists after reboot

include_recipe "pivotal_workstation::user_owns_usr_local"
include_recipe "pivotal_workstation::bash_path_order"

Expand Down
2 changes: 2 additions & 0 deletions recipes/memcached.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo no marker file

include_recipe "pivotal_workstation::homebrew"

unless brew_installed? "memcached"
Expand Down
2 changes: 2 additions & 0 deletions recipes/menumeters.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo refactor to use notify

menu_meters_uri = "http://www.ragingmenace.com/software/download/MenuMeters.dmg"
menu_meters_dmg = Chef::Config[:file_cache_path] + "/MenuMeters.dmg"
menu_meters_mnt = "/Volumes/MenuMeters 1.5"
Expand Down
2 changes: 2 additions & 0 deletions recipes/mongodb.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo bad unless

include_recipe "pivotal_workstation::homebrew"

unless brew_installed? "mongodb"
Expand Down
1 change: 1 addition & 0 deletions recipes/nginx.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo - reduce or remove marker file
include_recipe "pivotal_workstation::homebrew"
include_recipe "pivotal_workstation::ssl_certificate"

Expand Down
2 changes: 2 additions & 0 deletions recipes/postgres.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo - clean up

include_recipe "pivotal_workstation::homebrew"

run_unless_marker_file_exists("postgres") do
Expand Down
1 change: 1 addition & 0 deletions recipes/remove_garageband.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo remove marker file
# This is obviously a destructive recipe.

run_unless_marker_file_exists("removed_garage_band") do
Expand Down
1 change: 1 addition & 0 deletions recipes/rubymine_preferences_pivotal.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo eliminate marker file
pivotal_rubymine_git_revision_hash = version_string_for("Pivotal-Preferences-RubyMine")
rubymine_version_string = version_string_for("RubyMine-VersionString")

Expand Down
1 change: 1 addition & 0 deletions recipes/rvm.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo marker file
include_recipe "pivotal_workstation::java"
include_recipe "pivotal_workstation::bash_profile"
include_recipe "pivotal_workstation::git"
Expand Down
1 change: 1 addition & 0 deletions recipes/safari_preferences.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo not it
execute "set safari to show status bar" do
command "defaults write com.apple.safari ShowStatusBar -bool YES"
user WS_USER
Expand Down
1 change: 1 addition & 0 deletions recipes/screen_sharing_app.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo marker file
unless File.exists?("/Applications/Screen Sharing.app")

ruby_block "Copy Screen Sharing to /Applications" do
Expand Down
1 change: 1 addition & 0 deletions recipes/set_finder_show_hd_on_desktop.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo not if
execute "show hard drive on desktop" do
command "defaults write com.apple.finder ShowHardDrivesOnDesktop -bool YES"
user WS_USER
Expand Down
1 change: 1 addition & 0 deletions recipes/set_multitouch_preferences.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo not if
execute "allow clicking by touch" do
command "defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking 1"
user WS_USER
Expand Down
1 change: 1 addition & 0 deletions recipes/set_screensaver_preferences.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo not if
execute "ask for password when screen is locked" do
command "defaults write com.apple.screensaver askForPassword -int 1"
user WS_USER
Expand Down
1 change: 1 addition & 0 deletions recipes/sizeup.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo no unless, use package
unless File.exists?("/Applications/SizeUp.app")

remote_file "/tmp/sizeup.zip" do
Expand Down
2 changes: 2 additions & 0 deletions recipes/terminal_focus.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo not if

execute "turn on focus-follows-mouse for terminal" do
command "defaults write com.apple.Terminal FocusFollowsMouse -string YES"
user WS_USER
Expand Down
1 change: 1 addition & 0 deletions recipes/terminal_preferences.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#todo not if
execute "set terminal color scheme" do
command "defaults write com.apple.Terminal 'Startup Window Settings' -string #{node['terminal']['color_scheme']}"
user WS_USER
Expand Down
2 changes: 2 additions & 0 deletions recipes/textmate.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#todo package

include_recipe "pivotal_workstation::user_owns_usr_local"

unless File.exists?("/Applications/TextMate.app")
Expand Down

0 comments on commit 7d78db7

Please sign in to comment.