Foreman considers a domain and a DNS zone as the same thing. That is, if you are planning to manage a site where all the machines are of the form hostname.somewhere.com then the domain is somewhere.com. This allows Foreman to associate a puppet variable with a domain/site and automatically append this variable to all external node requests made by machines at that site.
Param name | Description |
---|---|
subnet_id
optional |
ID of subnet Validations:
|
location_id
optional |
Scope by locations Validations:
|
organization_id
optional |
Scope by organizations Validations:
|
search
optional |
filter results Validations:
|
order
optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page
optional |
Page number, starting at 1 Validations:
|
per_page
optional |
Number of results per page to return, 'all' to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
fullname | string | |
id | integer | |
location | string | |
location_id | integer | |
name | string | |
organization | string | |
organization_id | integer | |
params | string |
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Numerical ID or domain name Validations:
|
show_hidden_parameters
optional |
Display hidden parameter values Validations:
|
The fullname field is used for human readability in reports and other pages that refer to domains, and also available as an external node parameter
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
domain
required |
Validations:
|
domain[name]
required |
The full DNS domain name Validations:
|
domain[fullname]
optional , nil allowed |
Description of the domain Validations:
|
domain[dns_id]
optional , nil allowed |
DNS proxy ID to use within this domain Validations:
|
domain[domain_parameters_attributes]
optional , nil allowed |
Array of parameters (name, value) Validations:
|
domain[location_ids]
optional , nil allowed |
REPLACE locations with given ids Validations:
|
domain[organization_ids]
optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|
domain
required |
Validations:
|
domain[name]
optional |
The full DNS domain name Validations:
|
domain[fullname]
optional , nil allowed |
Description of the domain Validations:
|
domain[dns_id]
optional , nil allowed |
DNS proxy ID to use within this domain Validations:
|
domain[domain_parameters_attributes]
optional , nil allowed |
Array of parameters (name, value) Validations:
|
domain[location_ids]
optional , nil allowed |
REPLACE locations with given ids Validations:
|
domain[organization_ids]
optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id
optional |
Set the current location context for the request Validations:
|
organization_id
optional |
Set the current organization context for the request Validations:
|
id
required |
Validations:
|