Issue #5400 has been updated by Josh Cooper.

We merged in changes for #2728 yesterday (in 2.7.x), which displays file diffs 
in noop mode. Can you confirm that this satisfies your requirements and we can 
mark this as a duplicate?
----------------------------------------
Feature #5400: Augeas resources should print changes to the tree during a 
--noop -t run
https://projects.puppetlabs.com/issues/5400

Author: Nick Moffitt
Status: Needs Decision
Priority: Normal
Assignee: Bryan Kearney
Category: augeas
Target version: 
Affected Puppet version: 
Keywords: augeas dry-run noop
Branch: 


I often use `puppetd --environment=test --noop -t` to sanity check a change, 
and the output is generally helpful.  I appreciate that Exec resources are too 
open-ended and unpredictable, but it seems that Augeas resources present an 
opportunity for dry-run feedback.

It should be possible to get the tree for a resource, apply the changes list, 
and then diff the new tree against the old one.  Then you can bail out without 
saving, and report the results back to the summary.

This won't tell you exactly what changes will happen on disk, to be sure, but 
you'll learn which entries are being replaced with what in the tree.  That's 
incredibly valuable.


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