Skip to content

Instantly share code, notes, and snippets.

@korekhov
Created May 16, 2016 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save korekhov/5bc628c3fc9509b97e7ba561cc567e9c to your computer and use it in GitHub Desktop.
Save korekhov/5bc628c3fc9509b97e7ba561cc567e9c to your computer and use it in GitHub Desktop.
Foreman 1.10.2 update event data
{
"host": {
"ip": "xx.yy.0.11",
"environment_id": 1,
"environment_name": "production",
"last_report": "2016-05-16T22:25:23Z",
"mac": "52:54:00:ae:89:36",
"realm_id": null,
"realm_name": null,
"sp_mac": null,
"sp_ip": null,
"sp_name": null,
"domain_id": 1,
"domain_name": "domain.com",
"architecture_id": 1,
"architecture_name": "x86_64",
"operatingsystem_id": 4,
"operatingsystem_name": "CentOS 7.2",
"subnet_id": null,
"subnet_name": null,
"sp_subnet_id": null,
"ptable_id": null,
"ptable_name": null,
"medium_id": null,
"medium_name": null,
"build": false,
"comment": "",
"disk": null,
"installed_at": null,
"model_id": 1,
"model_name": "Standard PC (i440FX + PIIX, 1996)",
"hostgroup_id": null,
"hostgroup_name": null,
"owner_id": 3,
"owner_type": "User",
"enabled": true,
"puppet_ca_proxy_id": null,
"managed": false,
"use_image": null,
"image_file": "",
"uuid": "2db25250-b178-bc68-345b-9e0795587786",
"compute_resource_id": 1,
"compute_resource_name": "b01c-0cug.domain.com",
"compute_profile_id": null,
"compute_profile_name": null,
"capabilities": [
"build",
"image"
],
"provision_method": "build",
"puppet_proxy_id": 1,
"certname": "spc01.domain.com",
"image_id": null,
"image_name": null,
"created_at": "2016-03-14T19:58:26Z",
"updated_at": "2016-05-16T22:25:27Z",
"last_compile": "2016-05-16T22:25:26Z",
"global_status": 0,
"global_status_label": "OK",
"puppet_status": 0,
"configuration_status": 0,
"configuration_status_label": "No changes",
"name": "spc01.domain.com",
"id": 1,
"parameters": [],
"interfaces": [
{
"id": 1,
"name": "spc01.domain.com",
"ip": "xx.yy.0.11",
"mac": "52:54:00:ae:89:36",
"identifier": "eth0",
"primary": true,
"provision": true,
"type": "interface"
}
],
"puppetclasses": [],
"config_groups": [],
"all_parameters": [
{
"id": 2,
"name": "puppet_ca",
"value": "puppet-ca.domain.com"
},
{
"id": 1,
"name": "puppetmaster",
"value": "spc.domain.com"
},
{
"id": 3,
"name": "mtu",
"value": "9000"
},
{
"id": 5,
"name": "dns_secondary",
"value": "xx.yy.112.116"
},
{
"id": 4,
"name": "dns_primary",
"value": "xx.yy.112.115"
}
],
"all_puppetclasses": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment