2 changes: 1 addition & 1 deletion .fixtures-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ fixtures:
stdlib:
repo: 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
nsswitch:
repo: 'https://github.com/trlinkin/puppet-nsswitch.git'
repo: 'https://github.com/voxpupuli/puppet-nsswitch.git'
symlinks:
pam: "#{source_dir}"
6 changes: 3 additions & 3 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ fixtures:
repositories:
stdlib:
repo: 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
ref: 'v8.5.0'
ref: 'v9.0.0'
nsswitch:
repo: 'https://github.com/trlinkin/puppet-nsswitch.git'
ref: '2.2.0'
repo: 'https://github.com/voxpupuli/puppet-nsswitch.git'
ref: 'v3.0.0'
symlinks:
pam: "#{source_dir}"
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
puppet: 7
fixtures: .fixtures-latest.yml
allow_failure: true
- ruby: 3.2.2
puppet: 8
fixtures: .fixtures.yml
allow_failure: false
- ruby: 3.2.2
puppet: 8
fixtures: .fixtures-latest.yml
allow_failure: true
env:
BUNDLE_WITHOUT: system_tests:release
PUPPET_GEM_VERSION: "~> ${{ matrix.puppet }}.0"
Expand All @@ -49,12 +57,12 @@ jobs:
set:
- "el8"
- "el9"
- "debian-10"
- "debian-11"
- "ubuntu-2004"
- "ubuntu-2204"
puppet:
- "puppet7"
- "puppet8"
env:
BUNDLE_WITHOUT: development:release
BEAKER_debug: true
Expand Down
9 changes: 1 addition & 8 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,16 @@
# for the default values.
---
.github/workflows/ci.yaml:
unit_excludes:
# TODO: nsswitch module uses legacy facts so can't test against Puppet 8 yet.
# https://github.com/trlinkin/puppet-nsswitch/pull/49
puppet: '8'
acceptance_matrix:
set:
- el8
- el9
- debian-10
- debian-11
- ubuntu-2004
- ubuntu-2204
puppet:
- puppet7
# TODO: nsswitch module uses legacy facts so can't test against Puppet 8 yet.
# https://github.com/trlinkin/puppet-nsswitch/pull/49
- ---puppet8
- puppet8
.github/workflows/release.yaml:
username: ghoneycutt
spec/spec_helper.rb:
Expand Down
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v5.0.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v5.0.0) (2023-12-08)

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

### Merged pull requests:

- Support Puppet 8 and stdlib 9.x [\#269](https://github.com/ghoneycutt/puppet-module-pam/pull/269) ([treydock](https://github.com/treydock))

## [v4.3.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v4.3.0) (2023-07-18)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v4.2.0...v4.3.0)
Expand All @@ -10,17 +18,23 @@ All notable changes to this project will be documented in this file. The format

- Add examples for pwquality and faillock [\#267](https://github.com/ghoneycutt/puppet-module-pam/pull/267) ([treydock](https://github.com/treydock))
- Make EOL OS Hiera data accessible via examples directory [\#265](https://github.com/ghoneycutt/puppet-module-pam/pull/265) ([treydock](https://github.com/treydock))
- Ensure limits\_fragments\_hiera\_merge is using proper lookup function [\#263](https://github.com/ghoneycutt/puppet-module-pam/pull/263) ([treydock](https://github.com/treydock))

### Merged pull requests:

- Add pam::limits::purge\_limits\_d\_dir\_ignore parameter [\#266](https://github.com/ghoneycutt/puppet-module-pam/pull/266) ([treydock](https://github.com/treydock))
- Remove support for Vagrant [\#264](https://github.com/ghoneycutt/puppet-module-pam/pull/264) ([ghoneycutt](https://github.com/ghoneycutt))

## [v4.2.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v4.2.0) (2023-07-17)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v4.1.0...v4.2.0)

### Added

- Ensure limits\_fragments\_hiera\_merge is using proper lookup function [\#263](https://github.com/ghoneycutt/puppet-module-pam/pull/263) ([treydock](https://github.com/treydock))

### Merged pull requests:

- Remove support for Vagrant [\#264](https://github.com/ghoneycutt/puppet-module-pam/pull/264) ([ghoneycutt](https://github.com/ghoneycutt))

## [v4.1.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v4.1.0) (2023-07-17)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v4.0.0...v4.1.0)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2010-2023 Garrett Honeycutt <code@garretthoneycutt.com>
Copyright (C) 2010-2024 Garrett Honeycutt <code@garretthoneycutt.com>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ include pam
## Limitations

This module has been tested to work on the following systems with Puppet
versions 7 with the Ruby version associated with those releases.
versions 7 and 8 with the Ruby version associated with those releases.
Please see `.github/workflows/ci.yaml` for a full matrix of supported versions. This
module aims to support the current and previous major Puppet versions.

Expand Down
File renamed without changes.
13 changes: 6 additions & 7 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ghoneycutt-pam",
"version": "4.3.0",
"version": "5.0.0",
"author": "ghoneycutt",
"summary": "Manage PAM",
"license": "Apache-2.0",
Expand All @@ -9,12 +9,12 @@
"issues_url": "https://github.com/ghoneycutt/puppet-module-pam/issues",
"dependencies": [
{
"name": "trlinkin/nsswitch",
"version_requirement": ">= 2.2.0 < 3.0.0"
"name": "puppet/nsswitch",
"version_requirement": ">= 3.0.0 < 4.0.0"
},
{
"name": "puppetlabs/stdlib",
"version_requirement": ">= 8.5.0 < 9.0.0"
"version_requirement": ">= 8.5.0 < 10.0.0"
}
],
"operatingsystem_support": [
Expand All @@ -27,7 +27,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
Expand Down Expand Up @@ -92,11 +91,11 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 7.0.0 < 8.0.0"
"version_requirement": ">= 7.0.0 < 9.0.0"
}
],
"description": "Manages PAM, including specifying users and groups in access.conf, limits.conf, and limits fragments",
"pdk-version": "3.0.0",
"template-url": "https://github.com/tailored-automation/pdk-templates#main",
"template-ref": "heads/main-0-g53868f7"
"template-ref": "heads/main-0-g8e0611a"
}
24 changes: 0 additions & 24 deletions spec/acceptance/nodesets/debian-10.yml

This file was deleted.

5 changes: 0 additions & 5 deletions spec/fixtures/debian-10-x86_64-pam_common_account

This file was deleted.

5 changes: 0 additions & 5 deletions spec/fixtures/debian-10-x86_64-pam_common_auth

This file was deleted.

5 changes: 0 additions & 5 deletions spec/fixtures/debian-10-x86_64-pam_common_password

This file was deleted.

7 changes: 0 additions & 7 deletions spec/fixtures/debian-10-x86_64-pam_common_session

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions spec/fixtures/debian-10-x86_64-pam_d_login

This file was deleted.

16 changes: 0 additions & 16 deletions spec/fixtures/debian-10-x86_64-pam_d_sshd

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
next unless File.exist?(f) && File.readable?(f) && File.size?(f)

begin
default_facts.merge!(YAML.safe_load(File.read(f), [], [], true))
default_facts.merge!(YAML.safe_load(File.read(f)))
rescue => e
RSpec.configuration.reporter.message "WARNING: Unable to load #{f}: #{e}"
end
Expand Down
19 changes: 0 additions & 19 deletions templates/login.debian10.erb

This file was deleted.

18 changes: 0 additions & 18 deletions templates/sshd.debian10.erb

This file was deleted.