File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 42
42
# ['localconfig'] - Where puppet agent caches the local configuration. An extension indicating the cache format is added automatically.
43
43
# ['rundir'] - Where Puppet PID files are kept.
44
44
# ['puppet_ssldir'] - Puppet sll directory
45
+ # ['ca_server'] - The server to use for certificate authority requests
46
+ # ['ca_port'] - The port to use for the certificate authority
45
47
#
46
48
# Actions:
47
49
# - Install and configures the puppet agent
108
110
$serialization_package = undef ,
109
111
$localconfig = undef ,
110
112
$puppet_ssldir = $::puppet::params::puppet_ssldir,
113
+ $ca_server = undef ,
114
+ $ca_port = undef ,
111
115
) inherits puppet::params {
112
116
113
117
if ! defined (User[$::puppet::params::puppet_user ]) {
292
296
value => $puppet_ssldir ,
293
297
}
294
298
}
295
-
299
+
296
300
# rundir has no default and must be provided.
297
301
ini_setting {'puppetagentrundir' :
298
302
ensure => present ,
379
383
setting => ' digest_algorithm' ,
380
384
value => $digest_algorithm ,
381
385
}
386
+ ini_setting {'puppetagentca_server' :
387
+ setting => ' ca_server' ,
388
+ value => $ca_server ,
389
+ }
390
+ ini_setting {'puppetagentca_port' :
391
+ setting => ' ca_port' ,
392
+ value => $ca_port ,
393
+ }
382
394
if ($templatedir != undef ) and ($templatedir != ' undef' )
383
395
{
384
396
ini_setting {'puppetagenttemplatedir' :
You can’t perform that action at this time.
0 commit comments