1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-11-10 08:10:34 +00:00
puppet-rsnapshot/templates/misc.sh.erb
2016-01-21 15:11:10 +01:00

11 lines
282 B
Plaintext

#!/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-%>
#
#
#
# ++++++++++++++++++++++++++++++++++++++++++++