Bug 1070341
| Summary: | Preserve custom scripts during agent auto update | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Heiko W. Rupp <hrupp> |
| Component: | Agent, Installer, Upgrade | Assignee: | John Mazzitelli <mazz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.0 | CC: | mazz, vnguyen |
| Target Milestone: | DR01 | ||
| Target Release: | JON 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-12-11 14:04:36 UTC | Type: | Enhancement |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Heiko W. Rupp
2014-02-26 15:59:20 UTC
git commit to master: 79edf50 (In reply to John Mazzitelli from comment #1) > git commit to master: 79edf50 what this fix does is ensure any custom scripts (that is, scripts with the extension ".sh" or ".bat") are copied from the old agent bin/ directory to the new agent bin/ directory. Note that ANT does not support copying file permissions, so we also force a <chmod> to be called, setting the permission via "+x". This uses the user's umask to set the user/group/other execute bit. Heiko Rupp <hrupp> updated the status of jira JON3-46 to Resolved Moving to ON_QA as available to test with brew build of DR01: https://brewweb.devel.redhat.com//buildinfo?buildID=373993 Note: .sh and .bat in rhq-agent/bin are copied over. files in subdir (bin/scripts) are not. TCMS test run https://tcms.engineering.redhat.com/run/169870/ |