Parâmentros

Nome parâmetro Descrição
host
requerido

Validations:

  • Must be a Hash

host[name]
requerido

Validations:

  • Must be String

host[environment_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be String

host[ip]
opcional

não necessário se utilizar um subrede com proxy DHCP

Validations:

  • Must be String

host[mac]
opcional

necessário para host gerenciado que é bare metal, não necessário se é uma máquina virtual

Validations:

  • Must be String

host[architecture_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a number.

host[domain_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a number.

host[realm_id]
opcional

Validations:

  • Must be a number.

host[puppet_proxy_id]
opcional

Validations:

  • Must be a number.

host[puppetclass_ids]
opcional

Validations:

  • Must be an array of any type

host[operatingsystem_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be String

host[medium_id]
opcional

Requerido se não baseado na imagem provisionando e host é gerenciado e o valor não é herdado do grupo de host

Validations:

  • Must be String

host[ptable_id]
opcional

requerido se o host é gerenciado e uma partição customizada não foi definida

Validations:

  • Must be a number.

host[subnet_id]
opcional

necessário se o host é gerenciado e valor não é herdado do grupo de host

Validations:

  • Must be a number.

host[compute_resource_id]
opcional

nulo significa que o host é bare metal

Validations:

  • Must be a number.

host[root_pass]
opcional

requerido se o host é gerenciado e o valor não é herdado do grupo de host ou senha padrão em configurações

Validations:

  • Must be String

host[model_id]
opcional

Validations:

  • Must be a number.

host[hostgroup_id]
opcional

Validations:

  • Must be a number.

host[owner_id]
opcional

Validations:

  • Must be a number.

host[puppet_ca_proxy_id]
opcional

Validations:

  • Must be a number.

host[image_id]
opcional

Validations:

  • Must be a number.

host[host_parameters_attributes]
opcional

Host's parameters (array or indexed hash)

Validations:

  • Must be an Array of nested elements

host[host_parameters_attributes][name]
requerido

Name of the parameter

Validations:

  • Must be String

host[host_parameters_attributes][value]
requerido

Parameter value

Validations:

  • Must be String

host[build]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

host[enabled]
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

host[provision_method]
opcional

Validations:

  • Must be String

host[managed]
opcional

Sinal Verdadeiro / Falso se um host é gerenciado ou não . Nota: este valor também determina se são necessários vários parâmetros ou não

Validations:

  • Must be 'true' or 'false' or '1' or '0'

host[progress_report_id]
opcional

UUID a rastrear o status de tarefas de orquestração, GET /api/orchestration/:UUID/tasks

Validations:

  • Must be String

host[comment]
opcional

Informação adicionar sobre este host

Validations:

  • Must be String

host[capabilities]
opcional

Validations:

  • Must be String

host[compute_profile_id]
opcional

Validations:

  • Must be a number.

host[compute_attributes]
opcional

Validations:

  • Must be a Hash