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.
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.