mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 19:05:01 +01:00
commit
fd70af1b0b
7 changed files with 52 additions and 31 deletions
|
@ -1,3 +1 @@
|
||||||
--fail-on-warnings
|
--fail-on-warnings
|
||||||
--no-parameter_documentation-check
|
|
||||||
--no-parameter_types-check
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
Gemfile:
|
.puppet-lint.rc:
|
||||||
optional:
|
enabled_lint_checks:
|
||||||
':test':
|
- parameter_documentation
|
||||||
- gem: puppet-lint-param-docs
|
- parameter_types
|
||||||
|
|
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
||||||
Each new release typically also includes the latest modulesync defaults.
|
Each new release typically also includes the latest modulesync defaults.
|
||||||
These should not affect the functionality of the module.
|
These should not affect the functionality of the module.
|
||||||
|
|
||||||
|
## [v2.2.0](https://github.com/voxpupuli/puppet-hashi_stack/tree/v2.2.0) (2023-01-27)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/voxpupuli/puppet-hashi_stack/compare/v2.1.0...v2.2.0)
|
||||||
|
|
||||||
|
**Implemented enhancements:**
|
||||||
|
|
||||||
|
- add toggle for enabling yum repo [\#21](https://github.com/voxpupuli/puppet-hashi_stack/pull/21) ([wimkorevaar](https://github.com/wimkorevaar))
|
||||||
|
|
||||||
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- use new gpg key [\#22](https://github.com/voxpupuli/puppet-hashi_stack/pull/22) ([BDelacour](https://github.com/BDelacour))
|
||||||
|
|
||||||
## [v2.1.0](https://github.com/voxpupuli/puppet-hashi_stack/tree/v2.1.0) (2022-08-28)
|
## [v2.1.0](https://github.com/voxpupuli/puppet-hashi_stack/tree/v2.1.0) (2022-08-28)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/voxpupuli/puppet-hashi_stack/compare/v2.0.1...v2.1.0)
|
[Full Changelog](https://github.com/voxpupuli/puppet-hashi_stack/compare/v2.0.1...v2.1.0)
|
||||||
|
|
9
Gemfile
9
Gemfile
|
@ -4,11 +4,10 @@
|
||||||
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem 'voxpupuli-test', '~> 5.4', :require => false
|
gem 'voxpupuli-test', '~> 5.4', :require => false
|
||||||
gem 'coveralls', :require => false
|
gem 'coveralls', :require => false
|
||||||
gem 'simplecov-console', :require => false
|
gem 'simplecov-console', :require => false
|
||||||
gem 'puppet_metadata', '~> 2.0', :require => false
|
gem 'puppet_metadata', '~> 2.0', :require => false
|
||||||
gem 'puppet-lint-param-docs', :require => false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
|
|
47
REFERENCE.md
47
REFERENCE.md
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
### Classes
|
### Classes
|
||||||
|
|
||||||
* [`hashi_stack::repo`](#hashi_stackrepo): Set up the package repository for the HashiCorp Stack components
|
* [`hashi_stack::repo`](#hashi_stack--repo): Set up the package repository for the HashiCorp Stack components
|
||||||
|
|
||||||
## Classes
|
## Classes
|
||||||
|
|
||||||
### <a name="hashi_stackrepo"></a>`hashi_stack::repo`
|
### <a name="hashi_stack--repo"></a>`hashi_stack::repo`
|
||||||
|
|
||||||
This class installs the hashicorp repository
|
This class installs the hashicorp repository
|
||||||
|
|
||||||
|
@ -36,23 +36,24 @@ package { 'packer':
|
||||||
|
|
||||||
The following parameters are available in the `hashi_stack::repo` class:
|
The following parameters are available in the `hashi_stack::repo` class:
|
||||||
|
|
||||||
* [`priority`](#priority)
|
* [`priority`](#-hashi_stack--repo--priority)
|
||||||
* [`proxy`](#proxy)
|
* [`proxy`](#-hashi_stack--repo--proxy)
|
||||||
* [`key_id`](#key_id)
|
* [`key_id`](#-hashi_stack--repo--key_id)
|
||||||
* [`key_source`](#key_source)
|
* [`key_source`](#-hashi_stack--repo--key_source)
|
||||||
* [`description`](#description)
|
* [`description`](#-hashi_stack--repo--description)
|
||||||
* [`rpm_base`](#rpm_base)
|
* [`rpm_base`](#-hashi_stack--repo--rpm_base)
|
||||||
* [`repo_gpgcheck`](#repo_gpgcheck)
|
* [`repo_gpgcheck`](#-hashi_stack--repo--repo_gpgcheck)
|
||||||
|
* [`repo_enabled`](#-hashi_stack--repo--repo_enabled)
|
||||||
|
|
||||||
##### <a name="priority"></a>`priority`
|
##### <a name="-hashi_stack--repo--priority"></a>`priority`
|
||||||
|
|
||||||
Data type: `Optional[Integer]`
|
Data type: `Optional[Integer]`
|
||||||
|
|
||||||
A numeric priority for the repo, passed to the package management system
|
A numeric priority for the repo, passed to the package management system
|
||||||
|
|
||||||
Default value: ``undef``
|
Default value: `undef`
|
||||||
|
|
||||||
##### <a name="proxy"></a>`proxy`
|
##### <a name="-hashi_stack--repo--proxy"></a>`proxy`
|
||||||
|
|
||||||
Data type: `String`
|
Data type: `String`
|
||||||
|
|
||||||
|
@ -60,15 +61,15 @@ The URL of a HTTP proxy to use for package downloads (YUM only)
|
||||||
|
|
||||||
Default value: `'absent'`
|
Default value: `'absent'`
|
||||||
|
|
||||||
##### <a name="key_id"></a>`key_id`
|
##### <a name="-hashi_stack--repo--key_id"></a>`key_id`
|
||||||
|
|
||||||
Data type: `String`
|
Data type: `String`
|
||||||
|
|
||||||
GPG key to authenticate Apt package signatures.
|
GPG key to authenticate Apt package signatures.
|
||||||
|
|
||||||
Default value: `'E8A032E094D8EB4EA189D270DA418C88A3219F7B'`
|
Default value: `'798AEC654E5C15428C8E42EEAA16FCBCA621E701'`
|
||||||
|
|
||||||
##### <a name="key_source"></a>`key_source`
|
##### <a name="-hashi_stack--repo--key_source"></a>`key_source`
|
||||||
|
|
||||||
Data type: `Stdlib::HTTPSUrl`
|
Data type: `Stdlib::HTTPSUrl`
|
||||||
|
|
||||||
|
@ -76,7 +77,7 @@ The location of an existing GPG key file to copy.
|
||||||
|
|
||||||
Default value: `'https://apt.releases.hashicorp.com/gpg'`
|
Default value: `'https://apt.releases.hashicorp.com/gpg'`
|
||||||
|
|
||||||
##### <a name="description"></a>`description`
|
##### <a name="-hashi_stack--repo--description"></a>`description`
|
||||||
|
|
||||||
Data type: `String`
|
Data type: `String`
|
||||||
|
|
||||||
|
@ -84,7 +85,7 @@ Repository description
|
||||||
|
|
||||||
Default value: `'HashiCorp package repository.'`
|
Default value: `'HashiCorp package repository.'`
|
||||||
|
|
||||||
##### <a name="rpm_base"></a>`rpm_base`
|
##### <a name="-hashi_stack--repo--rpm_base"></a>`rpm_base`
|
||||||
|
|
||||||
Data type: `String`
|
Data type: `String`
|
||||||
|
|
||||||
|
@ -92,11 +93,19 @@ Base URL for the Yum repository
|
||||||
|
|
||||||
Default value: `'https://rpm.releases.hashicorp.com'`
|
Default value: `'https://rpm.releases.hashicorp.com'`
|
||||||
|
|
||||||
##### <a name="repo_gpgcheck"></a>`repo_gpgcheck`
|
##### <a name="-hashi_stack--repo--repo_gpgcheck"></a>`repo_gpgcheck`
|
||||||
|
|
||||||
Data type: `Integer[0,1]`
|
Data type: `Integer[0,1]`
|
||||||
|
|
||||||
|
enables gpg validation of packages from the repo
|
||||||
|
|
||||||
Default value: `0`
|
Default value: `0`
|
||||||
|
|
||||||
|
##### <a name="-hashi_stack--repo--repo_enabled"></a>`repo_enabled`
|
||||||
|
|
||||||
|
Data type: `Integer[0,1]`
|
||||||
|
|
||||||
|
enables/disables the repository
|
||||||
|
|
||||||
|
Default value: `1`
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,9 @@
|
||||||
# @param key_source The location of an existing GPG key file to copy.
|
# @param key_source The location of an existing GPG key file to copy.
|
||||||
# @param description Repository description
|
# @param description Repository description
|
||||||
# @param rpm_base Base URL for the Yum repository
|
# @param rpm_base Base URL for the Yum repository
|
||||||
|
# @param repo_gpgcheck enables gpg validation of packages from the repo
|
||||||
|
# @param repo_enabled enables/disables the repository
|
||||||
|
#
|
||||||
class hashi_stack::repo (
|
class hashi_stack::repo (
|
||||||
Optional[Integer] $priority = undef,
|
Optional[Integer] $priority = undef,
|
||||||
String $proxy = 'absent',
|
String $proxy = 'absent',
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "puppet-hashi_stack",
|
"name": "puppet-hashi_stack",
|
||||||
"version": "2.1.1-rc0",
|
"version": "2.2.0",
|
||||||
"author": "Vox Pupuli",
|
"author": "Vox Pupuli",
|
||||||
"summary": "This module contains shared code for various HashiCorp modules",
|
"summary": "This module contains shared code for various HashiCorp modules",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue