cookbook 'yum-passenger', '~> 0.1.1', :supermarket
yum-passenger (2) Versions 0.1.1 Follow0
Installs/Configures yum-passenger
cookbook 'yum-passenger', '~> 0.1.1'
knife supermarket install yum-passenger
knife supermarket download yum-passenger
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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.1 failed this 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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.1 failed this metric
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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
0.1.1 passed this 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
0.1.1 failed this metric
0.1.1 passed this metric