Issue #14822 has been reported by Dominic Cleal.
----------------------------------------
Bug #14822: Ensure providers can run if features are delivered during a run
https://projects.puppetlabs.com/issues/14822
Author: Dominic Cleal
Status: Unreviewed
Priority: Normal
Assignee: Dominic Cleal
Category: provider
Target version: 2.7.x
Affected Puppet version: 2.7.15rc4
Keywords: provider feature
Branch:
Issue #6907 enabled providers to run if commands were delivered during a run by
delaying evaluation of a provider's suitability. Some providers, such as the
augeas and LDAP user/group providers instead use the features framework instead
to check for pre-req libraries and this remains broken.
package { "ruby-augeas":
ensure => present,
}
augeas { "test":
incl => "/tmp/test",
lens => "Shellvars.lns",
changes => "set foo bar",
}
Package["ruby-augeas"] -> Augeas <| |>
On 2.7.x this shows:
debug: Failed to load library 'augeas' for feature 'augeas'
debug: Puppet::Type::Augeas::ProviderAugeas: false value when expecting true
debug: Puppet::Type::Augeas::ProviderAugeas: false value when expecting true
notice: /Stage[main]//Package[ruby-augeas]/ensure: created
debug: Puppet::Type::Augeas::ProviderAugeas: false value when expecting true
debug: Puppet::Type::Augeas::ProviderAugeas: false value when expecting true
err: Could not find a suitable provider for augeas
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.