mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge branch '2017.7' of https://github.com/mz-bmcqueen/salt into 2017.7
This commit is contained in:
commit
b7ce154014
1 changed files with 12 additions and 0 deletions
|
@ -41,6 +41,18 @@ def present(name,
|
|||
grants:
|
||||
foo_db: read
|
||||
bar_db: all
|
||||
|
||||
**Example:**
|
||||
|
||||
.. code-block:: yaml
|
||||
example user present in influxdb:
|
||||
influxdb_user.present:
|
||||
- name: example
|
||||
- password: somepassword
|
||||
- admin: False
|
||||
- grants:
|
||||
foo_db: read
|
||||
bar_db: all
|
||||
'''
|
||||
create = False
|
||||
ret = {'name': name,
|
||||
|
|
Loading…
Add table
Reference in a new issue