knife-softlayer 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -68,6 +68,7 @@ class Chef
|
|
68
68
|
option :bill_monthly,
|
69
69
|
:long => '--bill-monthly',
|
70
70
|
:description => 'Flag to bill monthly instead of hourly, minimum charge of one month.',
|
71
|
+
:boolean => true,
|
71
72
|
:default => false
|
72
73
|
|
73
74
|
option :single_tenant,
|
@@ -241,7 +242,7 @@ class Chef
|
|
241
242
|
@template['domain'] = config[:domain]
|
242
243
|
@template['dedicatedAccountHostOnlyFlag'] = config[:single_tenant]
|
243
244
|
@template['operatingSystemReferenceCode'] = config[:os_code]
|
244
|
-
@template['hourlyBillingFlag'] = config[:bill_monthly]
|
245
|
+
@template['hourlyBillingFlag'] = !config[:bill_monthly]
|
245
246
|
@template['networkComponents'] = [{ 'maxSpeed' => config[:nic]}]
|
246
247
|
|
247
248
|
@template['datacenter'] = { 'name' => config[:datacenter] } if config[:datacenter]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-softlayer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: softlayer_api
|