X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a12bd631f0eed60f140864d7fbc1b61b54d17b43..2bdabd94d2080c7320c2716fc34db32bba8358cb:/roles/g5solutions.rb diff --git a/roles/g5solutions.rb b/roles/g5solutions.rb new file mode 100644 index 000000000..b7985382c --- /dev/null +++ b/roles/g5solutions.rb @@ -0,0 +1,28 @@ +name "g5solutions" +description "Role applied to all servers at G5 Solutions" + +default_attributes( + :hosted_by => "G5 Solutions", + :location => "Indonesia", + :networking => { + :nameservers => [ + "8.8.8.8", + "8.8.4.4" + ], + :roles => { + :external => { + :zone => "g5s" + } + } + } +) + +override_attributes( + :ntp => { + :servers => ["0.id.pool.ntp.org", "1.id.pool.ntp.org", "asia.pool.ntp.org"] + } +) + +run_list( + "role[id]" +)