3
0
This commit is contained in:
Arne Teuke
2025-10-28 01:40:46 +01:00
parent b82bab9128
commit 063c5757af
2 changed files with 7 additions and 0 deletions

View File

@@ -14,5 +14,10 @@ class puppet_cd::main::install (
package { $pt_server_pkg:
ensure => $pt_pkg_ensure,
}
if $pt_use_puppetdb == true {
package { $pt_puppetdb_pkg:
ensure => $pt_pkg_ensure,
}
}
}
}

View File

@@ -10,6 +10,7 @@
# @param [String] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
# @param [String] pt_agent_pkg the packages for agents to install
# @param [String] pt_server_pkg the server packages to install
# @param [String] pt_server_pkg the puppetdb packages to install
# @param [Array] pt_r10k_pkg the packages for r10k to install
# @param [String] pt_user the puppet user
# @param [String] pt_user_comment the user comment
@@ -65,6 +66,7 @@ class puppet_cd::params (
String $pt_pkg_ensure = 'present',
String $pt_agent_pkg = 'puppet-agent',
String $pt_server_pkg = 'puppetserver',
String $pt_puppetdb_pkg = 'puppetdb-termini',
Array $pt_r10k_pkg = ['ruby','ruby-devel','rubygems','gcc','make'],
Array $pt_r10k_webhook_pkg = ['webrick', 'r10k_gitlab_webhook'],