Showing with 289 additions and 1,788 deletions.
  1. +8 −7 .github/workflows/ci.yaml
  2. +1 −1 .github/workflows/release.yaml
  3. +12 −3 .sync.yml
  4. +8 −0 CHANGELOG.md
  5. +9 −19 Gemfile
  6. +175 −175 REFERENCE.md
  7. +1 −1 Rakefile
  8. +0 −30 data/os/Debian/7.yaml
  9. +0 −30 data/os/Debian/8.yaml
  10. +0 −33 data/os/Debian/9.yaml
  11. +0 −29 data/os/RedHat/5.yaml
  12. +0 −49 data/os/RedHat/6.yaml
  13. +0 −23 data/os/Suse/10.yaml
  14. +0 −24 data/os/Suse/11.yaml
  15. +0 −29 data/os/Suse/13.yaml
  16. +0 −23 data/os/Suse/9.yaml
  17. +0 −31 data/os/Ubuntu/12.04.yaml
  18. +0 −33 data/os/Ubuntu/14.04.yaml
  19. +0 −32 data/os/Ubuntu/16.04.yaml
  20. +0 −33 data/os/Ubuntu/18.04.yaml
  21. +3 −28 metadata.json
  22. +17 −6 spec/acceptance/00_pam_spec.rb
  23. +0 −20 spec/acceptance/nodesets/centos-7.yml
  24. +12 −9 spec/acceptance/nodesets/debian-11.yml
  25. +8 −5 spec/acceptance/nodesets/{rocky-8.yml → el8.yml}
  26. +9 −5 spec/acceptance/nodesets/{centos-9.yml → el9.yml}
  27. +7 −2 spec/acceptance/nodesets/ubuntu-2004.yml
  28. +9 −6 spec/acceptance/nodesets/{ubuntu-1804.yml → ubuntu-2204.yml}
  29. +10 −10 spec/classes/init_spec.rb
  30. +0 −5 spec/fixtures/debian-7-x86_64-pam_common_account
  31. +0 −5 spec/fixtures/debian-7-x86_64-pam_common_auth
  32. +0 −5 spec/fixtures/debian-7-x86_64-pam_common_password
  33. +0 −6 spec/fixtures/debian-7-x86_64-pam_common_session
  34. +0 −6 spec/fixtures/debian-7-x86_64-pam_common_session_noninteractive
  35. +0 −17 spec/fixtures/debian-7-x86_64-pam_d_login
  36. +0 −12 spec/fixtures/debian-7-x86_64-pam_d_sshd
  37. +0 −5 spec/fixtures/debian-8-x86_64-pam_common_account
  38. +0 −5 spec/fixtures/debian-8-x86_64-pam_common_auth
  39. +0 −5 spec/fixtures/debian-8-x86_64-pam_common_password
  40. +0 −6 spec/fixtures/debian-8-x86_64-pam_common_session
  41. +0 −6 spec/fixtures/debian-8-x86_64-pam_common_session_noninteractive
  42. +0 −18 spec/fixtures/debian-8-x86_64-pam_d_login
  43. +0 −15 spec/fixtures/debian-8-x86_64-pam_d_sshd
  44. +0 −5 spec/fixtures/debian-9-x86_64-pam_common_account
  45. +0 −6 spec/fixtures/debian-9-x86_64-pam_common_auth
  46. +0 −5 spec/fixtures/debian-9-x86_64-pam_common_password
  47. +0 −8 spec/fixtures/debian-9-x86_64-pam_common_session
  48. +0 −8 spec/fixtures/debian-9-x86_64-pam_common_session_noninteractive
  49. +0 −19 spec/fixtures/debian-9-x86_64-pam_d_login
  50. +0 −13 spec/fixtures/debian-9-x86_64-pam_d_sshd
  51. +0 −15 spec/fixtures/redhat-5-x86_64-pam_d_login
  52. +0 −9 spec/fixtures/redhat-5-x86_64-pam_d_sshd
  53. +0 −23 spec/fixtures/redhat-5-x86_64-pam_system_auth_ac
  54. +0 −17 spec/fixtures/redhat-6-x86_64-pam_d_login
  55. +0 −14 spec/fixtures/redhat-6-x86_64-pam_d_sshd
  56. +0 −25 spec/fixtures/redhat-6-x86_64-pam_password_auth_ac
  57. +0 −25 spec/fixtures/redhat-6-x86_64-pam_system_auth_ac
  58. +0 −3 spec/fixtures/sles-10-x86_64-pam_common_account
  59. +0 −4 spec/fixtures/sles-10-x86_64-pam_common_auth
  60. +0 −4 spec/fixtures/sles-10-x86_64-pam_common_password
  61. +0 −4 spec/fixtures/sles-10-x86_64-pam_common_session
  62. +0 −10 spec/fixtures/sles-10-x86_64-pam_d_login
  63. +0 −6 spec/fixtures/sles-10-x86_64-pam_d_sshd
  64. +0 −3 spec/fixtures/sles-11-x86_64-pam_common_account_pc
  65. +0 −4 spec/fixtures/sles-11-x86_64-pam_common_auth_pc
  66. +0 −4 spec/fixtures/sles-11-x86_64-pam_common_password_pc
  67. +0 −5 spec/fixtures/sles-11-x86_64-pam_common_session_pc
  68. +0 −12 spec/fixtures/sles-11-x86_64-pam_d_login
  69. +0 −9 spec/fixtures/sles-11-x86_64-pam_d_sshd
  70. +0 −3 spec/fixtures/sles-13-x86_64-pam_common_account_pc
  71. +0 −5 spec/fixtures/sles-13-x86_64-pam_common_auth_pc
  72. +0 −5 spec/fixtures/sles-13-x86_64-pam_common_password_pc
  73. +0 −8 spec/fixtures/sles-13-x86_64-pam_common_session_pc
  74. +0 −9 spec/fixtures/sles-13-x86_64-pam_d_login
  75. +0 −9 spec/fixtures/sles-13-x86_64-pam_d_sshd
  76. +0 −11 spec/fixtures/sles-9-x86_64-pam_d_login
  77. +0 −10 spec/fixtures/sles-9-x86_64-pam_d_sshd
  78. +0 −17 spec/fixtures/sles-9-x86_64-pam_other
  79. +0 −5 spec/fixtures/ubuntu-12.04-x86_64-pam_common_account
  80. +0 −5 spec/fixtures/ubuntu-12.04-x86_64-pam_common_auth
  81. +0 −5 spec/fixtures/ubuntu-12.04-x86_64-pam_common_password
  82. +0 −7 spec/fixtures/ubuntu-12.04-x86_64-pam_common_session
  83. +0 −7 spec/fixtures/ubuntu-12.04-x86_64-pam_common_session_noninteractive
  84. +0 −16 spec/fixtures/ubuntu-12.04-x86_64-pam_d_login
  85. +0 −11 spec/fixtures/ubuntu-12.04-x86_64-pam_d_sshd
  86. +0 −5 spec/fixtures/ubuntu-14.04-x86_64-pam_common_account
  87. +0 −6 spec/fixtures/ubuntu-14.04-x86_64-pam_common_auth
  88. +0 −5 spec/fixtures/ubuntu-14.04-x86_64-pam_common_password
  89. +0 −8 spec/fixtures/ubuntu-14.04-x86_64-pam_common_session
  90. +0 −8 spec/fixtures/ubuntu-14.04-x86_64-pam_common_session_noninteractive
  91. +0 −17 spec/fixtures/ubuntu-14.04-x86_64-pam_d_login
  92. +0 −16 spec/fixtures/ubuntu-14.04-x86_64-pam_d_sshd
  93. +0 −5 spec/fixtures/ubuntu-16.04-x86_64-pam_common_account
  94. +0 −5 spec/fixtures/ubuntu-16.04-x86_64-pam_common_auth
  95. +0 −5 spec/fixtures/ubuntu-16.04-x86_64-pam_common_password
  96. +0 −8 spec/fixtures/ubuntu-16.04-x86_64-pam_common_session
  97. +0 −8 spec/fixtures/ubuntu-16.04-x86_64-pam_common_session_noninteractive
  98. +0 −18 spec/fixtures/ubuntu-16.04-x86_64-pam_d_login
  99. +0 −16 spec/fixtures/ubuntu-16.04-x86_64-pam_d_sshd
  100. +0 −5 spec/fixtures/ubuntu-18.04-x86_64-pam_common_account
  101. +0 −6 spec/fixtures/ubuntu-18.04-x86_64-pam_common_auth
  102. +0 −5 spec/fixtures/ubuntu-18.04-x86_64-pam_common_password
  103. +0 −8 spec/fixtures/ubuntu-18.04-x86_64-pam_common_session
  104. +0 −8 spec/fixtures/ubuntu-18.04-x86_64-pam_common_session_noninteractive
  105. +0 −18 spec/fixtures/ubuntu-18.04-x86_64-pam_d_login
  106. +0 −17 spec/fixtures/ubuntu-18.04-x86_64-pam_d_sshd
  107. +0 −17 templates/login.debian7.erb
  108. +0 −18 templates/login.debian8.erb
  109. +0 −19 templates/login.debian9.erb
  110. +0 −23 templates/login.el5.erb
  111. +0 −19 templates/login.el6.erb
  112. +0 −10 templates/login.suse10.erb
  113. +0 −14 templates/login.suse11.erb
  114. +0 −9 templates/login.suse13.erb
  115. +0 −11 templates/login.suse9.erb
  116. +0 −16 templates/login.ubuntu12.erb
  117. +0 −17 templates/login.ubuntu14.erb
  118. +0 −18 templates/login.ubuntu16.erb
  119. +0 −18 templates/login.ubuntu18.erb
  120. +0 −14 templates/sshd.debian7.erb
  121. +0 −17 templates/sshd.debian8.erb
  122. +0 −15 templates/sshd.debian9.erb
  123. +0 −11 templates/sshd.el5.erb
  124. +0 −16 templates/sshd.el6.erb
  125. +0 −6 templates/sshd.suse10.erb
  126. +0 −11 templates/sshd.suse11.erb
  127. +0 −9 templates/sshd.suse13.erb
  128. +0 −10 templates/sshd.suse9.erb
  129. +0 −13 templates/sshd.ubuntu12.erb
  130. +0 −18 templates/sshd.ubuntu14.erb
  131. +0 −18 templates/sshd.ubuntu16.erb
  132. +0 −19 templates/sshd.ubuntu18.erb
