aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-08 12:46:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-08 12:46:18 -0300
commitd91df97b51138c1296a4f77e65fa7357a79f9acd (patch)
tree75799cf2f614264e5f5d416246f73726c0f8342c
parent22457b8d99079d453bddc610d63cb578c71ee4c0 (diff)
downloadpuppet-nodo-d91df97b51138c1296a4f77e65fa7357a79f9acd.tar.gz
puppet-nodo-d91df97b51138c1296a4f77e65fa7357a79f9acd.tar.bz2
Fixing puppet host alias
-rw-r--r--manifests/role/master.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/role/master.pp b/manifests/role/master.pp
index cbc3b5d..abeec24 100644
--- a/manifests/role/master.pp
+++ b/manifests/role/master.pp
@@ -18,9 +18,9 @@ class nodo::role::master {
# The main master has a host entry pointing to itself, other
# masters still retrieve catalogs from the main master.
host { "puppet":
- ensure => present,
- ip => "127.0.0.1",
- alias => ["puppet.${::domain}"],
+ ensure => present,
+ ip => "127.0.0.1",
+ host_aliases => ["puppet.${::domain}"],
}
} else {
class { 'puppet::master':