def _deploy_shared_units(self):
        # Ensure the file archive is there
        last_unit = self._deployed_units[-1]
        shared_unit_prefix = path.join(self._config_path, 'units', 'shared')
        for name in self._get_units():
            version = None
            if ':' in name:
                name, version = name.split(':')
            unit_file = path.join(shared_unit_prefix, name)
            unit_name = utils.unit_name(name, self._name,
                                        self._group,
                                        version)
            if not self._deploy_unit(unit_name, unit_file, last_unit):
                LOGGER.error('Aborting, failed to deploy %s', unit_name)
                return False
            last_unit = unit_name
        return True
dataset/ETHPy150Open aweber/houston/houston/controller.py/Controller._deploy_shared_units/original