summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/common.json6
-rw-r--r--provider_base/services/monitor.json6
2 files changed, 11 insertions, 1 deletions
diff --git a/provider_base/common.json b/provider_base/common.json
index b5d37f8e..8ffe8cd4 100644
--- a/provider_base/common.json
+++ b/provider_base/common.json
@@ -24,5 +24,9 @@
"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
+ "local": false,
+ "service_type": "internal_service",
+ "development": {
+ "site_config": true
+ }
}
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json
new file mode 100644
index 00000000..0a44ded1
--- /dev/null
+++ b/provider_base/services/monitor.json
@@ -0,0 +1,6 @@
+{
+ "nagios": {
+ "nagiosadmin_pw": "= secret :nagios_admin_password",
+ "hosts": "= nodes['production' => true].fields('domain.full', 'ip_address', 'services')"
+ }
+} \ No newline at end of file