aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-09-27 23:16:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-09-27 23:16:50 -0300
commit28532b40731bb14906a82c6fe9c68faa99a28e8d (patch)
tree7e6ba473312c008300bb95d46dcfa768999bc92e
parent45eab2737c051d42d3f850c688b16756b58e5e0a (diff)
downloadpuppet-nodo-28532b40731bb14906a82c6fe9c68faa99a28e8d.tar.gz
puppet-nodo-28532b40731bb14906a82c6fe9c68faa99a28e8d.tar.bz2
Fixing parameters at hosts class
-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":