extra_plugins config not written when changing install_method

Bug #1903007 reported by Laurent Sesquès
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
High
Laurent Sesquès

Bug Description

When changing install_method (from deb to snap or the opposite), the 'extra_plugins.configured' doesn't get cleared, so the config for extra plugins doesn't get written to the new location (either /etc/telegraf/telegraf.d or /var/snap/telegraf/current/telegraf.d).
Clearing that flag when install_method is changed will fix it.

Related branches

Haw Loeung (hloeung)
Changed in charm-telegraf:
assignee: nobody → Laurent Sesques (sajoupa)
Changed in charm-telegraf:
status: New → Fix Committed
Jose Guedez (jfguedez)
Changed in charm-telegraf:
importance: Undecided → High
Linda Guo (lihuiguo)
Changed in charm-telegraf:
status: Fix Committed → Fix Released
milestone: none → 21.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.