Issue #14822 has been updated by Dominic Cleal.

With the patch:

    debug: Failed to load library 'augeas' for feature 'augeas'
    debug: Failed to load library 'augeas' for feature 'augeas'
    debug: Puppet::Type::Augeas::ProviderAugeas: feature augeas is missing
    debug: Failed to load library 'augeas' for feature 'augeas'
    debug: Puppet::Type::Augeas::ProviderAugeas: feature augeas is missing
    notice: /Stage[main]//Package[ruby-augeas]/ensure: created
    debug: Augeas[test](provider=augeas): Opening augeas with root /, lens path 
, flags 64
    debug: Augeas[test](provider=augeas): Augeas version 0.10.0 is installed
    ...etc...
----------------------------------------
Bug #14822: Ensure providers can run if features are delivered during a run
https://projects.puppetlabs.com/issues/14822#change-64278

Author: Dominic Cleal
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Dominic Cleal
Category: provider
Target version: 2.7.x
Affected Puppet version: 2.7.15rc4
Keywords: provider feature
Branch: https://github.com/puppetlabs/puppet/pull/833


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.

Reply via email to