add configuration and service
This commit is contained in:
@@ -1,22 +1,32 @@
|
||||
## cd_alloy::params.pp
|
||||
# Module name: cd_alloy
|
||||
# Author: Arne Teuke (arne_teuke@confdroid.com)
|
||||
# @param [string] reqpackages which packages to install
|
||||
# @param [string] pkg_ensure 'latest' or 'present'
|
||||
# @param [string] reqpackages which packages to install
|
||||
# @param [string] pkg_ensure 'latest' or 'present'
|
||||
# @param [string] ay_loki_username the username to logon to loki
|
||||
# @param [string] ay_loki_userpass the password to logon to loki
|
||||
# @summary Class contains all parameters for the cd_alloy module.
|
||||
##############################################################################
|
||||
class cd_alloy::params (
|
||||
|
||||
$reqpackages = 'alloy',
|
||||
$pkg_ensure = 'latest',
|
||||
$reqpackages = 'alloy',
|
||||
$pkg_ensure = 'latest',
|
||||
|
||||
# loki
|
||||
$ay_loki_url = 'https://loki.example.net/loki/api/v1/push'
|
||||
$ay_loki_username = '',
|
||||
$ay_loki_userpass = '',
|
||||
|
||||
) {
|
||||
|
||||
# service
|
||||
$ay_service = 'alloy'
|
||||
$ay_service = 'alloy'
|
||||
|
||||
# dirs
|
||||
$ay_main_dir = '/etc/alloy'
|
||||
$ay_main_dir = '/etc/alloy'
|
||||
|
||||
# files
|
||||
$ay_main_file = "$(ay_main_dir)/config.alloy"
|
||||
|
||||
|
||||
# includes must be last
|
||||
|
||||
Reference in New Issue
Block a user