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

Puppet user and service resources are slow on OSX

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.26.0, PUP 7.14.0
    • None
    • Night's Watch
    • 2
    • NW - 2022-01-27
    • Needs Assessment
    • Bug Fix
    • Managing users and services on macOS is much faster
    • Needs Assessment

    Description

      Puppet Version: 7.12.0
      OS Name/Version: macOS 10.15

      Desired Behavior:

      Running puppet resource user root should take less than 5 seconds.

      Actual Behavior:

      It takes nearly 30 seconds on macOS , most of which is spent parsing XML plists. This is a large reason why acceptance tests take an hour longer on macOS (2hr 15min) as compared to redhat8 (1hr 16min)

      # time puppet resource user root
      user { 'root':
        ensure     => 'present',
        comment    => 'System Administrator',
        gid        => 0,
        uid        => 0,
        ...
      }
       
      real	0m26.029s
      user	0m25.460s
      sys	0m0.527s
      

       

      Attachments

        Issue Links

          Activity

            People

              dorin.pleava Dorin Pleava
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support