This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
puppet [2017/03/28 14:47] k2patel [Puppet hiera literal %] |
puppet [2017/03/28 14:48] k2patel [Value in manifests] |
||
---|---|---|---|
Line 71: | Line 71: | ||
==== Puppet - Hiera - Apache - create resource example ==== | ==== Puppet - Hiera - Apache - create resource example ==== | ||
- | ===== Value in Hiera with yaml backend ===== | + | === Value in Hiera with yaml backend === |
<code yaml> | <code yaml> | ||
vhosts: | vhosts: | ||
Line 207: | Line 207: | ||
</code> | </code> | ||
- | ===== Value in manifests ===== | + | === Value in manifests === |
<code ruby> | <code ruby> | ||
$myApacheVhost = hiera('vhosts', {}) | $myApacheVhost = hiera('vhosts', {}) |