summaryrefslogtreecommitdiff
path: root/test/provider/common.json
blob: 9e19836db2c6cae262d82f1576691986ae78b030 (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
#
# Options put here are inherited by all nodes.
#
{
  "domain": {
     "full_suffix": "rewire.co",
     "internal_suffix": "rewire",
     "full": "= node.name + '.' + domain.full_suffix",
     "internal": "= node.name + '.' + domain.internal_suffix",
     "name": "= node.name + '.' + (dns.public ? domain.full_suffix : domain.internal_suffix)"
  },
  "dns": {
    "public": "= service_type != 'internal_service'"
  },
  "ssh": {
    "authorized_keys": "= file :authorized_keys",
    "known_hosts": "= file :known_hosts",
    "port": 22
  }
  #"x509": {
  #  "use": false,
  #  "cert": "= x509.use ? file(:node_x509_cert) : nil",
  #  "key": "= x509.use ? file(:node_x509_key) : nil"
  #}
}