2872: Merge branch 'master' into 2872-folder-nav
[arvados.git] / services / api / config / application.yml.example
index 030e23894f00a5436354d36cf946272bdea616a2..d6db3a4f8b7bcca3aea4c9d92974d9d131b307c5 100644 (file)
@@ -38,11 +38,11 @@ production:
   # The version below is suitable for AWS.
   # Uncomment and change <%# to <%= to use it.
   # compute_node_nameservers: <%#
-    require 'net/http'
-    ['local', 'public'].collect do |iface|
-      Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
-    end << '172.16.0.23'
-  %>
+    require 'net/http'
+    ['local', 'public'].collect do |iface|
+      Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
+    end << '172.16.0.23'
+  %>
 
 test:
   uuid_prefix: zzzzz