I am working with the following module in puppet forge:
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