Simple cookbook to setup a minio server.
Tested And Validated On
- Ubuntu 16.04
TODO: Include usage patterns of any providers or recipes.
node['minio']['repo']
(default:'minio/minio'
) - The docker repo to pull minio fromnode['minio']['tag']
(default:'latest'
) - The docker tag to pull minio withnode['minio']['port']
(default:80
) - The host port to bind minio tonode['minio']['volumes']
(default:['/root/.minio:/root/.minio']
) - The volumes to bind mountnode['minio']['paths']
(default:['/export']
) - The paths to serve from minio container
Include minio
in your run_list to spin up minio on an existing docker host.
{
"run_list": [
"recipe[minio::default]"
]
}
Include standalone
in your run_list to spin up a docker host and minio.
{
"run_list": [
"recipe[minio::standalone]"
]
}
- Linting - Cookstyle and Foodcritic
- Spec - ChefSpec
- Integration - Test Kitchen
Testing requires ChefDK be installed using it's native gems.
foodcritic -f any -X spec .
cookstyle
rspec --color --format progress
If you run into issues testing please first remove any additional gems you may
have installed into your ChefDK environment. Extra gems can be found and removed
at ~/.chefdk/gem
.
Author:: Patrick Schaumburg ([email protected])
- Jacob McCann ([email protected])
Apache 2.0