file:
  /opt/bitnami/mediawiki/cache:
    exists: true
    filetype: directory
    mode: "0775"
    owner: daemon
    group: root
  /opt/bitnami/mediawiki/images:
    filetype: symlink
    linked-to: /bitnami/mediawiki/images
    exists: true
  /bitnami/mediawiki/LocalSettings.php:
    mode: "0644"
    filetype: file
    exists: true
# Checks the user running the container is non-root
command:
  user-id-test:
    exec: if [ "$(id -u)" -eq 0 ]; then exit 1; fi
    exit-status: 0
    stdout: []
    stderr: []
  which-php:
    exec: which php
    exit-status: 0
    stdout:
    - "/opt/bitnami/php/bin/php"
    stderr: []
