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

inifile_setting doesn't support a space as a key_value_separator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: inifile
    • Labels:
      None
    • Template:

      Description

      Given the code:

      ini_setting

      Unknown macro: { 'sample setting2'}

      Puppet will continually set the value because it isn't able to check for the existence of that setting/value. This is because of https://github.com/puppetlabs/puppetlabs-inifile/blob/master/lib/puppet/util/ini_file.rb#L10 (which calls #strip on key_val_separator, and, if set to a space, sets it to '').

      Pull Request incoming...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gary Gary Larizza
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support