PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  oB]c@sdZddlZddlmZddlmZddlmZddlmZedgZ dZ d Z d Z dS( sQ Debug ----- **Summary:** helper to debug cloud-init *internal* datastructures. This module will enable for outputting various internal information that cloud-init sources provide to either a file or to the output console/log location that this cloud-init has been configured with when running. .. note:: Log configurations are not output. **Internal name:** ``cc_debug`` **Module frequency:** per instance **Supported distros:** all **Config keys**:: debug: verbose: true/false (defaulting to true) output: (location to write output, defaulting to console + log) iN(tStringIO(t type_utils(tutil(tsafeyamltlog_cfgscCsut}|jdd|jd|j|jdd|jd|jdd|jd|jS(Nt-iPs t (Rtwritetcentertgetvalue(ttexttheader((s=/usr/lib/python2.7/site-packages/cloudinit/config/cc_debug.pyt _make_header)s    cCs%tj|dtdt}|jS(Ntexplicit_startt explicit_end(RtdumpstFalsetrstrip(tobjR ((s=/usr/lib/python2.7/site-packages/cloudinit/config/cc_debug.pyt_dumps4scCsxtj|ddt}|r1|d}t}ntj|d}|s]|jd|dStj|}xtD]}|j|dqsWt |} x0| D](}|j dr|j|dqqWt } | j t d | j t|| j d | j t d | j t|jj| j d | j t d | j d tj|j| j dtj|j| j d|jt| j d|j| j d|j| j d|j| j} g} x+| jD]} d| } | j| q W|rRtj|dj| ddn"tjdj| dtdtdS(s'Handler method activated by cloud-init.tdebugtverbosetdefaultitoutputs3Skipping module named %s, verbose printing disabledNt_tConfigs tMetaDatatMiscsDatasource: %s s Distro: %s s Hostname: %s sInstance ID: %s s Locale: %s sLaunch IDX: %s s ci-info: %s titwtconsoletstderr(sdebugsverbose(sdebugsoutput(Rtget_cfg_by_pathtTrueRtcopytdeepcopyt SKIP_KEYStpoptNonetlistt startswithRRR Rt datasourcetmetadataRtobj_nametdistrot get_hostnametget_instance_idt get_localet launch_indexR t splitlinestappendt write_filetjoint multi_logR(tnametcfgtcloudtlogtargsRtout_filetdump_cfgtktall_keystto_printtcontentstcontent_to_filetline((s=/usr/lib/python2.7/site-packages/cloudinit/config/cc_debug.pythandle9sN            "( t__doc__R"tsixRt cloudinitRRRt frozensetR$R RRC(((s=/usr/lib/python2.7/site-packages/cloudinit/config/cc_debug.pyts