Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add proper permissions to config and template files #43

Merged
merged 2 commits into from
Dec 8, 2015

Conversation

aj-jester
Copy link
Contributor

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.

@@ -49,14 +52,21 @@
# [*data_dir*]
# Path to a directory to create to hold some data. Defaults to ''
#
# [*user*]
# Name of a user to use for dir and file perms. Defaults to `false`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Defaults to consul-template

@gdhbashton
Copy link
Contributor

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

@aj-jester
Copy link
Contributor Author

Good catch! fixed.

gdhbashton added a commit that referenced this pull request Dec 8, 2015
add proper permissions to config and template files
@gdhbashton gdhbashton merged commit e4843e9 into claranet:master Dec 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants