Skip to content

Commit 0217618

Browse files
Add priority option to agent in [main] section
1 parent 900714e commit 0217618

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
@@ -53,6 +53,7 @@
5353
#[main]
5454
$templatedir = undef,
5555
$syslogfacility = undef,
56+
$priority = undef,
5657

5758
#[agent]
5859
$srv_domain = undef,
@@ -366,4 +367,12 @@
366367
value => $certname,
367368
}
368369
}
370+
if $priority != undef {
371+
ini_setting {'puppetagentpriority':
372+
ensure => present,
373+
setting => 'priority',
374+
value => $priority,
375+
section => 'main',
376+
}
377+
}
369378
}

0 commit comments

Comments
 (0)