'make entries for user to the provided group list'

def create_group_entries(self):

    if (self.groups != None):
        for group in self.groups:
            cmd = ['groups', 'add-users', group, self.config.username]
            rval = self.openshift_cmd(cmd, oadm=True)
            if (rval['returncode'] != 0):
                return rval
            return rval
    return {'returncode': 0}
