%PDF- %PDF-
Direktori : /usr/lib/python2.7/site-packages/salt/utils/ |
Current File : //usr/lib/python2.7/site-packages/salt/utils/systemd.pyc |
� ���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l Z e j e � Z d d � Z d d � Z d d � Z d S( u% Contains systemd related help files i ( t absolute_importt print_functiont unicode_literalsN( t SaltInvocationErrorc C@ s� d } t | t � r, | | k rG | | Sn | d k rG t d � � n y t t j d � � } Wn t k ry t } n Xy | | | <Wn t k r� n X| S( u@ Return True if the system was booted with systemd, False otherwise. If the loader context dict ``__context__`` is passed, this function will set the ``salt.utils.systemd.booted`` key to represent if systemd is running and keep the logic below from needing to be run again during the same salt run. u salt.utils.systemd.bootedu&