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

Enhance output for Powershell_DSC

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Do
    • None
    • None
    • dsc, powershell
    • Modules
    • Modules Triage
    • Needs Assessment

    Description

      We need to exhance ouput returned when running powershell (especially DSC) modules. Microsoft documentation is very vague, lots of modules passes 'TEST' and gets 'notify' on 'SET'.
      In this state we cannot:

      • confirm if proper values were set by "SET' pass
      • debug it for DSC authors to find problems.

      In the short term, you can take any of the powershell output by puppet (like you do when copying to the github issues) and add the verbose parameter to the declaration. Copy paste that to your shell, or put it in a script and execute it. You will see all of the verbose output, and it will be just like puppet has executed the DSC Resource. Since it's the exact code puppet runs, it will be just like puppet doing it, except you can add whatever other parameters you want.
      In the longer term, I can try to add the verbose switch if the user has used the --debug switch when running puppet

      Attachments

        Activity

          People

            james.pogran James Pogran
            marcinbojko MARCIN BOJKO
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support