⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
Salt
All Projects
Plugins
»
Salt
Overview
Activity
Roadmap
Issues
Repository
Download (5.41 KB)
Bug #18866
ยป example.json
example json -
Ben de Luca
, 03/14/2017 10:39 AM
{
"somehost.com"
:
{
"biosversion"
:
"080016"
,
"kernel"
:
"Linux"
,
"domain"
:
".com"
,
"biosreleasedate"
:
"10/05/2010"
,
"zmqversion"
:
"3.2.5"
,
"kernelrelease"
:
"3.10.0-123.8.1.el7.x86_64"
,
"selinux"
:
{
"enforced"
:
"Disabled"
,
"enabled"
:
false
},
"serialnumber"
:
"1234567890"
,
"ip_interfaces"
:
{
"enp2s0"
:
[
"12.12.12.12"
,
"fe80::225:3331:3333:3331"
],
"lo"
:
[
"127.0.0.1"
,
"::1"
],
"enp1s0"
:
[]
},
"shell"
:
"/bin/sh"
,
"mem_total"
:
23940
,
"saltversioninfo"
:
[
2015
,
5
,
0
,
0
],
"host"
:
"somehost"
,
"SSDs"
:
[],
"mdadm"
:
[],
"id"
:
"somehost.com"
,
"osrelease"
:
"7.0.1406"
,
"ps"
:
"ps -efH"
,
"systemd"
:
{
"version"
:
"208"
,
"features"
:
"+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ"
},
"retcode"
:
0
,
"ip6_interfaces"
:
{
"enp2s0"
:
[
"fe80::aaa:aaaa:aaaa:aaaa"
],
"lo"
:
[
"::1"
],
"enp1s0"
:
[]
},
"num_cpus"
:
16
,
"hwaddr_interfaces"
:
{
"enp2s0"
:
"00:aa:aa:aa:aa:21"
,
"lo"
:
"00:00:00:00:00:00"
,
"enp1s0"
:
"00:aa:aa:aa:aa:20"
},
"ip4_interfaces"
:
{
"enp2s0"
:
[
"12.12.12.12"
],
"lo"
:
[
"127.0.0.1"
],
"enp1s0"
:
[]
},
"osfullname"
:
"CentOS Linux"
,
"master"
:
"salt"
,
"ipv4"
:
[
"12.12.12.12"
,
"127.0.0.1"
],
"ipv6"
:
[
"::1"
,
"fe80::aaa:aaaa:aaaa:aaaa"
],
"cpu_flags"
:
[
"fpu"
,
"vme"
,
"de"
,
"pse"
,
"tsc"
,
"msr"
,
"pae"
,
"mce"
,
"cx8"
,
"apic"
,
"sep"
,
"mtrr"
,
"pge"
,
"mca"
,
"cmov"
,
"pat"
,
"pse36"
,
"clflush"
,
"dts"
,
"acpi"
,
"mmx"
,
"fxsr"
,
"sse"
,
"sse2"
,
"ss"
,
"ht"
,
"tm"
,
"pbe"
,
"syscall"
,
"nx"
,
"pdpe1gb"
,
"rdtscp"
,
"lm"
,
"constant_tsc"
,
"arch_perfmon"
,
"pebs"
,
"bts"
,
"rep_good"
,
"nopl"
,
"xtopology"
,
"nonstop_tsc"
,
"aperfmperf"
,
"pni"
,
"dtes64"
,
"monitor"
,
"ds_cpl"
,
"vmx"
,
"smx"
,
"est"
,
"tm2"
,
"ssse3"
,
"cx16"
,
"xtpr"
,
"pdcm"
,
"pcid"
,
"dca"
,
"sse4_1"
,
"sse4_2"
,
"popcnt"
,
"lahf_lm"
,
"ida"
,
"arat"
,
"epb"
,
"dtherm"
,
"tpr_shadow"
,
"vnmi"
,
"flexpriority"
,
"ept"
,
"vpid"
],
"localhost"
:
"somehost.com"
,
"lsb_distrib_id"
:
"CentOS Linux"
,
"fqdn_ip4"
:
[
"12.12.12.12"
],
"fqdn_ip6"
:
[],
"nodename"
:
"somehost.com"
,
"saltversion"
:
"2015.5.0"
,
"pythonpath"
:
[
"/usr/bin"
,
"/usr/lib64/python27.zip"
,
"/usr/lib64/python2.7"
,
"/usr/lib64/python2.7/plat-linux2"
,
"/usr/lib64/python2.7/lib-tk"
,
"/usr/lib64/python2.7/lib-old"
,
"/usr/lib64/python2.7/lib-dynload"
,
"/usr/lib64/python2.7/site-packages"
,
"/usr/lib64/python2.7/site-packages/gtk-2.0"
,
"/usr/lib/python2.7/site-packages"
],
"server_id"
:
173046215
,
"saltpath"
:
"/usr/lib/python2.7/site-packages/salt"
,
"osmajorrelease"
:
"7"
,
"os_family"
:
"RedHat"
,
"oscodename"
:
"Core"
,
"osfinger"
:
"CentOS Linux-7"
,
"pythonversion"
:
[
2
,
7
,
5
,
"final"
,
0
],
"manufacturer"
:
"Supermicro"
,
"roles"
:
[
"farm"
],
"num_gpus"
:
1
,
"virtual"
:
"physical"
,
"cpu_model"
:
"Intel(R) Xeon(R) CPU E5620 @ 2.40GHz"
,
"fqdn"
:
"somehost.com"
,
"pythonexecutable"
:
"/usr/bin/python"
,
"productname"
:
"X8DTT-H"
,
"osarch"
:
"x86_64"
,
"cpuarch"
:
"x86_64"
,
"osrelease_info"
:
[
7
,
0
,
1406
],
"locale_info"
:
{
"detectedencoding"
:
"UTF-8"
,
"defaultlanguage"
:
"en_GB"
,
"defaultencoding"
:
"UTF-8"
},
"gpus"
:
[
{
"model"
:
"MGA G200eW WPCM450"
,
"vendor"
:
"unknown"
}
],
"path"
:
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
,
"machine_id"
:
"a2810c14141649d68fc29c3c62053788"
,
"os"
:
"CentOS"
}
}
(1-1/1)
Loading...