...
 
Commits (4)
#https://EditorConfig.org
# 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
### Cookbook version
[Version of the cookbook where you are encountering the issue]
### Chef-client version
[Version of chef-client in your environment]
### Platform Details
[Operating system distribution and release version. Cloud provider if running in the cloud]
### Scenario:
[What you are trying to achieve and you can't?]
### Steps to Reproduce:
[If you are filing an issue what are the things we need to do in order to repro your problem? How are you using this cookbook or any resources it includes?]
### Expected Result:
[What are you expecting to happen as the consequence of above reproduction steps?]
### Actual Result:
[What actually happens after the reproduction steps? Include the error output or a link to a gist if possible.]
### Description
[Describe what this change achieves]
### Issues Resolved
[List any existing issues this PR resolves]
### Check List
- [ ] All tests pass. See <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD>
- [ ] New functionality includes testing.
- [ ] New functionality has been documented in the README if applicable
- [ ] All commits have been signed for the Developer Certificate of Origin. See <https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD>
---
name: Branch Cleanup
# This workflow is triggered on all closed pull requests.
# However the script does not do anything it a merge was not performed.
# However the script does not do anything if a merge was not performed.
on:
pull_request:
types: [closed]
......
*.rbc
.config
coverage
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
......@@ -14,12 +11,15 @@ _Store
*#
.#*
\#*#
.*.sw[a-z]
*.un~
*.tmp
*.bk
*.bkup
# editor temp files
.idea
.*.sw[a-z]
# ruby/bundler files
.ruby-version
.ruby-gemset
......@@ -27,14 +27,16 @@ _Store
Gemfile.lock
.bundle
*.gem
coverage
spec/reports
# YARD artifacts
# YARD / rdoc artifacts
.yardoc
_yardoc
doc/
.idea
rdoc
# chef stuff
# chef infra stuff
Berksfile.lock
.kitchen
kitchen.local.yml
......
......@@ -25,13 +25,6 @@ platforms:
image: dokken/amazonlinux-2
pid_one_command: /usr/lib/systemd/systemd
- name: debian-8
driver:
image: dokken/debian-8
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: debian-9
driver:
image: dokken/debian-9
......
......@@ -9,7 +9,7 @@ describe file('/etc/rsyslog.d/99-test-file.conf') do
end
describe file('/etc/rsyslog.d/99-test-file.conf') do
its(:content) { should match /InputFileName \/var\/log\/boot/ }
its(:content) { should match %r{InputFileName /var/log/boot} }
end
describe file('/etc/rsyslog.d/99-test-file.conf') do
......