fix some errors
This commit is contained in:
parent
fe70776dfc
commit
ae929e4773
2 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,9 @@ defaults = {
|
||||||
'ups',
|
'ups',
|
||||||
},
|
},
|
||||||
'sudoers': {
|
'sudoers': {
|
||||||
'telegraf': ['/usr/local/share/telegraf/apcupsd'],
|
'telegraf': {
|
||||||
|
'/usr/local/share/telegraf/apcupsd',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'telegraf': {
|
'telegraf': {
|
||||||
'config': {
|
'config': {
|
||||||
|
|
|
@ -14,7 +14,7 @@ defaults = {
|
||||||
|
|
||||||
|
|
||||||
@metadata_reactor.provides(
|
@metadata_reactor.provides(
|
||||||
'telegraf/config/inpus/exec',
|
'telegraf/config/inputs/exec',
|
||||||
)
|
)
|
||||||
def telegraf(metadata):
|
def telegraf(metadata):
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue