diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-06 14:23:10 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-09 18:06:59 +0100 |
commit | df7b46a7a58234e1b04cf362ad45d46a0a9b4d4f (patch) | |
tree | 49c55569721d0ce498cf27668cf798a7dfad37bc /manifests/logging.pp | |
parent | Profile letsencrypt stop depending on hiera. (diff) | |
download | profiles-df7b46a7a58234e1b04cf362ad45d46a0a9b4d4f.tar.gz profiles-df7b46a7a58234e1b04cf362ad45d46a0a9b4d4f.tar.xz |
Parameterize logging.
Diffstat (limited to 'manifests/logging.pp')
-rw-r--r-- | manifests/logging.pp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/logging.pp b/manifests/logging.pp index 50ec5ab..e4c3183 100644 --- a/manifests/logging.pp +++ b/manifests/logging.pp @@ -1,4 +1,7 @@ -class profiles::logging { +# Send system log to logserver +class profiles::logging ( + String $logserver, +) { # arch # ensure_packages(['syslog-ng']) @@ -10,7 +13,7 @@ class profiles::logging { } file { '/etc/rsyslog.d/graylog.conf': - content => "*.* @mithlond.adrift.space\n", + content => "*.* @${logserver}\n", } } |