saltsatck的核心模块states配置语言

salt 'node9' sys.list_modules
salt 'node9' sys.list_functions modename
salt 'node9' sys.doc modename.function

states 用于写脚本 这是底层模块
查看模块
salt 'node9' sys.list_state_modules
salt 'node9' sys.list_state_functions modename
salt 'node9' sys.state_doc modename.function

file模块
states
file.managed
jinjia
file.append
file.directory

cmd模块
cmd.run
unless
onlyif