]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/libraries/ipaddresses.rb
Remove xapi role.
[chef.git] / cookbooks / networking / libraries / ipaddresses.rb
index 811c81884387cbcd02cb7a5382bb123ccf35a93c..5eb54265e02ae8d57e79255a03041bd5bceeb743 100644 (file)
@@ -15,11 +15,11 @@ class Chef
     end
 
     def internal_ipaddress
     end
 
     def internal_ipaddress
-      return ipaddresses(:role => :internal).first
+      ipaddresses(:role => :internal).first
     end
 
     def external_ipaddress
     end
 
     def external_ipaddress
-      return ipaddresses(:role => :external).first
+      ipaddresses(:role => :external).first
     end
   end
 end
     end
   end
 end