shantanoo-desai / komponist

A Composer for your favorite IoT/ IIoT container stacks with Ansible + Jinja2 + Docker Compose v2
GNU Affero General Public License v3.0
25 stars 2 forks source link

[mosquitto] new line at end of generate users file causes user lockout #41

Closed shantanoo-desai closed 1 year ago

shantanoo-desai commented 1 year ago

Description

shantanoo-desai commented 1 year ago

Mosquitto users file is sensitive to whitespaces and newlines. This is caused due #39 . The solution is to revert the header insertions for the users and acl in order to avoid any problems in the future.

Also add user to the docker_container module within configure-mosquitto.yml file to avoid writing the file with user 1883