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 <[email protected]> wrote:
> D'oh, looks like I need to refresh my vision prescription :(
>
>
> On Mon, Aug 8, 2011 at 1:09 PM, Douglas Garstang
> <[email protected]>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 <[email protected]> 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 <
>>> [email protected]> wrote:
>>>
>>>> Thanks. That did it. Ugly...
>>>>
>>>>
>>>> On Mon, Aug 8, 2011 at 12:47 PM, vagn scott <[email protected]>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 [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> puppet-users+unsubscribe@**googlegroups.com<puppet-users%[email protected]>
>>>>> .
>>>>> 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: [email protected]
>>>> 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 [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected].
>>>> 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 [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> 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: [email protected]
>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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: [email protected]
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.