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

Feature/sync fork #4

Merged
merged 142 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
5960920
Hide passwords from logs and output
gfa Dec 22, 2020
5eca5fd
cron puppetdb-dlo-cleanup requires package
glennaaldering Feb 8, 2021
efc8ef2
README: correct postgres_version docs
kenyon Dec 20, 2021
36a8cd8
(maint) Restrict file permissions
smortex Feb 7, 2022
fd6493b
(PDB-5611) Update legacy facts to structured form
austb Apr 19, 2023
c92b649
Update module version to 7.13.0
austb Apr 19, 2023
07ece29
Allow newer dependencies
saz May 26, 2023
a415fe1
Update CODEOWNERS
binford2k May 30, 2023
cbf3a76
Update CODEOWNERS
binford2k May 30, 2023
6fdb42b
Merge pull request #366 from puppetlabs/trusted-contributors
binford2k May 31, 2023
2ea0613
Merge pull request #364 from saz/patch-1
bastelfreak Jul 1, 2023
7b54f27
Drop EoL CentOS 6
bastelfreak Feb 9, 2022
b40d7d1
Drop EoL Debian 8/9
bastelfreak Feb 9, 2022
09b52c6
Allow puppetlabs/stdlib 9.x
smortex Jun 29, 2023
1e2b04e
puppetlabs/firewall: Allow 6.x
bastelfreak Jul 30, 2023
2536054
cleanup .fixtures.yml
bastelfreak Jul 30, 2023
275c6d0
Merge pull request #368 from bastelfreak/fixtures
bastelfreak Jul 30, 2023
7c75666
Merge pull request #367 from puppetlabs/relax-dependency-requirements
bastelfreak Jul 30, 2023
90d042d
Merge pull request #346 from bastelfreak/centos6
bastelfreak Jul 30, 2023
6ce57a9
Merge pull request #347 from bastelfreak/debian
bastelfreak Jul 30, 2023
29ff29e
Merge pull request #341 from kenyon/patch-1
bastelfreak Jul 30, 2023
010bf13
Set owner of server config.ini to root
ekohl Sep 16, 2022
d34409b
Merge pull request #358 from ekohl/set-owner-to-root
bastelfreak Jul 31, 2023
41a73fa
Fix "has no parameter named 'puppetdb_user'"
cocker-cc Aug 4, 2023
4a02618
Merge pull request #369 from cocker-cc/Fix_puppetdb_user
bastelfreak Sep 6, 2023
0053513
Update module version to 7.14.0
austb Oct 9, 2023
56b42fc
make puppet_confdir configurable
h0tw1r3 Dec 14, 2023
d8a0b5e
Merge pull request #376 from h0tw1r3/configurable-puppet-confdir
h0tw1r3 Dec 14, 2023
d8a026a
Modernize/Fix CI
smortex Feb 9, 2022
a56f755
(maint) change postgres version to supported version
jonathannewman Jan 5, 2024
9e170da
(maint) drop support for < puppet 7
h0tw1r3 Jan 29, 2024
c8594f5
Merge pull request #383 from h0tw1r3/drop-old-puppet-support
bastelfreak Jan 29, 2024
d1a60a8
drop support for Ubuntu 16 and Scientific Linux 7
h0tw1r3 Jan 29, 2024
4bed77e
Merge pull request #384 from h0tw1r3/drop-platforms
bastelfreak Jan 29, 2024
069288e
update pdk template 3.0.1
h0tw1r3 Dec 19, 2023
2539434
disable out-of-scope puppet-lint checks
smortex Oct 8, 2023
3da561a
address pdk validation warnings
h0tw1r3 Dec 19, 2023
5a8cabc
pin fixtures for modules where latest is not supported
h0tw1r3 Jan 29, 2024
f648b4a
setup rspec defaults and helpers
h0tw1r3 Jan 29, 2024
68c1852
100% unit test coverage
h0tw1r3 Jan 29, 2024
a8ab514
add github workflows for unit spec tests
h0tw1r3 Jan 29, 2024
94c615c
generate reference documentation
h0tw1r3 Jan 29, 2024
6663970
cleanup fixtures
h0tw1r3 Jan 30, 2024
8aaf63c
Merge pull request #385 from h0tw1r3/unit-testing
bastelfreak Jan 31, 2024
dda29bc
(maint) Fix puppet_service_name on FreeBSD
smortex Feb 7, 2022
8b6b926
(maint) Fix path to configuration files on FreeBSD
smortex Feb 7, 2022
3a662df
(maint) Fix vardir on FreeBSD
smortex Feb 7, 2022
b85c2d8
(maint) Fix puppetdb package names on FreeBSD
smortex Feb 7, 2022
ecec68d
Merge pull request #342 from smortex/fix-freebsd
bastelfreak Jan 31, 2024
aeaa7c9
update acceptance testing and add workflow
h0tw1r3 Jan 31, 2024
a858341
looks like facter virtual doesnt work in docker on gha
h0tw1r3 Feb 2, 2024
3c3a8cc
remove timeouts
h0tw1r3 Feb 2, 2024
b8c1ec1
Merge pull request #387 from h0tw1r3/acceptance-testing
bastelfreak Feb 2, 2024
f6b6f8d
document manifests
h0tw1r3 Feb 3, 2024
c1b2b41
drop everything related to embedded database support
h0tw1r3 Feb 3, 2024
f863b10
enable parameter documentation linter
h0tw1r3 Feb 4, 2024
3542ca4
move class puppetdb parameter reference to pp
h0tw1r3 Feb 4, 2024
315359f
move class globals parameter reference to pp
h0tw1r3 Feb 4, 2024
3aa0a20
move class master::config parameter reference to pp
h0tw1r3 Feb 4, 2024
54556b0
move class database::postgresql parameter reference to pp
h0tw1r3 Feb 4, 2024
93d2637
add missing parameter documentation to puppetdb class
h0tw1r3 Feb 4, 2024
1387f21
add missing parameter documentation to master::config class
h0tw1r3 Feb 4, 2024
74564f1
add missing parameter documentation to database::postgresql class
h0tw1r3 Feb 4, 2024
8b32c0f
add missing parameter documentation to server class
h0tw1r3 Feb 4, 2024
9498d87
add missing parameters to global class
h0tw1r3 Feb 4, 2024
78169f4
fix parameter documentation
h0tw1r3 Feb 4, 2024
fe396dc
add reference validation to ci
h0tw1r3 Feb 4, 2024
a9b2fbb
add prefix to descriptions
h0tw1r3 Feb 4, 2024
66737ab
Merge pull request #388 from h0tw1r3/cleanup-reference-part1
h0tw1r3 Feb 4, 2024
290c3ba
use the correct value for clientcert in pg_hba.conf for Postgresql 12…
jhunt-steds Jan 11, 2024
b1c4e7d
fix lint and tests for clientcert value
jhunt-steds Feb 6, 2024
8cd78d0
use stricter String[2,3] datatype for $postgres_version
jhunt-steds Feb 9, 2024
be7e320
Merge pull request #380 from jhunt-steds/postgres-ssl-clientcert-fix
h0tw1r3 Feb 9, 2024
f26d826
Fix: Unterminated quoted string when creating read user
waipeng Sep 1, 2023
8d91395
Merge pull request #371 from waipeng/fix_grant_quotes
h0tw1r3 Feb 10, 2024
b76fe2c
(INCOM) Update firewall manifests to use `jump` instead of `action`
david22swan Sep 13, 2023
7a4dcdf
(BUGFIX) Fix alignment
david22swan Sep 13, 2023
4e620a5
(INCOM) Update Firewall compatible range to `v7.0.0` and above
david22swan Sep 18, 2023
cc5bf80
(MAINT) Remove Firewall pin in .fixtures.yml
david22swan Feb 14, 2024
15d3867
(MAINT) Update tests to match expected values
david22swan Feb 14, 2024
bf22956
Merge pull request #372 from david22swan/bugfix/main/firewall_fix
bastelfreak Feb 14, 2024
3aaf172
(maint) add release workflows
h0tw1r3 Feb 15, 2024
10a53d5
Merge pull request #389 from h0tw1r3/release-workflows
bastelfreak Feb 15, 2024
697d79a
(maint) unpin puppetlabs-postgresql, allow 10.x versions
jonathannewman Feb 15, 2024
61a6abb
(maint) resolve test changes from updating postgresql module
jonathannewman Feb 15, 2024
22b3f1c
(maint) update postgresql connection validation
h0tw1r3 Feb 15, 2024
32fcc41
Merge pull request #391 from h0tw1r3/connection-validator
h0tw1r3 Feb 15, 2024
6971ed7
Merge pull request #379 from jonathannewman/maint/main/update-to-post…
h0tw1r3 Feb 15, 2024
321d81d
(maint) add puppetdb_query test
h0tw1r3 Feb 16, 2024
0111887
fix alternate database port support
h0tw1r3 Feb 16, 2024
a0602d1
Merge pull request #392 from h0tw1r3/fix-database-port
h0tw1r3 Feb 16, 2024
9866159
Remove obsolete database config options
smokris Aug 9, 2022
9b1bbcd
Resolving linting errors
klab-systems Feb 16, 2024
2ccdaa7
update reference doc
klab-systems Feb 16, 2024
9fff6b6
Allow puppetlabs/firewall 8.x
gcoxmoz Mar 18, 2024
f406427
Merge pull request #395 from gcoxmoz/firewall-8
bastelfreak Apr 10, 2024
093485a
.fixtures.yml: delete legacy symlink
bastelfreak Apr 10, 2024
2525e61
Merge pull request #397 from bastelfreak/fixtures
bastelfreak Apr 11, 2024
d3c592b
replace gha workflows
h0tw1r3 Apr 12, 2024
5656cdb
Merge pull request #398 from h0tw1r3/cat-workflows
h0tw1r3 Apr 12, 2024
f722169
Archive CHANGELOG.md
smortex Apr 15, 2024
143dc42
Merge pull request #399 from puppetlabs/history
smortex Apr 17, 2024
e3c0f4d
Support changing password_encryption method
deric Apr 18, 2024
939797a
Release prep v8.0.0
Apr 15, 2024
13585ee
Merge pull request #357 from smokris/obsolete-database-config
bastelfreak Apr 30, 2024
3db204c
Merge pull request #400 from deric/scram-sha
bastelfreak Apr 30, 2024
aebcbea
Merge pull request #390 from puppetlabs/release-prep
bastelfreak Apr 30, 2024
3051b65
Fix lower bound the of puppetlabs-postgresql dependency
smortex May 2, 2024
94ccecb
Merge pull request #402 from puppetlabs/fix-postgresql-lower-bound
bastelfreak May 2, 2024
6fcd9cb
Release prep v8.0.1
May 2, 2024
99cbeea
Merge pull request #403 from puppetlabs/release-prep
h0tw1r3 May 2, 2024
31e2d20
feat: Add Facter fact for PuppetDB version
rwaffen May 3, 2024
9b2a864
fix: use correct wording in unit test
rwaffen May 3, 2024
d2db654
fix: remove unnecessary check on output
rwaffen May 3, 2024
3afd693
Merge pull request #404 from rwaffen/add_version_fact
smortex May 3, 2024
1475311
Merge pull request #343 from smortex/security-file-permissions
bastelfreak May 6, 2024
9592788
add new parameter to tests
h0tw1r3 May 5, 2024
d1f1619
Merge pull request #321 from glennaaldering/patch-1
h0tw1r3 May 6, 2024
0c5c270
Set UTF8 encoding and locale when creating the DB
elfranne Oct 17, 2022
8505a7c
Merge pull request #359 from elfranne/UTF8default
bastelfreak May 7, 2024
f9b7f7f
Merge pull request #320 from gfa/gfa_mark_passwords_as_sensitive
bastelfreak May 7, 2024
23b671d
(maint) target release-any-tag cat workflows
h0tw1r3 May 5, 2024
15314e0
(maint) remove labeller workflow
h0tw1r3 May 7, 2024
c24e65c
(maint) add h0tw1r3 to codeowners
h0tw1r3 May 7, 2024
dc991dc
Merge pull request #408 from puppetlabs/workflows
bastelfreak May 7, 2024
335284c
Release prep v8.1.0
May 7, 2024
0a934de
Merge pull request #405 from puppetlabs/release-prep
h0tw1r3 May 7, 2024
3eb3849
Use Datatype Sensitive for Secrets
cocker-cc Jun 29, 2021
17c83e2
Merge pull request #331 from cocker-cc/Use_Datatype_Sensitive
h0tw1r3 May 9, 2024
5c0b4a7
(maint) update cat workflows
h0tw1r3 May 23, 2024
db5fcf7
Merge pull request #410 from h0tw1r3/it-87329
h0tw1r3 May 23, 2024
f5b303b
Correct spelling of certificates
viscountstyx Jun 6, 2024
d161fc1
Merge pull request #414 from viscountstyx/af_main_cosmetic
bastelfreak Jun 6, 2024
bac44f7
Extend fact to handle debian packages too
rwaffen Jun 14, 2024
1a5ee16
add open3 require to spec
rwaffen Jun 14, 2024
0faf2ce
Update lib/facter/puppetdb_version.rb
rwaffen Jun 14, 2024
d22a3d9
Update CODEOWNERS
chambersmp Jun 17, 2024
17ff4e2
Refactor code again:
rwaffen Jun 17, 2024
a535c4d
Drop work on also handling debian package.
rwaffen Jun 28, 2024
7fdf4a5
Merge pull request #416 from rwaffen/update_fact
bastelfreak Jul 5, 2024
566889c
Merge pull request #417 from chambersmp/code_owners
bastelfreak Jul 5, 2024
c59b66f
Sync main from upstream
Aug 29, 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
26 changes: 11 additions & 15 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
---
fixtures:
repositories:
inifile: 'https://github.com/puppetlabs/puppetlabs-inifile.git'
stdlib: 'https://github.com/puppetlabs/puppetlabs-stdlib.git'
postgresql: 'https://github.com/puppetlabs/puppet-postgresql.git'
firewall: 'https://github.com/puppetlabs/puppetlabs-firewall.git'
apt: 'https://github.com/puppetlabs/puppetlabs-apt.git'
concat: 'https://github.com/puppetlabs/puppetlabs-concat.git'
file_concat: 'https://github.com/electrical/puppet-lib-file_concat.git'
systemd: 'https://github.com/camptocamp/puppet-systemd.git'
cron: 'https://github.com/voxpupuli/puppet-cron.git'
cron_core:
repo: https://github.com/puppetlabs/puppetlabs-cron_core.git
puppet_version: ">= 6.0.0"
yumrepo_core:
repo: https://github.com/puppetlabs/puppetlabs-yumrepo_core.git
puppet_version: ">= 6.0.0"
augeas_core:
repo: https://github.com/puppetlabs/puppetlabs-augeas_core.git
puppet_version: ">= 6.0.0"
symlinks:
puppetdb: '#{source_dir}'
provision: 'https://github.com/puppetlabs/provision.git'
puppet_agent: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git'
facts: 'https://github.com/puppetlabs/puppetlabs-facts.git'
cron_core: 'https://github.com/puppetlabs/puppetlabs-cron_core.git'
yumrepo_core: 'https://github.com/puppetlabs/puppetlabs-yumrepo_core.git'
augeas_core: 'https://github.com/puppetlabs/puppetlabs-augeas_core.git'
postgresql: 'https://github.com/puppetlabs/puppetlabs-postgresql.git'
firewall: 'https://github.com/puppetlabs/puppetlabs-firewall.git'
postgresql: 'https://github.com/puppetlabs/puppetlabs-postgresql.git'
firewall: 'https://github.com/puppetlabs/puppetlabs-firewall.git'
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: "ci"

