aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:04:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-08 12:04:52 -0300
commitb79105d7504aa37f153b9d9cd6354affddeee092 (patch)
tree563140438a945632206f0393d72d382cb386c1c6
parent9d002224ed18bd21b574872b3b395795f84a8d02 (diff)
downloadpuppet-nodo-b79105d7504aa37f153b9d9cd6354affddeee092.tar.gz
puppet-nodo-b79105d7504aa37f153b9d9cd6354affddeee092.tar.bz2
Create host resources
-rw-r--r--manifests/resources.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index 8e4491f..287fc9e 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -27,4 +27,8 @@ class nodo::resources {
# Cron entries
$cron = hiera('cron::jobs', {})
create_resources('cron', $cron)
+
+ # Hosts
+ $hosts = hiera('hosts::jobs', {})
+ create_resources('host', $hosts)
}