]> git.openstreetmap.org Git - chef.git/blobdiff - roles/c3sl.rb
Add role for boitata
[chef.git] / roles / c3sl.rb
diff --git a/roles/c3sl.rb b/roles/c3sl.rb
new file mode 100644 (file)
index 0000000..2cd7f7d
--- /dev/null
@@ -0,0 +1,25 @@
+name "c3sl"
+description "Role applied to all servers at Centro de Computação Científica e Software Livre"
+
+default_attributes(
+  :hosted_by => "Centro de Computação Científica e Software Livre, Universidade Federal do Paraná",
+  :location => "Curitiba, Brazil",
+  :networking => {
+    :nameservers => ["200.17.202.3", "200.236.31.1"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.br.pool.ntp.org", "1.br.pool.ntp.org", "america.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[br]"
+)