We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a028f commit fa05ea5Copy full SHA for fa05ea5
manifests/init.pp
@@ -34,7 +34,7 @@
34
$write_threads = $collectd::params::write_threads,
35
) inherits collectd::params {
36
37
- $collectd_version_real = pick($::collectd_version, $minimum_version)
+ $collectd_version_real = pick_default($facts['collectd_version'], $minimum_version)
38
39
class { '::collectd::install':
40
package_install_options => $package_install_options,
manifests/params.pp
@@ -135,5 +135,5 @@
135
}
136
137
# Override with custom fact value (present only if python is installed)
138
- $python_dir = pick($::python_dir, $default_python_dir)
+ $python_dir = pick($facts['python_dir'], $default_python_dir)
139
0 commit comments