请问saltstack 选择哪个版本比较好

我的环境为 redhat6.5 (主要) ,centos7.2(少部分)
已邀请:
当前的版本:(问题:)
[root@saltmaster212 fileserver]# salt --versions-report
Salt Version:
           Salt: 2018.3.0
Dependency Versions:
           cffi: Not Installed
       cherrypy: unknown
       dateutil: Not Installed
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.8.1
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: 1.2.5
      pycparser: Not Installed
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.13 (default, Mar 30 2018, 15:31:59)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 14.5.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.0.5
System Versions:
           dist: redhat 6.5 Santiago
         locale: UTF-8
        machine: x86_64
        release: 2.6.32-573.18.1.el6.x86_64
         system: Linux
        version: Red Hat Enterprise Linux Server 6.5 Santiago
问题:file.recurse 总是报错,UnicodeDecodeError: 'utf8' codec can't decode byte 0xb2

test.dzg.accepted.nginx1:
----------
          ID: /srv/www/app
    Function: file.directory
      Result: True
     Comment: The directory /srv/www/app is in the correct state
     Started: 15:08:52.990434
    Duration: 11.504 ms
     Changes:
----------
          ID: /srv/www/app/hwg
    Function: file.recurse
      Result: False
     Comment: Recurse failed: none of the specified sources were found
     Started: 15:08:53.002180
    Duration: 2537.358 ms
     Changes:
Summary for test.dzg.accepted.nginx1
------------
Succeeded: 1
Failed:    1
路径没有问题的,我同步文件可以,同步目录就不行, 请赵班长,推荐一个主流的稳定的版本 
salt-master-2016.11.3-1.el6.noarch.rpm  可以么?准备换这个

赵班长 - 不忘初心,方得始终!

UnicodeDecodeError: 'utf8' codec can't decode byte 0xb2  因为有中文字符。

最佳实践是,所有SLS增加 # -*- coding: utf-8 -*-

不错 xaidea.cn

要回复问题请先登录注册