Unverified Commit 22caf2b9 authored by Mark E. Schill's avatar Mark E. Schill Committed by GitHub
Browse files

Merge pull request #126 from sous-chefs/green_build

Green Build
parents a12ffaa6 24a6292b
......@@ -4,15 +4,12 @@ lint_and_unit: &lint_and_unit
- danger
- lint-yaml
- lint-markdown
version: 2.1
orbs:
kitchen: sous-chefs/kitchen@2
workflows:
kitchen:
jobs:
# Lint and Unit Test
- kitchen/yamllint:
name: lint-yaml
- kitchen/mdlint:
......@@ -22,14 +19,35 @@ workflows:
context: Danger
- kitchen/delivery:
name: delivery
- kitchen/dokken-single:
name: client
suite: client
requires:
*lint_and_unit
name: client-debian-8
suite: client-debian-8
requires: *lint_and_unit
- kitchen/dokken-single:
name: server
suite: server
requires:
*lint_and_unit
name: client-centos-7
suite: client-centos-7
requires: *lint_and_unit
- kitchen/dokken-single:
name: client-ubuntu-1604
suite: client-ubuntu-1604
requires: *lint_and_unit
- kitchen/dokken-single:
name: client-ubuntu-1804
suite: client-ubuntu-1804
requires: *lint_and_unit
- kitchen/dokken-single:
name: server-debian-8
suite: server-debian-8
requires: *lint_and_unit
- kitchen/dokken-single:
name: server-centos-7
suite: server-centos-7
requires: *lint_and_unit
- kitchen/dokken-single:
name: server-ubuntu-1604
suite: server-ubuntu-1604
requires: *lint_and_unit
- kitchen/dokken-single:
name: server-ubuntu-1804
suite: server-ubuntu-1804
requires: *lint_and_unit
rules "~MD013"
rules "~MD013", "~MD024", "~MD033"
\ No newline at end of file
---
AllCops:
Exclude:
- 'Dangerfile'
# OSSEC Cookbook CHANGELOG
# Changelog
## Unreleased
## [Unreleased]
### Added
- Various Cookstyle and foodcritic fixes
- Migration to circleci testing
## 1.2.0
### Changed
- Various Cookstyle and foodcritic fixes
### Deprecated
### Removed
## [1.2.0] - 2019-05-13
### Added
- Add distro based authd service name
## 1.1.0
### Changed
### Deprecated
### Removed
## [1.1.0] - 2018-08-13
- README Updates:
- Fix broken links
......@@ -18,7 +35,7 @@
- Remove EOL distros
- Update for current supported Chef version (13)
## 1.0.5
## [1.0.5] - 2014-04-15
- Avoid node.save to prevent incomplete attribute collections
- `dist-ossec-keys.sh` should be sorted for idempotency
......@@ -27,12 +44,12 @@
- Support for environment-scoped searches
- Support for multiple email_to addresses
## 1.0.4
## [1.0.4] - 2013-05-14
- [COOK-2740]: Use FQDN for a client name
- [COOK-2739]: Upgrade OSSEC to version 2.7
## 1.0.2
## [1.0.2] - 2012-07-01
- [COOK-1394] - update ossec to version 2.6
......
......@@ -25,13 +25,13 @@ def test_changes?
false
end
fail 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10
failure 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10
warn 'This is a big Pull Request.' if git.lines_of_code > 400
# Require a CHANGELOG entry for non-test changes.
if !git.modified_files.include?('CHANGELOG.md') && code_changes?
fail 'Please include a CHANGELOG entry.'
failure 'Please include a CHANGELOG entry.'
end
# A sanity check for tests.
......
......@@ -3,7 +3,7 @@ maintainer 'Sous Chefs'
maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Installs and configures ossec'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.2.0'
chef_version '>= 13.0'
......
......@@ -30,7 +30,7 @@ else
end
end
node.normal['ossec']['agent_server_ip'] = ossec_server.first
node.default['ossec']['agent_server_ip'] = ossec_server.first
include_recipe 'ossec::install_agent'
......
......@@ -34,7 +34,7 @@ ruby_block 'ossec install_type' do # ~FC014
end
end
node.normal['ossec']['install_type'] = type
node.default['ossec']['install_type'] = type
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment