小编Stu*_*ton的帖子

Salt无法使用管道或重定向执行命令

当我使用管道或重定向运行任何命令时,它会失败.

master和minion都在Digital Ocean上的新Ubuntu 14.04盒子上运行,以测试Salt.

两者都是使用引导脚本从git中提取最新分支来安装的.

这是我得到的:

# salt-call --local cmd.run "ps aux | grep hello" -l debug
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: XXX.XXX.XX
[DEBUG   ] Configuration file path: /etc/salt/minion
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Failed to import module debian_service. The exeception was No module named systemd. Another attempt will be made to try to resolve dependencies.
[DEBUG   ] compile template:
[ERROR   ] Template does not exist:
[INFO    ] …
Run Code Online (Sandbox Code Playgroud)

salt-stack

2
推荐指数
1
解决办法
3123
查看次数

标签 统计

salt-stack ×1