cdist/cdist/conf/type/__iptables_apply/gencode-remote

6 lines
115 B
Bash
Executable File

#!/bin/sh -e
if grep -q "^__file/etc/iptables.d/" "$__messages_in"; then
echo /etc/init.d/iptables restart
fi