Remove if for ssh_gssapiauthentication. Remove unnecessary line in spec_helper.rb. Fix dot by backslash.
This commit is contained in:
parent
fbe72409ff
commit
29c042a960
@ -422,9 +422,7 @@ class ssh (
|
||||
fail('ssh::sshd_config_banner must be set to be able to use sshd_banner_content.')
|
||||
}
|
||||
|
||||
if $ssh_gssapiauthentication != undef {
|
||||
validate_re($ssh_gssapiauthentication, '^(yes|no)$', "ssh::ssh_gssapiauthentication may be either 'yes' or 'no' and is set to <${ssh_gssapiauthentication}>.")
|
||||
}
|
||||
validate_re($ssh_gssapiauthentication, '^(yes|no)$', "ssh::ssh_gssapiauthentication may be either 'yes' or 'no' and is set to <${ssh_gssapiauthentication}>.")
|
||||
|
||||
if $ssh_gssapidelegatecredentials != undef {
|
||||
validate_re($ssh_gssapidelegatecredentials, '^(yes|no)$', "ssh::ssh_gssapidelegatecredentials may be either 'yes' or 'no' and is set to <${ssh_gssapidelegatecredentials}>.")
|
||||
|
@ -2288,7 +2288,7 @@ describe 'ssh' do
|
||||
it do
|
||||
expect {
|
||||
should contain_class('ssh')
|
||||
}.to raise_error(Puppet::Error,/^ssh::ssh_gssapiauthentication may be either 'yes' or 'no' and is set to <#{value.to_s}>./)
|
||||
}.to raise_error(Puppet::Error,/^ssh::ssh_gssapiauthentication may be either 'yes' or 'no' and is set to <#{value.to_s}>\./)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -1,2 +1 @@
|
||||
require 'rubygems'
|
||||
require 'puppetlabs_spec_helper/module_spec_helper'
|
||||
|
Loading…
x
Reference in New Issue
Block a user