aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-20 14:01:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-20 14:01:50 -0300
commit3c049eaa9401aab0d313d64888f3989d81153be5 (patch)
tree57e2c820e82f4e4eb695a7ef17d4faf301f2e3f8
parent56aa0e556b74c0864fc5733ebd751aa67517e164 (diff)
downloadpuppet-nodo-3c049eaa9401aab0d313d64888f3989d81153be5.tar.gz
puppet-nodo-3c049eaa9401aab0d313d64888f3989d81153be5.tar.bz2
Feat: support for nodo::subsystem::sysctl entries on hiera
-rw-r--r--manifests/resources.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/resources.pp b/manifests/resources.pp
index 7a48367..4e61fb9 100644
--- a/manifests/resources.pp
+++ b/manifests/resources.pp
@@ -59,4 +59,8 @@ class nodo::resources {
# Repositories
$vcsrepos = lookup('vcsrepos', { merge => hash, default_value => {} })
create_resources('vcsrepo', $vcsrepos)
+
+ # Sysctl
+ $sysctl = lookup('nodo::subsystem::sysctl', { merge => hash, default_value => {} })
+ create_resources('nodo::subsystem::sysctl::entry', $sysctl)
}