diff options
Diffstat (limited to 'provider_base/common.json')
-rw-r--r-- | provider_base/common.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/provider_base/common.json b/provider_base/common.json new file mode 100644 index 00000000..e674edb6 --- /dev/null +++ b/provider_base/common.json @@ -0,0 +1,34 @@ +{ + "ip_address": 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": "= file :authorized_keys", + "known_hosts": "=> known_hosts_file", + "port": 22 + }, + "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" + }, + "local": false, + "production": false, + "service_type": "internal_service", + "development": { + "site_config": true + }, + "name": "common" +} |