From 09bbf3fc189de44463c511baa9b49019d9f1b079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 31 Jan 2022 00:11:53 +0100 Subject: Add profiles::logging. --- manifests/logging.pp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 manifests/logging.pp (limited to 'manifests/logging.pp') diff --git a/manifests/logging.pp b/manifests/logging.pp new file mode 100644 index 0000000..50ec5ab --- /dev/null +++ b/manifests/logging.pp @@ -0,0 +1,16 @@ +class profiles::logging { + # arch + # ensure_packages(['syslog-ng']) + + # service { 'syslog-ng@default': + # } + + file { '/etc/rsyslog.d': + ensure => directory, + } + + file { '/etc/rsyslog.d/graylog.conf': + content => "*.* @mithlond.adrift.space\n", + } + +} -- cgit v1.2.3