- Puppet:Mastering Infrastructure Automation
- Felix Frank Martin Alfke Alessandro Franceschi Jaime Soriano Pastor Thomas Uphillis
- 240字
- 2021-07-09 18:59:06
Summary
All the development in Puppet should be done in modules, and each such module should serve as specific a purpose as possible. Most modules comprise only manifests. This suffices to provide very effective and readable node manifests that clearly and concisely express their intent by including aptly named classes and instantiating defined types.
Modules can also contain Puppet plugins in the form of resource types and providers, parser functions, or facts. All of these are usually Ruby code. External facts can be written in any language, though. Writing your own types and providers is not required, but it can boost your performance and management flexibility.
It is not necessary to write all your modules yourself. On the contrary, it's advisable to rely on the open source modules from the Puppet Forge as much as possible. The Puppet Forge is an ever-growing collection of helpful code for virtually all the systems and software that Puppet can manage. In particular, the modules that are curated by Puppet Labs are usually of very high quality. As with any open source software, you are more than welcome to add any missing requirements to the modules yourself.
After this broad view on Puppet's larger building blocks, the next chapter narrows the scope a little. Now that you have the tools to structure and compose a manifest code base, you will learn some refined techniques in order to elegantly solve some distinct problems with Puppet.
- 數據科學實戰(zhàn)手冊(R+Python)
- C# 7 and .NET Core Cookbook
- Visual Basic .NET程序設計(第3版)
- Beginning Java Data Structures and Algorithms
- Python程序設計(第3版)
- 精通軟件性能測試與LoadRunner實戰(zhàn)(第2版)
- Servlet/JSP深入詳解
- Mastering Python High Performance
- R Deep Learning Cookbook
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- 好好學Java:從零基礎到項目實戰(zhàn)
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Geospatial Development By Example with Python
- Learning AWS
- Serverless Web Applications with React and Firebase