[Bug 218694] sysutils/py-salt: Add patch to fix salt.modules.pw_user.chloginclass

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 17 04:42:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218694

            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 at FreeBSD.org
          Reporter: woodsb02 at freebsd.org
                CC: christer.edwards at gmail.com
                CC: christer.edwards at gmail.com
             Flags: maintainer-feedback?(christer.edwards at gmail.com)

Created attachment 181831
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181831&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list