Commit f8a886a9 authored by Tim Smith's avatar Tim Smith
Browse files

Resolve Cookstyle 5.8 warnings



Minor cleanups for the latest Cookstyle
Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent c172f3e0
...@@ -37,13 +37,11 @@ doc/ ...@@ -37,13 +37,11 @@ doc/
# chef stuff # chef stuff
Berksfile.lock Berksfile.lock
.kitchen .kitchen
.kitchen.local.yml kitchen.local.yml
vendor/ vendor/
.coverage/ .coverage/
.zero-knife.rb .zero-knife.rb
Policyfile.lock.json Policyfile.lock.json
Cheffile.lock
.librarian/
# vagrant stuff # vagrant stuff
.vagrant/ .vagrant/
......
...@@ -5,7 +5,6 @@ addons: ...@@ -5,7 +5,6 @@ addons:
packages: packages:
- chef-workstation - chef-workstation
# Don't `bundle install` which takes about 1.5 mins
install: echo "skip bundle install" install: echo "skip bundle install"
env: env:
...@@ -26,8 +25,6 @@ before_script: ...@@ -26,8 +25,6 @@ before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER ) - sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(chef shell-init bash)" - eval "$(chef shell-init bash)"
- chef --version - chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE} script: KITCHEN_LOCAL_YAML=kitchen.dokken.yml kitchen verify ${INSTANCE}
......
# This gemfile provides additional gems for testing and releasing this cookbook # This gemfile provides additional gems for testing and releasing this cookbook
# It is meant to be installed on top of ChefDK which provides the majority # It is meant to be installed on top of ChefDK / Chef Workstation which provide the majority
# of the necessary gems for testing this cookbook # of the necessary gems for testing this cookbook
# #
# Run 'chef exec bundle install' to install these dependencies # Run 'chef exec bundle install' to install these dependencies
......
...@@ -3,7 +3,6 @@ maintainer 'Chef Software, Inc.' ...@@ -3,7 +3,6 @@ maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io' maintainer_email 'cookbooks@chef.io'
license 'Apache-2.0' license 'Apache-2.0'
description 'Installs/Configures yum-erlang_solutions' description 'Installs/Configures yum-erlang_solutions'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '2.0.0' version '2.0.0'
depends 'yum-epel' depends 'yum-epel'
...@@ -14,4 +13,4 @@ end ...@@ -14,4 +13,4 @@ end
source_url 'https://github.com/chef-cookbooks/yum-erlang_solutions' source_url 'https://github.com/chef-cookbooks/yum-erlang_solutions'
issues_url 'https://github.com/chef-cookbooks/yum-erlang_solutions/issues' issues_url 'https://github.com/chef-cookbooks/yum-erlang_solutions/issues'
chef_version '>= 12.14' if respond_to?(:chef_version) chef_version '>= 12.14'
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Author:: Sean OMeara (<someara@chef.io>) # Author:: Sean OMeara (<someara@chef.io>)
# Recipe:: yum-erlang_solutions::default # Recipe:: yum-erlang_solutions::default
# #
# Copyright:: 2013-2017, Chef Software, Inc. # Copyright:: 2013-2019, Chef Software, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment