官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 陕西省| 民勤县| 锦州市| 内江市| 白朗县| 广灵县| 贵溪市| 云梦县| 镇巴县| 工布江达县| 万安县| 依兰县| 漳州市| 三门县| 晋城| 彭阳县| 平安县| 宾川县| 通江县| 武穴市| 抚远县| 天长市| 丰镇市| 房山区| 平顶山市| 西平县| 马公市| 那坡县| 苏尼特左旗| 民勤县| 罗源县| 商南县| 分宜县| 罗平县| 兰溪市| 开阳县| 上栗县| 冕宁县| 古交市| 鱼台县| 绥滨县|