knife-softlayer 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +19 -19
  3. data/.travis.yml +20 -20
  4. data/CHANGELOG.md +19 -19
  5. data/CONTRIBUTING.md +31 -31
  6. data/CONTRIBUTORS.md +2 -2
  7. data/Gemfile +4 -4
  8. data/LICENSE.txt +72 -72
  9. data/README.md +83 -83
  10. data/Rakefile +37 -37
  11. data/docs/cla-corporate.md +133 -133
  12. data/docs/cla-individual.md +84 -84
  13. data/examples/datacenter.md +94 -94
  14. data/examples/flavor.md +58 -58
  15. data/examples/global_ip.md +22 -22
  16. data/examples/image.md +34 -34
  17. data/examples/key_pair.md +56 -56
  18. data/examples/server.md +82 -82
  19. data/examples/vlan.md +85 -85
  20. data/knife-softlayer.gemspec +39 -39
  21. data/lib/chef/knife/flavor/base.rb +52 -52
  22. data/lib/chef/knife/softlayer.rb +14 -14
  23. data/lib/chef/knife/softlayer_base.rb +112 -112
  24. data/lib/chef/knife/softlayer_datacenter_list.rb +28 -28
  25. data/lib/chef/knife/softlayer_datacenter_show.rb +45 -45
  26. data/lib/chef/knife/softlayer_delete.rb +6 -6
  27. data/lib/chef/knife/softlayer_flavor_list.rb +53 -53
  28. data/lib/chef/knife/softlayer_global_ip_list.rb +34 -34
  29. data/lib/chef/knife/softlayer_image_list.rb +26 -26
  30. data/lib/chef/knife/softlayer_key_pair_create.rb +37 -37
  31. data/lib/chef/knife/softlayer_key_pair_list.rb +28 -28
  32. data/lib/chef/knife/softlayer_list.rb +6 -6
  33. data/lib/chef/knife/softlayer_server_create.rb +462 -458
  34. data/lib/chef/knife/softlayer_server_destroy.rb +146 -146
  35. data/lib/chef/knife/softlayer_server_list.rb +27 -27
  36. data/lib/chef/knife/softlayer_server_relaunch.rb +208 -208
  37. data/lib/chef/knife/softlayer_vlan_create.rb +37 -37
  38. data/lib/chef/knife/softlayer_vlan_list.rb +28 -28
  39. data/lib/chef/knife/softlayer_vlan_show.rb +40 -40
  40. data/lib/knife-softlayer/version.rb +12 -12
  41. data/spec/spec_helper.rb +21 -21
  42. data/spec/unit/softlayer_base_spec.rb +26 -26
  43. data/spec/unit/softlayer_server_create_spec.rb +105 -105
  44. data/spec/unit/softlayer_server_destroy_spec.rb +47 -47
  45. metadata +27 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c514c34012c7d5bf1d0124285b9e807f4573b39c
4
- data.tar.gz: 9c5f44e56313b9657f0d0a2b5a3509d468de58ab
3
+ metadata.gz: 0af8599ee6d67e394fd068e16580da341f1b6cc6
4
+ data.tar.gz: c64426a0ea8f3148f8f6b2e9120c44f2d175c2b0
5
5
  SHA512:
6
- metadata.gz: 4babc38aa1b018ec18f7d165794061616964d75b20042f21c778debf1e237e689f4f73338d04cfa18e729aab5b1bfcc722d3cb48482a5a2063052d8c2cf97316
7
- data.tar.gz: 4482cc517fae152e284c83e244ee09cf525b8531ffabfc3b1c7c4a52bb5c96b847bd668a6265ce5abe488c162358c3677e7aead634a75c1186b842fc30e6ae59
6
+ metadata.gz: f8f5093bfc784984d3ff16fba57d762007007e23fa2e6661e1c36acb8862fc30db93c05a0b9786861370847b8f63ff091a653319306e605430e62766f27e5959
7
+ data.tar.gz: 87dad4e09816abe298bd0f01812e055075de7567e5ba5874905a4ac5dca155472e774b2130951c51a8cb80cafec582cbf98807c4ecb0bd456053bf4451747c6b
data/.gitignore CHANGED
@@ -1,19 +1,19 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- .idea*
19
- .ruby-version
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .idea*
19
+ .ruby-version
data/.travis.yml CHANGED
@@ -1,20 +1,20 @@
1
- language: ruby
2
-
3
- script: bundle exec rspec spec
4
-
5
- matrix:
6
- fast_finish: true
7
- include:
8
- - rvm: 2.0.0
9
- gemfile: Gemfile
10
- - rvm: 2.1.0
11
- gemfile: Gemfile
12
- - rvm: 2.1.1
13
- gemfile: Gemfile
14
- env: COVERAGE=true
15
-
16
- notifications:
17
- email: matt.eldridge@us.ibm.com
18
-
19
- before_install:
20
- - gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763
1
+ language: ruby
2
+
3
+ script: bundle exec rspec spec
4
+
5
+ matrix:
6
+ fast_finish: true
7
+ include:
8
+ - rvm: 2.0.0
9
+ gemfile: Gemfile
10
+ - rvm: 2.1.0
11
+ gemfile: Gemfile
12
+ - rvm: 2.1.1
13
+ gemfile: Gemfile
14
+ env: COVERAGE=true
15
+
16
+ notifications:
17
+ email: matt.eldridge@us.ibm.com
18
+
19
+ before_install:
20
+ - gem update --system # todo: workaround for https://github.com/rubygems/rubygems/pull/763
data/CHANGELOG.md CHANGED
@@ -1,19 +1,19 @@
1
- # knife-softlayer change log
2
-
3
- ## Unreleased changes
4
-
5
- None.
6
-
7
- ## Last release: 0.0.3 (2014-04-10)
8
-
9
- * 0.1.1
10
- * Reversed default functionality of SAN vs local storage when creating a VM.
11
- * Changed textual references from "CCI" to "VM".
12
-
13
- * 0.0.3
14
- * Update `softlayer_api` dependency to ~> v1.0.8.
15
- * Declare specific user agent string.
16
-
17
- * 0.0.2 Alpha release.
18
- * Can create and bootstrap a SoftLayer VM, destroy the VM, chef client and chef node.
19
- * Support for global IP address creation and assignment.
1
+ # knife-softlayer change log
2
+
3
+ ## Unreleased changes
4
+
5
+ None.
6
+
7
+ ## Last release: 0.0.3 (2014-04-10)
8
+
9
+ * 0.1.1
10
+ * Reversed default functionality of SAN vs local storage when creating a VM.
11
+ * Changed textual references from "CCI" to "VM".
12
+
13
+ * 0.0.3
14
+ * Update `softlayer_api` dependency to ~> v1.0.8.
15
+ * Declare specific user agent string.
16
+
17
+ * 0.0.2 Alpha release.
18
+ * Can create and bootstrap a SoftLayer VM, destroy the VM, chef client and chef node.
19
+ * Support for global IP address creation and assignment.
data/CONTRIBUTING.md CHANGED
@@ -1,31 +1,31 @@
1
- # Contributing to knife-softlayer
2
-
3
- We are happy to accept contributions to knife-softlayer. Please follow the guidelines below.
4
-
5
- * Sign our contributor agreement (CLA) You can find the [CLA here](./docs/cla-individual.md).
6
-
7
- * If you're contributing on behalf of your employer we'll need a signed copy of our corporate contributor agreement (CCLA) as well. You can find the [CCLA here](./docs/cla-corporate.md).
8
-
9
- * Fork the repo, make your changes, and open a pull request.
10
-
11
- ## Issue Tracking
12
-
13
- You can file tickets to describe the bug you'd like to fix or feature you'd
14
- like to add on the [knife-softlayer project](https://github.com/softlayer/knife-softlayer/issues) on github.
15
-
16
- ## Testing Instructions
17
-
18
- To run tests, run the following Ruby tool commands from the root of your local copy of
19
- knife-softlayer:
20
-
21
- bundle install
22
- bundle exec rspec spec
23
-
24
- **All tests must pass** before your contribution can be merged. Thus it's a good idea
25
- to execute the tests without your change to be sure you understand how to run
26
- them, as well as after to validate that you've avoided regressions.
27
-
28
- All but the most trivial changes should include **at least one unit test case** to exercise the
29
- new / changed code; please add tests to your pull request in this common case.
30
-
31
-
1
+ # Contributing to knife-softlayer
2
+
3
+ We are happy to accept contributions to knife-softlayer. Please follow the guidelines below.
4
+
5
+ * Sign our contributor agreement (CLA) You can find the [CLA here](./docs/cla-individual.md).
6
+
7
+ * If you're contributing on behalf of your employer we'll need a signed copy of our corporate contributor agreement (CCLA) as well. You can find the [CCLA here](./docs/cla-corporate.md).
8
+
9
+ * Fork the repo, make your changes, and open a pull request.
10
+
11
+ ## Issue Tracking
12
+
13
+ You can file tickets to describe the bug you'd like to fix or feature you'd
14
+ like to add on the [knife-softlayer project](https://github.com/softlayer/knife-softlayer/issues) on github.
15
+
16
+ ## Testing Instructions
17
+
18
+ To run tests, run the following Ruby tool commands from the root of your local copy of
19
+ knife-softlayer:
20
+
21
+ bundle install
22
+ bundle exec rspec spec
23
+
24
+ **All tests must pass** before your contribution can be merged. Thus it's a good idea
25
+ to execute the tests without your change to be sure you understand how to run
26
+ them, as well as after to validate that you've avoided regressions.
27
+
28
+ All but the most trivial changes should include **at least one unit test case** to exercise the
29
+ new / changed code; please add tests to your pull request in this common case.
30
+
31
+
data/CONTRIBUTORS.md CHANGED
@@ -1,3 +1,3 @@
1
- * Dave Henderson <dave.henderson@ca.ibm.com>
2
- * HIGUCHI Daisuke <d-higuchi@creationline.com>
1
+ * Dave Henderson <dave.henderson@ca.ibm.com>
2
+ * HIGUCHI Daisuke <d-higuchi@creationline.com>
3
3
  * Matt Eldridge <matt.eldridge@us.ibm.com>
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in knife-softlayer.gemspec
4
- gemspec
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in knife-softlayer.gemspec
4
+ gemspec
data/LICENSE.txt CHANGED
@@ -1,72 +1,72 @@
1
- © Copyright IBM Corporation 2014.
2
-
3
- LICENSE:
4
-
5
- Apache License, Version 2.0
6
- Apache License
7
- Version 2.0, January 2004
8
- http://www.apache.org/licenses/
9
-
10
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
-
12
- 1. Definitions.
13
-
14
- "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
15
-
16
- "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
17
-
18
- "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
19
-
20
- "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
21
-
22
- "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
23
-
24
- "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
25
-
26
- "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
27
-
28
- "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
29
-
30
- "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
31
-
32
- "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
33
-
34
- 2. Grant of Copyright License.
35
-
36
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
37
-
38
- 3. Grant of Patent License.
39
-
40
- Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
41
-
42
- 4. Redistribution.
43
-
44
- You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
45
-
46
- You must give any other recipients of the Work or Derivative Works a copy of this License; and
47
- You must cause any modified files to carry prominent notices stating that You changed the files; and
48
- You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
49
- If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
50
- You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
51
-
52
- 5. Submission of Contributions.
53
-
54
- Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
55
-
56
- 6. Trademarks.
57
-
58
- This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
59
-
60
- 7. Disclaimer of Warranty.
61
-
62
- Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
63
-
64
- 8. Limitation of Liability.
65
-
66
- In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
67
-
68
- 9. Accepting Warranty or Additional Liability.
69
-
70
- While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
71
-
72
- END OF TERMS AND CONDITIONS
1
+ © Copyright IBM Corporation 2014.
2
+
3
+ LICENSE:
4
+
5
+ Apache License, Version 2.0
6
+ Apache License
7
+ Version 2.0, January 2004
8
+ http://www.apache.org/licenses/
9
+
10
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
11
+
12
+ 1. Definitions.
13
+
14
+ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
15
+
16
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
17
+
18
+ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
19
+
20
+ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
21
+
22
+ "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
23
+
24
+ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
25
+
26
+ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
27
+
28
+ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
29
+
30
+ "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
31
+
32
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
33
+
34
+ 2. Grant of Copyright License.
35
+
36
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
37
+
38
+ 3. Grant of Patent License.
39
+
40
+ Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
41
+
42
+ 4. Redistribution.
43
+
44
+ You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
45
+
46
+ You must give any other recipients of the Work or Derivative Works a copy of this License; and
47
+ You must cause any modified files to carry prominent notices stating that You changed the files; and
48
+ You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
49
+ If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
50
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
51
+
52
+ 5. Submission of Contributions.
53
+
54
+ Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
55
+
56
+ 6. Trademarks.
57
+
58
+ This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
59
+
60
+ 7. Disclaimer of Warranty.
61
+
62
+ Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
63
+
64
+ 8. Limitation of Liability.
65
+
66
+ In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
67
+
68
+ 9. Accepting Warranty or Additional Liability.
69
+
70
+ While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
71
+
72
+ END OF TERMS AND CONDITIONS
data/README.md CHANGED
@@ -1,83 +1,83 @@
1
- # Knife::Softlayer
2
- [![Gem Version](https://badge.fury.io/rb/knife-softlayer.png)](http://badge.fury.io/rb/knife-softlayer)
3
- [![Build Status](https://api.travis-ci.org/softlayer/knife-softlayer.svg)](https://travis-ci.org/softlayer/knife-softlayer)
4
- [![Dependency Status](https://gemnasium.com/softlayer/knife-softlayer.svg)](https://gemnasium.com/softlayer/knife-softlayer)
5
-
6
- A Chef Knife plugin for launching, bootstrapping, and managing compute instances in the IBM SoftLayer cloud.
7
-
8
- ## Installation
9
-
10
- Add this line to your application's Gemfile:
11
-
12
- gem 'knife-softlayer'
13
-
14
- And then execute:
15
-
16
- $ bundle
17
-
18
- Or install it yourself as:
19
-
20
- $ gem install knife-softlayer
21
-
22
- ## Configuration
23
- Add your SoftLayer username and API key to your `knife.rb` file.
24
-
25
- ```ruby
26
- log_level :info
27
- log_location STDOUT
28
- node_name 'node'
29
- client_key '/path/to/key.pem'
30
- validation_client_name 'some-validator'
31
- validation_key '/path/to/validator.pem'
32
- chef_server_url 'https://example.com/organizations/org'
33
- syntax_check_cache_path '/path/to/syntax_check_cache'
34
- knife[:softlayer_username] = "<SOFTLAYER USERNAME>"
35
- knife[:softlayer_api_key] = "<SOFTLAYER API KEY>"
36
- ```
37
-
38
- ## Usage
39
-
40
- See `knife softlayer --help` for more information.
41
-
42
- EXAMPLES:
43
-
44
-
45
- ```bash
46
- # look at some options
47
- user@local> knife softlayer flavor list [--all]
48
- ```
49
-
50
- ```bash
51
- # the minimum number of pieces of flare
52
- user@local> knife softlayer server create --hostname test --domain example.com --flavor tiny
53
- ```
54
-
55
- ```bash
56
- # being sort of specific about things
57
- user@local> knife softlayer server create -H test -D example.com \
58
- --block-storage 0:25,2:100,5:1000 \ # device:GB, device:GB, ...
59
- --network-interface-speed 1000 \
60
- --cores 8 \
61
- --ram 49152 \
62
- --os-code REDHAT_6_64 \
63
- --datacenter ams01 \
64
- --node-name random-node-name \
65
- --assign-global-ip <existingGlobalIpv4Address> \
66
- --run-list 'recipe[apt],recipe[git],recipe[rbenv],recipe[memcached],recipe[redis]'
67
- ```
68
-
69
- #### Legal stuff
70
- Use of this software requires runtime dependencies. Those dependencies and their respective software licenses are listed below.
71
-
72
- * [net-ssh](https://github.com/net-ssh/net-ssh/) - LICENSE: [MIT](https://github.com/net-ssh/net-ssh/blob/master/LICENSE.txt)
73
- * [softlayer_api](https://github.com/softlayer/softlayer-api-ruby-client) - LICENSE: [MIT](https://github.com/softlayer/softlayer-api-ruby-client/blob/master/LICENSE.textile)
74
- * [knife-windows](https://github.com/opscode/knife-windows) - LICENSE: [Apache v2](https://github.com/opscode/knife-windows/blob/master/LICENSE)
75
-
76
-
77
- --
78
- > Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
79
- >
80
- > © Copyright IBM Corporation 2014.
81
- >
82
- > LICENSE: Apache 2.0 (http://www.apache.org/licenses/)
83
-
1
+ # Knife::Softlayer
2
+ [![Gem Version](https://badge.fury.io/rb/knife-softlayer.png)](http://badge.fury.io/rb/knife-softlayer)
3
+ [![Build Status](https://api.travis-ci.org/softlayer/knife-softlayer.svg)](https://travis-ci.org/softlayer/knife-softlayer)
4
+ [![Dependency Status](https://gemnasium.com/softlayer/knife-softlayer.svg)](https://gemnasium.com/softlayer/knife-softlayer)
5
+
6
+ A Chef Knife plugin for launching, bootstrapping, and managing compute instances in the IBM SoftLayer cloud.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ gem 'knife-softlayer'
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install knife-softlayer
21
+
22
+ ## Configuration
23
+ Add your SoftLayer username and API key to your `knife.rb` file.
24
+
25
+ ```ruby
26
+ log_level :info
27
+ log_location STDOUT
28
+ node_name 'node'
29
+ client_key '/path/to/key.pem'
30
+ validation_client_name 'some-validator'
31
+ validation_key '/path/to/validator.pem'
32
+ chef_server_url 'https://example.com/organizations/org'
33
+ syntax_check_cache_path '/path/to/syntax_check_cache'
34
+ knife[:softlayer_username] = "<SOFTLAYER USERNAME>"
35
+ knife[:softlayer_api_key] = "<SOFTLAYER API KEY>"
36
+ ```
37
+
38
+ ## Usage
39
+
40
+ See `knife softlayer --help` for more information.
41
+
42
+ EXAMPLES:
43
+
44
+
45
+ ```bash
46
+ # look at some options
47
+ user@local> knife softlayer flavor list [--all]
48
+ ```
49
+
50
+ ```bash
51
+ # the minimum number of pieces of flare
52
+ user@local> knife softlayer server create --hostname test --domain example.com --flavor tiny
53
+ ```
54
+
55
+ ```bash
56
+ # being sort of specific about things
57
+ user@local> knife softlayer server create -H test -D example.com \
58
+ --block-storage 0:25,2:100,5:1000 \ # device:GB, device:GB, ...
59
+ --network-interface-speed 1000 \
60
+ --cores 8 \
61
+ --ram 49152 \
62
+ --os-code REDHAT_6_64 \
63
+ --datacenter ams01 \
64
+ --node-name random-node-name \
65
+ --assign-global-ip <existingGlobalIpv4Address> \
66
+ --run-list 'recipe[apt],recipe[git],recipe[rbenv],recipe[memcached],recipe[redis]'
67
+ ```
68
+
69
+ #### Legal stuff
70
+ Use of this software requires runtime dependencies. Those dependencies and their respective software licenses are listed below.
71
+
72
+ * [net-ssh](https://github.com/net-ssh/net-ssh/) - LICENSE: [MIT](https://github.com/net-ssh/net-ssh/blob/master/LICENSE.txt)
73
+ * [softlayer_api](https://github.com/softlayer/softlayer-api-ruby-client) - LICENSE: [MIT](https://github.com/softlayer/softlayer-api-ruby-client/blob/master/LICENSE.textile)
74
+ * [knife-windows](https://github.com/opscode/knife-windows) - LICENSE: [Apache v2](https://github.com/opscode/knife-windows/blob/master/LICENSE)
75
+
76
+
77
+ --
78
+ > Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
79
+ >
80
+ > © Copyright IBM Corporation 2014.
81
+ >
82
+ > LICENSE: Apache 2.0 (http://www.apache.org/licenses/)
83
+