GitHub puppet-r10k
Setup and configure r10k for use with git based environments in puppet

Repo Checks ( 14 of 26 successfull )
Metadata Valid
No translation
passed
Correct Puppet Version Range
Supported Puppet version range is %{PUPPET_SUPPORT_RANGE}
passed
With Puppet Version Range
Puppet version range is present in requirements in metadata.json
passed
With Operatingsystem Support
No translation
passed
Operatingsystems
No translation
passed
Supports Only Current Redhat
No translation
passed
Supports Latest Redhat
No translation
failed
Supports Only Current Centos
No translation
passed
Supports Latest Centos
No translation
failed
Supports Only Current Oraclelinux
No translation
passed
Supports Latest Oraclelinux
No translation
failed
Supports Only Current Scientific
No translation
passed
Supports Latest Scientific
No translation
failed
Supports Only Current Ubuntu
No translation
failed
Supports Latest Ubuntu
No translation
failed
Supports Only Current Archlinux
No translation
failed
Supports Latest Archlinux
No translation
failed
Supports Only Current Gentoo
No translation
failed
Supports Latest Gentoo
No translation
failed
In Modulesync Repo
Is listed as a module managed using modulesync_config
passed
Synced
Has a .msync.yml file
passed
Latest Modulesync
Has been synchronized with the latest tagged version of modulesync_config
failed
Has Modulesync
Is present in voxpupuli/modulesync_config/managed_modules.yml
passed
Released
Is in modulesync_config and in forge releases.
passed
Valid Sync File
If a (optional) sync file is present, it must not contain a `.travis.yml` entry.
passed
Reference Dot Md
The repository has a REFERENCE.md. It needs to be generated / puppet-strings documentation is missing.
failed

Open Pull Requests

Release 10.2.2-rc0
skip-changelog
[WIP] Refactor classes postrun_command, prerun_command
backwards-incompatible
merge-conflicts

This pull request will prepare the module for data-in-modules and provide a REFERENCE.md. Unfortunately this module uses a lot of classes and I need to figure out which one are private. Because some variables are named or used badly, this change will be backwards incompatible and end up in a major release.

Open PR in GitHub
Bugfix: webhook: fix defaults, fix dependency, add acceptance test

Pull Request (PR) description

TL;DR
This PR fixes the defaults in params.pp for the webhook, adds a dependency to fix a first-run failure, adds a spec test for the defaults and an acceptance test.

Details:
When in a manifest classes are declared like this:
puppet
class { 'r10k': }
-> class { 'r10k::webhook': }

a simple test with it { is_expected.to compile.with_all_deps } fails with:
```
1) template on debian-10-x8664 is expected to compile into a catalogue without dependency cycles
Failure/Error: it { is
expected.to compile.withalldeps }

error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Class[R10k::Webhook]:
parameter 'chatops' entry 'service' expects an undef value or a match for Enum['rocketchat', 'slack'], got ''
parameter 'chatops' entry 'channel' expects a value of type Undef or String[1], got String
parameter 'chatops' entry 'user' expects a value of type Undef or String[1], got String
parameter 'chatops' entry 'authtoken' expects a value of type Undef or String[1], got String
parameter 'chatops' entry 'server
uri' expects a value of type Undef or String[1], got String
parameter 'r10k' entry 'prefix' expects a value of type Undef or String[1], got String
parameter 'config' entry 'chatops' entry 'service' expects an undef value or a match for Enum['rocketchat', 'slack'], got ''
parameter 'config' entry 'chatops' entry 'channel' expects a value of type Undef or String[1], got String
parameter 'config' entry 'chatops' entry 'user' expects a value of type Undef or String[1], got String
parameter 'config' entry 'chatops' entry 'authtoken' expects a value of type Undef or String[1], got String
parameter 'config' entry 'chatops' entry 'server
uri' expects a value of type Undef or String[1], got String
parameter 'config' entry 'r10k' entry 'prefix' expects a value of type Undef or String[1], got String (file: /home/tmu/git/template/spec/fixtures/modules/template/manifests/init.pp, line: 6, column: 6) on node computer.example.com
# ./spec/classes/init_spec.rb:21:in block (4 levels) in <top (required)>'
`
Cause: The type is
Optional[Enum]orOptional[String[1]], but in params.pp the defaults for above values are empty strings''`.

This PR changes those defaults to undef, which fixes this.

Additionally at the first Puppet run, Puppet fails with an error, because it tries to manages the file /etc/voxpupuli/webhook.yml, before the package webhook-go is being installed, which creates the directory /etc/voxpupuli/.
This PR adds the requirement to install the package to create the directory first before the file is being managed.

The unit test for the webhook is being changed to test, if the defaults do not fail.
An acceptance test is added to check, if the service is running with defaults.

Open PR in GitHub
modulesync 5.4.0
modulesync

modulesync 5.4.0

Open PR in GitHub
modulesync 7.3.0
modulesync

modulesync 7.3.0

Open PR in GitHub
Add support for logging parameters in r10k.yml

<!--
Thank you for contributing to this project!

-->

Pull Request (PR) description

<!--
Add support for logging parameters in r10k.yml.
-->

This Pull Request (PR) fixes the following issues

<!--
n/a
-->

Open PR in GitHub
webhook-go: Implement repository support

<!--
Thank you for contributing to this project!

-->

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

Open PR in GitHub