Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase with root project #1

Open
wants to merge 144 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
8b289a4
On FreeBSD sudo lives in /usr/local. Ajust the path that way while
Mar 28, 2017
8e7db3e
[master-] correct aa typo
Mar 28, 2017
b766113
Support puppetlabs-stdlib 5.x
hfm Oct 16, 2018
a79aa4c
resolve merge conflict in manifests/conf.pp
Nov 7, 2018
8cec316
Allow use of sudoreplay
Nov 7, 2018
3206365
possibility to add rules to exclude commands in log
Feb 1, 2019
27a8b0e
add if on discard
Feb 1, 2019
6693a43
add if on discard [add debian]
Feb 1, 2019
2ee6a49
Merge pull request #230 from hfm/stdlib5
saz Feb 1, 2019
1bd5de5
add if on discard [add all other distro]
Feb 1, 2019
c35740c
change name of var call to exclude
Feb 1, 2019
5eaf82c
update documentation
Feb 1, 2019
66df672
Support puppetlabs-stdlib 6.x
jehane Feb 7, 2019
34ae582
Merge pull request #234 from jehane/master
saz Feb 11, 2019
8569e10
drop ruby 2.1 from travis build matrix
saz Feb 11, 2019
0edb216
fix travis.yml
saz Feb 11, 2019
ef13a72
use single quotes if no variable interpolation even in README, fixes …
saz Feb 11, 2019
a8cd286
Merge pull request #231 from nfrance-conseil/master
saz Feb 11, 2019
d7a0104
hiera-configs - Move hiera lookups to init.pp
baurmatt Jul 3, 2018
1834910
Merge pull request #228 from syseleven/hiera-configs
saz Feb 12, 2019
fb778fb
Reverse absolute classname linter
baurmatt Feb 12, 2019
f9eafca
Merge pull request #236 from syseleven/feature/absolute_class_reverse
saz Feb 12, 2019
c0e63bc
add a CHANGELOG starting with 6.0.0 release, fixes #210
saz Feb 12, 2019
2f49726
new release v6.0.0
saz Feb 12, 2019
01d0090
parameterize AIX package provider so the default can be overridden
May 3, 2019
7e35fa8
add sudo_spec.rb to allow for package provider override
May 14, 2019
59cf557
add package_aix_spec.rb to allow for package provider override
May 14, 2019
1e6eb38
stash changes
May 16, 2019
bdefa65
Remove extra % in sudo::allow template
jstraw Jun 14, 2019
6094c96
support manjaro linux
qs5779 Aug 22, 2019
abb6176
Removed several duplicate entries from rubocop.yml that were giving l…
qs5779 Nov 21, 2019
4a28b3e
Merge pull request #244 from wtfo-guru/feature_manjaro_support
saz Nov 26, 2019
f8f7814
EL8 support - changed default sudoers file for redhat enterprise linu…
Dec 18, 2019
a623a9c
Rename some rubocop rules
traylenator Feb 10, 2020
c96dfc5
Merge pull request #249 from traylenator/rubofixes
saz Feb 10, 2020
b85d204
New parameter suffix to main class
traylenator Feb 7, 2020
71a7771
Merge pull request #242 from jstraw/fix-sudo_allow_template
saz May 9, 2020
ca51aa1
use fixed version 0.49.1 of rubocop
saz May 9, 2020
a49ef7c
Merge pull request #247 from thalunil/redhat_8
saz May 9, 2020
1f7c2c7
update AIX default package source, fixes #240
saz May 9, 2020
d3856a5
Merge branch 'master' into feature_aix_package_override
keeckle May 11, 2020
7952647
Add suffix and ignore example to README
traylenator May 19, 2020
c744114
Merge pull request #248 from traylenator/suffix
saz May 25, 2020
754c55e
Update from saz modulesync_config
saz Jun 22, 2021
0f88d81
bump stdlib requirement up to <8.0.0
Jun 22, 2021
8d6adc6
breaking: support puppet >= 6.1.0
saz Jun 22, 2021
773f715
chore: fix tests for Github Actions
saz Jun 22, 2021
7548a98
Update from saz modulesync_config
saz Jun 22, 2021
319c357
docs: `ignore` parameter has been renamed to `purge_ignore`
saz Jun 22, 2021
72d9819
test: fix acceptance tests
saz Jun 22, 2021
4791bdd
Merge pull request #269 from saz/modulesync
saz Jun 22, 2021
123aaf8
Merge branch 'master' into master
saz Jun 22, 2021
7e1929c
Merge pull request #268 from zilchms/master
saz Jun 22, 2021
87aa0bc
Support udpated facter values for Arch operatingsystem.
qs5779 May 18, 2021
f3cecf4
fix: sudoversion fact should not run on Windows, fixes #259
saz Jun 22, 2021
7bbc2c9
wheel_config: add option
rstuart-indue Jun 23, 2021
80a5be3
updated templates to use wheel_config param
rstuart-indue Jun 27, 2021
24dcf64
Merge branch 'saz:master' into make_wheel_param
stuartrobert Jun 27, 2021
503f6bb
Merge pull request #271 from stuartrobert/make_wheel_param
saz Aug 4, 2021
4703502
Merge branch 'master' into feature_aix_package_override
saz Aug 4, 2021
b89a56e
add package provider parameter
saz Aug 5, 2021
ca9ad96
Merge pull request #241 from keeckle/feature_aix_package_override
saz Aug 5, 2021
02f4fb2
add secure_path parameter
saz Aug 5, 2021
6360cfa
Merge pull request #270 from stuartrobert/add_secure_path_param
saz Aug 5, 2021
3597d18
add missing secure_path parameter to class sudo
saz Aug 5, 2021
ad20685
update README
saz Aug 5, 2021
1fc2783
add provider parameter to all package occurences
saz Aug 5, 2021
9787baf
add missing single quote
saz Aug 5, 2021
21709cc
define package_provider as `undef` in most cases
saz Aug 5, 2021
c14d325
new release: v7.0.0
saz Aug 5, 2021
88d6c13
Update from saz modulesync_config
saz Aug 14, 2021
985ce3f
Merge pull request #273 from saz/modulesync
saz Aug 14, 2021
eda1e22
fix tests
saz Aug 14, 2021
5e55eb9
Merge branch 'master' of github.com:saz/puppet-sudo
saz Aug 14, 2021
ffabe8a
Add prefix parameter to prefix all sudoers.d entries
traylenator Feb 25, 2021
0c2fb01
fix duplicate variable declaration
bastelfreak Aug 24, 2021
c8e8358
Merge pull request #274 from bastelfreak/fix
saz Aug 24, 2021
09f9ae0
new release: v7.0.1
saz Aug 24, 2021
97b11e0
Allow stdlib < 9.0.0, fixes #275
saz Aug 25, 2021
b6cf086
New release: v7.0.2
saz Aug 25, 2021
f8fe9fa
Add release v7.0.2 to CHANGELOG
saz Aug 25, 2021
a522e32
Restore format and behavior prior to adding wheel_config parameter an…
msalway Nov 24, 2021
30bef5b
Merge pull request #278 from msalway/fix_rhel_wheel
saz Jan 16, 2022
a69a649
Support modifying sudoers Defaults
deric Jun 29, 2022
a11099b
Update RHEL7 template to more closely align with RHEL7 sudoers file.
bschonec Jul 12, 2022
d86dbdc
Merge pull request #261 from traylenator/prefix
saz Jul 17, 2022
9e82c2a
Update from modulesync_config
Jul 17, 2022
ff2a7ad
rubocop and linting fixes
saz Jul 17, 2022
386b47a
try to fix acceptance tests, fix rubocop issues
saz Jul 17, 2022
9ae95e6
Merge pull request #284 from saz/modulesync
saz Jul 17, 2022
ca3c684
Remove hiera modifications
deric Jul 18, 2022
9ea0a14
Use custom ruby function to format defaults
deric Jul 18, 2022
50fe032
Fix rubocop offenses
deric Jul 18, 2022
f1c6264
Include defaults as last line on all platforms
deric Jul 18, 2022
0fe75f1
Quote strings
deric Jul 18, 2022
c9fb1b4
Try to fix offenses
deric Jul 19, 2022
d438844
cleanup README a bit
saz Jul 19, 2022
97a8b3c
improve test coverage
saz Jul 19, 2022
66da6f5
add data types and doc strings to most manifests
saz Jul 19, 2022
6b2eed3
mark 'content' as deprecated in favor of 'content_template' and 'cont…
saz Jul 19, 2022
af8a926
add REFERENCE.md
saz Jul 19, 2022
a3d46ab
Merge pull request #285 from saz/improvements
saz Jul 19, 2022
43f0cef
Merge branch 'master' into defaults
saz Jul 19, 2022
11b7c62
Fix newly introduced test
saz Jul 19, 2022
3aec623
Add puppet 8 support
bastelfreak Jun 26, 2023
5758837
Regenerate REFERENCE.md
bastelfreak Jun 26, 2023
baa3991
puppetlabs/stdlib: Allow 9.x
bastelfreak Jun 26, 2023
dae6b4c
Drop EoL Debian 9
bastelfreak Jun 26, 2023
98ba53b
Merge pull request #294 from bastelfreak/debian9
saz Jun 26, 2023
e95c646
Update from modulesync_config
saz Jun 26, 2023
197def8
Update from modulesync_config
saz Jun 26, 2023
67b3240
replace ensure_packages() with package
saz Jun 26, 2023
2663131
add some newer OS releaseas
saz Jun 26, 2023
fe962e6
drop stdlib as dependency
saz Jun 26, 2023
64099da
simplify package definition, fix tests
saz Jun 26, 2023
0dce4d2
drop support for puppet6
saz Jun 26, 2023
84b774d
Merge pull request #295 from saz/modulesync
saz Jun 26, 2023
854a92b
prepare release: v8.0.0
saz Jun 26, 2023
913cb9c
Merge pull request #296 from saz/prepare-8.0.0
saz Jun 26, 2023
ccca965
Update from modulesync_config
saz Nov 28, 2023
9fb6ccb
add package_manage param
cedriclaudrel Feb 1, 2024
c03db9f
Add support for RedHat 9
patemery Mar 30, 2024
674b212
Merge pull request #299 from cedriclaudrel/package_manage
saz May 13, 2024
ce19f56
Merge pull request #301 from patemery/add-rhel9-support
saz May 13, 2024
4720ba4
remove purge_ignore example from README, as it is not working as docu…
saz May 13, 2024
47b8628
Merge pull request #282 from deric/defaults
saz May 13, 2024
e5b821d
Merge pull request #303 from saz/drop-purge_ignore-from-README
saz May 13, 2024
32d3d6b
use sudo::defaults in rhel9 template, fix tests
saz May 13, 2024
3fc67ef
Merge pull request #304 from saz/fix-rhel9-template
saz May 13, 2024
82c3e27
Remove parameters from README.md, mention REFERENCE.md, fixes #197
saz May 13, 2024
b6f6cbc
Merge pull request #305 from saz/remove-includedirsudoers-README
saz May 13, 2024
aa08887
Update from modulesync_config
saz May 13, 2024
1bf3aa6
drop EOL operating system Ubuntu 18.04
saz May 14, 2024
b4bb8f0
Merge pull request #307 from saz/modulesync
saz May 14, 2024
deccff1
add types in sudo::conf
saz May 14, 2024
4db8dbe
Merge pull request #306 from saz/add-types
saz May 14, 2024
2d2317c
Update from modulesync_config
saz Oct 9, 2024
0500e9f
fix archlinux name in tests
saz Oct 18, 2024
3e96bb4
update supported operating system versions
saz Oct 18, 2024
0ae6abe
Merge pull request #311 from saz/modulesync
saz Oct 18, 2024
88c415a
release: v9.0.0
saz Oct 18, 2024
61c615c
Merge pull request #312 from saz/release-9.0.0
saz Oct 18, 2024
d431690
Cleanup old OSes leftovers
Oct 21, 2024
84df787
Merge pull request #314 from jay7x/cleanup
saz Oct 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# editorconfig.org

# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
tab_width = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
2 changes: 0 additions & 2 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
fixtures:
symlinks:
"sudo": "#{source_dir}"
repositories:
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

skip-changelog:
- head-branch: ['^release-*', 'release']
42 changes: 42 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes

changelog:
exclude:
labels:
- duplicate
- invalid
- modulesync
- question
- skip-changelog
- wont-fix
- wontfix

categories:
- title: Breaking Changes 🛠
labels:
- backwards-incompatible

- title: New Features 🎉
labels:
- enhancement

- title: Bug Fixes 🐛
labels:
- bug

- title: Documentation Updates 📚
labels:
- documentation
- docs

- title: Dependency Updates ⬆️
labels:
- dependencies

- title: Other Changes
labels:
- "*"
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

name: CI

# yamllint disable-line rule:truthy
on:
pull_request: {}
push:
branches:
- main
- master

concurrency:
group: ${{ github.ref_name }}
cancel-in-progress: true

jobs:
puppet:
name: Puppet
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
18 changes: 18 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

name: "Pull Request Labeler"

# yamllint disable-line rule:truthy
on:
pull_request_target: {}

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

name: Release

# yamllint disable-line rule:truthy
on:
push:
tags:
- '*'

jobs:
release:
name: Release
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v3
with:
allowed_owner: 'saz'
secrets:
# Configure secrets here:
# https://docs.github.com/en/actions/security-guides/encrypted-secrets
username: ${{ secrets.PUPPET_FORGE_USERNAME }}
api_key: ${{ secrets.PUPPET_FORGE_API_KEY }}

