Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
e881718
Update based on voxpupuli/modulesync_config 0.16.3
dhoppe Dec 7, 2016
2a5da8d
Fix several Lint issues
dhoppe Dec 7, 2016
5a12d93
Fix several Rubocop issues
dhoppe Dec 7, 2016
c468612
Fix open ended dependency for puppet/archive
dhoppe Dec 7, 2016
e4e1557
Rename directory tests to examples
dhoppe Dec 7, 2016
3c9cefc
Fix several Markdown issues
dhoppe Dec 7, 2016
ee19596
Fix namespace
dhoppe Dec 7, 2016
0ccaac8
Add support for rspec-puppet-facts
dhoppe Dec 7, 2016
1f3d0ef
Fix issue regarding non numeric versions
dhoppe Dec 7, 2016
27f9cb8
Add support for anchor pattern
dhoppe Dec 7, 2016
8e85b20
Merge pull request #1 from dhoppe/modulesync
bastelfreak Dec 7, 2016
9a36f66
modulesync 0.16.4
bastelfreak Dec 21, 2016
89721cb
Merge pull request #3 from voxpupuli/modulesync
alexjfisher Dec 21, 2016
1835009
modulesync 0.16.6
bastelfreak Dec 25, 2016
54554c9
Merge pull request #4 from voxpupuli/modulesync
bbriggs Dec 25, 2016
6cdb444
Bump min version_requirement for Puppet + deps
juniorsysadmin Dec 26, 2016
7e8343e
Merge pull request #5 from juniorsysadmin/bumpdeps
bastelfreak Dec 26, 2016
bef3d75
modulesync 0.16.7
bastelfreak Jan 4, 2017
0860008
Merge pull request #7 from voxpupuli/modulesync
alexjfisher Jan 4, 2017
370d75f
fix function calls to send_request in datasource provider
andyroyle Dec 14, 2016
22ef0a7
fix missing parameter on send_request method call
andyroyle Jan 4, 2017
a182412
name methods to match property 'is_default'
andyroyle Jan 4, 2017
7e9cde0
disable the predicateName rule for grafana_datasource.rb
andyroyle Jan 4, 2017
599cb97
only suppress the predicateName rule for the given methods
andyroyle Jan 9, 2017
9f4dfb7
Update config.ini.erb
doomnuggets Jan 16, 2017
80411d1
modulesync 0.16.8
bastelfreak Jan 17, 2017
cb14612
Merge pull request #13 from voxpupuli/modulesync
nibalizer Jan 17, 2017
5499e9d
Merge pull request #11 from doomnuggets/master
nibalizer Jan 18, 2017
f946c66
Merge pull request #6 from andyroyle/fix-datasource-provider
nibalizer Jan 18, 2017
9e0384b
Add changelog entries for changes since 2.5.0
igalic Jan 18, 2017
9135cf4
Merge pull request #14 from igalic/changelog
bastelfreak Jan 18, 2017
434d645
Update metadata.json
goya151 Jan 18, 2017
eed69d3
Merge pull request #16 from goya151/master
igalic Jan 18, 2017
a9eee4e
[blacksmith] Bump version to 2.6.1-rc0
igalic Jan 18, 2017
d86741d
release 2.6.1
bastelfreak Jan 18, 2017
30e47f2
Merge pull request #18 from voxpupuli/rel261
hunner Jan 18, 2017
9733b06
bump required puppet version to 4.6.1
bastelfreak Jan 18, 2017
16e78dd
modulesync 0.19.3
bastelfreak Jan 18, 2017
15ca5a3
Merge pull request #19 from voxpupuli/modulesync
dhollinger Jan 18, 2017
256f723
[blacksmith] Bump version to 2.6.2-rc0
rnelson0 Jan 18, 2017
c1bd713
Revert "[blacksmith] Bump version to 2.6.2-rc0"
rnelson0 Jan 18, 2017
14ad216
[blacksmith] Bump version to 2.6.2-rc0
rnelson0 Jan 18, 2017
12ec86d
The puppet 4-only release will start at 3.0.0
rnelson0 Jan 18, 2017
d4ee993
Merge pull request #21 from voxpupuli/3.0.0-rc0
bastelfreak Jan 18, 2017
1a1f20c
Use operatingsystemmajrelease fact in el repo url
Jan 31, 2017
f727d5a
Merge pull request #24 from mirekys/master
bastelfreak Feb 8, 2017
3228624
modulesync 0.20.0
bastelfreak Feb 12, 2017
e3a5648
delete unneeded spec.opts file
bastelfreak Feb 12, 2017
336e23e
Merge pull request #26 from voxpupuli/modulesync
sacres Feb 12, 2017
73436c5
supoort jessie for install method repo
Mar 1, 2017
0036b15
FIX configuration file ownership
Mar 2, 2017
50bbab8
Merge pull request #30 from hmrc/fix_config_file_ownership
bastelfreak Mar 2, 2017
863f603
FIX grafana_dashboards crash
Mar 2, 2017
0fda621
FIX API requests
Mar 2, 2017
96dde95
FIX idempotency of grafana_dashboard
Mar 2, 2017
d94b4a8
Merge pull request #31 from hmrc/fix_dashboards
roidelapluie Mar 6, 2017
9953a49
add initial archlinux support
bastelfreak Jul 23, 2016
180f405
enhance spec tests
bastelfreak Mar 10, 2017
eeb7d05
Merge pull request #32 from bastelfreak/addarchsupport
bbriggs Mar 10, 2017
21139e4
modulesync 0.20.1
bastelfreak Mar 10, 2017
c5e60e9
Merge pull request #33 from voxpupuli/modulesync
vinzent Mar 11, 2017
9415b40
fix package ensure for Archlinux
bastelfreak Mar 11, 2017
aa6dcec
increase spec coverage
bastelfreak Mar 12, 2017
c016479
Merge pull request #34 from bastelfreak/fix_archlinux
alexjfisher Mar 12, 2017
4d2d3ce
Merge remote-tracking branch 'upstream/master'
Mar 23, 2017
f0c6354
Merge branch 'master' into debian-repo-fix
Mar 23, 2017
84bf571
update spec definitions for debian apt repo
Mar 23, 2017
8d1efae
Merge pull request #28 from roock/debian-repo-fix
dhoppe Mar 23, 2017
9766075
Debian and RedHat based operating systems should use the repository b…
dhoppe Mar 26, 2017
a96ef47
Merge pull request #36 from dhoppe/repo
bastelfreak Mar 26, 2017
217cf1d
Bump version, Update changelog
dhoppe Mar 29, 2017
dbf207a
Fix serveral lint issues
dhoppe Mar 29, 2017
6d70840
Merge pull request #38 from dhoppe/release
bastelfreak Mar 29, 2017
18b98bb
Always use jessie apt repo, even if even if you are on Ubuntu or anot…
furhouse Apr 5, 2017
a206aa1
Merge pull request #41 from furhouse/feature/ubuntu
juniorsysadmin Apr 13, 2017
76d7db0
modulesync 0.21.0
bastelfreak Apr 15, 2017
fbfb9df
rubocop: autofixes
bastelfreak Apr 15, 2017
5723b84
Merge pull request #42 from voxpupuli/modulesync
dhoppe Apr 16, 2017
6f3f48d
drop newvalues for type property in datasource
bastelfreak Apr 29, 2017
7e4f1ee
Add defined resource for custom plugins
bastelfreak Apr 29, 2017
5215d21
update README.md for grafana::plugin
bastelfreak Apr 29, 2017
f25b4c5
add tests for grafana:plugin
bastelfreak Apr 29, 2017
84267eb
Merge pull request #44 from bastelfreak/support_custom_plugins
bastelfreak Apr 30, 2017
20585cd
modulesync 0.21.3
bastelfreak Jun 11, 2017
6851a88
disable rubocop false/positive
bastelfreak Jun 11, 2017
d158952
Merge pull request #46 from voxpupuli/modulesync
bbriggs Jun 11, 2017
9d601c1
Support newer versions of puppetlabs/apt module
ghoneycutt Aug 7, 2017
e5c9ace
Merge pull request #53 from ghoneycutt/support_newer_apt
wyardley Sep 14, 2017
e5b06c2
modulesync 2017-09-15
Sep 15, 2017
5103cbd
Merge pull request #55 from voxpupuli/modulesync
wyardley Sep 15, 2017
df07d08
Fix typo in provider
atward Sep 20, 2017
17375d6
Merge pull request #58 from atward/provider-fix
wyardley Sep 20, 2017
7c155e2
Bump version to 4.5.1.
Sep 20, 2017
e064b4c
grafana_user custom resource
atward Sep 20, 2017
d09835a
Add acceptance tests to run in Travis.
Sep 20, 2017
c7bc507
Rework how classes are ordered
Sep 20, 2017
7c9a00a
updates to metadata
Sep 20, 2017
b91eb2c
Merge pull request #61 from wyardley/default_package_version
bastelfreak Sep 20, 2017
b063e51
Merge pull request #60 from atward/provider-user
wyardley Sep 20, 2017
7742b2f
Create grafana_plugin resource type, and create grafana::plugins pass…
Sep 20, 2017
bfc24c8
Merge pull request #63 from wyardley/plugin_types
bastelfreak Sep 20, 2017
9c050ab
Get rid of the dependency on 'wget' module since archive is already a…
Sep 20, 2017
2bccf55
Merge pull request #65 from wyardley/remove_wget
bastelfreak Sep 20, 2017
e2b39a9
Switch to Puppet Data Types
Sep 20, 2017
585ef04
Merge pull request #66 from wyardley/data_types
bastelfreak Sep 20, 2017
6edca8f
Remove licenses from the top of files, since LICENSE is already inclu…
Sep 20, 2017
6b8e37d
Update README.md
Sep 20, 2017
fadcc34
Merge pull request #64 from wyardley/remove_license
bastelfreak Sep 20, 2017
2df36c4
Merge pull request #67 from wyardley/update_readme
bastelfreak Sep 20, 2017
f9e9a2e
release 4.0.0
bastelfreak Jul 4, 2017
33798da
Merge pull request #62 from bastelfreak/rel400
wyardley Sep 20, 2017
5ddeb8d
[blacksmith] Bump version to 4.0.1-rc0
bastelfreak Sep 20, 2017
d5103a5
Update Travis secrets
Sep 21, 2017
ea55bd7
CHANGELOG and metadata for release
Sep 21, 2017
c5340ac
Merge pull request #68 from wyardley/release401
alexjfisher Sep 22, 2017
05f9ba6
[blacksmith] Bump version to 4.0.2-rc0
Sep 22, 2017
b1dae41
fix typo in metadata (redhat 6 twice vs 6/7)
Sep 22, 2017
04599d8
Merge pull request #69 from wyardley/fix_metadata_typo
TraGicCode Sep 23, 2017
e6f6f9c
add debian 8 and 9 support
bastelfreak Oct 12, 2017
6790b6a
bump archive upper boundary to work witha latest versions
bastelfreak Oct 12, 2017
d2b5502
Merge pull request #72 from bastelfreak/debian
dhollinger Oct 12, 2017
d4332a2
Merge pull request #73 from bastelfreak/archive
dhollinger Oct 12, 2017
b2884e9
Release 4.0.2
Oct 12, 2017
b5ae6e9
Merge pull request #74 from dhollinger/rel402
llowder Oct 12, 2017
f505078
[blacksmith] Bump version to 4.0.3-rc0
bastelfreak Oct 12, 2017
3f9fa4e
Removing the datasource url check as it leads to errors with postgres…
Oct 27, 2017
d7e1991
Merge pull request #76 from Faffnir/master
dhollinger Nov 8, 2017
f06a7c9
modulesync 1.5.0
bastelfreak Nov 16, 2017
d8c8069
Merge pull request #78 from voxpupuli/modulesync
bastelfreak Nov 17, 2017
ff61bf9
update readme with examples of using grafana_datasource and grafana_d…
devcfgc Nov 24, 2017
1a7d0cc
fixing puppet-lint
devcfgc Nov 26, 2017
bbe7713
Merge pull request #80 from devcfgc/update_readme
bastelfreak Nov 26, 2017
ed5ffbb
release 4.0.3
bastelfreak Nov 26, 2017
f492a6b
Merge pull request #81 from bastelfreak/rel410
bastelfreak Dec 9, 2017
9b05f98
[blacksmith] Bump version to 4.0.4-rc0
bastelfreak Dec 9, 2017
fea6450
modulesync 1.6.0
bastelfreak Jan 3, 2018
aecbdc4
Merge pull request #84 from voxpupuli/modulesync
bastelfreak Jan 4, 2018
bffadfd
(SIMP-4206) Added Organization Provider and updated Datasource Provider
Dec 1, 2017
13a2706
Updating to fix spec tests/rubocop errors
Feb 2, 2018
531aeda
final rubocop fix
Feb 2, 2018
c38b50f
Merge pull request #86 from simp/SIMP-4206
bastelfreak Feb 2, 2018
6743a79
modulesync 1.7.0
bastelfreak Feb 3, 2018
35aba68
Merge pull request #87 from bastelfreak/modulesync
bastelfreak Feb 3, 2018
bc655cf
release 4.1.0
bastelfreak Feb 3, 2018
e62d2dd
Merge pull request #88 from bastelfreak/rel410
bastelfreak Feb 3, 2018
ec2403f
[blacksmith] Bump version to 4.1.1-rc0
bastelfreak Feb 3, 2018
bbaba72
fix datasource provider error
Feb 16, 2018
3d0d280
Merge pull request #90 from brandonrdn/master
bastelfreak Feb 21, 2018
a660970
modulesync 1.8.0
bastelfreak Feb 21, 2018
5388d33
Merge pull request #91 from voxpupuli/modulesync
bastelfreak Feb 21, 2018
5d4ed82
release 4.1.1
bastelfreak Feb 21, 2018
9ccb9bb
Merge pull request #92 from voxpupuli/rel401
bastelfreak Feb 21, 2018
3f43220
[blacksmith] Bump version to 4.1.2-rc0
bastelfreak Feb 21, 2018
3cd219c
Add grafana_api_path to allow for API sub-paths
Jan 18, 2017
72f7b08
Merge pull request #93 from brandonrdn/master
bastelfreak Feb 21, 2018
f79e9c1
Expand organization property for dashboards
Feb 21, 2018
d236f42
Bug fixes and adding organization option to dashboards
Mar 5, 2018
5e1203e
Merge pull request #94 from brandonrdn/master
bastelfreak Mar 5, 2018
66c1a4d
release 4.2.0
bastelfreak Mar 6, 2018
5f4a7cf
Merge pull request #97 from bastelfreak/rel420
bastelfreak Mar 6, 2018
e2fa0e5
[blacksmith] Bump version to 4.2.1-rc0
bastelfreak Mar 6, 2018
f7efd24
Update README.md
cclloyd Mar 7, 2018
cbfef6b
Merge pull request #99 from cclloyd/patch-1
juniorsysadmin Mar 12, 2018
3114e76
switch from topscope facts to $facts hash
bastelfreak Mar 17, 2018
e5a0358
Merge pull request #102 from bastelfreak/facts
bastelfreak Mar 17, 2018
a208a1c
modulesync 1.9.0
TraGicCode Mar 24, 2018
fb6d15e
Adding Postgres support
Faffnir Mar 26, 2018
38882fe
Adding secure_json_data field to the grafana_datasource declaration
Faffnir Mar 26, 2018
a984c1d
Removing this check again as it breaks postgres datasource definition
Faffnir Mar 26, 2018
20d0701
Merge pull request #105 from Faffnir/master
bastelfreak Apr 11, 2018
d0f6d96
modulesync 1.9.0-12-gacb0134
bastelfreak Apr 11, 2018
b8dbf42
Merge pull request #106 from voxpupuli/modulesync
bastelfreak Apr 11, 2018
9405e2a
Rely on beaker-hostgenerator for docker nodesets
ekohl May 13, 2018
24c37e3
Merge pull request #108 from ekohl/msync-docker
bastelfreak May 13, 2018
6a5b5bc
drop EOL OSs; fix puppet version range
bastelfreak May 20, 2018
02aec65
Merge pull request #109 from bastelfreak/puppet
bastelfreak May 20, 2018
082e3d6
Updated release codename from jessie to stretch.
Jun 18, 2018
b549d56
Merge pull request #113 from drshawnkwang/fix_debian-update-release-c…
bastelfreak Jun 18, 2018
aaff1ed
release 4.3.0
bastelfreak Jun 18, 2018
0d494e5
Merge pull request #114 from bastelfreak/rel430
sebastianrakel Jun 18, 2018
a90354c
[blacksmith] Bump version to 4.3.1-rc0
bastelfreak Jun 18, 2018
b40f064
Manage sysconfig files
ZeroPointEnergy Jun 21, 2018
60916bd
Merge pull request #115 from ZeroPointEnergy/feature/sysconfig
bastelfreak Jun 21, 2018
badcfb7
bump archive upper version boundary to <4.0.0
bastelfreak Jun 21, 2018
fa8a559
Merge pull request #116 from bastelfreak/archive
bastelfreak Jun 21, 2018
b0c60b7
release 4.4.0
bastelfreak Jun 21, 2018
99fcf46
Merge pull request #117 from bastelfreak/rel440
llowder Jun 21, 2018
45c8ae8
[blacksmith] Bump version to 4.4.1-rc0
bastelfreak Jun 21, 2018
1aa35ad
Added a file resource to config function.
Jun 27, 2018
bcb2d31
Fixed whitespace issue in resources.
Jul 3, 2018
e43d5ef
Merge pull request #118 from drshawnkwang/fix_bug-dependencies
bastelfreak Jul 3, 2018
7b2e1ab
release 4.4.1
bastelfreak Jul 3, 2018
27a2fea
Merge pull request #119 from bastelfreak/rel441
bastelfreak Jul 4, 2018
cc59337
[blacksmith] Bump version to 4.4.2-rc0
bastelfreak Jul 4, 2018
3914f4a
Puppet provisioning of daashboards and datasources.
Jun 21, 2018
a45008e
Add Ruby function and puppet code to extract path from hash.
Jun 29, 2018
90122bc
Documentation on provisioning. No functional changes.
Jul 3, 2018
b88e8ae
Added functionality to create all subpaths given in options path vari…
Jul 5, 2018
1d35bc5
Fixed errors found by Travis CI testing.
Jul 5, 2018
0d83b3a
Additional changes for Travis CI - ruby style/syntax
Jul 5, 2018
d464e95
metadata.json - bumped version requirement for puppetlabs-stdlib
Jul 6, 2018
43247bf
Changed spacing to resolve Travis CI build error.
Jul 6, 2018
4beaf83
Added missing comma to docs. No functional changes.
Jul 6, 2018
d976622
Added acceptance test, written by @bastelfreak.
Jul 6, 2018
1f19fa8
Merge pull request #120 from drshawnkwang/feature_useprovision
bastelfreak Jul 6, 2018
bd89e5a
modulesync 1.9.3
bastelfreak Jul 14, 2018
c997d66
Merge pull request #123 from voxpupuli/modulesync
bastelfreak Jul 14, 2018
9f2623c
release 4.5.0
bastelfreak Jul 15, 2018
16e0c03
Merge pull request #124 from bastelfreak/rel450
bastelfreak Jul 16, 2018
dab530f
[blacksmith] Bump version to 4.5.1-rc0
bastelfreak Jul 16, 2018
387cd44
modulesync 1.9.4
bastelfreak Jul 25, 2018
accfb08
Merge pull request #129 from voxpupuli/modulesync
bastelfreak Jul 25, 2018
9188571
Parametrize provisioning files names
kazeborja Jul 24, 2018
8043840
Update documentation about provisioning paths
kazeborja Jul 24, 2018
80ca0ce
Add acceptance test for provisioning paths
kazeborja Jul 24, 2018
f227efb
Merge pull request #128 from kazeborja/parametrizeProvisioning
bastelfreak Jul 30, 2018
18f5699
modulesync 1.9.6
bastelfreak Aug 13, 2018
9e24129
update spec_helper_acceptance
bastelfreak Aug 13, 2018
e3c3773
Merge pull request #131 from voxpupuli/modulesync
bastelfreak Aug 13, 2018
d4d665c
added optional --repo option to grafana_cli plugin install
rwuest Aug 15, 2018
7974535
Merge pull request #132 from rwuest/plugin_repo_param
bastelfreak Aug 15, 2018
d783ed6
Change default of version parameter to 'installed'
baurmatt Jul 17, 2018
abfcc13
allow puppetlabs/stdlib 5.x
bastelfreak Aug 26, 2018
4b6cba4
allow puppetlabs/apt 6.x
bastelfreak Aug 27, 2018
e652fec
Merge pull request #134 from voxpupuli/stdlib
Aug 27, 2018
995ab52
Merge pull request #126 from syseleven/fix-version-parameter
bastelfreak Sep 1, 2018
7248a1d
modulesync 2.0.0
bastelfreak Sep 5, 2018
c5b34b5
Merge pull request #135 from voxpupuli/modulesync
bastelfreak Sep 5, 2018
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
1 change: 0 additions & 1 deletion .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ fixtures:
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}"
124 changes: 124 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
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/).

1. Fork the repo.

1. Create a separate branch for your change.

1. Run the tests. We only take pull requests with passing tests, and
documentation.

1. 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.

1. Squash your commits down into logical components. Make sure to rebase
against the current master.

1. 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.

## 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:

export PUPPET_VERSION="~> 4.2.0"

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

```sh
bundle install --path .vendor/ --without development --without system_tests --without release
```

If you also want to run acceptance tests:

```sh
bundle install --path .vendor/ --without development --with system_tests --without release
```

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

```sh
bundle install --path .vendor/ --without development --with system_tests --without release; bundle update; bundle clean
```

## 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:

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:

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:

bundle exec rake test

To run your all the unit tests

bundle exec rake spec SPEC_OPTS='--format documentation'

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

bundle exec rake spec SPEC=spec/foo_spec.rb

## 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:

bundle exec rake acceptance

This will run the tests on the module's default nodeset. You can override the
nodeset used, e.g.,

BEAKER_set=centos-7-x64 bundle exec rake acceptance

There are default rake tasks for the various acceptance test modules, e.g.,

bundle exec rake beaker:centos-7-x64
bundle exec rake beaker:ssh:centos-7-x64

If you don't want to have to recreate the virtual machine every time you can
use `BEAKER_destroy=no` and `BEAKER_provision=no`. On the first run you will at
least need `BEAKER_provision` set to yes (the default). The Vagrantfile for the
created virtual machines will be in `.vagrant/beaker_vagrant_files`.

The easiest way to debug in a docker container is to open a shell:

docker exec -it -u root ${container_id_or_name} bash
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
-->
31 changes: 18 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
.*.sw?
pkg
spec/fixtures
.rspec_system
.vagrant
log/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
pkg/
Gemfile.lock
Gemfile.local
vendor/
.vendor/
spec/fixtures/manifests/
spec/fixtures/modules/
.vagrant/
.bundle/
.ruby-version
.ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
coverage/
log/
.idea/
.dependencies/
.librarian/
Puppetfile.lock
*.iml
.*.sw?
.yardoc/
Guardfile
1 change: 1 addition & 0 deletions .msync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
modulesync_config_version: '2.0.0'
64 changes: 64 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Managed by https://github.com/voxpupuli/modulesync_configs
#
# 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']
PuppetLint:
enabled: true
description: 'Runs puppet-lint on modified files only'
command: ['bundle', 'exec', 'puppet-lint']
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' ]
20 changes: 20 additions & 0 deletions .pmtignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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
*.iml
.*.sw?
.yardoc/
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--format documentation
--color
1 change: 1 addition & 0 deletions .rspec_parallel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--format progress
Loading