-
-
Save discentem/4b19b516ae1318f3008f79d06adef40d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brandons-mbp:chef Brandon$ sudo chef-client -z -j quickstart.json | |
[2016-11-29T11:42:02-05:00] WARN: No config file found or specified on command line, using command line options. | |
Starting Chef Client, version 12.13.30 | |
resolving cookbooks for run list: ["cpe_init"] | |
Synchronizing Cookbooks: | |
- cpe_user_customizations (0.0.1) | |
- cpe_node_customizations (0.0.1) | |
- cpe_init (0.1.0) | |
- cpe_utils (0.1.0) | |
- cpe_bluetooth (0.1.0) | |
- cpe_desktop (0.1.0) | |
- cpe_hosts (0.2.0) | |
- cpe_launchd (0.1.0) | |
- cpe_macos_server (0.1.0) | |
- cpe_munki (0.3.0) | |
- cpe_nightly_reboot (0.1.0) | |
- cpe_pathsd (0.1.0) | |
- cpe_powermanagement (0.1.0) | |
- cpe_preferencepanes (0.1.0) | |
- cpe_profiles (0.1.0) | |
- cpe_prompt_user (0.1.0) | |
- cpe_screensaver (0.1.0) | |
- cpe_spotlight (0.1.0) | |
- cpe_chrome (0.1.0) | |
- cpe_safari (0.0.1) | |
Installing Cookbook Gems: | |
Compiling Cookbooks... | |
/opt/chef/embedded/lib/ruby/2.1.0/Pathname.rb:21: warning: already initialized constant Pathname::TO_PATH | |
/opt/chef/embedded/lib/ruby/2.1.0/pathname.rb:21: warning: previous definition of TO_PATH was here | |
/opt/chef/embedded/lib/ruby/2.1.0/Pathname.rb:24: warning: already initialized constant Pathname::SAME_PATHS | |
/opt/chef/embedded/lib/ruby/2.1.0/pathname.rb:24: warning: previous definition of SAME_PATHS was here | |
/opt/chef/embedded/lib/ruby/2.1.0/Pathname.rb:36: warning: already initialized constant Pathname::SEPARATOR_LIST | |
/opt/chef/embedded/lib/ruby/2.1.0/pathname.rb:36: warning: previous definition of SEPARATOR_LIST was here | |
/opt/chef/embedded/lib/ruby/2.1.0/Pathname.rb:37: warning: already initialized constant Pathname::SEPARATOR_PAT | |
/opt/chef/embedded/lib/ruby/2.1.0/pathname.rb:37: warning: previous definition of SEPARATOR_PAT was here | |
Converging 21 resources | |
Recipe: cpe_bluetooth::default | |
* cpe_bluetooth[Configure Bluetooth Profile] action config (up to date) | |
Recipe: cpe_chrome::mac_os_x_chrome | |
* cpe_chrome[Configure Google Chrome] action config (up to date) | |
Recipe: cpe_desktop::default | |
* cpe_desktop[Apply Preference Desktop Wallpaper] action run (up to date) | |
Recipe: cpe_hosts::default | |
* cpe_hosts[Managing hosts file] action run | |
* file[/etc/hosts] action create (up to date) | |
(up to date) | |
Recipe: cpe_nightly_reboot::default | |
* cpe_nightly_reboot[Create nightly reboot] action run | |
* directory[/opt] action create (up to date) | |
* directory[/opt/chef] action create (up to date) | |
* directory[/opt/chef/scripts] action create (up to date) | |
* cookbook_file[/opt/chef/scripts/logout_bootstrap.py] action create (up to date) | |
(up to date) | |
Recipe: cpe_pathsd::default | |
* directory[/etc/paths.d/] action create (up to date) | |
* template[/etc/paths.d/cpe_pathsd] action create (up to date) | |
Recipe: cpe_safari::default | |
* cpe_safari[Configure Safari] action config (up to date) | |
Recipe: cpe_screensaver::default | |
* cpe_screensaver[Configure Screen Saver Profile] action config[2016-11-29T11:42:07-05:00] WARN: Screensaver idle time is too long! | |
(up to date) | |
Recipe: cpe_spotlight::default | |
* directory[/private/var/chef] action create (up to date) | |
* cpe_spotlight[Manage Spotlight exclusions] action run (up to date) | |
* cpe_spotlight[Clean up removed Spotlight exclusions] action clean_up (up to date) | |
Recipe: cpe_powermanagement::default | |
* cpe_powermanagement[Configure Power Management Profile] action config (up to date) | |
Recipe: cpe_preferencepanes::default | |
* cpe_preferencepanes[Configure PreferencePanes Profile] action config (up to date) | |
Recipe: cpe_munki::default | |
* cpe_munki_install[Install Munki] action install | |
================================================================================ | |
Error executing action `install` on resource 'cpe_munki_install[Install Munki]' | |
================================================================================ | |
NoMethodError | |
------------- | |
undefined method `[]' for nil:NilClass | |
Cookbook Trace: | |
--------------- | |
/Users/Brandon/.chef/local-mode-cache/cache/cookbooks/cpe_munki/resources/cpe_munki_install.rb:22:in `block in class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In /Users/Brandon/.chef/local-mode-cache/cache/cookbooks/cpe_munki/recipes/default.rb | |
16: cpe_munki_install 'Install Munki' | |
17: cpe_munki_config 'Manage Munki Settings' | |
Compiled Resource: | |
------------------ | |
# Declared in /Users/Brandon/.chef/local-mode-cache/cache/cookbooks/cpe_munki/recipes/default.rb:16:in `from_file' | |
cpe_munki_install("Install Munki") do | |
action [:install] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :cpe_munki_install | |
cookbook_name "cpe_munki" | |
recipe_name "default" | |
end | |
Platform: | |
--------- | |
x86_64-darwin13.0 | |
Running handlers: | |
[2016-11-29T11:42:07-05:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2016-11-29T11:42:07-05:00] ERROR: Exception handlers complete | |
Chef Client failed. 0 resources updated in 05 seconds | |
[2016-11-29T11:42:07-05:00] FATAL: Stacktrace dumped to /Users/Brandon/.chef/local-mode-cache/cache/chef-stacktrace.out | |
[2016-11-29T11:42:07-05:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report | |
[2016-11-29T11:42:07-05:00] ERROR: cpe_munki_install[Install Munki] (cpe_munki::default line 16) had an error: NoMethodError: undefined method `[]' for nil:NilClass | |
[2016-11-29T11:42:08-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment