diff --git a/puppet/services/tripleo-packages.yaml b/puppet/services/tripleo-packages.yaml index 76578ad8a1..8d9fee2f46 100644 --- a/puppet/services/tripleo-packages.yaml +++ b/puppet/services/tripleo-packages.yaml @@ -134,7 +134,7 @@ outputs: - name: Get current OpenvSwitch package name register: ovs_pkg_out shell: - rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-|openvswitch-2)/{print $1}' + rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-[0-9]+\.[0-9]+\.[-0]+-|openvswitch-2)/{print $1}' - name: Don't update if not present set_fact: run_ovs_update: "{{ (ovs_pkg_out.stdout | length) > 0 }}" @@ -325,7 +325,7 @@ outputs: - name: Get current OpenvSwitch package name register: ovs_pkg_out shell: - rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-|openvswitch-2)/{print $1}' + rpm -qa | awk -F- '/^(openvswitch[0-9]+\.[0-9]+-[0-9]+\.[0-9]+\.[-0]+-|openvswitch-2)/{print $1}' - name: Don't update if not present set_fact: run_ovs_update: "{{ (ovs_pkg_out.stdout | length) > 0 }}"