puppetlabs/puppet — pull request #1495 by haf (2013-02-24 18:48:12+00:00)
Title: Implementing naive but functional symlinks on windows.

Post Scriptum: You might want to replace Kernel#system with one that captures STDOUT and STDERR to puppet. I haven't found what function I should call within puppet.

Also, you might want to do some checking on the file, because it seems the symlink is created every run (doesn't matter, that cmd /c mklink seems idempotent in its execution =)).