summaryrefslogtreecommitdiff
path: root/provider_base/common.json
blob: 2313bd8b87e1228b2976b28b05ef6c6b3eaf86b5 (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
31
32
33
34
35
36
37
38
39
{
  "ip_address": null,
  "environment": null,
  "services": [],
  "tags": [],
  "domain": {
     "full_suffix": "= global.provider.domain",
     "internal_suffix": "= global.provider.domain_internal",
     "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": "= authorized_keys",
    "known_hosts": "=> known_hosts_file",
    "port": 22,
    "mosh": {
      "ports": "60000:61000",
      "enabled": false
    }
  },
  "hosts": "=> hosts_file",
  "x509": {
    "use": false,
    "cert": "= x509.use ? file(:node_x509_cert, :missing => 'x509 certificate for node $node. Run `leap cert update`') : nil",
    "key": "= x509.use ? file(:node_x509_key, :missing => 'x509 key for node $node. Run `leap cert update`') : nil",
    "ca_cert": "= try_file :ca_cert"
  },
  "service_type": "internal_service",
  "development": {
    "site_config": true
  },
  "name": "common",
  "location": null,
  "enabled": true
}