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

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
主站蜘蛛池模板: 巴中市| 宁津县| 清水县| 建瓯市| 青海省| 区。| 宁陕县| 罗定市| 会泽县| 赫章县| 措美县| 奎屯市| 班玛县| 镇巴县| 通城县| 昆明市| 察隅县| 清涧县| 五大连池市| 云霄县| 同德县| 安吉县| 仙游县| 疏附县| 木兰县| 江门市| 禄劝| 信宜市| 大宁县| 德兴市| 资阳市| 仲巴县| 调兵山市| 吉隆县| 和田市| 天镇县| 辉县市| 乌拉特中旗| 鹤壁市| 山丹县| 汉阴县|