add package to install - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -14,5 +14,10 @@ class puppet_cd::main::install (
|
|||||||
package { $pt_server_pkg:
|
package { $pt_server_pkg:
|
||||||
ensure => $pt_pkg_ensure,
|
ensure => $pt_pkg_ensure,
|
||||||
}
|
}
|
||||||
|
if $pt_use_puppetdb == true {
|
||||||
|
package { $pt_puppetdb_pkg:
|
||||||
|
ensure => $pt_pkg_ensure,
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
# @param [String] pt_pkg_ensure valid: "present", "latest", "v1.2.3"
|
# @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_agent_pkg the packages for agents to install
|
||||||
# @param [String] pt_server_pkg the server packages 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 [Array] pt_r10k_pkg the packages for r10k to install
|
||||||
# @param [String] pt_user the puppet user
|
# @param [String] pt_user the puppet user
|
||||||
# @param [String] pt_user_comment the user comment
|
# @param [String] pt_user_comment the user comment
|
||||||
@@ -65,6 +66,7 @@ class puppet_cd::params (
|
|||||||
String $pt_pkg_ensure = 'present',
|
String $pt_pkg_ensure = 'present',
|
||||||
String $pt_agent_pkg = 'puppet-agent',
|
String $pt_agent_pkg = 'puppet-agent',
|
||||||
String $pt_server_pkg = 'puppetserver',
|
String $pt_server_pkg = 'puppetserver',
|
||||||
|
String $pt_puppetdb_pkg = 'puppetdb-termini',
|
||||||
Array $pt_r10k_pkg = ['ruby','ruby-devel','rubygems','gcc','make'],
|
Array $pt_r10k_pkg = ['ruby','ruby-devel','rubygems','gcc','make'],
|
||||||
Array $pt_r10k_webhook_pkg = ['webrick', 'r10k_gitlab_webhook'],
|
Array $pt_r10k_webhook_pkg = ['webrick', 'r10k_gitlab_webhook'],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user