网络浪子 发表于 2018-8-1 08:25:25

Saltstack常用模块及API之查看主机支持的模块清单

# salt 'minion001' sys.list_modules  
minion001:
  
    - acl
  
    - aliases
  
    - alternatives
  
    - apache
  
    - archive
  
    - at
  
    - blockdev
  
    - bridge
  
    - buildout
  
    - cloud
  
    - cmd
  
    - composer
  
    - config
  
    - cp
  
    - cron
  
    - daemontools
  
    - data
  
    - defaults
  
    - dig
  
    - disk
  
    - django
  
    - dnsmasq
  
    - dnsutil
  
    - environ
  
    - etcd
  
    - event
  
    - extfs
  
    - file
  
    - gem
  
    - genesis
  
    - grains
  
    - group
  
    - grub
  
    - hashutil
  
    - hg
  
    - hosts
  
    - img
  
    - incron
  
    - ini
  
    - introspect
  
    - ip
  
    - iptables
  
    - key
  
    - kmod
  
    - locale
  
    - locate
  
    - logrotate
  
    - lowpkg
  
    - lvm
  
    - match
  
    - mine
  
    - modjk
  
    - mount
  
    - network
  
    - openstack_config
  
    - pagerduty
  
    - partition
  
    - pillar
  
    - pip
  
    - pkg
  
    - pkg_resource
  
    - postfix
  
    - publish
  
    - pyenv
  
    - quota
  
    - raid
  
    - random
  
    - rbenv
  
    - ret
  
    - rsync
  
    - rvm
  
    - s3
  
    - saltutil
  
    - schedule
  
    - seed
  
    - serverdensity_device
  
    - service
  
    - shadow
  
    - smtp
  
    - sqlite3
  
    - ssh
  
    - state
  
    - status
  
    - supervisord
  
    - sys
  
    - sysctl
  
    - system
  
    - test
  
    - timezone
  
    - user
  
    - virtualenv
  
    - webutil
页: [1]
查看完整版本: Saltstack常用模块及API之查看主机支持的模块清单