support for snap install
Bug #1887390 reported by
Laurent Sesquès
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Medium
|
Laurent Sesquès |
Bug Description
The charm only allows installing telegraf as a deb, support for snap installations would be useful.
Also, the current version in the default install source (ppa:telegraf-
The deb packaging is not trivial:
https:/
We should allow the user to configure which source to use (deb or snap), leaving the deb as the default.
Related branches
~sajoupa/charm-telegraf:snap-support
- Stuart Bishop (community): Approve
- Joe Guo (community): Needs Fixing
- Xav Paice (community): Needs Fixing
- Paul Goins: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 718 lines (+231/-82)11 files modifiedREADME.md (+10/-0)
config.yaml (+11/-1)
files/telegraf_exec_metrics.py (+1/-1)
layer.yaml (+1/-3)
reactive/telegraf.py (+130/-31)
tests/bundles/focal-snap.yaml (+14/-0)
tests/test_telegraf.py (+26/-10)
tests/tests.yaml (+1/-0)
unit_tests/test_mysql.py (+6/-2)
unit_tests/test_postgresql.py (+15/-3)
unit_tests/test_telegraf.py (+16/-31)
Changed in charm-telegraf: | |
status: | New → In Progress |
assignee: | nobody → Laurent Sesques (sajoupa) |
importance: | Undecided → Medium |
Changed in charm-telegraf: | |
status: | In Progress → Fix Committed |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
milestone: | none → 20.08 |
To post a comment you must log in.