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.
- Python數據可視化:基于Bokeh的可視化繪圖
- Visual C++數字圖像模式識別技術詳解
- Java高手真經(高級編程卷):Java Web高級開發技術
- Julia機器學習核心編程:人人可用的高性能科學計算
- Object-Oriented JavaScript(Second Edition)
- Linux操作系統基礎案例教程
- Responsive Web Design by Example
- Learning Salesforce Einstein
- C#應用程序設計教程
- Express Web Application Development
- 匯編語言編程基礎:基于LoongArch
- Java語言程序設計教程
- ArcGIS for Desktop Cookbook
- Learning AWS
- Photoshop智能手機APP界面設計