Skip to content

Perceptyx/minio-formula

Repository files navigation

minio-formula

Salt State to Install and Configure Minio https://min.io/

Available states

User

  • Creates group for minio
  • Creates user for minio
minio:
  user: minio
  group: minio
  uid: 900
  gid: 900

Install

  • Creates directories and give permissions for minio user and group:
    • /etc/minio
    • /etc/minio/certs
  • Downloads minio release binary
  • Verifies minio binary integrity
  • Installs the binary in the configured path
minio:
  user: minio
  group: minio
  release: minio.RELEASE.2019-04-18T21-44-59Z
  platform: linux-amd64
  download_url: https://dl.min.io/server/minio/release/
  install_path: /usr/local/bin/

Log

  • Creates the log file and give permissions for minio user and group:
minio:
  user: minio
  group: minio
  http_trace: /var/log/minio.log

Systemd

  • Creates minio.service file
  • Creates and configure /etc/default/minio
  • Enables minio service
  • Starts minio service
minio:
  user: minio
  group: minio
  limit_nofile: 65536
  access_key: AKIAIOSFODNN7EXAMPLE
  secret_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
  volumes: http://node{1...6}/export{1...32}
  browser: off
  drive_sync: on
  http_trace: /var/log/minio/minio.log
  port: 9000

NOTE: browser and drive_sync are there just for reference, as on and off are boolean keywords in yaml and it renders True and False instead.

About

Salt State to Install and Configure Minio https://min.io/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published