mirror of
https://github.com/voxpupuli/puppet-hashi_stack.git
synced 2025-05-24 10:55:00 +01:00
add toggle for enabling yum repo
This commit is contained in:
parent
e1ddfd95e2
commit
283f474dd1
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ class hashi_stack::repo (
|
|||
String $description = 'HashiCorp package repository.',
|
||||
String $rpm_base = 'https://rpm.releases.hashicorp.com',
|
||||
Integer[0,1] $repo_gpgcheck = 0,
|
||||
Integer[0,1] $repo_enabled = 1,
|
||||
) {
|
||||
case $facts['os']['family'] {
|
||||
'Debian': {
|
||||
|
@ -55,7 +56,7 @@ class hashi_stack::repo (
|
|||
gpgcheck => 1,
|
||||
gpgkey => $key_source,
|
||||
repo_gpgcheck => $repo_gpgcheck,
|
||||
enabled => 1,
|
||||
enabled => $repo_enabled,
|
||||
proxy => $proxy,
|
||||
priority => $priority,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue