File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/state.cpython-310.pyc
o
�N�g I � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZ ddl
Z ddlZ ddlZ ddl
Z ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlZ ddlmZmZ ddlmZ ddl m!a" ddl#m$Z$ dgZ%dddddddddddddd �
Z&d
diZ'e�(e)�Z*dZ+d
d� Z,dd� Z-drdd�Z.drdd�Z/dsdd�Z0dd� Z1dd� Z2drdd�Z3drdd�Z4drdd �Z5dtd!d"�Z6drd#d$�Z7 dud&d'�Z!dvd)d*�Z8d+d,� Z9d-d.� Z:d/d0� Z;drd1d2�Z<drd3d4�Z=dtd5d6�Z>drd7d8�Z?drd9d:�Z@drd;d
�ZAd<d=� ZBdrd>d?�ZCdrd@dA�ZDdrdBdC�ZEdwdEdF�ZFdxdGd�ZG dydHdI�ZHdtdJdK�ZIdrdLdM�ZJdrdNdO�ZKdrdPdQ�ZLdrdRdS�ZMdxdTdU�ZNdtdVdW�ZOdtdXdY�ZPdtdZd[�ZQdtd\d]�ZRdrd^d_�ZSdtd`da�ZTdbdc� ZUdrddde�ZVdfdg� ZWdhdi� ZXdjdk� ZYdldm� ZZ odzdpdq�Z[dS ){aB
Control the state system on the minion.
State Caching
-------------
When a highstate is called, the minion automatically caches a copy of the last
high data. If you then run a highstate with cache=True it will use that cached
highdata and won't hit the fileserver except for ``salt://`` links in the
states themselves.
� N)�CommandExecutionError�SaltInvocationError)�_format_cached_grains)�orchestrate)�OrderedDict�*� highstate)
�sls�sls_id�pkg�top�singler �template�template_str�apply_�test�request�
check_request�run_requestr Zapply�statec C s t jj�tt� �atS )z
Set the virtualname
)�salt�utils� functoolsZnamespaced_function�_orchestrate�globals�__virtualname__� r r �F/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/state.py�__virtual__E s r c C s dd� | � � D �}|S )z7
Filter out the result: True + no changes data
c S s&