mirror of
https://github.com/inspec/inspec
synced 2025-02-16 22:18:38 +00:00
CFINSPEC-94: Remove old comments that says deprecation for serverspec
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
d4e49c87b7
commit
95a6ecca6b
1 changed files with 3 additions and 6 deletions
|
@ -137,20 +137,17 @@ module Inspec::Resources
|
|||
# its('badpasswordattempts') { should eq 0 }
|
||||
# end
|
||||
#
|
||||
# The following Serverspec matchers are deprecated in favor for direct value access
|
||||
# The following Serverspec matchers were deprecated in favor for direct value access
|
||||
# but are made available as part of Serverspec compatibility in March, 2022.
|
||||
#
|
||||
# describe user('root') do
|
||||
# it { should belong_to_group 'root' }
|
||||
# it { should belong_to_primary_group 'root' }
|
||||
# it { should have_uid 0 }
|
||||
# it { should have_home_directory '/root' }
|
||||
# it { should have_login_shell '/bin/bash' }
|
||||
# its('minimum_days_between_password_change') { should eq 0 }
|
||||
# its('maximum_days_between_password_change') { should eq 99 }
|
||||
# end
|
||||
#
|
||||
# ServerSpec tests that are not supported:
|
||||
#
|
||||
# describe user('root') do
|
||||
# it { should have_authorized_key 'ssh-rsa ADg54...3434 user@example.local' }
|
||||
# its(:encrypted_password) { should eq 1234 }
|
||||
# end
|
||||
|
|
Loading…
Add table
Reference in a new issue