我在我的Ubuntu OS上安装了salt master和minion。现在我想使用salt master安装tomcat服务器。 如何使用salt-master
安装Tomcat服务器我试过以下
tomcat:
archive:
- extracted
- name: /opt/
- source: http://tomcat.apache.org/download-70.cgi/apache-tomcat-7.0.47.tar.gz
- source_hash: md5=efbae77efad579b655ae175754cad3df
- archive_format: tar
- tar_options: z
- if_missing: /opt/apache-tomcat-7.0.47
像下面一样出局
ubuntu:
----------
ID: tomcat
Function: archive.extracted
Name: /opt/
Result: False
Comment: File sum set for file /var/cache/salt/minion/_opt_apache-tomcat-7.0.47.tar of efbae77efad579b655ae175754cad3dd does not match real sum of dbe64e2e9c509f949539b41447a875e5
Changes:
----------
diff:
New file
Summary
------------
Succeeded: 0
Failed: 1
------------
Total: 1
我不确切地知道这是否正确
任何人都可以帮助我
答案 0 :(得分:0)
输出全部说明
ubuntu:
----------
ID: tomcat
Function: archive.extracted
Name: /opt/
Result: False
Comment: File sum set for file /var/cache/salt/minion/_opt_apache-tomcat-7.0.47.tar of efbae77efad579b655ae175754cad3dd does not match real sum of dbe64e2e9c509f949539b41447a875e5
Changes:
----------
diff:
New file
特别是消息/var/cache/salt/minion/_opt_apache-tomcat-7.0.47.tar of efbae77efad579b655ae175754cad3dd does not match real sum of dbe64e2e9c509f949539b41447a875e5
。它告诉你在/var/cache/salt/minion/_opt_apache-tomcat-7.0.47.tar
缓存的http请求文件与你在状态元数据中提供的校验和不匹配。