Sha256: 007e24852d5f368849d4d66bcbf41462fb5e751fd61edc7eaa05ee7a7c3dc375
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
require 'spec_helper' describe 'Serverspec matchers of Red Hat family', :os => :redhat do let(:test_server_host) { 'serverspec-redhat-host' } it_behaves_like 'support be_enabled matcher', 'sshd' it_behaves_like 'support be_installed matcher', 'openssh' it_behaves_like 'support be_running matcher', 'sshd' it_behaves_like 'support be_listening matcher', 22 it_behaves_like 'support be_file matcher', '/etc/ssh/sshd_config' it_behaves_like 'support be_directory matcher', '/etc/ssh' it_behaves_like 'support contain matcher', '/etc/ssh/sshd_config', 'This is the sshd server system-wide configuration file' it_behaves_like 'support be_user matcher', 'root' it_behaves_like 'support be_group matcher', 'wheel' # Test for case of not registered in the service, but running as process. it_behaves_like 'support be_running matcher', 'udevd' it_behaves_like 'support be_mode matcher', '/etc/passwd', 644 it_behaves_like 'support be_owned_by matcher', '/etc/passwd', 'root' it_behaves_like 'support be_grouped_into matcher', '/etc/passwd', 'root' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.0.9 | spec/redhat/matchers_spec.rb |
serverspec-0.0.8 | spec/redhat/matchers_spec.rb |
serverspec-0.0.7 | spec/redhat/matchers_spec.rb |