Dzahn has submitted this change and it was merged.

Change subject: ldap: Use require_package instead of package latest
......................................................................


ldap: Use require_package instead of package latest

Bug: T115348
Change-Id: Ic263fd61a6023486c02735e0a9163dc29b131243
---
M modules/ldap/manifests/client/nss.pp
1 file changed, 1 insertion(+), 7 deletions(-)

Approvals:
  Muehlenhoff: Looks good to me, but someone else must approve
  Dzahn: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ldap/manifests/client/nss.pp 
b/modules/ldap/manifests/client/nss.pp
index 9cdc164..21fbe18 100644
--- a/modules/ldap/manifests/client/nss.pp
+++ b/modules/ldap/manifests/client/nss.pp
@@ -3,13 +3,7 @@
     $nsswitch_conf_source = 'puppet:///modules/ldap/nsswitch.conf',
 ) {
 
-    package { [ 'libnss-ldapd',
-                'nss-updatedb',
-                'libnss-db',
-                'nscd',
-                'nslcd' ]:
-        ensure => latest,
-    }
+    require_package('libnss-ldapd', 'nss-updatedb', 'libnss-db', 'nscd', 
'nslcd')
 
     package { [ 'libnss-ldap' ]:
         ensure => purged,

-- 
To view, visit https://gerrit.wikimedia.org/r/310706
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic263fd61a6023486c02735e0a9163dc29b131243
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Chasemp <r...@wikimedia.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: Muehlenhoff <mmuhlenh...@wikimedia.org>
Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to