From fc5d8468bd7d0663bc8c1ea5a8ee83c99fc0ed56 Mon Sep 17 00:00:00 2001 From: Tim Toohey Date: Mon, 20 Nov 2017 11:07:11 +1100 Subject: [PATCH] prevent Unknown resource type error (issue #35) --- manifests/pam.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/manifests/pam.pp b/manifests/pam.pp index c42c232..1ac9dd4 100644 --- a/manifests/pam.pp +++ b/manifests/pam.pp @@ -19,9 +19,7 @@ $service='ssh', ) { - ::googleauthenticator::pam::common { 'PamCommon': - service => $service, - } + include ::googleauthenticator::pam::common if ($name == 'sshd') { include ::googleauthenticator::sshd