double-z
11/21/2014 - 4:19 AM

registered-machine-entry.json

registered-machine-entry.json

$ knife data bag show registry one -Fj
{
  "id": "one",
  "machine_options": {
    "transport_options": {
      "host": "192.168.33.22",
      "username": "provisioner",
      "ssh_options": {
        "user": "provisioner",
        "keys": [
          "/home/zz/metal/chef-metal/docs/examples/registry/192-168-33-22.pem"
        ]
      },
      "options": {
        "ssh_pty_enable": true,
        "prefix": "sudo "
      }
    }
  },
  "registry_options": {
    "machine_type": "rails_server",
    "memory": "239",
    "swap": "767",
    "cpu_count": "1",
    "ip_address": "192.168.33.22",
    "subnet": "255.255.255.0",
    "broadcast": "192.168.33.255",
    "mac_address": "88:00:27:48:6b:51",
    "root_disk_space": "5"
  },
  "location": {
    "registry_machine_path": "/home/zz/metal/chef-metal/docs/examples/registry/one.json",
    "registry_driver": "ssh",
    "driver_url": "ssh:/home/zz/metal/chef-metal/docs/examples/.chef/metal_ssh",
    "matched_registry_file": "/home/zz/metal/chef-metal/docs/examples/registry/192-168-33-22.json",
    "matched_registry_file_id": "192-168-33-22",
    "matched_registry_file_at": "2014-11-20 23:13:46 -0500"
  },
  "status": "allocated"
}