-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from TalkingQuickly/feature/2021-upgrade
fixes: sshd configuration not being applied by default
- Loading branch information
Showing
15 changed files
with
288 additions
and
30 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
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
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
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 +1 @@ | ||
5.0.0 | ||
5.0.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
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,32 @@ | ||
# Delivery for Local Phases Execution | ||
# | ||
# This file allows you to execute test phases locally on a workstation or | ||
# in a CI pipeline. The delivery-cli will read this file and execute the | ||
# command(s) that are configured for each phase. You can customize them | ||
# by just modifying the phase key on this file. | ||
# | ||
# By default these phases are configured for Cookbook Workflow only | ||
# | ||
|
||
[local_phases] | ||
unit = "chef exec rspec spec/" | ||
lint = "chef exec cookstyle" | ||
# foodcritic has been deprecated in favor of cookstyle so we skip the syntax | ||
# phase now. | ||
syntax = "echo skipping syntax phase. Use lint phase instead." | ||
provision = "chef exec kitchen create" | ||
deploy = "chef exec kitchen converge" | ||
smoke = "chef exec kitchen verify" | ||
# The functional phase is optional, you can define it by uncommenting | ||
# the line below and running the command: `delivery local functional` | ||
# functional = "" | ||
cleanup = "chef exec kitchen destroy" | ||
|
||
# Remote project.toml file | ||
# | ||
# Instead of the local phases above, you may specify a remote URI location for | ||
# the `project.toml` file. This is useful for teams that wish to centrally | ||
# manage the behavior of the `delivery local` command across many different | ||
# projects. | ||
# | ||
# remote_file = "https://url/project.toml" |
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,25 @@ | ||
.vagrant | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
.*.sw[a-z] | ||
*.un~ | ||
|
||
# Bundler | ||
Gemfile.lock | ||
gems.locked | ||
bin/* | ||
.bundle/* | ||
|
||
# test kitchen | ||
.kitchen/ | ||
kitchen.local.yml | ||
|
||
# Chef Infra | ||
Berksfile.lock | ||
.zero-knife.rb | ||
Policyfile.lock.json | ||
|
||
.idea/ | ||
|
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,10 @@ | ||
# rdr_sudo_wrapper CHANGELOG | ||
|
||
This file is used to list changes made in each version of the rdr_sudo_wrapper cookbook. | ||
|
||
## 0.1.0 | ||
|
||
Initial release. | ||
|
||
- change 0 | ||
- change 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,3 @@ | ||
Copyright 2021 The Authors | ||
|
||
All rights reserved, do not redistribute. |
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,16 @@ | ||
# Policyfile.rb - Describe how you want Chef Infra Client to build your system. | ||
# | ||
# For more information on the Policyfile feature, visit | ||
# https://docs.chef.io/policyfile/ | ||
|
||
# A name that describes what the system you're building with Chef does. | ||
name 'rdr_sudo_wrapper' | ||
|
||
# Where to find external cookbooks: | ||
default_source :supermarket | ||
|
||
# run_list: chef-client will run these recipes in the order specified. | ||
run_list 'rdr_sudo_wrapper::default' | ||
|
||
# Specify a custom source for a single cookbook: | ||
cookbook 'rdr_sudo_wrapper', path: '.' |
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 @@ | ||
# rdr_sudo_wrapper | ||
|
||
TODO: Enter the cookbook description here. | ||
|
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,32 @@ | ||
--- | ||
driver: | ||
name: vagrant | ||
|
||
## The forwarded_port port feature lets you connect to ports on the VM guest via | ||
## localhost on the host. | ||
## see also: https://www.vagrantup.com/docs/networking/forwarded_ports | ||
|
||
# network: | ||
# - ["forwarded_port", {guest: 80, host: 8080}] | ||
|
||
provisioner: | ||
name: chef_zero | ||
|
||
## product_name and product_version specifies a specific Chef product and version to install. | ||
## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/ | ||
# product_name: chef | ||
# product_version: 16 | ||
|
||
verifier: | ||
name: inspec | ||
|
||
platforms: | ||
- name: ubuntu-20.04 | ||
- name: centos-8 | ||
|
||
suites: | ||
- name: default | ||
verifier: | ||
inspec_tests: | ||
- test/integration/default | ||
attributes: |
Oops, something went wrong.