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@sdZddlZyddlmZWn!ek rIddlmZnXddlZddlmZddgZdZ dZ d Z d Z dS( s Yum Add Repo ------------ **Summary:** add yum repository configuration to the system Add yum repository configuration to ``/etc/yum.repos.d``. Configuration files are named based on the dictionary key under the ``yum_repos`` they are specified with. If a config file already exists with the same name as a config entry, the config entry will be skipped. **Internal name:** ``cc_yum_add_repo`` **Module frequency:** per always **Supported distros:** fedora, rhel **Config keys**:: yum_repos: : baseurl: name: enabled: # any repository configuration options (see man yum.conf) iN(t ConfigParser(tutiltfedoratrhelcCs.|jjdd}|jdd}|S(Nt-t_t (tlowertreplace(trepo_id((sD/usr/lib/python2.7/site-packages/cloudinit/config/cc_yum_add_repo.pyt_canonicalize_id.scCszt|trtt|St|ttfrZdjg|D]}t|^qASt|tj svt|S|S(Ns ( t isinstancetbooltstrtinttlistttupletjoint_format_repo_valuetsixt string_types(tvaltv((sD/usr/lib/python2.7/site-packages/cloudinit/config/cc_yum_add_repo.pyR4s& cCst}|j|x3|jD]%\}}|j||t|q#Wtj}|j||jd|j }|j ddt j dj |S(Nis# Created by cloud-init on %s t(Rt add_sectiontitemstsetRRtStringIOtwritetseekt readlinestinsertRt time_rfc2822R(R t repo_configtto_betkRt to_be_streamtlines((sD/usr/lib/python2.7/site-packages/cloudinit/config/cc_yum_add_repo.pyt_format_repository_configCs      cCs|jd}|s)|jd|dStj|dd}i}i}xn|jD]`\} } t| } tjj|d| } tjj | r|j d| | qWn%| |kr|j d| | qWn| si} ni} xK| jD]=\}}|j j j dd }|r|| |s