puppet, puppet-agent, puppet-apply: add page (#6794)
This commit is contained in:
16
pages/common/puppet-apply.md
Normal file
16
pages/common/puppet-apply.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# puppet apply
|
||||
|
||||
> Apply Puppet manifests locally.
|
||||
> More information: <https://puppet.com/docs/puppet/7/man/apply.html>.
|
||||
|
||||
- Apply a manifest:
|
||||
|
||||
`puppet apply {{path/to/manifest}}`
|
||||
|
||||
- Execute puppet code:
|
||||
|
||||
`puppet apply --execute {{code}}`
|
||||
|
||||
- Use a specific module and hiera config file:
|
||||
|
||||
`puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}`
|
Reference in New Issue
Block a user