def get_steps_pkg(distribution, package_source=PackageSource()):
 if (distribution not in PACKAGED_CLIENT_DISTRIBUTIONS):
  raise UsageError(('Distribution %r not supported. Available distributions: %s' % (distribution, ', '.join(PACKAGED_CLIENT_DISTRIBUTIONS))))
 package_manager = DOCKER_IMAGES[distribution].package_manager
 steps = [ensure_minimal_setup(package_manager), task_cli_pkg_install(distribution, package_source)]
 return steps

def get_steps_pkg ( distribution , package_source = PackageSource ( ) ) : if ( distribution not in PACKAGED_CLIENT_DISTRIBUTIONS ) : raise UsageError ( ( 'Distribution %r not supported. Available distributions: %s' % ( distribution , ', ' . join ( PACKAGED_CLIENT_DISTRIBUTIONS ) ) ) ) package_manager = DOCKER_IMAGES [ distribution ] . package_manager steps = [ ensure_minimal_setup ( package_manager ) , task_cli_pkg_install ( distribution , package_source ) ] return steps
get commands to run for testing client package installation .