Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 42bdaaea authored by Benedikt Wegmann's avatar Benedikt Wegmann
Browse files

ubuntu_server::openssh_server erstellt, FIX match_for_absence geht nicht

parent 85a5fda1
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,6 @@ class ubuntu_server::openssh_server($port="22",$groups_only="root"){
} ~> Service['ssh']
file_line{'openssh_server_config_NoDSA':
ensure => absent,
path => "/etc/ssh/sshd_config",
line => "#HostKey /etc/ssh/ssh_host_dsa_key",
match => "^HostKey /etc/ssh/ssh_host_dsa_key",
......@@ -49,7 +48,6 @@ class ubuntu_server::openssh_server($port="22",$groups_only="root"){
} ~> Service['ssh']
file_line{'openssh_server_config_NoEcdsa':
ensure => absent,
path => "/etc/ssh/sshd_config",
line => "#HostKey /etc/ssh/ssh_host_ecdsa_key",
match => "^HostKey /etc/ssh/ssh_host_ecdsa_key",
......@@ -57,7 +55,6 @@ class ubuntu_server::openssh_server($port="22",$groups_only="root"){
} ~> Service['ssh']
file_line{'openssh_server_config_NoEd25519':
ensure => absent,
path => "/etc/ssh/sshd_config",
line => "#HostKey /etc/ssh/ssh_host_ed25519_key",
match => "^HostKey /etc/ssh/ssh_host_ed25519_key",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment