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

Load collect_data() even if we've already seen it #1224

Merged
merged 1 commit into from
Jul 13, 2018

Commits on Jul 12, 2018

  1. Load collect_data() even if we've already seen it

    If we happen to load a plugin with the same name twice, we refuse to run #collect_data but we still
    load the rest of the plugin, which means you get #collect_data from the first plugin and rest of the
    plugin from the last plugin.
    
    This makes it so you get #collect_data from the last plugin as well.
    
    I don't know how to use the logger from the class method so I fell back to `Ohai::Log`. Happy to fix that
    if someone knows the magic.
    
    Fixes #1212
    
    Signed-off-by: Bryan McLellan <[email protected]>
    btm committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    cd54433 View commit details
    Browse the repository at this point in the history