Skip to content
Snippets Groups Projects
Verified Commit 3c64c3bb authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more syslog logsink_server changes

parent bcc2e691
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,10 @@
# is still installed, but it is ignored. The goal is to drop the file
# at some point.
class base::syslog {
class base::syslog(
$use_logsink_server = true,
)
{
# Ubuntu uses a separate account for syslog
if ( $::operatingsystem == 'Ubuntu' ) {
......@@ -54,9 +57,10 @@ class base::syslog {
hasstatus => true,
}
base::syslog::config::rsyslog { '/etc/rsyslog.conf':
ensure => present,
owner => $syslog_owner,
group => $syslog_group,
ensure => present,
owner => $syslog_owner,
group => $syslog_group,
use_logsink_server => $use_logsink_server,
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment