Skip to content

Commit

Permalink
Merge pull request sous-chefs#187 from chef-cookbooks/misc
Browse files Browse the repository at this point in the history
Multiple misc changes
  • Loading branch information
miketheman committed Nov 25, 2015
2 parents 699bf55 + 9549c4a commit 786c804
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 25 deletions.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
*.gem
.zero-knife.rb
*.rbc
.bundle
.config
coverage
InstalledFiles
Expand All @@ -12,7 +9,6 @@ spec/reports
test/tmp
test/version_tmp
tmp
Gemfile.lock
_Store
*~
*#
Expand All @@ -23,9 +19,14 @@ _Store
*.tmp
*.bk
*.bkup

# ruby/bundler files
.ruby-version
.ruby-gemset
.rvmrc
Gemfile.lock
.bundle
*.gem

# YARD artifacts
.yardoc
Expand All @@ -39,6 +40,7 @@ Berksfile.lock
.kitchen.local.yml
vendor/
.coverage/
.zero-knife.rb

#vagrant stuff
.vagrant/
Expand Down
1 change: 0 additions & 1 deletion .kitchen.cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ driver_config:

provisioner:
name: chef_zero
require_chef_omnibus: 11.16.0

platforms:
- name: amazon-2014.09
Expand Down
14 changes: 2 additions & 12 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
inherit_from: .rubocop_todo.yml

AllCops:
Exclude:
- vendor/**/*
Expand Down Expand Up @@ -29,15 +31,3 @@ Style/ClassAndModuleChildren:
Enabled: false
Style/FileName:
Enabled: false

# Todo: These should are non-standard rubocop rules were should investigate and resolve
Style/ClassVars:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Lint/Loop:
Enabled: false
Style/UnlessElse:
Enabled: false
Lint/UselessAssignment:
Enabled: false
35 changes: 35 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-11-24 19:37:18 -0800 using RuboCop version 0.35.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 2
Lint/Loop:
Exclude:
- 'providers/ebs_raid.rb'

# Offense count: 4
Lint/UselessAssignment:
Exclude:
- 'libraries/ec2.rb'

# Offense count: 4
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 15

# Offense count: 5
Style/ClassVars:
Exclude:
- 'libraries/ec2.rb'
- 'libraries/elb.rb'
- 'libraries/s3.rb'

# Offense count: 8
Style/UnlessElse:
Exclude:
- 'providers/elastic_lb.rb'
- 'providers/resource_tag.rb'
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ group :kitchen_vagrant do
end

group :kitchen_cloud do
gem 'kitchen-digitalocean'
gem 'kitchen-ec2'
end
17 changes: 10 additions & 7 deletions chefignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Put files/directories that should be ignored in this file when uploading
# or sharing to the community site.
# to a chef-server or supermarket.
# Lines that start with '# ' are comments.

# OS generated files #
Expand Down Expand Up @@ -54,8 +54,13 @@ features/*
examples/*
Guardfile
Procfile
test/*
.kitchen*
.rubocop.yml
spec/*
Rakefile
.travis.yml
.foodcritic
.codeclimate.yml

# SCM #
#######
Expand All @@ -79,8 +84,10 @@ tmp

# Cookbooks #
#############
CONTRIBUTING
CONTRIBUTING*
CHANGELOG*
TESTING*
MAINTAINERS.toml

# Strainer #
############
Expand All @@ -93,7 +100,3 @@ Strainerfile
###########
.vagrant
Vagrantfile

# Travis #
##########
.travis.yml

0 comments on commit 786c804

Please sign in to comment.