Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.216.87
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : DataSourceBigstep.cpython-39.pyc
a

'�Dg��@s\ddlZddlZddlZddlmZmZmZGdd�dej�Zeej	ej
ffgZdd�ZdS)�N)�sources�
url_helper�utilcsFeZdZdZ�fdd�Zded�dd�Zed�dd	�Zd
d�Z	�Z
S)
�DataSourceBigstepZBigstepcs&t��|||�i|_d|_d|_dS)N�)�super�__init__�metadata�vendordata_raw�userdata_raw)�selfZsys_cfgZdistro�paths��	__class__��G/usr/lib/python3.9/site-packages/cloudinit/sources/DataSourceBigstep.pyrszDataSourceBigstep.__init__F)�returncCsP|��}|durdSt�|�}t�|j���}|d|_|d|_|d|_	dS)NFr	r
rT)
�_get_url_from_filerZreadurl�json�loads�contents�decoder	r
r)rZapply_filter�urlZresponseZdecodedrrr�	_get_datas



zDataSourceBigstep._get_datacCsd|���d�S)z/Return the subplatform metadata source details.z
metadata (�))r)rrrr�_get_subplatform#sz"DataSourceBigstep._get_subplatformc
Csltj�|jjdddd�}zt�|�}Wn@tyf}z(|jtj	krPWYd}~dS�WYd}~n
d}~00|S)N�dataZseedZbigstepr)
�os�path�joinr
Z	cloud_dirrZload_text_file�IOError�errno�ENOENT)rZurl_fileZcontent�errrr's�z$DataSourceBigstep._get_url_from_file)F)�__name__�
__module__�__qualname__Zdsnamer�boolr�strrr�
__classcell__rrrrrs
rcCst�|t�S)N)rZlist_from_depends�datasources)Zdependsrrr�get_datasource_list?sr+)
r!rrZ	cloudinitrrrZ
DataSourcerZDEP_FILESYSTEMZDEP_NETWORKr*r+rrrr�<module>s,�
© 2026 UnknownSec