Sha256: af9b88ec4716090e498e29bbafb8ab680ad0c2b0ac8a6371c4c342299a128d05

Contents?: true

Size: 917 Bytes

Versions: 28

Compression:

Stored size: 917 Bytes

Contents

require 'spec_helper'

set :os, :family => 'base'

describe user('root') do
  it { should exist }
end

describe user('root') do
  it { should belong_to_group 'root' }
end

describe user('root') do
  it { should belong_to_primary_group 'root' }
end

describe user('root') do
  it { should have_uid 0 }
end

describe user('root') do
  it { should have_login_shell '/bin/bash' }
end

describe user('root') do
  it { should have_home_directory '/root' }
end

describe user('root') do
  it { should have_authorized_key 'ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH foo@bar.local' }
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
serverspec-2.14.1 spec/type/base/user_spec.rb
serverspec-2.14.0 spec/type/base/user_spec.rb
serverspec-2.13.0 spec/type/base/user_spec.rb
serverspec-2.12.0 spec/type/base/user_spec.rb
serverspec-2.11.0 spec/type/base/user_spec.rb
serverspec-2.10.2 spec/type/base/user_spec.rb
serverspec-2.10.1 spec/type/base/user_spec.rb
serverspec-2.10.0 spec/type/base/user_spec.rb
serverspec-2.9.1 spec/type/base/user_spec.rb
serverspec-2.9.0 spec/type/base/user_spec.rb
serverspec-2.8.2 spec/type/base/user_spec.rb
serverspec-2.8.1 spec/type/base/user_spec.rb
serverspec-2.8.0 spec/type/base/user_spec.rb
serverspec-2.7.2 spec/type/base/user_spec.rb
serverspec-2.7.1 spec/type/base/user_spec.rb
serverspec-2.7.0 spec/type/base/user_spec.rb
serverspec-2.6.0 spec/type/base/user_spec.rb
serverspec-2.5.0 spec/type/base/user_spec.rb
serverspec-2.4.0 spec/type/base/user_spec.rb
serverspec-2.3.1 spec/type/base/user_spec.rb