Sha256: 7785387a016a304c16b74a40115d3ae2d70467856031884e0f169982972a16f6

Contents?: true

Size: 790 Bytes

Versions: 13

Compression:

Stored size: 790 Bytes

Contents

require 'spec_helper'

describe 'Serverspec matchers of Solaris family', :os => :solaris do
  let(:test_server_host) { 'serverspec-solaris-host' }

  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

13 entries across 13 versions & 1 rubygems

Version Path
serverspec-0.0.17 spec/solaris/matchers_spec.rb
serverspec-0.0.16 spec/solaris/matchers_spec.rb
serverspec-0.0.15 spec/solaris/matchers_spec.rb
serverspec-0.0.14 spec/solaris/matchers_spec.rb
serverspec-0.0.13 spec/solaris/matchers_spec.rb
serverspec-0.0.12 spec/solaris/matchers_spec.rb
serverspec-0.0.11 spec/solaris/matchers_spec.rb
serverspec-0.0.10 spec/solaris/matchers_spec.rb
serverspec-0.0.9 spec/solaris/matchers_spec.rb
serverspec-0.0.8 spec/solaris/matchers_spec.rb
serverspec-0.0.7 spec/solaris/matchers_spec.rb
serverspec-0.0.6 spec/solaris/matchers_spec.rb
serverspec-0.0.5 spec/solaris/matchers_spec.rb