summaryrefslogtreecommitdiff
path: root/manifests/config_settings.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config_settings.pp')
-rw-r--r--manifests/config_settings.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/config_settings.pp b/manifests/config_settings.pp
new file mode 100644
index 0000000..69eb380
--- /dev/null
+++ b/manifests/config_settings.pp
@@ -0,0 +1,10 @@
+# a nice wrapper to make hiera config
+# a bit easier
+define shorewall::config_settings(
+ $settings,
+){
+ shorewall::config_setting{
+ $name:
+ value => $settings[$name],
+ }
+}