<% if scope.lookupvar("nodepool::statsd_host") != "" -%> export STATSD_HOST=<%= scope.lookupvar("nodepool::statsd_host") %> export STATSD_PORT=8125 <% end -%> <% scope.lookupvar("nodepool::environment").keys.sort.each do |key| -%> export <%= key %>='<%= scope.lookupvar("nodepool::environment")[key] %>' <% end -%> DAEMON_ARGS="-c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf"