Current File : //lib/python2.7/site-packages/cloudinit/config/cc_rightscale_userdata.pyc |
�
oB�]c @ sq d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z e Z
d Z d Z d � Z
d S(
s
Rightscale Userdata
-------------------
**Summary:** support rightscale configuration hooks
This module adds support for RightScale configuration hooks to cloud-init.
RightScale adds a entry in the format ``CLOUD_INIT_REMOTE_HOOK=http://...`` to
ec2 user-data. This module checks for this line in the raw userdata and
retrieves any scripts linked by the RightScale user data and places them in the
user scripts configuration directory, to be run later by ``cc_scripts_user``.
.. note::
the ``CLOUD_INIT_REMOTE_HOOK`` config variable is present in the raw ec2
user data only, not in any cloud-config parts
**Internal name:** ``cc_rightscale_userdata``
**Module frequency:** per instance
**Supported distros:** all
**Config keys**::
CLOUD_INIT_REMOTE_HOOK=<url>
i����N( t PER_INSTANCE( t
url_helper( t util( t parse_qst cc_rightscale_userdatat CLOUD_INIT_REMOTE_HOOKc C s y | j � } Wn"