knife-softlayer 0.0.3 → 0.0.4
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.
- data/CHANGELOG.md +6 -2
- data/README.md +16 -0
- data/lib/chef/knife/softlayer_base.rb +2 -1
- data/lib/knife-softlayer/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -4,8 +4,12 @@
|
|
4
4
|
|
5
5
|
None.
|
6
6
|
|
7
|
-
## Last release: 0.0.
|
7
|
+
## Last release: 0.0.3 (2014-04-10)
|
8
8
|
|
9
|
-
*
|
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)
|
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.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-
|
12
|
+
date: 2014-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: softlayer_api
|