~sajoupa/charm-telegraf:sudoers-template

Last commit made on 2021-03-15
Get this branch:
git clone -b sudoers-template https://git.launchpad.net/~sajoupa/charm-telegraf
Only Laurent Sesquès can upload to this branch. If you are Laurent Sesquès please log in for upload directions.

Branch merges

Branch information

Name:
sudoers-template
Repository:
lp:~sajoupa/charm-telegraf

Recent commits

9a5427c... by Laurent Sesquès

small lint fix

c669420... by Laurent Sesquès

sudo templates: add a trailing newline to avoid breaking sudo ; also update the visudo test to catch it if needed. And a minor variable renaming.

bc49c94... by Laurent Sesquès

get_telegraf_owner should return SNAP_OWNER, not SNAP_USER (when appropriate)

218f803... by Laurent Sesquès

update visudo validation to reflect the use of sudoers templates, remove an unneeded import

facb68a... by Laurent Sesquès

make sudoers files templates, taking into account install_method

23262ff... by Benjamin Allot

Add pytest parametrization for install_method

Also remove reference to unittest

Reviewed-on: https://code.launchpad.net/~ballot/charm-telegraf/+git/telegraf-charm/+merge/397880
Reviewed-by: Tom Haddon <email address hidden>

6fe4e5f... by Benjamin Allot

Blacken and lint

99afcf1... by Benjamin Allot

Add xdist to allow faster test execution

8932f79... by Benjamin Allot

Add parametrization for the install_method

Until all the tests are fixed, only the test_write_telegraf_file tests
is parametrized with both install_method.
Also, remove reference to unittests and convert to pure pytest.

60e464b... by Benjamin Allot

Add a way to customize args upon tox calls for unit tests