Hi Tom,
That's what I tried but it doesn't help.
e.g. here is what I tested again right now:
diff_args = -ubB -I \$HeadURL
and here are the errors that I get:
err: /File[/usr/lib64/nagios/plugins/check_state_file.pl]: Failed to
retrieve current state of resource: Could not find value for $HeadURL
Thanks,
--Amos
On Aug 25, 11:15 pm, Tom Duckering <[email protected]> wrote:
> I believe the escape character is simply \
>
> I use it to escape quotes - \"
>
> On 25 Aug 2010, at 12:35, Amos Shapira wrote:
>
> > Patrick,
>
> > I see only a quote of my question in your reply.
>
> > Do you have an answer?
>
> > Thanks.
>
> > --Amos
>
> > On Aug 25, 6:28 pm, Patrick <[email protected]> wrote:
> >> On Aug 24, 2010, at 11:52 PM, Amos Shapira wrote:
>
> >>> Hello,
>
> >>> I'd like to pass the following flags to diff through puppet:
>
> >>> -urbB -I $Id -I $HeadURL -I $URL
>
> >>> But when I try to set diff_args in /etc/puppet/puppet.conflike this:
>
> >>> diff_args = -ubB -I \$Id -I \$HeadURL -I \$URL
>
> >>> Puppet tries to interpolate the $Id and fails.
>
> >>> How can I quote the '$' sign so puppet will pass it as-is to diff?
>
> >>> I'm using puppet 0.25.4 on CentOS 5.5 x64_86.
>
> >>> Thanks.
>
> >>> --
> >>> 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
> >>> athttp://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
> > athttp://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.