OP#647 initial commit after fork

This commit is contained in:
2026-07-21 13:25:48 +02:00
parent fd638a276f
commit a1d70fb4ab
12 changed files with 128 additions and 87 deletions

View File

@@ -1,8 +1,8 @@
## alloy_cd::params.pp
# Module name: alloy_cd
# Author: Arne Teuke (arne_teuke@confdroid.com)
# @param [String] reqpackages which packages to install
# @param [String] pkg_ensure 'latest' or 'present'
## confdroid_alloy::params.pp
# Module name: confdroid_alloy
# Author: 12ww1160 (12ww1160@confdroid.com)
# @param [String] ay_reqpackages which packages to install
# @param [String] ay_pkg_ensure 'latest' or 'present'
# @param [String] ay_loki_url the url where alloy will send logs to.
# @param [String] ay_loki_username the username to logon to loki
# @param [String] ay_loki_userpass the password to logon to loki
@@ -12,15 +12,15 @@
# the node exporter (external)
# @param [String] ay_prom_url the url where alloy will send metrics
# @param [Array] ay_log_targets the logging targets
# @summary Class contains all parameters for the alloy_cd module.
# @summary Class contains all parameters for the confdroid_alloy module.
##############################################################################
class alloy_cd::params (
class confdroid_alloy::params (
String $reqpackages = 'alloy',
String $pkg_ensure = 'latest',
String $ay_reqpackages = 'alloy',
String $ay_pkg_ensure = 'latest',
# loki
Boolean $ay_manage_loki = true,
Boolean $ay_manage_loki = true,
String $ay_loki_url = 'https://loki.example.net/loki/api/v1/push',
String $ay_loki_username = 'loki_user',
String $ay_loki_userpass = 'loki_pass',
@@ -44,5 +44,5 @@ class alloy_cd::params (
$ay_main_file = "${ay_main_dir}/config.alloy"
# includes must be last
include alloy_cd::main::config
include confdroid_alloy::main::config
}