From: Alexander Barton Date: Fri, 15 Apr 2016 13:45:05 +0000 (+0200) Subject: deploy.sh: Make sure /usr/local/etc/zabbix/zabbix_agentd.conf.d exists X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ZabbixExtensions.git;a=commitdiff_plain;h=52985cdbe2457259c0cc3f78ff5862a0cd68a943 deploy.sh: Make sure /usr/local/etc/zabbix/zabbix_agentd.conf.d exists --- diff --git a/deploy.sh b/deploy.sh index 3c1d956..c925fc8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -54,6 +54,8 @@ refresh_sudo() { for host in "$@"; do ax_msg - "$host ..." + ssh root@$host mkdir -p /usr/local/etc/zabbix/zabbix_agentd.conf.d + # Zabbix agent configuration out=$(rsync -rt --delete --log-format=%f -e ssh --exclude Makefile \ "$BASE_DIR/etc/zabbix_agentd.conf.d/" \