update comment in the template
[heat-templates.git] / qa / cloud_networks.template
blobe54859866c67ea4fec80ef81c842c4a404789167
1 heat_template_version: 2013-05-23
3 description: |
4   Example template that creates a Cloud Server attached to a Cloud Network
6 resources:
8   server1:
9     type: Rackspace::Cloud::Server
10     properties:
11       name: rtb-cnw-example-srvr
12       image: 2936a16d-ee01-452c-a6ab-7117df5196f8  # Ubuntu 13.10 (Saucy Salamander)
13       flavor: 1GB Standard Instance
14       key_name: rtb-key3
15       networks:
16       - uuid: "00000000-0000-0000-0000-000000000000"
17       - uuid: "11111111-1111-1111-1111-111111111111"
18       - uuid: { get_resource: mynet }
19       config_drive: "true"
20       user_data_format: RAW
21       user_data: |
22         #cloud-config
23         cloud_config_modules:
24          - chef
25         chef: 
26           force_install: false
27           install_type: omnibus
28           run_list: 
29            - "recipe[elasticsearch-rolebook]"
30           server_url: "https://manage.opscode.com/organizations/1824145-rackops"
31           validation_key: |
32             -----BEGIN RSA PRIVATE KEY-----
33             <removed>
34             -----END RSA PRIVATE KEY-----
35           validation_name: 1824145-rackops-validator
36           manage_etc_hosts: true
37           output: {all: "| tee -a /var/log/cloud-init-output.log"}
39   mynet:
40     type: Rackspace::Cloud::Network
41     properties:
42       label: rtb-example-net
43       cidr: 172.16.0.0/24
44