]> git.openstreetmap.org Git - chef.git/blobdiff - roles/zcu.rb
Add role for fume
[chef.git] / roles / zcu.rb
diff --git a/roles/zcu.rb b/roles/zcu.rb
new file mode 100644 (file)
index 0000000..b059c5b
--- /dev/null
@@ -0,0 +1,25 @@
+name "zcu"
+description "Role applied to all servers at University of West Bohemia"
+
+default_attributes(
+  :hosted_by => "University of West Bohemia",
+  :location => "Pilsen, Czech Republic",
+  :networking => {
+    :nameservers => ["147.228.3.3", "147.228.52.11"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.cz.pool.ntp.org", "1.cz.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[cz]"
+)