]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
config: forbid ":remove" groups which conflict with hosts
authorSimon Ruderich <simon@ruderich.org>
Tue, 13 Apr 2021 06:17:09 +0000 (08:17 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 13 Apr 2021 06:21:12 +0000 (08:21 +0200)
commitbd6ba5af0268551d7ca59ba4bb52a72f30af3b53
tree8a0b8c5939980d9705b1ce635b34d8441eaea251
parent4473e968425319e6beae558643bb047a6b01c17a
config: forbid ":remove" groups which conflict with hosts

Defining these groups had no effect but might confuse the user. As they
don't make any sense forbid them.
cmd/safcm/config/groups.go
cmd/safcm/config/groups_test.go
cmd/safcm/testdata/group-invalid-conflict-remove/groups.yaml [new file with mode: 0644]