Mastering Chef
暫譯: 精通 Chef
Mayank Joshi
- 出版商: Packt Publishing
- 出版日期: 2015-06-30
- 售價: $2,000
- 貴賓價: 9.5 折 $1,900
- 語言: 英文
- 頁數: 315
- 裝訂: Paperback
- ISBN: 1783981563
- ISBN-13: 9781783981564
-
相關分類:
Chef
海外代購書籍(需單獨結帳)
相關主題
商品描述
Build, deploy, and manage your IT infrastructure to deliver a successful automated system with Chef in any environment
About This Book
- Discover the new fundamentals of the ecosystem, its APIs, as well as the ohai and knife plugins
- Learn new ways of using Chef and its attributes by overriding the old attributes
- Packed with real-world examples that can be used to explore the components like speeding up Chef with Ruby
Who This Book Is For
If you have used Chef before and are interested in automation of infrastructure and want to develop your own tools to manage large-scale infrastructures, then this book is for you.
What You Will Learn
- Get familiar with the Chef ecosystem and its associated components
- Use Ruby and Chef together to write effective infrastructure code
- Explore various aspects of the Chef API, such as using search in a recipe and with the help of the Knife plugin
- Write recipes and custom Lightweight Resource/Provider
- Discover the usage of data bags and templates to customize servers
- Extend the functionalities of Chef using custom Ohai and Knife plugins
In Detail
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 manage your environments using the Chef server efficiently. The book starts with an introduction to the Chef ecosystem, taking you through the terminologies used in Chef, the anatomy of a chef-client run, and Chef solo. You will learn how to use Knife and its associated plugins to accomplish daily routine tasks in a more efficient way. You will also learn how to speed this up by using Ruby with Chef, which will allow you to write more efficient infrastructure code. This book then introduces you to cookbooks and how to extend chef-client through the use of Lightweight Resource/Provider. It tells you how to keep all kind of configurations in key-value pair efficiently, by introducing you to data bags and templates. Then you will get a walkthrough of Chef's wonderful APIs and the extended functionalities of Chef. By the end of the book you will be so well-versed with Chef that you'll be able to explore some fun uses of Chef, which will allow for better productivity.
商品描述(中文翻譯)
**建立、部署和管理您的 IT 基礎架構,以在任何環境中使用 Chef 提供成功的自動化系統**
## 本書介紹
- 探索生態系統的新基本概念、其 API 以及 ohai 和 knife 插件
- 學習通過覆蓋舊屬性來使用 Chef 及其屬性的全新方法
- 充滿實際案例,可用於探索組件,例如使用 Ruby 加速 Chef
## 本書適合誰
如果您之前使用過 Chef,並對基礎架構的自動化感興趣,想要開發自己的工具來管理大規模基礎架構,那麼這本書適合您。
## 您將學到什麼
- 熟悉 Chef 生態系統及其相關組件
- 結合 Ruby 和 Chef 寫出有效的基礎架構代碼
- 探索 Chef API 的各個方面,例如在食譜中使用搜索以及借助 Knife 插件
- 編寫食譜和自定義輕量級資源/提供者
- 探索數據包和模板的使用,以自定義伺服器
- 使用自定義的 Ohai 和 Knife 插件擴展 Chef 的功能
## 詳細內容
Chef 是一種配置管理工具,將 IT 基礎架構轉化為代碼。Chef 提供工具以大規模管理系統。本書將帶您了解 Chef 代碼、工具和組件,以有效地使用 Chef 伺服器管理您的環境。本書首先介紹 Chef 生態系統,帶您了解 Chef 中使用的術語、chef-client 運行的結構以及 Chef solo。您將學習如何使用 Knife 及其相關插件以更高效的方式完成日常任務。您還將學習如何通過將 Ruby 與 Chef 結合使用來加速這一過程,這將使您能夠編寫更高效的基礎架構代碼。本書接著介紹食譜以及如何通過使用輕量級資源/提供者來擴展 chef-client。它告訴您如何有效地將各種配置保存在鍵值對中,通過介紹數據包和模板來實現。然後,您將深入了解 Chef 的精彩 API 及其擴展功能。在本書結束時,您將對 Chef 了如指掌,能夠探索一些有趣的 Chef 用法,從而提高生產力。