Bug 1358484
Summary: | rhncfg-manager diff output uses "---" to prefix both files in diff, one should be "+++" | |||
---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Eric Herget <eherget> | |
Component: | Clients | Assignee: | Eric Herget <eherget> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.5 | CC: | galtukho, jhutar | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | rhncfg-5.10.96-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1395890 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-27 19:15:44 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: | 1395890, 1484117 |
Description
Eric Herget
2016-07-20 19:54:42 UTC
spacewalk.github: aaecc727439e8077baf08294d6ce744b09e0b6e1 Note that during testing this I have filed bug 1394045. I have tested on both SWnightly@OracleXE10@RHEL6 and SWnightly@PostgreSQL@RHEL7 (rhncfg-management-5.10.98-1.el7.noarch). 1. Create config channel and file in it with something in it 2. Subscribe system to it and enable deploy actions on it: # rhn-actions-control --enable-all 3. Schedule deploy of all files on the system in webUI and make sure it happens: # rhn_check -vv 4. Alter deployed file: # date > /tmp/bz1358484 5. Run diff: # rhncfg-manager diff /tmp/bz1358484 -c bz1358484 Output is now correctly showing "+++" for second file: # rhncfg-manager diff /tmp/bz1358484 -c bz1358484 Using server name <fqdn> --- /tmp/bz1358484 2016-11-10 22:29:50.843000+01:00 attributes: -rw-r--r-- root root config channel: bz1358484 revision: 1 +++ /tmp/bz1358484 2016-11-10 22:33:09 attributes: -rw-r--r-- root root unconfined_u:object_r:user_tmp_t:s0 config channel: local file revision: None [...] => VERIFIED This looks like it was fixed in previous release, but I'm closing it in this one. Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27 |