File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/postgres_tablespace.cpython-310.pyc
Back
o ;jE � @ sR d Z ddlm mZ dd� Z d dd�Z d dd�ZdS )a+ Management of PostgreSQL tablespace =================================== A module used to create and manage PostgreSQL tablespaces. .. code-block:: yaml ssd-tablespace: postgres_tablespace.present: - name: indexes - directory: /mnt/ssd-data .. versionadded:: 2015.8.0 � Nc C s dt vrdS dS )zV Only load if the postgres module is present and is new enough (has ts funcs) �postgres.tablespace_exists)FzFUnable to load postgres module. Make sure `postgres.bins_dir` is set.T)�__salt__� r r �S/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/postgres_tablespace.py�__virtual__ s r c C s� | i dd| � d�d�} |||| ||d�}t d d i |��}| |vrPtd r3d| d <