knife-softlayer 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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]
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Knife
9
9
  module Softlayer
10
- VERSION = "0.0.4"
10
+ VERSION = "0.0.5"
11
11
  end
12
12
  end
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
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-14 00:00:00.000000000 Z
12
+ date: 2014-04-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: softlayer_api