Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation problem regarding user groups #2708

Closed
ubuntu-server-builder opened this issue May 10, 2023 · 1 comment
Closed

documentation problem regarding user groups #2708

ubuntu-server-builder opened this issue May 10, 2023 · 1 comment
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1612656

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2016-08-30T17:56:38.169145+00:00
date_created = 2016-08-12T13:22:56.509063+00:00
date_fix_committed = 2016-08-30T17:56:38.169145+00:00
date_fix_released = 2016-08-30T17:56:38.169145+00:00
id = 1612656
importance = medium
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1612656
milestone = None
owner = sunil-sunilkchopra
owner_name = Sunil K Chopra
private = False
status = fix_released
submitter = sunil-sunilkchopra
submitter_name = Sunil K Chopra
tags = ['documentation']
duplicates = []

Launchpad user Sunil K Chopra(sunil-sunilkchopra) wrote on 2016-08-12T13:22:56.509063+00:00

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

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 10, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2016-08-30T17:56:33.344953+00:00

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant