]> git.openstreetmap.org Git - chef.git/blobdiff - roles/edgeuno.rb
Version bump cividiscount
[chef.git] / roles / edgeuno.rb
index d3416bba6bf1eac83b60af33630d2f4ea9278f09..d6fb53aefcdb6013f9ff18202ced65043a209c13 100644 (file)
@@ -2,27 +2,36 @@ name "edgeuno"
 description "Role applied to all servers at Edgeuno"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :e1admin => { :status => :administrator }
+    }
+  },
   :hosted_by => "EdgeUno",
-  :location => "Bogotá, Colombia",
   :networking => {
-    :nameservers => [
-      "8.8.8.8",
-      "1.1.1.1"
-    ],
-    :roles => {
-      :external => {
-        :zone => "osm"
-      }
+    :firewall => {
+      :inet => [
+        {
+          :action => "ACCEPT",
+          :source => "net:200.25.3.8/31",
+          :dest => "fw",
+          :proto => "udp",
+          :dest_ports => "snmp",
+          :source_ports => "1024:",
+          :rate_limit => "-",
+          :connection_limit => "-"
+        },
+        {
+          :action => "ACCEPT",
+          :source => "net:200.25.3.8/31",
+          :dest => "fw",
+          :proto => "tcp",
+          :dest_ports => "snmp",
+          :source_ports => "1024:",
+          :rate_limit => "-",
+          :connection_limit => "-"
+        }
+      ]
     }
   }
 )
-
-override_attributes(
-  :ntp => {
-    :servers => ["0.co.pool.ntp.org", "1.co.pool.ntp.org", "south-america.pool.ntp.org"]
-  }
-)
-
-run_list(
-  "role[co]"
-)