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

dsc_lite : Make Beaker tests consume dsc_puppetfakeresource

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Hide

      dsc_file, dsc_service and dsc_xservice will be removed from the repository and the Beaker tests will consume dsc_puppetfakeresource. It will likely be necessary to create a dsc_puppetfakeresource2 with a different version to satisfy the tests using dsc_service / dsc_xservice

      Show
      dsc_file, dsc_service and dsc_xservice will be removed from the repository and the Beaker tests will consume dsc_puppetfakeresource. It will likely be necessary to create a dsc_puppetfakeresource2 with a different version to satisfy the tests using dsc_service / dsc_xservice
    • Windows
    • Windows Kanban
    • Needs Assessment

    Description

      During the removal of vendored content / acceptance tests in https://github.com/puppetlabs/puppetlabs-dsc_lite/pull/3, 17 tests were left behind that continued to exercise the functionality of the powershell_manager / Invoke-DscResource integration through generated types. In particular, dsc_file, dsc_service and dsc_xservice were all left to satisfy the tests.

      There is another custom resource called dsc_puppetfakeresource in the repository that is used for reboot tests. Since the dsc_lite repository will no longer vendor content, that type wrapper / DSC implementation can be repurposed to take the place of the dsc_file resource, removing the few files that remain in the repository as a result.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support