Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/cloudinit/config/__pycache__/ |
Upload File : |
3 ��b�k � @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z ddlmZ ddl Z ddlmZ ddlmZ ddlmZ dd lmZmZmZ eed d�Zeje�Zdd dd�ZdZdZdZdZdZ dZ!G dd� de"�Z#dd� Z$dd� Z%dIe&d�dd�Z'dJe&e&e(e(d �d!d"�Z)d#d$� Z*dKd%d&�Z+d'd(� Z,e&e-d)�d*d+�Z.e-d,�d-d.�Z/dLe&e&e-d0�d1d2�Z0ee-d3�d4d5�Z1dMee&e-d6�d7d8�Z2e&d,�d9d:�Z3e4e-d;�d<d=�Z5e&d,�d>d?�Z6e&d,�d@dA�Z7dNdBdC�Z8dDdE� Z9dFdG� Z:edHk�r�ej;e:� � dS )OzFschema.py: Set of module functions for processing cloud-config schema.� N)�defaultdict)�deepcopy)�partial)�importer)�read_cfg_paths)� MetaSchema)�error�find_modules� load_fileT)Zsys_exit�trueZfalseZnull)TFNs #cloud-configz� {name} {title_underbar} **Summary:** {title} {description} **Internal name:** ``{id}`` **Module frequency:** {frequency} **Supported distros:** {distros} **Config schema**: {property_doc} {examples} z4{prefix}**{prop_name}:** ({prop_type}) {description}zF{prefix}Each item in **{prop_name}** list supports the following keys:z **Examples**:: z # --- Example{0} ---c s$ e Zd ZdZf f� fdd� Z� ZS )�SchemaValidationErrorz<Raised when validating a cloud-config file against a schema.c s8 || _ dd� |D �}djdj|��}tt| �j|� dS )z�Init the exception an n-tuple of schema errors. @param schema_errors: An n-tuple of the format: ((flat.config.key, msg),) c S s g | ]\}}d j ||��qS )z{0}: {1})�format)�.0Z config_key�message� r �/usr/lib/python3.6/schema.py� <listcomp>>