on:
pull_request:
branches:
- "main"
workflow_dispatch:

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

jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
with:
runs_on: "ubuntu-20.04"
15 changes: 15 additions & 0 deletions .github/workflows/mend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "mend"

on:
pull_request:
branches:
- "main"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:

mend:
uses: "puppetlabs/cat-github-actions/.github/workflows/mend_ruby.yml@main"
secrets: "inherit"
19 changes: 19 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: "nightly"

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
secrets: "inherit"

Acceptance:
needs: Spec
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
secrets: "inherit"
with:
runs_on: "ubuntu-20.04"
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Publish module"
run-name: >
${{ format('tag={0}', inputs.tag) }}
${{ format('release={0}', inputs.release) }}
${{ format('publish={0}', inputs.publish) }}
${{ format('edit={0}', inputs.edit) }}

on:
workflow_dispatch:
inputs:
tag:
description: "Enter an old tag, or blank to tag HEAD of branch"
type: string
release:
description: "Create a Github release"
type: boolean
default: true
publish:
description: "Publish to the Forge"
type: boolean
default: true
edit:
description: "Re-tag and regenerate release notes"
type: boolean
default: false

jobs:
release:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
secrets: "inherit"
with:
tag: ${{ inputs.tag }}
release: ${{ inputs.release }}
publish: ${{ inputs.publish }}
edit: ${{ inputs.edit }}
15 changes: 15 additions & 0 deletions .github/workflows/release_prep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Release Prep"

