From dbb9361bb780ed124decca33e447495a6fd7f9dd Mon Sep 17 00:00:00 2001 From: Matt Woodson Date: Wed, 29 Mar 2017 10:07:29 -0400 Subject: added a empty file to the contiv empty dir. This allows contiv to be vendored in git --- openshift-ansible.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openshift-ansible.spec b/openshift-ansible.spec index e0cd9c097..1e899cf18 100644 --- a/openshift-ansible.spec +++ b/openshift-ansible.spec @@ -76,6 +76,9 @@ find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins - cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/ # remove contiv role rm -rf %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv/* +# touch a file in contiv so that it can be added to SCM's +touch %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv/.empty_dir + # 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 -- cgit v1.2.3