From 6f92da8a17a12fc2cdd2445163450c93e60d12d0 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 2 Apr 2017 10:45:25 +0200 Subject: [PATCH] add quotes to ssh command (misc script) --- templates/misc.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/misc.sh.erb b/templates/misc.sh.erb index 15c9520..7185cc2 100644 --- a/templates/misc.sh.erb +++ b/templates/misc.sh.erb @@ -2,6 +2,6 @@ #This file is managed by puppet # <%@commands.each do |command| -%> -ssh -l <%=@backup_user-%> <%=@host-%> <%=command-%> +ssh -l <%=@backup_user-%> <%=@host-%> '<%=command-%>' <%end-%>