mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Adding logrotate script for salt in rpm
This commit is contained in:
parent
0989d01e0f
commit
31c3267e59
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ Source5: %{name}-master.service
|
|||
Source6: %{name}-syndic.service
|
||||
Source7: %{name}-minion.service
|
||||
Source8: README.fedora
|
||||
Source9: logrotate.salt
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
@ -161,6 +162,7 @@ install -p -m 0644 %{SOURCE7} $RPM_BUILD_ROOT%{_unitdir}/
|
|||
%endif
|
||||
|
||||
install -p %{SOURCE8} .
|
||||
install -p %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/salt
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/salt/
|
||||
install -p -m 0640 conf/minion $RPM_BUILD_ROOT%{_sysconfdir}/salt/minion
|
||||
|
|
Loading…
Add table
Reference in a new issue