[root@salt]# salt 'minion-win' state.highstate -t 60
minion-win:
----------
State: - file
Name: c:\file.txt
Function: managed
Result: False
Comment: Source file salt://test/file.txt not found
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total: 1
[root@salt]# salt 'minion-win' state.sls test.pushfile -t 60
minion-win:
----------
State: - file
Name: c:\file.txt
Function: managed
Result: True
Comment: File c:\file.txt updated
Changes: diff: New file
[root@salt]# cat test/pushfile.sls
c:/file.txt:
file:
- managed
- source: salt://test/file.txt
[root@salt]# salt --versions-report
Salt: 0.17.2
Python: 2.6.8 (unknown, Nov 7 2012, 14:47:34)
Jinja2: 2.5.5
M2Crypto: 0.21.1
msgpack-python: 0.1.12
msgpack-pure: Not Installed
pycrypto: 2.3
PyYAML: 3.08
PyZMQ: 2.1.9
ZMQ: 2.2.0
[root@salt]# salt-ssh 'minion-rhel' state.highstate
minion-rhel:
----------
file_|-/tmp/file.txt_|-/tmp/file.txt_|-managed:
----------
__run_num__:
0
changes:
----------
comment:
Source file salt://test/file.txt not found
name:
/tmp/file.txt
result:
False
[root@salt]# salt-ssh 'minion-rhel' state.sls test.pushfile
minion-rhel:
----------
file_|-/tmp/file.txt_|-/tmp/file.txt_|-managed:
----------
__run_num__:
0
changes:
----------
diff:
New file
comment:
File /tmp/file.txt updated
name:
/tmp/file.txt
result:
True
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.