summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorLukas Bezdicka <lbezdick@redhat.com>2017-07-12 21:13:28 +0200
committerLukas Bezdicka <lbezdick@redhat.com>2017-07-13 12:14:24 +0200
commit1a544f66a51579180ead9deadc168d2a1a200719 (patch)
tree22f60a1fd7a410350f1365c1b060a8dba149c3b2 /puppet
parentf2b68a1d13a1b7357182cdbc07872f84dcade3c9 (diff)
Ensure yum cache is ready before update
To workaround yum bug with libnss we need to make yum cache before running update. In fact we should have done this regardless of the bug. Change-Id: I5b2355fb8abe3c8d4b9ce9c62b9ffdba8c1e8d9d Resolves: rhbz#1458841 Closes-Bug: #1703830
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/openvswitch.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/puppet/services/openvswitch.yaml b/puppet/services/openvswitch.yaml
index 36aa5db7..17b36fe5 100644
--- a/puppet/services/openvswitch.yaml
+++ b/puppet/services/openvswitch.yaml
@@ -159,6 +159,8 @@ outputs:
owner: root
group: root
mode: 0750
+ - name: Make yum cache.
+ command: yum makecache
- name: Download OVS packages.
command: yumdownloader --destdir /root/OVS_UPGRADE --resolve openvswitch
- name: Get rpm list for manual upgrade of OVS.