Skip to content

Commit a03a0cb

Browse files
Add missing serialization package paramaeter to master class
1 parent 6df4fbe commit a03a0cb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

manifests/master.pp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
# ['strict_variables'] - Makes the parser raise errors when referencing unknown variables
3737
# ['always_cache_features'] - if false (default), always try to load a feature even if a previous load failed
3838
# ['serialization_format'] - defaults to undef, otherwise it sets the preferred_serialization_format param (currently only msgpack is supported)
39+
# ['serialization_package'] - defaults to undef, if provided, we install this package, otherwise we fall back to the gem from 'serialization_format'
3940
#
4041
# Requires:
4142
#
@@ -97,7 +98,8 @@
9798
$passenger_high_performance = true,
9899
$passenger_max_requests = 10000,
99100
$passenger_stat_throttle_rate = 30,
100-
$serialization_format = undef,
101+
$serialization_format = undef,
102+
$serialization_package = undef,
101103
) inherits puppet::params {
102104

103105
anchor { 'puppet::master::begin': }
@@ -364,9 +366,9 @@
364366
}
365367
unless defined(Package['msgpack']) {
366368
package {'msgpack':
367-
ensure => 'latest',
369+
ensure => 'latest',
368370
provider => 'gem',
369-
require => Package[$::puppet::params::ruby_dev, 'gcc'],
371+
require => Package[$::puppet::params::ruby_dev, 'gcc'],
370372
}
371373
}
372374
}

0 commit comments

Comments
 (0)