def task_cli_pkg_install(distribution, package_source=PackageSource()):
 commands = task_package_install('clusterhq-flocker-cli', distribution, package_source)
 return sequence([(Effect(Sudo(command=e.intent.command, log_command_filter=e.intent.log_command_filter)) if isinstance(e.intent, Run) else e) for e in commands.intent.effects])

def task_cli_pkg_install ( distribution , package_source = PackageSource ( ) ) : commands = task_package_install ( 'clusterhq-flocker-cli' , distribution , package_source ) return sequence ( [ ( Effect ( Sudo ( command = e . intent . command , log_command_filter = e . intent . log_command_filter ) ) if isinstance ( e . intent , Run ) else e ) for e in commands . intent . effects ] )
install the flocker cli package .