Saravanan666/pypi-org huggingface dataset:
Package: saltext.sap-car
SaltStack SAPCAR extensionThis SaltStack extention allows the handling of SAPCAR archives over states. Right now,
only extraction is supported as it is the biggest use case.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAPCAR extension:salt-callpip.installsaltext.sap-carKeep in mind that this package must be installed on every minion that should utilize the states and
execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_car.git:-root:src/saltext/sap_carIn order to enable this, logical links undersrc/saltext/sap_car/from<dir_type>(where the code lives) to<dir_type>have been placed, e.g.modules->_modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the SAPCAR extension looks like this:SAProuter is extracted:sap_car.extracted:- name: /mnt/nfs/saprouter.sar- output_dir: /usr/sap/saprouter/- user: root- group: root- require:- pkg: SAPCAR is installedDocsSeehttps://saltext-sap-car.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-control
SaltStack sapcontrol extensionThis SaltStack extensions allows interfacing sapcontrol running on minions.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack sapcontrol extension:salt-callpip.installsaltext.sap-controlKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_control.git:-root:src/saltext/sap_controlIn order to enable this, logical links undersrc/saltext/sap_control/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._modules->modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the sapcontrol extension looks like this:SLD is configured and data is transfered for S4H / 00:sap_control.sld_registered:- name: /usr/sap/S4H/SYS/global/slddest.cfg- sid: S4H- instance_number: '00'- username: s4hadm- password: __slot__:salt:vault.read_secret(path="os", key="s4hadm")- sld_user: SLD_DS_USER- sld_password: __slot__:salt:vault.read_secret(path="sld", key="SLD_DS_USER")- sld_host: sol.my.domain- sld_port: 50000- log_files:- /usr/sap/S4H/D00/work/dev_sldregs- /usr/sap/S4h/D00/work/dev_sldregk- /usr/sap/S4H/D00/work/dev_krnlregDocsSeehttps://saltext-sap-control.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-hostctrl
SaltStack SAP Host Agent extensionThis SaltStack extensions allows interfaces SAP Host Agents running on minions.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAPCAR extension:salt-callpip.installsaltext.sap-hostctrlKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_hostctrl.git:-root:src/saltext/sap_hostctrlIn order to enable this, logical links undersrc/saltext/sap_hostctrl/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._modules->modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the SAP Host Agent extension looks like this:Outside Discovery is executed:sap_hostctrl.outside_discovery_executed:- name: sol.my.domain- sld_port: 50000- sld_username: SLD_DS_USER- sld_password: __slot__:salt:vault.read_secret(path="SAP", key="SLD_DS_USER")- username: sapadm- password: __slot__:salt:vault.read_secret(path="os", key="sapadm")DocsSeehttps://saltext-sap-hostctrl.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-likey
SaltStack SAP NetWeaver license key extensionThis SaltStack extensions allows managing license keys for SAP NetWeaver AS ABAP systems.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAP license key extension:salt-callpip.installsaltext.sap-likeyKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_likey.git:-root:src/saltext/sap_likeyIn order to enable this, logical links undersrc/saltext/sap_likey/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._modules->modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the SAP license key extension looks like this:License for SAP System S4H is installed:sap_likey.license_present:- name: S4H- filename: /tmp/S4H.txtDocsSeehttps://saltext-sap-likey.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-nwabap
SaltStack SAP NetWeaver AS ABAP extensionThis SaltStack extensions allows managing SAP NetWeaver AS ABAP systems overpyrfcresp. the SAP NW RFC SDK.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAP NetWeaver AS ABAP extention:salt-callpip.installsaltext.sap-nwabapNote that this will installpyrfcas a dependency which requires the correct setup of the SAP NW RFC SDK as a
prerequisite. Seehttps://github.com/SAP/PyRFCfor more information.In order to fulfill the shared library dependencies, thesalt-minionrequires to have the necessary environment
variablesLD_LIBRARY_PATHandSAPNWRFC_HOMEset. This can be achieved by modifying the systemd service of thesalt-minion(this can also be used for the installation ofpyrfc).Note: Due to the implementation ofsalt-call, environment variables set in the systemd service of the salt minion
are not recognized. Either use the CLI toolsaltorpepperor set the
environment variables prior to the execution on the local shell.Keep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_nwabap.git:-root:src/saltext/sap_nwabapIn order to enable this, logical links undersrc/saltext/sap_nwabap/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._modules->modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the SAP NetWeaver AS ABAP extension looks like this:Technical user SALT for SAP system S4H / client 000 is present:sap_nwabap.user_present:- name: SALT- sid: S4H- client: "000"- message_server_host: s4h- message_server_port: 3600- logon_group: SPACE- username: DDIC- password: __slot__:salt:vault.read_secret(path="nwabap/S4H/000", key="DDIC")- user_password: __slot__:salt:vault.read_secret(path="nwabap/S4H/000", key="SALT")- attributes:logon_data:user_type: Buser_valid_to: "99991231"address_data:first_name: SALT_SERVICE_USERlast_name: SALT_SERVICE_USER- roles:- name: Z_SALT_ROLEvalid_to: 99991231- profiles:- SAP_ALL- unlock_user: TrueDocsSeehttps://saltext-sap-nwabap.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-pse
SaltStack SAP PSE extensionThis SaltStack extensions allows managing SAP Personal Security Environment (PSE) files.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAP PSE extension:salt-callpip.installsaltext.sap-pseKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_pse.git:-root:src/saltext/sap_pseIn order to enable this, logical links undersrc/saltext/sap_pse/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._modules->modules. This will double the source data during build, but:_modulesis required for integrating the repo over gitfsmodulesis required for the salt loader to find the modules / statesUsageA state using the SAP PSE extension looks like this:SAP Host Agent SAPSSLS PSE file is managed:sap_pse.managed:- name: /usr/sap/hostctrl/exe/sec/SAPSSLS.pse- user: sapadm- group: sapsys- seclogons:- sapadm- priv_key: /etc/pki/{{grains["id"]}}.key- pub_key: /etc/pki/{{grains["id"]}}.crtDocsSeehttps://saltext-sap-pse.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.sap-xsa
SaltStack SAP HANA XSA extensionThis SaltStack extensions allows managing SAP HANA XSA systems.THIS PROJECT IS NOT ASSOCIATED WITH SAP IN ANY WAYInstallationRun the following to install the SaltStack SAP Host Agent extension:salt-callpip.installsaltext.sap-xsaKeep in mind that this package must be installed on every minion that should utilize the states and execution modules.Alternatively, you can add this repository directly over gitfsgitfs_remotes:-https://github.com/SAPUCC/saltext-sap_xsa.git:-root:src/saltext/sap_xsaIn order to enable this, logical links undersrc/saltext/sap_xsa/from_<dir_type>(where the code lives) to<dir_type>have been placed, e.g._states->states. This will double the source data during build, but:_statesis required for integrating the repo over gitfsstatesis required for the salt loader to find the modules / statesUsageA state using the SAP Host Agent extension looks like this:CA certificate is present in XSA HDB:sap_xsa.trusted_certificate_present:- name: MY_CA- certfile: /etc/pki/trust/anchors/ca.crt- api_url: https://api.hdb.my.domain:443- password: __slot__:salt:vault.read_secret(path="xsa/HDB", key="XSA_ADMIN")- username: XSA_ADMIN- sid: HDB- org: SAP- bin: /hana/shared/HDB/xs/bin/xs- space: SAP- verify: FalseDocsSeehttps://saltext-sap-xsa.readthedocs.io/for the documentation.ContributingWe would love to see your contribution to this project. Please refer toCONTRIBUTING.mdfor further details.LicenseThis project is licensed under GPLv3. SeeLICENSE.mdfor the license text andCOPYRIGHT.mdfor the general copyright notice.
Package: saltext.tsl
TSLTSL - The State Library ModuleMaintenanceDeveloped and maintained byTurtleTraction.OverviewTheStateLibrary aims to provide a way to document state files in a consistant manner, similar tosys.doc.By adding theDOCsection below to the top of the states file the following feature are enabled.State file overviewSearchable state file estateAutomated Variable extractionPillarGrainsInclude#START-DOC
# File_name: state.sls
# Author: XXXXXX
# Description:
# Grains (if applicable):
# Pillars (if applicable):
# Syntax: XXXXXX
#END-DOCQuickstartTo get started with TSL:Install the extention on the minionFor Salt onedir package (3006 and up):sudo salt '<minion>' pip.install saltext.tslorsudo salt-pip install saltext.tslFor classic Salt package (pre 3006):sudo pip install saltext.tslTest (Listing states for a specific minion included in highstate)sudo salt '<minion>' tsl.listUse sys.doc to list all tsl functionssudo salt '<minion>' sys.doc tslFor any queries please send an email toinfo@turtletraction.comDoc header generatorTSL contains an additional standalone script that is not installed with the extension:tsl-add-header.py. You can use it to automatically add the doc header to any number ofslsfiles:python tsl-add-header.py path/to/sls-file-or-directoryFor usage details, run the following command:python tsl-add-header.py --helpDevelopmentTo get started with your new project:# Create a new venv
python3 -m venv env --prompt saltext-tsl
source env/bin/activate

