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'] %>"); } ... and I don't think that will work. Obviously, I can't use an inline template here... Doug. On Mon, Aug 8, 2011 at 1:11 PM, Scott Smith <sc...@ohlol.net> wrote: > D'oh, looks like I need to refresh my vision prescription :( > > > On Mon, Aug 8, 2011 at 1:09 PM, Douglas Garstang > <doug.garst...@gmail.com>wrote: > >> I wasn't trying to use double quotes inside a double quoted string. >> >> >> On Mon, Aug 8, 2011 at 1:01 PM, Scott Smith <sc...@ohlol.net> wrote: >> >>> Works the same as it does in Bourne shell. If you want to use double >>> quotes inside a double-quoted string, you have to escape them. Or use single >>> quotes. >>> >>> On Mon, Aug 8, 2011 at 12:58 PM, Douglas Garstang < >>> doug.garst...@gmail.com> wrote: >>> >>>> Thanks. That did it. Ugly... >>>> >>>> >>>> On Mon, Aug 8, 2011 at 12:47 PM, vagn scott <vagnsc...@gmail.com>wrote: >>>> >>>>> On 08/08/2011 02:52 PM, Douglas Garstang wrote: >>>>> >>>>>> >>>>>> file { >>>>>> '/opt/sugarsync/tomcat/tomcat-**home/current': >>>>>> ensure => inline_template("tomcat-<%= >>>>>> $config['tomcat_version_**server'] %>"); >>>>>> } >>>>>> >>>>>> >>>>> Try without the dollar sign: >>>>> >>>>> >>>>> file { >>>>> '/opt/sugarsync/tomcat/tomcat-**home/current': >>>>> ensure => inline_template("tomcat-<%= >>>>> config['tomcat_version_server'**] %>"); >>>>> } >>>>> >>>>> -- >>>>> 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+unsubscribe@**googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at http://groups.google.com/** >>>>> group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>>>> . >>>>> >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Douglas Garstang >>>> http://www.linkedin.com/in/garstang >>>> Email: doug.garst...@gmail.com >>>> Cell: +1-805-340-5627 >>>> >>>> -- >>>> 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. >>>> >>> >>> -- >>> 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. >>> >> >> >> >> -- >> Regards, >> >> Douglas Garstang >> http://www.linkedin.com/in/garstang >> Email: doug.garst...@gmail.com >> Cell: +1-805-340-5627 >> >> -- >> 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. >> > > -- > 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. > -- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 -- 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.