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

Release 2.6.0 #120

Open
wants to merge 647 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
647 commits
Select commit Hold shift + click to select a range
a615818
Merge pull request #230 from voxpupuli/modulesync
bastelfreak Nov 28, 2020
5ac0bc6
Merge pull request #225 from treydock/puppetsource
bastelfreak Jan 4, 2021
83fe1ac
Drop Eol CentOS 6 support
bastelfreak Jan 4, 2021
fab5697
Drop EoL Debian 8 support
bastelfreak Jan 4, 2021
3eaeabc
Merge pull request #232 from bastelfreak/centos6
bastelfreak Jan 4, 2021
9687b54
Allow multiple puppetsources for Grafana config
bastelfreak Jan 4, 2021
fc0541a
Merge pull request #233 from bastelfreak/debian8
bastelfreak Jan 4, 2021
28f2f4c
Merge pull request #224 from jsfrerot/master
bastelfreak Jan 4, 2021
8f6a53d
Merge pull request #226 from treydock/types-validator
bastelfreak Jan 4, 2021
599483f
Merge remote-tracking branch 'origin/master' into bugfix/secure-json-…
nmaludy Jan 4, 2021
22daadb
Raise minimum Puppet version to 6.1.0. Fixing linting error.
nmaludy Jan 4, 2021
12464fa
Merge pull request #221 from voxpupuli/bugfix/secure-json-data
bastelfreak Jan 4, 2021
48798bb
Enable Puppet 7 support
bastelfreak Jan 4, 2021
2bcdff7
Merge pull request #234 from bastelfreak/puppet7
bastelfreak Jan 4, 2021
5cb8d0f
Fix types to work with 'puppet generate types'
treydock Jan 14, 2021
0a54e2d
Merge pull request #236 from treydock/generate-types
ghoneycutt Jan 16, 2021
1de3416
Allow installing a custom plugin from a zipfile as grafana cli alread…
jwbraucher Aug 4, 2020
f46b283
Fix spec test by installing proper plugin via zip archive
XMol Jan 5, 2021
0dbb135
Revert from beta Grafana version back to stable
XMol Feb 2, 2021
99e0de9
Suggested improvements on PR discussions
ekohl Feb 2, 2021
eece7d7
Merge pull request #235 from XMol/rebase_plugin_from_zip_patch
crazymind1337 Feb 3, 2021
315c145
release 8.0.0
bastelfreak Feb 20, 2021
f4bc596
Merge pull request #238 from bastelfreak/rel800
bastelfreak Feb 20, 2021
e328863
[blacksmith] Bump version to 8.0.1-rc0
bastelfreak Feb 20, 2021
6e3b988
bump default grafana version for FreeBSD
olevole Mar 16, 2021
38c751e
Allow grafana_team home dashboard to be scoped to a folder
treydock Mar 16, 2021
459d01e
Rubucop auto correct
treydock Mar 16, 2021
705ebe0
Update README
treydock Mar 16, 2021
1370423
Merge pull request #240 from olevole/master
ghoneycutt Mar 16, 2021
ff110c2
puppet/archive: allow 5.x
bastelfreak Apr 16, 2021
979b240
Merge pull request #243 from bastelfreak/archive
bastelfreak Apr 16, 2021
c023558
Merge pull request #241 from treydock/team-home-folder
bastelfreak Jun 28, 2021
f360426
Use new UID-based Dashboard API
root-expert Aug 10, 2021
bccbf5f
Run acceptance tests for all supported versions
root-expert Aug 10, 2021
e073356
Merge pull request #246 from root-expert/grafana8
root-expert Aug 10, 2021
5398426
modulesync 4.1.0
root-expert Aug 10, 2021
eff489b
Merge pull request #247 from voxpupuli/modulesync
root-expert Aug 10, 2021
8726b34
puppetlabs/stdlib: Allow 7.x
bastelfreak Aug 5, 2021
5773f04
puppetlabs/apt: allow 8.x
bastelfreak Aug 10, 2021
51cf49f
Update badges in README.md
bastelfreak Aug 5, 2021
6502f03
Merge pull request #244 from bastelfreak/stdlib7
bastelfreak Aug 10, 2021
d1657df
Add Ubuntu 20.04 support
root-expert Aug 10, 2021
7344219
Merge pull request #248 from root-expert/ubuntu20-debian11
root-expert Aug 10, 2021
54e20c3
Use Iterable.find to find a folder
ekohl Aug 15, 2021
24cb067
Merge pull request #249 from ekohl/simplify-logic
bastelfreak Aug 15, 2021
116cd79
Merge pull request #245 from bastelfreak/test
bastelfreak Aug 15, 2021
f234f4d
Update README.md about tested OSes
bastelfreak Aug 15, 2021
a58182d
Update README.md
bastelfreak Aug 15, 2021
d1b9f2b
Merge pull request #250 from voxpupuli/readme
bastelfreak Aug 15, 2021
c7427ca
Release 9.0.0
bastelfreak Aug 16, 2021
b853b3e
Update README.md
bastelfreak Aug 17, 2021
fdcde20
Merge pull request #251 from bastelfreak/rel900
bastelfreak Aug 17, 2021
dfa8687
[blacksmith] Bump version to 9.0.1-rc0
bastelfreak Aug 17, 2021
de12af8
Allow stdlib 8.0.0
smortex Aug 25, 2021
0eb6177
Allow archive 6.x
smortex Aug 25, 2021
6f218fd
Merge pull request #252 from voxpupuli/stdlib
smortex Aug 25, 2021
ece0341
modulesync 4.2.0
bastelfreak Aug 26, 2021
6668fa9
Merge pull request #253 from voxpupuli/modulesync
bastelfreak Aug 26, 2021
4879d82
release 9.0.1
bastelfreak Aug 26, 2021
2a1c707
Merge pull request #254 from bastelfreak/rel901
bastelfreak Aug 26, 2021
ac26d22
[blacksmith] Bump version to 9.0.2-rc0
bastelfreak Aug 26, 2021
b260707
Add support for Debian 11, CentOS 8, RedHat 8 and FreeBSD 13
smortex Sep 11, 2021
652c739
Merge pull request #255 from voxpupuli/newos
root-expert Sep 11, 2021
9475277
Fix dashboard api call
joernott Nov 18, 2021
9affd6b
Fix delete and compare
joernott Nov 25, 2021
9f7a9b6
modulesync 4.3.0
bastelfreak Sep 17, 2021
376b6ec
Merge pull request #268 from bastelfreak/msync2
bastelfreak Nov 25, 2021
90effd8
Fix delete and compare
joernott Nov 25, 2021
762e269
Fix delete and compare
joernott Nov 25, 2021
46c9ce0
Add idempotence info to README
joernott Nov 25, 2021
6f4f44a
Fix find in destroy to use the resource title
joernott Nov 25, 2021
8dc5e47
Removing superfluous space
joernott Nov 25, 2021
97c803d
Fix rspec test for folsder and set the default id to slug for new das…
joernott Nov 26, 2021
cca877e
Drop support for Debian 9, Ubuntu 16.04 (EOL)
smortex Oct 3, 2021
d55ea5b
Merge pull request #262 from voxpupuli/eolos
bastelfreak Nov 26, 2021
ad967b0
Merge pull request #267 from joernott/master
bastelfreak Nov 26, 2021
974c1b6
modulesync 5.0.0
bastelfreak Oct 31, 2021
70c2adc
rubocop: autofix
bastelfreak Oct 31, 2021
f4abfa8
rubocop: rename inline-disabled cops
bastelfreak Nov 26, 2021
03daac0
Merge pull request #260 from voxpupuli/modulesync
bastelfreak Nov 26, 2021
cb89f65
Release 10.0.0
bastelfreak Nov 26, 2021
64de772
Merge pull request #269 from bastelfreak/rel1000
bastelfreak Nov 26, 2021
9c3f379
[blacksmith] Bump version to 10.0.1-rc0
bastelfreak Nov 26, 2021
3f76b39
Add support for HTTP operation PATCH to fix grafana_membership
dgoetz Oct 28, 2021
92e9097
Merge pull request #266 from dgoetz/fix/allow_patch_for_membership
root-expert Nov 30, 2021
6fd49dc
Revert "rubocop: autofix"
root-expert Nov 30, 2021
771a032
Rubocop autofix
root-expert Nov 30, 2021
2b8d4b8
Merge pull request #271 from voxpupuli/fix-rubocop
alexjfisher Dec 1, 2021
92821d1
Correct type for the example
earthgecko Oct 18, 2021
779f57c
Merge pull request #265 from earthgecko/patch-1
root-expert Dec 1, 2021
9caa6d7
Release 10.0.1
root-expert Dec 2, 2021
6a50b7d
Merge pull request #274 from voxpupuli/rel1001
root-expert Dec 2, 2021
453dbd4
[blacksmith] Bump version to 10.0.2-rc0
root-expert Dec 2, 2021
b7356ad
Set grafana.ini owner to root with packages
ekohl Oct 14, 2021
6e31685
Merge pull request #264 from ekohl/fix-grafana-ini-owner
root-expert Jan 21, 2022
ad0340c
rubocop: fix namespaces
bastelfreak Mar 8, 2022
04fcd91
Accept `Sensitive` `cfg`
alexjfisher May 17, 2022
f2b3f87
Merge pull request #280 from alexjfisher/sensitive_cfg
bastelfreak May 18, 2022
5f8727d
Remove outdated `Integer note` from README
alexjfisher May 23, 2022
d74b26d
Merge pull request #281 from alexjfisher/integer
alexjfisher May 23, 2022
5e2d0a3
Accept `Sensitive` `ldap_cfg`
alexjfisher May 23, 2022
95874c6
Merge pull request #282 from alexjfisher/sensitive_ldap_cfg
alexjfisher May 23, 2022
998113a
Fix `grafana_user` and switch to using `flush`
alexjfisher May 24, 2022
c1b3289
Merge pull request #283 from alexjfisher/issue_121
alexjfisher May 25, 2022
5a98be7
Fix performance of `grafana_user`
alexjfisher May 26, 2022
e2fccf8
Merge pull request #285 from alexjfisher/user_performance
bastelfreak May 27, 2022
0d2a1e8
Remove `address` param from `grafana_organization`
alexjfisher May 26, 2022
b17d200
Merge pull request #284 from alexjfisher/orgs_refactor
alexjfisher May 30, 2022
645474b
Add `organizations` property to `grafana_user`
alexjfisher May 30, 2022
746f5b6
Merge pull request #286 from alexjfisher/user_orgs
alexjfisher Jun 14, 2022
d0a9bdd
Disable Arch Linux testing
bastelfreak Aug 15, 2022
4507a6a
Merge pull request #292 from bastelfreak/arch2
bastelfreak Aug 15, 2022
90a4c6a
modulesync 5.3.0
bastelfreak Mar 8, 2022
978872f
beaker tests: install lsb-release on Debian osfamily
bastelfreak Mar 8, 2022
99b02a4
Merge pull request #277 from voxpupuli/modulesync
bastelfreak Aug 15, 2022
55288de
Add support for custom repository URL
Aug 11, 2022
6e7ab9d
Merge pull request #291 from SimonHoenscheid/shoenscheid_custom_repo
Aug 15, 2022
b632162
Switch documentation to puppet strings
Aug 16, 2022
eaf8027
Merge pull request #294 from SimonHoenscheid/shoenscheid_puppet_strings
bastelfreak Aug 17, 2022
1015fc6
Release 11.0.0
bastelfreak Aug 17, 2022
550f8d8
Merge pull request #295 from bastelfreak/rel1100
bastelfreak Aug 17, 2022
f976037
[blacksmith] Bump version to 11.0.1-rc0
bastelfreak Aug 17, 2022
459c31b
Do not show datasource config changes
fklajn Aug 25, 2022
d4a0074
modulesync 5.3.0
bastelfreak Oct 2, 2022
6c3b9ee
Merge pull request #298 from voxpupuli/modulesync
bastelfreak Oct 2, 2022
728fc29
Updated the link to the toml gem
Oct 7, 2022
8ee8640
Refactor `grafana_datasource`
alexjfisher Oct 6, 2022
8baa53c
Fix `grafana_folder` `permissions` idempotency
alexjfisher Oct 10, 2022
958726d
Merge pull request #301 from alexjfisher/refactor_datasource
alexjfisher Oct 18, 2022
f4ce7b3
Merge pull request #303 from 16c7x/toml-link
bastelfreak Oct 19, 2022
cb15c7d
Merge pull request #296 from fklajn/hide_datasource_diff
root-expert Oct 24, 2022
8f7d92d
Release 11.1.0
alexjfisher Nov 1, 2022
03c7c90
Merge pull request #305 from alexjfisher/rel_11_1_0
alexjfisher Nov 2, 2022
9e66c13
Regenerate `REFERENCE.md`
alexjfisher Nov 2, 2022
9ad09d0
[blacksmith] Bump version to 11.1.1-rc0
alexjfisher Nov 2, 2022
ad25bb8
modulesync 5.4.0
bastelfreak Dec 20, 2022
353f7b2
Fix default PGP key
smortex Feb 3, 2023
f50f8ae
Move static default settings from Hiera to Puppet
smortex Feb 3, 2023
3301256
Merge pull request #309 from voxpupuli/doc-auto-defaults
smortex Feb 3, 2023
cdcf3aa
modulesync 5.4.0
bastelfreak Mar 4, 2023
2157a53
Regenerate REFERENCE.md
bastelfreak Mar 4, 2023
2b0ee44
puppet-lint: Enable parameter_documentation check
bastelfreak Mar 4, 2023
8dc49d4
Add Rocky 8 support
bastelfreak Mar 4, 2023
02fc25e
Add AlmaLinux 8 support
bastelfreak Mar 4, 2023
57a6cdc
Merge pull request #310 from voxpupuli/modulesync
bastelfreak Mar 17, 2023
bdd6b7a
Update repo urls
promasu Mar 17, 2023
3066848
Merge pull request #314 from promasu/main
smortex Mar 22, 2023
4cbefa4
Disable beta packages tests on Debian
smortex Mar 22, 2023
224380e
Merge pull request #312 from voxpupuli/alma
bastelfreak Mar 22, 2023
48e0a77
Drop older grafana versions (6.x, 7.x) from tests
smortex Mar 22, 2023
423fe50
Merge pull request #316 from voxpupuli/fix-ci
smortex Mar 30, 2023
6ce8479
Release 11.2.0
smortex Mar 22, 2023
ba3e4c3
Merge pull request #317 from voxpupuli/release-11.2.0
bastelfreak Mar 30, 2023
54b60f0
[blacksmith] Bump version to 11.2.1-rc0
bastelfreak Mar 30, 2023
c105568
modulesync 5.5.0
maxadamo Apr 15, 2023
6df2781
Merge pull request #319 from voxpupuli/modulesync
bastelfreak Apr 17, 2023
36673f7
Drop Puppet 6 support
bastelfreak Apr 28, 2023
d9536dc
Merge pull request #320 from voxpupuli/puppet7
bastelfreak Apr 28, 2023
3c154f0
puppet/archive: Allow 7.x
bastelfreak Jun 14, 2023
8d7f5c9
puppetlabs/stdlib: Require 9.x
bastelfreak Jun 14, 2023
dd9c483
CI: Use puppetlabs/apt 9.1
bastelfreak Jun 14, 2023
4f1668e
Merge pull request #322 from bastelfreak/deps
bastelfreak Jun 14, 2023
66b31a2
Release 12.0.0
bastelfreak Jun 14, 2023
207de4c
Merge pull request #323 from bastelfreak/rel1200
bastelfreak Jun 14, 2023
bc26669
[blacksmith] Bump version to 12.0.1-rc0
bastelfreak Jun 14, 2023
c2b1d6d
cleanup .fixtures.yml
bastelfreak Jun 22, 2023
f4424a2
Merge pull request #326 from bastelfreak/fixtures
bastelfreak Jun 22, 2023
29a7c23
modulesync 6.0.0
bastelfreak Jun 22, 2023
9adb750
Add puppet 8 support
bastelfreak Jun 22, 2023
5ca71b5
puppetlabs/stdlib: Require 9.x
bastelfreak Jun 22, 2023
edb049f
Merge pull request #327 from voxpupuli/modulesync
bastelfreak Jun 22, 2023
2d0b43f
Merge pull request #325 from bastelfreak/stdlib9
bastelfreak Jun 22, 2023
194fe13
Add Ubuntu 22.04 support
bastelfreak Jun 22, 2023
a2b8057
Add EL9 support
bastelfreak Jun 22, 2023
899949e
Merge pull request #328 from bastelfreak/el9
bastelfreak Jun 22, 2023
f9fb910
Merge pull request #329 from bastelfreak/ubuntu
bastelfreak Jun 22, 2023
dde9106
Release 13.0.0
bastelfreak Jun 22, 2023
bf576d4
Merge pull request #331 from bastelfreak/rel1300
bastelfreak Jun 22, 2023
145b3e7
[blacksmith] Bump version to 13.0.1-rc0
bastelfreak Jun 22, 2023
b310878
modulesync 7.0.0
bastelfreak Aug 17, 2023
a823f13
rubocop: autofix
bastelfreak Aug 17, 2023
e88c59d
Merge pull request #334 from voxpupuli/modulesync
bastelfreak Aug 18, 2023
06f3d98
Change signing repo key
Aug 29, 2023
f22545a
Merge pull request #335 from mouchymouchy/master
smortex Sep 15, 2023
d5aef9a
Release 13.0.1
smortex Sep 15, 2023
642eaec
Merge pull request #337 from voxpupuli/release-13.0.1
smortex Sep 15, 2023
5967d98
[blacksmith] Bump version to 13.0.2-rc0
smortex Sep 15, 2023
8dfb5fb
Add OracleLinux support
bastelfreak Oct 31, 2023
820b40d
Merge pull request #340 from bastelfreak/ol
bastelfreak Oct 31, 2023
95d5fa7
Release 13.1.0
bastelfreak Oct 31, 2023
1a0b3d3
Merge pull request #342 from bastelfreak/rel1310
bastelfreak Oct 31, 2023
0dad8d7
[blacksmith] Bump version to 13.1.1-rc0
bastelfreak Oct 31, 2023
08db8db
Support Grafana 10.x
treydock Feb 1, 2024
1d63817
Make changes work with older Grafana
treydock Feb 2, 2024
a98b003
Fix folder when duplicate permissions
treydock Feb 2, 2024
f9c6241
Fix sorting for folder permissioins
treydock Feb 2, 2024
b227484
More fixes for folder permission insync?
treydock Feb 2, 2024
4336181
Make permission sorting more dynamic
treydock Feb 2, 2024
fdef345
Fix acceptance tests
treydock Feb 2, 2024
711d8f2
Merge pull request #348 from treydock/grafana-10
bastelfreak Feb 3, 2024
eec9f01
modulesync 7.2.0
bastelfreak Dec 15, 2023
b74868f
Merge pull request #345 from voxpupuli/modulesync
bastelfreak Feb 3, 2024
e784666
Remove legacy top-scope syntax
smortex Nov 23, 2023
4221767
Merge pull request #344 from voxpupuli/remove-legacy-top-scope-syntax
zilchms Feb 4, 2024
4c571e2
modulesync 7.3.0
zilchms Feb 6, 2024
a190b2d
Merge pull request #349 from voxpupuli/modulesync
zilchms Feb 6, 2024
3118060
Use modern apt keyrings
saz Mar 6, 2024
39cbf12
modulesync 7.4.0
bastelfreak Apr 12, 2024
ff41bcb
Merge pull request #352 from voxpupuli/modulesync
bastelfreak Apr 12, 2024
f222e25
modulesync 7.5.0
zilchms Apr 25, 2024
b9c83a8
Merge pull request #354 from voxpupuli/modulesync
zilchms Apr 26, 2024
7af2c41
Release 13.2.0
treydock Mar 5, 2024
b819474
Merge pull request #350 from treydock/release-13.2.0
treydock May 24, 2024
abf0587
[blacksmith] Bump version to 13.2.1-rc0
treydock May 24, 2024
f3d8c23
Drop EoL Debian 10 support
bastelfreak Jun 7, 2024
34c2d9d
Drop EoL Ubuntu 18.04 support
bastelfreak Jun 7, 2024
c417d69
Merge pull request #357 from voxpupuli/debian10
bastelfreak Jun 7, 2024
4b31559
Merge pull request #358 from bastelfreak/ubuntu18
bastelfreak Jun 7, 2024
d4036ba
modulesync 8.0.1
bastelfreak Jun 3, 2024
51b18b0
Drop EoL RedHat 7, CentOS 7 & 8 support
bastelfreak Jun 7, 2024
dda9cb8
Merge pull request #359 from bastelfreak/el
bastelfreak Jun 7, 2024
ff1bbb0
Merge pull request #356 from voxpupuli/modulesync
bastelfreak Jun 7, 2024
ddff86e
Add Grafana 11 as supported version
sebastianrakel Jun 3, 2024
0eb3012
Merge pull request #355 from sebastianrakel/grafana-11
bastelfreak Jun 7, 2024
65bc9b8
Drop support for EoL Grafana 8 & 9
bastelfreak Jun 7, 2024
d81de8a
CI: Run on latest grafana patch versions
bastelfreak Jun 7, 2024
e758e12
Add Debian 12 support
bastelfreak Oct 31, 2023
fe4de55
Merge pull request #361 from bastelfreak/eol
bastelfreak Jun 7, 2024
35de1c5
Merge pull request #360 from bastelfreak/ci
bastelfreak Jun 7, 2024
e8dce0c
CI: Enhance cleanup script
bastelfreak Jun 9, 2024
b6218f9
Merge pull request #363 from bastelfreak/cleanup
sebastianrakel Jun 9, 2024
e80fb00
Merge pull request #341 from bastelfreak/debian
sebastianrakel Jun 11, 2024
1d6eecc
Merge pull request #351 from saz/saz-patch-1
sebastianrakel Jun 11, 2024
0bc1788
modulesync 9.0.0
bastelfreak Jun 12, 2024
fcfe221
Merge pull request #365 from voxpupuli/modulesync
bastelfreak Jun 12, 2024
2c9ad67
Create subpaths for provisioning_datasources
sebastianrakel Jun 7, 2024
04b78e0
Merge pull request #362 from sebastianrakel/fix-creation-datatsource-…
bastelfreak Jun 12, 2024
bd7d42b
Release 14.0.0
sebastianrakel Jun 14, 2024
2230c34
Merge pull request #366 from sebastianrakel/release-13.3.0
sebastianrakel Jun 14, 2024
03789fc
[blacksmith] Bump version to 14.0.1-rc0
sebastianrakel Jun 14, 2024
925d712
Add fact to get grafana version
rwaffen Jun 20, 2024
dd3f097
fix rubocop complaints
rwaffen Jun 20, 2024
ff9d6dc
confine on the version file
rwaffen Jun 20, 2024
3df0158
remove not need mock in spec test
rwaffen Jun 20, 2024
9eb8e38
Merge pull request #367 from rwaffen/add_version_fact
rwaffen Jun 20, 2024
6687908
Release 14.1.0
rwaffen Jun 20, 2024
dcac1e5
Merge pull request #368 from rwaffen/release-14.1.0
rwaffen Jun 20, 2024
35644b2
[blacksmith] Bump version to 14.1.1-rc0
rwaffen Jun 20, 2024
3118c41
README.md: Clarify toml gem setup
bastelfreak Sep 4, 2024
7331981
Merge pull request #374 from bastelfreak/tomllll
smortex Oct 7, 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
13 changes: 6 additions & 7 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
fixtures:
repositories:
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
archive: "https://github.com/voxpupuli/puppet-archive.git"
docker: "https://github.com/garethr/garethr-docker.git"
wget: "https://github.com/maestrodev/puppet-wget.git"
apt: "https://github.com/puppetlabs/puppetlabs-apt.git"
symlinks:
grafana: "#{source_dir}"
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git"
archive: "https://github.com/voxpupuli/puppet-archive.git"
docker: "https://github.com/garethr/garethr-docker.git"
apt: "https://github.com/puppetlabs/puppetlabs-apt.git"
yumrepo_core: https://github.com/puppetlabs/puppetlabs-yumrepo_core.git
augeas_core: https://github.com/puppetlabs/puppetlabs-augeas_core.git
264 changes: 264 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
# Contribution guidelines

