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

DSC_Lite: Add version support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: dsc_lite 0.1
    • Fix Version/s: dsc_lite 0.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      Hide

      As user must be able to specify a DSC Resource in the following ways:

      Only the DSC Resource Name
      The DSC Resource name and version
      The fully qualified path to the DSC Resource only
      The fully qualified path to the DSC Resource only and the version

      Show
      As user must be able to specify a DSC Resource in the following ways: Only the DSC Resource Name The DSC Resource name and version The fully qualified path to the DSC Resource only The fully qualified path to the DSC Resource only and the version
    • Epic Link:
    • Team:
      Windows
    • Sprint:
      Windows Kanban
    • QA Risk Assessment:
      Needs Assessment

      Description

      When multiple versions of a dsc resource exist on the target system, version can be used to select the appropriate resource.

      To implement this, add dsc_resource_module attribute to dsc type, remove dsc_resource_module_name. The dsc_resource_module property will be either a single string or a single hash, allowing the user to either specify a DSC Resource name or a DSC Resource Name and Version at the same time. The DSC Resource name can either be the name of the DSC Resource or a fully qualified path to the DSC Resource on the file system.

      dsc {'foouser':
        dsc_resource_name   => 'User',
        dsc_resource_module => {
          name    => 'PSDesiredStateConfiguration',
          version => '1.8.0.0'
        },
        dsc_resource_properties  => {
          # properties
        }
      }
       
      # same idea (makes version optional)
      dsc {'foouser':
        dsc_resource_name   => 'User',
        dsc_resource_module => 'PSDesiredStateConfiguration',
        dsc_resource_properties  => {
          # properties
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ethan Ethan Brown
              Reporter:
              erick Erick Banks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support