Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ Host entries in a personal `~/.ssh/config` file.

## Compatibility

This module officially supports the platforms listed in the
`metadata.json`. It does not fail on unsupported platforms and has been
known to work on many, many platforms since its creation in 2010.
This module officially supports the platforms listed with versions in
`metadata.json` and those are actively tested in CI. It does not fail on
unsupported platforms and has been known to work on many, many platforms
since its creation in 2010. Older platforms are no longer tested, though
their OS specific defaults are kept in `data/os/` so they continue to
work.

### Known to work

Expand Down
69 changes: 0 additions & 69 deletions Vagrantfile

This file was deleted.

9 changes: 2 additions & 7 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@
packages_server = ['openssh-server']
config_files = '50-redhat'
include_dir = '/etc/ssh/ssh_config.d'
when %r{Archlinux.*}, %r{SLED.*}, %r{SLES.*}
when %r{Archlinux.*}
packages_client = ['openssh']
packages_server = []
when %r{Debian-13}, %r{Ubuntu-(22.04|24.04|26.04)}
packages_client = ['openssh-client']
packages_server = ['openssh-server']
include_dir = '/etc/ssh/ssh_config.d'
# Kept in to exercise parameters only used by Solaris
when %r{Solaris-11.*}
packages_client = ['network/ssh', 'network/ssh/ssh-key']
packages_server = ['service/network/ssh']
packages_ssh_source = nil
end

describe "on #{os} with default values for parameters" do
Expand All @@ -41,7 +36,7 @@
is_expected.to contain_package(package).only_with(
{
'ensure' => 'installed',
'source' => packages_ssh_source,
'source' => nil,
'adminfile' => nil,
'before' => 'File[ssh_config]',
},
Expand Down
14 changes: 1 addition & 13 deletions spec/classes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,12 @@
packages = ['openssh-server']
service_hasstatus = true
service_name = 'sshd'
when %r{SLED.*}, %r{SLES.*}
config_mode = '0600'
packages = []
service_name = 'sshd'
service_hasstatus = true
when %r{Debian-13}, %r{Ubuntu-(22.04|24.04|26.04)}
config_mode = '0600'
packages = ['openssh-server']
service_hasstatus = true
service_name = 'ssh'
include_dir = '/etc/ssh/sshd_config.d'
# Kept in to exercise parameters only used by Solaris
when %r{Solaris-11.*}
config_mode = '0644'
packages = ['service/network/ssh']
packages_source = nil
service_hasstatus = true
service_name = 'ssh'
end

it { is_expected.to compile.with_all_deps }
Expand All @@ -64,7 +52,7 @@
is_expected.to contain_package(package).only_with(
{
'ensure' => 'installed',
'source' => packages_source,
'source' => nil,
'adminfile' => nil,
'before' => 'File[sshd_config]',
},
Expand Down
15 changes: 0 additions & 15 deletions spec/fixtures/hiera/hieradata/fqdn/hieramerge.example.com.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions spec/fixtures/hiera/hieradata/specific/test_hiera_merge.yaml

This file was deleted.

63 changes: 0 additions & 63 deletions spec/fixtures/ssh_config_ubuntu2004

This file was deleted.

143 changes: 0 additions & 143 deletions spec/fixtures/sshd_config_sles_15_x86_64

This file was deleted.

Loading