voxpupuli / puppet-nomad

Puppet module for managing Nomad
Apache License 2.0
16 stars 31 forks source link

Allow setting the data dir file mode #69

Closed optiz0r closed 2 years ago

optiz0r commented 2 years ago

Pull Request (PR) description

To help increase security of the allocations directory, it is sometimes necessary to reduce the permissions of the nomad data directory such that only the nomad daemon can access it. This change allows the administrator to set a custom permissions on the data dir directory managed by this module.

Backward compatibility is preserved, as the default mode is still 0755

This Pull Request (PR) fixes the following issues

Fixes #68

bastelfreak commented 2 years ago

thanks for the PR! Ubuntu broke their 18.04 image, I'm going to merge this.