-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dan Webb <dan.webb@damacus.io>
- Loading branch information
Showing
13 changed files
with
401 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root=true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# 2 space indentation | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Avoid issues parsing cookbook files later | ||
charset = utf-8 | ||
|
||
# Avoid cookstyle warnings | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use chefworkstation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
* text=auto eol=lf | ||
.github/ export-ignore | ||
.circleci/ export-ignore | ||
.mdlrc export-ignore | ||
.rubocop.yml export-ignore | ||
Dangerfile export-ignore | ||
*.sublime-project export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,49 @@ | ||
# Ignore personal Sublime Text 2 workspace | ||
*.sublime-workspace | ||
*.rbc | ||
.config | ||
InstalledFiles | ||
pkg | ||
test/tmp | ||
test/version_tmp | ||
tmp | ||
_Store | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
*.un~ | ||
*.tmp | ||
*.bk | ||
*.bkup | ||
|
||
# Mac OS X cruft | ||
.DS_Store | ||
# editor files | ||
.idea | ||
.*.sw[a-z] | ||
|
||
# ruby/bundler/rspec files | ||
.ruby-version | ||
.ruby-gemset | ||
.rvmrc | ||
Gemfile.lock | ||
.bundle | ||
*.gem | ||
coverage | ||
spec/reports | ||
|
||
# YARD / rdoc artifacts | ||
.yardoc | ||
_yardoc | ||
doc/ | ||
rdoc | ||
|
||
# chef infra stuff | ||
Berksfile.lock | ||
.kitchen | ||
kitchen.local.yml | ||
vendor/ | ||
.coverage/ | ||
.zero-knife.rb | ||
Policyfile.lock.json | ||
|
||
# vagrant stuff | ||
.vagrant/ | ||
.vagrant.d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
PreCommit: | ||
TrailingWhitespace: | ||
enabled: true | ||
YamlLint: | ||
enabled: true | ||
required_executable: "yamllint" | ||
ChefSpec: | ||
enabled: true | ||
required_executable: "chef" | ||
command: ["chef", "exec", "rspec"] | ||
Cookstyle: | ||
enabled: true | ||
required_executable: "cookstyle" | ||
command: ["cookstyle"] | ||
MarkdownLint: | ||
enabled: false | ||
required_executable: "npx" | ||
command: ["npx", "markdownlint-cli2", "'**/*.md'"] | ||
include: ["**/*.md"] | ||
|
||
CommitMsg: | ||
HardTabs: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
extends: default | ||
rules: | ||
line-length: | ||
max: 256 | ||
level: warning | ||
document-start: disable | ||
braces: | ||
forbid: false | ||
min-spaces-inside: 0 | ||
max-spaces-inside: 1 | ||
min-spaces-inside-empty: -1 | ||
max-spaces-inside-empty: -1 | ||
comments: | ||
min-spaces-from-content: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Contributing | ||
|
||
Please refer to | ||
[https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Testing | ||
|
||
Please refer to [the community cookbook documentation on testing](https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# Put files/directories that should be ignored in this file when uploading | ||
# to a Chef Infra Server or Supermarket. | ||
# Lines that start with '# ' are comments. | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
ehthumbs.db | ||
Icon? | ||
nohup.out | ||
Thumbs.db | ||
.envrc | ||
|
||
# EDITORS # | ||
########### | ||
.#* | ||
.project | ||
.settings | ||
*_flymake | ||
*_flymake.* | ||
*.bak | ||
*.sw[a-z] | ||
*.tmproj | ||
*~ | ||
\#* | ||
REVISION | ||
TAGS* | ||
tmtags | ||
.vscode | ||
.editorconfig | ||
|
||
## COMPILED ## | ||
############## | ||
*.class | ||
*.com | ||
*.dll | ||
*.exe | ||
*.o | ||
*.pyc | ||
*.so | ||
*/rdoc/ | ||
a.out | ||
mkmf.log | ||
|
||
# Testing # | ||
########### | ||
.circleci/* | ||
.codeclimate.yml | ||
.delivery/* | ||
.foodcritic | ||
.kitchen* | ||
.mdlrc | ||
.overcommit.yml | ||
.rspec | ||
.rubocop.yml | ||
.travis.yml | ||
.watchr | ||
.yamllint | ||
azure-pipelines.yml | ||
Dangerfile | ||
examples/* | ||
features/* | ||
Guardfile | ||
kitchen*.yml | ||
mlc_config.json | ||
Procfile | ||
Rakefile | ||
spec/* | ||
test/* | ||
|
||
# SCM # | ||
####### | ||
.git | ||
.gitattributes | ||
.gitconfig | ||
.github/* | ||
.gitignore | ||
.gitkeep | ||
.gitmodules | ||
.svn | ||
*/.bzr/* | ||
*/.git | ||
*/.hg/* | ||
*/.svn/* | ||
|
||
# Berkshelf # | ||
############# | ||
Berksfile | ||
Berksfile.lock | ||
cookbooks/* | ||
tmp | ||
|
||
# Bundler # | ||
########### | ||
vendor/* | ||
Gemfile | ||
Gemfile.lock | ||
|
||
# Policyfile # | ||
############## | ||
Policyfile.rb | ||
Policyfile.lock.json | ||
|
||
# Documentation # | ||
############# | ||
CODE_OF_CONDUCT* | ||
CONTRIBUTING* | ||
documentation/* | ||
TESTING* | ||
UPGRADING* | ||
|
||
# Vagrant # | ||
########### | ||
.vagrant | ||
Vagrantfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
driver: | ||
name: dokken | ||
privileged: true | ||
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %> | ||
|
||
transport: { name: dokken } | ||
provisioner: { name: dokken } | ||
|
||
platforms: | ||
- name: almalinux-8 | ||
driver: | ||
image: dokken/almalinux-8 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: almalinux-9 | ||
driver: | ||
image: dokken/almalinux-9 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: amazonlinux-2023 | ||
driver: | ||
image: dokken/amazonlinux-2023 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: centos-7 | ||
driver: | ||
image: dokken/centos-7 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: centos-stream-8 | ||
driver: | ||
image: dokken/centos-stream-8 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: centos-stream-9 | ||
driver: | ||
image: dokken/centos-stream-9 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: debian-9 | ||
driver: | ||
image: dokken/debian-9 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: debian-10 | ||
driver: | ||
image: dokken/debian-10 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: debian-11 | ||
driver: | ||
image: dokken/debian-11 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: debian-12 | ||
driver: | ||
image: dokken/debian-12 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: fedora-latest | ||
driver: | ||
image: dokken/fedora-latest | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: opensuse-leap-15 | ||
driver: | ||
image: dokken/opensuse-leap-15 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: oraclelinux-7 | ||
driver: | ||
image: dokken/oraclelinux-7 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: oraclelinux-8 | ||
driver: | ||
image: dokken/oraclelinux-8 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: oraclelinux-9 | ||
driver: | ||
image: dokken/oraclelinux-9 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: rockylinux-8 | ||
driver: | ||
image: dokken/rockylinux-8 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: rockylinux-9 | ||
driver: | ||
image: dokken/rockylinux-9 | ||
pid_one_command: /usr/lib/systemd/systemd | ||
|
||
- name: ubuntu-18.04 | ||
driver: | ||
image: dokken/ubuntu-18.04 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: ubuntu-20.04 | ||
driver: | ||
image: dokken/ubuntu-20.04 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: ubuntu-22.04 | ||
driver: | ||
image: dokken/ubuntu-22.04 | ||
pid_one_command: /bin/systemd | ||
|
||
- name: ubuntu-23.04 | ||
driver: | ||
image: dokken/ubuntu-23.04 | ||
pid_one_command: /bin/systemd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
driver: { name: exec } | ||
transport: { name: exec } | ||
|
||
platforms: | ||
- name: macos-latest | ||
- name: windows-latest |
Oops, something went wrong.