Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7990

Create internal puppet API implementation satisfying requirements for win32-service

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      An API exists in puppet which can be used to interface with service management in Windows, and satisfies the existing needs of the windows service provider.

      Show
      An API exists in puppet which can be used to interface with service management in Windows, and satisfies the existing needs of the windows service provider.
    • Team:
      Platform OS
    • Release Notes:
      Not Needed

      Description

      win32-service has some ANSI API calls that may cause problems in a non-US language environment.

      In Scope

      • Identify existing uses of the Win32::Service API, located primarily (if not entirely) in provider/service/windows
      • Create a new API implementation inside of puppet that meets these same requirements, using FFI or fiddle
      • For an example of a similar effort which defined an API replacing our need for Win32::EventLog, see https://github.com/puppetlabs/puppet/commit/a158879977570227c857ddf232bc00edac69e9fe
      • New API must make use of the Unicode-compatible versions of functions in the Windows API

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  moses Moses Mendoza
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: