Advertisement
Guest User

Salt Master Conf

a guest
Oct 15th, 2016
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 25.85 KB | None | 0 0
  1. ##### Primary configuration settings #####
  2. ##########################################
  3. # This configuration file is used to manage the behavior of the Salt Master.
  4. # Values that are commented out but have no space after the comment are
  5. # defaults that need not be set in the config. If there is a space after the
  6. # comment that the value is presented as an example and is not the default.
  7.  
  8. # Per default, the master will automatically include all config files
  9. # from master.d/*.conf (master.d is a directory in the same directory
  10. # as the main master config file).
  11. #default_include: master.d/*.conf
  12.  
  13. # The address of the interface to bind to:
  14. #interface: 0.0.0.0
  15.  
  16. # Whether the master should listen for IPv6 connections. If this is set to True,
  17. # the interface option must be adjusted, too. (For example: "interface: '::'")
  18. #ipv6: False
  19.  
  20. # The tcp port used by the publisher:
  21. #publish_port: 4505
  22.  
  23. # The user under which the salt master will run. Salt will update all
  24. # permissions to allow the specified user to run the master. The exception is
  25. # the job cache, which must be deleted if this user is changed. If the
  26. # modified files cause conflicts, set verify_env to False.
  27. #user: root
  28.  
  29. # Max open files
  30. #
  31. # Each minion connecting to the master uses AT LEAST one file descriptor, the
  32. # master subscription connection. If enough minions connect you might start
  33. # seeing on the console (and then salt-master crashes):
  34. #   Too many open files (tcp_listener.cpp:335)
  35. #   Aborted (core dumped)
  36. #
  37. # By default this value will be the one of `ulimit -Hn`, ie, the hard limit for
  38. # max open files.
  39. #
  40. # If you wish to set a different value than the default one, uncomment and
  41. # configure this setting. Remember that this value CANNOT be higher than the
  42. # hard limit. Raising the hard limit depends on your OS and/or distribution,
  43. # a good way to find the limit is to search the internet. For example:
  44. #   raise max open files hard limit debian
  45. #
  46. #max_open_files: 100000
  47.  
  48. # The number of worker threads to start. These threads are used to manage
  49. # return calls made from minions to the master. If the master seems to be
  50. # running slowly, increase the number of threads.
  51. #worker_threads: 5
  52.  
  53. # The port used by the communication interface. The ret (return) port is the
  54. # interface used for the file server, authentication, job returns, etc.
  55. #ret_port: 4506
  56.  
  57. # Specify the location of the daemon process ID file:
  58. #pidfile: /var/run/salt-master.pid
  59.  
  60. # The root directory prepended to these options: pki_dir, cachedir,
  61. # sock_dir, log_file, autosign_file, autoreject_file, extension_modules,
  62. # key_logfile, pidfile:
  63. #root_dir: /
  64.  
  65. # Directory used to store public key data:
  66. #pki_dir: /etc/salt/pki/master
  67.  
  68. # Directory to store job and cache data:
  69. #cachedir: /var/cache/salt/master
  70.  
  71. # Directory for custom modules. This directory can contain subdirectories for
  72. # each of Salt's module types such as "runners", "output", "wheel", "modules",
  73. # "states", "returners", etc.
  74. #extension_modules: <no default>
  75.  
  76. # Verify and set permissions on configuration directories at startup:
  77. #verify_env: True
  78.  
  79. # Set the number of hours to keep old job information in the job cache:
  80. #keep_jobs: 24
  81.  
  82. # Set the default timeout for the salt command and api. The default is 5
  83. # seconds.
  84. #timeout: 5
  85.  
  86. # The loop_interval option controls the seconds for the master's maintenance
  87. # process check cycle. This process updates file server backends, cleans the
  88. # job cache and executes the scheduler.
  89. #loop_interval: 60
  90.  
  91. # Set the default outputter used by the salt command. The default is "nested".
  92. #output: nested
  93.  
  94. # Return minions that timeout when running commands like test.ping
  95. #show_timeout: True
  96.  
  97. # By default, output is colored. To disable colored output, set the color value
  98. # to False.
  99. #color: True
  100.  
  101. # Do not strip off the colored output from nested results and state outputs
  102. # (true by default).
  103. # strip_colors: False
  104.  
  105. # Set the directory used to hold unix sockets:
  106. #sock_dir: /var/run/salt/master
  107.  
  108. # The master can take a while to start up when lspci and/or dmidecode is used
  109. # to populate the grains for the master. Enable if you want to see GPU hardware
  110. # data for your master.
  111. # enable_gpu_grains: False
  112.  
  113. # The master maintains a job cache. While this is a great addition, it can be
  114. # a burden on the master for larger deployments (over 5000 minions).
  115. # Disabling the job cache will make previously executed jobs unavailable to
  116. # the jobs system and is not generally recommended.
  117. #job_cache: True
  118.  
  119. # Cache minion grains and pillar data in the cachedir.
  120. #minion_data_cache: True
  121.  
  122. # Passing very large events can cause the minion to consume large amounts of
  123. # memory. This value tunes the maximum size of a message allowed onto the
  124. # master event bus. The value is expressed in bytes.
  125. #max_event_size: 1048576
  126.  
  127. # By default, the master AES key rotates every 24 hours. The next command
  128. # following a key rotation will trigger a key refresh from the minion which may
  129. # result in minions which do not respond to the first command after a key refresh.
  130. #
  131. # To tell the master to ping all minions immediately after an AES key refresh, set
  132. # ping_on_rotate to True. This should mitigate the issue where a minion does not
  133. # appear to initially respond after a key is rotated.
  134. #
  135. # Note that ping_on_rotate may cause high load on the master immediately after
  136. # the key rotation event as minions reconnect. Consider this carefully if this
  137. # salt master is managing a large number of minions.
  138. #
  139. # If disabled, it is recommended to handle this event by listening for the
  140. # 'aes_key_rotate' event with the 'key' tag and acting appropriately.
  141. # ping_on_rotate: False
  142.  
  143. # If max_minions is used in large installations, the master might experience
  144. # high-load situations because of having to check the number of connected
  145. # minions for every authentication. This cache provides the minion-ids of
  146. # all connected minions to all MWorker-processes and greatly improves the
  147. # performance of max_minions.
  148. # con_cache: False
  149.  
  150. # The master can include configuration from other files. To enable this,
  151. # pass a list of paths to this option. The paths can be either relative or
  152. # absolute; if relative, they are considered to be relative to the directory
  153. # the main master configuration file lives in (this file). Paths can make use
  154. # of shell-style globbing. If no files are matched by a path passed to this
  155. # option, then the master will log a warning message.
  156. #
  157. # Include a config file from some other path:
  158. #include: /etc/salt/extra_config
  159. #
  160. # Include config from several files and directories:
  161. #include:
  162. #  - /etc/salt/extra_config
  163.  
  164.  
  165. #####        Security settings       #####
  166. ##########################################
  167. # Enable "open mode", this mode still maintains encryption, but turns off
  168. # authentication, this is only intended for highly secure environments or for
  169. # the situation where your keys end up in a bad state. If you run in open mode
  170. # you do so at your own risk!
  171. #open_mode: False
  172.  
  173. # Enable auto_accept, this setting will automatically accept all incoming
  174. # public keys from the minions. Note that this is insecure.
  175. #auto_accept: False
  176.  
  177. # Time in minutes that a incoming public key with a matching name found in
  178. # pki_dir/minion_autosign/keyid is automatically accepted. Expired autosign keys
  179. # are removed when the master checks the minion_autosign directory.
  180. # 0 equals no timeout
  181. # autosign_timeout: 120
  182.  
  183. # If the autosign_file is specified, incoming keys specified in the
  184. # autosign_file will be automatically accepted. This is insecure.  Regular
  185. # expressions as well as globing lines are supported.
  186. #autosign_file: /etc/salt/autosign.conf
  187.  
  188. # Works like autosign_file, but instead allows you to specify minion IDs for
  189. # which keys will automatically be rejected. Will override both membership in
  190. # the autosign_file and the auto_accept setting.
  191. #autoreject_file: /etc/salt/autoreject.conf
  192.  
  193. # Enable permissive access to the salt keys. This allows you to run the
  194. # master or minion as root, but have a non-root group be given access to
  195. # your pki_dir. To make the access explicit, root must belong to the group
  196. # you've given access to. This is potentially quite insecure. If an autosign_file
  197. # is specified, enabling permissive_pki_access will allow group access to that
  198. # specific file.
  199. #permissive_pki_access: False
  200.  
  201. # Allow users on the master access to execute specific commands on minions.
  202. # This setting should be treated with care since it opens up execution
  203. # capabilities to non root users. By default this capability is completely
  204. # disabled.
  205. #client_acl:
  206. #  larry:
  207. #    - test.ping
  208. #    - network.*
  209.  
  210. # Blacklist any of the following users or modules
  211. #
  212. # This example would blacklist all non sudo users, including root from
  213. # running any commands. It would also blacklist any use of the "cmd"
  214. # module. This is completely disabled by default.
  215. #
  216. #client_acl_blacklist:
  217. #  users:
  218. #    - root
  219. #    - '^(?!sudo_).*$'   #  all non sudo users
  220. #  modules:
  221. #    - cmd
  222.  
  223. # The external auth system uses the Salt auth modules to authenticate and
  224. # validate users to access areas of the Salt system.
  225. #external_auth:
  226. #  pam:
  227. #    fred:
  228. #      - test.*
  229.  
  230. # Time (in seconds) for a newly generated token to live. Default: 12 hours
  231. #token_expire: 43200
  232.  
  233. # Allow minions to push files to the master. This is disabled by default, for
  234. # security purposes.
  235. file_recv: True
  236.  
  237. # Set a hard-limit on the size of the files that can be pushed to the master.
  238. # It will be interpreted as megabytes. Default: 100
  239. #file_recv_max_size: 100
  240.  
  241. # Signature verification on messages published from the master.
  242. # This causes the master to cryptographically sign all messages published to its event
  243. # bus, and minions then verify that signature before acting on the message.
  244. #
  245. # This is False by default.
  246. #
  247. # Note that to facilitate interoperability with masters and minions that are different
  248. # versions, if sign_pub_messages is True but a message is received by a minion with
  249. # no signature, it will still be accepted, and a warning message will be logged.
  250. # Conversely, if sign_pub_messages is False, but a minion receives a signed
  251. # message it will be accepted, the signature will not be checked, and a warning message
  252. # will be logged. This behavior went away in Salt 2014.1.0 and these two situations
  253. # will cause minion to throw an exception and drop the message.
  254. # sign_pub_messages: False
  255.  
  256.  
  257. #####    Master Module Management    #####
  258. ##########################################
  259. # Manage how master side modules are loaded.
  260.  
  261. # Add any additional locations to look for master runners:
  262. #runner_dirs: []
  263.  
  264. # Enable Cython for master side modules:
  265. #cython_enable: False
  266.  
  267.  
  268. #####      State System settings     #####
  269. ##########################################
  270. # The state system uses a "top" file to tell the minions what environment to
  271. # use and what modules to use. The state_top file is defined relative to the
  272. # root of the base environment as defined in "File Server settings" below.
  273. #state_top: top.sls
  274.  
  275. # The master_tops option replaces the external_nodes option by creating
  276. # a plugable system for the generation of external top data. The external_nodes
  277. # option is deprecated by the master_tops option.
  278. #
  279. # To gain the capabilities of the classic external_nodes system, use the
  280. # following configuration:
  281. # master_tops:
  282. #   ext_nodes: <Shell command which returns yaml>
  283. #
  284. #master_tops: {}
  285.  
  286. # The external_nodes option allows Salt to gather data that would normally be
  287. # placed in a top file. The external_nodes option is the executable that will
  288. # return the ENC data. Remember that Salt will look for external nodes AND top
  289. # files and combine the results if both are enabled!
  290. #external_nodes: None
  291.  
  292. # The renderer to use on the minions to render the state data
  293. #renderer: yaml_jinja
  294.  
  295. # The Jinja renderer can strip extra carriage returns and whitespace
  296. # See http://jinja.pocoo.org/docs/api/#high-level-api
  297. #
  298. # If this is set to True the first newline after a Jinja block is removed
  299. # (block, not variable tag!). Defaults to False, corresponds to the Jinja
  300. # environment init variable "trim_blocks".
  301. # jinja_trim_blocks: False
  302. #
  303. # If this is set to True leading spaces and tabs are stripped from the start
  304. # of a line to a block. Defaults to False, corresponds to the Jinja
  305. # environment init variable "lstrip_blocks".
  306. # jinja_lstrip_blocks: False
  307.  
  308. # The failhard option tells the minions to stop immediately after the first
  309. # failure detected in the state execution, defaults to False
  310. #failhard: False
  311.  
  312. # The state_verbose and state_output settings can be used to change the way
  313. # state system data is printed to the display. By default all data is printed.
  314. # The state_verbose setting can be set to True or False, when set to False
  315. # all data that has a result of True and no changes will be suppressed.
  316. #state_verbose: True
  317.  
  318. # The state_output setting changes if the output is the full multi line
  319. # output for each changed state if set to 'full', but if set to 'terse'
  320. # the output will be shortened to a single line.  If set to 'mixed', the output
  321. # will be terse unless a state failed, in which case that output will be full.
  322. # If set to 'changes', the output will be full unless the state didn't change.
  323. #state_output: full
  324.  
  325.  
  326. #####      File Server settings      #####
  327. ##########################################
  328. # Salt runs a lightweight file server written in zeromq to deliver files to
  329. # minions. This file server is built into the master daemon and does not
  330. # require a dedicated port.
  331.  
  332. # The file server works on environments passed to the master, each environment
  333. # can have multiple root directories, the subdirectories in the multiple file
  334. # roots cannot match, otherwise the downloaded files will not be able to be
  335. # reliably ensured. A base environment is required to house the top file.
  336. # Example:
  337. # file_roots:
  338. #   base:
  339. #     - /srv/salt/
  340. #   dev:
  341. #     - /srv/salt/dev/services
  342. #     - /srv/salt/dev/states
  343. #   prod:
  344. #     - /srv/salt/prod/services
  345. #     - /srv/salt/prod/states
  346.  
  347. #file_roots:
  348. #  base:
  349. #    - /srv/salt
  350.  
  351. # The hash_type is the hash to use when discovering the hash of a file on
  352. # the master server. The default is md5, but sha1, sha224, sha256, sha384
  353. # and sha512 are also supported.
  354. #
  355. # Prior to changing this value, the master should be stopped and all Salt
  356. # caches should be cleared.
  357. #hash_type: md5
  358.  
  359. # The buffer size in the file server can be adjusted here:
  360. #file_buffer_size: 1048576
  361.  
  362. # A regular expression (or a list of expressions) that will be matched
  363. # against the file path before syncing the modules and states to the minions.
  364. # This includes files affected by the file.recurse state.
  365. # For example, if you manage your custom modules and states in subversion
  366. # and don't want all the '.svn' folders and content synced to your minions,
  367. # you could set this to '/\.svn($|/)'. By default nothing is ignored.
  368. #file_ignore_regex:
  369. #  - '/\.svn($|/)'
  370. #  - '/\.git($|/)'
  371.  
  372. # A file glob (or list of file globs) that will be matched against the file
  373. # path before syncing the modules and states to the minions. This is similar
  374. # to file_ignore_regex above, but works on globs instead of regex. By default
  375. # nothing is ignored.
  376. # file_ignore_glob:
  377. #  - '*.pyc'
  378. #  - '*/somefolder/*.bak'
  379. #  - '*.swp'
  380.  
  381. # File Server Backend
  382. #
  383. # Salt supports a modular fileserver backend system, this system allows
  384. # the salt master to link directly to third party systems to gather and
  385. # manage the files available to minions. Multiple backends can be
  386. # configured and will be searched for the requested file in the order in which
  387. # they are defined here. The default setting only enables the standard backend
  388. # "roots" which uses the "file_roots" option.
  389. #fileserver_backend:
  390. #  - roots
  391. #
  392. # To use multiple backends list them in the order they are searched:
  393. #fileserver_backend:
  394. #  - git
  395. #  - roots
  396.  
  397. fileserver_backend:
  398.  - roots
  399.   - git
  400.  
  401. #
  402. # Uncomment the line below if you do not want the file_server to follow
  403. # symlinks when walking the filesystem tree. This is set to True
  404. # by default. Currently this only applies to the default roots
  405. # fileserver_backend.
  406. #fileserver_followsymlinks: False
  407. #
  408. # Uncomment the line below if you do not want symlinks to be
  409. # treated as the files they are pointing to. By default this is set to
  410. # False. By uncommenting the line below, any detected symlink while listing
  411. # files on the Master will not be returned to the Minion.
  412. #fileserver_ignoresymlinks: True
  413. #
  414. # By default, the Salt fileserver recurses fully into all defined environments
  415. # to attempt to find files. To limit this behavior so that the fileserver only
  416. # traverses directories with SLS files and special Salt directories like _modules,
  417. # enable the option below. This might be useful for installations where a file root
  418. # has a very large number of files and performance is impacted. Default is False.
  419. # fileserver_limit_traversal: False
  420. #
  421. # The fileserver can fire events off every time the fileserver is updated,
  422. # these are disabled by default, but can be easily turned on by setting this
  423. # flag to True
  424. #fileserver_events: False
  425.  
  426. # Git File Server Backend Configuration
  427. #
  428. # Gitfs can be provided by one of two python modules: GitPython or pygit2. If
  429. # using pygit2, both libgit2 and git must also be installed.
  430.  
  431. gitfs_provider: gitpython
  432.  
  433. #
  434. # When using the git fileserver backend at least one git remote needs to be
  435. # defined. The user running the salt master will need read access to the repo.
  436. #
  437. # The repos will be searched in order to find the file requested by a client
  438. # and the first repo to have the file will return it.
  439. # When using the git backend branches and tags are translated into salt
  440. # environments.
  441. # Note:  file:// repos will be treated as a remote, so refs you want used must
  442. # exist in that repo as *local* refs.
  443. #gitfs_remotes:
  444. #  - git://github.com/saltstack/salt-states.git
  445. #  - file:///var/git/saltmaster
  446.  
  447. gitfs_remotes:
  448.  - https://github.com/wecreatellc/varnish-formula.git
  449.   # Have also tried git://github.com/wecreatellc/varnish-formula.git
  450.  
  451. #
  452. # The gitfs_ssl_verify option specifies whether to ignore ssl certificate
  453. # errors when contacting the gitfs backend. You might want to set this to
  454. # false if you're using a git backend that uses a self-signed certificate but
  455. # keep in mind that setting this flag to anything other than the default of True
  456. # is a security concern, you may want to try using the ssh transport.
  457. #gitfs_ssl_verify: True
  458. #
  459. # The gitfs_root option gives the ability to serve files from a subdirectory
  460. # within the repository. The path is defined relative to the root of the
  461. # repository and defaults to the repository root.
  462. #gitfs_root: somefolder/otherfolder
  463.  
  464.  
  465. #####         Pillar settings        #####
  466. ##########################################
  467. # Salt Pillars allow for the building of global data that can be made selectively
  468. # available to different minions based on minion grain filtering. The Salt
  469. # Pillar is laid out in the same fashion as the file server, with environments,
  470. # a top file and sls files. However, pillar data does not need to be in the
  471. # highstate format, and is generally just key/value pairs.
  472. #pillar_roots:
  473. #  base:
  474. #    - /srv/pillar
  475. #
  476. #ext_pillar:
  477. #  - hiera: /etc/hiera.yaml
  478. #  - cmd_yaml: cat /etc/salt/yaml
  479.  
  480. # The ext_pillar_first option allows for external pillar sources to populate
  481. # before file system pillar. This allows for targeting file system pillar from
  482. # ext_pillar.
  483. #ext_pillar_first: False
  484.  
  485. # The pillar_gitfs_ssl_verify option specifies whether to ignore ssl certificate
  486. # errors when contacting the pillar gitfs backend. You might want to set this to
  487. # false if you're using a git backend that uses a self-signed certificate but
  488. # keep in mind that setting this flag to anything other than the default of True
  489. # is a security concern, you may want to try using the ssh transport.
  490. #pillar_gitfs_ssl_verify: True
  491.  
  492. # The pillar_opts option adds the master configuration file data to a dict in
  493. # the pillar called "master". This is used to set simple configurations in the
  494. # master config file that can then be used on minions.
  495. #pillar_opts: True
  496.  
  497.  
  498. #####          Syndic settings       #####
  499. ##########################################
  500. # The Salt syndic is used to pass commands through a master from a higher
  501. # master. Using the syndic is simple, if this is a master that will have
  502. # syndic servers(s) below it set the "order_masters" setting to True, if this
  503. # is a master that will be running a syndic daemon for passthrough the
  504. # "syndic_master" setting needs to be set to the location of the master server
  505. # to receive commands from.
  506.  
  507. # Set the order_masters setting to True if this master will command lower
  508. # masters' syndic interfaces.
  509. #order_masters: False
  510.  
  511. # If this master will be running a salt syndic daemon, syndic_master tells
  512. # this master where to receive commands from.
  513. #syndic_master: masterofmaster
  514.  
  515. # This is the 'ret_port' of the MasterOfMaster:
  516. #syndic_master_port: 4506
  517.  
  518. # PID file of the syndic daemon:
  519. #syndic_pidfile: /var/run/salt-syndic.pid
  520.  
  521. # LOG file of the syndic daemon:
  522. #syndic_log_file: syndic.log
  523.  
  524.  
  525. #####      Peer Publish settings     #####
  526. ##########################################
  527. # Salt minions can send commands to other minions, but only if the minion is
  528. # allowed to. By default "Peer Publication" is disabled, and when enabled it
  529. # is enabled for specific minions and specific commands. This allows secure
  530. # compartmentalization of commands based on individual minions.
  531.  
  532. # The configuration uses regular expressions to match minions and then a list
  533. # of regular expressions to match functions. The following will allow the
  534. # minion authenticated as foo.example.com to execute functions from the test
  535. # and pkg modules.
  536. #peer:
  537. #  foo.example.com:
  538. #    - test.*
  539. #    - pkg.*
  540. #
  541. # This will allow all minions to execute all commands:
  542. #peer:
  543. #  .*:
  544. #    - .*
  545. #
  546. # This is not recommended, since it would allow anyone who gets root on any
  547. # single minion to instantly have root on all of the minions!
  548.  
  549. # Minions can also be allowed to execute runners from the salt master.
  550. # Since executing a runner from the minion could be considered a security risk,
  551. # it needs to be enabled. This setting functions just like the peer setting
  552. # except that it opens up runners instead of module functions.
  553. #
  554. # All peer runner support is turned off by default and must be enabled before
  555. # using. This will enable all peer runners for all minions:
  556. #peer_run:
  557. #  .*:
  558. #    - .*
  559. #
  560. # To enable just the manage.up runner for the minion foo.example.com:
  561. #peer_run:
  562. #  foo.example.com:
  563. #    - manage.up
  564.  
  565.  
  566. #####         Mine settings     #####
  567. ##########################################
  568. # Restrict mine.get access from minions. By default any minion has a full access
  569. # to get all mine data from master cache. In acl definion below, only pcre matches
  570. # are allowed.
  571. # mine_get:
  572. #   .*:
  573. #     - .*
  574. #
  575. # The example below enables minion foo.example.com to get 'network.interfaces' mine
  576. # data only, minions web* to get all network.* and disk.* mine data and all other
  577. # minions won't get any mine data.
  578. # mine_get:
  579. #   foo.example.com:
  580. #     - network.interfaces
  581. #   web.*:
  582. #     - network.*
  583. #     - disk.*
  584.  
  585.  
  586. #####         Logging settings       #####
  587. ##########################################
  588. # The location of the master log file
  589. # The master log can be sent to a regular file, local path name, or network
  590. # location. Remote logging works best when configured to use rsyslogd(8) (e.g.:
  591. # ``file:///dev/log``), with rsyslogd(8) configured for network logging. The URI
  592. # format is: <file|udp|tcp>://<host|socketpath>:<port-if-required>/<log-facility>
  593. #log_file: /var/log/salt/master
  594. #log_file: file:///dev/log
  595. #log_file: udp://loghost:10514
  596.  
  597. #log_file: /var/log/salt/master
  598. #key_logfile: /var/log/salt/key
  599.  
  600. # The level of messages to send to the console.
  601. # One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
  602. #log_level: warning
  603.  
  604. # The level of messages to send to the log file.
  605. # One of 'garbage', 'trace', 'debug', info', 'warning', 'error', 'critical'.
  606. #log_level_logfile: warning
  607.  
  608. # The date and time format used in log messages. Allowed date/time formating
  609. # can be seen here: http://docs.python.org/library/time.html#time.strftime
  610. #log_datefmt: '%H:%M:%S'
  611. #log_datefmt_logfile: '%Y-%m-%d %H:%M:%S'
  612.  
  613. # The format of the console logging messages. Allowed formatting options can
  614. # be seen here: http://docs.python.org/library/logging.html#logrecord-attributes
  615. #log_fmt_console: '[%(levelname)-8s] %(message)s'
  616. #log_fmt_logfile: '%(asctime)s,%(msecs)03.0f [%(name)-17s][%(levelname)-8s] %(message)s'
  617.  
  618. # This can be used to control logging levels more specificically.  This
  619. # example sets the main salt library at the 'warning' level, but sets
  620. # 'salt.modules' to log at the 'debug' level:
  621. #   log_granular_levels:
  622. #     'salt': 'warning',
  623. #     'salt.modules': 'debug'
  624. #
  625. #log_granular_levels: {}
  626.  
  627.  
  628. #####         Node Groups           #####
  629. ##########################################
  630. # Node groups allow for logical groupings of minion nodes. A group consists of a group
  631. # name and a compound target.
  632. #nodegroups:
  633. #  group1: 'L@foo.domain.com,bar.domain.com,baz.domain.com and bl*.domain.com'
  634. #  group2: 'G@os:Debian and foo.domain.com'
  635.  
  636.  
  637. #####     Range Cluster settings     #####
  638. ##########################################
  639. # The range server (and optional port) that serves your cluster information
  640. # https://github.com/ytoolshed/range/wiki/%22yamlfile%22-module-file-spec
  641. #
  642. #range_server: range:80
  643.  
  644.  
  645. #####     Windows Software Repo settings #####
  646. ##############################################
  647. # Location of the repo on the master:
  648. #win_repo: '/srv/salt/win/repo'
  649.  
  650. # Location of the master's repo cache file:
  651. #win_repo_mastercachefile: '/srv/salt/win/repo/winrepo.p'
  652.  
  653. # List of git repositories to include with the local repo:
  654. #win_gitrepos:
  655. #  - 'https://github.com/saltstack/salt-winrepo.git'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement