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 ** Changed in: cloud-init Importance: Undecided => Medium -- 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: Fix Released 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp