On 08/08/2011 04:26 PM, Douglas Garstang wrote:
But, I would like to replace:
file {
"${tomcat_home_dir}/current":
ensure => inline_template("tomcat-<%=
config['tomcat_version_server'] %>");
}
with:
file {
"$config['tomcat_home_dir']/current":
ensure => inline_template("tomcat-<%=
config['tomcat_version_server'] %>");
}
$f = inline_template("<%= config['tomcat_home_dir'] -%>/current")
$v = inline_template("tomcat-<%= config['tomcat_version_server'] %>")
file {
"${f}":
ensure => "${v}",
}
Or similar.
--
vagn
--
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.