cookbook 'yum-rhn-plugin', '~> 0.2.0'
yum-rhn-plugin (2) Versions 0.2.0 Follow1
Installs/Configures yum-rhn-plugin
cookbook 'yum-rhn-plugin', '~> 0.2.0', :supermarket
knife supermarket install yum-rhn-plugin
knife supermarket download yum-rhn-plugin
yum-rhn-plugin Cookbook
Cookbook for installing and configuring yum-rhn-plugin for use with RHN, Satellite, or Spacewalk
Supported platforms
- EL 5.X platforms
- EL 6.X platforms
- EL 7.X platforms
Usage
Put depends 'yum-rhn-plugin'
in your metadata.rb
Out of the box this cookbook will configure the standard [main] rhn channel after installation of yum plugin,
additional channels may be added via data bags.
Attributes
['yum-rhn']['source'] - Set to specify location to obtain rpm from non yum-configured source. Leaving nil will install via yum.
['yum-rhn']['data_bag'] - Set to specify data bag to pull items as arrays for additional channels to add to plugin config
['yum-rhn']['main']['enabled'] - 1/0 bit to enable/disable main rhn channel
['yum-rhn']['main']['gpg-check'] - 1/0 bit to enable/disable GPG checks for main channel
Data Bag Items
For each channel you wish to configure, add a data bag item like so:
{ "id": "channel1", "channel": "some-channel", "enabled": "1", "gpg-check: "0" }
will create:
sh
[some-channel]
enabled=1
gpg-check=0
Recipes
::default - Installs yum-rhn-plugin then includes ::config
::config - Configures yum-rhn plugin
Author
Author:: Drew Rapenchuk (rapenchuk@linux.com)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.2.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.2.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.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: yum-rhn-plugin/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-rhn-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-rhn-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-rhn-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.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
0.2.0 failed this metric
0.2.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.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: yum-rhn-plugin/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-rhn-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-rhn-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-rhn-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.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
0.2.0 failed this metric
FC065: Ensure source_url is set in metadata: yum-rhn-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-rhn-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-rhn-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.0 passed this metric
Version Tag Metric
0.2.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
0.2.0 passed this metric
0.2.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