Summary
Upgrading to Puppet 3 should be done in a step-by-step procedure where your existing code will be evaluated using Puppet 3.8 and the new parser.
Thanks to the type system, it is now possible to deal with data in a far more elegant way directly in your Puppet DSL code. The new functions API allows you to immediately recognize to which module a function belongs by using namespaces. Similar functions can now be combined within a single file by making use of the dispatch
method and data types, allowing a form of function overloading.
The new EPP templates offer better understanding of variable source by using the Puppet syntax for variable references. Passing parameters to templates will allow you to make use of modules in a more flexible way.
Combining EPP templates and the HEREDOC syntax will allow you to keep template code and data directly visible inside your classes.
In the upcoming final chapter, you will learn about Hiera and how it can help you bring order to a scalable Puppet code base.
- Java多線程編程實戰(zhàn)指南:設(shè)計模式篇(第2版)
- C# 從入門到項目實踐(超值版)
- 算法訓(xùn)練營:入門篇(全彩版)
- PHP 7+MySQL 8動態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學(xué)版)
- Learning Laravel's Eloquent
- Visual Basic程序設(shè)計教程
- Access 2010中文版項目教程
- 編寫高質(zhì)量代碼:改善Objective-C程序的61個建議
- Django 3.0應(yīng)用開發(fā)詳解
- 深度實踐KVM:核心技術(shù)、管理運(yùn)維、性能優(yōu)化與項目實施
- PowerDesigner 16 從入門到精通
- 零基礎(chǔ)學(xué)Java第2版
- The Applied Data Science Workshop
- Instant SQL Server Analysis Services 2012 Cube Security
- Practical XMPP