From b6296f65eb9e8a5b78d4f3a4e77660c113930b2d Mon Sep 17 00:00:00 2001 From: bovy89 Date: Thu, 31 Aug 2017 16:41:53 +0200 Subject: [PATCH] fix issue 43 --- manifests/versionlock.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/versionlock.pp b/manifests/versionlock.pp index 894be065..17428c55 100644 --- a/manifests/versionlock.pp +++ b/manifests/versionlock.pp @@ -26,7 +26,7 @@ define yum::versionlock ( Enum['present', 'absent', 'exclude'] $ensure = 'present', ) { - include ::yum::plugin::versionlock + contain ::yum::plugin::versionlock unless $name.is_a(Yum::VersionlockString) { fail('Package name must be formated as %{EPOCH}:%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}. See Yum::Versionlock documentation for details.')