Bug 495194

Summary: cluster.ini should be installed on proxy only if you install monitoring
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: Proxy ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.6CC: chalal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 12:00:50 UTC Type: ---
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: 456554    

Description Miroslav Suchý 2009-04-10 08:56:50 UTC
The error "/usr/sbin/configure-proxy.sh: line 236: cat: No such file
 or directory" is given if you don't choose to install monitoring
 (probably need to wrap this bit in an "if monitoring" block)

It is the part:

sed -e "s/\${session.enable_monitoring_scout:0}/$ENABLE_SCOUT/g" \
            -e "s/\${session.rhn_monitoring_parent_ip}/$MONITORING_PARENT_IP/g" \
            -e "s/\${session.rhn_monitoring_parent}/$MONITORING_PARENT/g" \
            -e "s/\${session.scout_shared_key}/$SCOUT_SHARED_KEY/g" \
        < $DIR/cluster.ini  > $RHNCONF_DIR/cluster.ini

Comment 1 Miroslav Suchý 2009-04-10 11:40:21 UTC
Commited as 297a1197268a4bffd9d4592d0f56e4d94db27047
Will be fixed in spacewalk-proxy-installer-0.6.3

Comment 2 Miroslav Suchý 2009-09-10 12:00:50 UTC
Spacewalk 0.6 released.