Hello community, here is the log from the commit of package salt for openSUSE:Factory checked in at 2013-10-18 11:35:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/salt (Old) and /work/SRC/openSUSE:Factory/.salt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "salt" Changes: -------- --- /work/SRC/openSUSE:Factory/salt/salt.changes 2013-10-01 08:35:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.salt.new/salt.changes 2013-10-18 11:44:05.000000000 +0200 @@ -1,0 +2,56 @@ +Thu Oct 17 18:27:23 UTC 2013 - aboe76@gmail.com + +- Updated to salt 0.17.1 bugfix release: + - Fix symbolic links in thin.tgz (:issue:`7482`) + - Pass env through to file.patch state (:issue:`7452`) + - Service provider fixes and reporting improvements (:issue:`7361`) + - Add --priv option for specifying salt-ssh private key + - Fix salt-thin's salt-call on setuptools installations (:issue:`7516`) + - Fix salt-ssh to support passwords with spaces (:issue:`7480`) + - Fix regression in wildcard includes (:issue:`7455`) + - Fix salt-call outputter regression (:issue:`7456`) + - Fix custom returner support for startup states (:issue:`7540`) + - Fix value handling in augeas (:issue:`7605`) + - Fix regression in apt (:issue:`7624`) + - Fix minion ID guessing to use socket.getfqdn() first (:issue:`7558`) + - Add minion ID caching (:issue:`7558`) + - Fix salt-key race condition (:issue:`7304`) + - Add --include-all flag to salt-key (:issue:`7399`) + - Fix custom grains in pillar (part of :issue:`5716`, :issue:`6083`) + - Fix race condition in salt-key (:issue:`7304`) + - Fix regression in minion ID guessing, prioritize socket.getfqdn() (:issue:`7558`) + - Cache minion ID on first guess (:issue:`7558`) + - Allow trailing slash in file.directory state + - Fix reporting of file_roots in pillar return (:issue:`5449` and :issue:`5951`) + - Remove pillar matching for mine.get (:issue:`7197`) + - Sanitize args for multiple execution modules + - Fix yumpkag mod_repo functions to filter hidden args (:issue:`7656`) + - Fix conflicting IDs in state includes (:issue:`7526`) + - Fix mysql_grants.absent string formatting issue (:issue:`7827`) + - Fix postgres.version so it won't return None (:issue:`7695`) + - Fix for trailing slashes in mount.mounted state + - Fix rogue AttributErrors in the outputter system (:issue:`7845`) + - Fix for incorrect ssh key encodings resulting in incorrect key added (:issue:`7718`) + - Fix for pillar/grains naming regression in python renderer (:issue:`7693`) + - Fix args/kwargs handling in the scheduler (:issue:`7422`) + - Fix logfile handling for file://, tcp:// and udp:// (:issue:`7754`) + - Fix error handling in config file parsing (:issue:`6714`) + - Fix RVM using sudo when running as non-root user (:issue:`2193`) + - Fix client ACL and underlying logging bugs (:issue:`7706`) + - Fix scheduler bug with returner (:issue:`7367`) + - Fix user management bug related to default groups (:issue:`7690`) + - Fix various salt-ssh bugs (:issue:`7528`) + - Many various documentation fixes + +------------------------------------------------------------------- +Thu Oct 3 06:01:23 UTC 2013 - aboe76@gmail.com + +- Updated init files to be inline with fedora/rhel packaging upstream + +------------------------------------------------------------------- +Mon Sep 30 18:56:27 UTC 2013 - aboe76@gmail.com + +- Cleaned up spec file: +- Unit testing can be done on all distributions + +------------------------------------------------------------------- Old: ---- salt-0.17.0.tar.gz New: ---- salt-0.17.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ salt.spec ++++++ --- /var/tmp/diff_new_pack.VOPR4D/_old 2013-10-18 11:44:28.000000000 +0200 +++ /var/tmp/diff_new_pack.VOPR4D/_new 2013-10-18 11:44:28.000000000 +0200 @@ -16,7 +16,7 @@ # Name: salt -Version: 0.17.0 +Version: 0.17.1 Release: 0 Summary: A parallel remote execution system License: Apache-2.0 @@ -31,10 +31,8 @@ Source6: %{name}-minion.service Source7: %{name}.logrotate Source8: %{name}.SuSEfirewall2 -%if 0%{?sles_version} -BuildRequires: python -Requires: python -%endif + +#for building BuildRequires: python-devel BuildRequires: logrotate BuildRequires: python-Jinja2 @@ -43,18 +41,29 @@ BuildRequires: python-msgpack-python BuildRequires: python-pycrypto BuildRequires: python-pyzmq +%if 0%{?sles_version} +BuildRequires: python +Requires: python +%endif +%if 0%{?suse_version} >= 1210 +BuildRequires: systemd +%{?systemd_requires} +%endif + +#for testing BuildRequires: python-xml -BuildRequires: unzip +BuildRequires: python-unittest2 +BuildRequires: python-salt-testing +BuildRequires: python-mock +BuildRequires: python-pip + Requires: logrotate Requires: python-Jinja2 Requires: python-PyYAML Requires: python-xml Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq -%if 0%{?suse_version} >= 1210 -BuildRequires: systemd -%{?systemd_requires} -%endif + BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -62,15 +71,6 @@ BuildArch: noarch %endif -## Disabled for now python-mock issues -%if 0%{?suse_version} != 1220 && 0%{?suse_version} != 1230 -BuildRequires: python-unittest2 -BuildRequires: python-salt-testing -BuildRequires: python-mock -BuildRequires: python-pip -BuildRequires: git -%endif - %description Salt is a distributed remote execution system used to execute commands and query data. It was developed in order to bring the best solutions found in @@ -135,7 +135,7 @@ Summary: Ssh component for salt, a parallel remote execution system Group: System/Monitoring Requires: %{name} = %{version} -Requires: sshpass +Recommends: sshpass Requires(pre): %fillup_prereq Requires(pre): %insserv_prereq @@ -152,7 +152,7 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -##missing directories +## create missing directories mkdir -p %{buildroot}%{_sysconfdir}/salt/master.d mkdir -p %{buildroot}%{_sysconfdir}/salt/minion.d mkdir -p %{buildroot}%{_sysconfdir}/init.d @@ -163,7 +163,7 @@ mkdir -p %{buildroot}/srv/salt mkdir -p %{buildroot}/srv/pillar # -##init scripts +## install init scripts install -Dpm 0755 %{SOURCE1} %{buildroot}%{_initddir}/salt-master install -Dpm 0755 %{SOURCE2} %{buildroot}%{_initddir}/salt-syndic install -Dpm 0755 %{SOURCE3} %{buildroot}%{_initddir}/salt-minion @@ -177,21 +177,18 @@ install -Dpm 0644 %{SOURCE6} %{buildroot}%_unitdir/salt-minion.service %endif # -##config files +## install config files install -Dpm 0644 conf/minion %{buildroot}%{_sysconfdir}/salt/minion install -Dpm 0644 conf/master %{buildroot}%{_sysconfdir}/salt/master # -##logrotate file +## install logrotate file install -Dpm 0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/logrotate.d/salt # -##SuSEfirewall2 file +## install SuSEfirewall2 rules install -Dpm 0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/salt -%if 0%{?suse_version} != 1220 && 0%{?suse_version} != 1230 %check -#export only_local_network=False %{__python} setup.py test --runtests-opts=-u -%endif %preun -n salt-syndic %stop_on_removal salt-syndic ++++++ salt-0.17.0.tar.gz -> salt-0.17.1.tar.gz ++++++ ++++ 10176 lines of diff (skipped) ++++++ salt-master ++++++ --- /var/tmp/diff_new_pack.VOPR4D/_old 2013-10-18 11:44:29.000000000 +0200 +++ /var/tmp/diff_new_pack.VOPR4D/_new 2013-10-18 11:44:29.000000000 +0200 @@ -6,15 +6,15 @@ # LSB header ### BEGIN INIT INFO -# Provides: salt-master -# Required-Start: $local_fs $remote_fs $network $named $time -# Should-Start: $time ypbind smtp -# Required-Stop: $local_fs $remote_fs $network $named $time -# Should-Stop: ypbind smtp -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Salt master control daemon -# Description: This is a daemon that controls the Salt minions. +# Provides: salt-master +# Required-Start: $local_fs $remote_fs $network $named $time +# Should-Start: $time ypbind smtp +# Required-Stop: $local_fs $remote_fs $network $named $time +# Should-Stop: ypbind smtp +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Salt master control daemon +# Description: This is a daemon that controls the Salt minions. ### END INIT INFO @@ -26,16 +26,6 @@ # processname: /usr/bin/salt-master -if [ -f /etc/default/salt ]; then - . /etc/default/salt -else - SALTMASTER=/usr/bin/salt-master - PYTHON=/usr/bin/python -fi - -# Sanity checks. -[ -x $SALTMASTER ] || exit 0 - DEBIAN_VERSION=/etc/debian_version SUSE_RELEASE=/etc/SuSE-release # Source function library. @@ -47,27 +37,35 @@ . /etc/rc.d/init.d/functions fi +# Default values (can be overridden below) +SALTMASTER=/usr/bin/salt-master +PYTHON=/usr/bin/python +MASTER_ARGS="" + +if [ -f /etc/default/salt ]; then + . /etc/default/salt +fi + SERVICE=salt-master PROCESS=salt-master -CONFIG_ARGS=" " RETVAL=0 start() { echo -n $"Starting salt-master daemon: " if [ -f $SUSE_RELEASE ]; then - startproc -f -p /var/run/$SERVICE.pid $SALTMASTER -d $CONFIG_ARGS + startproc -f -p /var/run/$SERVICE.pid $SALTMASTER -d $MASTER_ARGS rc_status -v elif [ -e $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then echo -n "already started, lock file found" RETVAL=1 - elif $PYTHON $SALTMASTER -d >& /dev/null; then + elif $PYTHON $SALTMASTER -d $MASTER_ARGS >& /dev/null; then echo -n "OK" RETVAL=0 fi else - daemon --check $SERVICE $SALTMASTER -d $CONFIG_ARGS + daemon --check $SERVICE $SALTMASTER -d $MASTER_ARGS fi RETVAL=$? echo @@ -100,7 +98,6 @@ start } - # See how we were called. case "$1" in start|stop|restart) @@ -129,11 +126,7 @@ ;; reload) echo "can't reload configuration, you have to restart it" - if [ -f $SUSE_RELEASE ]; then - rc_status -v - else - RETVAL=$? - fi + RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" @@ -141,4 +134,3 @@ ;; esac exit $RETVAL - ++++++ salt-minion ++++++ --- /var/tmp/diff_new_pack.VOPR4D/_old 2013-10-18 11:44:29.000000000 +0200 +++ /var/tmp/diff_new_pack.VOPR4D/_new 2013-10-18 11:44:29.000000000 +0200 @@ -6,15 +6,16 @@ # LSB header ### BEGIN INIT INFO -# Provides: salt-minion -# Required-Start: $local_fs $remote_fs $network $named $time -# Should-Start: $time ypbind smtp -# Required-Stop: $local_fs $remote_fs $network $named $time -# Should-Stop: ypbind smtp -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Salt minion daemon -# Description: This is the Salt minion daemon that can be controlled by the Salt master. +# Provides: salt-minion +# Required-Start: $local_fs $remote_fs $network $named $time +# Should-Start: $time ypbind smtp +# Required-Stop: $local_fs $remote_fs $network $named $time +# Should-Stop: ypbind smtp +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Salt minion daemon +# Description: This is the Salt minion daemon that can be controlled by the +# Salt master. ### END INIT INFO @@ -26,16 +27,6 @@ # processname: /usr/bin/salt-minion -if [ -f /etc/default/salt ]; then - . /etc/default/salt -else - SALTMINION=/usr/bin/salt-minion - PYTHON=/usr/bin/python -fi - -# Sanity checks. -[ -x $SALTMINION ] || exit 0 - DEBIAN_VERSION=/etc/debian_version SUSE_RELEASE=/etc/SuSE-release # Source function library. @@ -47,22 +38,30 @@ . /etc/rc.d/init.d/functions fi +# Default values (can be overridden below) +SALTMINION=/usr/bin/salt-minion +PYTHON=/usr/bin/python +MINION_ARGS="" + +if [ -f /etc/default/salt ]; then + . /etc/default/salt +fi + SERVICE=salt-minion PROCESS=salt-minion -CONFIG_ARGS=" " RETVAL=0 start() { echo -n $"Starting salt-minion daemon: " if [ -f $SUSE_RELEASE ]; then - startproc -f -p /var/run/$SERVICE.pid $SALTMINION -d $CONFIG_ARGS + startproc -f -p /var/run/$SERVICE.pid $SALTMINION -d $MINION_ARGS rc_status -v elif [ -e $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then echo -n "already started, lock file found" RETVAL=1 - elif $PYTHON $SALTMINION -d >& /dev/null; then + elif $PYTHON $SALTMINION -d $MINION_ARGS >& /dev/null; then echo -n "OK" RETVAL=0 fi @@ -71,7 +70,7 @@ RETVAL=$? echo -n "already running" else - daemon --check $SERVICE $SALTMINION -d $CONFIG_ARGS + daemon --check $SERVICE $SALTMINION -d $MINION_ARGS RETVAL=$? fi fi @@ -133,11 +132,7 @@ ;; reload) echo "can't reload configuration, you have to restart it" - if [ -f $SUSE_RELEASE ]; then - rc_status -v - else - RETVAL=$? - fi + RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" ++++++ salt-syndic ++++++ --- /var/tmp/diff_new_pack.VOPR4D/_old 2013-10-18 11:44:29.000000000 +0200 +++ /var/tmp/diff_new_pack.VOPR4D/_new 2013-10-18 11:44:29.000000000 +0200 @@ -6,36 +6,27 @@ # LSB header ### BEGIN INIT INFO -# Provides: salt-syndic -# Required-Start: $local_fs $remote_fs $network $named $time -# Should-Start: $time ypbind smtp -# Required-Stop: $local_fs $remote_fs $network $named $time -# Should-Stop: ypbind smtp -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Short-Description: Salt syndic master-minion passthrough daemon -# Description: This is a the Salt syndic daemon that enables Salt master-minion remote control passthrough. +# Provides: salt-syndic +# Required-Start: $local_fs $remote_fs $network $named $time +# Should-Start: $time ypbind smtp +# Required-Stop: $local_fs $remote_fs $network $named $time +# Should-Stop: ypbind smtp +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Salt syndic master-minion passthrough daemon +# Description: This is a the Salt syndic daemon that enables Salt master-minion +# remote control passthrough. ### END INIT INFO # chkconfig header -# chkconfig: 345 99 99 +# chkconfig: - 99 99 # description: This is a the Salt syndic daemon that enables Salt master-minion remote control passthrough. # # processname: /usr/bin/salt-syndic -if [ -f /etc/default/salt ]; then - . /etc/default/salt -else - SALTSYNDIC=/usr/bin/salt-syndic - PYTHON=/usr/bin/python -fi - -# Sanity checks. -[ -x $SALTSYNDIC ] || exit 0 - DEBIAN_VERSION=/etc/debian_version SUSE_RELEASE=/etc/SuSE-release # Source function library. @@ -47,27 +38,35 @@ . /etc/rc.d/init.d/functions fi +# Default values (can be overridden below) +SALTSYNDIC=/usr/bin/salt-syndic +PYTHON=/usr/bin/python +SYNDIC_ARGS="" + +if [ -f /etc/default/salt ]; then + . /etc/default/salt +fi + SERVICE=salt-syndic PROCESS=salt-syndic -CONFIG_ARGS=" " RETVAL=0 start() { echo -n $"Starting salt-syndic daemon: " if [ -f $SUSE_RELEASE ]; then - startproc -f -p /var/run/$SERVICE.pid $SALTSYNDIC -d $CONFIG_ARGS + startproc -f -p /var/run/$SERVICE.pid $SALTSYNDIC -d $SYNDIC_ARGS rc_status -v elif [ -e $DEBIAN_VERSION ]; then if [ -f $LOCKFILE ]; then echo -n "already started, lock file found" RETVAL=1 - elif $PYTHON $SALTSYNDIC -d >& /dev/null; then + elif $PYTHON $SALTSYNDIC -d $SYNDIC_ARGS >& /dev/null; then echo -n "OK" RETVAL=0 fi else - daemon --check $SERVICE $SALTSYNDIC -d $CONFIG_ARGS + daemon --check $SERVICE $SALTSYNDIC -d $SYNDIC_ARGS fi RETVAL=$? echo @@ -123,18 +122,16 @@ RETVAL=$? fi ;; - reload) + condrestart) + [ -f $LOCKFILE ] && restart || : + ;; + reload) echo "can't reload configuration, you have to restart it" - if [ -f $SUSE_RELEASE ]; then - rc_status -v - else - RETVAL=$? - fi + RETVAL=$? ;; *) - echo $"Usage: $0 {start|stop|status|restart|reload}" + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" exit 1 ;; esac exit $RETVAL - -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org