%PDF- %PDF-
| Direktori : /proc/self/root/proc/thread-self/root/usr/lib/python2.7/site-packages/salt/states/ |
| Current File : //proc/self/root/proc/thread-self/root/usr/lib/python2.7/site-packages/salt/states/mssql_role.pyo |
�
���^c @@ sG d Z d d l m Z m Z m Z d � Z d d d � Z d � Z d S( u�
Management of Microsoft SQLServer Databases
===========================================
The mssql_role module is used to create
and manage SQL Server Roles
.. code-block:: yaml
yolo:
mssql_role.present
i ( t absolute_importt print_functiont unicode_literalsc C@ s
d t k S( u2
Only load if the mssql module is present
u
mssql.version( t __salt__( ( ( s: /usr/lib/python2.7/site-packages/salt/states/mssql_role.pyt __virtual__ s c K@ s� i | d 6i d 6t d 6d d 6} t d | | � rL d j | � | d <| St d rw d | d <d j | � | d <| St d
| d | d | | �} | t k r� t | d <| d c d
j | | � 7<| S| d c d j | � 7<d | d | <| S( u�
Ensure that the named database is present with the specified options
name
The name of the database to manage
owner
Adds owner using AUTHORIZATION option
Grants
Can only be a list of strings
u nameu changesu resultu u commentu mssql.role_existsu@ Role {0} is already present (Not going to try to set its grants)u testu Role {0} is set to be addedu mssql.role_createt ownert grantsu"