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

hypercontainer (6) Versions 0.3.0

Installs/Configures hypercontainer

Policyfile
Berkshelf
Knife
cookbook 'hypercontainer', '= 0.3.0', :supermarket
cookbook 'hypercontainer', '= 0.3.0'
knife supermarket install hypercontainer
knife supermarket download hypercontainer
README
Dependencies
Changelog
Quality 43%

hypercontainer Cookbook

This cookbook sets up a HyperContainer.

Contents

Requirements

platforms

  • Debian >= 9.0
  • Ubuntu >= 14.04
  • CentOS,RHEL >= 7.3

packages

  • none.

Attributes

Key Type Description, example Default
['hypercontainer']['install_flavor'] String 'script' or 'direct_download' 'script'
['hypercontainer']['fallback_direct_download_install'] Boolean fallback from install via script to direct download install. true
['hypercontainer']['package']['version'] String '1.0.0-1'
['hypercontainer']['package']['download_url_context'] String URL context path for package download. "https://hypercontainer-download.s3-us-west-1.amazonaws.com/#{ver_ctx}/#{platform}"
['hypercontainer']['package']['hypercontainer'] String hypercontainer package file name. See attributes/default.rb
['hypercontainer']['package']['hyperstart'] String hyperstart package file name. See attributes/default.rb
['hypercontainer']['auto_upgrade'] Boolean enable auto upgrade by Chef. false
['hypercontainer']['hypervisor'] String 'qemu' or 'xen' for Debian family. 'qemu'
['hypercontainer']['daemon_extra_options'] String '--log_dir=/var/log/hyper'
['hypercontainer']['config'] Hash This hash is expanded to the /etc/hyper/config file. See attributes/default.rb

Usage

Recipes

hypercontainer::default

This recipe installs HyperContainer.

Role Examples

  • roles/hypercontainer.rb
name 'hypercontainer'
description 'HyperContainer'

run_list(
  'recipe[hypercontainer::default]',
)

#env_run_lists()

#default_attributes()

override_attributes(
  'hypercontainer' => {
    'auto_upgrade' => false,
    'hypervisor' => 'qemu',  # 'qemu' or 'xen' for Debian family.
    'config' => {
      'global' => {
        'StorageDriver' => 'overlay',
      },
    },
  },
)

License and Authors

  • Author:: whitestar at osdn.jp
Copyright 2017, whitestar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

hypercontainer CHANGELOG

0.3.0

  • adds the ['hypercontainer']['config'] attribute.

0.2.1

  • bug fix.

0.2.0

  • bumps up hypercontainer version.
  • adds the ['hypercontainer']['daemon_extra_options'] attribute.

0.1.1

  • improves install method.

0.1.0

  • Initial release of hypercontainer

Collaborator Number Metric
            

0.3.0 failed this metric

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

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 passed this metric

License Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number