Created
April 26, 2013 19:54
-
-
Save fnichol/5469998 to your computer and use it in GitHub Desktop.
Razor node metadata on Chef Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ knife node show web1.razornet.local --medium | |
Here is my node’s output (note the “razor_metadata” and “razor_attributes” hashes): | |
root@chef:~# knife node show web1.razornet.local --medium | |
Node Name: web1.razornet.local | |
Environment: _default | |
FQDN: web1.razornet.local | |
IP: 172.16.33.130 | |
Run List: role[web_server] | |
Roles: web_server | |
Recipes: apache2, chef-client, chef-client::delete_validation | |
Platform: ubuntu 12.04 | |
Tags: | |
Attributes: | |
chef_client: | |
bin: /usr/bin/chef-client | |
razor_attributes: | |
architecture: i386 | |
boardmanufacturer: Oracle Corporation | |
boardproductname: VirtualBox | |
boardserialnumber: 0 | |
domain: razornet.local | |
fqdn: mk0800274EA18E.razornet.local | |
hardwareisa: unknown | |
hardwaremodel: i686 | |
hostname: mk0800274EA18E | |
interfaces: dummy0,eth0,lo | |
ipaddress: 172.16.33.129 | |
ipaddress_eth0: 172.16.33.129 | |
ipaddress_lo: 127.0.0.1 | |
is_virtual: true | |
macaddress: D6:31:B8:76:32:3D | |
macaddress_dummy0: D6:31:B8:76:32:3D | |
macaddress_eth0: 08:00:27:4E:A1:8E | |
manufacturer: innotek GmbH | |
memorysize: 247.58 MB | |
memorytotal: 247.58 MB | |
mk_hw_bus_description: Motherboard | |
mk_hw_bus_physical_id: 0 | |
mk_hw_bus_product: VirtualBox | |
mk_hw_bus_serial: 0 | |
mk_hw_bus_vendor: Oracle Corporation | |
mk_hw_bus_version: 1.2 | |
mk_hw_disk0_bus_info: scsi@0:0.0.0 | |
mk_hw_disk0_configuration: ansiversion=5 | |
mk_hw_disk0_description: ATA Disk | |
mk_hw_disk0_logical_name: /dev/sda | |
mk_hw_disk0_physical_id: 0.0.0 | |
mk_hw_disk0_product: VBOX HARDDISK | |
mk_hw_disk0_serial: VBa22a8d81-026e6eb2 | |
mk_hw_disk0_size: 10140MiB (10GB) | |
mk_hw_disk0_version: 1.0 | |
mk_hw_disk_count: 1 | |
mk_hw_fw_capabilities: isa pci cdboot bootselect int9keyboard int10video acpi | |
mk_hw_fw_date: 12/01/2006 | |
mk_hw_fw_description: BIOS | |
mk_hw_fw_physical_id: 0 | |
mk_hw_fw_size: 128KiB | |
mk_hw_fw_vendor: innotek GmbH | |
mk_hw_fw_version: VirtualBox | |
mk_hw_lscpu_Architecture: i686 | |
mk_hw_lscpu_BogoMIPS: 5004.54 | |
mk_hw_lscpu_Byte_Order: Little Endian | |
mk_hw_lscpu_CPU_MHz: 2501.062 | |
mk_hw_lscpu_CPU_family: 6 | |
mk_hw_lscpu_CPU_op-modes: 32-bit, 64-bit | |
mk_hw_lscpu_CPU_sockets: 1 | |
mk_hw_lscpu_L1d_cache: 32K | |
mk_hw_lscpu_Model: 58 | |
mk_hw_lscpu_Stepping: 9 | |
mk_hw_lscpu_Vendor_ID: GenuineIntel | |
mk_hw_mem_description: System memory | |
mk_hw_mem_physical_id: 2 | |
mk_hw_mem_size: 247MiB | |
mk_hw_nic0_bus_info: pci@0000:00:03.0 | |
mk_hw_nic0_capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation | |
mk_hw_nic0_capacity: 1Gbit/s | |
mk_hw_nic0_clock: 66MHz | |
mk_hw_nic0_configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full firmware=N/A ip=172.16.33.129 latency=32 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s | |
mk_hw_nic0_description: Ethernet interface | |
mk_hw_nic0_logical_name: eth0 | |
mk_hw_nic0_physical_id: 3 | |
mk_hw_nic0_serial: 08:00:27:4e:a1:8e | |
mk_hw_nic0_size: 1Gbit/s | |
mk_hw_nic0_version: 02 | |
mk_hw_nic0_width: 32 bits | |
mk_hw_nic_count: 1 | |
netmask: 255.255.255.0 | |
netmask_eth0: 255.255.255.0 | |
netmask_lo: 255.0.0.0 | |
network_eth0: 172.16.33.0 | |
network_lo: 127.0.0.0 | |
physicalprocessorcount: 1 | |
processor0: Intel(R) Core(TM) i7-3667U CPU @ 2.00GHz | |
processorcount: 1 | |
productname: VirtualBox | |
serialnumber: 0 | |
type: Other | |
virtual: virtualbox | |
razor_metadata: | |
razor_active_model_uuid: 6P4f9lJdEYXBUox0w6Ecps | |
razor_model_description: Ubuntu Precise Model | |
razor_model_name: ubuntu_precise | |
razor_model_template: linux_deploy | |
razor_model_uuid: 79Z4JDep7OECt6aT8Ei8Qi | |
razor_node_uuid: 6IizwQEboHWt1qkxoutVyC | |
razor_policy_count: 1 | |
razor_tags: role__web_server,OracleCorporation,nics_1,virtualbox_vm,memsize_247MiB | |
tags: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment