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

Chapter 7. New Features from Puppet 4

Now that we have a complete overview on the Puppet DSL and its concepts, it is time to look at the newest Puppet features that were introduced with Puppet version 4. The parser, which compiles the catalog, was basically rewritten from scratch for better performance. The milestone release also added some missing functionality and coding principles.

Puppet 4 does not only offer new functionality, but breaks with old practices and removes some functionality that is not considered a best practice anymore. This necessitates that any existing manifest code needs proper testing and potentially lots of changes to be compatible with Puppet 4.

Within this chapter, the following topics will be covered:

  • Upgrading to Puppet 4
  • Using the Puppet Type System
  • Learning Lambdas and Functions
  • Creating Puppet 4 Functions
  • Leveraging the new template engine
  • Handling multiline with HEREDOC
  • Breaking old practices
主站蜘蛛池模板: 修武县| 通海县| 长岛县| 梧州市| 汝南县| 泾阳县| 大竹县| 全椒县| 武乡县| 博湖县| 雷州市| 阜平县| 毕节市| 滨州市| 奉新县| 高台县| 桦川县| 赤水市| 寿阳县| 临邑县| 株洲县| 林芝县| 平谷区| 锡林郭勒盟| 朔州市| 三门县| 潢川县| 天门市| 西乌珠穆沁旗| 都昌县| 贵阳市| 平昌县| 中宁县| 平塘县| 甘孜县| 阳城县| 庆阳市| 中卫市| 叙永县| 丰顺县| 德保县|