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

Adding user to group fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: PUP 4.0.0
    • Fix Version/s: PUP 4.1.0
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      Linux 2.6.32-504.3.3.el6.x86_64 x86_64 GNU/Linux

    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-05-13
    • Release Notes:
      Bug Fix

      Description

      When adding a user to a group, the command usermod fails:

      user.pp

      user {'root':
        groups => ['root', 'wheel'],
      }
      

      Console output

      Error: Could not set groups on user[root]: Execution of '/usr/sbin/usermod -S root,wheel root' returned 2: /usr/sbin/usermod: invalid option -- 'S'
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              HugoBoos Hugo
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support