�
oB�]c@sKdZddlZddlmZddlmZeZdZd�ZdS(s�
Scripts Per Once
----------------
**Summary:** run one time scripts
Any scripts in the ``scripts/per-once`` directory on the datasource will be run
only once. Changes to the instance will not force a re-run. The only way to
re-run these scripts is to run the clean subcommand and reboot. Scripts will
be run in alphabetical order. This module does not accept any config keys.
**Internal name:** ``cc_scripts_per_once``
**Module frequency:** per once
**Supported distros:** all
i����N(tutil(tPER_ONCEsper-oncecCs`tjj|j�dt�}ytj|�Wn*tk
r[|jd|t|��nXdS(Ntscriptss"Failed to run module %s (%s in %s)( tostpathtjoint get_cpatht
SCRIPT_SUBDIRRtrunpartst Exceptiontwarning(tnamet_cfgtcloudtlogt_argst
runparts_path((sH/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pythandle%s
( t__doc__Rt cloudinitRtcloudinit.settingsRt frequencyRR(((sH/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_per_once.pyt<module>s |