You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When only changing the JSON file of a lookup table, a refresh of the rsyslog systemd service is missing.
How to reproduce
This can be reproduced by simply using the first example of the readme and running the puppet agent once. Then modify the content of the JSON lookup table (lookup_json parameter), for example 3.3.3.3 instead of 2.2.2.2 and run puppet again. The rsyslog service is not restarted and the new lookup table is not used (the old table is still used, instead).
When only changing the JSON file of a lookup table, a refresh of the rsyslog systemd service is missing.
How to reproduce
This can be reproduced by simply using the first example of the readme and running the puppet agent once. Then modify the content of the JSON lookup table (
lookup_json
parameter), for example 3.3.3.3 instead of 2.2.2.2 and run puppet again. The rsyslog service is not restarted and the new lookup table is not used (the old table is still used, instead).Suggestion to fix the problem
In lookup_table.pp#L20-L26, replace this code:
with this new code (similar to what is done in generate_concat.pp):
Maybe you also want to add the
$reload_on_hup
parameter in theif
condition, I am not sure on this.The text was updated successfully, but these errors were encountered: