snippetbashTip
puppet apply — Apply Puppet manifests locally. More information: <https://github.com/puppetlabs/puppet/blob/main/re
Viewed 0 times
puppetcommandapplyclimanifestsmorelocallypuppet apply
Problem
How to use the
puppet apply command: Apply Puppet manifests locally. More information: <https://github.com/puppetlabs/puppet/blob/main/references/man/apply.md>.Solution
puppet apply — Apply Puppet manifests locally. More information: <https://github.com/puppetlabs/puppet/blob/main/references/man/apply.md>.Apply a manifest:
puppet apply {{path/to/manifest}}Execute puppet code:
puppet apply --execute {{code}}Use a specific module and hiera configuration file:
puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}Code Snippets
Apply a manifest
puppet apply {{path/to/manifest}}Execute puppet code
puppet apply --execute {{code}}Use a specific module and hiera configuration file
puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}Context
tldr-pages: common/puppet apply
Revisions (0)
No revisions yet.