Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

shifter (15) Versions 1.0.9

Installs/Configures shifter

Policyfile
Berkshelf
Knife
cookbook 'shifter', '= 1.0.9', :supermarket
cookbook 'shifter', '= 1.0.9'
knife supermarket install shifter
knife supermarket download shifter
README
Dependencies
Changelog
Quality 100%

Build Status
Cookbook Version

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

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.9

Fixed

  • shifter compile property

1.0.8

Added

  • system_name property, which allows for compute nodes to pull and use images

1.0.7

Fixed

  • Chef logging

1.0.6

Added

  • slurm development files as dependency to compile with slurm support

1.0.5

Fixed

  • typo in condition

1.0.4

Fixed

  • /etc/shifter/udiRoot.conf udiImage

Added

  • /opt/shifter/udiRoot/libexec/shifter/opt/udiImage creation

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 to install_imagegw resource
  • ensure service start for munge and mongodb 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 and shifterimg 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 the compile 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.9 passed this metric

Contributing File Metric
            

1.0.9 passed this metric

Foodcritic Metric
            

1.0.9 passed this metric

No Binaries Metric
            

1.0.9 passed this metric

Testing File Metric
            

1.0.9 passed this metric

Version Tag Metric
            

1.0.9 passed this metric