Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/hosts/templates/hosts.erb

Issue 9358012: Don`t update hosts file on each provisioning run (Closed)
Patch Set: Created Feb. 7, 2013, 3:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hosts/templates/hosts.erb
===================================================================
--- a/modules/hosts/templates/hosts.erb
+++ b/modules/hosts/templates/hosts.erb
@@ -1,3 +1,3 @@
-<% hosts.each do |hostname, ip| %>
+<% hosts.sort.each do |hostname, ip| %>
<%= ip %> <%= hostname %>
<% end %>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld