I've got this:

    file {
        '/opt/sugarsync/tomcat/tomcat-home/current':
            ensure => "tomcat-$config['tomcat_version_server']";

where $config['tomcat_version_server'] was set with extlookup (the yaml
one), by loading:

---
tomcat_config:
  tomcat_version_server: 6.0.20-1
  tomcat_version_libs: 1.0-1

Inside those double quotes, where variable interpolation is supposed to
occur, I'm actually getting:

tomcat-tomcat_version_libs1.0-1tomcat_version_server6.0.20-1['tomcat_version_server']

Not '6.0.20-1'. How can I interpolate a hash inside a string? Is this a bug?

Doug.

-- 
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