--- /dev/null
+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]"
+)
--- /dev/null
+name "komodo"
+description "Master role applied to komodo"
+
+default_attributes(
+ :networking => {
+ :interfaces => {
+ :external_ipv4 => {
+ :interface => "enp0s3",
+ :role => :external,
+ :family => :inet,
+ :address => "103.253.107.131",
+ :prefix => "24",
+ :gateway => "103.253.107.1"
+ }
+ }
+ },
+ :squid => {
+ :cache_mem => "12500 MB",
+ :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+ },
+ :tilecache => {
+ :tile_parent => "indonesia.render.openstreetmap.org",
+ :tile_siblings => [
+ "longma.openstreetmap.org"
+ ]
+ }
+)
+
+run_list(
+ "role[g5solutions]",
+ "role[geodns]",
+ "role[tilecache]"
+)