From e2c4403674335f67766c749d1143b3ec33ed8a91 Mon Sep 17 00:00:00 2001 From: Jenkins ConfDroid Date: Mon, 24 Feb 2025 13:37:48 +0100 Subject: [PATCH] recommit for updates in build 30 --- doc/_index.html | 5 ++ doc/puppet_class_list.html | 7 ++ .../cd_alloy_3A_3Amain_3A_3Aconfig.html | 2 +- .../cd_alloy_3A_3Amain_3A_3Adirs.html | 2 +- .../cd_alloy_3A_3Amain_3A_3Afiles.html | 2 +- .../cd_alloy_3A_3Amain_3A_3Ainstall.html | 2 +- .../cd_alloy_3A_3Amain_3A_3Aservice.html | 2 +- .../cd_alloy_3A_3Amain_3A_3Ayumrepo.html | 2 +- doc/puppet_classes/cd_alloy_3A_3Aparams.html | 88 +++++++++++++++++-- 9 files changed, 97 insertions(+), 15 deletions(-) diff --git a/doc/_index.html b/doc/_index.html index 94053b5..1b1e69f 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -103,6 +103,11 @@ +
  • + cd_alloy::params + +
  • + diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html index 23b547a..715bd01 100644 --- a/doc/puppet_class_list.html +++ b/doc/puppet_class_list.html @@ -85,6 +85,13 @@ +
  • + +
  • + + diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aconfig.html index 2aa8349..7ced012 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aconfig.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aconfig.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Adirs.html index 37f0191..079c7c2 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Adirs.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Afiles.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Afiles.html index c0f8a5b..d16d6c7 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Afiles.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Afiles.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ainstall.html index 66b77d4..cddb032 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ainstall.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ainstall.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aservice.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aservice.html index 3ef6b33..b677f09 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aservice.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Aservice.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ayumrepo.html b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ayumrepo.html index 98fdfc7..b34b852 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ayumrepo.html +++ b/doc/puppet_classes/cd_alloy_3A_3Amain_3A_3Ayumrepo.html @@ -64,7 +64,7 @@
    Inherits:
    -
    cd_alloy::params
    +
    cd_alloy::params
    diff --git a/doc/puppet_classes/cd_alloy_3A_3Aparams.html b/doc/puppet_classes/cd_alloy_3A_3Aparams.html index fa9251c..811014f 100644 --- a/doc/puppet_classes/cd_alloy_3A_3Aparams.html +++ b/doc/puppet_classes/cd_alloy_3A_3Aparams.html @@ -140,6 +140,60 @@ —

    'latest' or 'present'

    +
    + + + +
  • + + ay_loki_url + + + (string) + + + (defaults to: 'https://loki.example.net/loki/api/v1/push') + + + — +
    +

    the url where alloy will send logs to.

    +
    + +
  • + +
  • + + ay_loki_username + + + (string) + + + (defaults to: '') + + + — +
    +

    the username to logon to loki

    +
    + +
  • + +
  • + + ay_loki_userpass + + + (string) + + + (defaults to: '') + + + — +
    +

    the password to logon to loki

  • @@ -155,9 +209,6 @@
     
     
    -8
    -9
    -10
     11
     12
     13
    @@ -172,23 +223,42 @@
     22
     23
     24
    -25
    +25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 -
    # File 'manifests/params.pp', line 8
    +        
    # File 'manifests/params.pp', line 11
     
     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