summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-datasources.txt
blob: f147aaf673cd4bddd586ba79e9e8b20f7273c1cf (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
# Documentation on data sources configuration options
datasource:
  # Ec2 
  Ec2:
    # timeout: the timeout value for a request at metadata service
    timeout : 50
    # The length in seconds to wait before giving up on the metadata
    # service.  The actual total wait could be up to 
    #   len(resolvable_metadata_urls)*timeout
    max_wait : 120

    #metadata_url: a list of URLs to check for metadata services
    metadata_urls:
     - http://169.254.169.254:80
     - http://instance-data:8773

  MaaS:
    timeout : 50
    max_wait : 120

    # there are no default values for metadata_url or credentials
    # credentials are for oath.

    # If no credentials are present,
    # then non-authed attempts will be made.
    # will be made
    metadata_url: http://mass-host.localdomain/source
    consumer_key: Xh234sdkljf
    token_key: kjfhgb3n
    token_secret: 24uysdfx1w4