Issue #2186 has been updated by phantez. Subject changed from Some introspection capability about Files to Some introspection capabilities about Files
---------------------------------------- Feature #2186: Some introspection capabilities about Files http://projects.reductivelabs.com/issues/2186 Author: phantez Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Affected version: 0.25.0 Keywords: 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
