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

Windows User resource managehome doesn't support custom directories

    XMLWordPrintable

Details

    • Platform OS
    • Platform OS Kanban
    • Bug Fix
    • Updated the documentation of the User resource's managehome property to explicitly state that it manages the creation/deletion of the user profile on Windows instead of the home directory.

    Description

      The Windows user resource will allow specifying a custom home directory

      puppet resource user jenkins managehome=true home=c:\jenkins password=Puppet123!
      

      Puppet will claim that this has worked correctly:

      Notice: /User[jenkins]/ensure: created
      user { 'jenkins':
        ensure   => 'present',
        home     => 'c:\jenkins',
        password => 'Puppet123!',
      }
      

      However, the home directory will not actually be created and the default directory will be created.

      Attachments

        Activity

          People

            enis.inan Enis Inan
            ethan Ethan Brown
            Eric Thompson Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support