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

RSS

yum-passenger (2) Versions 0.1.1

Installs/Configures yum-passenger

Berkshelf/Librarian
Policyfile
Knife
cookbook 'yum-passenger', '~> 0.1.1'
cookbook 'yum-passenger', '~> 0.1.1', :supermarket
knife cookbook site install yum-passenger
knife cookbook site download yum-passenger
README
Dependencies
Changelog
Quality

yum-passenger Cookbook

The yum-passenger cookbook takes over management of the default repositoryids shipped by Phusion Passenger. It allows attribute manipulation of passenger, and passenger-source.

Requirements

  • Chef 11 or higher
  • yum cookbook version 3.0.0 or higher

Attributes

The following attributes are set by default

default['yum-passenger']['repositories'] = %w{passenger passenger-source}
default['yum']['passenger']['repositoryid'] = 'passenger'
default['yum']['passenger']['baseurl'] = 'https://oss-binaries.phusionpassenger.com/yum/passenger/el/$releasever/$basearch'
default['yum']['passenger']['repo_gpgcheck'] = true
default['yum']['passenger']['gpgcheck'] = false
default['yum']['passenger']['enabled'] = true
default['yum']['passenger']['gpgkey'] = 'https://packagecloud.io/gpg.key'
default['yum']['passenger']['sslverify'] = true
default['yum']['passenger']['sslcacert'] = '/etc/pki/tls/certs/ca-bundle.crt'
default['yum']['passenger']['managed'] = true
default['yum']['passenger-source']['repositoryid'] = 'passenger-source'
default['yum']['passenger-source']['baseurl'] = 'https://oss-binaries.phusionpassenger.com/yum/passenger/el/$releasever/SRPMS'
default['yum']['passenger-source']['repo_gpgcheck'] = true
default['yum']['passenger-source']['gpgcheck'] = false
default['yum']['passenger-source']['enabled'] = true
default['yum']['passenger-source']['gpgkey'] = 'https://packagecloud.io/gpg.key'
default['yum']['passenger-source']['sslverify'] = true
default['yum']['passenger-source']['sslcacert'] = '/etc/pki/tls/certs/ca-bundle.crt'
default['yum']['passenger-source']['managed'] = true

Usage Example

To disable the passenger repository through a Role or Environment definition

default_attributes(
  :yum => {
    :passenger => {
      :enabled => {
        false
       }
     }
   }
 )

More Examples

Point the passenger repositories at an internally hosted server.

node.default['yum']['passenger']['enabled'] = true
node.default['yum']['passenger']['mirrorlist'] = nil
node.default['yum']['passenger']['baseurl'] = 'https://internal.example.com/centos/6/os/x86_64'
node.default['yum']['passenger']['sslverify'] = false

include_recipe 'yum-passenger'

License and Authors

Author:: Jason Barnett (chef@mynameisjason.com)

Dependent cookbooks

yum ~> 3.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of yum-passenger

Collaborator Number Metric
            

0.1.1 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.1 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.1 failed this metric

FC064: Ensure issues_url is set in metadata: yum-passenger/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-passenger/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-passenger/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms Metric
            

0.1.1 passed this metric

Testing File Metric
            

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