Date: Mon, 17 Apr 2017 04:42:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218694] sysutils/py-salt: Add patch to fix salt.modules.pw_user.chloginclass Message-ID: <bug-218694-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218694 Bug ID: 218694 Summary: sysutils/py-salt: Add patch to fix salt.modules.pw_user.chloginclass Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: woodsb02@freebsd.org CC: christer.edwards@gmail.com CC: christer.edwards@gmail.com Flags: maintainer-feedback?(christer.edwards@gmail.com) Created attachment 181831 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181831&action= =3Dedit Patch to make salt.modules.pw_user.get_loginclass return string rather than dict sysutils/py-salt: Add patch to fix salt.modules.pw_user.chloginclass Make salt.modules.pw_user.get_loginclass return string rather than dict This aligns with salt.modules.useradd.get_loginclass which is used for OpenBSD. This fixes salt.modules.pw_user.chloginclass which is used for FreeBSD and expects a string to be returned. This was therefore returning False even after successfully changing the loginclass. This also fixes salt.states.user.present on FreeBSD when loginclass is set. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218694-13>