mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 02:56:02 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/puppet-apply
Normal file
21
tldr/puppet-apply
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user