Replace this line:
>          $download_dir      = '/root/tmp'
with:

       #NOTE: generate is executed on the puppetmaster.
        $download_dir = generate("/usr/bin/env","bash",'-c',"/bin/
mktemp")


With this every time your definition get used it will choose an random
folder in your /tmp.


I hope this works?

Philipp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to