1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/common/puppet-apply.md
Vitor Henrique af35564618
pages*: do not use config abbreviation (#12118)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-25 10:59:16 +05:30

16 lines
397 B
Markdown

# 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 configuration file:
`puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}`