%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/states/alias.pyo

�
���^c@@s8dZddlmZmZmZd�Zd�ZdS(uH
Configuration of email aliases

The mail aliases file can be managed to contain definitions for specific email
aliases:

.. code-block:: yaml

    username:
      alias.present:
        - target: user@example.com

.. code-block:: yaml

    thomas:
      alias.present:
        - target: thomas@example.com

The default alias file is set to ``/etc/aliases``, as defined in Salt's
:mod:`config execution module <salt.modules.config>`. To change the alias
file from the default location, set the following in your minion config:

.. code-block:: yaml

    aliases.file: /my/alias/file

i(tabsolute_importtprint_functiontunicode_literalscC@s�i|d6id6td6dd6}td||�rVt|d<dj|�|d<|Stdr�d|d<d	j||�|d<|Std
||�r�i|d6|d<t|d<dj||�|d<|St|d<d
j||�|d<|SdS(up
    Ensures that the named alias is present with the given target or list of
    targets. If the alias exists but the target differs from the previous
    entry, the target(s) will be overwritten. If the alias does not exist, the
    alias will be created.

    name
        The local user/address to assign an alias to

    target
        The forwarding address
    unameuchangesuresultuucommentualiases.has_targetuAlias {0} already presentutestu#Alias {0} -> {1} is set to be addedualiases.set_targetualiasuSet email alias {0} -> {1}uFailed to set alias {0} -> {1}N(tFalset__salt__tTruetformatt__opts__tNone(tnamettargettret((s5/usr/lib/python2.7/site-packages/salt/states/alias.pytpresent s*






cC@s�i|d6id6td6dd6}td|�sSt|d<dj|�|d<|Stdr~d|d<d	j|�|d<|Std
|�r�i|d6|d<t|d<dj|�|d<|St|d<d
j|�|d<|SdS(uU
    Ensure that the named alias is absent

    name
        The alias to remove
    unameuchangesuresultuucommentualiases.get_targetuAlias {0} already absentutestuAlias {0} is set to be removedualiases.rm_aliasualiasuRemoved alias {0}uFailed to remove alias {0}N(RRRRRR(R	R((s5/usr/lib/python2.7/site-packages/salt/states/alias.pytabsentFs(






N(t__doc__t
__future__RRRRR
(((s5/usr/lib/python2.7/site-packages/salt/states/alias.pyt<module>s	&

Zerion Mini Shell 1.0