2014-04-05 33 views
0

我在Ubuntu操作系統上安裝了salt master和minion。現在我想安裝使用salt master的tomcat服務器。 我怎樣才能使用鹽主如何在ubuntu上使用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 

越來越outout像下面

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 

我不知道究竟這是正確的方式或不

安裝Tomcat服務器

任何人都可以幫我嗎

回答

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請求文件與你在狀態元數據中提供的校驗和不匹配。