We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class { "collectd": config_file => $config_file, plugin_conf_dir => $plugin_conf_dir, plugin_conf_dir_mode => "755", purge => true, recurse => true, purge_config => true, minimum_version => '5.7', manage_package => $manage_package, manage_repo => $manage_repo, manage_service => true, service_name => 'maverick-collectd', typesdb => [$typesdb], }
Error: Evaluation Error: Unknown variable: '::collectd_version'. at /srv/maverick/software/maverick/manifests/puppet-modules/collectd/manifests/init.pp:37:33 on node maverick-ubuntu17
puppet is being run as a local standalone process (puppet apply), not as client/server. Worked fine with version 5.3.0 of this module
The text was updated successfully, but these errors were encountered:
The problem occurs when strict_variables are enabled in the puppetmaster configuration: https://puppet.com/docs/puppet/5.2/configuration.html#strictvariables
strict_variables
When the fact is empty when collectd is not installed (that's the case on the first puppet run with this module) it fails.
Sorry, something went wrong.
Hi @fnoop ,
PR #708 merged yesterday. Can you give a try in your environment?
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
class { "collectd":
config_file => $config_file,
plugin_conf_dir => $plugin_conf_dir,
plugin_conf_dir_mode => "755",
purge => true,
recurse => true,
purge_config => true,
minimum_version => '5.7',
manage_package => $manage_package,
manage_repo => $manage_repo,
manage_service => true,
service_name => 'maverick-collectd',
typesdb => [$typesdb],
}
What are you seeing
Error: Evaluation Error: Unknown variable: '::collectd_version'. at /srv/maverick/software/maverick/manifests/puppet-modules/collectd/manifests/init.pp:37:33 on node maverick-ubuntu17
Any additional information you'd like to impart
puppet is being run as a local standalone process (puppet apply), not as client/server. Worked fine with version 5.3.0 of this module
The text was updated successfully, but these errors were encountered: