Hi list,

I wondered if I could include 'dynamic' data inside a hiera yaml file. I
would like to be able to add variables in scope of the resource which
performs a hiera call. So e.g.

in hiera yaml:

address: "192.168.1.#{nodeID}"

in puppet

node test {

  $nodeID = 5

  $ip=hiera(address)

}


Is such thing possible and if so what is the correct syntax?

thanks

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to