Accepting request 178252 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/178252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/salt?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2013-06-11 04:38:48 +00:00 committed by Git OBS Bridge
parent d087ff81b4
commit 88e98e7e5b
2 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 2 07:39:03 UTC 2013 - aboe76@gmail.com
- minor permission fix on salt config files to fix external auth
-------------------------------------------------------------------
Sat Jun 1 21:51:07 UTC 2013 - aboe76@gmail.com

View File

@ -135,20 +135,20 @@ ln -sf %{_initddir}/salt-syndic %{buildroot}%{_sbindir}/rcsalt-syndic
ln -sf %{_initddir}/salt-minion %{buildroot}%{_sbindir}/rcsalt-minion
%if 0%{?_unitdir:1}
install -Dpm 644 %{SOURCE4} %{buildroot}%_unitdir/salt-master.service
install -Dpm 644 %{SOURCE5} %{buildroot}%_unitdir/salt-syndic.service
install -Dpm 644 %{SOURCE6} %{buildroot}%_unitdir/salt-minion.service
install -Dpm 0644 %{SOURCE4} %{buildroot}%_unitdir/salt-master.service
install -Dpm 0644 %{SOURCE5} %{buildroot}%_unitdir/salt-syndic.service
install -Dpm 0644 %{SOURCE6} %{buildroot}%_unitdir/salt-minion.service
%endif
#
##config files
install -Dpm 0640 conf/minion %{buildroot}%{_sysconfdir}/salt/minion
install -Dpm 0640 conf/master %{buildroot}%{_sysconfdir}/salt/master
install -Dpm 0644 conf/minion %{buildroot}%{_sysconfdir}/salt/minion
install -Dpm 0644 conf/master %{buildroot}%{_sysconfdir}/salt/master
#
##logrotate file
install -Dpm 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/salt
install -Dpm 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/salt
#
##Salt-master daemon user
install -Dpm 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/salt/master.d/salt-daemon.conf
install -Dpm 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/salt/master.d/salt-daemon.conf
%preun -n salt-syndic
%stop_on_removal salt-syndic