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

DSC - Resources without "ensure" Parameter will Fail

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Done
    • None
    • None
    • dsc
    • Module Version: 0.1.1-b20029-07bb0666
      Puppet Agent Version: 1.2.1 (Gold)
      Agent: Windows 2012 R2 x64

    Description

      Description

      If a user specifies a DSC resource that lacks an "ensure" parameter the resource will fail to apply.

      Attachments

      • Test Manifest

      Repro Steps

      1. Install Puppet Agent on Windows node.
      2. Install DSC module from the modules staging Forge:

        puppet module install puppetlabs-dsc --module_repository https://api-module-staging.puppetlabs.com

      3. Download the attached manifest to the Windows agent.
      4. Apply the manifest on Windows node:
      5. puppet apply test_xcomputer.pp

      Expect

      The Puppet run should succeed.

      Actual

      The Puppet run succeeds, but the computer is not renamed.

      Attachments

        Issue Links

          Activity

            People

              ryan.gard Ryan Gard
              ryan.gard Ryan Gard
              Ryan Gard Ryan Gard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support