Master Common configuration options :
1Interface: Specifies the address of bind (default 0.0.0.0)2 Publish_port: Specify a publishing port (default 4505)3 Ret_port: Specifies the result return port, corresponding to the master--port of the Minion configuration file (default is root)4 User : Specifies the running users of the master process and, if adjusted, needs to adjust permissions for some directories (default root)5 Timeout: Specifies timeout time, which is recommended if the Minion is large or the network condition is not good (default 5s)6 keep_jobs: By default, Minion execution results will return master,master cached to the local Cachedir directory.7 This parameter specifies how long the cache will take to view previous execution results, which consumes disk space (default 24h)8 Job_cache:master Whether the execution results are cached, if the scale is large (more than 5000 units), it is recommended to use other means to store jobs,9 Turn off this option (default is True)Ten FILE_RECV: Whether to allow Minion to transfer files to master (default flase) One file_roots: Specifies the file server directory, by default: A file_roots: - Base: --/srv/Salt the Pillar_roots: Specifies the pillar directory, which defaults to: - pillar_roots: - Base: --/srv/Pillar +Log_level: Execution log level, support log level has ' garbage ', ' Trace ', ' Debug ', 'Info' , ' warning ', ' error ', ' critical ' -(Default is Warning)
Minion Common configuration options:
1 Master: Specify Master Host (default salt)2 Master_port: Specifies the port that the authentication and execution results are sent to master, corresponding to the ret_port of the master profile (default 4506)3 ID: Specifies the identity of the minion, and the salt internally uses the ID as the identity (default is the host name)4 User: Users running Minion, because the installation package, start services and other operations require a privileged user, it is recommended to use root (default is root)5 cache_jobs:minion whether to cache execution results (default false)6Backup_mode: in file operation (file. Managed or File.recurse), if the file changes, specify the backup destination, the current valid value is Minion,7Backup in cachedir/File_backup directory, named with the original file name and timestamp (default disabled)8 providers: Specifies the module corresponding to the providers, if the Rhel series, the pkg corresponding providers is Yumpkg59 renderer: Specifies the renderer in the Configuration management system (default: Yaml_jinja)Ten file_clicent: Specifies where the file client defaults to (remote or local) to find files (the default is remote) One loglevel: Specify the log level A tcp_keepalive:minion whether keepalive check with master, zeromq3 the following version of KeepAlive Bug, will cause some cases of connection exception minion cannot re-connect master, -Recommended if conditional upgrade to ZEROMQ3 or later (default true)
Salt-master&minion Common configuration options