]> git.openstreetmap.org Git - chef.git/blobdiff - roles/utelecom.rb
Add role for vipertooth
[chef.git] / roles / utelecom.rb
diff --git a/roles/utelecom.rb b/roles/utelecom.rb
new file mode 100644 (file)
index 0000000..d4aca4c
--- /dev/null
@@ -0,0 +1,25 @@
+name "utelecom"
+description "Role applied to all servers at Ukrainian Telecommunication Group"
+
+default_attributes(
+  :hosted_by => "Ukrainian Telecommunication Group",
+  :location => "Kiev, Ukraine",
+  :networking => {
+    :nameservers => ["8.8.8.8", "8.8.4.4"],
+    :roles => {
+      :external => {
+        :zone => "osm"
+      }
+    }
+  }
+)
+
+override_attributes(
+  :ntp => {
+    :servers => ["0.ua.pool.ntp.org", "1.ua.pool.ntp.org", "europe.pool.ntp.org"]
+  }
+)
+
+run_list(
+  "role[ua]"
+)