+++ /dev/null
-name "exonetric"
-description "Role applied to all servers at Exonetric"
-
-default_attributes(
- :accounts => {
- :users => {
- :hatter => { :status => :administrator }
- }
- },
- :hosted_by => "Exonetric",
- :location => "London, England",
- :networking => {
- :roles => {
- :external => {
- :inet => {
- :prefix => "28",
- :gateway => "178.250.74.33"
- },
- :inet6 => {
- :prefix => "64",
- :gateway => "2a02:1658:4:0::1"
- }
- }
- }
- }
-)
-
-run_list(
- "role[gb]"
-)
+++ /dev/null
-name "hp-dl180-g6"
-description "Role applied to all HP DL180 G6 machines"
-
-default_attributes(
- :hardware => {
- :blacklisted_modules => %w[acpi_power_meter]
- }
-)
+++ /dev/null
-name "kessie"
-description "Master role applied to kessie"
-
-default_attributes(
- :sysctl => {
- :swappiness => {
- :comment => "Only swap in an emergency",
- :parameters => {
- "vm.swappiness" => "1"
- }
- }
- },
- :networking => {
- :interfaces => {
- :external => {
- :interface => "enp2s0f0",
- :role => :external,
- :inet => {
- :address => "178.250.74.36"
- },
- :inet6 => {
- :address => "2a02:1658:4:0:dad3:85ff:fe5d:875e"
- }
- }
- }
- }
-)
-
-run_list(
- "role[exonetric]",
- "role[hp-dl180-g6]"
-)