This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Peitz
committed
Jun 1, 2016
1 parent
088aed1
commit da18ad6
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* This file is managed by Chef. | ||
* Do NOT modify this file directly. | ||
*/ | ||
|
||
/** | ||
* Chef Environment (Node)Zone Objects. | ||
*/ | ||
|
||
# default environment endpoint object for env nodes | ||
<% @zones.sort.map do |zone|%> | ||
object Zone <%= zone.inspect -%> { | ||
endpoints = [ <%= zone.inspect %> ] | ||
<%- if @parent %> | ||
parent = <%= @parent.inspect %> | ||
<% end -%> | ||
} | ||
|
||
<% end -%> | ||
|
||
<%- if @zone %> | ||
object Zone <%= @zone.inspect -%> { | ||
endpoints = <%= @zones.inspect %> | ||
<%- if @parent %> | ||
parent = <%= @parent.inspect %> | ||
<% end -%> | ||
} | ||
<% end -%> |