65d3344f81
We've been running 3 nodepool services for a week now, lets properly template them. nodepool uploads images, nodepool-launcher creates nodes, nodepool-deleter deletes them. This is mean to be a short term solution for zuulv25, and shouldn't affect existing nodepool installations. Change-Id: Iaee3148d6710f796e9f1ea7cba2962cfbb530fa2 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
13 lines
476 B
Plaintext
13 lines
476 B
Plaintext
<% if @statsd_host != nil && @statsd_host != "" -%>
|
|
export STATSD_HOST=<%= @statsd_host %>
|
|
export STATSD_PORT=8125
|
|
<% end -%>
|
|
<% @environment.keys.sort.each do |key| -%>
|
|
export <%= key %>='<%= @environment[key] %>'
|
|
<% end -%>
|
|
<% if @split_daemon -%>
|
|
DAEMON_ARGS="--no-builder -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf --no-launches --no-deletes"
|
|
<% else -%>
|
|
DAEMON_ARGS="--no-builder -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf"
|
|
<% end -%>
|