From 28532b40731bb14906a82c6fe9c68faa99a28e8d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Sep 2010 23:16:50 -0300 Subject: Fixing parameters at hosts class --- manifests/subsystems/hosts.pp | 12 ++++++------ 1 file 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": -- cgit v1.2.3