Skip to content

Commit

Permalink
Merge pull request #153 from VinceMacBuche/ust_4046/integ_4047/rudder…
Browse files Browse the repository at this point in the history
…-upgrade-commit

Fixes #4047: upgrade script does not commit in techniques folder anymore
  • Loading branch information
jooooooon committed Oct 10, 2013
2 parents da3db60 + e883ff7 commit a16bef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rudder-webapp/SOURCES/rudder-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ TRGTECHDIR=/var/rudder/configuration-repository/techniques/system/
if [ -d ${SRCTECHDIR} -a -d ${TRGTECHDIR} ]; then
if ! diff -Naur /opt/rudder/share/techniques/system/ /var/rudder/configuration-repository/techniques/system/ >/dev/null 2>&1; then
rsync --delete -rptgoq /opt/rudder/share/techniques/system/ /var/rudder/configuration-repository/techniques/system/
cd /var/rudder/configuration-repository/techniques/ && git add -A system/ && git commit -m "Upgrade system Techniques - automatically done by rudder-upgrade script" >/dev/null 2>&1
cd /var/rudder/configuration-repository/ && git add -A techniques/system/ && git commit -m "Upgrade system Techniques - automatically done by rudder-upgrade script" >/dev/null 2>&1
# For every upgrade, we schedule a Technique reloading REST call on the next CFEngine run
echo "INFO: A Technique library reload is needed and has been scheduled."
touch /opt/rudder/etc/force_technique_reload
Expand Down

0 comments on commit a16bef3

Please sign in to comment.