%PDF- %PDF-
| Direktori : /proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/thorium/ |
| Current File : //proc/thread-self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/thorium/timer.pyc |
�
���^c @@ s; d Z d d l m Z m Z m Z d d l Z d � Z d S( ug
Allow for flow based timers. These timers allow for a sleep to exist across
multiple runs of the flow
i ( t absolute_importt print_functiont unicode_literalsNc C@ s� i | d 6t d 6d d 6i d 6} t j � } d t k rG i t d <n | t d k rh | t d | <n | t d | | k r� t | d <| t d | <n | S( u
Wait for a given period of time, then fire a result of True, requiring
this state allows for an action to be blocked for evaluation based on
time
USAGE:
.. code-block:: yaml
hold_on_a_moment:
timer.hold:
- seconds: 30
u nameu resultu u commentu changesu timer( t Falset timet __context__t True( t namet secondst rett start( ( s6 /usr/lib/python2.7/site-packages/salt/thorium/timer.pyt hold s
( t __doc__t
__future__R R R R R ( ( ( s6 /usr/lib/python2.7/site-packages/salt/thorium/timer.pyt <module> s