Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2016-08-09 22:15:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2016-08-03 11:44:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new/crmsh.changes 2016-08-09 22:16:00.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Aug 09 11:54:54 UTC 2016 - kgronl...@suse.com + +- Update to version 2.2.0+git.1470743271.64d1a40: + * medium: constants: Add missing alerts constants (#150) (bsc#992789) + +------------------------------------------------------------------- Old: ---- crmsh-2.2.0+git.1469918297.1b801f6.tar.bz2 New: ---- crmsh-2.2.0+git.1470743271.64d1a40.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.w3SlGz/_old 2016-08-09 22:16:01.000000000 +0200 +++ /var/tmp/diff_new_pack.w3SlGz/_new 2016-08-09 22:16:01.000000000 +0200 @@ -32,13 +32,13 @@ %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%define version_unconverted 2.2.0+git.1469918297.1b801f6 +%define version_unconverted 2.2.0+git.1470743271.64d1a40 Name: crmsh Summary: High Availability cluster command-line interface License: GPL-2.0+ Group: %{pkg_group} -Version: 2.2.0+git.1469918297.1b801f6 +Version: 2.2.0+git.1470743271.64d1a40 Release: 0 Url: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.w3SlGz/_old 2016-08-09 22:16:02.000000000 +0200 +++ /var/tmp/diff_new_pack.w3SlGz/_new 2016-08-09 22:16:02.000000000 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">1b801f6bca54aa91ca066a057e3b0003715995e7</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">64d1a40b8ed79e17973af5d9159eca3e703cf8e8</param></service></servicedata> \ No newline at end of file ++++++ crmsh-2.2.0+git.1469918297.1b801f6.tar.bz2 -> crmsh-2.2.0+git.1470743271.64d1a40.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-2.2.0+git.1469918297.1b801f6/crmsh/constants.py new/crmsh-2.2.0+git.1470743271.64d1a40/crmsh/constants.py --- old/crmsh-2.2.0+git.1469918297.1b801f6/crmsh/constants.py 2016-07-31 00:40:44.000000000 +0200 +++ new/crmsh-2.2.0+git.1470743271.64d1a40/crmsh/constants.py 2016-08-09 13:54:54.000000000 +0200 @@ -30,6 +30,7 @@ "fencing_topology": "element", "fencing-topology": "element", "tag": "element", + "alert": "element", "monitor": "element", "params": "subelement", "meta": "subelement", @@ -38,6 +39,7 @@ "operations": "subelement", "op": "subelement", "rule": "subelement", + "to": "subelement", "inf": "value", "INFINITY": "value", "and": "op", @@ -94,7 +96,8 @@ "acl_user": "user", "acl_role": "role", "fencing-topology": "fencing_topology", - "tag": "tag" + "tag": "tag", + "alert": "alert", } container_tags = ("group", "clone", "ms", "master") clonems_tags = ("clone", "ms", "master") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-2.2.0+git.1469918297.1b801f6/test/testcases/newfeatures new/crmsh-2.2.0+git.1470743271.64d1a40/test/testcases/newfeatures --- old/crmsh-2.2.0+git.1469918297.1b801f6/test/testcases/newfeatures 2016-07-31 00:40:44.000000000 +0200 +++ new/crmsh-2.2.0+git.1470743271.64d1a40/test/testcases/newfeatures 2016-08-09 13:54:54.000000000 +0200 @@ -21,6 +21,12 @@ location l1 { p0 p1 p2 } inf: node1 primitive node1 Dummy tag ones l1 p1 +alert notify_9 /usr/share/pacemaker/alerts/alert_snmp.sh \ + attributes \ + trap_add_hires_timestamp_oid="false" \ + trap_node_states="non-trap" \ + trap_resource_tasks="start,stop,monitor,promote,demote" \ + to "192.168.40.9" show tag:ones and type:location show tag:ones and p1 show diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-2.2.0+git.1469918297.1b801f6/test/testcases/newfeatures.exp new/crmsh-2.2.0+git.1470743271.64d1a40/test/testcases/newfeatures.exp --- old/crmsh-2.2.0+git.1469918297.1b801f6/test/testcases/newfeatures.exp 2016-07-31 00:40:44.000000000 +0200 +++ new/crmsh-2.2.0+git.1470743271.64d1a40/test/testcases/newfeatures.exp 2016-08-09 13:54:54.000000000 +0200 @@ -15,6 +15,7 @@ .INP: location l1 { p0 p1 p2 } inf: node1 .INP: primitive node1 Dummy .INP: tag ones l1 p1 +.INP: alert notify_9 /usr/share/pacemaker/alerts/alert_snmp.sh attributes trap_add_hires_timestamp_oid="false" trap_node_states="non-trap" trap_resource_tasks="start,stop,monitor,promote,demote" to "192.168.40.9" .INP: show tag:ones and type:location location l1 { p0 p1 p2 } inf: node1 .INP: show tag:ones and p1 @@ -41,6 +42,9 @@ property cib-bootstrap-options: \ rule #uname eq node1 \ stonith-enabled=no +alert notify_9 "/usr/share/pacemaker/alerts/alert_snmp.sh" \ + attributes trap_add_hires_timestamp_oid=false trap_node_states=non-trap trap_resource_tasks="start,stop,monitor,promote,demote" \ + to 192.168.40.9 .INP: _test .INP: verify .EXT crm_resource --show-metadata stonith:ssh