#
# Install Java Runtime Environment - OpenJDK version 8
#

ca-certificates-java:
  pkg.installed:
    - fromrepo: jessie-backports

java:
  pkg.installed:
    - name: openjdk-8-jre-headless
    - require:
      - pkg: ca-certificates-java
  alternatives.set:
    - name: java
    - path: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
    - require:
      - pkg: openjdk-8-jre-headless

#
# Install Java Runtime Environment - OpenJDK version 8
#

ca-certificates-java:
  pkg.latest:
    - fromrepo: jessie-backports
    - refresh: False

java:
  pkg.installed:
    - name: openjdk-8-jre-headless
    - require:
      - pkg: ca-certificates-java
  alternatives.set:
    - name: java
    - path: /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
    - require:
      - pkg: openjdk-8-jre-headless

Make sure that lastet ca certs are installed
Make sure that lastet ca certs are installed

spryker/saltstack,spryker/saltstack,spryker/saltstack