sous-chefs / rsyslog

Development repository for the rsyslog cookbook
https://supermarket.chef.io/cookbooks/rsyslog
Apache License 2.0
65 stars 199 forks source link

file_input configured InputFileTag and InputFileStateFile with a path #104

Closed jameslegg closed 8 years ago

jameslegg commented 8 years ago

The name variable is reassigned within the file_input resource inside the template resource to be the file path of the configuration file. This causes InputFileTag and InputFileStateFile to be configured with a path to the configuration file and not the name of the rsyslog_file_input resource as I believe was probably the intention.

Tests for the broken behaviour are in a separate commit.