From c0298e672d66749c5430f92c7470c05e4541c2ea Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 25 Mar 2016 19:26:31 -0300 Subject: Allow nodo::subsystem::virtual::instance be declared via hiera --- manifests/resources.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'manifests/resources.pp') diff --git a/manifests/resources.pp b/manifests/resources.pp index f999d82..02d1964 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -15,4 +15,8 @@ class nodo::resources { # File lines $file_lines = hiera('file_lines', {}) create_resources('file_line', $file_lines) + + # Virtual machines + $vms = hiera('nodo::subsystem::virtual::instances', {}) + create_resources('nodo::subsystem::virtual::instance', $vms) } -- cgit v1.2.3