code
stringlengths
114
1.05M
path
stringlengths
3
312
quality_prob
float64
0.5
0.99
learning_prob
float64
0.2
1
filename
stringlengths
3
168
kind
stringclasses
1 value
import salt.utils.versions from salt.exceptions import SaltInvocationError try: import botocore.waiter except ImportError: pass WAITER_CONFIGS = { "ESDomainAvailable": { "delay": 60, "operation": "DescribeElasticsearchDomainConfig", "maxAttempts": 60, "acceptors": [ ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/boto3_elasticsearch.py
0.568895
0.33928
boto3_elasticsearch.py
pypi
import copy from collections.abc import Mapping, Sequence, Set class ImmutableDict(Mapping): """ An immutable dictionary implementation """ def __init__(self, obj): self.__obj = obj def __len__(self): return len(self.__obj) def __iter__(self): return iter(self.__obj)...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/immutabletypes.py
0.766468
0.153835
immutabletypes.py
pypi
import http.client import logging from urllib.parse import urlencode, urljoin import salt.utils.http from salt.version import __version__ log = logging.getLogger(__name__) def query( function, token=None, api_version="1", method="POST", header_dict=None, data=None, query_params=None, ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/pushover.py
0.533154
0.202207
pushover.py
pypi
import collections import salt.utils.context import yaml # pylint: disable=blacklisted-import from salt.utils.odict import OrderedDict try: from yaml import CDumper as Dumper from yaml import CSafeDumper as SafeDumper except ImportError: from yaml import Dumper from yaml import SafeDumper __all__...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/yamldumper.py
0.611266
0.252926
yamldumper.py
pypi
import logging import os import re import subprocess import salt.loader.context import salt.utils.path import salt.utils.stringutils from salt.exceptions import SaltInvocationError try: import dbus except ImportError: dbus = None log = logging.getLogger(__name__) def booted(context=None): """ Retu...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/systemd.py
0.432902
0.166201
systemd.py
pypi
import logging from contextlib import contextmanager from salt.exceptions import CodePageError log = logging.getLogger(__name__) try: import pywintypes import win32console HAS_WIN32 = True except ImportError: HAS_WIN32 = False # Although utils are often directly imported, it is also possible to us...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/win_chcp.py
0.687525
0.158337
win_chcp.py
pypi
import http.client import logging import urllib.parse import salt.utils.http log = logging.getLogger(__name__) def query( function, api_key=None, args=None, method="GET", header_dict=None, data=None, opts=None, ): """ Slack object method function to construct and execute on the A...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/slack.py
0.596903
0.16248
slack.py
pypi
import salt.utils.platform from salt.exceptions import CommandExecutionError try: import pywintypes import win32security import win32service HAS_WIN32 = True except ImportError: HAS_WIN32 = False SERVICE_TYPE = { 1: "Kernel Driver", 2: "File System Driver", 4: "Adapter Driver", 8:...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/win_service.py
0.486819
0.183045
win_service.py
pypi
graph_prefix = "\x1b[" graph_suffix = "m" codes = { "reset": "0", "bold": "1", "faint": "2", "italic": "3", "underline": "4", "blink": "5", "slow_blink": "5", "fast_blink": "6", "inverse": "7", "conceal": "8", "strike": "9", "primary_font": "10", "reset_font": "10", ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/textformat.py
0.7641
0.448668
textformat.py
pypi
import logging import os import shutil import sys import tempfile from datetime import date import salt.utils.files import salt.version from jinja2 import Template from salt.serializers.yaml import deserialize from salt.utils.odict import OrderedDict log = logging.getLogger(__name__) try: import click HAS_C...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/extend.py
0.569134
0.219672
extend.py
pypi
import logging import subprocess import salt.utils.args import salt.utils.data import salt.utils.winapi from salt.exceptions import CommandExecutionError try: import win32com.client import pywintypes HAS_PYWIN32 = True except ImportError: HAS_PYWIN32 = False log = logging.getLogger(__name__) REBOOT...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/win_update.py
0.685213
0.239038
win_update.py
pypi
import glob import logging import os import re import salt.utils.path import salt.utils.yaml from jinja2 import Environment, FileSystemLoader log = logging.getLogger(__name__) # Renders jinja from a template file def render_jinja(_file, salt_data): j_env = Environment(loader=FileSystemLoader(os.path.dirname(_fi...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/saltclass.py
0.498779
0.167321
saltclass.py
pypi
import datetime import hashlib import os from calendar import month_abbr as months import salt.utils.stringutils LAST_JID_DATETIME = None def _utc_now(): """ Helper method so tests do not have to patch the built-in method. """ return datetime.datetime.utcnow() def gen_jid(opts): """ Genera...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/jid.py
0.514644
0.175573
jid.py
pypi
import logging import os import re import shutil import stat import sys import time from subprocess import PIPE, Popen import salt.defaults.exitcodes import salt.utils.args import salt.utils.hashutils import salt.utils.path import salt.utils.stringutils from salt.utils.filebuffer import BufferedReader try: import...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/find.py
0.407569
0.233936
find.py
pypi
import copy import fnmatch import functools import logging import re # Try to import range from https://github.com/ytoolshed/range HAS_RANGE = False try: import seco.range HAS_RANGE = True except ImportError: pass # pylint: enable=import-error log = logging.getLogger(__name__) def targets(conditioned_...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/roster_matcher.py
0.676727
0.331823
roster_matcher.py
pypi
import re import sys from urllib.parse import urlparse, urlunparse import salt.utils.data import salt.utils.path import salt.utils.platform import salt.utils.versions def parse(url): """ Parse a salt:// URL; return the path and a possible saltenv query. """ if not url.startswith("salt://"): r...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/url.py
0.435181
0.18429
url.py
pypi
import logging import math import os import re from numbers import Number import salt.modules.cmdmod from salt.utils.decorators import memoize as real_memoize from salt.utils.odict import OrderedDict from salt.utils.stringutils import to_num as str_to_num # Size conversion data re_zfs_size = re.compile(r"^(\d+|\d+(?=...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/zfs.py
0.471223
0.245763
zfs.py
pypi
def compare_and_update_config(config, update_config, changes, namespace=""): """ Recursively compare two configs, writing any needed changes to the update_config and capturing changes in the changes dict. """ if isinstance(config, dict): if not update_config: if config: ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/configcomparer.py
0.431824
0.276929
configcomparer.py
pypi
import os def get_module_environment(env=None, function=None): """ Get module optional environment. To setup an environment option for a particular module, add either pillar or config at the minion as follows: system-environment: modules: pkg: _: LC_ALL: en_GB...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/environment.py
0.53777
0.376594
environment.py
pypi
import random import salt.loader from salt.exceptions import SaltInvocationError def sdb_get(uri, opts, utils=None, strict=False): """ Get a value from a db, using a uri in the form of ``sdb://<profile>/<key>``. If the uri provided is not valid, then it will be returned as-is, unless ``strict=True`` was ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/sdb.py
0.537527
0.187188
sdb.py
pypi
import json import logging import salt.utils.data import salt.utils.stringutils log = logging.getLogger(__name__) # One to one mappings JSONEncoder = json.JSONEncoder def __split(raw): """ Performs a splitlines on the string. This function exists to make mocking possible in unit tests, since the membe...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/json.py
0.547948
0.219379
json.py
pypi
import logging import types import salt.utils.args import salt.utils.versions from salt.exceptions import SaltInvocationError log = logging.getLogger(__name__) def namespaced_function(function, global_dict, defaults=None, preserve_context=None): """ Redefine (clone) a function under a different globals() na...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/functools.py
0.653238
0.262546
functools.py
pypi
import base64 import hashlib import hmac import os import random import salt.utils.files import salt.utils.platform import salt.utils.stringutils from salt.utils.decorators.jinja import jinja_filter @jinja_filter("base64_encode") def base64_b64encode(instr): """ Encode a string as base64 using the "modern" P...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/hashutils.py
0.761982
0.338104
hashutils.py
pypi
import os import salt.utils.data import salt.utils.network from salt.exceptions import SaltInvocationError NOTSET = object() def split(item, sep=",", maxsplit=-1): return [x.strip() for x in item.split(sep, maxsplit)] def get_port_def(port_num, proto="tcp"): """ Given a port number and protocol, retur...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/dockermod/translate/helpers.py
0.511961
0.438304
helpers.py
pypi
import re import socket import salt.utils.platform if salt.utils.platform.is_windows(): from salt.ext import win_inet_pton # pylint: disable=unused-import def mac(addr): """ Validates a mac address """ valid = re.compile( r""" (^([0-9A-F]{1,2}[-]){5}([0-9A-F]{1,2})...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/validate/net.py
0.52975
0.207114
net.py
pypi
import errno import logging import os import re import sys import salt.utils.data import salt.utils.files import salt.utils.versions log = logging.getLogger(__name__) def rtag(opts): """ Return the rtag file location. This file is used to ensure that we don't refresh more than once (unless explicitly co...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/pkg/__init__.py
0.402627
0.150528
__init__.py
pypi
import logging import salt.utils.stringutils from salt.exceptions import SaltException log = logging.getLogger(__name__) class OutputUnifier: def __init__(self, *policies): self.policies = [] for pls in policies: if not hasattr(self, pls): raise SaltException("Unknown...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/utils/decorators/state.py
0.57821
0.206774
state.py
pypi
try: import stringprep except ImportError: HAVE_STRINGPREP = False def saslprep(data): """SASLprep dummy""" if isinstance(data, str): raise TypeError( "The stringprep module is not available. Usernames and " "passwords must be ASCII strings.") ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/saslprep.py
0.778986
0.278379
saslprep.py
pypi
import socket import ctypes import os from salt._compat import ipaddress class sockaddr(ctypes.Structure): _fields_ = [("sa_family", ctypes.c_short), ("__pad1", ctypes.c_ushort), ("ipv4_addr", ctypes.c_byte * 4), ("ipv6_addr", ctypes.c_byte * 16), (...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/win_inet_pton.py
0.608478
0.199795
win_inet_pton.py
pypi
# THIS CODE SHOULD BE REMOVED WITH importlib-metadata >= 3.3.0 IS AVAILABLE # AS A SYSTEM PACKAGE ON ALL THE PLATFORMS FOR WHICH SALT BUILDS PACKAGES OR # WHEN THE MINIMUM PYTHON VERSION IS 3.10 # pylint: skip-file import io import posixpath import zipfile import itertools import contextlib import sys import pathlib ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/zipp.py
0.531939
0.181299
zipp.py
pypi
from pyVmomi.VmomiSupport import ( CreateDataType, CreateManagedType, CreateEnumType, AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL, ) CreateManagedType( "vim.cluster.VsanPerformanceManager", "VsanPerformanceManager", "vmodl.ManagedObject", "vim.version.ve...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/vsan/vsanmgmtObjects.py
0.415729
0.201872
vsanmgmtObjects.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import socket from salt.ext.tornado.escape import native_str from salt.ext.tornado.http1connection import HTTP1ServerConnection, HTTP1ConnectionParameters from salt.ext.tornado import gen from salt.ext.tornado import httputil from s...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/httpserver.py
0.774242
0.188772
httpserver.py
pypi
from __future__ import absolute_import, division, print_function import array import atexit import os import re import sys import zlib PY3 = sys.version_info >= (3,) if PY3: xrange = range # inspect.getargspec() raises DeprecationWarnings in Python 3.5. # The two functions have compatible interfaces for the pa...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/util.py
0.58059
0.225651
util.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import functools import socket from salt.ext.tornado.concurrent import Future from salt.ext.tornado.ioloop import IOLoop from salt.ext.tornado.iostream import IOStream from salt.ext.tornado import gen from salt.ext.tornado.netutil im...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/tcpclient.py
0.63477
0.179297
tcpclient.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import collections import heapq from salt.ext.tornado import gen, ioloop from salt.ext.tornado.concurrent import Future from salt.ext.tornado.locks import Event __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueE...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/queues.py
0.808861
0.152568
queues.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import sys from io import BytesIO import salt.ext.tornado as tornado from salt.ext.tornado.concurrent import Future from salt.ext.tornado import escape from salt.ext.tornado import httputil from salt.ext.tornado.log import access_lo...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/wsgi.py
0.623492
0.224555
wsgi.py
pypi
"""Data used by the tornado.locale module.""" # pylint: skip-file from __future__ import absolute_import, division, print_function LOCALE_NAMES = { "af_ZA": {"name_en": u"Afrikaans", "name": u"Afrikaans"}, "am_ET": {"name_en": u"Amharic", "name": u"አማርኛ"}, "ar_AR": {"name_en": u"Arabic", "name": u"العربي...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/_locale_data.py
0.65202
0.31513
_locale_data.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import errno import os import signal import subprocess import sys import time from binascii import hexlify from salt.ext.tornado.concurrent import Future from salt.ext.tornado import ioloop from salt.ext.tornado.iostream import Pip...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/process.py
0.459319
0.154887
process.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import datetime import numbers import re import sys import os import textwrap from salt.ext.tornado.escape import _unicode, native_str from salt.ext.tornado.log import define_logging_options from salt.ext.tornado import stack_contex...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/options.py
0.670177
0.170923
options.py
pypi
# pylint: skip-file from __future__ import absolute_import, division, print_function import sys import threading from salt.ext.tornado.util import raise_exc_info class StackContextInconsistentError(Exception): pass class _State(threading.local): def __init__(self): self.contexts = (tuple(), None)...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/stack_context.py
0.601242
0.204223
stack_context.py
pypi
"""KQueue-based IOLoop implementation for BSD/Mac systems.""" # pylint: skip-file from __future__ import absolute_import, division, print_function import select from salt.ext.tornado.ioloop import IOLoop, PollIOLoop assert hasattr(select, 'kqueue'), 'kqueue not supported' class _KQueue(object): """A kqueue-bas...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/ext/tornado/platform/kqueue.py
0.813609
0.155367
kqueue.py
pypi
import hashlib import logging import os import salt.payload import salt.utils.files import salt.utils.path import salt.utils.verify log = logging.getLogger(__name__) __virtualname__ = "localfs" def mk_token(opts, tdata): """ Mint a new token using the config option hash_type and store tdata with 'token' at...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/tokens/localfs.py
0.544801
0.175786
localfs.py
pypi
r""" Renderer that will decrypt NACL ciphers Any key in the SLS file can be an NACL cipher, and this renderer will decrypt it before passing it off to Salt. This allows you to safely store secrets in source control, in such a way that only your Salt master can decrypt them and distribute them only to the minions that ...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/renderers/nacl.py
0.566738
0.384594
nacl.py
pypi
import logging import warnings import salt.utils.url import salt.utils.yamlloader as yamlloader_new import salt.utils.yamlloader_old as yamlloader_old from salt.exceptions import SaltRenderError from salt.utils.odict import OrderedDict from yaml.constructor import ConstructorError from yaml.parser import ParserError f...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/renderers/yaml.py
0.527317
0.187542
yaml.py
pypi
r""" Renderer that will decrypt GPG ciphers Any key in the SLS file can be a GPG cipher, and this renderer will decrypt it before passing it off to Salt. This allows you to safely store secrets in source control, in such a way that only your Salt master can decrypt them and distribute them only to the minions that nee...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/renderers/gpg.py
0.719482
0.372363
gpg.py
pypi
r""" .. _`AWS KMS Envelope Encryption`: https://docs.aws.amazon.com/kms/latest/developerguide/workflow.html Renderer that will decrypt ciphers encrypted using `AWS KMS Envelope Encryption`_. Any key in the data to be rendered can be a urlsafe_b64encoded string, and this renderer will attempt to decrypt it before pass...
/salt-ssh-9000.tar.gz/salt-ssh-9000/salt/renderers/aws_kms.py
0.85036
0.428353
aws_kms.py
pypi
<p align="center"><img height="100" alt="Salt Tower (Logo)" src="./salt-tower.svg" /></p><br /> # Salt Tower — A Flexible External Pillar Module [![GitHub Workflow Status](https://github.com/jgraichen/salt-tower/actions/workflows/test.yml/badge.svg)](https://github.com/jgraichen/salt-tower/actions/workflows/test.yml)...
/salt-tower-1.12.0.tar.gz/salt-tower-1.12.0/README.md
0.624523
0.961858
README.md
pypi
# Contributor Covenant Code of Conduct ## Our Pledge We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of...
/salt-3006.2.tar.gz/salt-3006.2/CODE_OF_CONDUCT.md
0.577495
0.685755
CODE_OF_CONDUCT.md
pypi
.. _glossary: ======== Glossary ======== .. glossary:: Auto-Order The evaluation of states in the order that they are defined in a SLS file. *See also*: :ref:`ordering <ordering_auto_order>`. Bootstrap A stand-alone Salt project which can download and install a Salt master an...
/salt-3006.2.tar.gz/salt-3006.2/doc/glossary.rst
0.930521
0.730879
glossary.rst
pypi
=============================== SLS Template Variable Reference =============================== .. warning:: In the 3005 release ``sls_path``, ``tplfile``, and ``tpldir`` have had some significant improvements which have the potential to break states that rely on old and broken functionality. The template ...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/states/vars.rst
0.814422
0.690331
vars.rst
pypi
.. _compiler-ordering: ===================================== Understanding State Compiler Ordering ===================================== .. note:: This tutorial is an intermediate level tutorial. Some basic understanding of the state system and writing Salt Formulas is assumed. Salt's state system is built ...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/states/compiler_ordering.rst
0.904661
0.669924
compiler_ordering.rst
pypi
.. _state-system-reference: ====================== State System Reference ====================== Salt offers an interface to manage the configuration or "state" of the Salt minions. This interface is a fully capable mechanism used to enforce the state of systems from a central manager. .. toctree:: :glob: ...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/states/index.rst
0.778144
0.878419
index.rst
pypi
.. _ordering: =============== Ordering States =============== The way in which configuration management systems are executed is a hotly debated topic in the configuration management world. Two major philosophies exist on the subject, to either execute in an imperative fashion where things are executed in the order in...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/states/ordering.rst
0.924308
0.763726
ordering.rst
pypi
.. _file-server: ================ Salt File Server ================ Salt comes with a simple file server suitable for distributing files to the Salt minions. The file server is a stateless ZeroMQ server that is built into the Salt master. The main intent of the Salt file server is to present files for use in the Sal...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/file_server/index.rst
0.840652
0.785391
index.rst
pypi
.. _delta-proxy-information: .. _delta-proxy-intro: =================== Delta proxy minions =================== Welcome to the delta proxy minion installation guide. This installation guide explains the process for installing and using delta proxy minion which is available beginning in version 3004. This guide is i...
/salt-3006.2.tar.gz/salt-3006.2/doc/ref/configuration/delta_proxy.rst
0.943034
0.726717
delta_proxy.rst
pypi
import itertools import os import re from docutils import nodes from docutils.parsers.rst import Directive from docutils.statemachine import ViewList from sphinx import addnodes from sphinx.domains import ObjType from sphinx.domains import python as python_domain from sphinx.domains.python import PyObject from sphinx....
/salt-3006.2.tar.gz/salt-3006.2/doc/_ext/saltdomain.py
0.417628
0.197754
saltdomain.py
pypi
.. _salt-system-architecture: ======================== Salt system architecture ======================== Overview ======== This page provides a high-level overview of the Salt system architecture and its different components. What is Salt? ============= Salt is a Python-based open-source remote execution framework ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/salt_system_architecture.rst
0.923178
0.824533
salt_system_architecture.rst
pypi
.. _release-2015-5-0: ============================================== Salt 2015.5.0 Release Notes - Codename Lithium ============================================== The 2015.5.0 feature release of Salt is focused on hardening Salt and mostly on improving existing systems. A few major additions are present, primarily th...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/2015.5.0.rst
0.794982
0.764935
2015.5.0.rst
pypi
=========================== Salt 2016.3.5 Release Notes =========================== Version 2016.3.5 is a bugfix release for :ref:`2016.3.0 <release-2016-3-0>`. Statistics ========== - Total Merges: **190** - Total Issue References: **112** - Total PR References: **281** - Contributors: **74** (`Ch3LL`_, `DmitryKu...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/2016.3.5.rst
0.824533
0.675711
2016.3.5.rst
pypi
======================== Salt 0.9.8 Release Notes ======================== :release: 2012-03-21 Salt 0.9.8 is a big step forward, with many additions and enhancements, as well as a number of precursors to advanced future developments. This version of Salt adds much more power to the command line, making the old hard...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/0.9.8.rst
0.715325
0.705252
0.9.8.rst
pypi
======================== Salt 0.9.5 Release Notes ======================== :release: 2012-01-15 Salt 0.9.5 is one of the largest steps forward in the development of Salt. 0.9.5 comes with many milestones, this release has seen the community of developers grow out to an international team of 46 code contributors and ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/0.9.5.rst
0.829216
0.770896
0.9.5.rst
pypi
========================= Salt 0.11.0 Release Notes ========================= :release: 2012-12-14 Salt 0.11.0 is here, with some highly sought after and exciting features. These features include the new overstate system, the reactor system, a new state run scope component called __context__, the beginning of the sea...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/0.11.0.rst
0.705988
0.656183
0.11.0.rst
pypi
========================= Salt 0.15.0 Release Notes ========================= :release: 2013-05-03 The many new features of Salt 0.15.0 have arrived! Salt 0.15.0 comes with many smaller features and a few larger ones. These features range from better debugging tools to the new Salt Mine system. Major Features =====...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/0.15.0.rst
0.738575
0.732687
0.15.0.rst
pypi
======================== Salt 0.9.7 Release Notes ======================== :release: 2012-02-15 Salt 0.9.7 is here! The latest iteration of Salt brings more features and many fixes. This release is a great refinement over 0.9.6, adding many conveniences under the hood, as well as some features that make working with ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/0.9.7.rst
0.729038
0.907885
0.9.7.rst
pypi
.. _release-3005: ============================================= Salt 3005 release notes - Codename Phosphorus ============================================= Python 3.5 and 3.6 deprecation ------------------------------ This will be the last release we will support Python versions 3.5 and 3.6. In Salt release 3006, we...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/releases/3005.rst
0.745028
0.781664
3005.rst
pypi
.. _pillar: ================================= Storing Static Data in the Pillar ================================= Pillar is an interface for Salt designed to offer global values that can be distributed to minions. Pillar data is managed in a similar way as the Salt State Tree. Pillar was added to Salt in version 0.9...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/pillar/index.rst
0.892545
0.750324
index.rst
pypi
.. _external-job-cache: ========================================= Storing Job Results in an External System ========================================= After a job executes, job results are returned to the Salt Master by each Salt Minion. These results are stored in the :ref:`Default Job Cache <default_job_cache>`. In...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/jobs/external_cache.rst
0.886445
0.696894
external_cache.rst
pypi
.. _spm-development: ===================== SPM Development Guide ===================== This document discusses developing additional code for SPM. SPM-Specific Loader Modules =========================== SPM was designed to behave like traditional package managers, which apply files to the filesystem and store packag...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/spm/dev.rst
0.833833
0.855248
dev.rst
pypi
.. _spm-formula: ============ FORMULA File ============ In addition to the formula itself, a ``FORMULA`` file must exist which describes the package. An example of this file is: .. code-block:: yaml name: apache os: RedHat, Debian, Ubuntu, SUSE, FreeBSD os_family: RedHat, Debian, Suse, FreeBSD versi...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/spm/spm_formula.rst
0.759761
0.802285
spm_formula.rst
pypi
.. _pull_requests: Pull Requests ============= Salt is a large software project with many developers working together. We encourage all Salt users to contribute new features, bug fixes and documentation fixes. For those who haven't contributed to a large software project before we encourage you to consider the follow...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/development/pull_requests.rst
0.604632
0.740937
pull_requests.rst
pypi
================================ Using the Salt Modules for Cloud ================================ In addition to the ``salt-cloud`` command, Salt Cloud can be called from Salt, in a variety of different ways. Most users will be interested in either the execution module or the state module, but it is also possible to ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/cloud/salt.rst
0.903784
0.686817
salt.rst
pypi
.. _salt-cloud-feature-matrix: ============== Feature Matrix ============== A number of features are available in most cloud hosts, but not all are available everywhere. This may be because the feature isn't supported by the cloud host itself, or it may only be that the feature has not yet been added to Salt Cloud. I...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/cloud/features.rst
0.782953
0.668322
features.rst
pypi
.. _grains: ====== Grains ====== Salt comes with an interface to derive information about the underlying system. This is called the grains interface, because it presents salt with grains of information. Grains are collected for the operating system, domain name, IP address, kernel, OS type, memory, and many other sys...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/grains/index.rst
0.900645
0.697297
index.rst
pypi
.. _syndic: =========== Salt Syndic =========== The most basic or typical Salt topology consists of a single Master node controlling a group of Minion nodes. An intermediate node type, called Syndic, when used offers greater structural flexibility and scalability in the construction of Salt topologies than topologie...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/topology/syndic.rst
0.807537
0.771198
syndic.rst
pypi
.. _tutorial-macos-walk-through: ====================================================================== The macOS (Maverick) Developer Step By Step Guide To Salt Installation ====================================================================== This document provides a step-by-step guide to installing a Salt cluster...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/walkthrough_macosx.rst
0.818737
0.660258
walkthrough_macosx.rst
pypi
.. _tutorial-salt-at-scale: =================== Using Salt at scale =================== The focus of this tutorial will be building a Salt infrastructure for handling large numbers of minions. This will include tuning, topology, and best practices. For how to install the Salt Master, see the `Salt install guide <htt...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/intro_scale.rst
0.90218
0.760406
intro_scale.rst
pypi
.. _pillar-walk-through: ================== Pillar Walkthrough ================== .. note:: This walkthrough assumes that the reader has already completed the initial Salt :ref:`walkthrough <tutorial-salt-walk-through>`. Pillars are tree-like structures of data defined on the Salt Master and passed through ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/pillar.rst
0.894176
0.663492
pillar.rst
pypi
.. _starting-states: ========================= How Do I Use Salt States? ========================= Simplicity, Simplicity, Simplicity Many of the most powerful and useful engineering solutions are founded on simple principles. Salt States strive to do just that: K.I.S.S. (Keep It Stupidly Simple) The core of the Sa...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/starting_states.rst
0.880065
0.752468
starting_states.rst
pypi
.. _tutorial-multi-master: ===================== Multi Master Tutorial ===================== As of Salt 0.16.0, the ability to connect minions to multiple masters has been made available. The multi-master system allows for redundancy of Salt masters and facilitates multiple points of communication out to minions. Whe...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/multimaster.rst
0.72526
0.906073
multimaster.rst
pypi
.. _tutorial-multi-master-pki: ======================================= Multi-Master-PKI Tutorial With Failover ======================================= This tutorial will explain, how to run a salt-environment where a single minion can have multiple masters and fail-over between them if its current master fails. The ...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/multimaster_pki.rst
0.757794
0.776242
multimaster_pki.rst
pypi
.. _tutorial-states-part-2: ========================================================= States tutorial, part 2 - More Complex States, Requisites ========================================================= .. note:: This tutorial builds on topics covered in :ref:`part 1 <states-tutorial>`. It is recommended that...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/states_pt2.rst
0.897412
0.729158
states_pt2.rst
pypi
.. _tutorial-states-part-4: ======================= States tutorial, part 4 ======================= .. note:: This tutorial builds on topics covered in :ref:`part 1 <states-tutorial>`, :ref:`part 2 <tutorial-states-part-2>`, and :ref:`part 3 <tutorial-states-part-3>`. It is recommended that you begin there. T...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/states_pt4.rst
0.905732
0.715699
states_pt4.rst
pypi
.. _tutorial-http: HTTP Modules ============ This tutorial demonstrates using the various HTTP modules available in Salt. These modules wrap the Python ``tornado``, ``urllib2``, and ``requests`` libraries, extending them in a manner that is more consistent with Salt workflows. The ``salt.utils.http`` Library -------...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/http.rst
0.882174
0.904482
http.rst
pypi
.. _states-tutorial: ===================================== States tutorial, part 1 - Basic Usage ===================================== The purpose of this tutorial is to demonstrate how quickly you can configure a system to be managed by Salt States. For detailed information about the state system please refer to the...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/tutorials/states_pt1.rst
0.920196
0.736164
states_pt1.rst
pypi
.. _troubleshooting: =============== Troubleshooting =============== The intent of the troubleshooting section is to introduce solutions to a number of common issues encountered by users and the tools that are available to aid in developing States and Salt code. Troubleshooting the Salt Master ======================...
/salt-3006.2.tar.gz/salt-3006.2/doc/topics/troubleshooting/index.rst
0.794584
0.686541
index.rst
pypi
[![Build Status](https://travis-ci.com/saltant-org/saltant-cli.svg?branch=master)](https://travis-ci.com/saltant-org/saltant-cli) [![codecov](https://codecov.io/gh/saltant-org/saltant-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/saltant-org/saltant-cli) [![PyPI](https://img.shields.io/pypi/v/saltant-cli.sv...
/saltant-cli-0.3.1.tar.gz/saltant-cli-0.3.1/README.md
0.455925
0.932576
README.md
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function import click from .resource import ( generic_create_command, generic_get_command, generic_list_command, generic_put_command, ) from .utils import list_options, PythonLiteralOption TASK_WHITELIS...
/saltant-cli-0.3.1.tar.gz/saltant-cli-0.3.1/saltant_cli/subcommands/task_whitelists.py
0.746693
0.155976
task_whitelists.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function import click import click_spinner from saltant.exceptions import BadHttpRequestError from .utils import combine_filter_json, generate_table, generate_list_display def generic_get_command(manager_name, attrs, ...
/saltant-cli-0.3.1.tar.gz/saltant-cli-0.3.1/saltant_cli/subcommands/resource.py
0.761405
0.162613
resource.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function import ast import json import click from tabulate import tabulate class PythonLiteralOption(click.Option): """Thanks to Stephen Rauch on stack overflow. See https://stackoverflow.com/a/47730333 "...
/saltant-cli-0.3.1.tar.gz/saltant-cli-0.3.1/saltant_cli/subcommands/utils.py
0.907161
0.277452
utils.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .base_task_type import BaseTaskType, BaseTaskTypeManager class ContainerTaskType(BaseTaskType): """Model for container task types. Attributes: id (int): The ID of the task type. ...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/container_task_type.py
0.7874
0.198278
container_task_type.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function from saltant.exceptions import BadHttpRequestError from saltant.constants import HTTP_200_OK class Model(object): """Base class for representing a model. Attributes: manager (:class:`saltant....
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/resource.py
0.925171
0.219819
resource.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import dateutil.parser from saltant.constants import HTTP_200_OK, HTTP_201_CREATED from .resource import Model, ModelManager class BaseTaskType(Model): """Base model for a task type. Attr...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/base_task_type.py
0.898252
0.241266
base_task_type.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .base_task_type import BaseTaskType, BaseTaskTypeManager class ExecutableTaskType(BaseTaskType): """Model for executable task types. Attributes: id (int): The ID of the task type. ...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/executable_task_type.py
0.864454
0.236946
executable_task_type.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function from saltant.constants import HTTP_200_OK, HTTP_201_CREATED from .resource import Model, ModelManager class TaskQueue(Model): """Base model for a task queue. Attributes: id (int): The ID of t...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/task_queue.py
0.926578
0.190536
task_queue.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function from saltant.constants import HTTP_200_OK, HTTP_201_CREATED from .resource import Model, ModelManager class TaskWhitelist(Model): """Base model for a task whitelist. Attributes: id (int): The...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/task_whitelist.py
0.871146
0.156234
task_whitelist.py
pypi
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import time import dateutil.parser from saltant.constants import ( DEFAULT_TASK_INSTANCE_WAIT_REFRESH_PERIOD, HTTP_201_CREATED, HTTP_202_ACCEPTED, TASK_INSTANCE_FINISH_STATUSES, ) fr...
/saltant-py-0.4.0.tar.gz/saltant-py-0.4.0/saltant/models/base_task_instance.py
0.877791
0.166066
base_task_instance.py
pypi
![Salt Dash logo](https://cldup.com/pjjyyptW69.png) [![tests](https://img.shields.io/circleci/project/github/lincolnloop/saltdash/master.svg)](https://circleci.com/gh/lincolnloop/saltdash/tree/master) [![PyPI](https://img.shields.io/pypi/v/saltdash.svg)](https://pypi.org/project/saltdash/) ![Python Versions](https://i...
/saltdash-0.9.9.tar.gz/saltdash-0.9.9/README.md
0.412648
0.923212
README.md
pypi
# Contributor Covenant Code of Conduct ## Our Pledge We as members, contributors, and leaders pledge to make participation in Salt Extension Modules for Azure Resource Manager project and our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity,...
/saltext.azurerm-4.0.1.tar.gz/saltext.azurerm-4.0.1/CODE-OF-CONDUCT.md
0.62223
0.653673
CODE-OF-CONDUCT.md
pypi
import logging import saltext.azurerm.utils.azurerm # Azure libs HAS_LIBS = False try: import azure.mgmt.compute.models # pylint: disable=unused-import from azure.core.exceptions import HttpResponseError HAS_LIBS = True except ImportError: pass __func_alias__ = {"list_": "list"} log = logging.getL...
/saltext.azurerm-4.0.1.tar.gz/saltext.azurerm-4.0.1/src/saltext/azurerm/modules/azurerm_compute_virtual_machine_image.py
0.795181
0.25745
azurerm_compute_virtual_machine_image.py
pypi
import logging import saltext.azurerm.utils.azurerm # Azure libs HAS_LIBS = False try: import azure.mgmt.keyvault.models # pylint: disable=unused-import from azure.core.exceptions import HttpResponseError, ResourceNotFoundError HAS_LIBS = True except ImportError: pass __func_alias__ = {"list_": "li...
/saltext.azurerm-4.0.1.tar.gz/saltext.azurerm-4.0.1/src/saltext/azurerm/modules/azurerm_keyvault_vault.py
0.759582
0.166472
azurerm_keyvault_vault.py
pypi