- 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.
- Learning Neo4j
- Mastering Visual Studio 2017
- 無代碼編程:用云表搭建企業數字化管理平臺
- Learning Firefox OS Application Development
- Learning Apache Kafka(Second Edition)
- Visual C
- Mastering macOS Programming
- Visual Basic程序設計與應用實踐教程
- Java 11 Cookbook
- 大模型RAG實戰:RAG原理、應用與系統構建
- Python忍者秘籍
- C#開發案例精粹
- 0 bug:C/C++商用工程之道
- Java高并發核心編程(卷1):NIO、Netty、Redis、ZooKeeper
- Advanced UFT 12 for Test Engineers Cookbook