Sha256: de3b7519cf06915dde116d7991f18abc9b0a512c4ad348aaeb613f8939a342c0

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

require 'spec_helper'

describe 'Serverspec matchers of Solaris family', :os => :solaris do
  it_behaves_like 'support be_enabled matcher', 'svc:/network/ssh:default'
  it_behaves_like 'support be_installed matcher', 'service/network/ssh'
  it_behaves_like 'support be_running matcher', 'svc:/network/ssh:default'
  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', 'Configuration file for sshd(1m) (see also sshd_config(4))'
  it_behaves_like 'support be_user matcher', 'root'
  it_behaves_like 'support be_group matcher', 'root'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
serverspec-0.0.19 spec/solaris/matchers_spec.rb
serverspec-0.0.18 spec/solaris/matchers_spec.rb