#NEWLINE# def bootstrap( args ) : #NEWLINE# #INDENT# _get_fds_service_config ( args ) #NEWLINE# cleanup_token = deploy_utils . confirm_bootstrap ( 'fds' , args . fds_config ) #NEWLINE# for job_name in ( args . job or ALL_JOBS ) : #NEWLINE# #INDENT# hosts = args . fds_config . jobs [ job_name ] . hosts #NEWLINE# args . task_map = deploy_utils . parse_args_host_and_task ( args , hosts ) #NEWLINE# for host_id in ( args . task_map . keys ( ) or hosts . keys ( ) ) : #NEWLINE# #INDENT# for instance_id in ( args . task_map . get ( host_id ) or range ( hosts [ host_id ] . instance_num ) ) : #NEWLINE# #INDENT# instance_id = ( ( - 1 ) if ( not deploy_utils . is_multiple_instances ( host_id , hosts ) ) else instance_id ) #NEWLINE# bootstrap_job ( args , hosts [ host_id ] . ip , job_name , host_id , instance_id , cleanup_token )