mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Added check
This commit is contained in:
@ -11,7 +11,6 @@ end
|
|||||||
describe 'Telegraf Services' do
|
describe 'Telegraf Services' do
|
||||||
describe service('telegraf') do
|
describe service('telegraf') do
|
||||||
it { should be_enabled }
|
it { should be_enabled }
|
||||||
it { should be_running }
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -23,5 +22,6 @@ describe 'Telegraf Configuration' do
|
|||||||
|
|
||||||
it { should contain "[cpu]" }
|
it { should contain "[cpu]" }
|
||||||
it { should contain "[mem]" }
|
it { should contain "[mem]" }
|
||||||
|
it { should contain "url = \"http://localhost:8086\"" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user