Skip to content

Commit

Permalink
Merge pull request #191 from mirceaulinic/develop
Browse files Browse the repository at this point in the history
Release 2020.10.1
  • Loading branch information
mirceaulinic authored Oct 29, 2020
2 parents 3b846ad + 192a8ab commit 54a7d0c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<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
Expand Down
8 changes: 6 additions & 2 deletions salt_sproxy/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 54a7d0c

Please sign in to comment.