# On mac, you may need to upgrade pip
python -m pip install --upgrade pip

# On WSL or some flavors of linux you may need to install the `enchant`
# library in order to build the docs
sudo apt-get install -y enchant

# Install extension + test/dev/doc dependencies into your environment
python -m pip install -e '.[tests,dev,docs]'
pre-commit install --install-hooks

# Run tests!
python -m nox -e tests-3

# skip requirements install for next time
export SKIP_REQUIREMENTS_INSTALL=1

# Build the docs, serve, and view in your web browser:
python -m nox -e docs && (cd docs/_build/html; python -m webbrowser localhost:8000; python -m http.server; cd -)

# Run the example function
salt-call --local tsl.hello
Package: saltgang
saltgangAdd a short description here!A longer description of your project goes here…Making Changes & ContributingThis project usespre-commit, please make sure to install it before making any
changes:pip install pre-commit
cd saltgang
pre-commit installIt is a good idea to update the hooks to the latest version:pre-commit autoupdateDon’t forget to tell your contributors to also install and use pre-commit.NoteThis project has been set up using PyScaffold 4.1.4. For details and usage
information on PyScaffold seehttps://pyscaffold.org/.
Package: salt-gnupg-rotate
salt-gnupg-rotateEasily rotate gnupg encryption keys of fully or partially encrypted files. 🧂AboutThis project was created to help with the rotation of secret keys on saltstack
controllers. Like probably at least some of you I am bad at rotating encryption
keys due to the effort and time required. This tool is meant to make that task
quick and painless.DocumentationDocumentation is hosted atraddessi.github.io/salt-gnupg-rotate/and prebuilt zip files of the project documentation are available for download
from theReleasespage.FeaturesIt's fast! Rotate your keys in secondsEncrypted blocks are updated in-place in your files, keeping surrounding
context and current indentationTrace level logging using--log-level tracewill show you the decrypted
block contents as well as the re-encrypted blocks for you to manually validate
the changed before applying themNo changes to your data will be made unless the--writeflag is givenDiscussionGitHub Discussions-
Discussion forum hosted by GitHub; ideal for Q&A and other structured
discussionsInstallationPlease seethe documentationfor instructions on installation or upgrades.Providing FeedbackThe best platform for general feedback, assistance, and other discussion is ourGitHub discussions.
To report a bug or request a specific feature, please open a GitHub issue using
theappropriate template.If you are interested in contributing to the development of this project, please
read our contributing guide in the documentation prior to beginning any work.
Package: saltine
Toolkit for Haloplex sequencingUsage# Build the virtualenv and install required modules,
# including this one in editable mode
0/make_venv.sh. venv/bin/activate# Build the module
0/build.sh# Register the built module with PyPI
0/register.sh# Upload a new build to PyPI
0/upload.sh# Delete all built files
0/clean.shDevelopmentRun0/make_venv.shfirst. Venv/bin/activate
# This IPython config will set autoreload
ipython –config=0/ipython_config.py
Package: salt-lint
salt-lintsalt-lintchecks Salt State files (SLS) for best practices and behavior that could potentially be improved.Explore the docs »Check the Linting Rules·Report Bug·Request FeatureDemoAcknowledgementThe project is heavily based onansible-lint, with the modified work byWarpnet B.V..ansible-lintwas created byWill Thamesand is now maintained as part of theAnsiblebyRed Hatproject.ChangelogAll notable changes insalt-lintare documented below.The format is based onKeep a Changelog, and this project adheres toSemantic Versioning.0.9.2(2023-02-09)FixedEnsure version identification adheres toPEP440(!304)0.9.1(2023-01-16)FixedRevert changes to rule 210 (!299)0.9.0(2023-01-13)AddedRule 219 for catching missing over-indentation of nested dicts (#284).Add Python 3.11 support (#290).Add alternative typos of onchanges in rule 216 (#286).0.8.0(2021-11-09)FixedFalse positive when detecting missing spaces in Jinja variables when the Jinja statement is nested in literal braces (#272).Ensure a single missing quote in the file mode is also detected as incorrect quotation of a file mode (#273).Ignore non file mode arguments for the file mode quotation and leading zero checks (#274).0.7.0(2021-11-01)AddedAdd Python 3.10 support (#265).Add initial man page (#270).FixedClose temporary file after writing to STDIN (#263).0.6.1(2021-06-01)RemovedRemove rule 218 because of a false positive0.6.0(2021-06-01)DeprecatedDrop Python 2.7 support (#239).AddedRule 216, 217 and 218 for catching common typographical errors (#249).0.5.2(2021-01-29)FixedAppend the contents of theCHANGELOG.mdfile to the long description of the package instead of the duplicateREADME.mdcontents (#234).Ignore Jinja specific rules in Jinja escaped blocks (#236).0.5.1(2021-01-19)FixedEnsure all excluded paths from both the CLI and configuration are passed to the runner (#231).0.5.0(2021-01-17)AddedRule 213 to recommend using cmd.run together with onchanges (#207).Rule 214 to check SLS file with a period in the name (besides the suffix period) as they can not be referenced by Salt (#209).Rules 901-915 to check for deprecated states and state options (#214).ThisCHANGELOG.mdfile to be able to list all notable changes for each version ofsalt-lint(#223).
Package: salt-mill
Saltstack API Client for HumansFree software: BSD licenseFeaturesauto loginauto renew auth-tokenasynchronous pollingUsagefromsaltmillimportMill# By default, mill try to get the authentication configs from# func kwarsg, environment variables, and ~/.pepperrc, same as peppermill=Mill()mill.local('*','test.ping')# Create a job with local_async and poll the result with lookup_jid# Works well on long running tasks and unstable network conditionsmill.local_pool('*','test.ping')History0.1.0 (2015-6-25)First release on PyPI.
Package: saltnanny
salt-nannyPython Module that parses salt returns stored in redis and logs outputExample Usage:Command Line Usage:salt-nanny localhost minion1 minion2Look for salt returns in localhost for minions - minion1 & minion2salt-nanny localhost minion1 minion2 -p 6380 -x 20 -I 5 60 2This command tells salt-nanny to wait 5, 10, 20, 40 and 60 seconds
between each retry initially and then 60s for subsequent retries.
Attempt 20 times and then give up. Use port 6380 for redis.Example Python code:#!/usr/bin/env python
import salt.client
from saltnanny import SaltNanny

# Initialize SaltNanny with the cache & salt function
config = {'type': 'redis', 'host':'localhost', 'port':6379, 'db':'0'}
nanny = SaltNanny(config, 'test', 'state.highstate')

# Use SaltNanny to track returns to the external job cache
salt_nanny.initialize(['minion1', 'minion2'])
salt_nanny.track_returns()
return_code = salt_nanny.process_returns()For the example above, the log file in logs/test-state.highstate.log
will contain results of the salt highstateThe return code is 0 if all the salt functions for all minions
succeded with a return dict containing retcode:0.SaltNanny also checks state results in case of a highstate. If any
one state fails, the retcode is non zero.Release Notesv0.1.1 First working versionn
v0.1.2 Make changes in redis key structure for salt 2016 compatibilityn
v0.1.3 Fix bug when reading the redis returnn
v0.1.4 Add facility to read the last redis return without tracking a currently running highstate.n
v0.1.5 Fix formatting of log message.n
v0.1.6 Add salt-nanny command line utility to track returns from running highstate.n
v0.1.7 Update Documentation & improve command line utilityn
v0.1.9 Fixed bug to return exit code 2 if no returns are found.
v0.2.0 Added new command line parameter(earliest_jid) to only return saltmaster results more recent than the passed jid
v0.2.1 Updated list of potential_failures in salt_return_parser
Package: salt-nornir
Salt NornirNornir centered SaltStack modules:salt-nornir proxy minion modulesalt-nornir execution modulesalt-nornir state modulesalt-nornir runner modulesalt-nornir Netbox pillar moduleNornir Proxy Minion helps to manage network devices at scale, refer todocumentationfor details.ArchitecturePython and Plugins.Nornir Proxy acts as a bridge between SaltStack and a wide set of open
source network automation libraries.FeaturesCLImanagement of devices over SSH or Telnet using Netmiko, Scrapli, Cisco Genie/PyATS or NAPALMNETCONFmanagement of network devices using Ncclient or Scrapli-NetconfHTTP API/RESTCONFinteract with devices using Python requests librarygNMIdevice management supported thanks to integration with PyGNMI librarySNMPv1/2/3support to manage device using puresnmp libraryData Processingusing NTC-Templates, TTP, Jmespath, lxml, xmltodict librariesNetwork Testingof state and configuration via SSH, Netconf, gNMI, HTTP or SNMPPythonis a first class citizen - write plugins, modules, scripts, codify work flowsAPIintegrate with anything using SaltStack and Nornir Python API or SaltStack HTTP APINetboxSource of Truth inventory integration for infrastructure managementCommunication and discussionNetwork To Codesalt-nornir Slack ChannelOpen anissueStart adiscussionContributingIssues, bug reports and feature requests are welcomed. Feedback is a gift and we truly value it.Developers Mottoif it is not in the docs it does not existif it is not tested it is brokendone is better than perfectkeep it stupid simpleWant To HireReach out atd.mulyalin@gmail.comto discuss.Feel like you want tosponsor me or buy me a coffee:smiley: :coffee:.