summaryrefslogtreecommitdiff
path: root/provider_base
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base')
-rw-r--r--provider_base/common.json3
-rw-r--r--provider_base/services/monitor.json2
-rw-r--r--provider_base/tags/production.json3
3 files changed, 6 insertions, 2 deletions
diff --git a/provider_base/common.json b/provider_base/common.json
index 8ffe8cd4..8e4dc6e7 100644
--- a/provider_base/common.json
+++ b/provider_base/common.json
@@ -25,8 +25,9 @@
"ca_cert": "= try_file :ca_cert"
},
"local": false,
+ "production": false,
"service_type": "internal_service",
"development": {
- "site_config": true
+ "site_config": true
}
}
diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json
index 09972308..f5e4d922 100644
--- a/provider_base/services/monitor.json
+++ b/provider_base/services/monitor.json
@@ -1,6 +1,6 @@
{
"nagios": {
"nagiosadmin_pw": "= secret :nagios_admin_password",
- "hosts": "= nodes['production' => true].fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')"
+ "hosts": "= nodes_like_me.fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')"
}
}
diff --git a/provider_base/tags/production.json b/provider_base/tags/production.json
new file mode 100644
index 00000000..b35c0650
--- /dev/null
+++ b/provider_base/tags/production.json
@@ -0,0 +1,3 @@
+{
+ "production": true
+} \ No newline at end of file