From: Tom Hughes Date: Thu, 8 Oct 2020 18:20:34 +0000 (+0100) Subject: Remove unused roles X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/58aa89cba7956372b98c26f6bb679c488f017560?ds=sidebyside;hp=9d36cfe29fb19c058441712b839ba19d814c634c Remove unused roles --- diff --git a/roles/aws.rb b/roles/aws.rb deleted file mode 100644 index d4ad3fd0f..000000000 --- a/roles/aws.rb +++ /dev/null @@ -1,33 +0,0 @@ -name "aws" -description "Role applied to all servers on AWS" - -default_attributes( - :hosted_by => "AWS", - :location => "Ireland", - :networking => { - :nameservers => ["172.31.0.2"], - :roles => { - :internal => { - :inet => { - :prefix => "20", - :gateway => "172.31.0.1" - } - }, - :external => { - :inet => { - :prefix => "32" - } - } - } - } -) - -override_attributes( - :ntp => { - :servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"] - } -) - -run_list( - "role[ie]" -) diff --git a/roles/g5solutions.rb b/roles/g5solutions.rb deleted file mode 100644 index 96aaa883b..000000000 --- a/roles/g5solutions.rb +++ /dev/null @@ -1,28 +0,0 @@ -name "g5solutions" -description "Role applied to all servers at G5 Solutions" - -default_attributes( - :accounts => { - :users => { - :g5team => { :status => :administrator } - } - }, - :hosted_by => "G5 Solutions", - :location => "Indonesia", - :networking => { - :nameservers => [ - "8.8.8.8", - "8.8.4.4" - ] - } -) - -override_attributes( - :ntp => { - :servers => ["0.id.pool.ntp.org", "1.id.pool.ntp.org", "asia.pool.ntp.org"] - } -) - -run_list( - "role[id]" -)