explicitly set fluentd service_provider
authorLars Kellogg-Stedman <lars@redhat.com>
Thu, 22 Sep 2016 14:20:17 +0000 (10:20 -0400)
committerLars Kellogg-Stedman <lars@redhat.com>
Thu, 22 Sep 2016 14:20:17 +0000 (10:20 -0400)
the konstantin-fluentd package assumes sysv init scripts, while the
fluentd package in rhel(/centos/fedora) uses systemd.  this can cause
errors starting the service.

This review explicitly sets the service_provider to "systemd".

This requires https://github.com/soylent/konstantin-fluentd/pull/15, which exposes the service_provider parameter in konstantin-fluentd.

Change-Id: I24332203de33f56a0e49fcc15f7fb7bb576e8752

puppet/services/logging/fluentd-base.yaml

index 583dca3..c8f6755 100644 (file)
@@ -33,4 +33,5 @@ outputs:
         fluentd::config_group: fluentd
         fluentd::config_path: /etc/fluentd/config.d
         fluentd::plugin_provider: yum
+        fluentd::service_provider: systemd
         fluentd::repo_install: false