Exemplo n.º 1
0
    def configure_groups_with_task(self):
        """Return the user group configuration task.

        :returns: a user group configuration task
        """
        return CreateGroupsTask(sysroot=conf.target.system_root,
                                group_data_list=self.groups)
Exemplo n.º 2
0
    def configure_groups_with_task(self, sysroot):
        """Return the user group configuration task.

        :param str sysroot: a path to the root of the installed system
        :returns: object path of the user group configuration task
        """
        task = CreateGroupsTask(sysroot=sysroot, group_data_list=self.groups)
        return self.publish_task(USERS.namespace, task)
Exemplo n.º 3
0
    def configure_groups_with_task(self):
        """Return the user group configuration task.

        :returns: object path of the user group configuration task
        """
        task = CreateGroupsTask(
            sysroot=conf.target.system_root,
            group_data_list=self.groups
        )
        return self.publish_task(USERS.namespace, task)