puppetlabs/hiera — pull request #184 by ChrisPortman (2014-03-07 02:09:48+00:00)
Title: (#127) Allow escaping %{...} in hiera data so that hiera does not try to...

... perform a replacement

This change allows the escaping of %{...} with %%{...} so that the result is literally '%{...}'

It also support escaping the escape eg:
var = 'value of var'

%{var} : 'value of var'
%%{literal} : '%{literal}'
%%%{var} : '%value of var'
%%%%{literal} : '%%{literal}'