1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-09-20 09:20:34 +00:00
puppet-rsnapshot/templates/misc.sh.erb

11 lines
282 B
Plaintext
Raw Normal View History

2016-01-21 14:11:10 +00:00
#!/bin/bash
# add custom stuff here
# FIXME: remember to concat for custom stuff after the last line of the puppet generated script
<% if @osfamily == 'RedHat' -%>
ssh <%=@host-%> rpm -qa --qf='%{name},' > packages.txt
<%end-%>
#
#
#
# ++++++++++++++++++++++++++++++++++++++++++++