on:
workflow_dispatch:
inputs:
version:
description: "Module version to be released. Must be a valid semver string. (1.2.3)"
required: true

jobs:
release_prep:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main"
with:
version: "${{ github.event.inputs.version }}"
secrets: "inherit"
9 changes: 9 additions & 0 deletions .github/workflows/release_without.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: "Publish module without"

on:
workflow_dispatch:

jobs:
release:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
secrets: "inherit"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand All @@ -25,3 +25,4 @@
.project
.envrc
/inventory.yaml
/spec/fixtures/litmus_inventory.yaml
45 changes: 0 additions & 45 deletions .nodeset.yml

This file was deleted.

18 changes: 13 additions & 5 deletions .pdkignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand All @@ -25,18 +25,26 @@
.project
.envrc
/inventory.yaml
/appveyor.yml
/spec/fixtures/litmus_inventory.yaml
/.fixtures.yml
/Gemfile
/.gitattributes
/.github/
/.gitignore
/.gitlab-ci.yml
/.pdkignore
/.puppet-lint.rc
/Rakefile
/rakelib/
/.rspec
/.rubocop.yml
/.travis.yml
/..yml
/.yardopts
/spec/
/.vscode/
/.sync.yml
/.devcontainer/
/.*.yml
/pdk.yaml
/.pmtignore
/.git*
/.editorconfig
/provision.yaml
2 changes: 2 additions & 0 deletions .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
--relative
--no-parameter_types-check
--no-140chars-check
1 change: 1 addition & 0 deletions .rspec_parallel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--format progress
Loading
Loading