OP#355 fork puppet_cd to confdroid_puppet
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
## puppet_cd::params.pp
|
||||
# Module name: puppet_cd
|
||||
## confdroid_puppet::params.pp
|
||||
# Module name: confdroid_puppet
|
||||
# Author: Arne Teuke (arne_teuke@confdroid)
|
||||
# @summary Class manages parameters for the puppet_cd module.
|
||||
# @summary Class manages parameters for the confdroid_puppet module.
|
||||
# @param [Boolean] pt_manage_fw whether to manage firewall settings
|
||||
# @param [Boolean] pt_use_puppetdb whether to use puppetdb
|
||||
# @param [String] pt_pm_fqdn the fqdn for the puppetmaster and master
|
||||
@@ -65,7 +65,7 @@
|
||||
# @param [String] pt_pptdb_server_crt placeholder for the server.crt
|
||||
# @param [String] pt_pptdb_server_key placeholder for the server.crt
|
||||
###############################################################################
|
||||
class puppet_cd::params (
|
||||
class confdroid_puppet::params (
|
||||
|
||||
Boolean $pt_manage_fw = true,
|
||||
String $pt_pm_fqdn = 'puppetmaster.example.net',
|
||||
@@ -169,45 +169,45 @@ class puppet_cd::params (
|
||||
# files
|
||||
## puppet
|
||||
$pt_puppet_conf_file = "${pt_puppetdir}/puppet.conf"
|
||||
$pt_puppet_conf_erb = 'puppet_cd/puppet.conf.erb'
|
||||
$pt_puppet_conf_erb = 'confdroid_puppet/puppet.conf.erb'
|
||||
$pt_hiera_config = "${pt_puppetdir}/hiera.yaml"
|
||||
$pt_puppetdb_conf_file = "${pt_puppetdir}/puppetdb.conf"
|
||||
$pt_puppetdb_conf_erb = 'puppet_cd/puppetdb/puppetdb.conf.erb'
|
||||
$pt_puppetdb_conf_erb = 'confdroid_puppet/puppetdb/puppetdb.conf.erb'
|
||||
$pt_routes_file = "${pt_puppetdir}/routes.yaml"
|
||||
$pt_routes_erb = 'puppet_cd/puppetdb/routes.yaml.erb'
|
||||
$pt_routes_erb = 'confdroid_puppet/puppetdb/routes.yaml.erb'
|
||||
$pt_node_rb_file = "${pt_puppetdir}/node.rb"
|
||||
$pt_node_rb_erb = 'puppet_cd/puppetdb/node.rb.erb'
|
||||
$pt_node_rb_erb = 'confdroid_puppet/puppetdb/node.rb.erb'
|
||||
## r10k
|
||||
$pt_r10k_file = "${pt_r10k_dir}/r10k.yaml"
|
||||
$pt_r10k_erb = 'puppet_cd/r10k/r10k.yaml.erb'
|
||||
$pt_r10k_erb = 'confdroid_puppet/r10k/r10k.yaml.erb'
|
||||
$pt_webhook_link = 'ln -sf /usr/local/share/gems/gems/r10k_gitlab_webhook-0.1.3/bin/r10k_gitlab_webhook /usr/bin/'
|
||||
$pt_webhook_service_file = '/etc/systemd/system/r10k_gitlab_webhook.service'
|
||||
$pt_webhook_service_erb = 'puppet_cd/r10k/r10k_webhook_service.erb'
|
||||
$pt_webhook_service_erb = 'confdroid_puppet/r10k/r10k_webhook_service.erb'
|
||||
## puppetdb
|
||||
$pt_bootstrap_conf_file = "${pt_puppetdb_dir}/bootstrap.cfg"
|
||||
$pt_bootstrap_conf_erb = 'puppet_cd/puppetdb/bootstrap.cfg.erb'
|
||||
$pt_bootstrap_conf_erb = 'confdroid_puppet/puppetdb/bootstrap.cfg.erb'
|
||||
$pt_logback_conf_file = "${pt_puppetdb_dir}/logback.xml"
|
||||
$pt_logback_conf_erb = 'puppet_cd/puppetdb/logback.xml.erb'
|
||||
$pt_logback_conf_erb = 'confdroid_puppet/puppetdb/logback.xml.erb'
|
||||
$pt_logging_conf_file = "${pt_puppetdb_dir}/request-logging.xml"
|
||||
$pt_logging_conf_erb = 'puppet_cd/puppetdb/request_logging.xml.erb'
|
||||
$pt_logging_conf_erb = 'confdroid_puppet/puppetdb/request_logging.xml.erb'
|
||||
$pt_auth_conf_file = "${pt_puppetdb_conf_dir}/auth.conf"
|
||||
$pt_auth_conf_erb = 'puppet_cd/puppetdb/auth.conf.erb'
|
||||
$pt_auth_conf_erb = 'confdroid_puppet/puppetdb/auth.conf.erb'
|
||||
$pt_config_ini_file = "${pt_puppetdb_conf_dir}/config.ini"
|
||||
$pt_config_ini_erb = 'puppet_cd/puppetdb/config.ini.erb'
|
||||
$pt_config_ini_erb = 'confdroid_puppet/puppetdb/config.ini.erb'
|
||||
$pt_db_ini_file = "${pt_puppetdb_conf_dir}/database.ini"
|
||||
$pt_db_ini_erb = 'puppet_cd/puppetdb/database.ini.erb'
|
||||
$pt_db_ini_erb = 'confdroid_puppet/puppetdb/database.ini.erb'
|
||||
$pt_jetty_ini_file = "${pt_puppetdb_conf_dir}/jetty.ini"
|
||||
$pt_jetty_ini_erb = 'puppet_cd/puppetdb/jetty.ini.erb'
|
||||
$pt_jetty_ini_erb = 'confdroid_puppet/puppetdb/jetty.ini.erb'
|
||||
$pt_repl_ini_file = "${pt_puppetdb_conf_dir}/repl.ini"
|
||||
$pt_repl_ini_erb = 'puppet_cd/puppetdb/repl.ini.erb'
|
||||
$pt_repl_ini_erb = 'confdroid_puppet/puppetdb/repl.ini.erb'
|
||||
$pt_service_conf_file = '/usr/lib/systemd/system/puppetdb.service'
|
||||
$pt_service_conf_erb = 'puppet_cd/puppetdb/service.conf.erb'
|
||||
$pt_service_conf_erb = 'confdroid_puppet/puppetdb/service.conf.erb'
|
||||
$pt_ca_crt_file = "${pt_pptdb_ssldir}/ca.crt"
|
||||
$pt_ca_crt_erb = 'puppet_cd/puppetdb/ca.crt.erb'
|
||||
$pt_ca_crt_erb = 'confdroid_puppet/puppetdb/ca.crt.erb'
|
||||
$pt_server_crt_file = "${pt_pptdb_ssldir}/server.crt"
|
||||
$pt_server_crt_erb = 'puppet_cd/puppetdb/server.crt.erb'
|
||||
$pt_server_crt_erb = 'confdroid_puppet/puppetdb/server.crt.erb'
|
||||
$pt_server_key_file = "${pt_pptdb_ssldir}/server.key"
|
||||
$pt_server_key_erb = 'puppet_cd/puppetdb/server.key.erb'
|
||||
$pt_server_key_erb = 'confdroid_puppet/puppetdb/server.key.erb'
|
||||
|
||||
# service
|
||||
$pt_server_service = 'puppetserver'
|
||||
@@ -216,5 +216,5 @@ class puppet_cd::params (
|
||||
$pt_db_service = 'puppetdb'
|
||||
#
|
||||
# includes must be last
|
||||
include puppet_cd::main::config
|
||||
include confdroid_puppet::main::config
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user