%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/at.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l m Z e j e � Z
d � Z d d d e
d � Z d d � Z d d d e
d � Z d � Z d S(
u�
Configuration disposable regularly scheduled tasks for at.
==========================================================
The at state can be add disposable regularly scheduled tasks for your system.
i ( t absolute_importt print_functiont unicode_literalsN( t mapc C@ s
d t k S( u:
Most everything has the ability to support at(1)
u at.at( t __salt__( ( ( s2 /usr/lib/python2.7/site-packages/salt/states/at.pyt __virtual__ s c C@ s� i | d 6i d 6t d 6d d 6} | s1 | } n t d r_ d | d <d j | | � | d <| S| r� | s� t | d <d | d <| St t d d
| � d � d k r� d
j d
| � | d <| Sn | r;t d | � } | s t | d <d j | � | d <| Sd j | | | � | d <t d | | d
| d | �} n/ d j | | � | d <t d | | d
| �} d | k r�t | d � d k r�| d d | d <n d | k r�t | d <| d | d <n | S( u�
.. versionchanged:: 2017.7.0
Add a job to queue.
job : string
Command to run.
timespec : string
The 'timespec' follows the format documented in the at(1) manpage.
tag : string
Make a tag for the job.
user : string
The user to run the at job
.. versionadded:: 2014.1.4
unique_tag : boolean
If set to True job will not be added if a job with the tag exists.
.. versionadded:: 2017.7.0
.. code-block:: yaml
rose:
at.present:
- job: 'echo "I love saltstack" > love'
- timespec: '9:09 11/09/13'
- tag: love
- user: jam
u nameu changesu resultu u commentu testu! job {0} added and will run on {1}u- no tag provided and unique_tag is set to Trueu at.jobcheckt tagu jobsi u&