Commits

NRG Admin committed 1153886

Update to make sure puppet knows about the database update.

Comments (0)

Files changed (1)

buildScripts/runTheDailyBuild.sh

   echo "Deploying sql"
   psql -f sql/cnda_xnat-update.sql -h ${HOSTNAME} -U ${HOSTNAME} -d ${HOSTNAME} || die "Database update failed"
 
+  # Make sure puppet knows about the database update
+  /var/lib/puppet/xnat/update_schema_daily.sh localhost ${HOSTNAME} ${HOSTNAME} sql/cnda_xnat-update.sql
+
   # Update the webapp
   cd ${BUILDPATH}/xnat
   echo "Updating the webapp"