
Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­
<!DOCTYPE html>
<html>
3
\¼meÔ  ã            	   @   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	m
Z
 ddlmZ ddlmZ d	Zd
ddeegedgdgdœZe	e
eƒZ ejeƒZeeeeddœdd„ZdS )z!Timezone: Set the system timezoneé    N)Úutil)ÚCloud)ÚConfig)Ú
MetaSchemaÚget_meta_doc)ÚALL_DISTROS)ÚPER_INSTANCEz[Sets the system `timezone <https://www.iana.org/time-zones>`_ based on the
value provided.
Zcc_timezoneZTimezonezSet the system timezoneztimezone: US/EasternÚtimezone)ÚidÚnameÚtitleÚdescriptionZdistrosZ	frequencyZexamplesZactivate_by_schema_keys)r   ÚcfgÚcloudÚargsÚreturnc             C   sH   t |ƒdkr|d }ntj|ddƒ}|s8tjd| ƒ d S |jj|ƒ d S )Nr   r	   Fz1Skipping module named %s, no 'timezone' specified)Úlenr   Zget_cfg_option_strÚLOGÚdebugZdistroZset_timezone)r   r   r   r   r	   © r   ú!/usr/lib/python3.6/cc_timezone.pyÚhandle)   s    
r   )Ú__doc__ZloggingZ	cloudinitr   Zcloudinit.cloudr   Zcloudinit.configr   Zcloudinit.config.schemar   r   Zcloudinit.distrosr   Zcloudinit.settingsr   ZMODULE_DESCRIPTIONÚmetaZ	getLoggerÚ__name__r   ÚstrÚlistr   r   r   r   r   Ú<module>   s&   
