Set a default value for the 'minio_server_datadirs' variable (#24)

This commit is contained in:
Andrea Tosatto 2018-08-20 18:03:41 +02:00 committed by GitHub
parent f4a26575b6
commit 29c8c21e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -46,17 +46,17 @@ minio_server_addr: ":9091"
The Minio server listen address. The Minio server listen address.
```yaml ```yaml
minio_server_datadirs: [ ] minio_server_datadirs:
- /var/lib/minio
``` ```
Directories of the folder containing the minio server data Directories of the folder containing the minio server data
**NB**: This variable must always be set by the role, otherwise the minio service will not start.
```yaml ```yaml
minio_server_make_datadirs: true minio_server_make_datadirs: true
``` ```
Create directories from `minio_server_datadirs` Create directories from `minio_server_datadirs`
```yaml ```yaml
minio_server_cluster_nodes: [ ] minio_server_cluster_nodes: [ ]

View File

@ -4,18 +4,19 @@
minio_server_bin: /usr/local/bin/minio minio_server_bin: /usr/local/bin/minio
minio_client_bin: /usr/local/bin/mc minio_client_bin: /usr/local/bin/mc
# Runtime user and group for the minio server service # Runtime user and group for the Minio server service
minio_user: minio minio_user: minio
minio_group: minio minio_group: minio
# Path to the file containing the ENV variables for the minio server # Path to the file containing the ENV variables for the Minio server
minio_server_envfile: /etc/default/minio minio_server_envfile: /etc/default/minio
# Minio server listen address # Minio server listen address
minio_server_addr: ":9091" minio_server_addr: ":9091"
# Minio server data directories # Minio server data directories
minio_server_datadirs: [ ] minio_server_datadirs:
- /var/lib/minio
minio_server_make_datadirs: true minio_server_make_datadirs: true
# Minio server cluster node list. # Minio server cluster node list.
@ -24,13 +25,13 @@ minio_server_cluster_nodes: [ ]
# Additional environment variables to be set in minio server environment # Additional environment variables to be set in minio server environment
minio_server_env_extra: "" minio_server_env_extra: ""
# Additional minio server CLI options # Additional Minio server CLI options
minio_server_opts: "" minio_server_opts: ""
# Minio access and secret keys # Minio access and secret keys
minio_access_key: "" minio_access_key: ""
minio_secret_key: "" minio_secret_key: ""
# Switches to enable/disable the minio server and/or minio client installation. # Switches to enable/disable the Minio server and/or Minio client installation.
minio_install_server: true minio_install_server: true
minio_install_client: true minio_install_client: true