Skip to content

Commit b39cef4

Browse files
committed
templatedir is deprecated, so do not add by default.
1 parent 9a3863e commit b39cef4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/agent.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
$use_srv_records = false,
5858
$srv_domain = undef,
5959
$ordering = undef,
60-
$templatedir = '$confdir/templates',
60+
$templatedir = undef,
6161
$trusted_node_data = undef,
6262
$listen = false,
6363
$reportserver = '$server',

spec/classes/puppet_agent_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@
465465
:puppet_run_interval => 30,
466466
:puppet_server_port => 8140,
467467
:use_srv_records => false,
468+
:templatedir => '$confdir/templates'
468469
}
469470
end
470471

@@ -491,8 +492,7 @@
491492
:environment => 'production',
492493
:puppet_run_interval => 30,
493494
:puppet_server_port => 8140,
494-
:use_srv_records => false,
495-
:templatedir => 'undef'
495+
:use_srv_records => false
496496
}
497497
end
498498

0 commit comments

Comments
 (0)