%PDF- %PDF-
| Direktori : /proc/thread-self/root/proc/3522530/root/lib/python2.7/site-packages/salt/states/ |
| Current File : //proc/thread-self/root/proc/3522530/root/lib/python2.7/site-packages/salt/states/grafana4_org.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l j j Z d d l m Z d d l
m Z d d l m
Z
d � Z d d d d d d d d d d d d � Z d d
� Z d d � Z d S( u
Manage Grafana v4.0 orgs
.. versionadded:: 2017.7.0
:configuration: This state requires a configuration profile to be configured
in the minion config, minion pillar, or master config. The module will use
the 'grafana' key by default, if defined.
Example configuration using basic authentication:
.. code-block:: yaml
grafana:
grafana_url: http://grafana.localhost
grafana_user: admin
grafana_password: admin
grafana_timeout: 3
Example configuration using token based authentication:
.. code-block:: yaml
grafana:
grafana_url: http://grafana.localhost
grafana_token: token
grafana_timeout: 3
.. code-block:: yaml
Ensure foobar org is present:
grafana4_org.present:
- name: foobar
- theme: ""
- home_dashboard_id: 0
- timezone: "utc"
- address1: ""
- address2: ""
- city: ""
- zip_code: ""
- state: ""
- country: ""
i ( t absolute_importt print_functiont unicode_literalsN( t deep_diff( t HTTPError( t string_typesc C@ s
d t k S( u) Only load if grafana4 module is availableu grafana4.get_org( t __salt__( ( ( s<