Skip to content
New issue

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

Improve version handling to avoid multiple puppet runs for some situa… #305

Closed

Commits on Sep 15, 2015

  1. Improve version handling to avoid multiple puppet runs for some situa…

    …tions
    
    When an administrator knows the version of collectd that will be used or
    at least the minimum version available the need for two puppet runs before
    convergence can be avoided or at least minimised.
    
    Instead of using the fact in the templates they now use a class variable
    set to one of (in priority order):
    * collectd_real_version (i.e. the fact)
    * version (the semver matched part of it only)
    * minimum_version (undef by default)
    
    Existing behaviour is preserved except for a corner case where version is
    set to something specific and collectd is not yet installed. In this case
    puppet will only take one run and assume the version specified when creating
    the templates
    
    references voxpupuli#162
    bdellegrazie committed Sep 15, 2015
    Configuration menu
    Copy the full SHA
    8c5e8ba View commit details
    Browse the repository at this point in the history