Fix Telegraf startup config files issue

Telegraf allow plugin configuration in /etc/telegraf/telegraf.d
directory. These files comes from telegraf/templates/config/*.conf,
but this directory is optional.

Closes-Bug: #1673691

Change-Id: Idc695c86c5f6b6b0bd514728f2025321cd200907
This commit is contained in:
Bertrand Lallau 2017-03-20 07:06:10 +01:00
parent ac2e9425b6
commit 8e3cce34a2

View File

@ -11,7 +11,8 @@
"source": "{{ container_config_directory }}/config/*", "source": "{{ container_config_directory }}/config/*",
"dest": "/etc/telegraf/telegraf.d/", "dest": "/etc/telegraf/telegraf.d/",
"owner": "telegraf", "owner": "telegraf",
"perm": "0600" "perm": "0600",
"optional": true
} }
], ],
"permissions": [ "permissions": [