盐调用输出发生在npm调试信息

时间:2016-11-29 11:41:59

标签: salt

盐调用输出发生在npm调试信息

当我对小兵salt-call sys.list_modules --output=json执行命令时, 输出是:

[INFO    ] Executing command 'npm --version' in directory '/root'
{
    "local": [
        "acl", 
        "aliases", 
        "alternatives", 
        "apache", 
        "archive", 
         ...
        "user", 
        "vbox_guest", 
        "virtualenv", 
        "webutil", 
        "xfs"
    ]
}

我不知道为什么它包含这个:

[INFO ] Executing command 'npm --version' in directory '/root'

Minion Log

tail -f /var/log/salt/minion

2016-11-29 18:04:37,669 [salt.modules.cmdmod][INFO    ][2598] Executing command 'npm --version' in directory '/root'
2016-11-29 18:05:33,742 [salt.modules.cmdmod][INFO    ][2804] Executing command 'npm --version' in directory '/root'
2016-11-29 18:06:15,550 [salt.modules.cmdmod][INFO    ][2946] Executing command 'npm --version' in directory '/root'
2016-11-29 18:07:28,020 [salt.modules.cmdmod][INFO    ][3053] Executing command 'npm --version' in directory '/root'
2016-11-29 18:07:56,166 [salt.modules.cmdmod][INFO    ][3102] Executing command 'npm --version' in directory '/root'
2016-11-29 18:08:59,328 [salt.modules.cmdmod][INFO    ][3238] Executing command 'npm --version' in directory '/root'
2016-11-29 18:09:41,690 [salt.modules.cmdmod][INFO    ][3312] Executing command 'npm --version' in directory '/root'

耐盐版

  

salt-minion 2016.3.1(Boron)

npm --version

  

1.3.6

0 个答案:

没有答案