Skip to content

Commit

Permalink
syslog: Use lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox committed Oct 28, 2020
1 parent 02a9300 commit b002424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/base/manifests/syslog.pp
@@ -1,6 +1,6 @@
# class base::syslog
class base::syslog (
String $syslog_daemon = 'rsyslog',
String $syslog_daemon = lookup('base::syslog::syslog_daemon', {'default_value' => 'rsyslog'}),
) {
if $syslog_daemon == 'rsyslog' {
include ::rsyslog
Expand Down

0 comments on commit b002424

Please sign in to comment.