__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

x[h�4�
��%SrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJ	r	J
r
JrJrJ
r
 SSKJr SSKJr SSKJr SSKJr SS	KJr S
rSrSrS
SS.rSrSrSrSrSSS\SS\S
SSSSS.r \!"S/5r"\!"/SQ5r#\!"/\ RI5Q\"Q\#QSPSPSPS PS!P5r%S"r&S#r'S$r(\RR"\*5r+S%S&/\S'/S(.r,\\-S)'S*r.S+r/S,r0S-\1S.\S/\S0\2S1S4
S2jr3S3r4S4\S0\24S5jr5S:S4\4S6jjr6S/\4S7jr7S1\\14S8jr8S9r9g);z7Chef: module that configures, starts and installs chef.�N)�List)�subp�
temp_utils�	templater�
url_helper�util)�Cloud)�Config)�
MetaSchema)�Distro)�
PER_ALWAYS�1.8)�	/etc/chefz
/var/log/chefz
/var/lib/chef�/var/chef/cache�/var/chef/backupz
/var/run/chef)rrr)z/var/cache/chefz/var/backups/chefz#https://www.chef.io/chef/install.sh�z/etc/chef/validation.pemz/etc/chef/firstboot.jsonz:verify_nonez:infoz/var/log/chef/client.logz/etc/chef/client.pemz/var/run/chef/client.pidT)�ssl_verify_mode�	log_level�log_location�validation_key�validation_cert�
client_key�json_attribs�file_cache_path�file_backup_path�pid_file�	show_time�encrypted_data_bag_secretr)rrrrrrr�
server_url�	node_name�environment�validation_name�chef_licensez/etc/chef/client.rbz/usr/bin/chef-client)z-dz-i�1800z-s�20�cc_chef�all�chef)�id�distros�	frequency�activate_by_schema_keys�metac���[R"USSS9nU(aD[RR	[
5(a[R"[
5 ggg)N�delete_validation_post_execF��default)r�get_cfg_option_bool�os�path�isfile�CHEF_VALIDATION_PEM_PATH�unlink)�chef_cfg�
delete_pems  �:/usr/lib/python3/dist-packages/cloudinit/config/cc_chef.py�
post_run_chefr;gsF���)�)��/���J��b�g�g�n�n�%=�>�>�
�	�	�*�+�?�z�c
���[R5nUR5Hlup4U[;a[RSU5 M'UcSX#'M0U[;a[R"X5X#'MT[R"X5X#'Mn UR[R"5[R"USUS9[R"USSS9USUSS.5 U$)	Nz'Skipping unknown chef template key '%s'r r0r!�_defaultrr")�generated_byr r!rr")�CHEF_RB_TPL_DEFAULTS�copy�items�CHEF_RB_TPL_KEYS�LOG�debug�CHEF_RB_TPL_BOOL_KEYSrr2�get_cfg_option_str�update�make_header)�iidr8�params�k�vs     r:�get_template_paramsrNos���
!�
&�
&�
(�F���� ����$�$��I�I�?��C���9��F�I��)�)� �4�4�X�A��	� �3�3�H�@��	�!��M�M� �,�,�.��0�0��+�s�� �2�2��-���#�<�0�'�(9�:�	
�
��Mr<c	��[R5GH(up[RR	U5(dM,[R
"U5H�n[RR	[RR
X55(a6[RS[RR
X5U5 Mz[RS[RR
X5U5 [R"[RR
X5U5 M� GM+ g)zEMigrate legacy chef backup and cache directories to new config paths.z4Ignoring migration of %s. File already exists in %s.zMoving %s to %s.N)�CHEF_DIR_MIGRATIONrBr3r4�exists�listdir�joinrDrE�shutil�move)�old_dir�migrated_dir�filenames   r:�migrate_chef_config_dirsrY�s���!3�!9�!9�!;���
�7�7�>�>�'�"�"��J�J�w�/���7�7�>�>�"�'�'�,�,�|�"F�G�G��I�I�N������W�7�$��
��	�	�&��G�G�L�L��3� ��
���B�G�G�L�L��;�\�J�0�"<r<�name�cfg�cloud�args�returnc��SU;a[RSU5 gUSn[R"US5nU(d[	[
5n[R"U[5Hn[R"U5 M [5 URS[5nURS5nU(aWUS:wa[R"Xx5 O:[RR!U5(d[R#SU5 [R$"US	[&S
9n	UR)S5n
U
(a�[+UR,R/55n[1X�5n[35n
UR55HHup�U[6;dMU(dMU
R9[RR;U55 MJ [R<"U
5 [>R@"X�U5 O[R#SU	5 [R$"US
[BS
9nU(d[RES5 On0nSU;aUSUS'SU;a-USn[	URG55HnUUUU'M
 [R"U[HRJ"U55 [RL"USSS
9n[NRP"[R5nU(aU(a[UX$5nO U(a[RL"USSS
9nOSnU(a[WU5 [YU5 gg)z'Handler method activated by cloud-init.r(z8Skipping module named %s, no 'chef' key in configurationN�directoriesrr�systemzWchef validation_cert provided as 'system', but validation_key path '%s' does not exist.�config_pathr0zchef_client.rbz&No template found, not rendering to %s�firstboot_pathz7First boot path empty, not writing first boot json file�run_list�initial_attributes�
force_installF�exec)-rDrEr�get_cfg_option_list�list�	CHEF_DIRS�	itertools�chain�REQUIRED_CHEF_DIRS�
ensure_dirrY�getr6�
write_filer3r4r5�warningrG�CHEF_RB_PATH�get_template_filename�str�
datasource�get_instance_idrN�setrB�CHEF_RB_TPL_PATH_KEYS�add�dirname�ensure_dirsr�render_to_file�CHEF_FB_PATH�info�keys�json�dumpsr2r�is_exe�CHEF_EXEC_PATH�install_chef�run_chefr;)rZr[r\r]r8�	chef_dirs�d�	vkey_path�vcert�cfg_filename�template_fnrJrK�param_pathsrLrM�fb_filename�initial_jsonrerf�	installed�runs                      r:�handler��s����S���	�	�F��	
�	��6�{�H��(�(��=�A�I����O�	�
�_�_�Y�(:�
;�������<������-�/G�H�I��L�L�*�+�E�
��H���O�O�I�-������	�*�*��K�K�;��
��*�*��-���L��-�-�.>�?�K���%�"�"�2�2�4�5��$�S�3���e���L�L�N�D�A��)�)�a�a���������� 2�3�#�	
����%�� � ��F�C����<�l�K��)�)��"�L��K�����J�K�����!�'/�
�';�L��$��8�+�!)�*>�!?���,�1�1�3�4��"4�Q�"7��Q��5�����T�Z�Z��%=�>��,�,��/�5��M����N�+�I��
��5�+��	��&�&�x���G����
�����h��r<c��[RS5 [/nSU;a�USn[U[[
45(aUR
U5 Oq[U[5(aURU5 OJ[RS[U55 UR
[5 OUR
[5 [R"USS9 g)NzRunning chef-client�exec_argumentszRUnknown type %s provided for chef 'exec_arguments' expected list, tuple, or stringF��capture)
rDrEr��
isinstanceri�tuple�extendrt�appendrq�type�CHEF_EXEC_DEF_ARGSr)r8�cmd�cmd_argss   r:r�r��s����I�I�#�$��
�C��8�#��,�-���h��u�
�.�.��J�J�x� �
��#�
&�
&��J�J�x� ��K�K���X��	
�
�J�J�)�*��
�
�%�&��I�I�c�5�!r<�distroc�~�UR5nURSS5n[R"UR	5SS9n[
RRXT5nURSU5 [R"X`SS9 [R"S
SU0UD6sS	S	S	5 $!,(df   g	=f)z�Write blob to a tempfile, and call subp with args, kwargs. Then cleanup.

'basename' as a kwarg allows providing the basename for the file.
The 'args' argument to subp will be updated with the full path to the
filename as the first argument.
�basename�	subp_blobT)�dir�	needs_exeri�)�moder]N�)rA�popr�tempdir�get_tmp_exec_pathr3r4rS�insertrrpr)�blobr�r]�kwargsr��tmpd�tmpfs       r:�subp_blob_in_tempfiler�s����9�9�;�D��z�z�*�k�2�H�	�	�	��$�$�&�$�
�	
��w�w�|�|�D�+�����A�t�������/��y�y�-�d�-�f�-�

�
�
�s
�AB.�.
B<c��Uc[nUc[nUc/nOSU/n[R"XS9Rn[UUUSSS9$)aKInstall an omnibus unified package from url.

@param url: URL where blob of chef content may be downloaded. Defaults to
    OMNIBUS_URL.
@param retries: Number of retries to perform when attempting to read url.
    Defaults to OMNIBUS_URL_RETRIES
@param omnibus_version: Optional version string to require for omnibus
    install.
z-v)�url�retrieszchef-omnibus-installF)r�r�r]r�r�)�OMNIBUS_URL�OMNIBUS_URL_RETRIESr�readurl�contentsr�)r�r�r��omnibus_versionr]�contents      r:�install_chef_from_omnibusr�'s_���{�����%�������o�&��� � �S�:�C�C�G� ��
�
�'���r<c�h�[R"USS5n[R"USSS9nUS:Xab[R"USS5n[R"US[5n[	XTUR
5 [R"USS	S9nU$US:XaUR
R
S
/5 U$US:XaY[R"US5n[UR
[R"US
5[R"US5US9 U$[RSU5 SnU$)N�install_type�packagesrgFr0�gems�version�ruby_versionTr(�omnibusr��omnibus_url�omnibus_url_retries)r�r�r�r�zUnknown chef install type '%s')rrGr2�RUBY_VERSION_DEFAULT�install_chef_from_gemsr��install_packagesr��get_cfg_option_intrDrq)r\r8r�r��chef_versionr�r�s       r:r�r�Fs'���*�*��.�*��L��
"�
"�8�V�U�
C�C��v���.�.�x��D�I���.�.��n�&:�
��	�|�5�<�<�H��&�&�x���F���J�
��	#�
���%�%�v�h�/��J�
��	"��1�1�(�<M�N��!��<�<��'�'��-�@��+�+�H�6K�L�+�		
��J�	���4�l�C����Jr<c�H�SU-SU-/nUS:XaURS5 U$)Nzruby%sz
ruby%s-devr)zlibopenssl-ruby1.8zrubygems1.8)r�)r��pkgss  r:�get_ruby_packagesr�gs0���'�)�<�'�+A�B�D��%�����9�:��Kr<c��UR[U55 [RR	S5(d[
R"SU-S5 [RR	S5(d[
R"SU-S5 U(a"[R"SSSSU-SS	S
SS/	S
S9 g[R"/SQS
S9 g)N�/usr/bin/gemz/usr/bin/gem%sz
/usr/bin/rubyz/usr/bin/ruby%s�installr(z-v %s�--no-ri�	--no-rdoc�--bindir�/usr/bin�-qFr�)r�r�r(r�r�r�r�r�)r�r�r3r4rQr�sym_linkr)r�r�r�s   r:r�r�os���
���-�l�;�<�
�7�7�>�>�.�)�)��
�
�&��5�~�F�
�7�7�>�>�/�*�*��
�
�'�,�6��H���	�	�����,�&������

��
	
�	
�	�	�	
��	
r<)NNN):�__doc__rkr��loggingr3rT�typingr�	cloudinitrrrrr�cloudinit.cloudr	�cloudinit.configr
�cloudinit.config.schemar�cloudinit.distrosr�cloudinit.settingsr
r�rjrmrPr�r�r6r}r@�	frozensetrFrxrrCrrr�r��	getLogger�__name__rDr-�__annotations__r;rNrYrtrir�r�r�r�r�r�r�r�r<r:�<module>r�s���>����	�
��C�C�!�#�.�$�)���
�	�$��)�+���4����5��)��&��.�.��(� �(�*�*��!%��� "�;�-�0��!��
���	�	�	"�	"�	$�	�	�	�
�	�	�		�
	�	�	�
	�	�	�	�	���%��'��5������!����w�� &�x�	��j��,� �FK�(U ��U �6�U �%�U �t�U ��U �p"�,.��.�d�.�(=A����>���B�$�s�)��"
r<

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 208 B 0644
cc_ansible.cpython-313.pyc File 13.56 KB 0644
cc_apk_configure.cpython-313.pyc File 4.24 KB 0644
cc_apt_configure.cpython-313.pyc File 40.51 KB 0644
cc_apt_pipelining.cpython-313.pyc File 2.22 KB 0644
cc_bootcmd.cpython-313.pyc File 2.49 KB 0644
cc_byobu.cpython-313.pyc File 3.22 KB 0644
cc_ca_certs.cpython-313.pyc File 8.43 KB 0644
cc_chef.cpython-313.pyc File 13.83 KB 0644
cc_disable_ec2_metadata.cpython-313.pyc File 1.87 KB 0644
cc_disk_setup.cpython-313.pyc File 32.24 KB 0644
cc_fan.cpython-313.pyc File 2.97 KB 0644
cc_final_message.cpython-313.pyc File 3.59 KB 0644
cc_growpart.cpython-313.pyc File 23.64 KB 0644
cc_grub_dpkg.cpython-313.pyc File 5.97 KB 0644
cc_install_hotplug.cpython-313.pyc File 4.07 KB 0644
cc_keyboard.cpython-313.pyc File 1.86 KB 0644
cc_keys_to_console.cpython-313.pyc File 2.88 KB 0644
cc_landscape.cpython-313.pyc File 3.69 KB 0644
cc_locale.cpython-313.pyc File 1.57 KB 0644
cc_lxd.cpython-313.pyc File 15.8 KB 0644
cc_mcollective.cpython-313.pyc File 3.75 KB 0644
cc_mounts.cpython-313.pyc File 22.29 KB 0644
cc_ntp.cpython-313.pyc File 16.82 KB 0644
cc_package_update_upgrade_install.cpython-313.pyc File 5.19 KB 0644
cc_phone_home.cpython-313.pyc File 3.93 KB 0644
cc_power_state_change.cpython-313.pyc File 8.38 KB 0644
cc_puppet.cpython-313.pyc File 10.86 KB 0644
cc_reset_rmc.cpython-313.pyc File 5.26 KB 0644
cc_resizefs.cpython-313.pyc File 11.22 KB 0644
cc_resolv_conf.cpython-313.pyc File 3.49 KB 0644
cc_rh_subscription.cpython-313.pyc File 18.68 KB 0644
cc_rsyslog.cpython-313.pyc File 13.95 KB 0644
cc_runcmd.cpython-313.pyc File 1.77 KB 0644
cc_salt_minion.cpython-313.pyc File 4.9 KB 0644
cc_scripts_per_boot.cpython-313.pyc File 1.5 KB 0644
cc_scripts_per_instance.cpython-313.pyc File 1.51 KB 0644
cc_scripts_per_once.cpython-313.pyc File 1.49 KB 0644
cc_scripts_user.cpython-313.pyc File 1.47 KB 0644
cc_scripts_vendor.cpython-313.pyc File 1.63 KB 0644
cc_seed_random.cpython-313.pyc File 3.92 KB 0644
cc_set_hostname.cpython-313.pyc File 3.85 KB 0644
cc_set_passwords.cpython-313.pyc File 10.9 KB 0644
cc_snap.cpython-313.pyc File 4.79 KB 0644
cc_spacewalk.cpython-313.pyc File 3.37 KB 0644
cc_ssh.cpython-313.pyc File 11.57 KB 0644
cc_ssh_authkey_fingerprints.cpython-313.pyc File 5.25 KB 0644
cc_ssh_import_id.cpython-313.pyc File 5.2 KB 0644
cc_timezone.cpython-313.pyc File 1.35 KB 0644
cc_ubuntu_autoinstall.cpython-313.pyc File 1.81 KB 0644
cc_ubuntu_drivers.cpython-313.pyc File 5.34 KB 0644
cc_ubuntu_pro.cpython-313.pyc File 15.12 KB 0644
cc_update_etc_hosts.cpython-313.pyc File 2.77 KB 0644
cc_update_hostname.cpython-313.pyc File 2.49 KB 0644
cc_users_groups.cpython-313.pyc File 3.1 KB 0644
cc_wireguard.cpython-313.pyc File 9.03 KB 0644
cc_write_files.cpython-313.pyc File 6.27 KB 0644
cc_write_files_deferred.cpython-313.pyc File 1.82 KB 0644
cc_yum_add_repo.cpython-313.pyc File 5.27 KB 0644
cc_zypper_add_repo.cpython-313.pyc File 6.28 KB 0644
modules.cpython-313.pyc File 13.12 KB 0644
schema.cpython-313.pyc File 54.5 KB 0644
Filemanager