HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //lib/python3.6/site-packages/cloudinit/sources/__pycache__/DataSourceBigstep.cpython-36.pyc
3

\�me��@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�j|||�i|_d|_d|_dS)N�)�super�__init__�metadata�vendordata_raw�userdata_raw)�selfZsys_cfgZdistro�paths)�	__class__��'/usr/lib/python3.6/DataSourceBigstep.pyrszDataSourceBigstep.__init__F)�returncCsP|j�}|dkrdStj|�}tj|jj��}|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|j��d�S)z/Return the subplatform metadata source details.z
metadata (�))r)rrrr�_get_subplatform#sz"DataSourceBigstep._get_subplatformcCs`tjj|jjdddd�}ytj|�}Wn4tk
rZ}z|jtj	krHdS�WYdd}~XnX|S)N�dataZseedZbigstepr)
�os�path�joinr
Z	cloud_dirrZ	load_file�IOError�errno�ENOENT)rZurl_fileZcontent�errrr'sz$DataSourceBigstep._get_url_from_file)F)�__name__�
__module__�__qualname__Zdsnamer�boolr�strrr�
__classcell__rr)rrrs
rcCstj|t�S)N)rZlist_from_depends�datasources)Zdependsrrr�get_datasource_list?sr*)
r rrZ	cloudinitrrrZ
DataSourcerZDEP_FILESYSTEMZDEP_NETWORKr)r*rrrr�<module>s,