Пример #1
0
    def install_with_tasks(self):
        """Returns installation tasks of this module.

        :returns: list of installation tasks
        """
        storage = self.storage

        return [
            ActivateFilesystemsTask(storage),
            MountFilesystemsTask(storage)
        ]
Пример #2
0
    def install_with_tasks(self):
        """Returns installation tasks of this module.

        FIXME: This is a simplified version of the storage installation.

        :returns: list of installation tasks
        """
        storage = self.storage

        return [
            ActivateFilesystemsTask(storage),
            MountFilesystemsTask(storage),
            WriteConfigurationTask(storage)
        ]
Пример #3
0
    def install_with_tasks(self):
        """Returns installation tasks of this module.

        FIXME: This is a simplified version of the storage installation.

        :returns: list of object paths of installation tasks
        """
        storage = self.storage

        tasks = [
            ActivateFilesystemsTask(storage),
            MountFilesystemsTask(storage),
            WriteConfigurationTask(storage)
        ]

        paths = [self.publish_task(STORAGE.namespace, task) for task in tasks]

        return paths