create-github-release:
name: Create GitHub Release
runs-on: ubuntu-latest
steps:
- name: Create GitHub release
uses: voxpupuli/gha-create-a-github-release@v1
36 changes: 24 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
.*.sw?
/pkg
/spec/fixtures/manifests
/spec/fixtures/modules
/.rspec_system
/.vagrant
/.bundle
/vendor
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

/pkg/
/Gemfile.lock
/junit
/log
.yardoc
coverage
/Gemfile.local
/vendor/
/.vendor/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/.vagrant/
/.bundle/
/.ruby-version
/coverage/
/log/
/.idea/
/.dependencies/
/.librarian/
/Puppetfile.lock
*.iml
.*.sw?
/.yardoc/
/Guardfile
bolt-debug.log
.rerun.json
5 changes: 5 additions & 0 deletions .msync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

modulesync_config_version: '9.3.0'
67 changes: 67 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
#
# Hooks are only enabled if you take action.
#
# To enable the hooks run:
#
# ```
# bundle exec overcommit --install
# # ensure .overcommit.yml does not harm to you and then
# bundle exec overcommit --sign
# ```
#
# (it will manage the .git/hooks directory):
#
# Examples howto skip a test for a commit or push:
#
# ```
# SKIP=RuboCop git commit
# SKIP=PuppetLint git commit
# SKIP=RakeTask git push
# ```
#
# Don't invoke overcommit at all:
#
# ```
# OVERCOMMIT_DISABLE=1 git commit
# ```
#
# Read more about overcommit: https://github.com/brigade/overcommit
#
# To manage this config yourself in your module add
#
# ```
# .overcommit.yml:
# unmanaged: true
# ```
#
# to your modules .sync.yml config
---
PreCommit:
RuboCop:
enabled: true
description: 'Runs rubocop on modified files only'
command: ['bundle', 'exec', 'rubocop']
RakeTarget:
enabled: true
description: 'Runs lint on modified files only'
targets:
- 'lint'
command: ['bundle', 'exec', 'rake']
YamlSyntax:
enabled: true
JsonSyntax:
enabled: true
TrailingWhitespace:
enabled: true

