8 changes: 6 additions & 2 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ https://github.com/microsoft/vscode-dev-containers/tree/v0.140.1/containers/pupp

// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
}
}
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"puppet.puppet-vscode",
"rebornix.Ruby"
]
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [],
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
tags:
- '*'

env:
BUNDLE_WITHOUT: system_tests

jobs:
deploy:
name: 'deploy to forge'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
bundler: '2.1.0'
- name: Build and Deploy
env:
# Configure secrets here:
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets
BLACKSMITH_FORGE_USERNAME: 'ghoneycutt'
BLACKSMITH_FORGE_API_KEY: '${{ secrets.PUPPET_FORGE_API_KEY }}'
run: bundle exec rake module:push
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rspec
AllCops:
DisplayCopNames: true
TargetRubyVersion: '2.4'
TargetRubyVersion: '2.5'
Include:
- "**/*.rb"
Exclude:
Expand Down
39 changes: 29 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## [v3.8.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v3.8.0) (2022-12-22)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v3.7.0...v3.8.0)

**Fixed bugs:**

- Missing entries in pam.d/sshd for Ubuntu 16 [\#241](https://github.com/ghoneycutt/puppet-module-pam/pull/241) ([gnobironts](https://github.com/gnobironts))

**Closed issues:**

- Support for RHEL9 [\#247](https://github.com/ghoneycutt/puppet-module-pam/issues/247)
- Dependabot couldn't reach https://rubygems.org/ due to underlying error \<bad response Gateway Error 502 \(https://rubygems.org/specs.4.8.gz\)\> as it timed out [\#237](https://github.com/ghoneycutt/puppet-module-pam/issues/237)
- Using access\_conf\_template parameter [\#236](https://github.com/ghoneycutt/puppet-module-pam/issues/236)

**Merged pull requests:**

- Allow pam\_access to be used on EL8 [\#252](https://github.com/ghoneycutt/puppet-module-pam/pull/252) ([treydock](https://github.com/treydock))
- Convert to use PDK and restructure spec tests [\#243](https://github.com/ghoneycutt/puppet-module-pam/pull/243) ([anders-larsson](https://github.com/anders-larsson))
- Added support for Debian 11 [\#239](https://github.com/ghoneycutt/puppet-module-pam/pull/239) ([ZloeSabo](https://github.com/ZloeSabo))
- Upgrade to GitHub-native Dependabot [\#235](https://github.com/ghoneycutt/puppet-module-pam/pull/235) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
- Debian8 eol [\#232](https://github.com/ghoneycutt/puppet-module-pam/pull/232) ([ghoneycutt](https://github.com/ghoneycutt))

## [v3.7.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v3.7.0) (2020-11-17)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v3.6.0...v3.7.0)
Expand Down Expand Up @@ -143,6 +165,7 @@
- Replacing lsb\* facts for SuSE distros [\#171](https://github.com/ghoneycutt/puppet-module-pam/pull/171) ([v4ld3r5](https://github.com/v4ld3r5))
- Use Hiera 5 module data [\#170](https://github.com/ghoneycutt/puppet-module-pam/pull/170) ([treydock](https://github.com/treydock))
- Remove VAS logic and create examples that show old behavior [\#169](https://github.com/ghoneycutt/puppet-module-pam/pull/169) ([treydock](https://github.com/treydock))
- Add example SSSD integration using hiera [\#143](https://github.com/ghoneycutt/puppet-module-pam/pull/143) ([jeffmccune](https://github.com/jeffmccune))

## [2.34.0](https://github.com/ghoneycutt/puppet-module-pam/tree/2.34.0) (2018-09-18)

Expand All @@ -161,10 +184,6 @@
- pam::allowed\_users removes user from multiple files, and only adds back to access\_conf [\#154](https://github.com/ghoneycutt/puppet-module-pam/issues/154)
- Unwanted 'deny all' in allowed\_users [\#131](https://github.com/ghoneycutt/puppet-module-pam/issues/131)

**Merged pull requests:**

- Add example SSSD integration using hiera [\#143](https://github.com/ghoneycutt/puppet-module-pam/pull/143) ([jeffmccune](https://github.com/jeffmccune))

## [v2.33.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.33.0) (2017-04-20)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.32.0...v2.33.0)
Expand Down Expand Up @@ -271,7 +290,7 @@

## [v2.22.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.22.0) (2016-04-08)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.5.0...v2.22.0)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.21.0...v2.22.0)

**Merged pull requests:**

Expand All @@ -284,7 +303,7 @@

## [v2.20.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.20.0) (2015-12-16)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.3.0...v2.20.0)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.19.1...v2.20.0)

**Merged pull requests:**

Expand All @@ -304,7 +323,7 @@

## [v2.19.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.19.0) (2015-04-15)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.2.1...v2.19.0)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.18.0...v2.19.0)

**Merged pull requests:**

Expand Down Expand Up @@ -406,7 +425,7 @@

## [v2.8.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.8.0) (2014-09-30)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.2.0...v2.8.0)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.7.1-el7...v2.8.0)

**Merged pull requests:**

Expand Down Expand Up @@ -475,7 +494,7 @@

## [v2.4.4](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.4.4) (2014-05-02)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.1.0...v2.4.4)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.4.3...v2.4.4)

**Merged pull requests:**

Expand Down Expand Up @@ -521,7 +540,7 @@

## [v2.3.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v2.3.0) (2013-12-04)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v1.0.0...v2.3.0)
[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v2.2.0...v2.3.0)

**Merged pull requests:**

Expand Down
8 changes: 2 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ Reference the issue number, in the format `(GH-###)`.
--since-tag v2.1.0 --exclude-tags-regex "v1" --future-release v3.4.0
```

1. Update `REFERENCE.md` with the command `bundle exec rake reference`
1. Update `REFERENCE.md` with the command `pdk bundle exec rake strings:generate:reference`
1. Commit changes and push to master
1. Tag the new version, such as `git tag -a 'v2.0.0' -m 'v2.0.0'`
1. Push tags `git push --tags`
1. Update the puppet strings documentation with `bundle exec rake strings:gh_pages:update`
1. Clean up tests with `bundle exec rake spec_clean`
1. Remove junit directory from beaker runs `rm -fr junit`
1. Build module with `puppet module build`
1. Upload module to Puppet Forge.
1. Update the puppet strings documentation with `pdk bundle exec rake strings:gh_pages:update`
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ group :development do
gem "puppet-module-posix-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
gem "puppet-module-win-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet-module-win-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "voxpupuli-puppet-lint-plugins", '>= 3.0', require: false
end
group :system_tests do
gem "puppet-module-posix-system-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
Expand Down
Loading