Actions
Bug #7387
closedThe initial installation of rudder-jetty outputs an error on rudder %pre scriptlet
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
The reason is:
# Prepare the migration of /etc/default/rudder-jetty if [ $(grep -c '# WARNING #' /opt/rudder/etc/rudder-jetty.conf) -eq 0 ] then cp /opt/rudder/etc/rudder-jetty.conf /opt/rudder/etc/rudder-jetty.conf.migrate fi
We should test the file presence before trying funny things with it !
Actions