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

no_output option should be usable with module protocol

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 3.9.0
    • Fix Version/s: 3.7.4, 3.10.0, 3.9.1
    • Component/s: Evaluation
    • Labels:
      None
    • Story Points:
      3

      Description

      The following policy should generate output.

      bundle agent test { 
      commands: 
      "/bin/echo test" 
      module => "true", 
      contain => l1_in_shell_and_silent1;
      
      }
      
      body contain l1_in_shell_and_silent1 { 
      useshell => "true"; 
      no_output => "false"; 
      }
      
      # cf-agent -K -btest
      (no output, expecting "Q: ".../bin/echo test": test ")
      

      This worked in 3.3.x.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10003 Eystein Maloy Stenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel