jenkins-bot has submitted this change and it was merged.

Change subject: dib: another attempt to force apt-get update
......................................................................


dib: another attempt to force apt-get update

Change-Id: I10d7c30061a74150bd12dab9d3cec4cd21ebfba5
---
M dib/puppet/ciimage.pp
1 file changed, 5 insertions(+), 4 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/dib/puppet/ciimage.pp b/dib/puppet/ciimage.pp
index 6aa773f..89d9715 100644
--- a/dib/puppet/ciimage.pp
+++ b/dib/puppet/ciimage.pp
@@ -12,11 +12,12 @@
 }
 class { '::apt':
     stage  => first,
-    before => Notify['force apt-get update'],
 }
-notify { 'force apt-get update':
-    notify => Exec['apt-get update'],
-    after  => Class['::apt'],
+exec { 'force run apt-get update':
+  stage   => first,
+  cwd     => '/bin/true',
+  notify  => Exec['apt-get update'],
+  require => Class['::apt'],
 }
 
 # Jenkins provision jre by itself but it sounds better to have it already in

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10d7c30061a74150bd12dab9d3cec4cd21ebfba5
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to