From 977e0f2be8d2742203611526d18d6ebf2f1f473acf86d4c2371fdd1a3730d606 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 4 Aug 2013 06:04:26 +0000 Subject: [PATCH] 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 --- salt.changes | 9 +++++++++ salt.spec | 2 ++ 2 files changed, 11 insertions(+) diff --git a/salt.changes b/salt.changes index c5511db..024a09c 100644 --- a/salt.changes +++ b/salt.changes @@ -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 diff --git a/salt.spec b/salt.spec index 3ea27e3..ea3b6be 100644 --- a/salt.spec +++ b/salt.spec @@ -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