Ori.livneh has submitted this change and it was merged.

Change subject: role::elasticsearch: Convert to package<|provider==trebuchet|>
......................................................................


role::elasticsearch: Convert to package<|provider==trebuchet|>

The deployment::target resource has been deprecated in favor of
Trebuchet's custom provider.

Change-Id: Ie96a730b7771a9be738260ec01fe663c91ae7a75
---
M manifests/role/elasticsearch.pp
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved
  Filippo Giunchedi: Looks good to me, but someone else must approve



diff --git a/manifests/role/elasticsearch.pp b/manifests/role/elasticsearch.pp
index b228ca6..09f1e5f 100644
--- a/manifests/role/elasticsearch.pp
+++ b/manifests/role/elasticsearch.pp
@@ -118,7 +118,9 @@
         description => 'elasticsearch server',
     }
 
-    deployment::target { 'elasticsearchplugins': }
+    package { 'elasticsearch/plugins':
+        provider => 'trebuchet',
+    }
 
     # Install
     class { '::elasticsearch':
@@ -143,7 +145,7 @@
         # get elasticsearch up and running.  Once for the initial
         # node configuration (including salt), and then once again
         # after you have signed this node's new salt key over on the salt 
master.
-        require                    => 
Deployment::Target['elasticsearchplugins'],
+        require                    => Package['elasticsearch/plugins'],
         bulk_thread_pool_capacity  => $bulk_thread_pool_capacity,
         bulk_thread_pool_executors => $bulk_thread_pool_executors,
         graphite_host              => $graphite_host,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie96a730b7771a9be738260ec01fe663c91ae7a75
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to