golden hour
/opt/saltstack/salt/lib/python3.10/site-packages/salt/daemons/__pycache__
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.cpython-310.pyc
5.49 KB
Del
OK
masterapi.cpython-310.pyc
33.4 KB
Del
OK
Edit: masterapi.cpython-310.pyc
o �xe�� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Zddl ZddlZddlZddl ZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddl Zddl!Zddl"Zddl#Zddl$Zddl%Zddl&m'Z' ddlm(Z( zddl)Z)dZ*W n e+y� dZ*Y nw e�,e-�Z.dd� Z/d d � Z0dd� Z1d d� Z2dd� Z3dd� Z4dd� Z5dd� Z6G dd� d�Z7G dd� d�Z8G dd� d�Z9dS )z� This module contains all of the routines needed to set up a master server, this involves preparing the three listeners and the workers needed by the master. � N)�DEFAULT_TARGET_DELIM)� git_pillarTFc C s� g }dd� | � dg �D �D ]6}d|v rCztjjj| |d tjtjtjd�}|� |� W q tj jyB | � dd�r;� t� d� Y q w q |S ) zF Clear out the ext pillar caches, used when the master starts c S s g | ]}|�qS � r )�.0�xr r �J/opt/saltstack/salt/lib/python3.10/site-packages/salt/daemons/masterapi.py� <listcomp>A s z#init_git_pillar.<locals>.<listcomp>Z ext_pillar�git)Zper_remote_overridesZper_remote_onlyZglobal_onlyZgit_pillar_verify_configTzCould not initialize git_pillar)�get�salt�utilsZgitfsZ GitPillarr ZPER_REMOTE_OVERRIDESZPER_REMOTE_ONLYZGLOBAL_ONLY�append� exceptionsZFileserverConfigError�log�critical)�opts�retZ opts_dict�pillarr r r �init_git_pillar<