Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/260035

Change subject: dib: attempt force apt-get update for snapshot
......................................................................

dib: attempt force apt-get update for snapshot

When refreshing a snapshot, apt-get update is usually not notified since
none of the configuration has changed since the image has been build.

Attempt to notify apt-get update directly from stage[first].

Change-Id: I0320a541aee8d8cad4157aed3ca6311fc08b53fb
---
M dib/puppet/ciimage.pp
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/35/260035/1

diff --git a/dib/puppet/ciimage.pp b/dib/puppet/ciimage.pp
index 4e0110f..ae1b592 100644
--- a/dib/puppet/ciimage.pp
+++ b/dib/puppet/ciimage.pp
@@ -10,7 +10,9 @@
     before => Stage['main'],
 }
 class { '::apt':
-    stage => first,
+    stage  => first,
+    # Refreshing a snapshot should update repos as well
+    notify => Exec['apt-get update'],
 }
 
 include contint::packages::base

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0320a541aee8d8cad4157aed3ca6311fc08b53fb
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

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

Reply via email to