1 heat_template_version: 2013-05-23
4 Configures a cloud server with chef-solo
12 default: "mysql_stack"
16 default: "performance1-1"
20 default: "mysql_server"
24 default: "verybadpass123"
28 default: "mysql_database"
36 default: "verybadpass123"
44 default: "badprivatekey"
48 type: "Rackspace::Cloud::Server"
50 flavor: {get_param: mysql_server_flavor}
51 image: bba8bce7-403a-4dd6-80e7-0c40dcc7cd06 # Ubuntu 12.04 LTS (Precise Pangolin)
52 name: { get_param: mysql_server_name }
53 key_name: {get_param: keypair_name}
56 type: "OS::Heat::ChefSolo"
59 private_key: {get_param: private_key}
60 host: {get_attr: [mysql_server, accessIPv4]}
64 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
67 run_list: ["recipe[apt]"]
70 type: "OS::Heat::ChefSolo"
71 depends_on: update_apt
74 private_key: {get_param: private_key}
75 host: {get_attr: [mysql_server, accessIPv4]}
78 cookbook 'build-essential'
80 run_list: ["recipe[build-essential]"]
83 type: "OS::Heat::ChefSolo"
84 depends_on: install_make
87 private_key: {get_param: private_key}
88 host: {get_attr: [mysql_server, accessIPv4]}
91 cookbook 'build-essential'
92 cookbook 'chef-client'
93 cookbook 'chef-solo-search'
95 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
98 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
101 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
102 rel: 'checkmate-solo-mysql'
104 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
107 git: 'github_heat_cookbooks:rackerlabs/heat-cookbooks.git',
111 id: {get_param: stack_id}
113 server_root_password: {get_param: mysql_root_password}
115 "recipe[build-essential]",
117 "recipe[chef-solo-search]",
119 "recipe[mysql::server]",
121 "recipe[holland::common]",
122 "recipe[holland::mysqldump]",
128 id: {get_param: stack_id}
130 database_name: {get_param: database_name}
134 value: {get_param: private_key}