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
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.