Sha256: d53a04688d8acf7c27ed5d90930515af5804e239fd97d3498e9492f5efd799e5
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
require 'serverspec' set :backend, :exec describe package('instrumental-tools') do it { should be_installed } end describe service('instrument_server') do it { should be_enabled } it { should be_running } end describe file('/opt/instrumental-tools/instrument_server.pid') do it { should be_file } it { should be_owned_by('nobody') } end describe file('/etc/instrumental.yml') do it { should be_file } it { should be_owned_by('nobody') } end describe process('ruby') do it { should be_running } its(:user) { should eq 'nobody' } its(:args) { should match /instrument_server/ } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
instrumental_tools-1.0.0 | test/integration/default/serverspec/instrumental_tools_spec.rb |