Skip to content

Commit 150a41a

Browse files
author
josh keife
committed
added puppet agent option "ordering".
1 parent 51e0716 commit 150a41a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

manifests/agent.pp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# ['pluginsync'] - Whethere to have pluginsync
1919
# ['use_srv_records'] - Whethere to use srv records
2020
# ['srv_domain'] - Domain to request the srv records
21+
# ['ordering'] - The way the agent processes resources. New feature in puppet 3.3.0
2122
#
2223
# Actions:
2324
# - Install and configures the puppet agent
@@ -47,7 +48,8 @@
4748
$report = true,
4849
$pluginsync = true,
4950
$use_srv_records = false,
50-
$srv_domain = undef
51+
$srv_domain = undef,
52+
$ordering = undef
5153
) inherits puppet::params {
5254

5355
if ! defined(User[$::puppet::params::puppet_user]) {
@@ -186,6 +188,15 @@
186188
}
187189
}
188190

191+
if $ordering
192+
{
193+
ini_setting {'puppetagentordering':
194+
ensure => present,
195+
setting => 'ordering',
196+
value => $ordering,
197+
}
198+
}
199+
189200
ini_setting {'puppetagentenvironment':
190201
ensure => present,
191202
setting => 'environment',

0 commit comments

Comments
 (0)