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 or 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.
參數名字 | 描述 |
---|---|
search 選填 |
Filter results Value: Must be String |
order 選填 |
Sort results Value: Must be String |
page 選填 |
編頁結果 Value: Must be String |
per_page 選填 |
每個請求的項目數量 Value: Must be String |
參數名字 | 描述 |
---|---|
id 必填 |
May be numerical id or domain name Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
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
參數名字 | 描述 |
---|---|
domain 必填 |
Value: Must be a Hash |
domain[name] 必填 |
The full DNS Domain name Value: Must be String |
domain[fullname] 選填 , 允許空值 |
描述區域的完整名稱 Value: Must be String |
domain[dns_id] 選填 , 允許空值 |
DNS Proxy to use within this domain Value: Must be a number. |
domain[domain_parameters_attributes] 選填 |
參數陣列(名稱、值) Value: Must be an array of any type |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |
domain 必填 |
Value: Must be a Hash |
domain[name] 選填 , 允許空值 |
The full DNS Domain name Value: Must be String |
domain[fullname] 選填 , 允許空值 |
描述區域的完整名稱 Value: Must be String |
domain[dns_id] 選填 , 允許空值 |
DNS Proxy to use within this domain Value: Must be a number. |
domain[domain_parameters_attributes] 選填 |
參數陣列(名稱、值) Value: Must be an array of any type |
參數名字 | 描述 |
---|---|
id 必填 |
Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space. |