Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Add initial envendpoint template
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Peitz committed Jun 1, 2016
1 parent 0087eef commit 088aed1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions templates/default/object.envendpoint.conf.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* This file is managed by Chef.
* Do NOT modify this file directly.
*/

/**
* Chef Environment Endpoint Objects.
*/

# default environment endpoint object for env nodes
<% @endpoints.sort.map do |endpoint|%>
object Endpoint <%= endpoint.inspect -%> {
host = <%= endpoint.inspect %>
<%- if @port %>
port = <%= @port.inspect %>
<% end -%>
<% if @log_duration -%>
log_duration = <%= @log_duration %>
<% end -%>
}

<% end -%>

0 comments on commit 088aed1

Please sign in to comment.