diff --git a/salt.changes b/salt.changes index 918c6de..7eb305e 100644 --- a/salt.changes +++ b/salt.changes @@ -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 diff --git a/salt.spec b/salt.spec index f1335e2..8ddf71f 100644 --- a/salt.spec +++ b/salt.spec @@ -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