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

default config_dir broken on FreeBSD #360

Closed
lesinigo opened this issue Aug 24, 2017 · 0 comments
Closed

default config_dir broken on FreeBSD #360

lesinigo opened this issue Aug 24, 2017 · 0 comments

Comments

@lesinigo
Copy link

On FreeBSD the file templates/consul.freebsd.erb hardcodes the config directory as /usr/local/etc/consul.d, but then manifests/params.pp still has /etc/consul as default and the module ends up writing the configuration there.

params.pp should be modified to use /usr/local/etc/consul.d as default on FreeBSD systems, which is the preferred and correct path on that operating system.

Also, all configuration templates like templates/consul.freebsd.erb should use ::consul::config_dir instead of hardcoding values, to avoid having the module writing config in one place and consul reading it somewhere else.

solarkennedy added a commit that referenced this issue Nov 23, 2017
Fixes #360 by setting config_dir under FreeBSD
diogokiss pushed a commit to Tradeshift/puppet-consul that referenced this issue Oct 11, 2018
spuder pushed a commit to spuder/puppet-consul that referenced this issue Feb 25, 2020
spuder pushed a commit to spuder/puppet-consul that referenced this issue Feb 25, 2020
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

No branches or pull requests

1 participant