Created
June 20, 2013 17:47
-
-
Save pburkholder/5824933 to your computer and use it in GitHub Desktop.
Error from vagrant provision
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
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/.rspec in the cache. | |
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/.watchr in the cache. | |
[2013-06-20T17:33:56+00:00] INFO: Storing updated cookbooks/metachef/Gemfile in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/metadata.json in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/metadata.rb in the cache. | |
[2013-06-20T17:33:57+00:00] INFO: Storing updated cookbooks/metachef/README.md in the cache. | |
================================================================================ | |
Recipe Compile Error in /srv/chef/file_store/cookbooks/metachef/libraries/aspect.rb | |
================================================================================ | |
SyntaxError | |
----------- | |
/srv/chef/file_store/cookbooks/metachef/libraries/attr_struct.rb:21: syntax error, unexpected '=', expecting '|' | |
define_method(name) do |val=nil| | |
^ | |
/srv/chef/file_store/cookbooks/metachef/libraries/attr_struct.rb:160: syntax error, unexpected kEND, expecting $end | |
Cookbook Trace: | |
--------------- | |
/srv/chef/file_store/cookbooks/metachef/libraries/metachef.rb:9 | |
/srv/chef/file_store/cookbooks/metachef/libraries/aspect.rb:1 | |
Relevant File Content: | |
---------------------- | |
/srv/chef/file_store/cookbooks/metachef/libraries/metachef.rb: | |
2: | |
3: # $LOAD_PATH.unshift(File.expand_path('../../../lib'), File.dirname(__FILE__)) | |
4: # require 'cluster_chef/dsl_object' | |
5: | |
6: # | |
7: # Dependencies for metachef libraries | |
8: # | |
9>> require File.expand_path('attr_struct.rb', File.dirname(__FILE__)) | |
10: require File.expand_path('node_utils.rb', File.dirname(__FILE__)) | |
11: require File.expand_path('component.rb', File.dirname(__FILE__)) | |
12: require File.expand_path('aspect.rb', File.dirname(__FILE__)) | |
13: require File.expand_path('discovery.rb', File.dirname(__FILE__)) | |
14: | |
15: # require File.expand_path('aspects.rb', File.dirname(__FILE__)) | |
16: # require METACHEF_DIR("libraries/aspect") | |
17: # require METACHEF_DIR("libraries/aspects") | |
18: # require METACHEF_DIR("libraries/discovery") | |
[2013-06-20T17:33:57+00:00] ERROR: Running exception handlers | |
[2013-06-20T17:33:57+00:00] FATAL: Saving node information to /srv/chef/file_store/failed-run-data.json | |
[2013-06-20T17:33:57+00:00] ERROR: Exception handlers complete | |
[2013-06-20T17:33:58+00:00] FATAL: Stacktrace dumped to /srv/chef/file_store/chef-stacktrace.out | |
[2013-06-20T17:33:58+00:00] FATAL: SyntaxError: /srv/chef/file_store/cookbooks/metachef/libraries/attr_struct.rb:21: syntax error, unexpected '=', expecting '|' | |
define_method(name) do |val=nil| | |
^ | |
/srv/chef/file_store/cookbooks/metachef/libraries/attr_struct.rb:160: syntax error, unexpected kEND, expecting $end | |
Chef never successfully completed! Any errors should be visible in the | |
output above. Please fix your recipes so that they properly complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment