Switch from Batali to Berkshelf to manage upstream cookbooks

This commit is contained in:
Greg Karékinian
2018-04-17 12:15:43 +02:00
parent 0c80aaabd4
commit d3aa94aab5
62 changed files with 943 additions and 2560 deletions

View File

@@ -1,32 +0,0 @@
---
engines:
duplication:
enabled: true
config:
languages:
- ruby
- javascript
- python
- php
fixme:
enabled: true
rubocop:
enabled: true
foodcritic:
enabled: true
markdownlint:
enabled: true
checks:
MD013:
enabled: false
ratings:
paths:
- "**.inc"
- "**.js"
- "**.jsx"
- "**.module"
- "**.php"
- "**.py"
- "**.rb"
- "**.md"
exclude_paths: []

View File

@@ -1,21 +0,0 @@
.vagrant
*~
*#
.#*
\#*#
.*.sw[a-z]
*.un~
# Bundler
Gemfile.lock
bin/*
.bundle/*
# test kitchen
.kitchen/
.kitchen.local.yml
# Chef
Berksfile.lock
.zero-knife.rb
Policyfile.lock.json

View File

@@ -1,26 +0,0 @@
---
driver:
name: vagrant
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:
- name: ubuntu-16.04
- name: centos-7.3
suites:
- name: default
run_list:
- recipe[timezone_iii::default]
verifier:
inspec_tests:
- test/smoke/default
attributes:

View File

@@ -1,18 +0,0 @@
AllCops:
Exclude:
- vendor/**/*
- Guardfile
TargetRubyVersion: 2.4
ClassLength:
Enabled: false
CyclomaticComplexity:
Enabled: false
LineLength:
Enabled: false
MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
PerceivedComplexity:
Enabled: false

View File

@@ -1,3 +0,0 @@
source 'https://supermarket.chef.io'
metadata

View File

@@ -1,21 +0,0 @@
# CHANGELOG for timezone_ii
## 1.0.4 (6/6/2017)
- [badsector3] - Temp fix for recent Ubuntu releases with local time file overriding timezone file
## 1.0.3 (4/20/2017)
- [Corey Hemminger] - fixed linux include_recipe line that was being skipped
## 1.0.2 (4/19/2017)
- [Corey Hemminger] - changed hash rockets to new hash style
## 1.0.1 (4/18/2017)
- [Corey Hemminger] - fixed windows idempotency
## 1.0.0 (4/18/2017)
- [Corey Hemminger] - Initial commit

View File

@@ -1 +0,0 @@
Please refer to <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD>

View File

@@ -1 +0,0 @@
Please refer to <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD>

View File

@@ -1,27 +0,0 @@
name 'timezone_iii'
maintainer 'Corey Hemminger'
maintainer_email 'hemminger@hotmail.com'
license 'Apache-2.0'
description 'Configures the timezone for node'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.4'
chef_version '>= 12.1' if respond_to?(:chef_version)
# The `issues_url` points to the location where issues for this cookbook are
# tracked. A `View Issues` link will be displayed on this cookbook's page when
# uploaded to a Supermarket.
#
issues_url 'https://github.com/Stromweld/timezone_iii/issues'
# The `source_url` points to the development reposiory for this cookbook. A
# `View Source` link will be displayed on this cookbook's page when uploaded to
# a Supermarket.
#
source_url 'https://github.com/Stromweld/timezone_iii'
%w(amazon centos debian fedora gentoo ubuntu pld redhat windows).each do |os|
supports os
end
replaces 'timezone'
replaces 'timezone-ii'