今天,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
原文地址:http://hades02.blog.51cto.com/9768670/1881100