参考:http://williamherry.com/blog/2012/07/16/chef-basic/
注册一个用户
https://community.opscode.com/users/new
管理界面
https://manage.opscode.com/
配置
http://wiki.opscode.com/display/chef/Setup+Opscode+User+and+Organization
下载
validation key
knife config
user key
yum install git ruby ruby-libs ruby-devel rubygems
gem install chef
chef-client -v
git clone git://github.com/opscode/chef-repo.git
cd chef-repo
mkdir .chef
upload:
[root@akin3 .chef]# ls
akin520.pem knife.rb quyougame-validator.pem
cd /root/chef-repo
[root@akin3 chef-repo]# knife client list
quyougame-validator
knife cookbook site install chef-client
上传到hosted chef server
knife cookbook upload chef-client
给目录机器安装chef-client
客:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://rbel.co/rbel5
yum install git ruby ruby-libs ruby-devel rubygems
主:
knife bootstrap 192.168.14.12 -r 'recipe[chef-client]' -u root -P 123456
[root@akin3 chef-repo]# knife client list
akin2.com
quyougame-validator
[root@akin3 chef-repo]# knife node show akin2.com -r
run_list: recipe[chef-client]
knife cookbook site install nginx
knife cookbook upload -a
knife node run_list add akin2.com "recipe[mysql]"
knife node run_list add akin2.com "recipe[php]"
knife node run_list add akin2.com "recipe[nginx]"
分享到:
相关推荐
学习CHEF 云时代的配置管理与自动化运维技术 学习CHEF 云时代的配置管理与自动化运维技术 学习CHEF 云时代的配置管理与自动化运维技术 学习CHEF 云时代的配置管理与自动化运维技术
Automate your infrastructure using code and leverage DevOps with Chef About This Book Leverage the power of Chef to transform your infrastructure into code to deploy new features in minutes ...
chef是自动化配置系统,自动安装客户端服务,在centos上安装chef配置,包括服务器和客户端配置。
[Packt Publishing] Chef Infrastructure Automation Cookbook(英文版) [Packt Publishing] Chef Infrastructure Automation Cookbook (E-Book) ☆ 图书概要:☆ Over 80 delicious recipes to automate your ...
Chef: Powerful Infrastructure Automation by John Ewart English | 16 May 2017 | ASIN: B0716YXM1N | 726 Pages | AZW3 | 5.09 MB Learn Chef Provisioning like a boss and discover how to deploy software ...
Chef automation helps to transform infrastructure into simple code. This means that building, rebuilding, configuration, and scaling to meet your customer's needs is possible in just a few minutes in ...
非常详细的介绍Chef的PPT,有150多页,值得学习!!!
Learning Chef
chef-golang, 转到库与 Chef server API交互 主厨 golang 这是opscode的Chef的go客户端。安装使用 go get 安装厨师 golang:go get github.com/marpaia/chef-golang数据驱动的单元测试te
chef-grafana, Chef cookbook 安装 Grafana Grafana cookbook 概述独立的cookbook Grafana 。 这里 cookbook的2.x 版本与Grafana的2.x 版本一起使用。 这个 cookbook的2.x 版本中没有 pre-2.0 版本的
chef自动化部署,定制chef。很好的,深入浅出。图文并茂
[奥莱理] Test-Driven Infrastructure with Chef 2nd Edition (英文版) [奥莱理] Test-Driven Infrastructure with Chef 2nd Edition (E-Book) ☆ 图书概要:☆ Since Test-Driven Infrastructure with Chef ...
chef-utils 是一个保存、编写和维护 Facebook的 Chef 系统集成框架的开发包。 标签:chefutils 分享 window._bd_share_config = { "common": { ...
Mastering Chef Provisioning. Key Features This is the first Chef book focused on provisioning infrastructure as its sole task. The book offers a clear solution to a specific pain point: learn to ...
ansible chef puppet saltstack介绍和比较
taste-tester 是一个用于管理 chef-zero 实例和并用来测试生产服务器上变化的软件。 标签:taste 分享 window._bd_share_config = { "common": { ...
dChapter 1, Chef and Windows, serves as an introduction to Chef's support for Windows, what sort of features you can expect from Chef on the Windows platform, and how to get started.
Chef is a configuration management tool that turns IT infrastructure into code. Chef provides tools to manage systems at scale. This book will take you through the Chef code, tools, and components to ...
受Chef启发的配置管理工具,但更简单,轻便。原名Lightchef。 概念 Chef-like DSL (但不兼容 Chef) 比Chef更简单、轻便