#NEWLINE# @ classmethod #NEWLINE# def message( cls , task ) : #NEWLINE# #INDENT# rpc_message = make_astute_message ( task , 'execute_tasks' , 'update_dnsmasq_resp' , { #NEWLINE# #INDENT# 'tasks' : [ { #NEWLINE# #INDENT# 'type' : consts . ORCHESTRATOR_TASK_TYPES . upload_file , #NEWLINE# 'uids' : [ 'master' ] , #NEWLINE# 'parameters' : { #NEWLINE# #INDENT# 'path' : '/etc/hiera/networks.yaml' , #NEWLINE# 'data' : yaml . safe_dump ( cls . get_admin_networks_data ( ) ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'type' : consts . ORCHESTRATOR_TASK_TYPES . puppet , #NEWLINE# 'uids' : [ 'master' ] , #NEWLINE# 'parameters' : { #NEWLINE# #INDENT# 'puppet_modules' : '/etc/puppet/modules' , #NEWLINE# 'puppet_manifest' : '/etc/puppet/modules/fuel/examples/dhcp-ranges.pp' , #NEWLINE# 'timeout' : 300 , #NEWLINE# 'cwd' : '/' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , { #NEWLINE# #INDENT# 'type' : 'cobbler_sync' , #NEWLINE# 'uids' : [ 'master' ] , #NEWLINE# 'parameters' : { #NEWLINE# #INDENT# 'provisioning_info' : provisioning_serializers . ProvisioningSerializer . serialize_cluster_info ( None , None ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ] , #NEWLINE# #UNINDENT# } ) #NEWLINE# return rpc_message