19 lines
408 B
Ruby
19 lines
408 B
Ruby
require 'serverspec'
|
|
|
|
set :backend, :exec
|
|
|
|
puts
|
|
puts '================================'
|
|
puts %x(ansible --version)
|
|
puts '================================'
|
|
|
|
describe package('golang-1.11') do
|
|
it { should be_installed }
|
|
end
|
|
|
|
describe file('/usr/local/bin/sensu-email-handler') do
|
|
it { should exist }
|
|
it { should be_owned_by 'root' }
|
|
it { should be_grouped_into 'root' }
|
|
it { should be_mode 755 }
|
|
end
|