summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform.rb2
-rw-r--r--provider_base/provider.json4
2 files changed, 3 insertions, 3 deletions
diff --git a/platform.rb b/platform.rb
index c68aac86..60b0d9a5 100644
--- a/platform.rb
+++ b/platform.rb
@@ -4,7 +4,7 @@
Leap::Platform.define do
self.version = "0.2.4"
- self.compatible_cli = "1.2.3".."1.99"
+ self.compatible_cli = "1.2.4".."1.99"
#
# the facter facts that should be gathered
diff --git a/provider_base/provider.json b/provider_base/provider.json
index 84ef640e..5b335e8a 100644
--- a/provider_base/provider.json
+++ b/provider_base/provider.json
@@ -8,8 +8,8 @@
"en": "REQUIRED"
},
"contacts": {
- "default": "REQUIRED",
- "english": "= contacts.default.split('@').join(' at the domain ')"
+ "default": ["REQUIRED"],
+ "english": "= contacts.default.map {|email| email.split('@').join(' at the domain ')}.join(', ')"
},
"languages": ["en"],
"default_language": "en",