#
# Install Chromedriver dependencies
#

chromedriver-dependencies:
  pkg.installed:
    - pkgs:
      - unzip
      - gnupg
      - libnss3-dev
      - ca-certificates
      - fonts-liberation
      - libappindicator3-1
      - libasound2
      - libatk-bridge2.0-0
      - libatk1.0-0
      - libc6
      - libcairo2
      - libcups2
      - libdbus-1-3
      - libexpat1
      - libfontconfig1
      - libgbm1
      - libgcc1
      - libglib2.0-0
      - libgtk-3-0
      - libnspr4
      - libnss3
      - libpango-1.0-0
      - libpangocairo-1.0-0
      - libstdc++6
      - libx11-6
      - libx11-xcb1
      - libxcb1
      - libxcomposite1
      - libxcursor1
      - libxdamage1
      - libxext6
      - libxfixes3
      - libxi6
      - libxrandr2
      - libxrender1
      - libxss1
      - libxtst6
      - lsb-release
      - wget
      - xdg-utils
    - require:
      - cmd: apt-get-update

{%- for environment, environment_details in pillar.environments.items()|first %}

# Create Chromedriver symlink
/usr/local/bin/chrome:
  file.symlink:
    - target: /data/shop/{{ environment }}/current/vendor/bin/chrome
    - force: true

{%- endfor %}

#
# Install Chromedriver dependencies
#

chromedriver-dependencies:
  pkg.installed:
    - pkgs:
      - unzip
      - gnupg
      - libnss3-dev
      - ca-certificates
      - fonts-liberation
      - libappindicator3-1
      - libasound2
      - libatk-bridge2.0-0
      - libatk1.0-0
      - libc6
      - libcairo2
      - libcups2
      - libdbus-1-3
      - libexpat1
      - libfontconfig1
      - libgbm1
      - libgcc1
      - libglib2.0-0
      - libgtk-3-0
      - libnspr4
      - libnss3
      - libpango-1.0-0
      - libpangocairo-1.0-0
      - libstdc++6
      - libx11-6
      - libx11-xcb1
      - libxcb1
      - libxcomposite1
      - libxcursor1
      - libxdamage1
      - libxext6
      - libxfixes3
      - libxi6
      - libxrandr2
      - libxrender1
      - libxss1
      - libxtst6
      - lsb-release
      - wget
      - xdg-utils
    - require:
      - cmd: apt-get-update

# Create Chromedriver symlink
/usr/local/bin/chrome:
  file.symlink:
    - target: /data/shop/development/current/vendor/bin/chrome
    - force: true

Add just development environment variable to the chromedriver function
Add just development environment variable to the chromedriver function

spryker/devvm,spryker/devvm,spryker/devvm