From 41d40a7d7644b86e7db77e15d82adaef375f8275 Mon Sep 17 00:00:00 2001 From: Mircea Ulinic Date: Wed, 28 Oct 2020 15:31:30 +0000 Subject: [PATCH 1/4] Add another item to the why salt-sproxy section --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 26bc2a9..ede2656 100644 --- a/README.rst +++ b/README.rst @@ -61,6 +61,12 @@ In brief, here are some benefits you can get by using *salt-sproxy*: - Reuse your existing extension modules, templates, Pillars, States, etc., you may have already developed in your environment, transparently. - You can run it locally, on your own computer. +- You can use *salt-sproxy* to uniformly manage network devices, servers + (either using regular Minions, or `SSH + `_), applications + (e.g., Docker containers, VMWare ESXi clusters and vCenters, Marathon or + Chronos clusters, etc.), and virtually anything that has a programmable + interface. - Python programming made a breeze - might go well with the `ISalt `__ package. - Integrates easily with your existing Salt environment (if you have), by From c45a7edfa654f412fe4cb0fa22ae27b154eb9415 Mon Sep 17 00:00:00 2001 From: Mircea Ulinic Date: Wed, 28 Oct 2020 15:33:00 +0000 Subject: [PATCH 2/4] Add another item to the why salt-sproxy section --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 87bf70e..5d19ade 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,12 @@ In brief, here are some benefits you can get by using *salt-sproxy*: - Reuse your existing extension modules, templates, Pillars, States, etc., you may have already developed in your environment, transparently. - You can run it locally, on your own computer. +- You can use *salt-sproxy* to uniformly manage network devices, servers + (either using regular Minions, or [SSH]( + https://salt-sproxy.readthedocs.io/en/latest/ssh.html)), applications + (e.g., Docker containers, VMWare ESXi clusters and vCenters, Marathon or + Chronos clusters, etc.), and virtually anything that has a programmable + interface. - Python programming made a breeze - might go well with the [ISalt](https://github.com/mirceaulinic/isalt) package. - Integrates easily with your existing Salt environment (if you have), by From 627aa7d91c3ecb9282e84835d2f4eb9ec43d0f9b Mon Sep 17 00:00:00 2001 From: Mircea Ulinic Date: Thu, 29 Oct 2020 11:46:31 +0000 Subject: [PATCH 3/4] function has been renamed to salt_function into the internal proxy Runner --- salt_sproxy/scripts.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/salt_sproxy/scripts.py b/salt_sproxy/scripts.py index 81e39a0..a722851 100644 --- a/salt_sproxy/scripts.py +++ b/salt_sproxy/scripts.py @@ -33,7 +33,9 @@ def sapi_sproxy( ''' Shortcut to invoke an arbitrary Salt function via sproxy. ''' - kwargs.update({'function': fun, 'tgt': tgt, 'tgt_type': tgt_type, 'static': True}) + kwargs.update( + {'salt_function': fun, 'tgt': tgt, 'tgt_type': tgt_type, 'static': True} + ) kwargs = _prep_kwargs(kwargs, self.opts) log.debug('New kwargs:') log.debug(kwargs) @@ -48,7 +50,9 @@ def sapi_sproxy_async( ''' Shortcut to invoke an arbitrary Salt function via sproxy, asynchronously. ''' - kwargs.update({'function': fun, 'tgt': tgt, 'tgt_type': tgt_type, 'static': True}) + kwargs.update( + {'salt_function': fun, 'tgt': tgt, 'tgt_type': tgt_type, 'static': True} + ) kwargs = _prep_kwargs(kwargs, self.opts) log.debug('New kwargs:') log.debug(kwargs) From 6cef5ae368eeb19bb0fae5ebd784f589000a2203 Mon Sep 17 00:00:00 2001 From: Mircea Ulinic Date: Thu, 29 Oct 2020 11:46:56 +0000 Subject: [PATCH 4/4] Bump to 2020.10.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 42874d0..35a466c 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( name=name, - version='2020.10.0', + version='2020.10.1', namespace_packages=['salt_sproxy'], packages=find_packages(), author='Mircea Ulinic',