From: Peter Palfrader Date: Sun, 7 Dec 2014 09:43:23 +0000 (+0100) Subject: fix variable use X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dee96bbbcc1b06d32b2cb5e80fbad34e52c1c79e;p=dsa-puppet.git fix variable use --- 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