# automatically generated by chef cookbook opsmatic-cookbook
# additional info -> https://opsmatic.com/app/docs/agent-configuration

<% if node["opsmatic"]["host_alias"] && !node["opsmatic"]["host_alias"].empty? %>
# Host Alias
host_alias = "<%= node["opsmatic"]["host_alias"] %>"
<% end %>
<% if node["opsmatic"]["groups"] && !node["opsmatic"]["groups"].empty? %>
# Group(s) that include this host_alias, comma separated
groups = "<%= node["opsmatic"]["groups"].join(',') %>"
<% end %>

# automatically generated by chef cookbook opsmatic-cookbook
# additional info -> https://opsmatic.com/app/docs/agent-configuration

<% if node["opsmatic"]["host_alias"] %>
# Host Alias
host_alias = "<%= node["opsmatic"]["host_alias"] %>"
<% end %>
<% if node["opsmatic"]["groups"] && !node["opsmatic"]["groups"].empty? %>
# Group of which this host is a memeber (comma separated)
groups = "<%= node["opsmatic"]["groups"].join(',') %>"
<% end %>

Remove pointless boolean check for empty values...should just keep going
Remove pointless boolean check for empty values...should just keep going
