claranet / puppet-consul_template

A Puppet module to manage the config and jobs of Consul Template from Hashicorp
Apache License 2.0
30 stars 89 forks source link

add proper permissions to config and template files #43

Closed aj-jester closed 8 years ago

aj-jester commented 8 years ago

Currently the permissions on the config files where the token is stored is world readable. This PR makes the default 0660 and also refactored how user/group is created inside the module so if the user/group is created outside the module we can still pass the values to the resources inside the module.

gdhbashton commented 8 years ago

Yep I like this - just a couple of cosmetic typos and we're good to merge.

aj-jester commented 8 years ago

Good catch! fixed.