403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python2.7/site-packages/cloudinit/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python2.7/site-packages/cloudinit/config/cc_spacewalk.pyo
�
oB�]c@s\dZddlmZddgZdgZdZd�Zed
d
d
d�Zd	�Z	d
S(s�
Spacewalk
---------
**Summary:** install and configure spacewalk

This module installs spacewalk and applies basic configuration. If the
``spacewalk`` config key is present spacewalk will be installed. The server to
connect to after installation must be provided in the ``server`` in spacewalk
configuration. A proxy to connect through and a activation key may optionally
be specified.

For more information about spacewalk see: https://fedorahosted.org/spacewalk/

**Internal name:** ``cc_spacewalk``

**Module frequency:** per instance

**Supported distros:** redhat, fedora

**Config keys**::

    spacewalk:
       server: <url>
       proxy: <proxy host>
       activation_key: <key>
i����(tutiltredhattfedoras	rhn-setups'/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERTcCs[t}y#tjddgdt�t}Wn+tjk
rV}|jdkrW�qWnX|S(Nsrhn-profile-syncs	--verbosetcapturei(tFalseRtsubptTruetProcessExecutionErrort	exit_code(talready_registeredte((sA/usr/lib/python2.7/site-packages/cloudinit/config/cc_spacewalk.pyt
is_registered&s

cCs�|dk	r"|jd||�ndg}|jdd|g�|jdt|�g�|r}|jdt|�g�n|r�|jdt|�g�n|r�|jdt|�g�ntj|d	t�dS(
Ns;Registering using `rhnreg_ks` profile '%s' into server '%s't	rhnreg_kss--serverUrlshttps://%s/XMLRPCs
--profilenames--proxys--sslCACerts--activationkeyR(tNonetinfotextendtstrRRR(tservertprofile_nametca_cert_pathtproxytlogtactivation_keytcmd((sA/usr/lib/python2.7/site-packages/cloudinit/config/cc_spacewalk.pytdo_register4s	
	c
Cs�d|kr |jd|�dS|d}|jd�}|r�|jjt�t�s�t||jjdt	�d|jd�d|d|jd��q�n|jd|�dS(	Nt	spacewalks=Skipping module named %s, no 'spacewalk' key in configurationRtfqdnRRRsOSkipping module named %s, 'spacewalk/server' key was not found in configuration(
tdebugtgettdistrotinstall_packagestrequired_packagesRRt
datasourcetget_hostnameR(tnametcfgtcloudRt_argstspacewalk_server((sA/usr/lib/python2.7/site-packages/cloudinit/config/cc_spacewalk.pythandleGs	
		N(
t__doc__t	cloudinitRtdistrosRtdef_ca_cert_pathRR
RR'(((sA/usr/lib/python2.7/site-packages/cloudinit/config/cc_spacewalk.pyt<module>s		

Youez - 2016 - github.com/yon3zu
LinuXploit