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

DSC_Lite: Implement generic DSC resource should be able to consume USER resource

    XMLWordPrintable

    Details

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

      As a end user consuming my resource
      I want any parameter type that the DSC resource accepts to be able to be represented in a puppet manifest
      So that we do not need custom type wrappers built for any dsc resource

      For example, the following code must work:

      dsc{'thefeaturefdsklnfdlskfklsdkl':
        dsc_resource_name           => 'WindowsFeature',
        dsc_resource_module_name    => 'PSDesiredStateConfiguration',
        dsc_resource_properties     => {
          'ensure' => 'present',
          'name'   => 'Web-Server',
        }
      }
      

      Show
      As a end user consuming my resource I want any parameter type that the DSC resource accepts to be able to be represented in a puppet manifest So that we do not need custom type wrappers built for any dsc resource For example, the following code must work: dsc{'thefeaturefdsklnfdlskfklsdkl': dsc_resource_name => 'WindowsFeature', dsc_resource_module_name => 'PSDesiredStateConfiguration', dsc_resource_properties => { 'ensure' => 'present', 'name' => 'Web-Server', } }
    • Epic Link:
    • Team:
      Windows
    • Sprint:
      Windows Kanban
    • QA Risk Assessment:
      Needs Assessment

      Description

      Develop new invocation mechanism that will be able to execute arbitrary DSC resources without having up-front DSC type wrappers.

      James Pogran and I scaffoled out a rough idea of what the type should look like and a few further details around implementation -
      https://gist.github.com/Iristyle/3eda64a69508ce2830177901885b4540

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support