-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bumping pdk version, updating documentation and moving to hiera based…
… params loading
- Loading branch information
1 parent
689458a
commit 5dd81e7
Showing
24 changed files
with
286 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
# This file can be used to install module depdencies for unit testing | ||
# See https://github.com/puppetlabs/puppetlabs_spec_helper#using-fixtures for details | ||
--- | ||
fixtures: | ||
forge_modules: | ||
archive: 'puppet/archive' | ||
systemd: 'camptocamp/systemd' | ||
stdlib: 'puppetlabs/stdlib' | ||
repositories: | ||
stdlib: "https://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
systemd: "https://github.com/camptocamp/puppet-systemd.git" | ||
wget: "https://github.com/maestrodev/puppet-wget.git" | ||
symlinks: | ||
"mailhog": "#{source_dir}" | ||
facts: 'https://github.com/puppetlabs/puppetlabs-facts.git' | ||
puppet_agent: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git' | ||
provision: 'https://github.com/puppetlabs/provision.git' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"jpogran.puppet-vscode", | ||
"puppet.puppet-vscode", | ||
"rebornix.Ruby" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# Reference | ||
|
||
<!-- DO NOT EDIT: This document was generated by Puppet Strings --> | ||
|
||
## Table of Contents | ||
|
||
### Classes | ||
|
||
#### Public Classes | ||
|
||
* [`mailhog`](#mailhog): Class to install and configure mailhog. Use this module to install and configure mailhog. | ||
|
||
#### Private Classes | ||
|
||
* `mailhog::config`: Class to configure mailhog. | ||
* `mailhog::install`: Class to install mailhog. | ||
* `mailhog::service`: Class to manage the mailhog service. | ||
|
||
## Classes | ||
|
||
### `mailhog` | ||
|
||
Class to install and configure mailhog. | ||
|
||
Use this module to install and configure mailhog. | ||
|
||
#### Examples | ||
|
||
##### Declaring the class | ||
|
||
```puppet | ||
class { '::mailhog': | ||
install_method => 'archive', | ||
archive_source => 'https://github.com/mailhog/MailHog/releases/download/v1.0.1/MailHog_linux_amd64', | ||
} | ||
``` | ||
|
||
#### Parameters | ||
|
||
The following parameters are available in the `mailhog` class. | ||
|
||
##### `config` | ||
|
||
Data type: `String[1]` | ||
|
||
Mailhog config. | ||
|
||
##### `config_file` | ||
|
||
Data type: `Stdlib::Absolutepath` | ||
|
||
Mailhog config file. | ||
|
||
##### `install_dir` | ||
|
||
Data type: `Stdlib::Absolutepath` | ||
|
||
Location of mailhog binary release. | ||
|
||
##### `install_method` | ||
|
||
Data type: `Enum['package','archive']` | ||
|
||
How to install mailhog. | ||
|
||
##### `manage_service` | ||
|
||
Data type: `Boolean` | ||
|
||
Manage the mailhog service. | ||
|
||
##### `package_name` | ||
|
||
Data type: `String[1]` | ||
|
||
Name of package to install. | ||
|
||
##### `package_version` | ||
|
||
Data type: `String[1]` | ||
|
||
Version of mailhog to install. | ||
|
||
##### `service_name` | ||
|
||
Data type: `String[1]` | ||
|
||
Name of service to manage. | ||
|
||
##### `service_provider` | ||
|
||
Data type: `String[1]` | ||
|
||
Init system that is used. | ||
|
||
##### `service_ensure` | ||
|
||
Data type: `Enum['running','stopped']` | ||
|
||
The state of the service. | ||
|
||
##### `archive_source` | ||
|
||
Data type: `Optional[Stdlib::HTTPUrl]` | ||
|
||
Location of mailhog binary release. | ||
|
||
Default value: ``undef`` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
--- | ||
mailhog::config: '-ui-bind-addr=127.0.0.1:8025 -api-bind-addr=127.0.0.1:8025' | ||
mailhog::install_dir: '/usr/bin' | ||
mailhog::install_method: 'package' | ||
mailhog::manage_service: true | ||
mailhog::manage_user: true | ||
mailhog::package_name: 'mailhog' | ||
mailhog::package_version: 'present' | ||
mailhog::service_name: 'mailhog' | ||
mailhog::service_ensure: 'running' | ||
mailhog::service_provider: 'systemd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
mailhog::config_file: '/etc/default/mailhog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
mailhog::config_file: '/etc/sysconfig/mailhog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.