cookbook 'shifter', '= 1.0.3'
shifter (15) Versions 1.0.3 Follow0
Installs/Configures shifter
cookbook 'shifter', '= 1.0.3', :supermarket
knife supermarket install shifter
knife supermarket download shifter
shifter
Chef cookbook that installs Shifter - Linux Containers for HPC
Requirements
Requires the following cookbooks:
- 'tar', '~> 2'
This cookbook assumes a munge service is up and running and properly configured, if you are to run an image manager.
See test/cookbooks/test/recipes/shifterimg_install.rb
for more info.
Platforms
The following platforms are supported:
- Ubuntu (>= 14.04)
- Debian (>= 8.0)
- CentOS (>= 6)
Chef
- Chef 14.0+
TODO
- Add support for other options for udiRoot.conf config file
Usage
To have the shifter resources available to your cookbook just include cookbook 'shifter', '~> 0'
in your Berksfile.
Resources
shifter_compile
Compiles shifter components from NERSC's git repo, by default.
shifter_install
Compiles shifter components, if they haven't been compiled already, and creates appropriate symlinks and config files for Shifter Runtime.
shifter_install_imagegw
Compiles shifter components, if they haven't been compiled already, and creates appropriate symlinks and config files for Shifter Image Gateway.
Attribute Name | Description |
---|---|
['shifter']['system'] |
Name of your system, e.g., edison or cori. This name must match a configured system in the imagegw. This is primarily used by shifterimg to self-identify which system it is representing. |
['shifter']['imagegw_fqdn'] |
Space seperated URLs for your imagegw. Used by shifterimg and Slurm batch integration to communicate with the imagegw. |
Authors
- Manuel Torrinha manuel.torrinha@tecnico.ulisboa.pt
shifter CHANGELOG
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
This file is used to list changes made in each version of the shifter cookbook.
1.0.3
Fixed
- Ubuntu 16.04 systemd issues
1.0.2
Fixed
- Ubuntu 16.04 systemd issues
1.0.1
Added
- munge.service systemd unit dependency
1.0.0
Added
-
imagegw_log_dir
property toinstall_imagegw
resource - ensure service start for
munge
andmongodb
services
Changed
- creation of shifter_imagegw log directory to the recipe as mkdir command location differs from system to system
Fixed
-
imagemanager.json
typo - Shifter Image Gateway systemd service unit
- symlinks for
shifter
andshifterimg
binaries - symlinks for the container mount directory
0.2.7
Fixed
- removal of the whole /tmp dir instead of just the extraction dir
0.2.6
Removed
- support for non-systemd distros, temporary
0.2.5
Changed
- kitchen test run_list to have all the recipes together
Removed
- remaining support reference for CentOS
0.2.4
Changed
- systemd service file location
Removed
- support for CentOS, temporarily
0.2.3
Fixed
- Ruby syntax error
0.2.2
Changed
-
imagegw_fqdn
property value which is passed down to thecompile
resource
0.2.1
Fixed
- linting
0.2.0
Added
- mandatory imagemanager.json config file for shifter_imagegw
- shifter_imagegw systemd service file
- helper variables
- shifter_imagegw dependencies installation
Fixed
- udiRoot.conf location
0.1.1
Added
- Guidelines for contributing to this cookbook
Changed
- Version syntax so it complies with supermarket rules
0.1.0
Initial release.
Added
- Resources to compile and install shifter, still without configuration files
- Helper file
Collaborator Number Metric
1.0.3 passed this metric
Contributing File Metric
1.0.3 passed this metric
Foodcritic Metric
1.0.3 passed this metric
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 passed this metric
Version Tag Metric
1.0.3 passed this metric
1.0.3 passed this metric
1.0.3 passed this metric
Foodcritic Metric
1.0.3 passed this metric
No Binaries Metric
1.0.3 passed this metric
Testing File Metric
1.0.3 passed this metric
Version Tag Metric
1.0.3 passed this metric
1.0.3 passed this metric
1.0.3 passed this metric
Testing File Metric
1.0.3 passed this metric
Version Tag Metric
1.0.3 passed this metric
1.0.3 passed this metric
1.0.3 passed this metric