Skip to content

Instantly share code, notes, and snippets.

Created April 14, 2016 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8f00d873d519210f92ab8468137dd74e to your computer and use it in GitHub Desktop.
Save anonymous/8f00d873d519210f92ab8468137dd74e to your computer and use it in GitHub Desktop.
[root@salt salt]# salt-ssh -i salt-test0002 state.apply network
salt-test0002:
----------
__master_opts__:
----------
__role:
master
_ssh_version:
5.3p1
argv:
- state.apply
- network
auth_mode:
1
auto_accept:
False
cache_sreqs:
True
cachedir:
/var/cache/salt/master
cli_summary:
False
client_acl:
----------
client_acl_blacklist:
----------
cluster_masters:
cluster_mode:
False
con_cache:
False
conf_file:
/root/salt/master
config_dir:
/root/salt
cython_enable:
False
default_include:
master.d/*.conf
default_top:
base
delimiter:
:
dummy_pub:
False
enable_gpu_grains:
False
enforce_mine_cache:
False
enumerate_proxy_minions:
False
env_order:
event_match_type:
startswith
event_publisher_pub_hwm:
1000
event_return:
event_return_blacklist:
event_return_queue:
0
event_return_whitelist:
ext_job_cache:
ext_pillar:
extension_modules:
/var/cache/salt/extmods
external_auth:
----------
failhard:
False
file_buffer_size:
1048576
file_client:
local
file_ignore_glob:
None
file_ignore_regex:
file_recv:
False
file_recv_max_size:
100
file_roots:
----------
base:
- /root/salt/states
fileserver_backend:
- roots
fileserver_followsymlinks:
True
fileserver_ignoresymlinks:
False
fileserver_limit_traversal:
False
force_color:
False
gather_job_timeout:
10
git_pillar_base:
master
git_pillar_branch:
master
git_pillar_env:
git_pillar_insecure_auth:
False
git_pillar_passphrase:
git_pillar_password:
git_pillar_privkey:
git_pillar_pubkey:
git_pillar_root:
git_pillar_ssl_verify:
False
git_pillar_user:
gitfs_base:
master
gitfs_env_blacklist:
gitfs_env_whitelist:
gitfs_insecure_auth:
False
gitfs_mountpoint:
gitfs_passphrase:
gitfs_password:
gitfs_privkey:
gitfs_pubkey:
gitfs_remotes:
gitfs_root:
gitfs_ssl_verify:
False
gitfs_user:
grain:
False
grain_pcre:
False
hard_crash:
False
hash_type:
md5
hgfs_base:
default
hgfs_branch_method:
branches
hgfs_env_blacklist:
hgfs_env_whitelist:
hgfs_mountpoint:
hgfs_remotes:
hgfs_root:
http_max_body:
107374182400
http_request_timeout:
3600.0
id:
salt.oa.ftc.hpelabs.net_master
ignore_host_keys:
True
interface:
0.0.0.0
ioflo_console_logdir:
ioflo_period:
0.01
ioflo_realtime:
True
ioflo_verbose:
0
ipc_mode:
ipc
ipv6:
False
jinja_lstrip_blocks:
False
jinja_trim_blocks:
False
job_cache:
True
job_cache_store_endtime:
False
keep_jobs:
24
key_logfile:
/var/log/salt/key
keysize:
2048
list:
False
log_datefmt:
%H:%M:%S
log_datefmt_logfile:
%Y-%m-%d %H:%M:%S
log_file:
log.txt
log_fmt_console:
[%(levelname)-8s] %(message)s
log_fmt_logfile:
%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s][%(process)d] %(message)s
log_granular_levels:
----------
log_level:
warning
loop_interval:
60
maintenance_floscript:
/usr/lib/python2.6/site-packages/salt/daemons/flo/maint.flo
master_floscript:
/usr/lib/python2.6/site-packages/salt/daemons/flo/master.flo
master_job_cache:
local_cache
master_pubkey_signature:
master_pubkey_signature
master_roots:
----------
base:
- /srv/salt-master
master_sign_key_name:
master_sign
master_sign_pubkey:
False
master_tops:
----------
master_use_pubkey_signature:
False
max_event_size:
1048576
max_minions:
0
max_open_files:
100000
minion_data_cache:
True
minionfs_blacklist:
minionfs_env:
base
minionfs_mountpoint:
minionfs_whitelist:
no_color:
False
nodegroup:
False
nodegroups:
----------
open_mode:
False
order_masters:
False
output_file_append:
False
outputter_dirs:
pcre:
False
peer:
----------
permissive_pki_access:
False
pidfile:
/var/run/salt-master.pid
pillar_cache:
False
pillar_cache_backend:
disk
pillar_cache_ttl:
3600
pillar_merge_lists:
False
pillar_opts:
False
pillar_roots:
----------
base:
- /srv/pillar
- /srv/spm/pillar
pillar_safe_render_error:
True
pillar_source_merging_strategy:
smart
pillar_version:
2
ping_on_rotate:
False
pki_dir:
/etc/salt/pki/master
preserve_minion_cache:
False
pub_hwm:
1000
publish_port:
4505
publish_session:
86400
queue_dirs:
raet_alt_port:
4511
raet_clear_remote_masters:
True
raet_clear_remotes:
False
raet_lane_bufcnt:
100
raet_main:
True
raet_mutable:
False
raet_port:
4506
raet_road_bufcnt:
2
rand_thin_dir:
False
range:
False
range_server:
range:80
raw_shell:
False
reactor:
reactor_refresh_interval:
60
reactor_worker_hwm:
10000
reactor_worker_threads:
10
refresh_cache:
False
renderer:
yaml_jinja
ret_port:
4506
root_dir:
/
roster:
flat
roster_file:
rotate_aes_key:
True
runner_dirs:
salt_event_pub_hwm:
2000
saltfile:
/root/salt/Saltfile
search:
search_index_interval:
3600
selected_output_option:
output_indent
selected_target_option:
None
serial:
msgpack
show_jid:
False
show_timeout:
True
sign_pub_messages:
False
sock_dir:
/var/run/salt/master
sqlite_queue_dir:
/var/cache/salt/master/queues
ssh_askpass:
False
ssh_identities_only:
False
ssh_key_deploy:
False
ssh_list_nodegroups:
----------
ssh_max_procs:
25
ssh_passwd:
ssh_port:
22
ssh_scan_ports:
22
ssh_scan_timeout:
0.01
ssh_sudo:
False
ssh_timeout:
60
ssh_user:
root
state_aggregate:
False
state_auto_order:
True
state_events:
False
state_output:
full
state_output_diff:
False
state_top:
top.sls
state_top_saltenv:
None
state_verbose:
True
static:
False
sudo_acl:
False
svnfs_branches:
branches
svnfs_env_blacklist:
svnfs_env_whitelist:
svnfs_mountpoint:
svnfs_remotes:
svnfs_root:
svnfs_tags:
tags
svnfs_trunk:
trunk
syndic_dir:
/var/cache/salt/master/syndics
syndic_event_forward_timeout:
0.5
syndic_jid_forward_cache_hwm:
100
syndic_master:
syndic_max_event_process_time:
0.5
syndic_wait:
5
tcp_master_pub_port:
4512
tcp_master_publish_pull:
4514
tcp_master_pull_port:
4513
tcp_master_workers:
4515
tgt:
salt-test0002
thin_dir:
/tmp/.sys-ops_254381_salt
timeout:
5
token_dir:
/var/cache/salt/master/tokens
token_expire:
43200
top_file_merging_strategy:
merge
transport:
zeromq
user:
root
verbose:
False
verify_env:
True
winrepo_branch:
master
winrepo_cachefile:
winrepo.p
winrepo_dir:
/srv/salt/win/repo
winrepo_dir_ng:
/srv/salt/win/repo-ng
winrepo_insecure_auth:
False
winrepo_passphrase:
winrepo_password:
winrepo_privkey:
winrepo_pubkey:
winrepo_remotes:
- https://github.com/saltstack/salt-winrepo.git
winrepo_remotes_ng:
- https://github.com/saltstack/salt-winrepo-ng.git
winrepo_ssl_verify:
False
winrepo_user:
wipe_ssh:
False
worker_floscript:
/usr/lib/python2.6/site-packages/salt/daemons/flo/worker.flo
worker_threads:
5
zmq_filtering:
False
zmq_monitor:
False
_caller_cachedir:
/var/cache/salt/master
_error:
Failed to return clean data
_ssh_version:
5.3p1
ext_pillar:
extension_modules:
/var/cache/salt/extmods
file_roots:
----------
base:
- /root/salt/states
id:
salt-test0002
pillar_roots:
----------
base:
- /srv/pillar
- /srv/spm/pillar
retcode:
0
stderr:
stdout:
_edbc7885e4f9aac9b83b35999b68d015148caf467b78fa39c05f669c0ff89878
{
"local": {
"fun_args": [],
"jid": "20160414181750034000",
"return": {
"output_file_append": false,
"ioflo_realtime": true,
"zmq_filtering": false,
"acceptance_wait_time": 10,
"recon_default": 1000,
"whitelist_modules": [],
"ioflo_console_logdir": "",
"winrepo_password": "",
"utils_dirs": [
"/var/cache/salt/minion/extmods/utils"
],
"state_top_saltenv": null,
"states_dirs": [],
"state_output_diff": false,
"fileserver_backend": [
"roots"
],
"outputter_dirs": [],
"raet_port": 4510,
"module_dirs": [],
"git_pillar_ssl_verify": false,
"tcp_keepalive": true,
"environment": null,
"state_auto_order": true,
"master_alive_interval": 0,
"__role": "minion",
"disable_modules": [],
"backup_mode": "",
"cluster_masters": [],
"recon_randomize": true,
"return": "",
"args_stdin": false,
"file_ignore_glob": [],
"auto_accept": true,
"open_mode": false,
"winrepo_ssl_verify": false,
"git_pillar_pubkey": "",
"state_verbose": true,
"verify_master_pubkey_sign": false,
"password": null,
"cluster_mode": false,
"startup_states": "",
"grains": {
"biosversion": "Bochs",
"kernel": "Linux",
"domain": "oa.ftc.hpelabs.net",
"osrelease": "6.7",
"kernelrelease": "2.6.32-573.el6.x86_64",
"selinux": {
"enforced": "Enforcing",
"enabled": true
},
"saltversioninfo": [
2015,
8,
8,
2
],
"ip_interfaces": {
"lo": [
"127.0.0.1",
"::1"
],
"eth0": [
"10.243.187.174",
"fe80::5054:ff:feca:94a4"
]
},
"shell": "/bin/bash",
"mem_total": 1877,
"osfinger": "CentOS-6",
"SSDs": [],
"mdadm": [],
"id": "salt-test0002",
"osmajorrelease": "6",
"ps": "ps -efH",
"server_id": 1874781286,
"uuid": "ffa89980-fb97-73be-6a9e-b4234db0085a",
"ip6_interfaces": {
"lo": [
"::1"
],
"eth0": [
"fe80::5054:ff:feca:94a4"
]
},
"num_cpus": 1,
"hwaddr_interfaces": {
"lo": "00:00:00:00:00:00",
"eth0": "52:54:00:ca:94:a4"
},
"init": "upstart",
"ip4_interfaces": {
"lo": [
"127.0.0.1"
],
"eth0": [
"10.243.187.174"
]
},
"osfullname": "CentOS",
"master": "salt",
"ipv4": [
"10.243.187.174",
"127.0.0.1"
],
"ipv6": [
"::1",
"fe80::5054:ff:feca:94a4"
],
"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",
"up",
"rep_good",
"unfair_spinlock",
"pni",
"vmx",
"cx16",
"x2apic",
"popcnt",
"hypervisor",
"lahf_lm",
"vnmi",
"ept"
],
"localhost": "salt-test0002.oa.ftc.hpelabs.net",
"lsb_distrib_id": "CentOS",
"fqdn_ip4": [],
"fqdn_ip6": [],
"nodename": "salt-test0002.oa.ftc.hpelabs.net",
"saltversion": "2015.8.8.2",
"lsb_distrib_release": "6.7",
"pythonpath": [
"/tmp/.sys-ops_254381_salt",
"/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/lib64/python2.6/site-packages/gtk-2.0",
"/usr/lib/python2.6/site-packages"
],
"saltpath": "/tmp/.sys-ops_254381_salt/salt",
"pythonversion": [
2,
6,
6,
"final",
0
],
"host": "salt-test0002",
"os_family": "RedHat",
"oscodename": "Final",
"path": "/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin",
"biosreleasedate": "01/01/2011",
"manufacturer": "QEMU",
"num_gpus": 1,
"virtual": "kvm",
"cpu_model": "QEMU Virtual CPU version 2.0.0",
"fqdn": "salt-test0002.oa.ftc.hpelabs.net",
"pythonexecutable": "/usr/bin/python2.6",
"productname": "Standard PC (i440FX + PIIX, 1996)",
"osarch": "x86_64",
"cpuarch": "x86_64",
"lsb_distrib_codename": "Final",
"osrelease_info": [
6,
7
],
"locale_info": {
"detectedencoding": "ISO8859-1",
"defaultlanguage": "en_US",
"defaultencoding": "ISO8859-1"
},
"gpus": [
{
"model": "GD 5446",
"vendor": "unknown"
}
],
"machine_id": "dd4f77e18af739376ea3319b0000000c",
"os": "CentOS"
},
"state_output": "full",
"file_recv_max_size": 100,
"pillar": {},
"fileserver_ignoresymlinks": false,
"retry_dns": 30,
"return_retry_timer": 5,
"pillar_roots": {
"base": [
"/srv/pillar",
"/srv/spm/pillar"
]
},
"output": "json",
"master_shuffle": false,
"range_server": "range:80",
"gitfs_pubkey": "",
"file_roots": {
"base": [
"/srv/salt",
"/srv/spm/salt"
]
},
"top_file_merging_strategy": "merge",
"root_dir": "/tmp/.sys-ops_254381_salt/running_data",
"log_granular_levels": {},
"git_pillar_insecure_auth": false,
"returner_dirs": [],
"gitfs_privkey": "",
"skip_grains": false,
"winrepo_remotes_ng": [
"https://github.com/saltstack/salt-winrepo-ng.git"
],
"arg": [],
"grains_dirs": [],
"config_dir": "/tmp/.sys-ops_254381_salt",
"state_top": "top.sls",
"transport": "zeromq",
"winrepo_privkey": "",
"gitfs_base": "master",
"render_dirs": [],
"pillar_opts": false,
"pillar_cache_ttl": 3600,
"gitfs_user": "",
"fileserver_limit_traversal": false,
"tcp_keepalive_intvl": -1,
"conf_file": "/tmp/.sys-ops_254381_salt/minion",
"top_file": "",
"zmq_monitor": false,
"tcp_pull_port": 4511,
"pidfile": "/tmp/.sys-ops_254381_salt/running_data/var/run/salt-minion.pid",
"metadata": true,
"raet_mutable": false,
"log_datefmt_logfile": "%Y-%m-%d %H:%M:%S",
"file_ignore_regex": [],
"winrepo_cachefile": "winrepo.p",
"schedule": {},
"raet_main": false,
"fun": "test.opts_pkg",
"cachedir": "/tmp/.sys-ops_254381_salt/running_data/var/cache/salt/minion",
"winrepo_passphrase": "",
"interface": "0.0.0.0",
"update_restart_services": [],
"recon_max": 10000,
"master_uri_format": "default",
"default_include": "minion.d/*.conf",
"hard_crash": false,
"http_request_timeout": 3600.0,
"rejected_retry": false,
"state_events": false,
"gitfs_ssl_verify": false,
"http_max_body": 107374182400,
"restart_on_error": false,
"winrepo_dir": "/srv/salt/win/repo",
"raet_road_bufcnt": 2,
"multiprocessing": true,
"winrepo_pubkey": "",
"ipc_mode": "ipc",
"keysize": 2048,
"profiling_enabled": false,
"master_sign_key_name": "master_sign",
"cython_enable": false,
"sls_list": [],
"beacons": {},
"git_pillar_env": "",
"ext_job_cache": "",
"hash_type": "md5",
"winrepo_source_dir": "salt://win/repo-ng/",
"always_verify_signature": false,
"force_color": false,
"modules_max_memory": -1,
"renderer": "yaml_jinja",
"gitfs_env_blacklist": [],
"random_reauth_delay": 10,
"gitfs_env_whitelist": [],
"git_pillar_base": "master",
"gitfs_insecure_auth": false,
"mine_interval": 60,
"git_pillar_privkey": "",
"__cli": "salt-call",
"extension_modules": "/tmp/.sys-ops_254381_salt/running_data/var/cache/salt/minion/extmods",
"minion_id_caching": true,
"providers": {},
"winrepo_user": "",
"grains_cache": false,
"file_recv": false,
"no_color": false,
"ipv6": false,
"verify_env": true,
"sudo_user": "",
"username": null,
"master_finger": "",
"syndic_finger": "",
"tcp_keepalive_idle": 300,
"gitfs_passphrase": "",
"log_fmt_logfile": "%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s][%(process)d] %(message)s",
"master_port": "4506",
"enable_zip_modules": false,
"ioflo_period": 0.10000000000000001,
"use_master_when_local": false,
"ping_interval": 0,
"auth_timeout": 60,
"local": true,
"tcp_keepalive_cnt": -1,
"raet_lane_bufcnt": 100,
"git_pillar_root": "",
"pillar_cache_backend": "disk",
"raet_alt_port": 4511,
"env_order": [],
"profiling_path": "/tmp/stats",
"caller": true,
"retcode_passthrough": false,
"doc": false,
"state_aggregate": false,
"winrepo_insecure_auth": false,
"update_url": false,
"grains_refresh_every": 0,
"master_type": "str",
"git_pillar_branch": "master",
"default_top": "base",
"winrepo_branch": "master",
"pillar_cache": false,
"winrepo_remotes": [
"https://github.com/saltstack/salt-winrepo.git"
],
"autoload_dynamic_modules": true,
"syndic_log_file": "/var/log/salt/syndic",
"file_buffer_size": 262144,
"log_fmt_console": "[%(levelname)-8s] %(message)s",
"random_master": false,
"log_datefmt": "%H:%M:%S",
"grains_cache_expiration": 300,
"minion_floscript": "/tmp/.sys-ops_254381_salt/salt/daemons/flo/minion.flo",
"id": "salt-test0002",
"caller_floscript": "/tmp/.sys-ops_254381_salt/salt/daemons/flo/caller.flo",
"event_publisher_pub_hwm": 1000,
"loop_interval": 1,
"log_level": "quiet",
"git_pillar_password": "",
"event_match_type": "startswith",
"git_pillar_user": "",
"auth_safemode": false,
"clean_dynamic_modules": true,
"disable_returners": [],
"cache_sreqs": true,
"autosign_timeout": 120,
"gitfs_root": "",
"test": false,
"gitfs_password": "",
"syndic_pidfile": "/var/run/salt-syndic.pid",
"failhard": false,
"raet_clear_remotes": true,
"raet_clear_remote_masters": true,
"file_client": "local",
"user": "root",
"git_pillar_passphrase": "",
"pillarenv": null,
"auth_tries": 7,
"cache_jobs": false,
"permissive_pki_access": false,
"cmd_safe": true,
"return_retry_timer_max": 10,
"winrepo_dir_ng": "/srv/salt/win/repo-ng",
"refresh_grains_cache": false,
"selected_output_option": "output_indent",
"salt_event_pub_hwm": 2000,
"pki_dir": "/tmp/.sys-ops_254381_salt/running_data/etc/salt/pki/minion",
"grains_run": false,
"max_event_size": 1048576,
"ioflo_verbose": 0,
"sock_dir": "/tmp/.sys-ops_254381_salt/running_data",
"tcp_pub_port": 4510,
"acceptance_wait_time_max": 0,
"master": "salt",
"fileserver_followsymlinks": true,
"log_file": "/tmp/.sys-ops_254381_salt/running_data/salt-call.log",
"gitfs_remotes": [],
"gitfs_mountpoint": ""
},
"retcode": 0,
"fun": "test.opts_pkg",
"id": "salt-test0002"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment