diff options
author | varac <varacanero@zeromail.org> | 2014-02-12 12:54:20 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-02-12 12:54:20 +0100 |
commit | 245ad19a443434196b897c9a2310e7507e925fcd (patch) | |
tree | cca6f9e0476dc7ad31a1c28a923d05f2d03e887e /provider_base | |
parent | 6255e58bf9ff3489bf2707bc2be9759ec5c7db68 (diff) | |
parent | 0b3e87cd6916d4ca4404fd2b375d21468d17f343 (diff) |
Merge remote-tracking branch 'elijah/feature/known_hosts' into 0.6
Conflicts:
provider_base/services/monitor.json
Diffstat (limited to 'provider_base')
-rw-r--r-- | provider_base/common.json | 1 | ||||
-rw-r--r-- | provider_base/services/monitor.json | 9 |
2 files changed, 8 insertions, 2 deletions
diff --git a/provider_base/common.json b/provider_base/common.json index 07a45972..07a58bba 100644 --- a/provider_base/common.json +++ b/provider_base/common.json @@ -16,7 +16,6 @@ }, "ssh": { "authorized_keys": "= authorized_keys", - "known_hosts": "=> known_hosts_file", "port": 22, "mosh": { "ports": "60000:61000", diff --git a/provider_base/services/monitor.json b/provider_base/services/monitor.json index 142a4b5e..5656fe80 100644 --- a/provider_base/services/monitor.json +++ b/provider_base/services/monitor.json @@ -1,7 +1,14 @@ { "nagios": { "nagiosadmin_pw": "= secret :nagios_admin_password", - "hosts": "= nodes_like_me.pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')" + "hosts": "= nodes_like_me[:services => '!monitor'].pick_fields('domain.internal', 'ip_address', 'services', 'openvpn.gateway_address')" + }, + "hosts": "= hosts_file(nodes_like_me[:services => '!monitor'])", + "ssh": { + "monitor": { + "username": "= Leap::Platform.monitor_username", + "private_key": "= file(:monitor_priv_key)" + } }, "x509": { "use": true, |