From dee96bbbcc1b06d32b2cb5e80fbad34e52c1c79e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 7 Dec 2014 10:43:23 +0100 Subject: [PATCH] fix variable use --- modules/ssh/templates/sshd_config.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ssh/templates/sshd_config.erb b/modules/ssh/templates/sshd_config.erb index 7fd62776..e1b4b3cc 100644 --- a/modules/ssh/templates/sshd_config.erb +++ b/modules/ssh/templates/sshd_config.erb @@ -25,7 +25,7 @@ extraports Protocol 2 # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key -<%- if has_variable?("has_etc_ssh_ssh_host_ed25519_key") && has_srv_build_trees == "true" -%> +<%- if has_variable?("has_etc_ssh_ssh_host_ed25519_key") && has_etc_ssh_ssh_host_ed25519_key == "true" -%> HostKey /etc/ssh/ssh_host_ed25519_key <% end %> #Privilege Separation is turned on for security -- 2.39.2