Puppet 3 Cookbook

John Arundel

  • 出版商: Packt Publishing
  • 出版日期: 2013-07-26
  • 售價: $1,930
  • 貴賓價: 9.5$1,834
  • 語言: 英文
  • 頁數: 274
  • 裝訂: Paperback
  • ISBN: 1782169768
  • ISBN-13: 9781782169765
  • 相關分類: Puppet
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Build reliable, scalable, secure, and high-performance systems to fully utilize the power of cloud computing

Overview

  • Use Puppet 3 to take control of your servers and desktops, with detailed step-by-step instructions
  • Covers all the popular tools and frameworks used with Puppet: Dashboard, Foreman, MCollective, and more
  • Teaches you how to extend Puppet with custom functions, types, and providers
  • Packed with tips and inspiring ideas for using Puppet to automate server builds, deployments, and workflows

In Detail

A revolution is happening in web operations. Configuration management tools can build servers in seconds, and automate your entire network. Tools like Puppet are essential to taking full advantage of the power of cloud computing, and building reliable, scalable, secure, high-performance systems. More and more systems administration and IT jobs require some knowledge of configuration management, and specifically Puppet.

"Puppet 3 Cookbook" takes you beyond the basics to explore the full power of Puppet, showing you in detail how to tackle a variety of real-world problems and applications. At every step it shows you exactly what commands you need to type, and includes full code samples for every recipe.

The book takes the reader from a basic knowledge of Puppet to a complete and expert understanding of Puppet’s latest and most advanced features, community best practices, writing great manifests, scaling and performance, and extending Puppet by adding your own providers and resources. It starts with guidance on how to set up and expand your Puppet infrastructure, then progresses through detailed information on the language and features, external tools, reporting, monitoring, and troubleshooting, and concludes with many specific recipes for managing popular applications.

The book includes real examples from production systems and techniques that are in use in some of the world’s largest Puppet installations, including a distributed Puppet architecture based on the Git version control system. It covers common problems and errors and shows you how to troubleshoot your Puppet manifests. You’ll be introduced to powerful tools that work with Puppet such as Hiera and MCollective. You’ll learn how to use objection orientation and classes to write powerful, reusable manifests, and how to embed Ruby code in templates. You’ll find out how to extend Puppet with custom resource types and providers. The book also explains managing Rails applications and databases, building web servers, load balancers, high-availability systems with Heartbeat, and many other state-of-the-art techniques.

What you will learn from this book

  • Install and set up Puppet for the first time
  • Manage large networks with tools like Foreman and MCollective
  • Take control of configuration data with Hiera and encrypting secrets with GnuPG
  • Produce reliable, clean, maintainable code to community standards with puppet-lint and rspec-puppet
  • Use classes and inheritance to write powerful Puppet code
  • Deploy configuration files and templates for lightning-fast installations
  • Use virtual machines to build test and staging environments, and production systems on cloud platforms such as EC2
  • Automate every aspect of your systems including provisioning, deployment, and change management

商品描述(中文翻譯)

建立可靠、可擴展、安全且高效能的系統,充分利用雲端運算的威力。

概述:
- 使用 Puppet 3 掌控您的伺服器和桌面,提供詳細的逐步指示。
- 涵蓋與 Puppet 一起使用的所有熱門工具和框架:Dashboard、Foreman、MCollective 等。
- 教您如何擴展 Puppet,包括自訂函數、類型和提供者。
- 提供使用 Puppet 自動化伺服器建置、部署和工作流程的技巧和啟發性想法。

詳細內容:
網路運營正在發生革命。配置管理工具可以在幾秒鐘內建立伺服器,並自動化整個網路。像 Puppet 這樣的工具對於充分利用雲端運算的威力、建立可靠、可擴展、安全且高效能的系統至關重要。越來越多的系統管理和 IT 工作需要一些配置管理的知識,特別是 Puppet。

《Puppet 3 Cookbook》將帶您超越基礎知識,深入探索 Puppet 的全部威力,詳細介紹如何應對各種實際問題和應用。在每個步驟中,它都會準確顯示您需要輸入的命令,並為每個示例提供完整的程式碼。

本書將讀者從對 Puppet 的基本了解帶到對 Puppet 最新和最先進功能、社群最佳實踐、撰寫優秀清晰的清單、擴展 Puppet(添加自己的提供者和資源)的完整和專業理解。它從如何設置和擴展 Puppet 基礎架構的指導開始,然後進一步提供有關語言和功能、外部工具、報告、監控和疑難排解的詳細資訊,最後提供許多管理常見應用程式的具體示例。

本書包含來自實際生產系統的真實範例和世界上一些最大的 Puppet 安裝中使用的技術,包括基於 Git 版本控制系統的分散式 Puppet 架構。它涵蓋常見問題和錯誤,並向您展示如何疑難排解 Puppet 清單。您將介紹與 Puppet 一起使用的強大工具,如 Hiera 和 MCollective。您將學習如何使用物件導向和類別撰寫強大且可重複使用的清單,以及如何在模板中嵌入 Ruby 程式碼。您將了解如何通過自訂資源類型和提供者擴展 Puppet。本書還解釋了如何管理 Rails 應用程式和資料庫、構建網頁伺服器、負載平衡器、使用 Heartbeat 的高可用性系統以及許多其他最先進的技術。

本書將學到的內容:
- 第一次安裝和設置 Puppet
- 使用 Foreman 和 MCollective 等工具管理大型網路
- 使用 Hiera 控制配置資料,並使用 GnuPG 加密密碼
- 以 puppet-lint 和 rspec-puppet 的方式產生可靠、乾淨、易於維護的程式碼
- 使用類別和繼承撰寫強大的 Puppet 程式碼
- 部署配置檔和模板以實現快速安裝
- 使用虛擬機器建立測試和暫存環境,以及在 EC2 等雲端平台上建立生產系統
- 自動化系統的每個方面,包括供應、部署和變更管理