documentation problem regarding user groups

Bug #1612656 reported by Sunil K Chopra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned

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

Revision history for this message
Scott Moser (smoser) wrote :

Hi,
In bug 1562918 cloud-init code was fixed so that the documentation was correct.
See the commit message for examples.

If you find otherwise, please re-open.

https://git.launchpad.net/cloud-init/commit/?id=d75a912fb375afbab055db3178966d1f83b44143

Changed in cloud-init:
status: New → Fix Released
importance: Undecided → Medium
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.