cookbook 'chef-dk-gem', '~> 1.0.0'
chef-dk-gem (1) Versions 1.0.0 Follow0
Installs/Deletes chef-dk user gems
cookbook 'chef-dk-gem', '~> 1.0.0', :supermarket
knife supermarket install chef-dk-gem
knife supermarket download chef-dk-gem
chef-dk-gem
Resource cookbook to install or remove gems from a users chefdk gemset
Cookbook Dependencies
- chef-dk
Usage
Place a dependency on the chef-dk-gem cookbook in your cookbook's metadata.rb
ruby
depends 'chef-dk-gem'
Then, in a recipe:
chef_dk_gem 'foo' do user 'foo' version '1.0' action [:install] end
License & Authors
- Author:: Franklin Hanson (fhanson@gannett.com)
Copyright:: 2015 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
chef-dk >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: chef-dk-gem/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-dk-gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-dk-gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-dk-gem/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:35
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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
1.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: chef-dk-gem/metadata.rb:1
FC065: Ensure source_url is set in metadata: chef-dk-gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-dk-gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-dk-gem/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:35
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: chef-dk-gem/metadata.rb:1
FC066: Ensure chef_version is set in metadata: chef-dk-gem/metadata.rb:1
FC069: Ensure standardized license defined in metadata: chef-dk-gem/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:21
FC085: Resource using new_resource.updated_by_last_action to converge resource: chef-dk-gem/providers/gem.rb:35
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.0 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.0 failed this metric
1.0.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