【发布时间】:2015-02-02 08:26:32
【问题描述】:
我在路径 /srv/salt/server3.sls 中有一个 sls 文件。 它的内容是
git:
pkg:
- installed
当我以
身份运行 SLS 时sudo salt 'ubuntu' state.sls server3
它给出了以下错误
ubuntu:
Data failed to compile:
----------
ID git in SLS server3 is not a dictionary
----------
ID pkg in SLS server3 is not a dictionary
我在这里做错了什么?请帮我解决这个问题
【问题讨论】:
标签: salt-stack