### ---- JAVA ---- ###
Deploy_Oracle_java:
archive.extracted:
- name: /usr/lib/jvm/
- source: salt://java/files/jdk-8u112-linux-x64.tar.gz
- user: root
- options: zxf
salt 'hosta' state.apply java
hosta:
----------
ID: Deploy_Oracle_java
Function: archive.extracted
Name: /usr/lib/jvm/
Result: False
Comment: User root does not exist
Started: 16:16:19.186195
Duration: 3.708 ms
Changes:
Summary for hosta
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Total run time: 3.708 ms
ERROR: Minions returned with non-zero exit code
----------
ID: Deploy_Oracle_java
Function: archive.extracted
Name: /usr/lib/jvm/
Result: False
Comment: The below paths (relative to /usr/lib/jvm/) exist, but are the incorrect type (i.e. file instead of directory or vice-versa).To proceed with extraction, set 'force' to True. Note that this will remove these paths before extracting.
- jdk1.8.0_112/man/ja
Started: 17:00:21.309866
Duration: 2402.618 ms
Changes: