Change-Id: Ie0d8b853fabbe6f18972250b5bc933628e716ee5
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3646
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Etcd-3.1.5 |
| 2 | 2 |
Name: etcd |
| 3 | 3 |
Version: 3.1.5 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: Apache License |
| 6 | 6 |
URL: https://github.com/coreos/etcd |
| 7 | 7 |
Group: System Environment/Security |
| ... | ... |
@@ -26,6 +26,8 @@ A highly-available key value store for shared configuration and service discover |
| 26 | 26 |
install -vdm755 %{buildroot}%{_bindir}
|
| 27 | 27 |
install -vdm755 %{buildroot}/%{_docdir}/%{name}-%{version}
|
| 28 | 28 |
install -vdm755 %{buildroot}/lib/systemd/system
|
| 29 |
+install -vdm 0755 %{buildroot}%{_sysconfdir}/etcd
|
|
| 30 |
+install -vpm 0755 -T etcd.conf.yml.sample %{buildroot}%{_sysconfdir}/etcd/etcd-default-conf.yml
|
|
| 29 | 31 |
|
| 30 | 32 |
chown -R root:root %{buildroot}%{_bindir}
|
| 31 | 33 |
chown -R root:root %{buildroot}/%{_docdir}/%{name}-%{version}
|
| ... | ... |
@@ -51,8 +53,11 @@ rm -rf %{buildroot}/*
|
| 51 | 51 |
/%{_docdir}/%{name}-%{version}/*
|
| 52 | 52 |
/lib/systemd/system/etcd.service |
| 53 | 53 |
%dir /var/lib/etcd |
| 54 |
+%config(noreplace) %{_sysconfdir}/etcd/etcd-default-conf.yml
|
|
| 54 | 55 |
|
| 55 | 56 |
%changelog |
| 57 |
+* Sun Aug 27 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.1.5-2 |
|
| 58 |
+- File based configuration for etcd service. |
|
| 56 | 59 |
* Thu Apr 06 2017 Anish Swaminathan <anishs@vmware.com> 3.1.5-1 |
| 57 | 60 |
- Upgraded to version 3.1.5, build from sources |
| 58 | 61 |
* Fri Sep 2 2016 Xiaolin Li <xiaolinl@vmware.com> 3.0.9-1 |