- 论坛徽章:
- 1
|
- copy tomcat zip:
- file.copy:
- - name: /home/xxx/tomcat.zip
- - source: /srv/salt/zip/tomcat.zip
复制代码
报错图:
- ID: copy tomcat zip
- Function: file.copy
- Name: /home/xxx/tomcat.zip
- Result: False
- Comment: Source file "/srv/salt/zip/tomcat.zip" is not present
- Started: 01:01:29.757736
- Duration: 0.5 ms
- Changes:
复制代码
source 路径没问题的,有文件存在的。
我看官网说不让用salt://这种形式。
- Note
- The copy function accepts paths that are local to the Salt minion. This function does not support salt://, http://, or the other additional file paths that are supported by states.file.managed and states.file.recurse.
复制代码
问题出在哪里?奇怪了......
|
|