Accepting request 185708 from devel:languages:python

fix salt minion /var/cache/salt/minion/proc, bug not being made by salt process. (forwarded request 185707 from aboe76)

OBS-URL: https://build.opensuse.org/request/show/185708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=10
This commit is contained in:
Stephan Kulow 2013-08-04 06:04:26 +00:00 committed by Git OBS Bridge
parent e1c81cfac3
commit 977e0f2be8
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Aug 3 06:01:32 UTC 2013 - aboe76@gmail.com
- Fixed regression bug in salt 0.16.2
- Newly installed salt-minion doesn't create
/var/cache/salt/minion/proc
- fix let package create this directory
next version of Salt doesn't need this.
-------------------------------------------------------------------
Fri Aug 2 05:36:08 UTC 2013 - aboe76@gmail.com

View File

@ -128,6 +128,7 @@ mkdir -p %{buildroot}%{_localstatedir}/log/salt
mkdir -p %{buildroot}/%{_sysconfdir}/logrotate.d/
mkdir -p %{buildroot}/%{_sbindir}
mkdir -p %{buildroot}/var/log/salt
mkdir -p %{buildroot}/var/cache/salt/minion/proc
mkdir -p %{buildroot}/srv/salt
#
##init scripts
@ -228,6 +229,7 @@ install -Dpm 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/salt
%config(noreplace) %{_sysconfdir}/init.d/salt-minion
%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/salt/minion
%{_sysconfdir}/salt/minion.d
%dir /var/cache/*
%if 0%{?_unitdir:1}
%_unitdir/salt-minion.service
%endif