← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1612656] [NEW] documentation problem regarding user groups

 

Public bug reported:

In the latest documentation examples, the first example has an apparent
error on line 14.

http://cloudinit.readthedocs.io/en/latest/topics/examples.html

```
# Add users to the system. Users are added after groups are added.
users:
  - default
  - name: foobar
    gecos: Foo B. Bar
    primary-group: foobar
    groups: users
```

It shows that a string is an acceptable value for the `groups` key.  On
line 23, it shows another string with comma-separated values.  Both of
these values cause errors.  The `groups` key requires an array, even if
there is only one value. This is implied at line 109, but not explicitly
stated.

Please fix?

thanks!

Sunil

** Affects: cloud-init
     Importance: Undecided
         Status: New


** Tags: documentation

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1612656

Title:
  documentation problem regarding user groups

Status in cloud-init:
  New

Bug description:
  In the latest documentation examples, the first example has an
  apparent error on line 14.

  http://cloudinit.readthedocs.io/en/latest/topics/examples.html

  ```
  # Add users to the system. Users are added after groups are added.
  users:
    - default
    - name: foobar
      gecos: Foo B. Bar
      primary-group: foobar
      groups: users
  ```

  It shows that a string is an acceptable value for the `groups` key.
  On line 23, it shows another string with comma-separated values.  Both
  of these values cause errors.  The `groups` key requires an array,
  even if there is only one value. This is implied at line 109, but not
  explicitly stated.

  Please fix?

  thanks!

  Sunil

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1612656/+subscriptions


Follow ups