Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10335

sqlserver : duplicate declaration when using more than one sqlserver::sp_configure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sqlserver
    • Labels:
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • CS Priority:
      Reviewed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: v2.6.0
      Puppet Version: Enterprise v2018.1.7
      OS Name/Version: Server 2016

      Describe your issue in as much detail as possible...

      Desired Behavior:

      More than one sqlserver::sp_configure resource will set the corresponding settings with the provided values.

      Actual Behavior:

      When more than one sqlserver::sp_configure resource is declared, compilation of the class errors out because of a duplicate resource being created. The duplicate resource is Exec["restart-service-${service-name}"]. This is happening even when restart is set to false.

       

      This appears to be an unintended bug of this commit: https://github.com/puppetlabs/puppetlabs-sqlserver/commit/35bb1a7ce9fed0729b6329df68f03bf1368c8b41#diff-d8eef137d48c2ee55967f2b92b4acc5e

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.swan David Swan
              Reporter:
              andrewkeith Andrew Keith
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support