From owner-svn-ports-all@FreeBSD.ORG Thu Feb 12 20:17:29 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6176F6C1; Thu, 12 Feb 2015 20:17:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 325CC653; Thu, 12 Feb 2015 20:17:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1CKHTeG079338; Thu, 12 Feb 2015 20:17:29 GMT (envelope-from olgeni@FreeBSD.org) Received: (from olgeni@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1CKHScl079336; Thu, 12 Feb 2015 20:17:28 GMT (envelope-from olgeni@FreeBSD.org) Message-Id: <201502122017.t1CKHScl079336@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: olgeni set sender to olgeni@FreeBSD.org using -f From: Jimmy Olgeni Date: Thu, 12 Feb 2015 20:17:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378891 - in head/sysutils/ansible: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 20:17:29 -0000 Author: olgeni Date: Thu Feb 12 20:17:28 2015 New Revision: 378891 URL: https://svnweb.freebsd.org/changeset/ports/378891 QAT: https://qat.redports.org/buildarchive/r378891/ Log: Fix issue #83 of ansible-modules-extras with pull request #204 ("Even though the password param is specified as optional, the rabbitmq_user module fails when it is not provided.") PR: 197573 Submitted by: olgeni Reviewed by: maintainer Added: head/sysutils/ansible/files/patch-lib_ansible_modules_extras_messaging_rabbitmq__user.py (contents, props changed) Modified: head/sysutils/ansible/Makefile Modified: head/sysutils/ansible/Makefile ============================================================================== --- head/sysutils/ansible/Makefile Thu Feb 12 20:00:17 2015 (r378890) +++ head/sysutils/ansible/Makefile Thu Feb 12 20:17:28 2015 (r378891) @@ -3,7 +3,7 @@ PORTNAME= ansible PORTVERSION= 1.8.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils python MASTER_SITES= http://releases.ansible.com/ansible/ Added: head/sysutils/ansible/files/patch-lib_ansible_modules_extras_messaging_rabbitmq__user.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/ansible/files/patch-lib_ansible_modules_extras_messaging_rabbitmq__user.py Thu Feb 12 20:17:28 2015 (r378891) @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- lib/ansible/modules/extras/messaging/rabbitmq_user.py.orig ++++ lib/ansible/modules/extras/messaging/rabbitmq_user.py +@@ -162,7 +162,11 @@ + return dict() + + def add(self): +- self._exec(['add_user', self.username, self.password]) ++ if self.password is not None: ++ self._exec(['add_user', self.username, self.password]) ++ else: ++ self._exec(['add_user', self.username, '']) ++ self._exec(['clear_password', self.username]) + + def delete(self): + self._exec(['delete_user', self.username])