dev/provisioning/modules/yum/manifests/plugin/versionlock.pp
changeset 28 b0b56e0f8c7f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev/provisioning/modules/yum/manifests/plugin/versionlock.pp	Fri Jan 15 15:35:00 2016 +0100
@@ -0,0 +1,21 @@
+# Class: yum::plugin::versionlock
+#
+# This class installs versionlock plugin
+#
+# Parameters:
+#   [*ensure*] - specifies if versionlock should be present or absent
+#
+# Actions:
+#
+# Requires:
+#
+# Sample usage:
+#   include yum::plugin::versionlock
+#
+class yum::plugin::versionlock (
+  $ensure = present
+) {
+  yum::plugin { 'versionlock':
+    ensure  => $ensure,
+  }
+}