Skip to content

Commit 043d048

Browse files
committed
1.2.1
1 parent 6b22038 commit 043d048

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change Log
22

3+
## [v1.2.1](https://github.com/dev-sec/chef-ssh-hardening/tree/v1.2.1) (2016-09-25)
4+
[Full Changelog](https://github.com/dev-sec/chef-ssh-hardening/compare/v1.2.0...v1.2.1)
5+
6+
**Implemented enhancements:**
7+
8+
- add suse and opensuse support [\#122](https://github.com/dev-sec/chef-ssh-hardening/pull/122) ([chris-rock](https://github.com/chris-rock))
9+
- activate fedora integration tests in travis [\#120](https://github.com/dev-sec/chef-ssh-hardening/pull/120) ([chris-rock](https://github.com/chris-rock))
10+
11+
**Merged pull requests:**
12+
13+
- Fix deprecation warnings [\#123](https://github.com/dev-sec/chef-ssh-hardening/pull/123) ([operatingops](https://github.com/operatingops))
14+
- Use bracket syntax in attributes/default.rb [\#121](https://github.com/dev-sec/chef-ssh-hardening/pull/121) ([aried3r](https://github.com/aried3r))
15+
- Use new ciphers, kex, macs and priv separation sandbox for redhat family 7 [\#119](https://github.com/dev-sec/chef-ssh-hardening/pull/119) ([atomic111](https://github.com/atomic111))
16+
- change hardening-io to dev-sec domain for build status and code coverage [\#118](https://github.com/dev-sec/chef-ssh-hardening/pull/118) ([atomic111](https://github.com/atomic111))
17+
318
## [v1.2.0](https://github.com/dev-sec/chef-ssh-hardening/tree/v1.2.0) (2016-05-29)
419
[Full Changelog](https://github.com/dev-sec/chef-ssh-hardening/compare/v1.1.0...v1.2.0)
520

@@ -23,7 +38,7 @@
2338
- Made MaxAuthTries and MaxSessions configurable [\#107](https://github.com/dev-sec/chef-ssh-hardening/pull/107) ([runningman84](https://github.com/runningman84))
2439
- added inspec support \(kitchen.yml and Gemfile\) [\#106](https://github.com/dev-sec/chef-ssh-hardening/pull/106) ([atomic111](https://github.com/atomic111))
2540
- Apply PasswordAuthentication attribute to SSH [\#105](https://github.com/dev-sec/chef-ssh-hardening/pull/105) ([SteveLowe](https://github.com/SteveLowe))
26-
- Configurable PasswordAuthentication [\#102](https://github.com/dev-sec/chef-ssh-hardening/pull/102) ([sumit-goel](https://github.com/sumit-goel))
41+
- Configurable PasswordAuthentication [\#102](https://github.com/dev-sec/chef-ssh-hardening/pull/102) ([sumitgoelpw](https://github.com/sumitgoelpw))
2742
- x11 forwarding should be configurable like tcp and agent forwarding [\#99](https://github.com/dev-sec/chef-ssh-hardening/pull/99) ([patcon](https://github.com/patcon))
2843
- Correct recipe names in the README [\#98](https://github.com/dev-sec/chef-ssh-hardening/pull/98) ([michaelklishin](https://github.com/michaelklishin))
2944
- update common kitchen.yml platforms [\#97](https://github.com/dev-sec/chef-ssh-hardening/pull/97) ([chris-rock](https://github.com/chris-rock))

Rakefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
require 'foodcritic'
55
require 'rspec/core/rake_task'
66
require 'rubocop/rake_task'
7+
require 'chef/cookbook/metadata'
78

89
# General tasks
910

@@ -49,8 +50,15 @@ end
4950
# Automatically generate a changelog for this project. Only loaded if
5051
# the necessary gem is installed.
5152
begin
53+
# read version from metadata
54+
metadata = Chef::Cookbook::Metadata.new
55+
metadata.instance_eval(File.read('metadata.rb'))
56+
57+
# build changelog
5258
require 'github_changelog_generator/task'
53-
GitHubChangelogGenerator::RakeTask.new :changelog
59+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
60+
config.future_release = "v#{metadata.version}"
61+
end
5462
rescue LoadError
5563
puts '>>>>> GitHub Changelog Generator not loaded, omitting tasks'
5664
end

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
license "Apache 2.0"
2222
description "This cookbook installs and provides secure ssh and sshd configurations."
2323
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
24-
version "1.2.0"
24+
version "1.2.1"
2525

2626
recipe 'ssh-hardening::default', 'installs and configures ssh client and server'
2727
recipe 'ssh-hardening::client', 'install and apply security hardening for ssh client'

0 commit comments

Comments
 (0)