Issue #2186 has been updated by James Turnbull. Target version deleted (unplanned)
---------------------------------------- Feature #2186: Some introspection capabilities about Files https://projects.puppetlabs.com/issues/2186 Author: Stéphan Gorget old account Status: Accepted Priority: Normal Assignee: Category: file Target version: Affected Puppet version: 0.25.0 Keywords: Branch: Allow the user to ask some introspection query about files, the following examples use arbitrary options : * What is the reference file for a specific file ? <pre> # puppet /etc/puppet/manifest/site.pp --which-source-file /etc/sysconfig/security.conf Src file /etc/puppet/services/files/security.conf </pre> * What is the difference between the actual file and the reference file ? <pre> # puppet /etc/puppet/manifest/site.pp --diff-with-reference-file /etc/sysconfig/security.conf 1c1,2 < file1 --- > file2 </pre> * Which manifest define a specific file ? <pre> # puppet /etc/puppet/manifest/site.pp --which-manifest-file /etc/sysconfig/security.conf Content is defined in class security in '/etc/puppet/services/manifests/conf.pp' </pre> I don't know which command should handle this request and how to manage the fact that the answers depend on the node and the facts, but I think that this features can be very useful to maintain manifests when there is several administrators. -- 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.
