Sha256: 8779f4ecdac9796e9cfdb580d2b21ab9b5a895d219cda17e261e9f127c6ad04d
Contents?: true
Size: 605 Bytes
Versions: 18
Compression:
Stored size: 605 Bytes
Contents
# encoding: utf-8 # author: Christoph Hartmann # author: Dominik Richter # use basic tests describe package('nginx') do it { should be_installed } end # extend tests with metadata control '01' do impact 0.7 title 'Verify nginx service' desc 'Ensures nginx service is up and running' describe service('nginx') do it { should be_enabled } it { should be_installed } it { should be_running } end end # implement os dependent tests web_user = 'www-data' web_user = 'nginx' if os[:family] == 'centos' describe user(web_user) do it { should exist } end
Version data entries
18 entries across 6 versions & 1 rubygems