mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-11-10 00:00:35 +00:00
add quotes to ssh command (misc script)
This commit is contained in:
parent
a67dd7ea29
commit
6f92da8a17
@ -2,6 +2,6 @@
|
|||||||
#This file is managed by puppet
|
#This file is managed by puppet
|
||||||
#
|
#
|
||||||
<%@commands.each do |command| -%>
|
<%@commands.each do |command| -%>
|
||||||
ssh -l <%=@backup_user-%> <%=@host-%> <%=command-%>
|
ssh -l <%=@backup_user-%> <%=@host-%> '<%=command-%>'
|
||||||
|
|
||||||
<%end-%>
|
<%end-%>
|
||||||
|
Loading…
Reference in New Issue
Block a user