Issue #651 has been updated by Felix Frank.

Hmm, this seems exceedingly difficult in terms of semantics. I see two ways to 
go about this and they're both painful.

1. Prefetch all checks (except those for exec resources, ouch!) This will lead 
to surprises for many users because resource ordering won't affect check 
results.

2. Do all checks right before syncing. This would work similar to exec, but is 
problematic as well, because the need to sync is still determined during 
prefetching (for resources that are prefetched, at least).

A semantics that is similar to "refreshonly" (although refreshing is 
independent form syncing, so what's probably wanted is "synconeventonly") is 
more conceivable, but complicates #5876 further.

----------------------------------------
Feature #651: Exec checks should be turned into metaparameters
https://projects.puppetlabs.com/issues/651#change-100279

* Author: Digant Kasundra
* Status: Accepted
* Priority: High
* Assignee: eric sorenson
* Category: RAL
* Target version: 3.x
* Affected Puppet version: 0.24.4
* Keywords: backlog
* Branch: 
----------------------------------------
The 'checks' in Exec -- refreshonly, onlyif and unless -- should be changed 
into metaparameters, so they're available for all resource types.

My guess is that this will require defining a new type of metaparameter, in the 
same way that the Exec checks are a slightly different type of parameter.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to