linux:puppet:useful_docs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:puppet:useful_docs [2022/11/22 10:09] – dodger | linux:puppet:useful_docs [2022/11/22 10:14] (current) – dodger | ||
---|---|---|---|
Line 11: | Line 11: | ||
If you want to execute any command on Puppet Master server you can use inline_template function with ERB template inside and Ruby code for execute shell command: | If you want to execute any command on Puppet Master server you can use inline_template function with ERB template inside and Ruby code for execute shell command: | ||
- | < | + | < |
$password = " | $password = " | ||
- | |||
$secretvalue = inline_template("< | $secretvalue = inline_template("< | ||
- | |||
notify { " | notify { " | ||
</ | </ |
linux/puppet/useful_docs.1669111745.txt.gz · Last modified: 2022/11/22 10:09 by dodger