puppet-logstash
puppet-logstash copied to clipboard
logstash: config,patternfile respect `$::logstash::ensure`
trafficstars
otherwise if a server has ensure => false but still calls logstash::configfile for any reason the file will try to be created but fail bc /etc/logstash does not exist
e.g. in your private base.pp you say
include logstash
logstash::configfile {
...
}
but somewhere in hiera you don't want to install logstash on a cluster so you have
logstash::ensure: absent
ping 🙏
Wait, we do have CI in this project. I try to trigger it by closing and re-opening it…
@damonbreeden please rebase against our latest master branch to get rid of the merge commit.