-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Puppet 8 for DevOps Engineers
By :

Abstract data types give you the flexibility to mix the core data types for parameter enforcement and particular patterns, as well as provide some more advanced features in terms of parameter checking. There are a large number of abstract types, so this section will cover the most commonly used ones. Other types can be found at https://github.com/puppetlabs/puppet-specifications/blob/master/language/types_values_variables.md and https://www.puppet.com/docs/puppet/8/lang_data_abstract.html#variant-data-type.
Although not Puppet terminology, the types we’ll review will be described as prefixes, where a type is prefixed in front of another type with no options.
The Sensitive
data type is used to mark strings as sensitive, which means the value will be displayed in plain text in the code and the catalog, but not in any Puppet reports or logs. By prefixing the Sensitive
keyword to parameters and assignments with...