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

apt-atomic (4) Versions 0.1.3

Installs and configures the Atomic OSSEC repository for Debian/Ubuntu

Policyfile
Berkshelf
Knife
cookbook 'apt-atomic', '~> 0.1.3', :supermarket
cookbook 'apt-atomic', '~> 0.1.3'
knife supermarket install apt-atomic
knife supermarket download apt-atomic
README
Dependencies
Changelog
Quality 33%

apt-atomic Cookbook

Installs/Configures apt Atomic Vendor-Specific Repositories.

This cookbook installs & configures apt Atomic repositories per
http://ossec.github.io/downloads.html

Requirements

  • Chef 11 or higher
  • Ruby 1.9 or higher (preferably from the Chef full-stack-installer)
  • Network accessible package repositories
  • Debian 7 or newer, or Ubuntu 12.04 or newer.
  • apt Cookbook

Attributes

apt-atomic::default

The following attributes are set by default

default['apt-atomic']['repos']['atomic']['managed'] = true
default['apt-atomic']['repos']['atomic']['repo_name'] = 'atomic'
default['apt-atomic']['repos']['atomic']['uri'] = "http://ossec.wazuh.com/repos/apt/debian"
default['apt-atomic']['repos']['atomic']['distribution'] = codename
default['apt-atomic']['repos']['atomic']['components'] = ['main']
default['apt-atomic']['repos']['atomic']['key'] = 'http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key'
default['apt-atomic']['repos']['atomic']['deb-src'] = false

Recipes

  • default - Walks through node attributes and feeds a apt_repository
  • parameters. The following is an example a resource generated by the
  • recipe during compilation.
  apt_repository 'atomic' do
    uri         'http://ossec.wazuh.com/repos/apt/debian'
    distribution    codename
    components      ['main']
    deb_src     false
    key         'http://ossec.wazuh.com/repos/apt/conf/ossec-key.gpg.key'
  end

Usage Example

To disable the atomic repository through a Role or Environment definition

default_attributes(
  'apt' => {
    'atomic' => {
      'managed' => false
    }
  }
)

More Examples

Point the base and debuginfo repositories at an internally hosted server.

default['apt-atomic']['repos']['atomic']['managed'] = true
default['apt-atomic']['repos']['atomic']['repo_name'] = 'atomic'
default['apt-atomic']['repos']['atomic']['uri'] = "http://internal.example.com/repos/apt/debian"
default['apt-atomic']['repos']['atomic']['distribution'] = codename
default['apt-atomic']['repos']['atomic']['components'] = ['main']
default['apt-atomic']['repos']['atomic']['key'] = 'http://internal.example.com/repos/apt/debian//ossec-key.gpg.key'
default['apt-atomic']['repos']['atomic']['deb-src'] = false

License & Authors

Author: Eric Renfro (psi-jack@linux-help.org)

Copyright: 2016, Linux-Help.org.

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.

apt-atomic Cookbook CHANGELOG

This file is used to list changes made in each version of the apt-atomic cookbook.

v0.1.0

initial release

Collaborator Number Metric
            

0.1.3 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.3 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.3 passed this metric

No Binaries Metric
            

0.1.3 passed this metric

Testing File Metric
            

0.1.3 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.3 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