The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #15981

Provider development update for confine/suitability late-binding

Added by Dominic Cleal about 2 years ago. Updated almost 2 years ago.

Status:Merged - Pending ReleaseStart date:08/15/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:guides
Target version:-
Keywords:provider_development Affected URL:
Branch:https://github.com/puppetlabs/puppet-docs/pull/113

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

In relation to: http://docs.puppetlabs.com/guides/provider_development.html

Since #6907, the provider “confines” are late-binding and so can be marked as suitable during a run if dependencies become available. The confine :feature syntax should also be preferred instead of confine :true => Puppet.features as it will allow for optimisations, e.g. #14822.

I’ve already updated the wiki before realising it was now in the docs: http://projects.puppetlabs.com/projects/puppet/wiki/Development_Provider_Development/diff?version=5&version_from=4&commit=View+differences


Related issues

Follows Puppet - Bug #14822: Ensure providers can run if features are delivered during... Closed 06/05/2012

History

#1 Updated by Dominic Cleal about 2 years ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Branch set to https://github.com/puppetlabs/puppet-docs/pull/113

#2 Updated by William Van Hevelingen almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

Merged in https://github.com/puppetlabs/puppet-docs/commit/5e0b6c4d74c2d1365382df57c973c45259b79f43

Also available in: Atom PDF