-
-
Save johnskopis/8993586 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
================================================================================ | |
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb | |
================================================================================ | |
NoMethodError | |
------------- | |
No resource or method named `file' for `Chef::Recipe "rabbitmq"' | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb:41:in `block in from_file' | |
/tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb:37:in `each' | |
/tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb:37:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb: | |
34: | |
35: %w[ | |
36: cacert | |
37: cert | |
38: key | |
39: ].each do |item| | |
40: path = File.join(ssl_directory, "#{item}.pem") | |
41>> file path do | |
42: content ssl["server"][item] | |
43: group "rabbitmq" | |
44: mode 0640 | |
45: end | |
46: node.override.rabbitmq["ssl_#{item}"] = path | |
47: end | |
48: end | |
49: | |
50: service "restart #{node.rabbitmq.service_name}" do | |
Running handlers: | |
[2014-02-14T01:17:47+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2014-02-14T01:17:47+00:00] ERROR: Exception handlers complete | |
[2014-02-14T01:17:47+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment