ansible-role-go_programs/test/integration/default/serverspec/default_spec.rb
2019-01-29 19:10:41 +01:00

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