%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/aix_group.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l Z e j e � Z y d d l Z Wn e
k
r` n Xd Z d � Z d e d d � Z d � Z d � Z e d � Z d
� Z d d � Z d d � Z d d
� Z d S( u
Manage groups on Solaris
.. important::
If you feel that Salt should be using this module to manage groups on a
minion, and it is using a different module (or gives an error similar to
*'group.info' is not available*), see :ref:`here
<module-provider-override>`.
i ( t absolute_importt print_functiont unicode_literalsNu groupc C@ s t d d k r t St d f S( u3
Set the group module if the kernel is AIX
u kernelu AIXuM The aix_group execution module failed to load: only available on AIX systems.( t
__grains__t __virtualname__t False( ( ( s: /usr/lib/python2.7/site-packages/salt/modules/aix_group.pyt __virtual__ s c C@ sj d } | r% | d k r% | d 7} n | rA | d j | � 7} n | | 7} t d | d t �} | d S( ur
Add the specified group
CLI Example:
.. code-block:: bash
salt '*' group.add foo 3456
u mkgroup u -a u id={0} u cmd.run_allt python_shellu retcodeN( t Nonet formatt __salt__R ( t namet gidt systemt roott cmdt ret( ( s: /usr/lib/python2.7/site-packages/salt/modules/aix_group.pyt add'