File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 22
22
# ['trusted_node_data'] - Enable the trusted facts hash
23
23
# ['listen'] - If puppet agent should listen for connections
24
24
# ['reportserver'] - The server to send transaction reports to.
25
+ # ['digest_algorithm'] - The algorithm to use for file digests.
25
26
#
26
27
# Actions:
27
28
# - Install and configures the puppet agent
56
57
$trusted_node_data = undef ,
57
58
$listen = false ,
58
59
$reportserver = ' $server' ,
60
+ $digest_algorithm = $::puppet::params::digest_algorithm,
59
61
) inherits puppet::params {
60
62
61
63
if ! defined (User[$::puppet::params::puppet_user ]) {
272
274
setting => ' reportserver' ,
273
275
value => $reportserver ,
274
276
}
277
+ ini_setting {'puppetagentdigestalgorithm' :
278
+ ensure => present ,
279
+ setting => ' digest_algorithm' ,
280
+ value => $digest_algorithm ,
281
+ }
275
282
}
Original file line number Diff line number Diff line change 29
29
# ['parser'] - Which parser to use
30
30
# ['puppetdb_startup_timeout'] - The timeout for puppetdb
31
31
# ['dns_alt_names'] - Comma separated list of alternative DNS names
32
+ # ['digest_algorithm'] - The algorithm to use for file digests.
32
33
#
33
34
# Requires:
34
35
#
77
78
$puppetdb_startup_timeout = ' 60' ,
78
79
$puppetdb_strict_validation = $::puppet::params::puppetdb_strict_validation,
79
80
$dns_alt_names = [' puppet' ],
81
+ $digest_algorithm = $::puppet::params::digest_algorithm,
80
82
) inherits puppet::params {
81
83
82
84
anchor { 'puppet::master::begin' : }
273
275
value => join($dns_alt_names , " ," ),
274
276
}
275
277
278
+ ini_setting {'puppetmasterdigestalgorithm' :
279
+ ensure => present ,
280
+ setting => ' digest_algorithm' ,
281
+ value => $digest_algorithm ,
282
+ }
283
+
276
284
anchor { 'puppet::master::end' : }
277
285
}
Original file line number Diff line number Diff line change 30
30
$parser = ' current'
31
31
$puppetdb_strict_validation = true
32
32
$environments = ' config'
33
+ $digest_algorithm = ' md5'
33
34
34
35
# Only used when environments == directory
35
36
$environmentpath = ' $confdir/environments'
You can’t perform that action at this time.
0 commit comments