- Mastering Puppet(Second Edition)
- Thomas Uphill
- 197字
- 2021-07-16 13:05:24
Summary
The classes that are applied to nodes should be as automatic as possible. Using a hostname convention and an ENC script, it is possible to have classes applied to nodes without any node-level configuration.
Using LDAP as a backend for class information may be a viable alternative at your enterprise. The LDAP schema included with Puppet can be successfully applied to an OpenLDAP instance or integrated into your existing LDAP infrastructure.
Hiera is a powerful tool to separate data from your module definitions. By utilizing a hierarchy of facts, it is possible to dynamically apply classes to nodes based on their facts.
The important concept in the enterprise is to minimize the customization required in the modules and push that customization up into the node declaration, to separate the code required to deploy your nodes from the specific data, through either LDAP, a custom ENC, or clever use of Hiera. If starting from scratch, Hiera is the most powerful and flexible solution to this problem.
In the next chapter, we will see how we can utilize Puppet environments to make Hiera even more flexible. We will cover using Git to keep our modules under version control.
- C++程序設計教程
- Java程序設計與開發
- Python快樂編程:人工智能深度學習基礎
- ASP.NET MVC4框架揭秘
- Java系統分析與架構設計
- Reactive Programming With Java 9
- Mastering ArcGIS Enterprise Administration
- Android驅動開發權威指南
- 軟件供應鏈安全:源代碼缺陷實例剖析
- Java Web應用開發給力起飛
- Moodle 3 Administration(Third Edition)
- MyBatis 3源碼深度解析
- Docker:容器與容器云(第2版)
- 原型設計:打造成功產品的實用方法及實踐
- JBoss AS 7 Development