-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from flichtenheld/u24
Add support for Debian 12 and Ubuntu 24.04
- Loading branch information
Showing
13 changed files
with
159 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# Debian 12 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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
# Ubuntu 24.04 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::password_authentication: 'yes' | ||
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
HOSTS: | ||
debian12: | ||
roles: | ||
- agent | ||
platform: debian-12-amd64 | ||
hypervisor: docker | ||
image: debian:12 | ||
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-debian12' | ||
CONFIG: | ||
log_level: debug | ||
type: foss | ||
ssh: | ||
password: root | ||
auth_methods: ["password"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
HOSTS: | ||
ubuntu2404: | ||
roles: | ||
- agent | ||
platform: ubuntu-24.04-amd64 | ||
hypervisor : docker | ||
image: ubuntu:24.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- "rm -f /etc/dpkg/dpkg.cfg.d/excludes" | ||
- 'apt-get install -y wget net-tools iproute2 locales apt-transport-https ca-certificates' | ||
- '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-ubuntu2404' | ||
CONFIG: | ||
log_level: debug | ||
type: foss | ||
ssh: | ||
password: root | ||
auth_methods: ["password"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/sshd_config for more info | ||
|
||
Include /etc/ssh/sshd_config.d/*.conf | ||
AcceptEnv LANG | ||
AcceptEnv LC_* | ||
KbdInteractiveAuthentication no | ||
PrintMotd no | ||
Subsystem sftp /usr/lib/openssh/sftp-server | ||
UsePAM yes | ||
X11Forwarding yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# 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_* | ||
KbdInteractiveAuthentication no | ||
PasswordAuthentication yes | ||
PrintMotd no | ||
Subsystem sftp /usr/lib/openssh/sftp-server | ||
UsePAM yes | ||
X11Forwarding yes |