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

PowerShell-DSC : "Could not evaluate: Access is denied"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • None
    • powershell
    • Needs Assessment
    • Needs Assessment

    Description

      Basic Info
      Module Version: 1.4.1
      Puppet Version: Enterprise 2017.3.2
      OS Name/Version: Server 2016

      Trying to run the following code in a puppet manifest:

      dsc_windowsfeature {'IIS':
      {{ dsc_ensure => 'Present',}}
      {{ dsc_name => 'Web-Server',}}
      {{ }}}

      #IIS Mnaagement Console
      {{ dsc_windowsfeature {'IIS-Management':}}
      {{ dsc_ensure => 'Present',}}
      {{ dsc_name => 'Web-Mgmt-Console',}}
      {{ }}}

      I'm trying to install IIS and the IIS Management Console via Puppet.

      I've not tried other "simpler" DSC commands but will do while waiting for a reply on this ticket.

      Desired Behavior:

      Puppet/Powershell DSC code runs without errors and does what it's supposed to do eg IIS and IIS Management Console are installed.

      Actual Behavior:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              garethweb46 Gareth Evans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support