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

Puppet 8 for DevOps Engineers
By :

This section will start by looking at metaparameters, which are attributes that work on any resource type. For the lab work, we covered before
, required
, notify
, and subscribe
, which were used to create dependencies between resources. To follow this, there are several other useful attributes with a range of effects on resources. To see the full documentation of metaparameters on types and providers, the meta
flag can be added to the describe
command: puppet describe <file
type> --meta
.
The audit
metaparameter allows us to monitor unmanaged Puppet parameters; this could either be an array list of attributes or all for monitoring all undeclared attributes. In the following example, we declare this:
file {'/var/tmp/example' mode => 0770, audit => [owner,group] }
This creates a /opt/puppetlabs/puppet/cache/state/state.yaml
file on Puppet Enterprise or /var/lib/puppet/state/state...