Revision 3f5238c6
Added by Dominic Cleal over 7 years ago
manifests/compute/foreman_compute.pp | ||
---|---|---|
# === Parameters:
|
||
#
|
||
# $version:: Package version to install, defaults to installed
|
||
# type:String
|
||
# type:Optional[String]
|
||
#
|
||
class foreman::compute::foreman_compute ( $version = 'installed' ) {
|
||
package { 'foreman-compute':
|
Also available in: Unified diff
Allow undef for foreman::compute::*::version parameters (#507)
When set to undef, the default "installed" value will be used anyway.
This works around Kafo issue #6158 where string defaults on parameters
are ignored and stored as undef/nil.