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

puppetlabs/inifile Windows support

    Details

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

      Dev

    • Template:

      Description

      Trying to get the puppetlabs/inifile module working on Windows 2008 R2 and 2012 servers. However I can't seem to find any pathing syntax that works to ensure an .ini file is present. Example code:

      ini_setting

      { "sample setting": ensure => present, path => 'C:\temp\test.ini', section => 'Stuff', setting => 'Stuff Setting', value => 'Stuff!!', }

      I have tried the above, as well as C:\\temp
      test.ini. I've tried c:/temp/test.ini. I'm tried wrapping in escape quotes. Nothing works. No matter what I try, I get the following in the event log:
      Failed to apply catalog: Parameter path failed on Ini_setting[sample setting]: File paths must be fully qualified, not 'C:\\temp
      test.ini'

      Does this module work for Windows? If so, what's the syntax?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cwb124 Charlie Baum
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support