Graylog2 / graylog2-images

Ready to run machine images
Apache License 2.0
238 stars 91 forks source link

Chef overrides changes to graylog.conf during boot #111

Closed kimble closed 8 years ago

kimble commented 8 years ago
[2016-01-12T11:10:39+00:00] INFO: template[/opt/graylog/conf/graylog.conf] backed up to /var/chef/backup/opt/graylog/conf/graylog.conf.chef-20160112111039.033511
[2016-01-12T11:10:39+00:00] INFO: template[/opt/graylog/conf/graylog.conf] updated file contents /opt/graylog/conf/graylog.conf

This makes it rather difficult to configure the new content pack loading feature.

mariussturm commented 8 years ago

Hi, please don't change the configuration file directly. Please use environment variables for changing certain options. E.g. changing the content pack directory works with -e GRAYLOG2_CONTENT_PACKS_DIR=/foo

kimble commented 8 years ago

Thanks! I didn't find that option on the web page: http://docs.graylog.org/en/latest/pages/installation/docker.html

mariussturm commented 8 years ago

It's a server thing, you can use it for every single option.