cookbook 'yum-hp', '= 0.0.3'
yum-hp (4) Versions 0.0.3 Follow3
Installs/Configures HP Service Pack for ProLiant YUM repository
cookbook 'yum-hp', '= 0.0.3', :supermarket
knife supermarket install yum-hp
knife supermarket download yum-hp
yum-hp Cookbook
The yum-hp cookbook install HP SPP YUM repo
Requirements
- Chef 12 or higher
- yum cookbook version 3.2.0 or higher
Attributes
The following attributes are set by default
default['yum-hp']['repositories'] = %w{hp-spp}
default['yum']['hp-spp']['repositoryid'] = 'hp-spp' default['yum']['hp-spp']['description'] = 'HP Service Pack Packages for Enterprise Linux 7 - $basearch' default['yum']['hp-spp']['baseurl'] = 'http://downloads.linux.hpe.com/repo/spp/rhel/7/$basearch/current' default['yum']['hp-spp']['gpgkey'] = 'http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub' default['yum']['hp-spp']['gpgcheck'] = true default['yum']['hp-spp']['enabled'] = true default['yum']['hp-spp']['managed'] = true
Recipes
- default - Walks through node attributes and feeds a yum_resource parameters. The following is an example a resource generated by the recipe during compilation.
yum_repository 'hp' do baseurl http://downloads.linux.hpe.com/repo/spp/rhel/7/$basearch/current' description 'HP Service Pack Packages for Enterprise Linux 7 - $basearch' enabled true gpgcheck true gpgkey 'http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub' end
Usage Example
To disable the hp repository through a Role or Environment definition
default_attributes(
:yum => {
:hp-spp => {
:enabled => {
false
}
}
}
)
License & Authors
- Author:: Nerijus Bendziunas
Copyright:: 2015 Nerijus Bendziunas 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.
Dependent cookbooks
yum ~> 3.2 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
yum-HP Cookbook CHANGELOG
v0.0.3 (2017-08-24)
Changed public key url
v0.0.2 (2015-07-25)
Changed hp-spp repo baseurl
v0.0.1 (2015-07-25)
initial release
Collaborator Number Metric
0.0.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.0.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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: yum-hp/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-hp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-hp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-hp/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.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.0.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
0.0.3 failed this metric
0.0.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.0.3 failed this metric
FC064: Ensure issues_url is set in metadata: yum-hp/metadata.rb:1
FC065: Ensure source_url is set in metadata: yum-hp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-hp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-hp/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.3 passed this metric
Testing File Metric
0.0.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.0.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
0.0.3 failed this metric
FC065: Ensure source_url is set in metadata: yum-hp/metadata.rb:1
FC066: Ensure chef_version is set in metadata: yum-hp/metadata.rb:1
FC069: Ensure standardized license defined in metadata: yum-hp/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.3 passed this metric
Testing File Metric
0.0.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.0.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
0.0.3 failed this metric
0.0.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