Skip to content

Undeclared dependency on augeas #377

@rnelson0

Description

@rnelson0

The yum::conf resource requires augeas but the manifest does not declare it as a dependency.

We observed this when upgrading puppet/postfix past v4.2.0 which dropped the camptocamp/augeas dependency, which we removed from our Puppetfile. We then started experiencing issues with the Yum resources, and coincidentally the Postfix resources which started failing because of previous dependencies.

Notice: /Stage[main]/Yum/Exec[package-cleanup_oldkernels]: Dependency Augeas[yum.conf_installonly_limit] has failures: true
Warning: /Stage[main]/Yum/Exec[package-cleanup_oldkernels]: Skipping because of failed dependencies
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'alias_maps'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'inet_interfaces'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'inet_protocols'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'myorigin'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'mailq_path'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'newaliases_path'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'sendmail_path'] has failures: true
Notice: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Dependency Augeas[manage postfix 'relayhost'] has failures: true
Warning: /Stage[main]/Postfix::Service/Exec[restart postfix after packages install]: Skipping because of failed dependencies
Warning: /Stage[main]/Postfix::Service/Service[postfix]: Skipping because of failed dependencies
Warning: /Stage[main]/Postfix::Service/Exec[newaliases]: Skipping because of failed dependencies
Warning: /Stage[main]/Postfix::Service/Alternatives[mta]: Skipping because of failed dependencies
Error: Could not find a suitable provider for augeas

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions