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

crio (21) Versions 1.3.3

Installs/Configures crio

Policyfile
Berkshelf
Knife
cookbook 'crio', '= 1.3.3', :supermarket
cookbook 'crio', '= 1.3.3'
knife supermarket install crio
knife supermarket download crio
README
Dependencies
Changelog
Quality 83%

crio chef cookbook Build Status

Chef cookbook for managing CRI-O and related resources.

Recommended reading:
- crio man page
- podman man page
- CRI-O blog

Recipes

crio::default

includes install, configure, manage recipes

crio::install

sets up yum repository and install CRI-O related packages

crio::configure

configures the CRI-O daemon via attributes

crio::manage

manages crio.service

Resources

crio_image

resource for managing CRI-O images

properties

property type example description
image_name String redis resource name
repo String docker.io/library/redis image repository path
tag String latest image tag to pull
global_opts Array ['--storage-driver=vfs'] podman global options
pull_opts Array --authfile=/etc/containers/auth.json podman pull options

actions

  • :pull: default, pulls image
  • :pull_if_missing: pull image if not already present
  • :nothing: do nothing

crio_container

resource for managing CRI-O containers as systemd service units

properties

property type example description
container_name String redis resource name
image String redis image to run
tag String 3.2 image tag to run
global_opts Array ['--storage-driver=vfs'] podman global options
run_opts Array ['--net=host'] podman run options
pull_opts Array ['--authfile=/etc/containers/auth.json'] podman pull options
command String /usr/bin/my-app command to run in container
pull_image [TrueClass, FalseClass] true whether to pull image before container start

actions

  • :create: default, create systemd unit to run container as a systemd service unit
  • :delete: delete container service unit
  • :enable: enable container service unit
  • :disable: disable container service unit
  • :start: start service unit
  • :stop: stop service unit
  • :restart: restart service unit, start if stopped
  • :try_restart: restart service unit if running, does nothing if stopped
  • :nothing: do... nothing!

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

1.3.3 / 2018-12-11

  • rm before start

1.3.0 / 2018-04-12

  • update to latest podman
  • use conmon-pidfile instead of cgroup placement
  • add alternative package repo

1.2.2 / 2018-03-29

  • set image pull timeout

1.2.1 / 2018-03-22

  • coerce opts to string

1.2.0 / 2018-03-22

  • consolidate common resource methods
  • pull_image defaults to false on container resource

1.1.1 / 2018-03-21

  • make pull action on image resource idempotent

1.1.0 / 2018-03-20

  • add global_opts property for image/container resources
  • detach podman run, use forking service type
  • fix up tests

1.0.1 / 2018-03-15

  • add travis config
  • add identity to image_name
  • clarify test functionality
  • update documentation
  • add travis config

1.0.0 / 2018-03-15

  • add pull_if_missing action to image resource
  • allow opt out of image pull in container resource using pull_image property

0.7.0 / 2018-03-15

  • fix default container resource action

0.6.0 / 2018-03-15

  • set default image/container repo properties rather than required

0.5.0 / 2018-03-15

  • update documentation
  • fix cops
  • simplify service unit for podman-0.3.3

Collaborator Number Metric
            

1.3.3 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.3.3 passed this metric

Foodcritic Metric
            

1.3.3 passed this metric

No Binaries Metric
            

1.3.3 passed this metric

Testing File Metric
            

1.3.3 passed this metric

Version Tag Metric
            

1.3.3 passed this metric