Quantcast
Viewing latest article 5
Browse Latest Browse All 75

question on hash and referencing in template

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 latest article 5
Browse Latest Browse All 75

Trending Articles