- Puppet 5 Essentials(Third Edition)
- Martin Alfke Felix Frank
- 136字
- 2021-07-02 18:22:22
Data types
The data type system in Puppet 4 allows you to check and verify whether a variable is of a specific data type. This prevents code from behaving incorrectly when (for example) it expects an array but receives a Boolean value.
The full power of data types will be explained in Chapter 7, New Features from Puppet 4 and 5. Within Puppet manifests, it is possible to check for data types using the regexp control structure.
Puppet has core data types and abstract data types. The core data types are the most commonly used types of data, such as string or integer, whereas abstract data types allow for more sophisticated type validation, such as optional or variant.
Prior to dealing with data types, we must understand the concept of control structures within Puppet manifests.
- Java Web開發學習手冊
- Mastering QGIS
- Production Ready OpenStack:Recipes for Successful Environments
- 征服RIA
- R的極客理想:工具篇
- 軟件測試技術指南
- Learning Zurb Foundation
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- 計算機應用基礎實踐教程
- Mastering Data Mining with Python:Find patterns hidden in your data
- Yii Project Blueprints
- 現代C++編程實戰:132個核心技巧示例(原書第2版)
- 一步一步跟我學Scratch3.0案例
- 產品架構評估原理與方法
- The Applied Data Science Workshop