example42 / puppet-splunk

Splunk Puppet Module
http://www.example42.com
Other
12 stars 29 forks source link

Set the HOME environment variable if it's not set #18

Closed claytono closed 10 years ago

claytono commented 10 years ago

The Splunk command-line tools want to cache auth tokens into the user's home directory. If the HOME directory is not set, then we set it to /tmp and export the variable to prevent unnecessary failures.