added a code-block example of how the yaml should be formatted

This commit is contained in:
Kris Anderson 2017-12-01 11:31:08 -08:00
parent b9ad4bba2d
commit 29e410c1ea

View file

@ -39,8 +39,19 @@ def present(name,
the user. Example:
grants:
foo_db: read
bar_db: all
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:
db_name: read
'''
create = False
ret = {'name': name,