Merge "Fix variables in nodepool.default.erb template"
This commit is contained in:
commit
2bc4e962b3
|
@ -1,8 +1,8 @@
|
|||
<% if scope.lookupvar("nodepool::statsd_host") != "" -%>
|
||||
export STATSD_HOST=<%= scope.lookupvar("nodepool::statsd_host") %>
|
||||
<% if @statsd_host != "" -%>
|
||||
export STATSD_HOST=<%= @statsd_host %>
|
||||
export STATSD_PORT=8125
|
||||
<% end -%>
|
||||
<% scope.lookupvar("nodepool::environment").keys.sort.each do |key| -%>
|
||||
export <%= key %>='<%= scope.lookupvar("nodepool::environment")[key] %>'
|
||||
<% @environment.keys.sort.each do |key| -%>
|
||||
export <%= key %>='<%= @environment[key] %>'
|
||||
<% end -%>
|
||||
DAEMON_ARGS="-c /etc/nodepool/nodepool.yaml -l /etc/nodepool/logging.conf"
|
||||
|
|
Loading…
Reference in New Issue