From: Julien Cristau Date: Fri, 15 Mar 2019 10:14:37 +0000 (+0100) Subject: syslog: fix longstanding hostname typo X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b53347e9e707d5631df9daf9ea90107176f1ec9b;p=mirror%2Fdsa-puppet.git syslog: fix longstanding hostname typo Looks like this has been around since d6761ce0180c2b4ac9f90e744fa34416ee68ae48 in 2013. --- diff --git a/modules/syslog_ng/manifests/init.pp b/modules/syslog_ng/manifests/init.pp index 3489fb474..c6d205261 100644 --- a/modules/syslog_ng/manifests/init.pp +++ b/modules/syslog_ng/manifests/init.pp @@ -23,7 +23,7 @@ class syslog_ng { source => 'puppet:///modules/syslog_ng/syslog-ng.logrotate', require => Package['syslog-ng'] } - if $::hostname in [lotty,lully,loghost-grnet-01,loghost-osuosl-01] { + if $::hostname in [lotti,lully,loghost-grnet-01,loghost-osuosl-01] { file { '/etc/logrotate.d/syslog-ng-loggers': source => 'puppet:///modules/syslog_ng/syslog-ng.logrotate.loggers', require => Package['syslog-ng']