Exemplo n.º 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)
        ]
Exemplo n.º 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)
        ]
Exemplo n.º 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