- add additional modules in Puppetfile
- update puppetlabs-lvm to 2.1.0
- add facts.d base path to hieradata
- add infra/storage and infra/storage/minio role data to hieradata
- add new facts for minio setup status
- add a static yaml minio-facts file to assist dynamic ruby facts
- updated hiera with additional directories (country/{role,region})
39 lines
888 B
Plaintext
39 lines
888 B
Plaintext
[Unit]
|
|
Description=Minio
|
|
Documentation=https://docs.minio.io
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
After=syslog.target network.target
|
|
AssertFileIsExecutable=<%= @installation_directory %>/minio
|
|
|
|
[Service]
|
|
WorkingDirectory=<%= @installation_directory %>
|
|
|
|
User=<%= @owner %>
|
|
Group=<%= @group %>
|
|
|
|
PermissionsStartOnly=true
|
|
|
|
EnvironmentFile=<%= @configuration_file_path %>
|
|
ExecStart=<%= @installation_directory %>/minio server $MINIO_OPTS --address <%= @listen_ip %>:<%= @listen_port %> $MINIO_DEPLOYMENT_DEFINITION
|
|
|
|
StandardOutput=journal
|
|
StandardError=inherit
|
|
|
|
# Specifies the maximum file descriptor number that can be opened by this process
|
|
LimitNOFILE=65536
|
|
|
|
# Disable timeout logic and wait until process is stopped
|
|
TimeoutStopSec=0
|
|
|
|
# SIGTERM signal is used to stop Minio
|
|
KillSignal=SIGTERM
|
|
|
|
SendSIGKILL=no
|
|
|
|
SuccessExitStatus=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|