Filippo Giunchedi has submitted this change and it was merged.

Change subject: thumbor: reference swift::params::account_keys
......................................................................


thumbor: reference swift::params::account_keys

Compiler fails with:

Error: Could not find data item swift::params::account_keys in any Hiera data
file and no default supplied at
/mnt/jenkins-workspace/puppet-compiler/3561/change/src/modules/role/manifests/thumbor/mediawiki.pp:13
on node thumbor1001.eqiad.wmnet

Change-Id: Ic8584015022b5f9d0856e255ffef1b3685867808
---
M modules/role/manifests/thumbor/mediawiki.pp
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved



diff --git a/modules/role/manifests/thumbor/mediawiki.pp 
b/modules/role/manifests/thumbor/mediawiki.pp
index 91b1237..fa08f04 100644
--- a/modules/role/manifests/thumbor/mediawiki.pp
+++ b/modules/role/manifests/thumbor/mediawiki.pp
@@ -10,7 +10,8 @@
 
     class { '::thumbor': }
 
-    $swift_account_keys = hiera('swift::params::account_keys')
+    include ::swift::params
+    $swift_account_keys = $::swift::params::account_keys
 
     class { '::thumbor::swift':
         swift_key                => $swift_account_keys['thumbor'],

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic8584015022b5f9d0856e255ffef1b3685867808
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
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