diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-08 11:38:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-08 11:38:05 -0300 |
commit | 9d002224ed18bd21b574872b3b395795f84a8d02 (patch) | |
tree | 0366f173e56ce9066c917aae3e04a5782421915f | |
parent | a075143b91a16d50f0953c65f29896a56448a3c6 (diff) | |
download | puppet-nodo-9d002224ed18bd21b574872b3b395795f84a8d02.tar.gz puppet-nodo-9d002224ed18bd21b574872b3b395795f84a8d02.tar.bz2 |
Creates cron and user resources; rename virtual variable
-rw-r--r-- | manifests/resources.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp index 02d1964..8e4491f 100644 --- a/manifests/resources.pp +++ b/manifests/resources.pp @@ -17,6 +17,14 @@ class nodo::resources { create_resources('file_line', $file_lines) # Virtual machines - $vms = hiera('nodo::subsystem::virtual::instances', {}) + $vms = hiera('virtual::machines', {}) create_resources('nodo::subsystem::virtual::instance', $vms) + + # Users + $users = hiera('users', {}) + create_resources('users::manage', $users) + + # Cron entries + $cron = hiera('cron::jobs', {}) + create_resources('cron', $cron) } |