mod
This commit is contained in:
27
etc/salt/master.d/master.conf
Normal file
27
etc/salt/master.d/master.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
# The network interface to bind to
|
||||
interface: 0.0.0.0
|
||||
|
||||
# The Request/Reply port
|
||||
# Для файлового сервера, аутентификации, возврата результатов и проч.
|
||||
ret_port: 4506
|
||||
|
||||
# The port minions bind to for commands, aka the publish port
|
||||
publish_port: 4505
|
||||
|
||||
# Писать статистику после выполнения команд
|
||||
cli_summary: true
|
||||
|
||||
# Объединение узлов в группы
|
||||
# Пробелы в выборках нужно обрабатывать
|
||||
# НЕ правильно - 'G@os:CentOS Strem'
|
||||
# Правильно - 'G@os:CentOS?Stream' или 'P@os:CentOS\sStream'
|
||||
nodegroups:
|
||||
alt: 'G@os:ALT'
|
||||
centos-stream: 'G@os:CentOS?Stream'
|
||||
centos: 'P@os:CentOS\sStream'
|
||||
debian: 'G@os:Debian'
|
||||
apt: 'deb-*'
|
||||
rpm: 'centos-*'
|
||||
|
||||
|
||||
worker_threads: 5
|
||||
6
etc/salt/minion.d/minion.conf
Normal file
6
etc/salt/minion.d/minion.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# Адрес мастера
|
||||
master: 10.1.4.1
|
||||
|
||||
# Уникальный идентификатор миньона
|
||||
# по-умолчанию берётся hostname
|
||||
id: centos-minion-1
|
||||
Reference in New Issue
Block a user