Infoblox CNAME management.
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]
salt.states.infoblox_cname.
absent
(name=None, canonical=None, **api_opts)¶Ensure the CNAME with the given name or canonical name is removed
salt.states.infoblox_cname.
present
(name=None, data=None, ensure_data=True, **api_opts)¶Ensure the CNAME with the given data is present.
CNAME of record
raw CNAME api data see: https://INFOBLOX/wapidoc
State example:
infoblox_cname.present:
- name: example-ha-0.domain.com
- data:
name: example-ha-0.domain.com
canonical: example.domain.com
zone: example.com
view: Internal
comment: Example comment
infoblox_cname.present:
- name: example-ha-0.domain.com
- data:
name: example-ha-0.domain.com
canonical: example.domain.com
zone: example.com
view: Internal
comment: Example comment
- api_url: https://INFOBLOX/wapi/v1.2.1
- api_username: username
- api_password: passwd