summaryrefslogtreecommitdiffstats
path: root/bin/openshift-ansible-bin.spec
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-03-30 11:25:03 -0400
committerThomas Wiest <twiest@redhat.com>2015-03-30 14:40:44 -0400
commitb1b462f4db3ce1a26cfc251895d5f8fe2e15c484 (patch)
tree4e1dd8346126e37bd79e69e37fcf1f5683a5d002 /bin/openshift-ansible-bin.spec
parent78a45fc50509eca27164452325529cc46a99cc8c (diff)
downloadopenshift-b1b462f4db3ce1a26cfc251895d5f8fe2e15c484.tar.gz
openshift-b1b462f4db3ce1a26cfc251895d5f8fe2e15c484.tar.bz2
openshift-b1b462f4db3ce1a26cfc251895d5f8fe2e15c484.tar.xz
openshift-b1b462f4db3ce1a26cfc251895d5f8fe2e15c484.zip
added config file support to opssh, ossh, and oscp
Diffstat (limited to 'bin/openshift-ansible-bin.spec')
-rw-r--r--bin/openshift-ansible-bin.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/openshift-ansible-bin.spec b/bin/openshift-ansible-bin.spec
index 86b1d4fdf..1bd486bff 100644
--- a/bin/openshift-ansible-bin.spec
+++ b/bin/openshift-ansible-bin.spec
@@ -21,15 +21,19 @@ Scripts to make it nicer when working with hosts that are defined only by metada
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
mkdir -p %{buildroot}/etc/bash_completion.d
+mkdir -p %{buildroot}/etc/openshift_ansible
cp -p ossh oscp opssh %{buildroot}%{_bindir}
cp -p awsutil.py %{buildroot}%{python_sitelib}/openshift_ansible
cp -p ossh_bash_completion %{buildroot}/etc/bash_completion.d
+cp -p openshift_ansible.conf.example %{buildroot}/etc/openshift_ansible/openshift_ansible.conf
+
%files
%{_bindir}/*
%{python_sitelib}/openshift_ansible/
/etc/bash_completion.d/*
+%config(noreplace) /etc/openshift_ansible/
%changelog
* Tue Mar 24 2015 Thomas Wiest <twiest@redhat.com> 0.0.1-1