| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/__pycache__/ |
Upload File : |
o
;j:a � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
mZ ddlm
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlm Z m!Z!m"Z" ddl#m$Z$ ddl%m&Z& dd l'm(Z(m)Z)m*Z* dd
l+m,Z, e�-e.�Z/ej0�1ed d�Z2dZ3e�4e3�Z5G d
d� d�Z6G dd� d�Z7dd� Z8dd� Z9dd� Z:dd� Z;dd� Z<d+dd�Z=d+dd�Z>d+dd �Z?d+d!d"�Z@d+d#d$�ZAd+d%d&�ZBd,d(d)�ZCe9e>�ZDe9e?�ZEe9e@�ZFe9eA�ZGe9eB�ZHeDeEeCeFeGeHd*�ZIdS )-z
Template render systems
� N)�OrderedDict)�Path)�__path__)�CommandExecutionError�SaltInvocationError�SaltRenderError)�NamedLoaderContext)�__file_client__)�JinjaFilter�JinjaGlobal� JinjaTest)�VersionZ templateszutf-8c @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )�
AliasedLoaderah
Light wrapper around the LazyLoader to redirect 'cmd.run' calls to
'cmd.shell', for easy use of shellisms during templating calls
Dotted aliases ('cmd.run') must resolve to another dotted alias
(e.g. 'cmd.shell')
Non-dotted aliases ('cmd') must resolve to a dictionary of function
aliases for that module (e.g. {'run': 'shell'})
c C s
|| _ d S �N��wrapped)�selfr � r �H/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/templates.py�__init__<