aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/hosts.pp
blob: 223c5233405051ed45f5a625c36fbf3c5f60b8e1 (plain)
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
37
38
class hosts {
  host { "$hostname":
    ensure => present,
    ip     => "$ipaddress",
    alias  => [ "$fqdn" ],
  }

  host { "ip6-localhost":
    ensure => present,
    ip     => "::1",
    alias  => [ "ip6-loopback" ],
  }

  host { "ip6-localnet":
    ensure => present,
    ip     => "fe00::0",
  }

  host { "ip6-mcastprefix":
    ensure => present,
    ip     => "ff00::0",
  }

  host { "ip6-allnodes":
    ensure => present,
    ip     => "ff02::1",
  }

  host { "ip6-allrouters":
    ensure => present,
    ip     => "ff02::2",
  }

  host { "ip6-allhosts":
    ensure => present,
    ip     => "ff02::3",
  }
}