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
↧