File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/groupadd.cpython-310.pyc
Back
o ;jT/ � @ s� d Z ddlZddlZddlZddlZddlZddlZddlm Z zddl Z W n ey/ Y nw e�e �ZdZdd� Zdd� Zd"d d�Zd#dd �Zd#dd�Zdd� Zd$dd�Zd#dd�Zd%dd�Zd#dd�Zd#dd�Zd#dd�Zd#dd�Zd#d d!�ZdS )&a+ Manage groups on Linux, OpenBSD and NetBSD .. 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>`. � N)�CommandExecutionError�groupc C s t d dv rtS dS )z? Set the user module if the kernel is Linux or OpenBSD �kernel)�Linux�OpenBSDZNetBSD)Fz\The groupadd execution module cannot be loaded: only available on Linux, OpenBSD and NetBSD)� __grains__�__virtualname__� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/groupadd.py�__virtual__ s r c C s&