]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing parameters at hosts class
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Sep 2010 02:16:50 +0000 (23:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 28 Sep 2010 02:16:50 +0000 (23:16 -0300)
manifests/subsystems/hosts.pp

index c669c76c77f4868f7b38c08b34cef3b91a7217be..afa8854f106e5b67d0fbf1ad6bfd9a5141a2531d 100644 (file)
@@ -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":