%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/states/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/states/macdefaults.pyo |
�
���^c @@ sw d Z d d l m Z m Z m Z d d l Z d d l Z e j e � Z
d Z d � Z d d d � Z d d � Z d S( u\
Writing/reading defaults from a macOS minion
============================================
i ( t absolute_importt unicode_literalst print_functionNu macdefaultsc C@ s t j j j � r t St S( u
Only work on Mac OS
( t saltt utilst platformt is_darwint __virtualname__t False( ( ( s; /usr/lib/python2.7/site-packages/salt/states/macdefaults.pyt __virtual__ s u stringc C@ s� i | d 6t d 6d d 6i d 6} d d � } t d | | | � } | d k r� | t d
d g k rq | d k s� | t d
d g k r� | d k r� | d c d j | | | � 7<n� | d k r | | t � | | t � k r | d c d j | | | � 7<n� | | k r.| d c d j | | | � 7<nm t d | | | | | � } | d d k r~t | d <d j | d � | d <n d j | | | � | d d <| S( u�
Write a default to the system
name
The key of the given domain to write to
domain
The name of the domain to write to
value
The value to write to the given key
vtype
The type of value to be written, valid types are string, data, int[eger],
float, bool[ean], date, array, array-add, dict, dict-add
user
The user to write the defaults to
u nameu resultu u commentu changesc S@ s'