Add repositories refresh to ceph update pipeline
Related-Prod: PROD-35062
Change-Id: Ia85b7fdbda515a338f88569ffb8a4207bd3f147d
diff --git a/update-ceph.groovy b/update-ceph.groovy
index 73417e9..1de1012 100644
--- a/update-ceph.groovy
+++ b/update-ceph.groovy
@@ -29,7 +29,7 @@
stage('Apply package upgrades on all nodes') {
targets.each { key, value ->
- // try {
+ salt.enforceState(pepperEnv, "I@ceph:${key}", 'linux.system.repo', true)
command = "pkg.install"
packages = value
commandKwargs = ['only_upgrade': 'true', 'force_yes': 'true']