From fefab2386f0fbd9f218dc0b361eb833875c27f56 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 29 Dec 2013 22:16:03 -0800 Subject: added support for minimum client version checking --- provider_base/provider.json | 6 +++++- provider_base/services/webapp.json | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'provider_base') diff --git a/provider_base/provider.json b/provider_base/provider.json index 5b335e8a..8864e24d 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -50,5 +50,9 @@ "unlimited_prefix": "UNLIMITED" } }, - "hiera_sync_destination": "/etc/leap" + "hiera_sync_destination": "/etc/leap", + "client_version": { + "min": "0.5", + "max": null + } } diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json index ca7e7309..08c7c5b0 100644 --- a/provider_base/services/webapp.json +++ b/provider_base/services/webapp.json @@ -14,7 +14,8 @@ "git": { "source": "https://leap.se/git/leap_web", "revision": "origin/master" - } + }, + "client_version": "= global.provider.client_version" }, "stunnel": { "couch_client": "= stunnel_client(nodes_like_me[:services => :couchdb], global.services[:couchdb].couch.port)" -- cgit v1.2.3