PrePush:
RakeTarget:
enabled: true
description: 'Run rake targets'
targets:
- 'validate'
- 'test'
- 'rubocop'
command: ['bundle', 'exec', 'rake']
55 changes: 37 additions & 18 deletions .pmtignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,39 @@
docs/
pkg/
Gemfile.lock
Gemfile.local
vendor/
.vendor/
spec/fixtures/manifests/
spec/fixtures/modules/
.vagrant/
.bundle/
.ruby-version
coverage/
log/
.idea/
.dependencies/
.librarian/
Puppetfile.lock
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

/docs/
/pkg/
/Gemfile
/Gemfile.lock
/Gemfile.local
/vendor/
/.vendor/
/spec/
/Rakefile
/.vagrant/
/.bundle/
/.ruby-version
/coverage/
/log/
/.idea/
/.dependencies/
/.github/
/.librarian/
/Puppetfile.lock
/Puppetfile
*.iml
/.editorconfig
/.fixtures.yml
/.gitignore
/.msync.yml
/.overcommit.yml
/.pmtignore
/.rspec
/.rspec_parallel
/.rubocop.yml
/.sync.yml
.*.sw?
.yardoc/
/.yardoc/
/.yardopts
/Dockerfile
/HISTORY.md
6 changes: 6 additions & 0 deletions .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

--fail-on-warnings
--no-parameter_documentation-check
--no-parameter_types-check
Loading