Add note in mine.get_docker docstring about new config item

This commit is contained in:
Erik Johnson 2018-06-17 21:10:17 -05:00
parent 4e456255c0
commit 04c55a9178
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -374,10 +374,17 @@ def flush():
def get_docker(interfaces=None, cidrs=None, with_container_id=False):
'''
Get all mine data for 'docker.get_containers' and run an aggregation
routine. The "interfaces" parameter allows for specifying which network
interfaces to select ip addresses from. The "cidrs" parameter allows for
specifying a list of cidrs which the ip address must match.
.. versionchanged:: 2017.7.7,2018.3.3
When :conf_minion:`docker.update_mine` is set to ``False``, no mine
data will be populated
.. versionchanged:: Fluorine
:conf_minion:`docker.update_mine` now defaults to ``False``
Get all mine data for :py:func:`docker.ps <salt.modules.dockermod.ps_>` and
run an aggregation routine. The ``interfaces`` parameter allows for
specifying the network interfaces from which to select IP addresses. The
``cidrs`` parameter allows for specifying a list of subnets which the IP
address must match.
with_container_id
Boolean, to expose container_id in the list of results