knife-softlayer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,12 @@
4
4
 
5
5
  None.
6
6
 
7
- ## Last release: 0.0.2 (2014-04-8)
7
+ ## Last release: 0.0.3 (2014-04-10)
8
8
 
9
- * Alpha release.
9
+ * 0.0.3
10
+ * Update `softlayer_api` dependency to ~> v1.0.8.
11
+ * Declare specific user agent string.
12
+
13
+ * 0.0.2 Alpha release.
10
14
  * Can create and bootstrap a SoftLayer VM, destroy the VM, chef client and chef node.
11
15
  * Support for global IP address creation and assignment.
data/README.md CHANGED
@@ -16,6 +16,22 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install knife-softlayer
18
18
 
19
+ ## Configuration
20
+ Add your SoftLayer username and API key to your `knife.rb` file.
21
+
22
+ ```ruby
23
+ log_level :info
24
+ log_location STDOUT
25
+ node_name 'node'
26
+ client_key '/path/to/key.pem'
27
+ validation_client_name 'some-validator'
28
+ validation_key '/path/to/validator.pem'
29
+ chef_server_url 'https://example.com/organizations/org'
30
+ syntax_check_cache_path '/path/to/syntax_check_cache'
31
+ knife[:softlayer_username] = "<SOFTLAYER USERNAME>"
32
+ knife[:softlayer_api_key] = "<SOFTLAYER API KEY>"
33
+ ```
34
+
19
35
  ## Usage
20
36
 
21
37
  See `knife softlayer --help` for more information.
@@ -6,12 +6,13 @@
6
6
  #
7
7
 
8
8
  require 'chef/knife'
9
+ require 'knife-softlayer/version'
9
10
 
10
11
  class Chef
11
12
  class Knife
12
13
  module SoftlayerBase
13
14
 
14
- USER_AGENT = "Chef Knife Softlayer Plugin #{::Knife::Softlayer::VERSION}"
15
+ USER_AGENT = "Chef Knife Softlayer Plugin #{::Knife::Softlayer::VERSION}" unless defined? USER_AGENT
15
16
 
16
17
  # :nodoc:
17
18
  def self.included(includer)
@@ -7,6 +7,6 @@
7
7
 
8
8
  module Knife
9
9
  module Softlayer
10
- VERSION = "0.0.3"
10
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
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-11 00:00:00.000000000 Z
12
+ date: 2014-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: softlayer_api