15 changes: 8 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,21 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 2.7
- ruby: 2.7.8
puppet: 7
fixtures: .fixtures.yml
allow_failure: false
- ruby: 2.7
- ruby: 2.7.8
puppet: 7
fixtures: .fixtures-latest.yml
allow_failure: true
env:
BUNDLE_WITHOUT: system_tests:release
PUPPET_GEM_VERSION: "~> ${{ matrix.puppet }}.0"
FACTER_GEM_VERSION: "< 4.0"
FIXTURES_YML: ${{ matrix.fixtures }}
name: Puppet ${{ matrix.puppet }} (Ruby ${{ matrix.ruby }} fixtures=${{ matrix.fixtures }})
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -48,10 +47,12 @@ jobs:
fail-fast: false
matrix:
set:
- "el8"
- "el9"
- "debian-10"
- "rocky-8"
- "ubuntu-1804"
- "debian-11"
- "ubuntu-2004"
- "ubuntu-2204"
puppet:
- "puppet7"
env:
Expand All @@ -70,7 +71,7 @@ jobs:
sudo apt-get remove mysql-server --purge
sudo apt-get install apparmor-profiles
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
15 changes: 12 additions & 3 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,25 @@
# 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:
- rocky-8
- el8
- el9
- debian-10
- ubuntu-1804
- 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
.github/workflows/release.yaml:
unmanaged: true
username: ghoneycutt
spec/spec_helper.rb:
coverage_report: true
minimum_code_coverage_percentage: 100
Expand Down
8 changes: 8 additions & 0 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).

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

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

### Merged pull requests:

- Numerous updates plus remove EOL OS support [\#261](https://github.com/ghoneycutt/puppet-module-pam/pull/261) ([treydock](https://github.com/treydock))

## [v3.10.0](https://github.com/ghoneycutt/puppet-module-pam/tree/v3.10.0) (2023-02-21)

[Full Changelog](https://github.com/ghoneycutt/puppet-module-pam/compare/v3.9.0...v3.10.0)
Expand Down
28 changes: 9 additions & 19 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,23 @@ ruby_version_segments = Gem::Version.new(RUBY_VERSION.dup).segments
minor_version = ruby_version_segments[0..1].join('.')

group :development do
gem "facter", '< 4.0', require: false
gem "fast_gettext", '1.1.0', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.1.0')
gem "fast_gettext", require: false if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.1.0')
gem "json_pure", '<= 2.0.1', require: false if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
gem "json", '= 1.8.1', require: false if Gem::Version.new(RUBY_VERSION.dup) == Gem::Version.new('2.1.9')
gem "json", '= 2.0.4', require: false if Gem::Requirement.create('~> 2.4.2').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet-module-posix-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
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 "puppet-lint-param-docs", require: false
gem "voxpupuli-puppet-lint-plugins", '>= 3.0', require: false
gem "faraday", '~> 1.0', require: false
gem "github_changelog_generator", require: false
gem "voxpupuli-test", '6.0.0', require: false
gem "rubocop-performance", '~> 1.18', require: false
gem "faraday", '~> 1.0', require: false
gem "github_changelog_generator", require: false
gem "puppet-blacksmith", require: false
gem "puppet-strings", require: false
end
group :system_tests do
gem "puppet-module-posix-system-r#{minor_version}", '~> 0.5', require: false, platforms: [:ruby]
gem "puppet-module-win-system-r#{minor_version}", '~> 0.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0')
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.29')
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.1')
gem "beaker-pe", require: false
gem "beaker-hostgenerator"
gem "beaker-rspec"
gem "beaker-docker"
gem "beaker-puppet"
gem "beaker-puppet_install_helper", require: false
gem "beaker-module_install_helper", require: false
end

puppet_version = ENV['PUPPET_GEM_VERSION']
Expand Down
Loading