User Tools

Site Tools


puppet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
puppet [2019/01/30 13:34]
k2patel [External Links]
puppet [2019/03/07 09:53] (current)
k2patel [Puppet Dynamic values playground]
Line 43: Line 43:
 ==== Puppet Dynamic values playground ==== ==== Puppet Dynamic values playground ====
  
 +=== EPP and passing values ===
 +<code ruby>
 +$template_parameters = {
 +   ​test ​ => $test1,
 +   test2 => $test::​test,​
 +   ​nice ​ => $works,
 +}
 +
 +content => epp('​vsftpd/​template.epp',​ $template_parameters),​
 +</​code>​
 ==== trimming values ==== ==== trimming values ====
 Following can grab the last character from the hostname and convert to integer to avoid warning. Following can grab the last character from the hostname and convert to integer to avoid warning.
puppet.txt ยท Last modified: 2019/03/07 09:53 by k2patel