Skip to content

Commit 05f1a6a

Browse files
Add syslogfacility to puppet agent options
1 parent 4adefdc commit 05f1a6a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

manifests/agent.pp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
#[main]
5454
$templatedir = undef,
55+
$syslogfacility = undef,
5556

5657
#[agent]
5758
$srv_domain = undef,
@@ -349,4 +350,12 @@
349350
value => $usecacheonfailure,
350351
}
351352
}
353+
if $syslogfacility != undef {
354+
ini_setting {'puppetagentsyslogfacility':
355+
ensure => present,
356+
setting => 'syslogfacility',
357+
value => $syslogfacility,
358+
section => 'main',
359+
}
360+
}
352361
}

0 commit comments

Comments
 (0)