aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/hosts.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/subsystems/hosts.pp b/manifests/subsystems/hosts.pp
index c669c76..afa8854 100644
--- a/manifests/subsystems/hosts.pp
+++ b/manifests/subsystems/hosts.pp
@@ -1,8 +1,8 @@
class hosts {
host { "$hostname":
- ensure => present,
- ip => "$ipaddress",
- alias => [ "$fqdn" ],
+ ensure => present,
+ ip => "$ipaddress",
+ host_aliases => [ "$fqdn" ],
}
host { "localhost":
@@ -11,9 +11,9 @@ class hosts {
}
host { "ip6-localhost":
- ensure => present,
- ip => "::1",
- alias => [ "ip6-loopback" ],
+ ensure => present,
+ ip => "::1",
+ host_aliases => [ "ip6-loopback" ],
}
host { "ip6-localnet":