- 授权协议: Apache
- 开发语言: Ruby
- 操作系统: 跨平台
- 软件首页: https://github.com/sethvargo/chef-api
- 软件文档: https://github.com/sethvargo/chef-api
软件介绍
ChefAPI 当前还在开发中,请到 1.0 稳定版时使用。
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
大型分布式网站架构设计与实践
陈康贤 / 电子工业出版社 / 2014-9-1 / 79.00元
《大型分布式网站架构设计与实践》主要介绍了大型分布式网站架构所涉及的一些技术细节,包括SOA架构的实现、互联网安全架构、构建分布式网站所依赖的基础设施、系统稳定性保障和海量数据分析等内容;深入地讲述了大型分布式网站架构设计的核心原理,并通过一些架构设计的典型案例,帮助读者了解大型分布式网站设计的一些常见场景及遇到的问题。 作者结合自己在阿里巴巴及淘宝网的实际工作经历展开论述。《大型分布式网站......一起来看看 《大型分布式网站架构设计与实践》 这本书的介绍吧!