## Table of contents

* [Contributing](#contributing)
* [Writing proper commits - short version](#writing-proper-commits-short-version)
* [Writing proper commits - long version](#writing-proper-commits-long-version)
* [Dependencies](#dependencies)
* [Note for OS X users](#note-for-os-x-users)
* [The test matrix](#the-test-matrix)
* [Syntax and style](#syntax-and-style)
* [Running the unit tests](#running-the-unit-tests)
* [Unit tests in docker](#unit-tests-in-docker)
* [Integration tests](#integration-tests)

This module has grown over time based on a range of contributions from
people using it. If you follow these contributing guidelines your patch
will likely make it into a release a little more quickly.

## Contributing

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms.
[Contributor Code of Conduct](https://voxpupuli.org/coc/).

* Fork the repo.
* Create a separate branch for your change.
* We only take pull requests with passing tests, and documentation. [GitHub Actions](https://docs.github.com/en/actions) run the tests for us. You can also execute them locally. This is explained [in a later section](#the-test-matrix).
* Checkout [our docs](https://voxpupuli.org/docs/reviewing_pr/) we use to review a module and the [official styleguide](https://puppet.com/docs/puppet/6.0/style_guide.html). They provide some guidance for new code that might help you before you submit a pull request.
* Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or fixing a bug, please add a test.
* Squash your commits down into logical components. Make sure to rebase against our current master.
* Push the branch to your fork and submit a pull request.

Please be prepared to repeat some of these steps as our contributors review your code.

Also consider sending in your profile code that calls this component module as an acceptance test or provide it via an issue. This helps reviewers a lot to test your use case and prevents future regressions!

## Writing proper commits - short version

* Make commits of logical units.
* Check for unnecessary whitespace with "git diff --check" before committing.
* Commit using Unix line endings (check the settings around "crlf" in git-config(1)).
* Do not check in commented out code or unneeded files.
* The first line of the commit message should be a short description (50 characters is the soft limit, excluding ticket number(s)), and should skip the full stop.
* Associate the issue in the message. The first line should include the issue number in the form "(#XXXX) Rest of message".
* The body should provide a meaningful commit message, which:
*uses the imperative, present tense: `change`, not `changed` or `changes`.
* includes motivation for the change, and contrasts its implementation with the previous behavior.
* Make sure that you have tests for the bug you are fixing, or feature you are adding.
* Make sure the test suites passes after your commit:
* When introducing a new feature, make sure it is properly documented in the README.md

## Writing proper commits - long version

1. Make separate commits for logically separate changes.

Please break your commits down into logically consistent units
which include new or changed tests relevant to the rest of the
change. The goal of doing this is to make the diff easier to
read for whoever is reviewing your code. In general, the easier
your diff is to read, the more likely someone will be happy to
review it and get it into the code base.

If you are going to refactor a piece of code, please do so as a
separate commit from your feature or bug fix changes.

We also really appreciate changes that include tests to make
sure the bug is not re-introduced, and that the feature is not
accidentally broken.

Describe the technical detail of the change(s). If your
description starts to get too long, that is a good sign that you
probably need to split up your commit into more finely grained
pieces.

Commits which plainly describe the things which help
reviewers check the patch and future developers understand the
code are much more likely to be merged in with a minimum of
bike-shedding or requested changes. Ideally, the commit message
would include information, and be in a form suitable for
inclusion in the release notes for the version of Puppet that
includes them.

Please also check that you are not introducing any trailing
whitespace or other "whitespace errors". You can do this by
running "git diff --check" on your changes before you commit.

2. Sending your patches

To submit your changes via a GitHub pull request, we _highly_
recommend that you have them on a topic branch, instead of
directly on `master`.
It makes things much easier to keep track of, especially if
you decide to work on another thing before your first change
is merged in.

GitHub has some pretty good
[general documentation](http://help.github.com/) on using
their site. They also have documentation on
[creating pull requests](http://help.github.com/send-pull-requests/).

In general, after pushing your topic branch up to your
repository on GitHub, you can switch to the branch in the
GitHub UI and click "Pull Request" towards the top of the page
in order to open a pull request.


3. Update the related GitHub issue.

If there is a GitHub issue associated with the change you
submitted, then you should update the ticket to include the
location of your branch, along with any other commentary you
may wish to make.

## Dependencies

The testing and development tools have a bunch of dependencies,
all managed by [bundler](http://bundler.io/) according to the
[Puppet support matrix](http://docs.puppetlabs.com/guides/platforms.html#ruby-versions).

By default the tests use a baseline version of Puppet.

If you have Ruby 2.x or want a specific version of Puppet,
you must set an environment variable such as:

```sh
export PUPPET_GEM_VERSION="~> 6.1.0"
```

You can install all needed gems for spec tests into the modules directory by
running:

```sh
bundle config set --local path '.vendor/'
bundle config set --local without 'development system_tests release'
bundle install --jobs "$(nproc)"
```

If you also want to run acceptance tests:

```sh
bundle config set --local path '.vendor/'
bundle config set --local without 'development release'
bundle config set --local with 'system_tests'
bundle install --jobs "$(nproc)"
```

Our all in one solution if you don't know if you need to install or update gems:

```sh
bundle config set --local path '.vendor/'
bundle config set --local without 'development release'
bundle config set --local with 'system_tests'
bundle install --jobs "$(nproc)"
bundle update
bundle clean
```

As an alternative to the `--jobs "$(nproc)` parameter, you can set an
environment variable:

```sh
BUNDLE_JOBS="$(nproc)"
```

### Note for OS X users

`nproc` isn't a valid command under OS x. As an alternative, you can do:

```sh
--jobs "$(sysctl -n hw.ncpu)"
```

## The test matrix

### Syntax and style

The test suite will run [Puppet Lint](http://puppet-lint.com/) and
[Puppet Syntax](https://github.com/gds-operations/puppet-syntax) to
check various syntax and style things. You can run these locally with:

```sh
bundle exec rake lint
bundle exec rake validate
```

It will also run some [Rubocop](http://batsov.com/rubocop/) tests
against it. You can run those locally ahead of time with:

```sh
bundle exec rake rubocop
```

### Running the unit tests

The unit test suite covers most of the code, as mentioned above please
add tests if you're adding new functionality. If you've not used
[rspec-puppet](http://rspec-puppet.com/) before then feel free to ask
about how best to test your new feature.

To run the linter, the syntax checker and the unit tests:

```sh
bundle exec rake test
```

To run your all the unit tests

```sh
bundle exec rake spec
```

To run a specific spec test set the `SPEC` variable:

```sh
bundle exec rake spec SPEC=spec/foo_spec.rb
```

#### Unit tests in docker

Some people don't want to run the dependencies locally or don't want to install
ruby. We ship a Dockerfile that enables you to run all unit tests and linting.
You only need to run:

```sh
docker build .
```

Please ensure that a docker daemon is running and that your user has the
permission to talk to it. You can specify a remote docker host by setting the
`DOCKER_HOST` environment variable. it will copy the content of the module into
the docker image. So it will not work if a Gemfile.lock exists.

### Integration tests

The unit tests just check the code runs, not that it does exactly what
we want on a real machine. For that we're using
[beaker](https://github.com/puppetlabs/beaker).

This fires up a new virtual machine (using vagrant) and runs a series of
simple tests against it after applying the module. You can run this
with:

```sh
BEAKER_PUPPET_COLLECTION=puppet7 BEAKER_setfile=debian11-64 bundle exec rake beaker
```

You can replace the string `debian11` with any common operating system.
The following strings are known to work:

* ubuntu2004
* ubuntu2204
* debian11
* centos7
* centos8
* centos9
* almalinux8
* almalinux9
* fedora36

For more information and tips & tricks, see [voxpupuli-acceptance's documentation](https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).

The source of this file is in our [modulesync_config](https://github.com/voxpupuli/modulesync_config/blob/master/moduleroot/.github/CONTRIBUTING.md.erb)
repository.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
Thank you for contributing to this project!

- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
- Please fill the following form to enable us to help you.
- Our vulnerabilities reporting process is at https://voxpupuli.org/security/

-->

## Affected Puppet, Ruby, OS and module versions/distributions

- Puppet:
- Ruby:
- Distribution:
- Module version:

## How to reproduce (e.g Puppet code you use)

## What are you seeing

## What behaviour did you expect instead

## Output log

## Any additional information you'd like to impart
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
Thank you for contributing to this project!

- This project has a Contributor Code of Conduct: https://voxpupuli.org/coc/
- Please check that here is no existing issue or PR that addresses your problem.
- Our vulnerabilities reporting process is at https://voxpupuli.org/security/

-->
#### Pull Request (PR) description
<!--
Replace this comment with a description of your pull request.
-->

#### This Pull Request (PR) fixes the following issues
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
3 changes: 3 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
skip-changelog:
- head-branch: ['^release-*', 'release']
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# Managed by modulesync - DO NOT EDIT
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/

name: CI

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@v2
22 changes: 22 additions & 0 deletions .github/workflows/release.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: Release

on:
push:
tags:
- '*'

jobs:
release:
name: Release
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v2
with:
allowed_owner: 'voxpupuli'
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 }}
Loading