ChefAPI ClientChef 的 Ruby 客户端
ChefAPI 是一个依赖最小化的 Chef 服务器的 Ruby 客户端。
连接服务器:
ChefAPI.configure do |config| # The endpoint for the Chef Server. This can be an Open Source Chef Server, # Hosted Chef Server, or Enterprise Chef Server. config.endpoint = 'https://api.opscode.com/organizations/meats' # The client and key must also be specified (unless you are running Chef Zero # in no-authentication mode). The +key+ attribute may be the raw private key, # the path to the private key on disk, or an +OpenSSLL::PKey+ object. config.client = 'bacon' config.key = '~/.chef/bacon.pem' # If you are running your own Chef Server with a custom SSL certificate, you # will need to specify the path to a pem file with your custom certificates # and ChefAPI will wire everything up correctly. (NOTE: it must be a valid # PEM file). config.ssl_pem_file = '/path/to/my.pem' # If you would like to be vulnerable to MITM attacks, you can also turn off # SSL verification. Despite what Internet blog posts may suggest, you should # exhaust other methods before disabling SSL verification. ChefAPI will emit # a warning message for every request issued with SSL verification disabled. config.ssl_verify = false # If you are behind a proxy, Chef API can run requests through the proxy as # well. Just set the following configuration parameters as needed. config.proxy_username = 'user' config.proxy_password = 'password' config.proxy_address = 'my.proxy.server' # or 10.0.0.50 config.proxy_port = '8080' end
评论
roma-ruby-clientROMA 的 Ruby 客户端
roma-ruby-client 是一个 ROMA 的 Ruby 客户端。
roma-ruby-clientROMA 的 Ruby 客户端
0
DalliMemcached 的 Ruby 客户端
Dalli 是一个高性能的 Memcached 的 Ruby 客户端,支持 Memcached 1.
DalliMemcached 的 Ruby 客户端
0
DalliMemcached 的 Ruby 客户端
Dalli是一个高性能的Memcached的Ruby客户端,支持Memcached1.4+,使用新的二进制协议。支持:JRuby1.6+Ruby1.9.3+Rubinius2.0示例代码:requir
DalliMemcached 的 Ruby 客户端
0
SendCloud-RubySendCloud API 的 Ruby 客户端
这个是SendCloudAPI的Ruby客户端。用法配置Sendcloud.setup do |config| config.api_user = 'your api user' config.a
SendCloud-RubySendCloud API 的 Ruby 客户端
0
SendCloud-RubySendCloud API 的 Ruby 客户端
这个是 SendCloud API 的 Ruby 客户端。用法配置Sendcloud.setup d
SendCloud-RubySendCloud API 的 Ruby 客户端
0
飞信的Ruby客户端
rubyapiforchinamobile'sfetion最简单的飞信客户端示例代码:fetion=Fetion.new("mobileID","password")fetion.loginfetio
飞信的Ruby客户端
0