Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- "el9"
- "debian-11"
- "debian-12"
- "debian-13"
- "ubuntu-2004"
- "ubuntu-2204"
- "ubuntu-2404"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ known to work on many, many platforms since its creation in 2010.
* Debian 10
* Debian 11
* Debian 12
* Debian 13
* EL 7
* EL 8
* EL 9
Expand Down
24 changes: 24 additions & 0 deletions data/os/Debian/13.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# Debian 13 defaults in alphabetical order per class
ssh::gss_api_authentication: 'yes'
ssh::hash_known_hosts: 'yes'
ssh::host: '*'
ssh::include: '/etc/ssh/ssh_config.d/*.conf'
ssh::packages:
- 'openssh-client'
ssh::send_env:
- 'LANG'
- 'LC_*'

ssh::server::accept_env:
- 'LANG'
- 'LC_*'
ssh::server::kbd_interactive_authentication: 'no'
ssh::server::include: '/etc/ssh/sshd_config.d/*.conf'
ssh::server::packages:
- 'openssh-server'
ssh::server::print_motd: 'no'
ssh::server::service_name: 'ssh'
ssh::server::subsystem: 'sftp /usr/lib/openssh/sftp-server'
ssh::server::use_pam: 'yes'
ssh::server::x11_forwarding: 'yes'
3 changes: 2 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"operatingsystem": "Debian",
"operatingsystemrelease": [
"11",
"12"
"12",
"13"
]
},
{
Expand Down
27 changes: 27 additions & 0 deletions spec/acceptance/nodesets/debian-13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
HOSTS:
debian13:
roles:
- agent
platform: debian-13-amd64
hypervisor: docker
image: debian:13
docker_preserve_image: true
docker_cmd:
- '/sbin/init'
docker_image_commands:
- 'apt-get install -y wget net-tools systemd-sysv locales apt-transport-https ca-certificates'
- 'echo "LC_ALL=en_US.UTF-8" >> /etc/environment'
- 'echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen'
- 'echo "LANG=en_US.UTF-8" > /etc/locale.conf'
- 'locale-gen en_US.UTF-8'
docker_env:
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
- LC_ALL=en_US.UTF-8
docker_container_name: 'ssh-debian13'
CONFIG:
log_level: debug
type: foss
ssh:
password: root
auth_methods: ["password"]
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
when %r{Debian-10}, %r{Ubuntu-18.04}
packages_client = ['openssh-client']
packages_server = ['openssh-server']
when %r{Debian-1[12]}, %r{Ubuntu-(20.04|22.04|24.04)}
when %r{Debian-1[123]}, %r{Ubuntu-(20.04|22.04|24.04)}
packages_client = ['openssh-client']
packages_server = ['openssh-server']
include_dir = '/etc/ssh/ssh_config.d'
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
packages = ['openssh-server']
service_hasstatus = true
service_name = 'ssh'
when %r{Debian-1[12]}, %r{Ubuntu-(20.04|22.04|24.04)}
when %r{Debian-1[123]}, %r{Ubuntu-(20.04|22.04|24.04)}
config_mode = '0600'
packages = ['openssh-server']
service_hasstatus = true
Expand Down
13 changes: 13 additions & 0 deletions spec/fixtures/testing/Debian-13_ssh_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
#
# See https://man.openbsd.org/ssh_config for more info

Host *
GSSAPIAuthentication yes
HashKnownHosts yes
Include /etc/ssh/ssh_config.d/*.conf
SendEnv LANG
SendEnv LC_*
SendEnv COLORTERM
SendEnv NO_COLOR
15 changes: 15 additions & 0 deletions spec/fixtures/testing/Debian-13_sshd_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file is being maintained by Puppet.
# DO NOT EDIT
#
# See https://man.openbsd.org/sshd_config for more info

Include /etc/ssh/sshd_config.d/*.conf
AcceptEnv LANG
AcceptEnv LC_*
AcceptEnv COLORTERM
AcceptEnv NO_COLOR
KbdInteractiveAuthentication no
PrintMotd no
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
X11Forwarding yes