Puppet 简明教程

Puppet Tutorial

Puppet 是一种用于管理物理或虚拟机上的基础设施的配置管理技术。它是一种使用 Ruby 开发的开源软件配置管理工具,有助于即时管理复杂的基础设施。本教程将帮助理解 Puppet 的构建块,以及它如何在基础设施环境中的工作。本教程中使用的所有示例和代码片段都已经过测试。可以通过更改当前定义的名称和变量,在任何 Puppet 设置中简单地使用工作代码片段。

Puppet is a configuration management technology to manage the infrastructure on physical or virtual machines. It is an open-source software configuration management tool developed using Ruby which helps in managing complex infrastructure on the fly. This tutorial will help in understanding the building blocks of Puppet and how it works in an infrastructure environment. All the examples and code snippets used in this tutorial are tested. The working code snippets can be simply used in any Puppet setup by changing the current defined names and variables.

Audience

本教程专为那些希望了解木偶的功能和特性以及如何帮助降低管理基础设施的复杂性的人员而准备。

This tutorial has been prepared for those who want to understand the features and functionality of Puppet and how it can help in reducing the complexity of managing an infrastructure.

完成本教程后,人们将对木偶及其工作流获得中等程度的了解。它还将为您提供有关如何在预配置的基础设施中配置木偶并将其用于自动化的公平想法。

After completing this tutorial one would gain moderate level understanding of Puppet and its workflow. It will also give you a fair idea on how to configure Puppet in a preconfigured infrastructure and use it for automation.

Prerequisites

我们假设任何想要了解和学习木偶的人,都应该了解系统管理、基础设施和网络协议通信。要实现基础设施供应的自动化,应该掌握基本的 Ruby 脚本编写和希望使用木偶的基础系统。

We assume anyone who wants to understand and learn Puppet should have an understanding of the system administration, infrastructure, and network protocol communication. To automate the infrastructure provisioning, one should have a command over basic Ruby script writing and the underlying system where one wants to use Puppet.