+
    ˜qgj¼  ã                   óÚ   a € R t0 t R t^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt RRR	. ROR
]RR./t] ^ k ]P                   ! ]4      tR tR tR tR tR tR R ltR# )z6zypper_add_repo: Add zypper repositories to the systemN)Úutil)ÚCloud)ÚConfig)Ú
MetaSchema)Ú
PER_ALWAYSÚidÚcc_zypper_add_repoÚdistrosÚ	frequencyÚactivate_by_schema_keysÚzypperc                 ó*   € V P                  R R4      p V # )Ú Ú_)Úreplace)Úrepo_ids   &ÚE/usr/lib/python3/dist-packages/cloudinit/config/cc_zypper_add_repo.pyÚ_canonicalize_idr   %   s   € Ø�o‰o˜c 3Ó'€GØ€Nó    c                 ó"  € \        V \        4      '       d   V '       d   ^# ^ # \        V \        \        34      '       d+   RP	                  V  Uu. uF  p\        V4      NK  	  up4      # \        V \        4      '       g   \        V 4      # V # u upi )é   z
    )Ú
isinstanceÚboolÚlistÚtupleÚjoinÚ_format_repo_valueÚstr)ÚvalÚvs   & r   r   r   *   sr   € Ü�#”t×ÒçˆqÐ˜QÐÜ�#œœe�}×%Ò%Ø�}‰}¹SÓA¹S¸Ô0°Ö3¹SÑAÓBÐBÜ�cœ3×ÒÜ�3‹xˆØ€Jùò Bs   ÁBc                 óÐ   € \         P                  ! 4       p/ W &   VP                  4        F  w  r4\        V4      W ,          V&   K  	  VP	                  4       pR P                  V4      # )Ú
)Ú	configobjÚ	ConfigObjÚitemsr   Úwriter   )r   Úrepo_configÚto_beÚkr   Úliness   &&    r   Ú_format_repository_configr*   5   s[   € Ü×ÒÓ!€EØ€E�Nà×!Ñ!Ö#‰ˆô /¨qÓ1ˆ��qÓñ $ð �K‰K‹M€EØ�9‰9�UÓÐr   c                ó:  € V '       g   R# / p\        V 4       EF5  w  r4\        RR.4      P                  \        V4      4      pV'       d)   \        P	                  RVRP                  V4      4       K[  VP                  R4      p\        V4      p\        P                  P                  VRV,          4      p\        P                  P                  V4      '       d   \        P                  RVV4       KÜ  Wb9   d   \        P                  RVV4       Kû  \        R	 VP                  4        4       4      p	R F  p
W©9  g   K  R
Wš&   K  	  W‰3W&&   EK8  	  VP                  4        F5  w  rk\        WkR,          4      p\        P                   ! V^ ,          V4       K7  	  R# )zÜWrite the user-provided repo definition files
@param repos: A list of repo dictionary objects provided by the user's
    cloud config.
@param repo_base_path: The directory path to which repo definitions are
    written.
Nr   Úbaseurlz;Repo config at index %d is missing required config keys: %sÚ,z%s.repoz)Skipping repo %s, file %s already exists!z*Skipping repo %s, file %s already pending!c              3   ó¬   "  € T FJ  w  rV'       g   K  VR 8w  g   K  VP                  4       P                  4       P                  RR4      V3x € KL  	  R# 5i)r   Ú-r   N)ÚlowerÚstripr   )Ú.0r(   r   s   &  r   Ú	<genexpr>Ú_write_repos.<locals>.<genexpr>i   sI   é € ð 
á0‘�Üô 5à˜$‘Yô 5ˆQ�W‰W‹Y�_‰_Ó×&Ñ& s¨CÓ0°!Õ4Û0ùs   ‚A“Aœ8AÚ1)ÚenabledÚautorefreshéÿÿÿÿ)Ú	enumerateÚsetÚ
differenceÚLOGÚwarningr   Úgetr   ÚosÚpathÚexistsÚinfoÚdictr$   r*   r   Ú
write_file)ÚreposÚrepo_base_pathÚvalid_reposÚindexÚuser_repo_configÚmissing_keysr   Úcanon_repo_idÚrepo_fn_pthr&   ÚfieldÚ	repo_dataÚ	repo_blobs   &&           r   Ú_write_reposrP   A   sj  € ÷ ÙØ€KÜ#,¨U×#3Ñˆä˜D )Ð,Ó-×8Ñ8¼Ð=MÓ9NÓOˆßÜ�K‰KØMØØ—‘˜Ó&ôñ
 Ø"×&Ñ& tÓ,ˆÜ(¨Ó1ˆÜ—g‘g—l‘l >°9ÀÕ3NÓOˆÜ�7‰7�>‰>˜+×&Ò&Ü�H‰HØ;ØØôñ
 ØÔ#Ü�H‰HØ<ØØôñ
 ô ñ 
