torrancew/puppet-cron — pull request #2 by kgoess (2012-10-27 03:48:54+00:00)
Title: support setting environmentvariables

I added some code to job.erb to handle setting environment variables. Now you can do

environment => [ " foo=bar", "baz="bam"]

or

environment => "foo=bar\nbaz=bam"

and get

foo=bar
baz=bam
var2=val2

* * * * * username command

What do you think of that?