Created
March 8, 2010 14:41
-
-
Save bradphelan/325208 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
ubuntu@ip-10-228-235-102:~$ cat /etc/chef/solo.rb | |
cookbook_path [ "/etc/chef/cookbooks", "/etc/chef/site-cookbooks"] | |
role_path "/etc/chef/roles" | |
log_level :info | |
ubuntu@ip-10-228-235-102:~$ cat /etc/chef/dna.json | |
{ | |
"run_list": [ | |
"role[server]" | |
] | |
ubuntu@ip-10-228-235-102:~$ cat /etc/chef/roles/server.json | |
{ | |
"chef_type": "role", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"poolparty": { | |
"parent_name": "service_bus", | |
"pool_info": { | |
"clouds": { | |
"server": [ | |
{ | |
"public_ip": "79.125.22.53", | |
"dns_name": "ec2-79-125-22-53.eu-west-1.compute.amazonaws.com", | |
"private_ip": "10.228.235.102" | |
} | |
] | |
} | |
}, | |
"name": "server" | |
}, | |
"service_bus": { | |
"couchdb_host": "79.125.22.53", | |
"amqp_host": "79.125.22.53" | |
} | |
}, | |
"recipes": [ | |
"aprico-gems", | |
"service_bus::server", | |
"service_bus::client" | |
], | |
"description": "PoolParty cloud", | |
"name": "server", | |
"json_class": "Chef::Role" | |
} |
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
sudo /var/lib/gems/1.8/bin/chef-solo -j /etc/chef/dna.json | |
doesn't seem to load server.json. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment