@do
def upload_packages(scratch_directory, target_bucket, version, build_server, top_level):
 distribution_names = available_distributions(flocker_source_path=top_level)
 for distribution_name in distribution_names:
  distribution = DISTRIBUTION_NAME_MAP[distribution_name]
  architecture = distribution.native_package_architecture()
  (yield update_repo(package_directory=scratch_directory.child('{}-{}-{}'.format(distribution.name, distribution.version, architecture)), target_bucket=target_bucket, target_key=os.path.join((distribution.name + get_package_key_suffix(version)), distribution.version, architecture), source_repo=os.path.join(build_server, 'results/omnibus', version, '{}-{}'.format(distribution.name, distribution.version)), packages=FLOCKER_PACKAGES, flocker_version=version, distribution=distribution))

@ do def upload_packages ( scratch_directory , target_bucket , version , build_server , top_level ) : distribution_names = available_distributions ( flocker_source_path = top_level ) for distribution_name in distribution_names : distribution = DISTRIBUTION_NAME_MAP [ distribution_name ] architecture = distribution . native_package_architecture ( ) ( yield update_repo ( package_directory = scratch_directory . child ( '{}-{}-{}' . format ( distribution . name , distribution . version , architecture ) ) , target_bucket = target_bucket , target_key = os . path . join ( ( distribution . name + get_package_key_suffix ( version ) ) , distribution . version , architecture ) , source_repo = os . path . join ( build_server , 'results/omnibus' , version , '{}-{}' . format ( distribution . name , distribution . version ) ) , packages = FLOCKER_PACKAGES , flocker_version = version , distribution = distribution ) )
the clusterhq yum and deb repositories contain packages for flocker .