]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Create host resources
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 15:04:52 +0000 (12:04 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 8 Jun 2016 15:04:52 +0000 (12:04 -0300)
manifests/resources.pp

index 8e4491fec0f112900e40d7fd012fb826c035cf57..287fc9e380e7d3efc719738ef4302bf20ec45e56 100644 (file)
@@ -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)
 }