]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/openstacklib/manifests/policy.pp
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / openstacklib / manifests / policy.pp
diff --git a/3rdparty/modules/openstacklib/manifests/policy.pp b/3rdparty/modules/openstacklib/manifests/policy.pp
new file mode 100644 (file)
index 0000000..b111427
--- /dev/null
@@ -0,0 +1,19 @@
+# == Class: openstacklib::policies
+#
+# This resource is an helper to call the policy definition
+#
+# == Parameters:
+#
+#  [*policies*]
+#    Hash of policies one would like to set to specific values
+#    hash; optional
+#
+class openstacklib::policy (
+  $policies = {},
+) {
+
+  validate_hash($policies)
+
+  create_resources('openstacklib::policy::base', $policies)
+
+}