%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/states/ |
Current File : //lib/python2.7/site-packages/salt/states/infoblox_a.pyc |
� ���^c @@ sJ d Z d d l m Z m Z m Z d d d e d � Z d d d � Z d S( u Infoblox A record managment. functions accept api_opts: api_verifyssl: verify SSL [default to True or pillar value] api_url: server to connect to [default to pillar value] api_username: [default to pillar value] api_password: [default to pillar value] i ( t absolute_importt print_functiont unicode_literalsc K@ su i | d 6t d 6d d 6i d 6} | s1 i } n d | k rT | j i | d 6� n d | k rw | j i | d 6� n t d d | d | d t | � } | d k r t d d | d d | d d t | � } | r t | d <d j | | d � | d <| Sn | r�| d } | s.t | d <d | d <| St d | | � } | s_t | d <d | d <| S| r�i | d 6| d <t d r�d | d <d | d <| St d | d d | | �} t | d <d | d <| Sn t d r�d | d <d j | d � | d <| St d d | | � } t d d | d | d t | � } t | d <d | d <i d d 6i | d 6| d 6d 6| d <| S( u� Ensure infoblox A record. When you wish to update a hostname ensure `name` is set to the hostname of the current record. You can give a new name in the `data.name`. State example: .. code-block:: yaml infoblox_a.present: - name: example-ha-0.domain.com - data: name: example-ha-0.domain.com ipv4addr: 123.0.31.2 view: Internal u nameu resultu u commentu changesu ipv4addru infoblox.get_at namet ipv4addrt allow_arrayuA ** please update the name: {0} to equal the updated data name {1}i uF infoblox record already created (supplied fields not ensured to match)u infoblox.diff_objectsuH supplied fields already updated (note: removing fields might not update)u diffu testu'