summaryrefslogtreecommitdiffstats
path: root/bin/openshift-ansible-bin.spec
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-03-30 14:47:06 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-03-30 14:47:06 -0400
commitd083ffef71cbb7394e3eab70f1516dd419ce6b92 (patch)
tree4e1dd8346126e37bd79e69e37fcf1f5683a5d002 /bin/openshift-ansible-bin.spec
parent78a45fc50509eca27164452325529cc46a99cc8c (diff)
parentb1b462f4db3ce1a26cfc251895d5f8fe2e15c484 (diff)
downloadopenshift-d083ffef71cbb7394e3eab70f1516dd419ce6b92.tar.gz
openshift-d083ffef71cbb7394e3eab70f1516dd419ce6b92.tar.bz2
openshift-d083ffef71cbb7394e3eab70f1516dd419ce6b92.tar.xz
openshift-d083ffef71cbb7394e3eab70f1516dd419ce6b92.zip
Merge pull request #126 from twiest/pr
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