fix some errors

This commit is contained in:
mwiegand 2022-02-12 17:01:06 +01:00
parent fe70776dfc
commit ae929e4773
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,9 @@ defaults = {
'ups',
},
'sudoers': {
'telegraf': ['/usr/local/share/telegraf/apcupsd'],
'telegraf': {
'/usr/local/share/telegraf/apcupsd',
},
},
'telegraf': {
'config': {

View file

@ -14,7 +14,7 @@ defaults = {
@metadata_reactor.provides(
'telegraf/config/inpus/exec',
'telegraf/config/inputs/exec',
)
def telegraf(metadata):
return {