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

cfbs remove does not remove policy files, only modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: N/A
    • Fix Version/s: None
    • Component/s: cfbs
    • Labels:
      None

      Description

       cfbs remove does not remove policy files, only modules

      root@hub polly $ cfbs init
      Initialized - edit name and description cfbs.json
      To add your first module, type: cfbs add masterfiles
      root@hub polly $ cfbs add mpf
      mpf is an alias for masterfiles
      Added module: masterfiles
      root@hub polly $ cfbs add autorun
      Added module: autorun
      root@hub polly $ cfbs add test.cf 
      Added module: ./test.cf
      root@hub polly $ cfbs remove test.cf 
      Module 'test.cf' not found
      
      

      Also it should say "added policy file X" when it's not a module

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              larsewi Lars Erik Wik
              Reporter:
              larsewi Lars Erik Wik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: