Skip to content

Add ability to manage consul log directory #589

Open
@jonesbrennan

Description

@jonesbrennan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions