cookbook 'inifile_chef_gem', '~> 0.1.0'
inifile_chef_gem (1) Versions 0.1.0 Follow0
Installs/Configures inifile gem for chef
cookbook 'inifile_chef_gem', '~> 0.1.0', :supermarket
knife supermarket install inifile_chef_gem
knife supermarket download inifile_chef_gem
inifile_chef_gem Cookbook
inifile_chef_gem is a library cookbook. It provides custom resource, that can be used in recipes
Requirements
Chef
- Chef 12.0 or later
Usage
Place a dependency in your cookbook's metadata.rb
ruby
depends 'inifile_chef_gem'
Install gem using custom resource
ruby
inifile_chef_gem 'default' do
action :install
end
Resource overview
inifile_chef_gem
The resource installs inifile gem into Chef's Ruby enviroment
inifile_chef_gem 'default' do gem_version '3.0.0' action :install end
Parameters
- gem_version - The version of rubygem to be installed. Defaults to 3.0.0
Actions
- :install - build and install gem into Chef's Ruby enviroment
- :remove - Delete the gem from Chef's Ruby environment
License and Authors
Authors: Dmitry Shestoperov
inifile_chef_gem CHANGELOG
This file is used to list changes made in each version of the inifile_chef_gem cookbook.
0.1.0
- [your_name] - Initial release of inifile_chef_gem
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
0.1.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.1.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.1.0 failed this metric
FC066: Ensure chef_version is set in metadata: inifile_chef_gem/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: inifile_chef_gem/metadata.rb:1
FC092: Custom resources should not define actions: inifile_chef_gem/resources/default.rb:7
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:1
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:4
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:5
FC118: Resource property setting name_attribute vs. name_property: inifile_chef_gem/resources/default.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: inifile_chef_gem/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: inifile_chef_gem/resources/default.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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 TESTING.md file
Version Tag Metric
0.1.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.1.0 failed this metric
0.1.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.1.0 failed this metric
FC066: Ensure chef_version is set in metadata: inifile_chef_gem/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: inifile_chef_gem/metadata.rb:1
FC092: Custom resources should not define actions: inifile_chef_gem/resources/default.rb:7
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:1
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:4
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:5
FC118: Resource property setting name_attribute vs. name_property: inifile_chef_gem/resources/default.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: inifile_chef_gem/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: inifile_chef_gem/resources/default.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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 TESTING.md file
Version Tag Metric
0.1.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.1.0 failed this metric
FC067: Ensure at least one platform supported in metadata: inifile_chef_gem/metadata.rb:1
FC092: Custom resources should not define actions: inifile_chef_gem/resources/default.rb:7
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:1
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:4
FC117: Do not use kind_of in custom resource properties: inifile_chef_gem/resources/default.rb:5
FC118: Resource property setting name_attribute vs. name_property: inifile_chef_gem/resources/default.rb:1
FC121: Cookbook depends on cookbook made obsolete by Chef 14: inifile_chef_gem/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: inifile_chef_gem/resources/default.rb:14
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.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 TESTING.md file
Version Tag Metric
0.1.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.1.0 failed this metric
0.1.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