telegraf install hook failing if telegraf.conf exists before telegraf package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Expired
|
Medium
|
Unassigned |
Bug Description
the apt hooks to install telegraf are failing at this prompt to install telegraf:
Configuration file '/etc/telegraf/
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** telegraf.conf (Y/I/N/O/D/Z) [default=N] ? n
Please update to force "N" on the package maintainer file update to allow for upgrades/hooks to properly install/upgrade telegraf.
Changed in charm-telegraf: | |
importance: | Undecided → Medium |
This can also carry over to locking dpkg for other charms. Suggest adding update-status hook routine to check for need to configure telegraf dpkg and force a "no" response.