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

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
主站蜘蛛池模板: 桦甸市| 镶黄旗| 昌都县| 武川县| 怀仁县| 双鸭山市| 桦甸市| 深水埗区| 承德县| 西昌市| 武隆县| 普陀区| 千阳县| 武陟县| 景宁| 邵阳县| 遵化市| 都兰县| 达孜县| 宁河县| 巴林左旗| 莱芜市| 龙岩市| 余干县| 阿尔山市| 鄂托克前旗| 翁牛特旗| 凭祥市| 蒙自县| 安阳县| 西吉县| 华阴市| 林西县| 乌兰县| 洛扎县| 富宁县| 夹江县| 黑水县| 高陵县| 钟祥市| 安丘市|