Issue #6102 has been updated by Nick Moffitt.
Nigel Kersten wrote: > If we're showing diffs, we should show the diff between nothing and the file. Likewise during file removals, I would hope. ---------------------------------------- Feature #6102: Please show contents of created files when using --verbose https://projects.puppetlabs.com/issues/6102 Author: Nick Moffitt Status: Accepted Priority: Normal Assignee: Category: file Target version: Telly Affected Puppet version: 2.6.3 Keywords: file diff verbose noop Branch: Let's say I run `puppet agent --environment=development -t --noop` on a client in order to get an idea of what changes *would* be made. If I am replacing a file that already exists, I get a diff. Unfortunately if I am creating a file that did not previously exist (a situation that is common in development of new modules, which I would be eager to test this way), I see only something like `…/ensure: is absent, should be file (noop)` and no more. Given that we know the source of the file, and have the ability to get its contents *somehow*, could we have some sort of really-no-I-want-verbosity-please option that permits us to see the contents of files that would be added? In the above scenario, the developer who gets an understated "I would make a file here" log line would have to go pawing through the module and manually reason out the contents of that file. This is error-prone and defeats the purpose of this sort of dry-run testing. It is difficult to get a review on a change when the results cannot be viewed in full. -- 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.
