rodjek/rspec-puppet — pull request #73 by willaerk (2013-01-20 23:10:42+00:00)
Title: Escape dollar signs in parameter values

Due to the handling of parameter values by rspec-puppet, single-quoted
strings are converted to double-quoted strings before being passed to
Puppet for catalog compilation. When these strings contain dollar signs,
Puppet will consider them variables and try to expand, which produces
undesired results.
The easiest fix seems to be escaping the dollar signs before passing them
to Puppet.