Hello community, here is the log from the commit of package cluster-glue for openSUSE:Factory checked in at 2020-04-29 20:41:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cluster-glue (Old) and /work/SRC/openSUSE:Factory/.cluster-glue.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cluster-glue" Wed Apr 29 20:41:58 2020 rev:68 rq:798302 version:1.0.12+v1.git.1587474580.a5fda2bc Changes: -------- --- /work/SRC/openSUSE:Factory/cluster-glue/cluster-glue.changes 2019-06-24 21:49:32.543928162 +0200 +++ /work/SRC/openSUSE:Factory/.cluster-glue.new.2738/cluster-glue.changes 2020-04-29 20:42:23.691644599 +0200 @@ -1,0 +2,6 @@ +Mon Apr 27 12:56:01 UTC 2020 - xarb...@suse.com + +- Update to version 1.0.12+v1.git.1587474580.a5fda2bc: + * Fix EC2 stonith plugin (bsc#1169784) + +------------------------------------------------------------------- Old: ---- cluster-glue-1.0.12+v1.git.1560323319.fd5a3bef.tar.bz2 New: ---- cluster-glue-1.0.12+v1.git.1587474580.a5fda2bc.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cluster-glue.spec ++++++ --- /var/tmp/diff_new_pack.RBsnxX/_old 2020-04-29 20:42:24.363646351 +0200 +++ /var/tmp/diff_new_pack.RBsnxX/_new 2020-04-29 20:42:24.367646361 +0200 @@ -23,7 +23,7 @@ # Directory where we install documentation %global glue_docdir %{_defaultdocdir}/%{name} Name: cluster-glue -Version: 1.0.12+v1.git.1560323319.fd5a3bef +Version: 1.0.12+v1.git.1587474580.a5fda2bc Release: 0 Summary: Reusable cluster components License: GPL-2.0-only AND LGPL-2.1-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.RBsnxX/_old 2020-04-29 20:42:24.415646486 +0200 +++ /var/tmp/diff_new_pack.RBsnxX/_new 2020-04-29 20:42:24.415646486 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/ClusterLabs/cluster-glue.git</param> - <param name="changesrevision">26acc098f0fce9e109b91b4b0d307e83e8fa1dd1</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">7c84a6ae8cab29a8eb1270b8c1de0cb346210df2</param></service></servicedata> \ No newline at end of file ++++++ cluster-glue-1.0.12+v1.git.1560323319.fd5a3bef.tar.bz2 -> cluster-glue-1.0.12+v1.git.1587474580.a5fda2bc.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1560323319.fd5a3bef/lib/plugins/stonith/external/ec2 new/cluster-glue-1.0.12+v1.git.1587474580.a5fda2bc/lib/plugins/stonith/external/ec2 --- old/cluster-glue-1.0.12+v1.git.1560323319.fd5a3bef/lib/plugins/stonith/external/ec2 2019-06-12 09:08:39.000000000 +0200 +++ new/cluster-glue-1.0.12+v1.git.1587474580.a5fda2bc/lib/plugins/stonith/external/ec2 2020-04-21 15:09:40.000000000 +0200 @@ -53,15 +53,20 @@ instance_not_found=0 unknown_are_stopped=0 -action_default="reset" # Default fence action -ec2_tag_default="Name" # EC2 Tag containing the instance's uname +action_default="reset" # Default fence action +ec2_tag_default="Name" # EC2 Tag containing the instance's uname +ec2_profile_default="default" # EC2 Profile containing the AWS's profile sleep_time="1" +# Set the correct value for the tag [ -n "$tag" ] && ec2_tag="$tag" - : ${ec2_tag=${ec2_tag_default}} +# Set the correct value for the profile +[ -n "$profile" ] && ec2_profile="$profile" +: ${ec2_profile=${ec2_profile_default}} + # Always invoke aws command with UTF-8 locale # to avoid issues when the tag contains non-ASCII # characters (bsc#1059171) @@ -299,12 +304,7 @@ [ -n "$1" ] && action=$1 [ -n "$2" ] && node_to_fence=$2 -if [ -z "$ec2_profile"]; then - options="--output text --profile default" -else - options="--output text --profile $ec2_profile " -fi - +options="--output text --profile $ec2_profile" action=`echo $action | tr 'A-Z' 'a-z'` case $action in