Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cliff-wakefield/b232ef51799908a0264eb7e95af09092 to your computer and use it in GitHub Desktop.
Save cliff-wakefield/b232ef51799908a0264eb7e95af09092 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 Facter Output
# facter -p
2016-08-28 23:24:56.390247 WARN puppetlabs.facter - skipping external facts for "/opt/puppetlabs/puppet/cache/facts.d": No such file or directory
aio_agent_version => 1.6.1
augeas => {
version => "1.4.0"
}
disks => {
xvda => {
size => "8.00 GiB",
size_bytes => 8589934592
}
}
dmi => {
bios => {
release_date => "05/12/2016",
vendor => "Xen",
version => "4.2.amazon"
},
chassis => {
type => "Other"
},
manufacturer => "Xen",
product => {
name => "HVM domU",
serial_number => "ec273cd9-a8a6-3703-7ac5-5eb6107756bc",
uuid => "EC273CD9-A8A6-3703-7AC5-5EB6107756BC"
}
}
ec2_metadata => {
ami-id => "ami-34281c57",
ami-launch-index => "0",
ami-manifest-path => "(unknown)",
block-device-mapping => {
ami => "/dev/sda1",
root => "/dev/sda1"
},
hostname => "ip-10-180-0-40.ap-southeast-2.compute.internal",
iam => {
info => "{
"Code" : "Success",
"LastUpdated" : "2016-08-28T23:12:36Z",
"InstanceProfileArn" : "arn:aws:iam::750105279227:instance-profile/AnexPrereqs-AnexIAMInstanceProfile-11O8QJAS4XO7S",
"InstanceProfileId" : "AIPAI6YKKPRVVX2XD6LCK"
}"
},
instance-action => "none",
instance-id => "i-0ec39d99",
instance-type => "t2.micro",
local-hostname => "ip-10-180-0-40.ap-southeast-2.compute.internal",
local-ipv4 => "10.180.0.40",
mac => "02:23:4f:a1:12:cd",
metrics => {
vhostmd => "<?xml version="1.0" encoding="UTF-8"?>"
},
network => {
interfaces => {
macs => {
02:23:4f:a1:12:cd => {
device-number => "0",
interface-id => "eni-cd7f3eb4",
local-hostname => "ip-10-180-0-40.ap-southeast-2.compute.internal",
local-ipv4s => "10.180.0.40",
mac => "02:23:4f:a1:12:cd",
owner-id => "750105279227",
security-group-ids => "sg-48731e2c
sg-76a8d712",
security-groups => "AnexVPCComponents-BastionAccessSG-D3B0D97N4HAL
AnexPuppetMaster-PuppetManagedSecurityGroup-I04PCWXCR17S",
subnet-id => "subnet-8c35c8e8",
subnet-ipv4-cidr-block => "10.180.0.0/24",
vpc-id => "vpc-32bd9157",
vpc-ipv4-cidr-block => "10.180.0.0/16",
vpc-ipv4-cidr-blocks => "10.180.0.0/16"
}
}
}
},
placement => {
availability-zone => "ap-southeast-2a"
},
profile => "default-hvm",
public-keys => {
0 => {
openssh-key => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDyrcZ7LVyYa9NpJIUxHRz9uhwStA5qQvlGi3PiIK7TmV7exi4y8LvQjmv6sxN5I9bL+JlkrsSu3rPuQuRc0Tscf9AkA8yIWV+EhmmCXI8U1juJUcg3jIwI8gbchKhl1cOUx74SADDzdStTi/hzIDnJn5L+pFEfR+G2DaLRdjKn5lQMOASDBAv2y3qYoVA96W9qsAbf1Pnv/K8NqFBCcvCQi7aElEMY5s/0G1Dq04Lo17w7yemEdMQY+b2qyybhrwgMhGsIDYKOZPozkLCNO7TG/ZSEtbu0APvGwtjuHlPqoPSc3XvOsh4PkLMFscFhOc+zDu3YiFJUhHJrDOOnKK2H cliffwakefield_acurus_rsa"
}
},
reservation-id => "r-a6c44f79",
security-groups => "AnexVPCComponents-BastionAccessSG-D3B0D97N4HAL
AnexPuppetMaster-PuppetManagedSecurityGroup-I04PCWXCR17S",
services => {
domain => "amazonaws.com",
partition => "aws"
}
}
facterversion => 3.4.1
filesystems => btrfs,ext2,ext3,ext4,iso9660,squashfs,vfat
identity => {
gid => 0,
group => "root",
privileged => true,
uid => 0,
user => "root"
}
is_virtual => true
kernel => Linux
kernelmajversion => 4.4
kernelrelease => 4.4.0-31-generic
kernelversion => 4.4.0
load_averages => {
15m => 0.05,
1m => 0.23,
5m => 0.1
}
memory => {
system => {
available => "848.57 MiB",
available_bytes => 889790464,
capacity => "14.35%",
total => "990.73 MiB",
total_bytes => 1038852096,
used => "142.16 MiB",
used_bytes => 149061632
}
}
mountpoints => {
/ => {
available => "6.73 GiB",
available_bytes => 7231541248,
capacity => "13.01%",
device => "/dev/xvda1",
filesystem => "ext4",
options => [
"rw",
"relatime",
"discard",
"data=ordered"
],
size => "7.74 GiB",
size_bytes => 8312655872,
used => "1.01 GiB",
used_bytes => 1081114624
}
}
networking => {
dhcp => "10.180.0.1",
domain => "ap-southeast-2.compute.internal",
fqdn => "ip-10-180-0-40.ap-southeast-2.compute.internal",
hostname => "ip-10-180-0-40",
interfaces => {
eth0 => {
bindings => [
{
address => "10.180.0.40",
netmask => "255.255.255.0",
network => "10.180.0.0"
}
],
bindings6 => [
{
address => "fe80::23:4fff:fea1:12cd",
netmask => "ffff:ffff:ffff:ffff::",
network => "fe80::"
}
],
dhcp => "10.180.0.1",
ip => "10.180.0.40",
ip6 => "fe80::23:4fff:fea1:12cd",
mac => "02:23:4f:a1:12:cd",
mtu => 9001,
netmask => "255.255.255.0",
netmask6 => "ffff:ffff:ffff:ffff::",
network => "10.180.0.0",
network6 => "fe80::"
},
lo => {
bindings => [
{
address => "127.0.0.1",
netmask => "255.0.0.0",
network => "127.0.0.0"
}
],
bindings6 => [
{
address => "::1",
netmask => "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
network => "::1"
}
],
ip => "127.0.0.1",
ip6 => "::1",
mtu => 65536,
netmask => "255.0.0.0",
netmask6 => "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
network => "127.0.0.0",
network6 => "::1"
}
},
ip => "10.180.0.40",
ip6 => "fe80::23:4fff:fea1:12cd",
mac => "02:23:4f:a1:12:cd",
mtu => 9001,
netmask => "255.255.255.0",
netmask6 => "ffff:ffff:ffff:ffff::",
network => "10.180.0.0",
network6 => "fe80::",
primary => "eth0"
}
os => {
architecture => "amd64",
distro => {
codename => "xenial",
description => "Ubuntu 16.04.1 LTS",
id => "Ubuntu",
release => {
full => "16.04",
major => "16.04"
}
},
family => "Debian",
hardware => "x86_64",
name => "Ubuntu",
release => {
full => "16.04",
major => "16.04"
},
selinux => {
enabled => false
}
}
partitions => {
/dev/xvda1 => {
filesystem => "ext4",
label => "cloudimg-rootfs",
mount => "/",
size => "7.99 GiB",
size_bytes => 8581692416,
uuid => "c9f66fd5-3940-44bd-ad36-a8e9297a2681"
}
}
path => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/opt/puppetlabs/bin/:/opt/puppetlabs/bin/
processors => {
count => 1,
isa => "x86_64",
models => [
"Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz"
],
physicalcount => 1
}
puppetversion => 4.6.1
ruby => {
platform => "x86_64-linux",
sitedir => "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.1.0",
version => "2.1.9"
}
ssh => {
dsa => {
fingerprints => {
sha1 => "SSHFP 2 1 a139278445f8629ddc4a6b36a1ee7f490c2d2e14",
sha256 => "SSHFP 2 2 25332bfa6f7be9e825c0cdc7f511239e995ba1cf74f74a676c93b4a9f2de4092"
},
key => "AAAAB3NzaC1kc3MAAACBAK1eAsundnE/vWzhnTL21JF9ypl8Au76eHuraC9a/T2uCnMafnTgbGxtI/OoQZamu/VWt3DkLo0c1+8oSjAs5rDKwCiFnKVSA2yIrfQwY3C7Rf+K/qPd0lQXvneyVIKZZ7JjxWbL5J42UiAgVrHs+OSAm/Q+geDrRFJ6OqyURGSJAAAAFQDk3z8++v0Om6BdVAfvrhJfjfwdAwAAAIEAhSG5dOfO2epa87N2EOUdG+DGtHgbCulj4P++Xyqbnvdyvza5jymO3rYQCUDcDN0JLRjdg/A9Uj67X3XcpqN3HcN7dBxybFMwY6xRjm+YompZsFKWwGJPrajpQKGWNJrj/ro2Gcvj5aIPrqSSL/0N1T8bIfScxCshUhdUh/bcivYAAACAWWFqtclx4gYrM/ndvFCSVVOIsO6VcIXT9Bji+RdXYNOBFx8VzHY6ZFmla/tT8l3EgUb6+CKUNePWzHOAhJdi3UzT4UlqKv23ptCRtcOMmas4uSPuBBEPVdiX+i8tafVY9svyN9Om/TiYIB5fYcnPRb2iayrAHhAwM29c2wCR32g="
},
ecdsa => {
fingerprints => {
sha1 => "SSHFP 3 1 a6a9916ab22480ef8995f29efe135c45cd5ae3a1",
sha256 => "SSHFP 3 2 e599c65f5560780067f5f9cf5981997b14270b48a8274a77a82d913b098d43d5"
},
key => "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJFq+5v/FikRx5eChNXRYOHSUmkv6X4Gz8v3SOKgc6zAp//Lti1e6WYSG8HBehXASSBA/pamu6KX+/CK0W8gkRo="
},
ed25519 => {
fingerprints => {
sha1 => "SSHFP 4 1 49a681db5c67dd96dbdbf9c10544f53ee41b7b17",
sha256 => "SSHFP 4 2 bddb7b38d75fcf3b80ba6a990ad5e367c9ab45089d0232a62e8d5ec0487c15d7"
},
key => "AAAAC3NzaC1lZDI1NTE5AAAAILm+gsZoO2nyus9DykQpXanDOOQBIXCk+Z5xaDZi7g5P"
},
rsa => {
fingerprints => {
sha1 => "SSHFP 1 1 8cd1c3ec1f54c44124f14183f125ab27756dc50a",
sha256 => "SSHFP 1 2 4348481946882848adf46cb3390dbe9c114418347b4b1df2b9e2b67197baba14"
},
key => "AAAAB3NzaC1yc2EAAAADAQABAAABAQDshkrAQF9YPPMd1nZYEkYZRXBKp6ZlSQpKCAGUa6AMQE/rZC4lViqtW98Uf8eeGAz3U1WGyXTRKrcfN+m0mvGeRxhoJuE5iNaqhi58eKwUBYMnzDngvOx9xzz+uYmWWbX5Ln17NvOUnnXbp5YCmfJUYcuAex8G/ZXgimdQas43GlHstI1zqRVMQYu2M4luzUsZuVBFgWeP1XyNxG35Nm64jmnH4tZfgCWJgDfybsk1zsaCKYntkkBBRxt5P+9ci7qDzG2prn7nJ0PEvAoT/m9WzLzji9DiQd5BCDFu7WBy5rc5hgvzgiw6TqI4EbakaY7D4515G/JAMXyOCJiag4Fr"
}
}
system_uptime => {
days => 0,
hours => 0,
seconds => 704,
uptime => "0:11 hours"
}
timezone => UTC
virtual => xenhvm
@ghoneycutt
Copy link

Interesting that this is missing the legacy facts such as osfamily. Are those still available with your version of facter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment