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

The facts_diff task from puppetlabs-puppet_agent fails on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: puppet_agent
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Desired Behavior:
      Running the facts_diff task on a Windows node with exclude argument set to 'partitions|mountpoints' raises no errors and excludes said facts from output.

      Actual Behavior:

      The facts_diff task fails on Windows nodes when I try to exclude multiple facts from the output:

      Error: Exited 1:
      C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/vendor_ruby/puppet/util/execution.rb:297:in `execute': Execution of 'C:\Program Files\Puppet Labs\Puppet\bin/puppet.bat facts diff --exclude partitions|mountpoints' returned 255:  (Puppet::ExecutionFailure)
      	from C:/ProgramData/PuppetLabs/pxp-agent/var/spool/1942/temp_task_638c-20e2-e338-3c02/puppet_agent/tasks/facts_diff.rb:43:in `run'
      	from C:/ProgramData/PuppetLabs/pxp-agent/var/spool/1942/temp_task_638c-20e2-e338-3c02/puppet_agent/tasks/facts_diff.rb:67:in `<main>'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luchian.nemes Luchian Nemes
              Reporter:
              luchian.nemes Luchian Nemes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support