aboutsummaryrefslogtreecommitdiff
path: root/manifests/nodo.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-04-18 15:17:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-04-18 15:17:59 -0300
commit19229fcee52b1843341efcdba5715d246dd77ab8 (patch)
treee7c92ae1c66e41d6736718d7e1c13be014bce2c5 /manifests/nodo.pp
parentafe483773913f207ffbf2693f36bf852141da317 (diff)
downloadpuppet-nodo-19229fcee52b1843341efcdba5715d246dd77ab8.tar.gz
puppet-nodo-19229fcee52b1843341efcdba5715d246dd77ab8.tar.bz2
Adding hosts class
Diffstat (limited to 'manifests/nodo.pp')
-rw-r--r--manifests/nodo.pp7
1 files changed, 1 insertions, 6 deletions
diff --git a/manifests/nodo.pp b/manifests/nodo.pp
index 5e5436e..1b0b012 100644
--- a/manifests/nodo.pp
+++ b/manifests/nodo.pp
@@ -8,6 +8,7 @@ class nodo {
include motd
include utils
include cron
+ include hosts
# Set timezone and ntp config
#
@@ -44,12 +45,6 @@ class nodo {
content => "$fqdn\n",
}
- host { "$hostname":
- ensure => present,
- ip => "$ipaddress",
- alias => [ "$fqdn" ],
- }
-
file { "/etc/rc.local":
source => "puppet://$server/modules/nodo/etc/rc.local",
owner => "root",