码迷,mamicode.com
首页 > Web开发 > 详细

[WARNING ] Key 'file_ignore_glob' with value None has an invalid type of NoneType

时间:2016-12-09 20:27:10      阅读:1508      评论:0      收藏:0      [点我收藏+]

标签:file   salt   ignore   

    今天,Ubuntu上安装了salt,执行报错

$ sudo salt ‘*‘ test.ping

[WARNING ] Key ‘file_ignore_glob‘ with value None has an invalid type of NoneType, a list is required for this value

[WARNING ] Key ‘file_ignore_glob‘ with value None has an invalid type of NoneType, a list is required for this value

[WARNING ] Key ‘file_ignore_glob‘ with value None has an invalid type of NoneType, a list is required for this value

[WARNING ] Key ‘file_ignore_glob‘ with value None has an invalid type of NoneType, a list is required for this value


    解决方法:

    /etc/salt/master的配置文件中,将file_ignore_glob的注释全部打开,重启master即可。


本文出自 “Hades博客” 博客,请务必保留此出处http://hades02.blog.51cto.com/9768670/1881100

[WARNING ] Key 'file_ignore_glob' with value None has an invalid type of NoneType

标签:file   salt   ignore   

原文地址:http://hades02.blog.51cto.com/9768670/1881100

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!