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

ensure => absent doesn't do anything for a section

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: wsus 0.1.3
    • Fix Version/s: None
    • Component/s: inifile, supported
    • Labels:
      None
    • Environment:

      Ubuntu 14.04

    • Template:

      Description

      I'd expect this example to remove the entire "homes" section from the file, but it does not, nothing happens. Either it should do something or the proper way to remove an entire section should be added to the documentation.

      ini_setting

      { "smb-homes": ensure => absent, path => '/etc/samba/smb.conf', section => 'homes', }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nabber00 Neil M
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Zendesk Support