hubspotdevops / puppet-nexus

Puppet module for Sonatype Nexus
MIT License
24 stars 93 forks source link

Bugfix: manage homeDir through puppet + define homeDir as /home/nexus #98

Open SchlegelS0208 opened 6 years ago

SchlegelS0208 commented 6 years ago

I thought it would be better to manage nexus' home directory through puppet.

Switched home directory from $my_nexus_root to /home/nexus because of the following error message: tail -f /srv/sonatype-work/nexus3/log/nexus.log

Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

Otherwise nexus 3.1 wouln't start up.

This pull request fixes https://github.com/hubspotdevops/puppet-nexus/issues/97