The module is used to manage object operations, which is also an entry for Saltstack to be managed via push, such as executing commands, viewing package installations, viewing service runs, and so on, all via the Saltstack module.
After installing master and Minion, many module will be installed and the supported module list can be viewed by the following command
Salt ' minion1 ' sys.list_modules
Minion1:
-ACL
-Aliases
-Alternatives
-Apache
-Archive
-Artifactory
-At
-Blockdev
-Bridge
-Btrfs
-Buildout
-Cloud
-cmd
-composer
-Config
-Container_resource
-CP
-Cron
-Data
-Defaults
-Devmap
-Dig
-Disk
-Django
-DNSMASQ
-Dnsutil
-DRBD
-Elasticsearch
-Environ
-ETCD
-Event
-Extfs
-File
-Gem
-Genesis
-Grains
-Group
-Grub
-Hashutil
-HG
-Hipchat
-Hosts
-HTTP
-img
-Incron
-INI
-Introspect
-IP
-Iptables
-JBOSS7
-JBOSS7_CLI
-Key
-Kmod
-LDAP
-Locale
-Locate
-Logrotate
-Lowpkg
-LVM
-LVs
-Match
-Mine
-MODJK
-Mount
-Network
-NFS3
-Openstack_config
-Pagerduty
-Partition
-Pillar
-Pip
-Pkg
-Pkg_resource
-Postfix
-Publish
-Pyenv
-Quota
-raid
-Random
-random_org
-Rbenv
-Redis
-RET
-Rsync
-Runit
-RVM
-S3
-Saltutil
-Schedule
-SCSI
-SDB
-Seed
-Serverdensity_device
-Service
-Shadow
-Slack
-SMTP
-Sqlite3
-SSH
-State
-Status
-Supervisord
-Sys
-Sysctl
-Syslog_ng
-System
-Test
-TimeZone
-TLS
-User
-Vbox_guest
-Virtualenv
-Webutil
-XFS
View all the function of a specified module
Salt ' minion1 ' sys.list_functions cmd
Minion1:
-Cmd.exec_code
-Cmd.exec_code_all
-Cmd.has_exec
-Cmd.retcode
-Cmd.run
-Cmd.run_all
-Cmd.run_chroot
-Cmd.run_stderr
-Cmd.run_stdout
-Cmd.script
-Cmd.script_retcode
-Cmd.shell
-Cmd.shells
-Cmd.tty
-Cmd.which
-Cmd.which_bin
To view the specified module usage
Salt ' minion1 ' sys.doc cmd
Saltstack default also supports the execution of multiple module,module at once, separated by a number
This article from "Eight Miles" blog, declined reprint!
Saltstack Study Notes 6-module