summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-archive-launch-index.txt
blob: e2ac28694e583374045e47d1a1118d7da84d29a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#cloud-config-archive

# This is an example of a cloud archive
# format which includes a set of launch indexes
# that will be filtered on (thus only showing
# up in instances with that launch index), this
# is done by adding the 'launch-index' key which
# maps to the integer 'launch-index' that the 
# corresponding content should be used with.
#
# It is possible to leave this value out which
# will mean that the content will be applicable
# for all instances

- type: foo/wark
  filename: bar
  content: |
    This is my payload
    hello
  launch-index: 1  # I will only be used on launch-index 1
- this is also payload
- |
  multi line payload
  here
-
  type: text/upstart-job
  filename: my-upstart.conf
  content: |
   whats this, yo?
  launch-index: 0 # I will only be used on launch-index 0