コード例 #1
0
 def walk_handlers(excluded):
     # Walk the user data
     part_data = {
         "handlers": c_handlers,
         # Any new handlers that are encountered get writen here
         "handlerdir": idir,
         "data": data,
         # The default frequency if handlers don't have one
         "frequency": frequency,
         # This will be used when new handlers are found
         # to help write their contents to files with numbered
         # names...
         "handlercount": 0,
         "excluded": excluded,
     }
     handlers.walk(data_msg, handlers.walker_callback, data=part_data)
コード例 #2
0
ファイル: stages.py プロジェクト: HenryTheHamster/cloud-init
 def walk_handlers(excluded):
     # Walk the user data
     part_data = {
         'handlers': c_handlers,
         # Any new handlers that are encountered get writen here
         'handlerdir': idir,
         'data': data,
         # The default frequency if handlers don't have one
         'frequency': frequency,
         # This will be used when new handlers are found
         # to help write there contents to files with numbered
         # names...
         'handlercount': 0,
         'excluded': excluded,
     }
     handlers.walk(data_msg, handlers.walker_callback, data=part_data)
コード例 #3
0
ファイル: stages.py プロジェクト: akutz/cloud-init
 def walk_handlers(excluded):
     # Walk the user data
     part_data = {
         'handlers': c_handlers,
         # Any new handlers that are encountered get writen here
         'handlerdir': idir,
         'data': data,
         # The default frequency if handlers don't have one
         'frequency': frequency,
         # This will be used when new handlers are found
         # to help write their contents to files with numbered
         # names...
         'handlercount': 0,
         'excluded': excluded,
     }
     handlers.walk(data_msg, handlers.walker_callback, data=part_data)
コード例 #4
0
ファイル: stages.py プロジェクト: balagopalraj/clearlinux
 def walk_handlers(excluded):
     # Walk the user data
     part_data = {
         "handlers": c_handlers,
         # Any new handlers that are encountered get writen here
         "handlerdir": idir,
         "data": data,
         # The default frequency if handlers don't have one
         "frequency": frequency,
         # This will be used when new handlers are found
         # to help write there contents to files with numbered
         # names...
         "handlercount": 0,
         "excluded": excluded,
     }
     handlers.walk(data_msg, handlers.walker_callback, data=part_data)