tommyh / solo_wizard

Bootstrap your OS-X machine with a one liner using chef soloist.
http://www.solowizard.com
MIT License
82 stars 12 forks source link

Error Running active_corners recipe #8

Open bearlake opened 11 years ago

bearlake commented 11 years ago

Output:

Building native extensions. This could take a while... [Version 0.7.8] test suite cleanup (eliminated some race conditions related to queue.message_count) Building native extensions. This could take a while... Successfully installed mixlib-config-1.1.2 Successfully installed mixlib-cli-1.2.2 Successfully installed mixlib-log-1.4.1 Successfully installed mixlib-authentication-1.3.0 Successfully installed mixlib-shellout-1.1.0 Successfully installed systemu-2.5.2 Successfully installed yajl-ruby-1.1.0 Successfully installed ipaddress-0.8.0 Successfully installed ohai-6.14.0 Successfully installed mime-types-1.19 Successfully installed rest-client-1.6.7 Successfully installed bunny-0.7.9 Successfully installed json-1.6.1 Successfully installed polyglot-0.3.3 Successfully installed treetop-1.4.12 Successfully installed net-ssh-2.2.2 Successfully installed net-ssh-gateway-1.1.0 Successfully installed net-ssh-multi-1.1 Successfully installed highline-1.6.15 Successfully installed moneta-0.6.0 Successfully installed erubis-2.7.0 Successfully installed uuidtools-2.1.3 Successfully installed chef-10.16.4 Successfully installed soloist-0.9.7 24 gems installed Installing ri documentation for mixlib-config-1.1.2... Installing ri documentation for mixlib-cli-1.2.2... Unrecognized directive 'short' in README.rdoc Unrecognized directive 'long' in README.rdoc Unrecognized directive 'description' in README.rdoc Unrecognized directive 'default' in README.rdoc Unrecognized directive 'required' in README.rdoc Unrecognized directive 'on' in README.rdoc Unrecognized directive 'boolean' in README.rdoc Unrecognized directive 'show_options' in README.rdoc Unrecognized directive 'exit' in README.rdoc Unrecognized directive 'proc' in README.rdoc Installing ri documentation for mixlib-log-1.4.1... Installing ri documentation for mixlib-authentication-1.3.0... Installing ri documentation for mixlib-shellout-1.1.0... Installing ri documentation for systemu-2.5.2... Installing ri documentation for yajl-ruby-1.1.0... Installing ri documentation for ipaddress-0.8.0... Installing ri documentation for ohai-6.14.0... Installing ri documentation for mime-types-1.19... Installing ri documentation for rest-client-1.6.7... Installing ri documentation for bunny-0.7.9... Installing ri documentation for json-1.6.1... Installing ri documentation for polyglot-0.3.3... Installing ri documentation for treetop-1.4.12... Installing ri documentation for net-ssh-2.2.2... Installing ri documentation for net-ssh-gateway-1.1.0... Installing ri documentation for net-ssh-multi-1.1... Installing ri documentation for highline-1.6.15... Installing ri documentation for moneta-0.6.0... Installing ri documentation for erubis-2.7.0... Installing ri documentation for uuidtools-2.1.3... Installing ri documentation for chef-10.16.4... Installing ri documentation for soloist-0.9.7... Installing RDoc documentation for mixlib-config-1.1.2... Installing RDoc documentation for mixlib-cli-1.2.2... Unrecognized directive 'short' in README.rdoc Unrecognized directive 'long' in README.rdoc Unrecognized directive 'description' in README.rdoc Unrecognized directive 'default' in README.rdoc Unrecognized directive 'required' in README.rdoc Unrecognized directive 'on' in README.rdoc Unrecognized directive 'boolean' in README.rdoc Unrecognized directive 'show_options' in README.rdoc Unrecognized directive 'exit' in README.rdoc Unrecognized directive 'proc' in README.rdoc Installing RDoc documentation for mixlib-log-1.4.1... Installing RDoc documentation for mixlib-authentication-1.3.0... Installing RDoc documentation for mixlib-shellout-1.1.0... Installing RDoc documentation for systemu-2.5.2... Installing RDoc documentation for yajl-ruby-1.1.0... Installing RDoc documentation for ipaddress-0.8.0... Installing RDoc documentation for ohai-6.14.0... Installing RDoc documentation for mime-types-1.19... Installing RDoc documentation for rest-client-1.6.7... Installing RDoc documentation for bunny-0.7.9... Could not find main page README.rdoc Could not find main page README.rdoc Could not find main page README.rdoc Could not find main page README.rdoc Installing RDoc documentation for json-1.6.1... Installing RDoc documentation for polyglot-0.3.3... Installing RDoc documentation for treetop-1.4.12... Installing RDoc documentation for net-ssh-2.2.2... Installing RDoc documentation for net-ssh-gateway-1.1.0... Installing RDoc documentation for net-ssh-multi-1.1... Installing RDoc documentation for highline-1.6.15... Could not find main page README Could not find main page README Could not find main page README Could not find main page README Installing RDoc documentation for moneta-0.6.0... Installing RDoc documentation for erubis-2.7.0... Installing RDoc documentation for uuidtools-2.1.3... Installing RDoc documentation for chef-10.16.4... Installing RDoc documentation for soloist-0.9.7... Cloning into 'pivotalworkstation'... remote: Counting objects: 4757, done. remote: Compressing objects: 100% (1778/1778), done. remote: Total 4757 (delta 2920), reused 4515 (delta 2731) Receiving objects: 100% (4757/4757), 876.85 KiB | 932 KiB/s, done. Resolving deltas: 100% (2920/2920), done. Cloning into 'dmg'... remote: Counting objects: 102, done. remote: Compressing objects: 100% (53/53), done. remote: Total 102 (delta 51), reused 82 (delta 31) Receiving objects: 100% (102/102), 19.69 KiB | 13 KiB/s, done. Resolving deltas: 100% (51/51), done. running chef: sudo bash -c 'PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin chef-solo -j /var/folders/9/pzbfkpv119dk6xkp5xsnn8c0000gn/T/soloist20130108-976-ks2glr-0 -c /var/folders/9/pzbfkpv11_9dk6xkp5xsnn8c0000gn/T/soloist20130108-976-1h39btn-0 -l info' [2013-01-08T20:11:33-05:00] INFO: * Chef 10.16.4 * [2013-01-08T20:11:36-05:00] INFO: Setting the run_list to ["pivotal_workstation::ack", "pivotal_workstation::active_corners", "pivotal_workstation::add_ops_user", "pivotal_workstation::bash_path_order", "pivotal_workstation::bash_profile-aliases", "pivotal_workstation::bash_profile-better_history", "pivotal_workstation::bash_profile-ctrl-o", "pivotal_workstation::bash_profile-git_completion", "pivotal_workstation::bash_profile-lang_en", "pivotal_workstation::bash_profile-no_sudo_gem_install", "pivotal_workstation::bash_profile-ps1", "pivotal_workstation::ca_certs_to_match_heroku", "pivotal_workstation::ccmenu", "pivotal_workstation::chrome", "pivotal_workstation::create_var_chef_cache", "pivotal_workstation::defaults_fast_key_repeat_rate", "pivotal_workstation::default_editor", "pivotal_workstation::disable_front_row", "pivotal_workstation::dock_preferences", "pivotal_workstation::dropbox", "pivotal_workstation::ec2_api_tools", "pivotal_workstation::enable_assistive_devices", "pivotal_workstation::finder_display_full_path", "pivotal_workstation::firefox", "pivotal_workstation::flycut", "pivotal_workstation::freeruler", "pivotal_workstation::function_keys", "pivotal_workstation::gem_no_rdoc_no_ri", "pivotal_workstation::git", "pivotal_workstation::github_for_mac", "pivotal_workstation::gitx", "pivotal_workstation::git_config_global_defaults", "pivotal_workstation::git_projects", "pivotal_workstation::git_scripts", "pivotal_workstation::global_environment_variables", "pivotal_workstation::grid", "pivotal_workstation::homebrew", "pivotal_workstation::imagemagick", "pivotal_workstation::increase_shared_memory", "pivotal_workstation::inputrc", "pivotal_workstation::input_on_login", "pivotal_workstation::iterm2", "pivotal_workstation::java", "pivotal_workstation::joe", "pivotal_workstation::jumpcut", "pivotal_workstation::keyboard_preferences", "pivotal_workstation::keycastr", "pivotal_workstation::libreoffice", "pivotal_workstation::locate_on", "pivotal_workstation::memcached", "pivotal_workstation::menubar_preferences", "pivotal_workstation::menumeters", "pivotal_workstation::mongodb", "pivotal_workstation::mouse_locator", "pivotal_workstation::mysql", "pivotal_workstation::nginx", "pivotal_workstation::node_js", "pivotal_workstation::oh_my_zsh", "pivotal_workstation::osx_updates", "pivotal_workstation::postgres", "pivotal_workstation::qt", "pivotal_workstation::rabbitmq", "pivotal_workstation::rbenv", "pivotal_workstation::redis", "pivotal_workstation::remove_expose_keyboard_shortcuts", "pivotal_workstation::remove_garageband", "pivotal_workstation::rubymine", "pivotal_workstation::rubymine_preferences_pivotal", "pivotal_workstation::rvm", "pivotal_workstation::safari_preferences", "pivotal_workstation::screen_sharing_app", "pivotal_workstation::screen_sharing_on", "pivotal_workstation::selenium_webdriver", "pivotal_workstation::set_finder_show_all_hd_on_desktop", "pivotal_workstation::set_finder_show_hd_on_desktop", "pivotal_workstation::set_finder_show_user_home_in_sidebar", "pivotal_workstation::set_multitouch_preferences", "pivotal_workstation::set_screensaver_preferences", "pivotal_workstation::shiftit", "pivotal_workstation::sizeup", "pivotal_workstation::skype", "pivotal_workstation::solr", "pivotal_workstation::sshd_on", "pivotal_workstation::ssh_copy_id", "pivotal_workstation::ssl_certificate", "pivotal_workstation::sublime_text", "pivotal_workstation::terminal_focus", "pivotal_workstation::terminal_preferences", "pivotal_workstation::textmate", "pivotal_workstation::textmate_bundles", "pivotal_workstation::textmate_preferences", "pivotal_workstation::timemachine_preferences", "pivotal_workstation::tmux", "pivotal_workstation::unix_essentials", "pivotal_workstation::user_owns_usr_local", "pivotal_workstation::vagrant", "pivotal_workstation::vim", "pivotal_workstation::virtualbox", "pivotal_workstation::window_focus", "pivotal_workstation::workspace_directory", "pivotal_workstation::xquartz", "pivotal_workstation::zsh"] from JSON [2013-01-08T20:11:36-05:00] INFO: Run List is [recipe[pivotal_workstation::ack], recipe[pivotal_workstation::active_corners], recipe[pivotal_workstation::add_ops_user], recipe[pivotal_workstation::bash_path_order], recipe[pivotal_workstation::bash_profile-aliases], recipe[pivotal_workstation::bash_profile-better_history], recipe[pivotal_workstation::bash_profile-ctrl-o], recipe[pivotal_workstation::bash_profile-git_completion], recipe[pivotal_workstation::bash_profile-lang_en], recipe[pivotal_workstation::bash_profile-no_sudo_gem_install], recipe[pivotal_workstation::bash_profile-ps1], recipe[pivotal_workstation::ca_certs_to_match_heroku], recipe[pivotal_workstation::ccmenu], recipe[pivotal_workstation::chrome], recipe[pivotal_workstation::create_var_chef_cache], recipe[pivotal_workstation::defaults_fast_key_repeat_rate], recipe[pivotal_workstation::default_editor], recipe[pivotal_workstation::disable_front_row], recipe[pivotal_workstation::dock_preferences], recipe[pivotal_workstation::dropbox], recipe[pivotal_workstation::ec2_api_tools], recipe[pivotal_workstation::enable_assistive_devices], recipe[pivotal_workstation::finder_display_full_path], recipe[pivotal_workstation::firefox], recipe[pivotal_workstation::flycut], recipe[pivotal_workstation::freeruler], recipe[pivotal_workstation::function_keys], recipe[pivotal_workstation::gem_no_rdoc_no_ri], recipe[pivotal_workstation::git], recipe[pivotal_workstation::github_for_mac], recipe[pivotal_workstation::gitx], recipe[pivotal_workstation::git_config_global_defaults], recipe[pivotal_workstation::git_projects], recipe[pivotal_workstation::git_scripts], recipe[pivotal_workstation::global_environment_variables], recipe[pivotal_workstation::grid], recipe[pivotal_workstation::homebrew], recipe[pivotal_workstation::imagemagick], recipe[pivotal_workstation::increase_shared_memory], recipe[pivotal_workstation::inputrc], recipe[pivotal_workstation::input_on_login], recipe[pivotal_workstation::iterm2], recipe[pivotal_workstation::java], recipe[pivotal_workstation::joe], recipe[pivotal_workstation::jumpcut], recipe[pivotal_workstation::keyboard_preferences], recipe[pivotal_workstation::keycastr], recipe[pivotal_workstation::libreoffice], recipe[pivotal_workstation::locate_on], recipe[pivotal_workstation::memcached], recipe[pivotal_workstation::menubar_preferences], recipe[pivotal_workstation::menumeters], recipe[pivotal_workstation::mongodb], recipe[pivotal_workstation::mouse_locator], recipe[pivotal_workstation::mysql], recipe[pivotal_workstation::nginx], recipe[pivotal_workstation::node_js], recipe[pivotal_workstation::oh_my_zsh], recipe[pivotal_workstation::osx_updates], recipe[pivotal_workstation::postgres], recipe[pivotal_workstation::qt], recipe[pivotal_workstation::rabbitmq], recipe[pivotal_workstation::rbenv], recipe[pivotal_workstation::redis], recipe[pivotal_workstation::remove_expose_keyboard_shortcuts], recipe[pivotal_workstation::remove_garageband], recipe[pivotal_workstation::rubymine], recipe[pivotal_workstation::rubymine_preferences_pivotal], recipe[pivotal_workstation::rvm], recipe[pivotal_workstation::safari_preferences], recipe[pivotal_workstation::screen_sharing_app], recipe[pivotal_workstation::screen_sharing_on], recipe[pivotal_workstation::selenium_webdriver], recipe[pivotal_workstation::set_finder_show_all_hd_on_desktop], recipe[pivotal_workstation::set_finder_show_hd_on_desktop], recipe[pivotal_workstation::set_finder_show_user_home_in_sidebar], recipe[pivotal_workstation::set_multitouch_preferences], recipe[pivotal_workstation::set_screensaver_preferences], recipe[pivotal_workstation::shiftit], recipe[pivotal_workstation::sizeup], recipe[pivotal_workstation::skype], recipe[pivotal_workstation::solr], recipe[pivotal_workstation::sshd_on], recipe[pivotal_workstation::ssh_copy_id], recipe[pivotal_workstation::ssl_certificate], recipe[pivotal_workstation::sublime_text], recipe[pivotal_workstation::terminal_focus], recipe[pivotal_workstation::terminal_preferences], recipe[pivotal_workstation::textmate], recipe[pivotal_workstation::textmate_bundles], recipe[pivotal_workstation::textmate_preferences], recipe[pivotal_workstation::timemachine_preferences], recipe[pivotal_workstation::tmux], recipe[pivotal_workstation::unix_essentials], recipe[pivotal_workstation::user_owns_usr_local], recipe[pivotal_workstation::vagrant], recipe[pivotal_workstation::vim], recipe[pivotal_workstation::virtualbox], recipe[pivotal_workstation::window_focus], recipe[pivotal_workstation::workspace_directory], recipe[pivotal_workstation::xquartz], recipe[pivotal_workstation::zsh]] [2013-01-08T20:11:36-05:00] INFO: Run List expands to [pivotal_workstation::ack, pivotal_workstation::active_corners, pivotal_workstation::add_ops_user, pivotal_workstation::bash_path_order, pivotal_workstation::bash_profile-aliases, pivotal_workstation::bash_profile-better_history, pivotal_workstation::bash_profile-ctrl-o, pivotal_workstation::bash_profile-git_completion, pivotal_workstation::bash_profile-lang_en, pivotal_workstation::bash_profile-no_sudo_gem_install, pivotal_workstation::bash_profile-ps1, pivotal_workstation::ca_certs_to_match_heroku, pivotal_workstation::ccmenu, pivotal_workstation::chrome, pivotal_workstation::create_var_chef_cache, pivotal_workstation::defaults_fast_key_repeat_rate, pivotal_workstation::default_editor, pivotal_workstation::disable_front_row, pivotal_workstation::dock_preferences, pivotal_workstation::dropbox, pivotal_workstation::ec2_api_tools, pivotal_workstation::enable_assistive_devices, pivotal_workstation::finder_display_full_path, pivotal_workstation::firefox, pivotal_workstation::flycut, pivotal_workstation::freeruler, pivotal_workstation::function_keys, pivotal_workstation::gem_no_rdoc_no_ri, pivotal_workstation::git, pivotal_workstation::github_for_mac, pivotal_workstation::gitx, pivotal_workstation::git_config_global_defaults, pivotal_workstation::git_projects, pivotal_workstation::git_scripts, pivotal_workstation::global_environment_variables, pivotal_workstation::grid, pivotal_workstation::homebrew, pivotal_workstation::imagemagick, pivotal_workstation::increase_shared_memory, pivotal_workstation::inputrc, pivotal_workstation::input_on_login, pivotal_workstation::iterm2, pivotal_workstation::java, pivotal_workstation::joe, pivotal_workstation::jumpcut, pivotal_workstation::keyboard_preferences, pivotal_workstation::keycastr, pivotal_workstation::libreoffice, pivotal_workstation::locate_on, pivotal_workstation::memcached, pivotal_workstation::menubar_preferences, pivotal_workstation::menumeters, pivotal_workstation::mongodb, pivotal_workstation::mouse_locator, pivotal_workstation::mysql, pivotal_workstation::nginx, pivotal_workstation::node_js, pivotal_workstation::oh_my_zsh, pivotal_workstation::osx_updates, pivotal_workstation::postgres, pivotal_workstation::qt, pivotal_workstation::rabbitmq, pivotal_workstation::rbenv, pivotal_workstation::redis, pivotal_workstation::remove_expose_keyboard_shortcuts, pivotal_workstation::remove_garageband, pivotal_workstation::rubymine, pivotal_workstation::rubymine_preferences_pivotal, pivotal_workstation::rvm, pivotal_workstation::safari_preferences, pivotal_workstation::screen_sharing_app, pivotal_workstation::screen_sharing_on, pivotal_workstation::selenium_webdriver, pivotal_workstation::set_finder_show_all_hd_on_desktop, pivotal_workstation::set_finder_show_hd_on_desktop, pivotal_workstation::set_finder_show_user_home_in_sidebar, pivotal_workstation::set_multitouch_preferences, pivotal_workstation::set_screensaver_preferences, pivotal_workstation::shiftit, pivotal_workstation::sizeup, pivotal_workstation::skype, pivotal_workstation::solr, pivotal_workstation::sshd_on, pivotal_workstation::ssh_copy_id, pivotal_workstation::ssl_certificate, pivotal_workstation::sublime_text, pivotal_workstation::terminal_focus, pivotal_workstation::terminal_preferences, pivotal_workstation::textmate, pivotal_workstation::textmate_bundles, pivotal_workstation::textmate_preferences, pivotal_workstation::timemachine_preferences, pivotal_workstation::tmux, pivotal_workstation::unix_essentials, pivotal_workstation::user_owns_usr_local, pivotal_workstation::vagrant, pivotal_workstation::vim, pivotal_workstation::virtualbox, pivotal_workstation::window_focus, pivotal_workstation::workspace_directory, pivotal_workstation::xquartz, pivotal_workstation::zsh] [2013-01-08T20:11:36-05:00] INFO: Starting Chef Run for Jonathans-MacBook-Pro.local [2013-01-08T20:11:36-05:00] INFO: Running start handlers [2013-01-08T20:11:36-05:00] INFO: Start handlers complete.

Recipe Compile Error in /Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb

SyntaxError

compile error /Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:2: odd number list for Hash desktop: 4, ^ /Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:2: syntax error, unexpected ':', expecting '}' desktop: 4, ^

Cookbook Trace:

/Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:2:in `from_file'

Relevant File Content:

/Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:

1: active_corner_value_to_int = { 2>> desktop: 4, 3: dashboard: 7, 4: mission_control: 2, 5: application_windows: 3, 6: launchpad: 11, 7: start_screen_saver: 5, 8: disable_screen_saver: 6, 9: put_display_to_sleep: 10, 10: noop: 0 11: }

[2013-01-08T20:11:37-05:00] ERROR: Running exception handlers [2013-01-08T20:11:37-05:00] ERROR: Exception handlers complete [2013-01-08T20:11:37-05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2013-01-08T20:11:37-05:00] FATAL: SyntaxError: compile error /Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:2: odd number list for Hash desktop: 4, ^ /Users/username/cookbooks/pivotal_workstation/recipes/active_corners.rb:2: syntax error, unexpected ':', expecting '}' desktop: 4, ^ ~