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

athenz (1) Versions 0.1.0

Installs/Configures Athenz

Policyfile
Berkshelf
Knife
cookbook 'athenz', '~> 0.1.0', :supermarket
cookbook 'athenz', '~> 0.1.0'
knife supermarket install athenz
knife supermarket download athenz
README
Dependencies
Changelog
Quality 33%

athenz Cookbook

This cookbook sets up Athenz services.

Contents

Requirements

platforms

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

packages

  • none.

Attributes

Key Type Description, example Default
['athenz']['docker-compose']['app_dir'] String "#{node['docker-grid']['compose']['app_dir']}/athenz"
['athenz']['docker-compose']['config'] Hash docker-compose.yml configurations. See attributes/default.rb

Usage

Recipes

athenz::default

This recipe does nothing.

athenz::docker-compose

This recipe generates a docker-compose.yml for the Athenz services.

Role Examples

  • roles/athenz-on-docker.rb
name 'athenz-on-docker'
description 'Athenz on Docker'

#athenz_zms_port = '4443'  # default: 4443
#athenz_zts_port = '8443'  # default: 8443
#athenz_ui_port  = '9443'  # default: 9443

run_list(
  'role[docker]',
  'recipe[athenz::docker-compose]',
)

#env_run_lists()

#default_attributes()

override_attributes(
  'docker-grid' => {
    'engine' => {
      'skip_setup' => false,
    },
    'compose' => {
      'skip_setup' => false,
    },
  },
  'athenz' => {
    'docker-compose' => {
      'config' => {
        'services' => {
          'athenz' => {
            'image' => 'athenz/athenz:v1.7.12',  # NG: its image fails to start in the version 1.7.20 or later.
            #'ports' => [
            #  "#{athenz_zms_port}:4443",
            #  "#{athenz_zts_port}:8443",
            #  "#{athenz_ui_port}:9443",
            #],
            'environment' => {
            },
          },
        },
      },
    },
  },
)

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

docker-grid >= 0.4.0
platform_utils >= 0.4.4
ssl_cert >= 0.3.9

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

athenz CHANGELOG

0.1.0

  • Initial release of athenz

Collaborator Number Metric
            

0.1.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.1.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.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.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.1.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