Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This class will add a few manditory entries
# for internal (non-dmz) hosts that are in our
# environment. -sgriggs
class aur_internal_hostfile_entries {

   # The main puppetmaster server
   host{"puppet":
      ip    => 10.4.246.153,
   }

   # All the NIS servers
   host{"nis.alservices.com":
      ip    => 10.4.160.187,
      alias => "nis"
   }
   host{"nisslave.alservices.com":
      ip    => 10.4.160.187,
      alias => "nisslave"
   }
   host{"nisslave-dr.alservices.com":
      ip    => 10.9.176.121,
      alias => "nisslave-dr"
   }

   # This is the master NTP server
   host{"ntp1.alservices.com":
      ip    => 10.4.201.254,
      alias => "ntp1"
   }

   # An entry that matches the local host IP and hostname
   host{"${fqdn}":
      ip    => $ipaddress,
      alias => $hostname,
   }
}