Skip to content

Commit c475a94

Browse files
author
Stephen
committed
Merge branch 'pythianjoseph-master'
2 parents 3fbee5a + d9577a5 commit c475a94

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

manifests/agent.pp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# ['ordering'] - The way the agent processes resources. New feature in puppet 3.3.0
2222
# ['trusted_node_data'] - Enable the trusted facts hash
2323
# ['listen'] - If puppet agent should listen for connections
24+
# ['reportserver'] - The server to send transaction reports to.
2425
#
2526
# Actions:
2627
# - Install and configures the puppet agent
@@ -54,6 +55,7 @@
5455
$ordering = undef,
5556
$trusted_node_data = undef,
5657
$listen = false,
58+
$reportserver = undef,
5759
) inherits puppet::params {
5860

5961
if ! defined(User[$::puppet::params::puppet_user]) {
@@ -265,4 +267,9 @@
265267
setting => 'listen',
266268
value => $listen,
267269
}
270+
ini_setting {'puppetagentreportserver':
271+
ensure => present,
272+
setting => 'reportserver',
273+
value => $reportserver,
274+
}
268275
}

0 commit comments

Comments
 (0)