ly:osm <%= @type %>
ov:osm <%= @type %>
hz:osm <%= @type %>
+bh:osm <%= @type %>
--- /dev/null
+name "bluehost"
+description "Role applied to all servers at Bluehost"
+
+default_attributes(
+ :networking => {
+ :nameservers => [ "8.8.8.8", "8.8.4.4" ],
+ :roles => {
+ :external => {
+ :zone => "bh"
+ }
+ }
+ }
+)
+
+override_attributes(
+ :ntp => {
+ :servers => [ "0.us.pool.ntp.org", "1.us.pool.ntp.org", "north-america.pool.ntp.org" ]
+ }
+)
+
+run_list(
+ "role[us]"
+)
--- /dev/null
+name "nadder-01"
+description "Master role applied to nadder-01"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "eth0",
+ :role => :external,
+ :family => :inet,
+ :address => "192.163.219.36",
+ :prefix => "19",
+ :gateway => "192.163.192.1"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "5500 MB",
+ :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+ }
+)
+
+run_list(
+ "role[bluehost]",
+ "role[tilecache]"
+)
--- /dev/null
+name "nadder-02"
+description "Master role applied to nadder-02"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "eth0",
+ :role => :external,
+ :family => :inet,
+ :address => "192.163.219.40",
+ :prefix => "19",
+ :gateway => "192.163.192.1"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "5500 MB",
+ :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+ }
+)
+
+run_list(
+ "role[bluehost]",
+ "role[tilecache]"
+)