```ruby
name "bytemark"
description "Role applied to all servers at Bytemark"

default_attributes(
  :hosted_by => "Bytemark",
  :location => "York, England",
  :networking => {
    :nameservers => ["8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", "2001:4860:4860::8844"],
    :roles => {
      :internal => {
        :inet => {
          :prefix => "20",
          :gateway => "10.0.32.20"
        }
      },
      :external => {
        :zone => "bm",
        :inet => {
          :prefix => "28",
          :gateway => "89.16.162.17"
        },
        :inet6 => {
          :prefix => "64",
          :gateway => "fe80::1"
        }
      }
    }
  },
  :web => {
    :backends => %w(rails4 rails5)
  }
)

override_attributes(
  :ntp => {
    :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"]
  }
)

run_list(
  "role[gb]"
)
```

Update DNS search domains for Bytemark machines
user
```ruby
name "bytemark"
description "Role applied to all servers at Bytemark"

default_attributes(
  :hosted_by => "Bytemark",
  :location => "York, England",
  :networking => {
    :nameservers => ["8.8.8.8", "8.8.4.4", "2001:4860:4860::8888", "2001:4860:4860::8844"],
    :roles => {
      :internal => {
        :inet => {
          :prefix => "20",
          :gateway => "10.0.32.20"
        }
      },
      :external => {
        :zone => "bm",
        :inet => {
          :prefix => "28",
          :gateway => "89.16.162.17"
        },
        :inet6 => {
          :prefix => "64",
          :gateway => "fe80::1"
        }
      }
    }
  },
  :web => {
    :backends => %w(rails4 rails5)
  }
)

override_attributes(
  :networking => {
    :search => ["bm.openstreetmap.org", "openstreetmap.org"]
  },
  :ntp => {
    :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"]
  }
)

run_list(
  "role[gb]"
)
```
assistant