Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Exec[create-mcollective-metadata] in mcollective::server::config::factsource::yaml never runs for mcollective>=2.5.0 #214

@wilrnh

Description

@wilrnh

Exec[create-mcollective-metadata] in mcollective::server::config::factsource::yaml never runs for mcollective>=2.5.0. At least from the Puppetlabs repo. mcollective=2.0.0 from ubuntu (trusty) does not have this issue.

This is because the Exec uses$mcollective::yaml_fact_path_real to determine if it should run, via the creates attribute. The Puppetlabs MCollective packages automatically creates that file post-install, however, thus denying the Exec the chance to run. As a result, facts aren't available to MCollective until the next time the Cron[refresh-mcollective-metadata] is run.

Not sure how to tackle this issue, but I'd be OK with the Exec running only via a Refresh event from mcollective::server::setting{factsource}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions