1,模块介绍
2,salt查看帮助文档:
[root@study02 ~]# salt ‘vas01‘ sys.doc
3,salt查看有哪些模块
[root@study02 ~]# salt ‘vas01‘ sys.list_modules vas01: - acl - aliases - alternatives - archive - artifactory - at - beacons - bigip - blockdev - btrfs - buildout - cloud - cmd - composer - config - consul - container_resource - cp - cpan - cron - data - defaults - devmap - dig - disk - django - dnsmasq - dnsutil - drbd - elasticsearch - environ - etcd - ethtool - event - extfs - file - gem - grains - group - grub - hashutil - hipchat - hosts - http - img - incron - infoblox - ini - inspector - introspect - ip - iptables - iwtools - jboss7 - jboss7_cli - k8s - key - keyboard - kmod - locale - locate - logrotate - lowpkg - lvm - match - mine - minion - modjk - mount - nagios_rpc - network - nfs3 - openstack_config - pagerduty - pagerduty_util - pam - pillar - pip - pkg - pkg_resource - publish - pushover - pyenv - quota - raid - random - random_org - rbenv - rest_sample_utils - ret - rsync - rvm - s3 - s6 - salt_proxy - saltutil - schedule - scsi - sdb - seed - selinux - serverdensity_device - service - shadow - slack - slsutil - smbios - smtp - sqlite3 - ssh - state - status - supervisord - sys - sysctl - sysfs - syslog_ng - system - telemetry - temp - test - timezone - uptime - user - vbox_guest - virtualenv - xfs - zenoss
4,salt查看有哪些模块
注:由于模块太多了,命令执行结果不再这里粘贴了,关于salt的模块可以参考官网:
https://docs.saltstack.com/en/latest/ref/modules/all/
或者参考这位兄弟总结的博客:
http://blog.csdn.net/chengxuyuanyonghu/article/details/64519496