Sha256: 865057ace30cb7f466dfd376b1775146c39fd469d51058dd148b96bae467d358

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

require 'spec_helper'

describe 'Serverspec matchers of Gentoo family', :os => :gentoo do
  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'
end

Version data entries

2 entries across 2 versions & 1 rubygems

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