Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1745

PR (1522): (maint) fix config migration - wkalt

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2015-07-15

      Description

      (maint) fix config migration

      Pull Request Description


      Without this we were parsing the subname to get the location of the hsqldb data
      directory. In the default case though, this resides in the vardir, which is
      migrated a moment before.

      This patch changes things so that we only attempt to migrate that directory if
      the original vardir still exists, which is a signal that the vardir is
      nonstandard, but the subname still points to the old one (since it's still the
      default value.)


      (webhooks-id: b28aaa537feef3fbdd0cd19d34864f98)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gepetto-bot gepetto-bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support