-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55760 from ogd-software/mine-minion-acl-master
Mine minion acl master
- Loading branch information
Showing
13 changed files
with
1,337 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
:orphan: | ||
|
||
==================================== | ||
Salt Release Notes - Codename Sodium | ||
==================================== | ||
|
||
|
||
Salt mine updates | ||
================= | ||
|
||
Syntax update | ||
------------- | ||
|
||
The syntax for defining salt functions in config or pillar files has changed to | ||
also support the syntax used in :py:mod:`module.run <salt.states.module.run>`. | ||
The old syntax for the mine_function - as a dict, or as a list with dicts that | ||
contain more than exactly one key - is still supported but discouraged in favor | ||
of the more uniform syntax of module.run. | ||
|
||
Minion-side ACL | ||
--------------- | ||
|
||
Salt has had master-side ACL for the salt mine for some time, where the master | ||
configuration contained `mine_get` that specified which minions could request | ||
which functions. However, now you can specify which minions can access a function | ||
in the salt mine function definition itself (or when calling :py:func:`mine.send <salt.modules.mine.send>`). | ||
This targeting works the same as the generic minion targeting as specified | ||
:ref:`here <targeting>`. The parameters used are ``allow_tgt`` and ``allow_tgt_type``. | ||
See also :ref:`the documentation of the Salt Mine <mine_minion-side-acl>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.