à(×.Ñ.Ô0ó
ó 
ˆó 0ˆEØÖ'Ø%(�Ó"ñ 0ð !,Ð9ˆÔñQ $4ðT *×/Ñ/Ö1ÑˆÜ-¨gÀµ}ÓEˆ	Ü�Š˜	 !� iÖ0ó 2r   c                óš  € V '       g   R# Rp\         P                  ! V4      pR.pV P                  4        FP  w  rEVR8X  d#   RpVR,          p\        P	                  V4       K.  V'       g   K8  VP                  V: RV: 24       KR  	  \        V4      ^8”  d   VRP                  V4      ,           pMTp\         P                  ! W4       R# )	z@Write to the default zypp configuration file /etc/zypp/zypp.confNz/etc/zypp/zypp.confz# Added via cloud.cfgÚ	configdirz5Changing the location of the zypper configuration is z+not supported, skipping "configdir" settingÚ=r!   )	r   Úload_text_filer$   r<   r=   ÚappendÚlenr   rD   )Úzypper_configÚzypp_configÚzypp_conf_contentÚnew_settingsÚsettingÚvalueÚmsgÚ
new_configs   &       r   Ú_write_zypp_configr_   {   s­   € çÙØ'€KÜ×+Ò+¨KÓ8ÐØ+Ð,€LØ'×-Ñ-Ö/‰ˆØ�kÔ!ØIˆCØÐ@Õ@ˆCÜ�K‰K˜ÔÙß‰5Ø×Ñ«7²EÐ :Ö;ñ 0ô ˆ<Ó˜1ÔØ&¨¯©°<Ó)@Õ@‰
à&ˆ
Ü‡O‚O�KÖ,r   c          
      óL   € V ^8„  d   QhR\         R\        R\        R\        RR/# )é   ÚnameÚcfgÚcloudÚargsÚreturnN)r   r   r   r   )Úformats   "r   Ú__annotate__rh   ‘   s/   € ÷ (ñ (”ð (œ6ð (¬%ð (´tð (Àñ (r   c                 ó>  € VP                  R 4      pV'       g   \        P                  RV 4       R# VP                  R4      pV'       g   \        P                  RV 4       R# VP                  R/ 4      pVP                  RR4      p\        V4       \	        WW4       R# )r   zBSkipping module named %s, no 'zypper' relevant configuration foundNrE   z8Skipping module named %s, no 'repos' configuration foundÚconfigÚreposdirz/etc/zypp/repos.d/)r>   r<   Údebugr_   rP   )rb   rc   rd   re   Úzypper_sectionrE   rW   rF   s   &&&&    r   Úhandlern   ‘   sŠ   € Ø—W‘W˜XÓ&€NßÜ�	‰	ð8àô	
ñ
 	Ø×Ñ˜wÓ'€EßÜ�	‰	ØFÈô	
ñ 	Ø"×&Ñ& x°Ó4€MØ"×&Ñ& zÐ3GÓH€Nä�}Ô%Ü�Ö'r   c                ó@   € V ^8„  d   Qh/ ^ \         9   d
   \        ;R&   # )ra   Úmeta)Ú__conditional_annotations__r   )rg   s   "r   rh   rh      s   € × <Ñ <÷ò „jñ ò =r   )Úopensusezopensuse-microoszopensuse-tumbleweedzopensuse-leapÚsle_hpcz	sle-microÚsles)rq   Ú__doc__Úloggingr?   r"   Ú	cloudinitr   Úcloudinit.cloudr   Úcloudinit.configr   Úcloudinit.config.schemar   Úcloudinit.settingsr   rp   Ú	getLoggerÚ__name__r<   r   r   r*   rP   r_   rn   rh   )rq   s   @r   Ú<module>r~      s~   øðö =ã Û 	ã å Ý !Ý #Ý .Ý )ð 	Ð
Øò ð �Ø ˜zð€ó ð ×Ò˜Ó!€òò
ò	ò71òt-÷,(r   