]> git.openstreetmap.org Git - chef.git/blobdiff - roles/aws.rb
Configure the publisher URL for rails port instances
[chef.git] / roles / aws.rb
index eabb762c74fe59518932f25da382cd2c5dc3375c..5f4ac7ace2b33f5f5e76a63b1a3488ec20adbd24 100644 (file)
@@ -2,6 +2,8 @@ name "aws"
 description "Role applied to all servers on AWS"
 
 default_attributes(
+  :hosted_by => "AWS",
+  :location => "Ireland",
   :networking => {
     :nameservers => ["172.31.0.2"],
     :roles => {
@@ -10,6 +12,12 @@ default_attributes(
           :prefix => "20",
           :gateway => "172.31.0.1"
         }
+      },
+      :external => {
+        :zone => "aws",
+        :inet => {
+          :prefix => "32"
+        }
       }
     }
   }