summaryrefslogtreecommitdiffstats
path: root/openshift-ansible.spec
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-11-04 10:13:05 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-11-04 10:13:05 -0500
commit9dff4e68bf1e40fac6b8e957f06a06b420a0e887 (patch)
tree306735f0511870e1a45ddc7d5d78ba663bd166d4 /openshift-ansible.spec
parente275c1d17872f9727af3ac63ebae2d8a1b088649 (diff)
parent4b85e4fae04a71cf2cea17018b9240b369f145d5 (diff)
downloadopenshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.gz
openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.bz2
openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.tar.xz
openshift-9dff4e68bf1e40fac6b8e957f06a06b420a0e887.zip
Merge pull request #793 from kwoodson/multiinventory
Renamed multi_ec2 to multi_inventory. Adding support for gce to mult_inventory.
Diffstat (limited to 'openshift-ansible.spec')
-rw-r--r--openshift-ansible.spec10
1 files changed, 5 insertions, 5 deletions
diff --git a/openshift-ansible.spec b/openshift-ansible.spec
index d034e6d84..8ea9120f2 100644
--- a/openshift-ansible.spec
+++ b/openshift-ansible.spec
@@ -47,9 +47,9 @@ cp -pP bin/openshift_ansible/* %{buildroot}%{python_sitelib}/openshift_ansible
cp -p bin/ossh_bash_completion %{buildroot}/etc/bash_completion.d
cp -p bin/openshift_ansible.conf.example %{buildroot}/etc/openshift_ansible/openshift_ansible.conf
# Fix links
-rm -f %{buildroot}%{python_sitelib}/openshift_ansible/multi_ec2.py
+rm -f %{buildroot}%{python_sitelib}/openshift_ansible/multi_inventory.py
rm -f %{buildroot}%{python_sitelib}/openshift_ansible/aws
-ln -sf %{_datadir}/ansible/inventory/multi_ec2.py %{buildroot}%{python_sitelib}/openshift_ansible/multi_ec2.py
+ln -sf %{_datadir}/ansible/inventory/multi_inventory.py %{buildroot}%{python_sitelib}/openshift_ansible/multi_inventory.py
ln -sf %{_datadir}/ansible/inventory/aws %{buildroot}%{python_sitelib}/openshift_ansible/aws
# openshift-ansible-docs install
@@ -60,8 +60,8 @@ mkdir -p %{buildroot}/etc/ansible
mkdir -p %{buildroot}%{_datadir}/ansible/inventory
mkdir -p %{buildroot}%{_datadir}/ansible/inventory/aws
mkdir -p %{buildroot}%{_datadir}/ansible/inventory/gce
-cp -p inventory/multi_ec2.py %{buildroot}%{_datadir}/ansible/inventory
-cp -p inventory/multi_ec2.yaml.example %{buildroot}/etc/ansible/multi_ec2.yaml
+cp -p inventory/multi_inventory.py %{buildroot}%{_datadir}/ansible/inventory
+cp -p inventory/multi_inventory.yaml.example %{buildroot}/etc/ansible/multi_inventory.yaml
cp -p inventory/aws/hosts/ec2.py %{buildroot}%{_datadir}/ansible/inventory/aws
cp -p inventory/gce/hosts/gce.py %{buildroot}%{_datadir}/ansible/inventory/gce
@@ -137,7 +137,7 @@ Ansible Inventories used with the openshift-ansible scripts and playbooks.
%files inventory
%config(noreplace) /etc/ansible/*
%dir %{_datadir}/ansible/inventory
-%{_datadir}/ansible/inventory/multi_ec2.py*
+%{_datadir}/ansible/inventory/multi_inventory.py*
%package inventory-aws
Summary: Openshift and Atomic Enterprise Ansible Inventories for AWS