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

Elastic/logstash puppet forge module config_dir not being set #399

Open
cgutshal opened this issue Jul 24, 2020 · 0 comments
Open

Elastic/logstash puppet forge module config_dir not being set #399

cgutshal opened this issue Jul 24, 2020 · 0 comments

Comments

@cgutshal
Copy link

I am working with the following module in puppet forge:
https://forge.puppet.com/elastic/logstash

This is my current profile: https://gist.github.com/cgutshal/116d2cfd1bd21b9083088bfbacd1a804

The issue I am running into is that while my pipeline configs are places in /data/logstash/conf/conf.d/ as expected, the other config files are still created in /etc/logstash regardless of if I define it as follows in my profile.

  $base_dir = '/data/logstash'

  file { $base_dir:
    ensure  => 'directory',
    group   => $config['group'],
    owner   => $config['user']
  }

  class { 'logstash':
    config_dir          => "${base_dir}/conf", #THIS ISN'T WORKING
    ...
  }

Not sure what I might be doing wrong that isn't causing this to work as documented, and if there is additional info I can provide let me know. Hoping I just missed something simple.

Any help is appreciated.

Thanks

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