Given the following puppet manifest, how can I merge / concatenate the two arrays such that the command will execute with both a=b and b=c ?
Cron{
environment => ["a=b"]
}
class a{
cron{'test':
command => "/usr/bin/true",
user => "francois",
environment => ["b=c"],
}
}
include a
My crontab entry ends up like this:
# Puppet Name: test
b=c
* * * * * /usr/bin/true