saltstack-formulas / librenms-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
4 stars 9 forks source link

Several bugfixes #7

Closed alxwr closed 5 years ago

alxwr commented 5 years ago

while migrating to Ubuntu 18.04.1 I encountered some bugs and solved them.

kpostrup commented 5 years ago

This looks great! My only complaint is that the librenms user is configured with homedir /home/librenms.

The 'librenms' user is created as a system user account. These would normally not have a homedir in /home/. Instead I think we should set this to /opt/librenms. However I still think it would make sense to have the two vars separated just like you did with home and app_home. For instance if we should support install on different OS (Solaris comes to mind).

alxwr commented 5 years ago

@kpostrup Removed librenms' homedir. @aboe76 @kpostrup I added some adjustments to FreeBSD too:

Tested on

alxwr commented 5 years ago

@kpostrup (friendly reminder) Do you approve my changes?

alxwr commented 5 years ago

@aboe76 If there are no further remarks, please merge! :-)

aboe76 commented 5 years ago

@alxwr merged it.

alxwr commented 5 years ago

@aboe76 Thanks for the merge! :-)