o
    ¦®ØfØ  ã                
   @   s    U d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ d	eged
gdgdœZe	ed< e e¡Zdededededdf
dd„ZdS )z!Timezone: Set the system timezoneé    N)Úutil)ÚCloud)ÚConfig)Ú
MetaSchema)ÚALL_DISTROS)ÚPER_INSTANCEÚcc_timezoneztimezone: US/EasternÚtimezone)ÚidÚdistrosÚ	frequencyÚexamplesÚactivate_by_schema_keysÚmetaÚnameÚcfgÚcloudÚargsÚreturnc                 C   sH   t |ƒdkr|d }nt |dd¡}|st d| ¡ d S |j |¡ d S )Nr   r	   Fz1Skipping module named %s, no 'timezone' specified)Úlenr   Úget_cfg_option_strÚLOGÚdebugÚdistroÚset_timezone)r   r   r   r   r	   © r   ú>/usr/lib/python3/dist-packages/cloudinit/config/cc_timezone.pyÚhandle    s   
r   )Ú__doc__ÚloggingÚ	cloudinitr   Úcloudinit.cloudr   Úcloudinit.configr   Úcloudinit.config.schemar   Úcloudinit.distrosr   Úcloudinit.settingsr   r   Ú__annotations__Ú	getLoggerÚ__name__r   ÚstrÚlistr   r   r   r   r   Ú<module>   s"   ÿù

"