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.0

Installs/Configures yum-passenger

Berkshelf/Librarian
Policyfile
Knife
cookbook 'yum-passenger', '= 0.1.0'
cookbook 'yum-passenger', '= 0.1.0', :supermarket
knife cookbook site install yum-passenger
knife cookbook site download yum-passenger
README
Dependencies
Changelog
Quality 0%

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

Foodcritic Metric
            

0.1.0 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/9767755af0a4f25b73b0b9b9/yum-passenger/recipes/default.rb:29