Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3154

Surface interactive prompts from zypper package_module as errors

    XMLWordPrintable

    Details

      Description

      The current package modules in cfengine hide all errors which make it quite bothersome to debug. Since the package module API offers a way to report errors, I did a small change to the zypper package module to make it reports if anything is prompted on stderr while calling the module.

      It does not report on which item is causing the error since it is optional and would need way more changes in the module. Moreover, in most of the case, the error messages are explicit enough to find out the root issue.

      https://github.com/cfengine/masterfiles/pull/1499

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              a10042 Nick Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel