diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-12 15:58:21 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-12 15:58:21 +0000 |
commit | de791082c75d687dc5f1cf7bacdd78859edb475a (patch) | |
tree | adffc85e9fc47825c30fa88c5938778d68d8dbf1 | |
parent | cb2393f6e003cea01231e50b93a19498fd2067c5 (diff) | |
parent | 2a329d545d0e619c88c323148d5fe2098e70b4b1 (diff) |
Merge "Stop SSHD profile clobbering SSH client config"
-rw-r--r-- | manifests/profile/base/sshd.pp | 2 | ||||
-rw-r--r-- | spec/classes/tripleo_profile_base_sshd_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/manifests/profile/base/sshd.pp b/manifests/profile/base/sshd.pp index f43089c..2b86032 100644 --- a/manifests/profile/base/sshd.pp +++ b/manifests/profile/base/sshd.pp @@ -32,7 +32,7 @@ class tripleo::profile::base::sshd ( $motd = hiera('MOTD', undef), ) { - include ::ssh + include ::ssh::server if $bannertext { $filelist = [ '/etc/issue', '/etc/issue.net', ] diff --git a/spec/classes/tripleo_profile_base_sshd_spec.rb b/spec/classes/tripleo_profile_base_sshd_spec.rb index c611fe9..e84a1f5 100644 --- a/spec/classes/tripleo_profile_base_sshd_spec.rb +++ b/spec/classes/tripleo_profile_base_sshd_spec.rb @@ -24,7 +24,7 @@ describe 'tripleo::profile::base::sshd' do context 'it should do nothing' do it do - is_expected.to contain_class('ssh') + is_expected.to contain_class('ssh::server') is_expected.to_not contain_file('/etc/issue') is_expected.to_not contain_file('/etc/issue.net') is_expected.to_not contain_file('/etc/motd') |