Bug 1122706
| Summary: | spacewalk-export needs to be able to export config-file information | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Grant Gainey <ggainey> |
| Component: | Client | Assignee: | Grant Gainey <ggainey> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 560 | CC: | bbuckingham, cperry, ggainey, mkollar, tlestach, xdmoon |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-reports-2.3.1-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-01 12:27:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1125243 | ||
|
Description
Grant Gainey
2014-07-23 20:08:52 UTC
Added two new reports - config-files and config-files-latest spacewalk-commit d7d8956a3ed9f1b3aeec41f8f04443bac7d37d4f Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. new reports is nice - hooking them into spacewalk-export is the important part, tho spacewalk-commit 4afcd2fa5ea3dddef0aafc21f046d837725621d4 Added channel_id spacewalk commit 8d6c9d5ecfc694300a0766341d7d265035f50d63 # spacewalk-report | grep config-
config-files
config-files-latest
E.g.
# spacewalk-report config-files-latest | head -3
org_id,channel_id,channel,channel_type,path,file_type,file_id,revision,is_binary,contents,delim_start,delim_end,username,groupname,filemode,symbolic_link,selinux_ctx
1,410,ad-test-1,normal,"/""scriptalert1/script",file,496,1,N,Test.,{|,|},root,root,644,,
1,370,cfg-test-1,normal,/etc/hosts,file,476,3,N,"# Do not remove the following line, or various programs
spacewalk-reports-2.0.1-14.el6sat.noarch
spacewalk-export supports this report ...
# spacewalk-export --list-entities 2>&1| grep config
INFO: config-files-latest : Latest revision of all configuration files
# spacewalk-export --entities=config-files-latest --export-dir=/tmp/config-try
INFO: Processing config-files...
INFO: Export-file created at /tmp/config-try/spacewalk_export.tar.gz
# ll /tmp/config-try/exports/config-files-latest.csv
-rw-r--r--. 1 root root 636078 Sep 4 17:30 /tmp/config-try/exports/config-files-latest.csv
spacewalk-utils-2.0.2-16.el6sat.noarch
DEVELOPER VERIFIED
Released as part of Sat 6.0 GA |