Current File : //lib/python2.7/site-packages/cloudinit/config/cc_locale.pyo |
�
oB�]c @ s# d Z d d l m Z d � Z d S( s_
Locale
------
**Summary:** set system locale
Configure the system locale and apply it system wide. By default use the locale
specified by the datasource.
**Internal name:** ``cc_locale``
**Module frequency:** per instance
**Supported distros:** all
**Config keys**::
locale: <locale str>
locale_configfile: <path to locale config file>
i����( t utilc C s� t | � d k r | d } n t j | d | j � � } t j | � r` | j d | | � d S| j d | � t j | d � } | j j | | � d S( Ni t locales0 Skipping module named %s, disabled by config: %ss Setting locale to %st locale_configfile( t lenR t get_cfg_option_strt
get_localet is_falset debugt distrot apply_locale( t namet cfgt cloudt logt argsR t locale_cfgfile( ( s>