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 ability to manage consul log directory #589

Open
jonesbrennan opened this issue Mar 15, 2022 · 1 comment
Open

Add ability to manage consul log directory #589

jonesbrennan opened this issue Mar 15, 2022 · 1 comment

Comments

@jonesbrennan
Copy link
Contributor

I am running this module on RHEL 8 using the package install method and a systemd service. There is a log_file parameter but I don't see where it is used for a systemd service. I attempted to add consul's log_file parameter to this module's config_hash parameter. That works fine but then I get a permissioned denied when the consul service starts up. I'm using /var/log/consul/consul.log as a value. This is a request to manage a log directory via this module. This would include ensuring the log directory is created and permissions set appropriately. For example in my scenario the module would ensure /var/log/consul is created and the consul user and group have permissions.

@solarkennedy
Copy link
Contributor

That would probably be fine, although I recommend this be part of your profile_consul that aggregates your consul + related puppet resources to meet your particular needs.

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

2 participants