Created
May 29, 2013 22:09
-
-
Save khouse/5674232 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
"deploy": { | |
"cloudcommander": { | |
"migrate_command": "", | |
"symlink_before_migrate": { | |
"config/AMConfig.properties": "WEB-INF/classes/AMConfig.properties", | |
"config/config.groovy": "WEB-INF/config.groovy" | |
}, | |
"migrate": false, | |
"group": "tomcat6" | |
} | |
}, | |
vagrant: | |
chef.json = { :aiq => { :version => "1.9.8" }, | |
:service => { :webserver => 'nginx', | |
:pod_name => 'dev', | |
:use_open_sso => false, | |
:sso_domain_name => sso_domain_name, | |
:sso_passphrase => sso_passphrase, | |
:aiq_domain_name => aiq_domain_name, | |
:mysql_host => '10.10.10.30', | |
:mysql_password => mysql_password, | |
:db_ssl_connection => false, | |
:ssl_key_name => "vagrant_wildcard.cloud.sailpoint.com" }, | |
"tomcat" => { "redis" => false, "java_options" => "-Djava.awt.headless=true -Xmx384M -XX:MaxPermSize=144m" }, | |
"users" => [ ], | |
:deploy => { :user => 'ubuntu', :group => 'tomcat6', }, | |
"zookeeper"=> { "server_list"=> ["10.10.10.70"] } }.merge(aws_credentials) | |
chef.add_recipe "build-essential" | |
chef.add_role "aiq_vagrant" | |
#chef.log_level = :debug | |
end | |
================================================================================ | |
Recipe Compile Error in /tmp/vagrant-chef-1/chef-solo-2/cookbooks/aiq/recipes/vagrant.rb | |
================================================================================ | |
NameError | |
--------- | |
Cannot find a resource for opsworks_deploy_dir on ubuntu version 12.04 | |
Cookbook Trace: | |
--------------- | |
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/aiq/recipes/deploy.rb:19:in `from_file' | |
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/aiq/recipes/deploy.rb:12:in `from_file' | |
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/aiq/recipes/vagrant.rb:3:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/tmp/vagrant-chef-1/chef-solo-2/cookbooks/aiq/recipes/deploy.rb: | |
12: node[:deploy].each do |application, deploy| | |
13: | |
14: # if deploy[:application_type] != 'rails' | |
15: # Chef::Log.debug("Skipping deploy::rails application #{application} as it is not an Rails app") | |
16: # next | |
17: # end | |
18: | |
19>> opsworks_deploy_dir do | |
20: user deploy[:user] | |
21: group deploy[:group] | |
22: path deploy[:deploy_to] | |
23: end | |
24: | |
25: opsworks_deploy do | |
26: deploy_data deploy | |
27: app application | |
28: end | |
[Wed, 29 May 2013 22:02:04 +0000] ERROR: Running exception handlers | |
[Wed, 29 May 2013 22:02:04 +0000] ERROR: Exception handlers complete | |
[Wed, 29 May 2013 22:02:04 +0000] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out | |
[Wed, 29 May 2013 22:02:04 +0000] FATAL: NameError: Cannot find a resource for opsworks_deploy_dir on ubuntu version 12.04 | |
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