Forráskód Böngészése

Fix symlink to filter_plugins/oo_filters.py

Bug 1423444
Jan Chaloupka 8 éve
szülő
commit
2848c0e287
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      openshift-ansible.spec

+ 4 - 0
openshift-ansible.spec

@@ -73,6 +73,10 @@ find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins -
 
 
 # openshift-ansible-roles install
 # openshift-ansible-roles install
 cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
 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
 # openshift-ansible-filter-plugins install
 cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/
 cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/