RubyGems Navigation menu

knife-softlayer 0.3.0

# Knife::Softlayer [![Gem Version](https://badge.fury.io/rb/knife-softlayer.png)](http://badge.fury.io/rb/knife-softlayer) [![Build Status](https://api.travis-ci.org/softlayer/knife-softlayer.svg)](https://travis-ci.org/softlayer/knife-softlayer) [![Dependency Status](https://gemnasium.com/softlayer/knife-softlayer.svg)](https://gemnasium.com/softlayer/knife-softlayer) A knife plugin for launching and bootstrapping instances in the IBM SoftLayer cloud. ## Installation Add this line to your application's Gemfile: gem 'knife-softlayer' And then execute: $ bundle Or install it yourself as: $ gem install knife-softlayer ## Configuration Add your SoftLayer username and API key to your `knife.rb` file. ```ruby log_level :info log_location STDOUT node_name 'node' client_key '/path/to/key.pem' validation_client_name 'some-validator' validation_key '/path/to/validator.pem' chef_server_url 'https://example.com/organizations/org' syntax_check_cache_path '/path/to/syntax_check_cache' knife[:softlayer_username] = "<SOFTLAYER USERNAME>" knife[:softlayer_api_key] = "<SOFTLAYER API KEY>" ``` ## Usage See `knife softlayer --help` for more information. EXAMPLES: ```bash # look at some options user@local> knife softlayer flavor list [--all] ``` ```bash # the minimum number of pieces of flare user@local> knife softlayer server create --hostname test --domain example.com --flavor tiny ``` ```bash # being sort of specific about things user@local> knife softlayer server create -H test -D example.com \ --block-storage 0:25,2:100,5:1000 \ # device:GB, device:GB, ... --network-interface-speed 1000 \ --cores 8 \ --ram 49152 \ --os-code REDHAT_6_64 \ --datacenter ams01 \ --node-name random-node-name \ --assign-global-ip <existingGlobalIpv4Address> \ --run-list 'recipe[apt],recipe[git],recipe[rbenv],recipe[memcached],recipe[redis]' ``` #### Legal stuff Use of this software requires runtime dependencies. Those dependencies and their respective software licenses are listed below. * [net-ssh](https://github.com/net-ssh/net-ssh/) - LICENSE: [MIT](https://github.com/net-ssh/net-ssh/blob/master/LICENSE.txt) * [softlayer_api](https://github.com/softlayer/softlayer-api-ruby-client) - LICENSE: [MIT](https://github.com/softlayer/softlayer-api-ruby-client/blob/master/LICENSE.textile) * [knife-windows](https://github.com/opscode/knife-windows) - LICENSE: [Apache v2](https://github.com/opscode/knife-windows/blob/master/LICENSE) -- > Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) > > © Copyright IBM Corporation 2014. > > LICENSE: Apache 2.0 (http://www.apache.org/licenses/)

Gemfile:
=

安装:
=

版本列表:

  1. 0.4.7 November 07, 2017 (29.0 KB)
  2. 0.4.6 November 07, 2017 (29.0 KB)
  3. 0.4.5 October 06, 2016 (29.0 KB)
  4. 0.4.4 August 28, 2016 (29.0 KB)
  5. 0.4.3 June 15, 2016 (29.0 KB)
  6. 0.3.0 August 15, 2014 (28.5 KB)
显示所有版本 (共 31 个)

Runtime 依赖 (3):

fog-softlayer >= 0.3.14, ~> 0.3
knife-windows > 0.5.12, ~> 0.5
net-ssh > 2.8.0, ~> 2.8

Development 依赖 (6):

bundler ~> 1.5
chef >= 0.10.10, ~> 0.10
mixlib-config ~> 2.0
rake ~> 10.1
rspec ~> 2.14
sdoc ~> 0.3

业主:

作者:

  • Matt Eldridge

SHA 256 校验和:

=

下载总量 71,932

这个版本 2,471

版本发布:

许可:

Apache 2.0

需要的 Ruby 版本: >= 0

链接: