Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 75

question on hash and referencing in template

$
0
0
hi, question on hash and template. if i have a hash as such: $job_hash = { 'foo' => { ensure => 'present', enabled => 1, config => template('jenkins/build-mvn-master.xml.erb') }, 'foo2' => { ensure => 'present', enabled => 1, config => template('jenkins/build-mvn-master.xml.erb') } } how can i reference 'foo' and 'foo2' in the template? Thanks

Viewing all articles
Browse latest Browse all 75

Trending Articles