]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing puppet host alias
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Mar 2014 15:46:18 +0000 (12:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 8 Mar 2014 15:46:18 +0000 (12:46 -0300)
manifests/role/master.pp

index cbc3b5dfe5e203476564fbe40497b557b184a276..abeec243c3079d4584a6861382e102afb86d98cf 100644 (file)
@@ -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':