Skip to content

Commit

Permalink
Convert erb to epp
Browse files Browse the repository at this point in the history
  • Loading branch information
Braxton Schafer committed Apr 2, 2020
1 parent b524b58 commit 46da6ba
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
#!/bin/ksh
# THIS FILE IS MANAGED BY PUPPET

<%- | String $pidfile,
String $agent_configfile_path,
String $zabbix_user
| -%>

##################################################
# name: start zabbix agent
# purpose: zabbix agent start script
# author: V.Danhelka IBM 11.2.2016; B. Schafer 2020-02-26
##################################################

PID=<%= @pidfile %>
PID=<%= $pidfile %>
BIN=/usr/sbin/zabbix_agentd
CONF=<%= @agent_configfile_path %>
CONF=<%= $agent_configfile_path %>
LOGFILE=/var/log/zabbix/zabbix_agentd.log
ARGS="-c $CONF"
USER=<%= @zabbix_user %>
USER=<%= $zabbix_user %>

test -d $(dirname $LOGFILE) || mkdir -p $(dirname $LOGFILE)
chown -R $USER $LOGDIR
Expand Down

0 comments on commit 46da6ba

Please sign in to comment.