def _centos7_install_commands(version):
 installable_version = get_installable_version(flocker_version)
 return sequence([run(command='yum clean all'), run(command='yum install -y {}'.format(get_repository_url(distribution='centos-7', flocker_version=installable_version))), run_from_args(((['yum', 'install'] + get_repo_options(installable_version)) + ['-y', ('clusterhq-flocker-node' + version)]))])

def _centos7_install_commands ( version ) : installable_version = get_installable_version ( flocker_version ) return sequence ( [ run ( command = 'yum clean all' ) , run ( command = 'yum install -y {}' . format ( get_repository_url ( distribution = 'centos-7' , flocker_version = installable_version ) ) ) , run_from_args ( ( ( [ 'yum' , 'install' ] + get_repo_options ( installable_version ) ) + [ '-y' , ( 'clusterhq-flocker-node' + version ) ] ) ) ] )
construct the command sequence expected for installing flocker on centos 7 .