puppetlabs/puppet — pull request #698 by daniel-pittman (2012-04-20 21:15:05+00:00)
Title: Bug/2.7.x/14060 incorrect quoting in shell exec provider

(#14060) Fix quoting of commands to interpolate inside the shell.

The `shell` exec provider was supposed to emulate the behaviour of 0.25 exec,
which was to pass the content through the default shell to get it executed.

Unfortunately, it got quoting a bit wrong, and ended up interpolating
variables at the wrong point - it used double quotes where single quotes were
really what was desired.

Thanks to Matthew Byng-Maddick for the fix.