Hi Rob,

That worked perfectly 

thanks!!

On Monday, June 6, 2016 at 3:28:24 PM UTC+1, Rob Nelson wrote:
>
> Literal works when there is only one literal percent sign; last I checked, 
> you cannot use it twice in the same value. You can use "%%{::}{::hostname}" 
> to return "%{::hostname}" - the middle "%{::}" returns nothing and splits 
> the first percent from the variable name at the end, preventing 
> interpolation there. 
>
> The use of the two semi colons was to avoid a scoping issue that cropped 
> up as a regression around the puppet 4.3 timeframe that "%%{}{::hostname}" 
> would run into. It is possible this has been fixed by now and the 
> naked semi colons in the braces are optional, but I have not tested this 
> with the latest version of puppet myself. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4697a7b8-81c7-41a4-9474-7e33c359ba33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to