summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-20 10:48:34 -0500
committerGitHub <noreply@github.com>2017-02-20 10:48:34 -0500
commitbcc6a80e28216950bd2f1741591813a1f2b6dbef (patch)
treeff377798b047ddcd6361805fff16a1e09f6ac31c
parent3ba41f17f7ea7d05a291a59f4d22b31ba159579b (diff)
parent2848c0e28732d795017e555817f9d0406a1296cb (diff)
downloadopenshift-bcc6a80e28216950bd2f1741591813a1f2b6dbef.tar.gz
openshift-bcc6a80e28216950bd2f1741591813a1f2b6dbef.tar.bz2
openshift-bcc6a80e28216950bd2f1741591813a1f2b6dbef.tar.xz
openshift-bcc6a80e28216950bd2f1741591813a1f2b6dbef.zip
Merge pull request #3425 from ingvagabund/fix-symlink-to-filters-in-spec-file
Fix symlink to filter_plugins/oo_filters.py
-rw-r--r--openshift-ansible.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index e49c54347..c03d4eb8f 100644
--- a/openshift-ansible.spec
+++ b/openshift-ansible.spec
@@ -73,6 +73,10 @@ find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins -
# openshift-ansible-roles install
cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
+# openshift_master_facts symlinks filter_plugins/oo_filters.py from ansible_plugins/filter_plugins
+pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/filter_plugins
+ln -sf ../../../../../ansible_plugins/filter_plugins/oo_filters.py oo_filters.py
+popd
# openshift-ansible-filter-plugins install
cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/