--- /dev/null
+name "fume"
+description "Master role applied to fume"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "ens3",
+ :role => :external,
+ :family => :inet,
+ :address => "147.228.60.16",
+ :prefix => "24",
+ :gateway => "147.228.60.1"
+ }
+ }
+ }
+)
+
+run_list(
+ "role[zcu]"
+)
--- /dev/null
+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]"
+)