Skip to content

Commit 2127e49

Browse files
Reordering class arguments to clarify which are daemon options, and which are module options
1 parent db9919e commit 2127e49

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

manifests/agent.pp

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,29 @@
4242
# }
4343
#
4444
class puppet::agent(
45-
$puppet_server = $::puppet::params::puppet_server,
46-
$puppet_server_port = $::puppet::params::puppet_server_port,
4745
$puppet_agent_service = $::puppet::params::puppet_agent_service,
4846
$puppet_agent_package = $::puppet::params::puppet_agent_package,
4947
$version = 'present',
5048
$puppet_run_style = 'service',
51-
$puppet_run_interval = 30,
5249
$puppet_run_command = '/usr/bin/puppet agent --no-daemonize --onetime --logdest syslog > /dev/null 2>&1',
5350
$user_id = undef,
5451
$group_id = undef,
55-
$splay = false,
56-
$environment = 'production',
57-
$report = true,
58-
$pluginsync = true,
59-
$use_srv_records = false,
52+
53+
#[main]
54+
$templatedir = undef,
55+
56+
#[agent]
6057
$srv_domain = undef,
6158
$ordering = undef,
62-
$templatedir = undef,
6359
$trusted_node_data = undef,
60+
$environment = 'production',
61+
$puppet_server = $::puppet::params::puppet_server,
62+
$use_srv_records = false,
63+
$puppet_run_interval = 30,
64+
$splay = false,
65+
$puppet_server_port = $::puppet::params::puppet_server_port,
66+
$report = true,
67+
$pluginsync = true,
6468
$listen = false,
6569
$reportserver = '$server',
6670
$digest_algorithm = $::puppet::params::digest_algorithm,

0 commit comments

Comments
 (0)