Created
July 29, 2013 16:24
-
-
Save zspencer/6105559 to your computer and use it in GitHub Desktop.
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
[zee@prime ~]$ sudo salt 'hedgehog.makeheadspace.com' grains.items | |
hedgehog.makeheadspace.com: | |
cpu_flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good unfair_spinlock pni vmx cx16 popcnt hypervisor lahf_lm | |
cpu_model: QEMU Virtual CPU version 1.0 | |
cpuarch: x86_64 | |
defaultencoding: None | |
defaultlanguage: None | |
domain: makeheadspace.com | |
fqdn: hedgehog.makeheadspace.com | |
gpus: | |
{'model': 'SVGA II Adapter', 'vendor': 'unknown'} | |
host: hedgehog | |
id: hedgehog.makeheadspace.com | |
ip_interfaces: {'lo': ['127.0.0.1'], 'eth0': ['198.199.122.221']} | |
ipv4: | |
127.0.0.1 | |
198.199.122.221 | |
kernel: Linux | |
kernelrelease: 2.6.32-358.6.2.el6.x86_64 | |
localhost: hedgehog.makeheadspace.com | |
master: prime.makeheadspace.com | |
mem_total: 2006 | |
nodename: hedgehog.makeheadspace.com | |
num_cpus: 2 | |
num_gpus: 1 | |
os: CentOS | |
os_family: RedHat | |
oscodename: Final | |
osfullname: CentOS | |
osrelease: 6.4 | |
path: /sbin:/usr/sbin:/bin:/usr/bin | |
provider: digitalocean | |
ps: ps -efH | |
pythonpath: | |
/usr/bin | |
/usr/lib64/python26.zip | |
/usr/lib64/python2.6 | |
/usr/lib64/python2.6/plat-linux2 | |
/usr/lib64/python2.6/lib-tk | |
/usr/lib64/python2.6/lib-old | |
/usr/lib64/python2.6/lib-dynload | |
/usr/lib64/python2.6/site-packages | |
/usr/lib/python2.6/site-packages | |
pythonversion: 2.6.6.final.0 | |
roles: | |
discourseserver | |
saltminion | |
saltpath: /usr/lib/python2.6/site-packages/salt | |
saltversion: 0.16.0 | |
server_id: 1135193992 | |
shell: /bin/bash | |
virtual: kvm | |
[zee@prime ~]$ sudo salt 'hedgehog.makeheadspace.com' cmd.run 'echo $SHELL' | |
hedgehog.makeheadspace.com: | |
/bin/bash | |
[zee@prime ~]$ sudo salt 'hedgehog.makeheadspace.com' cmd.run 'echo $SHELL' runas=discourse | |
hedgehog.makeheadspace.com: | |
/bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment