summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-31 00:11:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:06:31 +0100
commit09bbf3fc189de44463c511baa9b49019d9f1b079 (patch)
tree143394d7ce9a97cb16e1c82dc9da5119f5bbd3a5
parentSSH implies letsencrypt. (diff)
downloadprofiles-09bbf3fc189de44463c511baa9b49019d9f1b079.tar.gz
profiles-09bbf3fc189de44463c511baa9b49019d9f1b079.tar.xz
Add profiles::logging.
-rw-r--r--manifests/logging.pp16
1 files changed, 16 insertions, 0 deletions
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",
+ }
+
+}